@emilgroup/action-sdk 1.0.1-beta.23 → 1.1.1-beta.1
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 +4 -0
- package/README.md +2 -2
- package/api/actions-api.ts +306 -0
- package/dist/api/actions-api.d.ts +175 -0
- package/dist/api/actions-api.js +228 -0
- package/dist/models/action-execution-class.d.ts +107 -0
- package/dist/models/action-execution-class.js +15 -0
- package/dist/models/get-action-execution-status-response-class.d.ts +25 -0
- package/dist/models/get-action-execution-status-response-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-action-executions-response-class.d.ts +43 -0
- package/dist/models/list-action-executions-response-class.js +15 -0
- package/dist/models/workflow-output-reference-class.d.ts +30 -0
- package/dist/models/workflow-output-reference-class.js +15 -0
- package/models/action-execution-class.ts +109 -0
- package/models/get-action-execution-status-response-class.ts +31 -0
- package/models/index.ts +4 -0
- package/models/list-action-executions-response-class.ts +49 -0
- package/models/workflow-output-reference-class.ts +36 -0
- package/package.json +2 -1
package/dist/api/actions-api.js
CHANGED
|
@@ -237,6 +237,130 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
237
237
|
});
|
|
238
238
|
});
|
|
239
239
|
},
|
|
240
|
+
/**
|
|
241
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
242
|
+
* @summary Retrieve the actionExecution
|
|
243
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
|
+
* @param {string} [executionCode] Action execution code
|
|
245
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
250
|
+
if (options === void 0) { options = {}; }
|
|
251
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
252
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
253
|
+
return __generator(this, function (_a) {
|
|
254
|
+
switch (_a.label) {
|
|
255
|
+
case 0:
|
|
256
|
+
localVarPath = "/actionservice/v1/actions/executions/status";
|
|
257
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
258
|
+
if (configuration) {
|
|
259
|
+
baseOptions = configuration.baseOptions;
|
|
260
|
+
baseAccessToken = configuration.accessToken;
|
|
261
|
+
}
|
|
262
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
263
|
+
localVarHeaderParameter = {};
|
|
264
|
+
localVarQueryParameter = {};
|
|
265
|
+
// authentication bearer required
|
|
266
|
+
// http bearer authentication required
|
|
267
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
268
|
+
case 1:
|
|
269
|
+
// authentication bearer required
|
|
270
|
+
// http bearer authentication required
|
|
271
|
+
_a.sent();
|
|
272
|
+
if (executionCode !== undefined) {
|
|
273
|
+
localVarQueryParameter['executionCode'] = executionCode;
|
|
274
|
+
}
|
|
275
|
+
if (correlationId !== undefined) {
|
|
276
|
+
localVarQueryParameter['correlationId'] = correlationId;
|
|
277
|
+
}
|
|
278
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
279
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
280
|
+
}
|
|
281
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
284
|
+
return [2 /*return*/, {
|
|
285
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
286
|
+
options: localVarRequestOptions,
|
|
287
|
+
}];
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* Lists action executions with optional filters
|
|
294
|
+
* @summary List actionExecutions
|
|
295
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
296
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
297
|
+
* @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.
|
|
298
|
+
* @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>
|
|
299
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
300
|
+
* @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>
|
|
301
|
+
* @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/>
|
|
302
|
+
* @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>
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
307
|
+
if (options === void 0) { options = {}; }
|
|
308
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
309
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
310
|
+
return __generator(this, function (_a) {
|
|
311
|
+
switch (_a.label) {
|
|
312
|
+
case 0:
|
|
313
|
+
localVarPath = "/actionservice/v1/actions/executions";
|
|
314
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
315
|
+
if (configuration) {
|
|
316
|
+
baseOptions = configuration.baseOptions;
|
|
317
|
+
baseAccessToken = configuration.accessToken;
|
|
318
|
+
}
|
|
319
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
320
|
+
localVarHeaderParameter = {};
|
|
321
|
+
localVarQueryParameter = {};
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
325
|
+
case 1:
|
|
326
|
+
// authentication bearer required
|
|
327
|
+
// http bearer authentication required
|
|
328
|
+
_a.sent();
|
|
329
|
+
if (pageSize !== undefined) {
|
|
330
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
331
|
+
}
|
|
332
|
+
if (pageToken !== undefined) {
|
|
333
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
334
|
+
}
|
|
335
|
+
if (filter !== undefined) {
|
|
336
|
+
localVarQueryParameter['filter'] = filter;
|
|
337
|
+
}
|
|
338
|
+
if (search !== undefined) {
|
|
339
|
+
localVarQueryParameter['search'] = search;
|
|
340
|
+
}
|
|
341
|
+
if (order !== undefined) {
|
|
342
|
+
localVarQueryParameter['order'] = order;
|
|
343
|
+
}
|
|
344
|
+
if (expand !== undefined) {
|
|
345
|
+
localVarQueryParameter['expand'] = expand;
|
|
346
|
+
}
|
|
347
|
+
if (filters !== undefined) {
|
|
348
|
+
localVarQueryParameter['filters'] = filters;
|
|
349
|
+
}
|
|
350
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
351
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
352
|
+
}
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
return [2 /*return*/, {
|
|
357
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
358
|
+
options: localVarRequestOptions,
|
|
359
|
+
}];
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
},
|
|
240
364
|
/**
|
|
241
365
|
* Lists all action configurations with optional filters
|
|
242
366
|
* @summary List actions
|
|
@@ -435,6 +559,55 @@ var ActionsApiFp = function (configuration) {
|
|
|
435
559
|
});
|
|
436
560
|
});
|
|
437
561
|
},
|
|
562
|
+
/**
|
|
563
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
564
|
+
* @summary Retrieve the actionExecution
|
|
565
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
566
|
+
* @param {string} [executionCode] Action execution code
|
|
567
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
572
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
573
|
+
var localVarAxiosArgs;
|
|
574
|
+
return __generator(this, function (_a) {
|
|
575
|
+
switch (_a.label) {
|
|
576
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActionExecutionStatus(authorization, executionCode, correlationId, options)];
|
|
577
|
+
case 1:
|
|
578
|
+
localVarAxiosArgs = _a.sent();
|
|
579
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
});
|
|
583
|
+
},
|
|
584
|
+
/**
|
|
585
|
+
* Lists action executions with optional filters
|
|
586
|
+
* @summary List actionExecutions
|
|
587
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
588
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
589
|
+
* @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.
|
|
590
|
+
* @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>
|
|
591
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
592
|
+
* @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>
|
|
593
|
+
* @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/>
|
|
594
|
+
* @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>
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
600
|
+
var localVarAxiosArgs;
|
|
601
|
+
return __generator(this, function (_a) {
|
|
602
|
+
switch (_a.label) {
|
|
603
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
604
|
+
case 1:
|
|
605
|
+
localVarAxiosArgs = _a.sent();
|
|
606
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
});
|
|
610
|
+
},
|
|
438
611
|
/**
|
|
439
612
|
* Lists all action configurations with optional filters
|
|
440
613
|
* @summary List actions
|
|
@@ -527,6 +700,35 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
527
700
|
getAction: function (code, authorization, options) {
|
|
528
701
|
return localVarFp.getAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
529
702
|
},
|
|
703
|
+
/**
|
|
704
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
705
|
+
* @summary Retrieve the actionExecution
|
|
706
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
707
|
+
* @param {string} [executionCode] Action execution code
|
|
708
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
713
|
+
return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then(function (request) { return request(axios, basePath); });
|
|
714
|
+
},
|
|
715
|
+
/**
|
|
716
|
+
* Lists action executions with optional filters
|
|
717
|
+
* @summary List actionExecutions
|
|
718
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
719
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
720
|
+
* @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.
|
|
721
|
+
* @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>
|
|
722
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
723
|
+
* @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>
|
|
724
|
+
* @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/>
|
|
725
|
+
* @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>
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
730
|
+
return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
731
|
+
},
|
|
530
732
|
/**
|
|
531
733
|
* Lists all action configurations with optional filters
|
|
532
734
|
* @summary List actions
|
|
@@ -606,6 +808,32 @@ var ActionsApi = /** @class */ (function (_super) {
|
|
|
606
808
|
var _this = this;
|
|
607
809
|
return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
810
|
};
|
|
811
|
+
/**
|
|
812
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
813
|
+
* @summary Retrieve the actionExecution
|
|
814
|
+
* @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
* @memberof ActionsApi
|
|
818
|
+
*/
|
|
819
|
+
ActionsApi.prototype.getActionExecutionStatus = function (requestParameters, options) {
|
|
820
|
+
var _this = this;
|
|
821
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
822
|
+
return (0, exports.ActionsApiFp)(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* Lists action executions with optional filters
|
|
826
|
+
* @summary List actionExecutions
|
|
827
|
+
* @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
* @memberof ActionsApi
|
|
831
|
+
*/
|
|
832
|
+
ActionsApi.prototype.listActionExecutions = function (requestParameters, options) {
|
|
833
|
+
var _this = this;
|
|
834
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
835
|
+
return (0, exports.ActionsApiFp)(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); });
|
|
836
|
+
};
|
|
609
837
|
/**
|
|
610
838
|
* Lists all action configurations with optional filters
|
|
611
839
|
* @summary List actions
|
|
@@ -0,0 +1,107 @@
|
|
|
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
|
+
import { WorkflowOutputReferenceClass } from './workflow-output-reference-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ActionExecutionClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ActionExecutionClass {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ActionExecutionClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ActionExecutionClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* Action configuration code (action_configs.code)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ActionExecutionClass
|
|
35
|
+
*/
|
|
36
|
+
'actionCode': string;
|
|
37
|
+
/**
|
|
38
|
+
* Execution status
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ActionExecutionClass
|
|
41
|
+
*/
|
|
42
|
+
'status': string;
|
|
43
|
+
/**
|
|
44
|
+
* Who triggered the execution
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ActionExecutionClass
|
|
47
|
+
*/
|
|
48
|
+
'triggeredBy': string;
|
|
49
|
+
/**
|
|
50
|
+
* How the execution was triggered
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ActionExecutionClass
|
|
53
|
+
*/
|
|
54
|
+
'triggerSource': string;
|
|
55
|
+
/**
|
|
56
|
+
* Error message when execution fails
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ActionExecutionClass
|
|
59
|
+
*/
|
|
60
|
+
'error'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Structured error details when execution fails
|
|
63
|
+
* @type {{ [key: string]: object; }}
|
|
64
|
+
* @memberof ActionExecutionClass
|
|
65
|
+
*/
|
|
66
|
+
'errorDetails'?: {
|
|
67
|
+
[key: string]: object;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Time at which the object was created.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ActionExecutionClass
|
|
73
|
+
*/
|
|
74
|
+
'createdAt': string;
|
|
75
|
+
/**
|
|
76
|
+
* Time at which the object was updated.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ActionExecutionClass
|
|
79
|
+
*/
|
|
80
|
+
'updatedAt': string;
|
|
81
|
+
/**
|
|
82
|
+
* When the execution completed (succeeded or failed)
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof ActionExecutionClass
|
|
85
|
+
*/
|
|
86
|
+
'completedAt'?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ActionExecutionClass
|
|
91
|
+
*/
|
|
92
|
+
'correlationId': string;
|
|
93
|
+
/**
|
|
94
|
+
* Input payload for the execution
|
|
95
|
+
* @type {{ [key: string]: object; }}
|
|
96
|
+
* @memberof ActionExecutionClass
|
|
97
|
+
*/
|
|
98
|
+
'inputPayload'?: {
|
|
99
|
+
[key: string]: object;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Reference to ProcessManager workflow output (avoids duplicating workflow outputs)
|
|
103
|
+
* @type {WorkflowOutputReferenceClass}
|
|
104
|
+
* @memberof ActionExecutionClass
|
|
105
|
+
*/
|
|
106
|
+
'workflowOutputReference'?: WorkflowOutputReferenceClass;
|
|
107
|
+
}
|
|
@@ -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,25 @@
|
|
|
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
|
+
import { ActionExecutionClass } from './action-execution-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetActionExecutionStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetActionExecutionStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Latest action execution status
|
|
21
|
+
* @type {ActionExecutionClass}
|
|
22
|
+
* @memberof GetActionExecutionStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'actionExecution'?: ActionExecutionClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export * from './action-class';
|
|
2
|
+
export * from './action-execution-class';
|
|
2
3
|
export * from './create-action-request-dto';
|
|
3
4
|
export * from './create-action-response-class';
|
|
5
|
+
export * from './get-action-execution-status-response-class';
|
|
4
6
|
export * from './get-action-response-class';
|
|
5
7
|
export * from './inline-response200';
|
|
6
8
|
export * from './inline-response503';
|
|
9
|
+
export * from './list-action-executions-response-class';
|
|
7
10
|
export * from './list-actions-response-class';
|
|
8
11
|
export * from './update-action-request-dto';
|
|
9
12
|
export * from './update-action-response-class';
|
|
13
|
+
export * from './workflow-output-reference-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,11 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./action-class"), exports);
|
|
18
|
+
__exportStar(require("./action-execution-class"), exports);
|
|
18
19
|
__exportStar(require("./create-action-request-dto"), exports);
|
|
19
20
|
__exportStar(require("./create-action-response-class"), exports);
|
|
21
|
+
__exportStar(require("./get-action-execution-status-response-class"), exports);
|
|
20
22
|
__exportStar(require("./get-action-response-class"), exports);
|
|
21
23
|
__exportStar(require("./inline-response200"), exports);
|
|
22
24
|
__exportStar(require("./inline-response503"), exports);
|
|
25
|
+
__exportStar(require("./list-action-executions-response-class"), exports);
|
|
23
26
|
__exportStar(require("./list-actions-response-class"), exports);
|
|
24
27
|
__exportStar(require("./update-action-request-dto"), exports);
|
|
25
28
|
__exportStar(require("./update-action-response-class"), exports);
|
|
29
|
+
__exportStar(require("./workflow-output-reference-class"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { ActionExecutionClass } from './action-execution-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListActionExecutionsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListActionExecutionsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of action executions
|
|
21
|
+
* @type {Array<ActionExecutionClass>}
|
|
22
|
+
* @memberof ListActionExecutionsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ActionExecutionClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for the next page
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListActionExecutionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of items per page
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListActionExecutionsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total number of items
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListActionExecutionsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -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,30 @@
|
|
|
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 WorkflowOutputReferenceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkflowOutputReferenceClass {
|
|
18
|
+
/**
|
|
19
|
+
* ProcessManager workflow instance key/code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkflowOutputReferenceClass
|
|
22
|
+
*/
|
|
23
|
+
'workflowInstanceKey': string;
|
|
24
|
+
/**
|
|
25
|
+
* Workflow task key that contains the output
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkflowOutputReferenceClass
|
|
28
|
+
*/
|
|
29
|
+
'workflowTaskKey': string;
|
|
30
|
+
}
|
|
@@ -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 });
|