@kommerz/ts-client 1.167.15 → 1.168.0
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/dist/apis/WorkflowExecutionsApi.d.ts +42 -0
- package/dist/apis/WorkflowExecutionsApi.js +184 -0
- package/dist/apis/WorkflowExternalTasksApi.d.ts +80 -0
- package/dist/apis/WorkflowExternalTasksApi.js +343 -0
- package/dist/apis/WorkflowProcessesApi.d.ts +1 -14
- package/dist/apis/WorkflowProcessesApi.js +0 -55
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/EntityType.d.ts +2 -1
- package/dist/models/EntityType.js +2 -1
- package/dist/models/GetAllWorkflowExecutions200Response.d.ts +50 -0
- package/dist/models/GetAllWorkflowExecutions200Response.js +59 -0
- package/dist/models/GetAllWorkflowExternalTasks200Response.d.ts +50 -0
- package/dist/models/GetAllWorkflowExternalTasks200Response.js +59 -0
- package/dist/models/GetAllWorkflowProcessLogs200Response.d.ts +3 -3
- package/dist/models/GetAllWorkflowProcessLogs200Response.js +3 -3
- package/dist/models/InternalWorkflowExternalTask.d.ts +43 -0
- package/dist/models/InternalWorkflowExternalTask.js +58 -0
- package/dist/models/InternalWorkflowProcessLogDto.d.ts +10 -4
- package/dist/models/InternalWorkflowProcessLogDto.js +6 -2
- package/dist/models/WorkflowExecutionDto.d.ts +81 -0
- package/dist/models/WorkflowExecutionDto.js +80 -0
- package/dist/models/WorkflowExecutionStatus.d.ts +26 -0
- package/dist/models/WorkflowExecutionStatus.js +52 -0
- package/dist/models/WorkflowExternalTask.d.ts +61 -0
- package/dist/models/WorkflowExternalTask.js +66 -0
- package/dist/models/WorkflowExternalTaskDto.d.ts +55 -0
- package/dist/models/WorkflowExternalTaskDto.js +62 -0
- package/dist/models/WorkflowProcessLogDto.d.ts +0 -24
- package/dist/models/WorkflowProcessLogDto.js +0 -14
- package/dist/models/WorkflowProcessStatus.d.ts +6 -0
- package/dist/models/WorkflowProcessStatus.js +6 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfWorkflowExecutionDto = instanceOfWorkflowExecutionDto;
|
|
16
|
+
exports.WorkflowExecutionDtoFromJSON = WorkflowExecutionDtoFromJSON;
|
|
17
|
+
exports.WorkflowExecutionDtoFromJSONTyped = WorkflowExecutionDtoFromJSONTyped;
|
|
18
|
+
exports.WorkflowExecutionDtoToJSON = WorkflowExecutionDtoToJSON;
|
|
19
|
+
exports.WorkflowExecutionDtoToJSONTyped = WorkflowExecutionDtoToJSONTyped;
|
|
20
|
+
var WorkflowExecutionStatus_1 = require("./WorkflowExecutionStatus");
|
|
21
|
+
var WorkflowProcessLogDto_1 = require("./WorkflowProcessLogDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WorkflowExecutionDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWorkflowExecutionDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('workflowProcessId' in value) || value['workflowProcessId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('externalTaskId' in value) || value['externalTaskId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('workflowId' in value) || value['workflowId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function WorkflowExecutionDtoFromJSON(json) {
|
|
43
|
+
return WorkflowExecutionDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function WorkflowExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'version': json['version'],
|
|
52
|
+
'workflowProcessId': json['workflowProcessId'],
|
|
53
|
+
'externalTaskId': json['externalTaskId'],
|
|
54
|
+
'workflowId': json['workflowId'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'status': (0, WorkflowExecutionStatus_1.WorkflowExecutionStatusFromJSON)(json['status']),
|
|
57
|
+
'completedTime': json['completedTime'] == null ? undefined : (new Date(json['completedTime'])),
|
|
58
|
+
'logs': json['logs'] == null ? undefined : (json['logs'].map(WorkflowProcessLogDto_1.WorkflowProcessLogDtoFromJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function WorkflowExecutionDtoToJSON(json) {
|
|
62
|
+
return WorkflowExecutionDtoToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function WorkflowExecutionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'version': value['version'],
|
|
72
|
+
'workflowProcessId': value['workflowProcessId'],
|
|
73
|
+
'externalTaskId': value['externalTaskId'],
|
|
74
|
+
'workflowId': value['workflowId'],
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'status': (0, WorkflowExecutionStatus_1.WorkflowExecutionStatusToJSON)(value['status']),
|
|
77
|
+
'completedTime': value['completedTime'] == null ? value['completedTime'] : value['completedTime'].toISOString(),
|
|
78
|
+
'logs': value['logs'] == null ? undefined : (value['logs'].map(WorkflowProcessLogDto_1.WorkflowProcessLogDtoToJSON)),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const WorkflowExecutionStatus: {
|
|
16
|
+
readonly Running: "RUNNING";
|
|
17
|
+
readonly Success: "SUCCESS";
|
|
18
|
+
readonly Failed: "FAILED";
|
|
19
|
+
readonly Restarted: "RESTARTED";
|
|
20
|
+
};
|
|
21
|
+
export type WorkflowExecutionStatus = typeof WorkflowExecutionStatus[keyof typeof WorkflowExecutionStatus];
|
|
22
|
+
export declare function instanceOfWorkflowExecutionStatus(value: any): boolean;
|
|
23
|
+
export declare function WorkflowExecutionStatusFromJSON(json: any): WorkflowExecutionStatus;
|
|
24
|
+
export declare function WorkflowExecutionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowExecutionStatus;
|
|
25
|
+
export declare function WorkflowExecutionStatusToJSON(value?: WorkflowExecutionStatus | null): any;
|
|
26
|
+
export declare function WorkflowExecutionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): WorkflowExecutionStatus;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.WorkflowExecutionStatus = void 0;
|
|
16
|
+
exports.instanceOfWorkflowExecutionStatus = instanceOfWorkflowExecutionStatus;
|
|
17
|
+
exports.WorkflowExecutionStatusFromJSON = WorkflowExecutionStatusFromJSON;
|
|
18
|
+
exports.WorkflowExecutionStatusFromJSONTyped = WorkflowExecutionStatusFromJSONTyped;
|
|
19
|
+
exports.WorkflowExecutionStatusToJSON = WorkflowExecutionStatusToJSON;
|
|
20
|
+
exports.WorkflowExecutionStatusToJSONTyped = WorkflowExecutionStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.WorkflowExecutionStatus = {
|
|
26
|
+
Running: 'RUNNING',
|
|
27
|
+
Success: 'SUCCESS',
|
|
28
|
+
Failed: 'FAILED',
|
|
29
|
+
Restarted: 'RESTARTED'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfWorkflowExecutionStatus(value) {
|
|
32
|
+
for (var key in exports.WorkflowExecutionStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.WorkflowExecutionStatus, key)) {
|
|
34
|
+
if (exports.WorkflowExecutionStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function WorkflowExecutionStatusFromJSON(json) {
|
|
42
|
+
return WorkflowExecutionStatusFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function WorkflowExecutionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function WorkflowExecutionStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function WorkflowExecutionStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface WorkflowExternalTask
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkflowExternalTask {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof WorkflowExternalTask
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof WorkflowExternalTask
|
|
27
|
+
*/
|
|
28
|
+
version?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WorkflowExternalTask
|
|
33
|
+
*/
|
|
34
|
+
workflowId: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof WorkflowExternalTask
|
|
39
|
+
*/
|
|
40
|
+
name: string;
|
|
41
|
+
/**
|
|
42
|
+
* unique name within workflow used to reference task from workflow process during execution
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof WorkflowExternalTask
|
|
45
|
+
*/
|
|
46
|
+
taskId: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof WorkflowExternalTask
|
|
51
|
+
*/
|
|
52
|
+
script: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the WorkflowExternalTask interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfWorkflowExternalTask(value: object): value is WorkflowExternalTask;
|
|
58
|
+
export declare function WorkflowExternalTaskFromJSON(json: any): WorkflowExternalTask;
|
|
59
|
+
export declare function WorkflowExternalTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowExternalTask;
|
|
60
|
+
export declare function WorkflowExternalTaskToJSON(json: any): WorkflowExternalTask;
|
|
61
|
+
export declare function WorkflowExternalTaskToJSONTyped(value?: WorkflowExternalTask | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfWorkflowExternalTask = instanceOfWorkflowExternalTask;
|
|
16
|
+
exports.WorkflowExternalTaskFromJSON = WorkflowExternalTaskFromJSON;
|
|
17
|
+
exports.WorkflowExternalTaskFromJSONTyped = WorkflowExternalTaskFromJSONTyped;
|
|
18
|
+
exports.WorkflowExternalTaskToJSON = WorkflowExternalTaskToJSON;
|
|
19
|
+
exports.WorkflowExternalTaskToJSONTyped = WorkflowExternalTaskToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the WorkflowExternalTask interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfWorkflowExternalTask(value) {
|
|
24
|
+
if (!('workflowId' in value) || value['workflowId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('taskId' in value) || value['taskId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('script' in value) || value['script'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function WorkflowExternalTaskFromJSON(json) {
|
|
35
|
+
return WorkflowExternalTaskFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function WorkflowExternalTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
44
|
+
'workflowId': json['workflowId'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'taskId': json['taskId'],
|
|
47
|
+
'script': json['script'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function WorkflowExternalTaskToJSON(json) {
|
|
51
|
+
return WorkflowExternalTaskToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function WorkflowExternalTaskToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'version': value['version'],
|
|
61
|
+
'workflowId': value['workflowId'],
|
|
62
|
+
'name': value['name'],
|
|
63
|
+
'taskId': value['taskId'],
|
|
64
|
+
'script': value['script'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface WorkflowExternalTaskDto
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkflowExternalTaskDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof WorkflowExternalTaskDto
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof WorkflowExternalTaskDto
|
|
27
|
+
*/
|
|
28
|
+
version?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WorkflowExternalTaskDto
|
|
33
|
+
*/
|
|
34
|
+
workflowId: string;
|
|
35
|
+
/**
|
|
36
|
+
* unique name within workflow used to reference task from workflow process during execution
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof WorkflowExternalTaskDto
|
|
39
|
+
*/
|
|
40
|
+
taskId: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof WorkflowExternalTaskDto
|
|
45
|
+
*/
|
|
46
|
+
script: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the WorkflowExternalTaskDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfWorkflowExternalTaskDto(value: object): value is WorkflowExternalTaskDto;
|
|
52
|
+
export declare function WorkflowExternalTaskDtoFromJSON(json: any): WorkflowExternalTaskDto;
|
|
53
|
+
export declare function WorkflowExternalTaskDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowExternalTaskDto;
|
|
54
|
+
export declare function WorkflowExternalTaskDtoToJSON(json: any): WorkflowExternalTaskDto;
|
|
55
|
+
export declare function WorkflowExternalTaskDtoToJSONTyped(value?: WorkflowExternalTaskDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfWorkflowExternalTaskDto = instanceOfWorkflowExternalTaskDto;
|
|
16
|
+
exports.WorkflowExternalTaskDtoFromJSON = WorkflowExternalTaskDtoFromJSON;
|
|
17
|
+
exports.WorkflowExternalTaskDtoFromJSONTyped = WorkflowExternalTaskDtoFromJSONTyped;
|
|
18
|
+
exports.WorkflowExternalTaskDtoToJSON = WorkflowExternalTaskDtoToJSON;
|
|
19
|
+
exports.WorkflowExternalTaskDtoToJSONTyped = WorkflowExternalTaskDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the WorkflowExternalTaskDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfWorkflowExternalTaskDto(value) {
|
|
24
|
+
if (!('workflowId' in value) || value['workflowId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('taskId' in value) || value['taskId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('script' in value) || value['script'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function WorkflowExternalTaskDtoFromJSON(json) {
|
|
33
|
+
return WorkflowExternalTaskDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function WorkflowExternalTaskDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
42
|
+
'workflowId': json['workflowId'],
|
|
43
|
+
'taskId': json['taskId'],
|
|
44
|
+
'script': json['script'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function WorkflowExternalTaskDtoToJSON(json) {
|
|
48
|
+
return WorkflowExternalTaskDtoToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function WorkflowExternalTaskDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'version': value['version'],
|
|
58
|
+
'workflowId': value['workflowId'],
|
|
59
|
+
'taskId': value['taskId'],
|
|
60
|
+
'script': value['script'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -15,24 +15,6 @@ import type { WorkflowProcessLogType } from './WorkflowProcessLogType';
|
|
|
15
15
|
* @interface WorkflowProcessLogDto
|
|
16
16
|
*/
|
|
17
17
|
export interface WorkflowProcessLogDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof WorkflowProcessLogDto
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof WorkflowProcessLogDto
|
|
28
|
-
*/
|
|
29
|
-
version: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof WorkflowProcessLogDto
|
|
34
|
-
*/
|
|
35
|
-
workflowProcessId: string;
|
|
36
18
|
/**
|
|
37
19
|
*
|
|
38
20
|
* @type {WorkflowProcessLogType}
|
|
@@ -45,12 +27,6 @@ export interface WorkflowProcessLogDto {
|
|
|
45
27
|
* @memberof WorkflowProcessLogDto
|
|
46
28
|
*/
|
|
47
29
|
message: string;
|
|
48
|
-
/**
|
|
49
|
-
* Name/Id of the activity that generated the log entry
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof WorkflowProcessLogDto
|
|
52
|
-
*/
|
|
53
|
-
task?: string;
|
|
54
30
|
/**
|
|
55
31
|
*
|
|
56
32
|
* @type {Date}
|
|
@@ -22,12 +22,6 @@ var WorkflowProcessLogType_1 = require("./WorkflowProcessLogType");
|
|
|
22
22
|
* Check if a given object implements the WorkflowProcessLogDto interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfWorkflowProcessLogDto(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('workflowProcessId' in value) || value['workflowProcessId'] === undefined)
|
|
30
|
-
return false;
|
|
31
25
|
if (!('type' in value) || value['type'] === undefined)
|
|
32
26
|
return false;
|
|
33
27
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -42,12 +36,8 @@ function WorkflowProcessLogDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
36
|
return json;
|
|
43
37
|
}
|
|
44
38
|
return {
|
|
45
|
-
'id': json['id'],
|
|
46
|
-
'version': json['version'],
|
|
47
|
-
'workflowProcessId': json['workflowProcessId'],
|
|
48
39
|
'type': (0, WorkflowProcessLogType_1.WorkflowProcessLogTypeFromJSON)(json['type']),
|
|
49
40
|
'message': json['message'],
|
|
50
|
-
'task': json['task'] == null ? undefined : json['task'],
|
|
51
41
|
'creationTime': json['creationTime'] == null ? undefined : (new Date(json['creationTime'])),
|
|
52
42
|
};
|
|
53
43
|
}
|
|
@@ -60,12 +50,8 @@ function WorkflowProcessLogDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
50
|
return value;
|
|
61
51
|
}
|
|
62
52
|
return {
|
|
63
|
-
'id': value['id'],
|
|
64
|
-
'version': value['version'],
|
|
65
|
-
'workflowProcessId': value['workflowProcessId'],
|
|
66
53
|
'type': (0, WorkflowProcessLogType_1.WorkflowProcessLogTypeToJSON)(value['type']),
|
|
67
54
|
'message': value['message'],
|
|
68
|
-
'task': value['task'],
|
|
69
55
|
'creationTime': value['creationTime'] == null ? value['creationTime'] : value['creationTime'].toISOString(),
|
|
70
56
|
};
|
|
71
57
|
}
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
|
+
* RUNNING: process is currently running
|
|
13
|
+
* PAUSED: process has been paused by the user
|
|
14
|
+
* FAILED: process has terminated with an error
|
|
15
|
+
* ABORTED: process has been aborted by the user
|
|
16
|
+
* CANCELED: process was canceled by a backend system
|
|
17
|
+
* COMPLETED: process has finished successfully
|
|
12
18
|
*
|
|
13
19
|
* @export
|
|
14
20
|
*/
|
|
@@ -19,6 +19,12 @@ exports.WorkflowProcessStatusFromJSONTyped = WorkflowProcessStatusFromJSONTyped;
|
|
|
19
19
|
exports.WorkflowProcessStatusToJSON = WorkflowProcessStatusToJSON;
|
|
20
20
|
exports.WorkflowProcessStatusToJSONTyped = WorkflowProcessStatusToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
+
* RUNNING: process is currently running
|
|
23
|
+
* PAUSED: process has been paused by the user
|
|
24
|
+
* FAILED: process has terminated with an error
|
|
25
|
+
* ABORTED: process has been aborted by the user
|
|
26
|
+
* CANCELED: process was canceled by a backend system
|
|
27
|
+
* COMPLETED: process has finished successfully
|
|
22
28
|
*
|
|
23
29
|
* @export
|
|
24
30
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -160,7 +160,8 @@ export * from './GetAllUnits200Response';
|
|
|
160
160
|
export * from './GetAllUsers200Response';
|
|
161
161
|
export * from './GetAllWikis200Response';
|
|
162
162
|
export * from './GetAllWorkHours200Response';
|
|
163
|
-
export * from './
|
|
163
|
+
export * from './GetAllWorkflowExecutions200Response';
|
|
164
|
+
export * from './GetAllWorkflowExternalTasks200Response';
|
|
164
165
|
export * from './GetAllWorkflowProcesses200Response';
|
|
165
166
|
export * from './GetAllWorkflows200Response';
|
|
166
167
|
export * from './GetAllWritings200Response';
|
|
@@ -173,6 +174,7 @@ export * from './IdentifierDto';
|
|
|
173
174
|
export * from './IdentifierType';
|
|
174
175
|
export * from './ImportTransactions200Response';
|
|
175
176
|
export * from './InstituteDto';
|
|
177
|
+
export * from './InternalWorkflowExternalTask';
|
|
176
178
|
export * from './InternalWorkflowProcess';
|
|
177
179
|
export * from './InternalWorkflowProcessLogDto';
|
|
178
180
|
export * from './InternalWorkflowProcessStopRequestDto';
|
|
@@ -270,6 +272,9 @@ export * from './WikiDto';
|
|
|
270
272
|
export * from './WikiPageDto';
|
|
271
273
|
export * from './WorkHoursDto';
|
|
272
274
|
export * from './WorkflowDto';
|
|
275
|
+
export * from './WorkflowExecutionDto';
|
|
276
|
+
export * from './WorkflowExecutionStatus';
|
|
277
|
+
export * from './WorkflowExternalTaskDto';
|
|
273
278
|
export * from './WorkflowProcessDto';
|
|
274
279
|
export * from './WorkflowProcessLogDto';
|
|
275
280
|
export * from './WorkflowProcessLogType';
|
package/dist/models/index.js
CHANGED
|
@@ -178,7 +178,8 @@ __exportStar(require("./GetAllUnits200Response"), exports);
|
|
|
178
178
|
__exportStar(require("./GetAllUsers200Response"), exports);
|
|
179
179
|
__exportStar(require("./GetAllWikis200Response"), exports);
|
|
180
180
|
__exportStar(require("./GetAllWorkHours200Response"), exports);
|
|
181
|
-
__exportStar(require("./
|
|
181
|
+
__exportStar(require("./GetAllWorkflowExecutions200Response"), exports);
|
|
182
|
+
__exportStar(require("./GetAllWorkflowExternalTasks200Response"), exports);
|
|
182
183
|
__exportStar(require("./GetAllWorkflowProcesses200Response"), exports);
|
|
183
184
|
__exportStar(require("./GetAllWorkflows200Response"), exports);
|
|
184
185
|
__exportStar(require("./GetAllWritings200Response"), exports);
|
|
@@ -191,6 +192,7 @@ __exportStar(require("./IdentifierDto"), exports);
|
|
|
191
192
|
__exportStar(require("./IdentifierType"), exports);
|
|
192
193
|
__exportStar(require("./ImportTransactions200Response"), exports);
|
|
193
194
|
__exportStar(require("./InstituteDto"), exports);
|
|
195
|
+
__exportStar(require("./InternalWorkflowExternalTask"), exports);
|
|
194
196
|
__exportStar(require("./InternalWorkflowProcess"), exports);
|
|
195
197
|
__exportStar(require("./InternalWorkflowProcessLogDto"), exports);
|
|
196
198
|
__exportStar(require("./InternalWorkflowProcessStopRequestDto"), exports);
|
|
@@ -288,6 +290,9 @@ __exportStar(require("./WikiDto"), exports);
|
|
|
288
290
|
__exportStar(require("./WikiPageDto"), exports);
|
|
289
291
|
__exportStar(require("./WorkHoursDto"), exports);
|
|
290
292
|
__exportStar(require("./WorkflowDto"), exports);
|
|
293
|
+
__exportStar(require("./WorkflowExecutionDto"), exports);
|
|
294
|
+
__exportStar(require("./WorkflowExecutionStatus"), exports);
|
|
295
|
+
__exportStar(require("./WorkflowExternalTaskDto"), exports);
|
|
291
296
|
__exportStar(require("./WorkflowProcessDto"), exports);
|
|
292
297
|
__exportStar(require("./WorkflowProcessLogDto"), exports);
|
|
293
298
|
__exportStar(require("./WorkflowProcessLogType"), exports);
|