@kommerz/ts-client 1.167.15 → 1.169.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/FormsPortalApi.d.ts +40 -0
- package/dist/apis/FormsPortalApi.js +174 -0
- package/dist/apis/KanbanBoardsApi.d.ts +2 -2
- 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 +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/models/EntityType.d.ts +2 -1
- package/dist/models/EntityType.js +2 -1
- package/dist/models/FormsPortalReceiverInfo.d.ts +43 -0
- package/dist/models/FormsPortalReceiverInfo.js +54 -0
- package/dist/models/FormsPortalSpecDto.d.ts +50 -0
- package/dist/models/FormsPortalSpecDto.js +57 -0
- package/dist/models/FormsPortalSubmitDto.d.ts +31 -0
- package/dist/models/FormsPortalSubmitDto.js +50 -0
- 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/KanbanBoardDto.d.ts +13 -1
- package/dist/models/KanbanBoardDto.js +3 -0
- 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 +9 -1
- package/dist/models/index.js +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import type { WorkflowExecutionStatus } from './WorkflowExecutionStatus';
|
|
12
|
+
import type { WorkflowProcessLogDto } from './WorkflowProcessLogDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WorkflowExecutionDto
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkflowExecutionDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WorkflowExecutionDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof WorkflowExecutionDto
|
|
29
|
+
*/
|
|
30
|
+
version: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WorkflowExecutionDto
|
|
35
|
+
*/
|
|
36
|
+
workflowProcessId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof WorkflowExecutionDto
|
|
41
|
+
*/
|
|
42
|
+
externalTaskId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof WorkflowExecutionDto
|
|
47
|
+
*/
|
|
48
|
+
workflowId: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WorkflowExecutionDto
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {WorkflowExecutionStatus}
|
|
58
|
+
* @memberof WorkflowExecutionDto
|
|
59
|
+
*/
|
|
60
|
+
status: WorkflowExecutionStatus;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof WorkflowExecutionDto
|
|
65
|
+
*/
|
|
66
|
+
completedTime?: Date;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<WorkflowProcessLogDto>}
|
|
70
|
+
* @memberof WorkflowExecutionDto
|
|
71
|
+
*/
|
|
72
|
+
logs?: Array<WorkflowProcessLogDto>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the WorkflowExecutionDto interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfWorkflowExecutionDto(value: object): value is WorkflowExecutionDto;
|
|
78
|
+
export declare function WorkflowExecutionDtoFromJSON(json: any): WorkflowExecutionDto;
|
|
79
|
+
export declare function WorkflowExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowExecutionDto;
|
|
80
|
+
export declare function WorkflowExecutionDtoToJSON(json: any): WorkflowExecutionDto;
|
|
81
|
+
export declare function WorkflowExecutionDtoToJSONTyped(value?: WorkflowExecutionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
@@ -101,6 +101,9 @@ export * from './FileUploadDto';
|
|
|
101
101
|
export * from './FileUploadManifestDto';
|
|
102
102
|
export * from './FileUploadPartDto';
|
|
103
103
|
export * from './FilterableEndpointDto';
|
|
104
|
+
export * from './FormsPortalReceiverInfo';
|
|
105
|
+
export * from './FormsPortalSpecDto';
|
|
106
|
+
export * from './FormsPortalSubmitDto';
|
|
104
107
|
export * from './GetAllAbsenceEntries200Response';
|
|
105
108
|
export * from './GetAllAbsenceTypes200Response';
|
|
106
109
|
export * from './GetAllAcceptanceDocuments200Response';
|
|
@@ -160,7 +163,8 @@ export * from './GetAllUnits200Response';
|
|
|
160
163
|
export * from './GetAllUsers200Response';
|
|
161
164
|
export * from './GetAllWikis200Response';
|
|
162
165
|
export * from './GetAllWorkHours200Response';
|
|
163
|
-
export * from './
|
|
166
|
+
export * from './GetAllWorkflowExecutions200Response';
|
|
167
|
+
export * from './GetAllWorkflowExternalTasks200Response';
|
|
164
168
|
export * from './GetAllWorkflowProcesses200Response';
|
|
165
169
|
export * from './GetAllWorkflows200Response';
|
|
166
170
|
export * from './GetAllWritings200Response';
|
|
@@ -173,6 +177,7 @@ export * from './IdentifierDto';
|
|
|
173
177
|
export * from './IdentifierType';
|
|
174
178
|
export * from './ImportTransactions200Response';
|
|
175
179
|
export * from './InstituteDto';
|
|
180
|
+
export * from './InternalWorkflowExternalTask';
|
|
176
181
|
export * from './InternalWorkflowProcess';
|
|
177
182
|
export * from './InternalWorkflowProcessLogDto';
|
|
178
183
|
export * from './InternalWorkflowProcessStopRequestDto';
|
|
@@ -270,6 +275,9 @@ export * from './WikiDto';
|
|
|
270
275
|
export * from './WikiPageDto';
|
|
271
276
|
export * from './WorkHoursDto';
|
|
272
277
|
export * from './WorkflowDto';
|
|
278
|
+
export * from './WorkflowExecutionDto';
|
|
279
|
+
export * from './WorkflowExecutionStatus';
|
|
280
|
+
export * from './WorkflowExternalTaskDto';
|
|
273
281
|
export * from './WorkflowProcessDto';
|
|
274
282
|
export * from './WorkflowProcessLogDto';
|
|
275
283
|
export * from './WorkflowProcessLogType';
|
package/dist/models/index.js
CHANGED
|
@@ -119,6 +119,9 @@ __exportStar(require("./FileUploadDto"), exports);
|
|
|
119
119
|
__exportStar(require("./FileUploadManifestDto"), exports);
|
|
120
120
|
__exportStar(require("./FileUploadPartDto"), exports);
|
|
121
121
|
__exportStar(require("./FilterableEndpointDto"), exports);
|
|
122
|
+
__exportStar(require("./FormsPortalReceiverInfo"), exports);
|
|
123
|
+
__exportStar(require("./FormsPortalSpecDto"), exports);
|
|
124
|
+
__exportStar(require("./FormsPortalSubmitDto"), exports);
|
|
122
125
|
__exportStar(require("./GetAllAbsenceEntries200Response"), exports);
|
|
123
126
|
__exportStar(require("./GetAllAbsenceTypes200Response"), exports);
|
|
124
127
|
__exportStar(require("./GetAllAcceptanceDocuments200Response"), exports);
|
|
@@ -178,7 +181,8 @@ __exportStar(require("./GetAllUnits200Response"), exports);
|
|
|
178
181
|
__exportStar(require("./GetAllUsers200Response"), exports);
|
|
179
182
|
__exportStar(require("./GetAllWikis200Response"), exports);
|
|
180
183
|
__exportStar(require("./GetAllWorkHours200Response"), exports);
|
|
181
|
-
__exportStar(require("./
|
|
184
|
+
__exportStar(require("./GetAllWorkflowExecutions200Response"), exports);
|
|
185
|
+
__exportStar(require("./GetAllWorkflowExternalTasks200Response"), exports);
|
|
182
186
|
__exportStar(require("./GetAllWorkflowProcesses200Response"), exports);
|
|
183
187
|
__exportStar(require("./GetAllWorkflows200Response"), exports);
|
|
184
188
|
__exportStar(require("./GetAllWritings200Response"), exports);
|
|
@@ -191,6 +195,7 @@ __exportStar(require("./IdentifierDto"), exports);
|
|
|
191
195
|
__exportStar(require("./IdentifierType"), exports);
|
|
192
196
|
__exportStar(require("./ImportTransactions200Response"), exports);
|
|
193
197
|
__exportStar(require("./InstituteDto"), exports);
|
|
198
|
+
__exportStar(require("./InternalWorkflowExternalTask"), exports);
|
|
194
199
|
__exportStar(require("./InternalWorkflowProcess"), exports);
|
|
195
200
|
__exportStar(require("./InternalWorkflowProcessLogDto"), exports);
|
|
196
201
|
__exportStar(require("./InternalWorkflowProcessStopRequestDto"), exports);
|
|
@@ -288,6 +293,9 @@ __exportStar(require("./WikiDto"), exports);
|
|
|
288
293
|
__exportStar(require("./WikiPageDto"), exports);
|
|
289
294
|
__exportStar(require("./WorkHoursDto"), exports);
|
|
290
295
|
__exportStar(require("./WorkflowDto"), exports);
|
|
296
|
+
__exportStar(require("./WorkflowExecutionDto"), exports);
|
|
297
|
+
__exportStar(require("./WorkflowExecutionStatus"), exports);
|
|
298
|
+
__exportStar(require("./WorkflowExternalTaskDto"), exports);
|
|
291
299
|
__exportStar(require("./WorkflowProcessDto"), exports);
|
|
292
300
|
__exportStar(require("./WorkflowProcessLogDto"), exports);
|
|
293
301
|
__exportStar(require("./WorkflowProcessLogType"), exports);
|