@emilgroup/action-sdk-node 1.0.1-beta.32 → 1.0.1-beta.36
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 +5 -0
- package/README.md +2 -2
- package/api/actions-api.ts +150 -792
- package/api/executions-api.ts +119 -12
- package/dist/api/actions-api.d.ts +102 -466
- package/dist/api/actions-api.js +89 -609
- package/dist/api/executions-api.d.ts +69 -12
- package/dist/api/executions-api.js +102 -9
- 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,6 +14,8 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetActionExecutionStatusResponseClass } from '../models';
|
|
16
16
|
import { ListActionExecutionsResponseClass } from '../models';
|
|
17
|
+
import { TriggerActionRequestDto } from '../models';
|
|
18
|
+
import { TriggerActionResponseClass } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* ExecutionsApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -35,15 +37,24 @@ export declare const ExecutionsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
35
37
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
38
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
37
39
|
* @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.
|
|
38
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
40
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
39
41
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
40
|
-
* @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>
|
|
42
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
41
43
|
* @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/>
|
|
42
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
44
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
43
45
|
* @param {*} [options] Override http request option.
|
|
44
46
|
* @throws {RequiredError}
|
|
45
47
|
*/
|
|
46
48
|
listActionExecutions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
51
|
+
* @summary Create the actionExecution
|
|
52
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
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
|
+
triggerAction: (triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
58
|
};
|
|
48
59
|
/**
|
|
49
60
|
* ExecutionsApi - functional programming interface
|
|
@@ -66,15 +77,24 @@ export declare const ExecutionsApiFp: (configuration?: Configuration) => {
|
|
|
66
77
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
67
78
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
68
79
|
* @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.
|
|
69
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
80
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
70
81
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
71
|
-
* @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>
|
|
82
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
72
83
|
* @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/>
|
|
73
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
84
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
74
85
|
* @param {*} [options] Override http request option.
|
|
75
86
|
* @throws {RequiredError}
|
|
76
87
|
*/
|
|
77
88
|
listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionExecutionsResponseClass>>;
|
|
89
|
+
/**
|
|
90
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
91
|
+
* @summary Create the actionExecution
|
|
92
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerActionResponseClass>>;
|
|
78
98
|
};
|
|
79
99
|
/**
|
|
80
100
|
* ExecutionsApi - factory interface
|
|
@@ -97,15 +117,24 @@ export declare const ExecutionsApiFactory: (configuration?: Configuration, baseP
|
|
|
97
117
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
118
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
99
119
|
* @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.
|
|
100
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
120
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
101
121
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
102
|
-
* @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>
|
|
122
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
103
123
|
* @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/>
|
|
104
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
124
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
105
125
|
* @param {*} [options] Override http request option.
|
|
106
126
|
* @throws {RequiredError}
|
|
107
127
|
*/
|
|
108
128
|
listActionExecutions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionExecutionsResponseClass>;
|
|
129
|
+
/**
|
|
130
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
131
|
+
* @summary Create the actionExecution
|
|
132
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
133
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
triggerAction(triggerActionRequestDto: TriggerActionRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerActionResponseClass>;
|
|
109
138
|
};
|
|
110
139
|
/**
|
|
111
140
|
* Request parameters for getActionExecutionStatus operation in ExecutionsApi.
|
|
@@ -157,7 +186,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
|
|
|
157
186
|
*/
|
|
158
187
|
readonly pageToken?: string;
|
|
159
188
|
/**
|
|
160
|
-
* Filter the response by one or multiple fields.
|
|
189
|
+
* 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
161
190
|
* @type {string}
|
|
162
191
|
* @memberof ExecutionsApiListActionExecutions
|
|
163
192
|
*/
|
|
@@ -169,7 +198,7 @@ export interface ExecutionsApiListActionExecutionsRequest {
|
|
|
169
198
|
*/
|
|
170
199
|
readonly search?: string;
|
|
171
200
|
/**
|
|
172
|
-
* 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>
|
|
201
|
+
* 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
173
202
|
* @type {string}
|
|
174
203
|
* @memberof ExecutionsApiListActionExecutions
|
|
175
204
|
*/
|
|
@@ -181,12 +210,31 @@ export interface ExecutionsApiListActionExecutionsRequest {
|
|
|
181
210
|
*/
|
|
182
211
|
readonly expand?: string;
|
|
183
212
|
/**
|
|
184
|
-
* Filters the response by one or multiple fields.
|
|
213
|
+
* 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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
185
214
|
* @type {string}
|
|
186
215
|
* @memberof ExecutionsApiListActionExecutions
|
|
187
216
|
*/
|
|
188
217
|
readonly filters?: string;
|
|
189
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* Request parameters for triggerAction operation in ExecutionsApi.
|
|
221
|
+
* @export
|
|
222
|
+
* @interface ExecutionsApiTriggerActionRequest
|
|
223
|
+
*/
|
|
224
|
+
export interface ExecutionsApiTriggerActionRequest {
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {TriggerActionRequestDto}
|
|
228
|
+
* @memberof ExecutionsApiTriggerAction
|
|
229
|
+
*/
|
|
230
|
+
readonly triggerActionRequestDto: TriggerActionRequestDto;
|
|
231
|
+
/**
|
|
232
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof ExecutionsApiTriggerAction
|
|
235
|
+
*/
|
|
236
|
+
readonly authorization?: string;
|
|
237
|
+
}
|
|
190
238
|
/**
|
|
191
239
|
* ExecutionsApi - object-oriented interface
|
|
192
240
|
* @export
|
|
@@ -212,4 +260,13 @@ export declare class ExecutionsApi extends BaseAPI {
|
|
|
212
260
|
* @memberof ExecutionsApi
|
|
213
261
|
*/
|
|
214
262
|
listActionExecutions(requestParameters?: ExecutionsApiListActionExecutionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionExecutionsResponseClass, any, {}>>;
|
|
263
|
+
/**
|
|
264
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
265
|
+
* @summary Create the actionExecution
|
|
266
|
+
* @param {ExecutionsApiTriggerActionRequest} requestParameters Request parameters.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof ExecutionsApi
|
|
270
|
+
*/
|
|
271
|
+
triggerAction(requestParameters: ExecutionsApiTriggerActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TriggerActionResponseClass, any, {}>>;
|
|
215
272
|
}
|
|
@@ -154,11 +154,11 @@ var ExecutionsApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
155
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
156
156
|
* @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.
|
|
157
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
157
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
158
158
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
159
|
-
* @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>
|
|
159
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
160
160
|
* @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/>
|
|
161
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
161
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
162
162
|
* @param {*} [options] Override http request option.
|
|
163
163
|
* @throws {RequiredError}
|
|
164
164
|
*/
|
|
@@ -220,6 +220,55 @@ var ExecutionsApiAxiosParamCreator = function (configuration) {
|
|
|
220
220
|
});
|
|
221
221
|
});
|
|
222
222
|
},
|
|
223
|
+
/**
|
|
224
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
225
|
+
* @summary Create the actionExecution
|
|
226
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
227
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
triggerAction: function (triggerActionRequestDto, authorization, options) {
|
|
232
|
+
if (options === void 0) { options = {}; }
|
|
233
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
234
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
235
|
+
return __generator(this, function (_a) {
|
|
236
|
+
switch (_a.label) {
|
|
237
|
+
case 0:
|
|
238
|
+
// verify required parameter 'triggerActionRequestDto' is not null or undefined
|
|
239
|
+
(0, common_1.assertParamExists)('triggerAction', 'triggerActionRequestDto', triggerActionRequestDto);
|
|
240
|
+
localVarPath = "/actionservice/v1/actions/trigger";
|
|
241
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
242
|
+
if (configuration) {
|
|
243
|
+
baseOptions = configuration.baseOptions;
|
|
244
|
+
baseAccessToken = configuration.accessToken;
|
|
245
|
+
}
|
|
246
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
247
|
+
localVarHeaderParameter = {};
|
|
248
|
+
localVarQueryParameter = {};
|
|
249
|
+
// authentication bearer required
|
|
250
|
+
// http bearer authentication required
|
|
251
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
252
|
+
case 1:
|
|
253
|
+
// authentication bearer required
|
|
254
|
+
// http bearer authentication required
|
|
255
|
+
_a.sent();
|
|
256
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
257
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
258
|
+
}
|
|
259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
260
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
261
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
263
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(triggerActionRequestDto, localVarRequestOptions, configuration);
|
|
264
|
+
return [2 /*return*/, {
|
|
265
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
266
|
+
options: localVarRequestOptions,
|
|
267
|
+
}];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
},
|
|
223
272
|
};
|
|
224
273
|
};
|
|
225
274
|
exports.ExecutionsApiAxiosParamCreator = ExecutionsApiAxiosParamCreator;
|
|
@@ -258,11 +307,11 @@ var ExecutionsApiFp = function (configuration) {
|
|
|
258
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
259
308
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
260
309
|
* @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.
|
|
261
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
310
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
262
311
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
263
|
-
* @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>
|
|
312
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
264
313
|
* @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/>
|
|
265
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
314
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
266
315
|
* @param {*} [options] Override http request option.
|
|
267
316
|
* @throws {RequiredError}
|
|
268
317
|
*/
|
|
@@ -279,6 +328,27 @@ var ExecutionsApiFp = function (configuration) {
|
|
|
279
328
|
});
|
|
280
329
|
});
|
|
281
330
|
},
|
|
331
|
+
/**
|
|
332
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
333
|
+
* @summary Create the actionExecution
|
|
334
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
335
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
triggerAction: function (triggerActionRequestDto, authorization, options) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
341
|
+
var localVarAxiosArgs;
|
|
342
|
+
return __generator(this, function (_a) {
|
|
343
|
+
switch (_a.label) {
|
|
344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.triggerAction(triggerActionRequestDto, authorization, options)];
|
|
345
|
+
case 1:
|
|
346
|
+
localVarAxiosArgs = _a.sent();
|
|
347
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
},
|
|
282
352
|
};
|
|
283
353
|
};
|
|
284
354
|
exports.ExecutionsApiFp = ExecutionsApiFp;
|
|
@@ -307,17 +377,28 @@ var ExecutionsApiFactory = function (configuration, basePath, axios) {
|
|
|
307
377
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
378
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
379
|
* @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.
|
|
310
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
380
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
311
381
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
312
|
-
* @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>
|
|
382
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt</i>
|
|
313
383
|
* @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/>
|
|
314
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
384
|
+
* @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, actionVersion, entityCode, entityType, triggeredBySub, status, triggeredBy, triggerSource, correlationId, workflowInstanceCode, force, completedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
315
385
|
* @param {*} [options] Override http request option.
|
|
316
386
|
* @throws {RequiredError}
|
|
317
387
|
*/
|
|
318
388
|
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
319
389
|
return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
320
390
|
},
|
|
391
|
+
/**
|
|
392
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
393
|
+
* @summary Create the actionExecution
|
|
394
|
+
* @param {TriggerActionRequestDto} triggerActionRequestDto
|
|
395
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
triggerAction: function (triggerActionRequestDto, authorization, options) {
|
|
400
|
+
return localVarFp.triggerAction(triggerActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
401
|
+
},
|
|
321
402
|
};
|
|
322
403
|
};
|
|
323
404
|
exports.ExecutionsApiFactory = ExecutionsApiFactory;
|
|
@@ -358,6 +439,18 @@ var ExecutionsApi = /** @class */ (function (_super) {
|
|
|
358
439
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
359
440
|
return (0, exports.ExecutionsApiFp)(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
360
441
|
};
|
|
442
|
+
/**
|
|
443
|
+
* Triggers an action execution. When the action has an input_validation_schema, the input payload is validated against it; invalid payloads return HTTP 400 with a body containing message and errors (JSON Schema validation errors). **Required Permissions** \"action-management.actions.run\"
|
|
444
|
+
* @summary Create the actionExecution
|
|
445
|
+
* @param {ExecutionsApiTriggerActionRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
* @memberof ExecutionsApi
|
|
449
|
+
*/
|
|
450
|
+
ExecutionsApi.prototype.triggerAction = function (requestParameters, options) {
|
|
451
|
+
var _this = this;
|
|
452
|
+
return (0, exports.ExecutionsApiFp)(this.configuration).triggerAction(requestParameters.triggerActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
453
|
+
};
|
|
361
454
|
return ExecutionsApi;
|
|
362
455
|
}(base_1.BaseAPI));
|
|
363
456
|
exports.ExecutionsApi = ExecutionsApi;
|
|
@@ -44,13 +44,19 @@ export interface ActionClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ActionClass
|
|
46
46
|
*/
|
|
47
|
-
'workflowCode'
|
|
47
|
+
'workflowCode': string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* true = published (and triggerable), false = draft; only one published per code/slug/name
|
|
50
50
|
* @type {boolean}
|
|
51
51
|
* @memberof ActionClass
|
|
52
52
|
*/
|
|
53
53
|
'isEnabled': boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the action is available in the UI
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ActionClass
|
|
58
|
+
*/
|
|
59
|
+
'isAvailableInUi'?: boolean;
|
|
54
60
|
/**
|
|
55
61
|
* Detailed description of what this action does
|
|
56
62
|
* @type {string}
|
|
@@ -81,4 +87,34 @@ export interface ActionClass {
|
|
|
81
87
|
* @memberof ActionClass
|
|
82
88
|
*/
|
|
83
89
|
'updatedBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Entity type: Policy, Lead, Claim
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ActionClass
|
|
94
|
+
*/
|
|
95
|
+
'entityType'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Product version ID
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof ActionClass
|
|
100
|
+
*/
|
|
101
|
+
'productVersionId'?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Derived from product_version.product_id
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof ActionClass
|
|
106
|
+
*/
|
|
107
|
+
'productSlug'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Optional JSON Schema to validate input_payload when triggering the action (only populated when expand=inputValidationSchema)
|
|
110
|
+
* @type {object}
|
|
111
|
+
* @memberof ActionClass
|
|
112
|
+
*/
|
|
113
|
+
'inputValidationSchema'?: object;
|
|
114
|
+
/**
|
|
115
|
+
* Business version per action config
|
|
116
|
+
* @type {number}
|
|
117
|
+
* @memberof ActionClass
|
|
118
|
+
*/
|
|
119
|
+
'configVersion': number;
|
|
84
120
|
}
|
|
@@ -34,6 +34,12 @@ export interface ActionExecutionClass {
|
|
|
34
34
|
* @memberof ActionExecutionClass
|
|
35
35
|
*/
|
|
36
36
|
'actionCode': string;
|
|
37
|
+
/**
|
|
38
|
+
* Action config version (config_version) at trigger time for audit/tracing
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ActionExecutionClass
|
|
41
|
+
*/
|
|
42
|
+
'actionVersion': number;
|
|
37
43
|
/**
|
|
38
44
|
* Execution status
|
|
39
45
|
* @type {string}
|
|
@@ -104,4 +110,28 @@ export interface ActionExecutionClass {
|
|
|
104
110
|
* @memberof ActionExecutionClass
|
|
105
111
|
*/
|
|
106
112
|
'workflowOutputReference'?: WorkflowOutputReferenceClass;
|
|
113
|
+
/**
|
|
114
|
+
* When true, execution was triggered with force (e.g. draft/disabled action)
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof ActionExecutionClass
|
|
117
|
+
*/
|
|
118
|
+
'force'?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* For entity actions: code of the entity the action was run on (e.g. policy code, lead code)
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof ActionExecutionClass
|
|
123
|
+
*/
|
|
124
|
+
'entityCode'?: string;
|
|
125
|
+
/**
|
|
126
|
+
* For entity actions: entity type (POLICY, LEAD, CLAIM) for lookup
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof ActionExecutionClass
|
|
129
|
+
*/
|
|
130
|
+
'entityType'?: string;
|
|
131
|
+
/**
|
|
132
|
+
* JWT sub of who triggered the action (set when trigger is from API; null for webhook/system)
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof ActionExecutionClass
|
|
135
|
+
*/
|
|
136
|
+
'triggeredBySub'?: string;
|
|
107
137
|
}
|
|
@@ -34,15 +34,45 @@ export interface CreateActionRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'workflowCode': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* true = published (triggerable), false = draft. Default true.
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof CreateActionRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'isEnabled'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the action is available in the UI
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CreateActionRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'isAvailableInUi'?: boolean;
|
|
42
48
|
/**
|
|
43
49
|
* Detailed description of what this action does
|
|
44
50
|
* @type {string}
|
|
45
51
|
* @memberof CreateActionRequestDto
|
|
46
52
|
*/
|
|
47
53
|
'description'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Entity type. When provided, productVersionId is required (and vice versa).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateActionRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'entityType'?: CreateActionRequestDtoEntityTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Product version ID. When provided, entityType is required (and vice versa).
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CreateActionRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'productVersionId'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Optional JSON Schema to validate input_payload when triggering the action
|
|
68
|
+
* @type {object}
|
|
69
|
+
* @memberof CreateActionRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'inputValidationSchema'?: object;
|
|
48
72
|
}
|
|
73
|
+
export declare const CreateActionRequestDtoEntityTypeEnum: {
|
|
74
|
+
readonly Policy: "POLICY";
|
|
75
|
+
readonly Lead: "LEAD";
|
|
76
|
+
readonly Claim: "CLAIM";
|
|
77
|
+
};
|
|
78
|
+
export type CreateActionRequestDtoEntityTypeEnum = typeof CreateActionRequestDtoEntityTypeEnum[keyof typeof CreateActionRequestDtoEntityTypeEnum];
|
|
@@ -13,3 +13,9 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateActionRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.CreateActionRequestDtoEntityTypeEnum = {
|
|
18
|
+
Policy: 'POLICY',
|
|
19
|
+
Lead: 'LEAD',
|
|
20
|
+
Claim: 'CLAIM'
|
|
21
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExportActionsAsYamlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportActionsAsYamlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Serialized YAML for the product version (all entity types)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportActionsAsYamlResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'yamlContent': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ImportActionsFromYamlRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ImportActionsFromYamlRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Product slug for the whole document
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImportActionsFromYamlRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'productSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Product version ID for the whole document
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ImportActionsFromYamlRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Full YAML body (entity_actions keyed by entity type)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImportActionsFromYamlRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'yamlContent': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|