@emilgroup/action-sdk-node 1.0.1-beta.23 → 1.0.1-beta.31
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 -2
package/dist/api/actions-api.js
CHANGED
|
@@ -241,6 +241,130 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
});
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
|
+
/**
|
|
245
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
246
|
+
* @summary Retrieve the actionExecution
|
|
247
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
|
+
* @param {string} [executionCode] Action execution code
|
|
249
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
254
|
+
if (options === void 0) { options = {}; }
|
|
255
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
256
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
257
|
+
return __generator(this, function (_a) {
|
|
258
|
+
switch (_a.label) {
|
|
259
|
+
case 0:
|
|
260
|
+
localVarPath = "/actionservice/v1/actions/executions/status";
|
|
261
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
262
|
+
if (configuration) {
|
|
263
|
+
baseOptions = configuration.baseOptions;
|
|
264
|
+
baseAccessToken = configuration.accessToken;
|
|
265
|
+
}
|
|
266
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
267
|
+
localVarHeaderParameter = {};
|
|
268
|
+
localVarQueryParameter = {};
|
|
269
|
+
// authentication bearer required
|
|
270
|
+
// http bearer authentication required
|
|
271
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
272
|
+
case 1:
|
|
273
|
+
// authentication bearer required
|
|
274
|
+
// http bearer authentication required
|
|
275
|
+
_a.sent();
|
|
276
|
+
if (executionCode !== undefined) {
|
|
277
|
+
localVarQueryParameter['executionCode'] = executionCode;
|
|
278
|
+
}
|
|
279
|
+
if (correlationId !== undefined) {
|
|
280
|
+
localVarQueryParameter['correlationId'] = correlationId;
|
|
281
|
+
}
|
|
282
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
283
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
284
|
+
}
|
|
285
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
286
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
288
|
+
return [2 /*return*/, {
|
|
289
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
290
|
+
options: localVarRequestOptions,
|
|
291
|
+
}];
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
});
|
|
295
|
+
},
|
|
296
|
+
/**
|
|
297
|
+
* Lists action executions (latest status per execution only) with optional filters
|
|
298
|
+
* @summary List actionExecutions
|
|
299
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
300
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
301
|
+
* @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.
|
|
302
|
+
* @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>
|
|
303
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
304
|
+
* @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>
|
|
305
|
+
* @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/>
|
|
306
|
+
* @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>
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
311
|
+
if (options === void 0) { options = {}; }
|
|
312
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
313
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
314
|
+
return __generator(this, function (_a) {
|
|
315
|
+
switch (_a.label) {
|
|
316
|
+
case 0:
|
|
317
|
+
localVarPath = "/actionservice/v1/actions/executions";
|
|
318
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
319
|
+
if (configuration) {
|
|
320
|
+
baseOptions = configuration.baseOptions;
|
|
321
|
+
baseAccessToken = configuration.accessToken;
|
|
322
|
+
}
|
|
323
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
324
|
+
localVarHeaderParameter = {};
|
|
325
|
+
localVarQueryParameter = {};
|
|
326
|
+
// authentication bearer required
|
|
327
|
+
// http bearer authentication required
|
|
328
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
329
|
+
case 1:
|
|
330
|
+
// authentication bearer required
|
|
331
|
+
// http bearer authentication required
|
|
332
|
+
_a.sent();
|
|
333
|
+
if (pageSize !== undefined) {
|
|
334
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
335
|
+
}
|
|
336
|
+
if (pageToken !== undefined) {
|
|
337
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
338
|
+
}
|
|
339
|
+
if (filter !== undefined) {
|
|
340
|
+
localVarQueryParameter['filter'] = filter;
|
|
341
|
+
}
|
|
342
|
+
if (search !== undefined) {
|
|
343
|
+
localVarQueryParameter['search'] = search;
|
|
344
|
+
}
|
|
345
|
+
if (order !== undefined) {
|
|
346
|
+
localVarQueryParameter['order'] = order;
|
|
347
|
+
}
|
|
348
|
+
if (expand !== undefined) {
|
|
349
|
+
localVarQueryParameter['expand'] = expand;
|
|
350
|
+
}
|
|
351
|
+
if (filters !== undefined) {
|
|
352
|
+
localVarQueryParameter['filters'] = filters;
|
|
353
|
+
}
|
|
354
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
355
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
356
|
+
}
|
|
357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
+
return [2 /*return*/, {
|
|
361
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
}];
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
});
|
|
367
|
+
},
|
|
244
368
|
/**
|
|
245
369
|
* Lists all action configurations with optional filters
|
|
246
370
|
* @summary List actions
|
|
@@ -439,6 +563,55 @@ var ActionsApiFp = function (configuration) {
|
|
|
439
563
|
});
|
|
440
564
|
});
|
|
441
565
|
},
|
|
566
|
+
/**
|
|
567
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
568
|
+
* @summary Retrieve the actionExecution
|
|
569
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
570
|
+
* @param {string} [executionCode] Action execution code
|
|
571
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
*/
|
|
575
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
577
|
+
var localVarAxiosArgs;
|
|
578
|
+
return __generator(this, function (_a) {
|
|
579
|
+
switch (_a.label) {
|
|
580
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getActionExecutionStatus(authorization, executionCode, correlationId, options)];
|
|
581
|
+
case 1:
|
|
582
|
+
localVarAxiosArgs = _a.sent();
|
|
583
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
584
|
+
}
|
|
585
|
+
});
|
|
586
|
+
});
|
|
587
|
+
},
|
|
588
|
+
/**
|
|
589
|
+
* Lists action executions (latest status per execution only) with optional filters
|
|
590
|
+
* @summary List actionExecutions
|
|
591
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
592
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
593
|
+
* @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.
|
|
594
|
+
* @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>
|
|
595
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
596
|
+
* @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>
|
|
597
|
+
* @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/>
|
|
598
|
+
* @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>
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
603
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
604
|
+
var localVarAxiosArgs;
|
|
605
|
+
return __generator(this, function (_a) {
|
|
606
|
+
switch (_a.label) {
|
|
607
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
608
|
+
case 1:
|
|
609
|
+
localVarAxiosArgs = _a.sent();
|
|
610
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
});
|
|
614
|
+
},
|
|
442
615
|
/**
|
|
443
616
|
* Lists all action configurations with optional filters
|
|
444
617
|
* @summary List actions
|
|
@@ -531,6 +704,35 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
704
|
getAction: function (code, authorization, options) {
|
|
532
705
|
return localVarFp.getAction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
533
706
|
},
|
|
707
|
+
/**
|
|
708
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
709
|
+
* @summary Retrieve the actionExecution
|
|
710
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
711
|
+
* @param {string} [executionCode] Action execution code
|
|
712
|
+
* @param {string} [correlationId] Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
717
|
+
return localVarFp.getActionExecutionStatus(authorization, executionCode, correlationId, options).then(function (request) { return request(axios, basePath); });
|
|
718
|
+
},
|
|
719
|
+
/**
|
|
720
|
+
* Lists action executions (latest status per execution only) with optional filters
|
|
721
|
+
* @summary List actionExecutions
|
|
722
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
723
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
724
|
+
* @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.
|
|
725
|
+
* @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>
|
|
726
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
727
|
+
* @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>
|
|
728
|
+
* @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/>
|
|
729
|
+
* @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>
|
|
730
|
+
* @param {*} [options] Override http request option.
|
|
731
|
+
* @throws {RequiredError}
|
|
732
|
+
*/
|
|
733
|
+
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
734
|
+
return localVarFp.listActionExecutions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
735
|
+
},
|
|
534
736
|
/**
|
|
535
737
|
* Lists all action configurations with optional filters
|
|
536
738
|
* @summary List actions
|
|
@@ -610,6 +812,32 @@ var ActionsApi = /** @class */ (function (_super) {
|
|
|
610
812
|
var _this = this;
|
|
611
813
|
return (0, exports.ActionsApiFp)(this.configuration).getAction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
612
814
|
};
|
|
815
|
+
/**
|
|
816
|
+
* Retrieves the latest action execution status by executionCode or correlationId
|
|
817
|
+
* @summary Retrieve the actionExecution
|
|
818
|
+
* @param {ActionsApiGetActionExecutionStatusRequest} requestParameters Request parameters.
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
* @memberof ActionsApi
|
|
822
|
+
*/
|
|
823
|
+
ActionsApi.prototype.getActionExecutionStatus = function (requestParameters, options) {
|
|
824
|
+
var _this = this;
|
|
825
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
826
|
+
return (0, exports.ActionsApiFp)(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* Lists action executions (latest status per execution only) with optional filters
|
|
830
|
+
* @summary List actionExecutions
|
|
831
|
+
* @param {ActionsApiListActionExecutionsRequest} requestParameters Request parameters.
|
|
832
|
+
* @param {*} [options] Override http request option.
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
* @memberof ActionsApi
|
|
835
|
+
*/
|
|
836
|
+
ActionsApi.prototype.listActionExecutions = function (requestParameters, options) {
|
|
837
|
+
var _this = this;
|
|
838
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
839
|
+
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); });
|
|
840
|
+
};
|
|
613
841
|
/**
|
|
614
842
|
* Lists all action configurations with optional filters
|
|
615
843
|
* @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 });
|