@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
|
@@ -9,15 +9,10 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { ColamdaPageable,
|
|
12
|
+
import type { ColamdaPageable, GetAllWorkflowProcesses200Response, WorkflowProcessDto } from '../models/index';
|
|
13
13
|
export interface DeleteWorkflowProcessRequest {
|
|
14
14
|
id: string;
|
|
15
15
|
}
|
|
16
|
-
export interface GetAllWorkflowProcessLogsRequest {
|
|
17
|
-
id: string;
|
|
18
|
-
pageable: ColamdaPageable;
|
|
19
|
-
filter?: Array<string>;
|
|
20
|
-
}
|
|
21
16
|
export interface GetAllWorkflowProcessesRequest {
|
|
22
17
|
pageable: ColamdaPageable;
|
|
23
18
|
filter?: Array<string>;
|
|
@@ -43,14 +38,6 @@ export declare class WorkflowProcessesApi extends runtime.BaseAPI {
|
|
|
43
38
|
* delete a workflow execution
|
|
44
39
|
*/
|
|
45
40
|
deleteWorkflowProcess(requestParameters: DeleteWorkflowProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowProcessDto>;
|
|
46
|
-
/**
|
|
47
|
-
* get all workflow process logs
|
|
48
|
-
*/
|
|
49
|
-
getAllWorkflowProcessLogsRaw(requestParameters: GetAllWorkflowProcessLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllWorkflowProcessLogs200Response>>;
|
|
50
|
-
/**
|
|
51
|
-
* get all workflow process logs
|
|
52
|
-
*/
|
|
53
|
-
getAllWorkflowProcessLogs(requestParameters: GetAllWorkflowProcessLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllWorkflowProcessLogs200Response>;
|
|
54
41
|
/**
|
|
55
42
|
* get all workflow processes
|
|
56
43
|
*/
|
|
@@ -120,61 +120,6 @@ var WorkflowProcessesApi = /** @class */ (function (_super) {
|
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
-
/**
|
|
124
|
-
* get all workflow process logs
|
|
125
|
-
*/
|
|
126
|
-
WorkflowProcessesApi.prototype.getAllWorkflowProcessLogsRaw = function (requestParameters, initOverrides) {
|
|
127
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
129
|
-
return __generator(this, function (_a) {
|
|
130
|
-
switch (_a.label) {
|
|
131
|
-
case 0:
|
|
132
|
-
if (requestParameters['id'] == null) {
|
|
133
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAllWorkflowProcessLogs().');
|
|
134
|
-
}
|
|
135
|
-
if (requestParameters['pageable'] == null) {
|
|
136
|
-
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllWorkflowProcessLogs().');
|
|
137
|
-
}
|
|
138
|
-
queryParameters = {};
|
|
139
|
-
if (requestParameters['pageable'] != null) {
|
|
140
|
-
queryParameters['pageable'] = requestParameters['pageable'];
|
|
141
|
-
}
|
|
142
|
-
if (requestParameters['filter'] != null) {
|
|
143
|
-
queryParameters['filter'] = requestParameters['filter'];
|
|
144
|
-
}
|
|
145
|
-
headerParameters = {};
|
|
146
|
-
urlPath = "/ui/workflow/v1/workflow-processes/{id}/logs";
|
|
147
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
148
|
-
return [4 /*yield*/, this.request({
|
|
149
|
-
path: urlPath,
|
|
150
|
-
method: 'GET',
|
|
151
|
-
headers: headerParameters,
|
|
152
|
-
query: queryParameters,
|
|
153
|
-
}, initOverrides)];
|
|
154
|
-
case 1:
|
|
155
|
-
response = _a.sent();
|
|
156
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllWorkflowProcessLogs200ResponseFromJSON)(jsonValue); })];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
};
|
|
161
|
-
/**
|
|
162
|
-
* get all workflow process logs
|
|
163
|
-
*/
|
|
164
|
-
WorkflowProcessesApi.prototype.getAllWorkflowProcessLogs = function (requestParameters, initOverrides) {
|
|
165
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
166
|
-
var response;
|
|
167
|
-
return __generator(this, function (_a) {
|
|
168
|
-
switch (_a.label) {
|
|
169
|
-
case 0: return [4 /*yield*/, this.getAllWorkflowProcessLogsRaw(requestParameters, initOverrides)];
|
|
170
|
-
case 1:
|
|
171
|
-
response = _a.sent();
|
|
172
|
-
return [4 /*yield*/, response.value()];
|
|
173
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
123
|
/**
|
|
179
124
|
* get all workflow processes
|
|
180
125
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ export * from './ValidationApi';
|
|
|
86
86
|
export * from './WikiApi';
|
|
87
87
|
export * from './WikiPagesApi';
|
|
88
88
|
export * from './WorkHoursApi';
|
|
89
|
+
export * from './WorkflowExecutionsApi';
|
|
90
|
+
export * from './WorkflowExternalTasksApi';
|
|
89
91
|
export * from './WorkflowProcessesApi';
|
|
90
92
|
export * from './WorkflowsApi';
|
|
91
93
|
export * from './WritingsApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -104,6 +104,8 @@ __exportStar(require("./ValidationApi"), exports);
|
|
|
104
104
|
__exportStar(require("./WikiApi"), exports);
|
|
105
105
|
__exportStar(require("./WikiPagesApi"), exports);
|
|
106
106
|
__exportStar(require("./WorkHoursApi"), exports);
|
|
107
|
+
__exportStar(require("./WorkflowExecutionsApi"), exports);
|
|
108
|
+
__exportStar(require("./WorkflowExternalTasksApi"), exports);
|
|
107
109
|
__exportStar(require("./WorkflowProcessesApi"), exports);
|
|
108
110
|
__exportStar(require("./WorkflowsApi"), exports);
|
|
109
111
|
__exportStar(require("./WritingsApi"), exports);
|
|
@@ -73,7 +73,8 @@ export declare const EntityType: {
|
|
|
73
73
|
readonly AcceptanceDocument: "AcceptanceDocument";
|
|
74
74
|
readonly Workflow: "Workflow";
|
|
75
75
|
readonly WorkflowProcess: "WorkflowProcess";
|
|
76
|
-
readonly
|
|
76
|
+
readonly WorkflowExecution: "WorkflowExecution";
|
|
77
|
+
readonly WorkflowExternalTask: "WorkflowExternalTask";
|
|
77
78
|
readonly Tag: "Tag";
|
|
78
79
|
readonly TagRelation: "TagRelation";
|
|
79
80
|
readonly Writing: "Writing";
|
|
@@ -83,7 +83,8 @@ exports.EntityType = {
|
|
|
83
83
|
AcceptanceDocument: 'AcceptanceDocument',
|
|
84
84
|
Workflow: 'Workflow',
|
|
85
85
|
WorkflowProcess: 'WorkflowProcess',
|
|
86
|
-
|
|
86
|
+
WorkflowExecution: 'WorkflowExecution',
|
|
87
|
+
WorkflowExternalTask: 'WorkflowExternalTask',
|
|
87
88
|
Tag: 'Tag',
|
|
88
89
|
TagRelation: 'TagRelation',
|
|
89
90
|
Writing: 'Writing',
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { WorkflowExecutionDto } from './WorkflowExecutionDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllWorkflowExecutions200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllWorkflowExecutions200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllWorkflowExecutions200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllWorkflowExecutions200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllWorkflowExecutions200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<WorkflowExecutionDto>}
|
|
39
|
+
* @memberof GetAllWorkflowExecutions200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<WorkflowExecutionDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllWorkflowExecutions200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllWorkflowExecutions200Response(value: object): value is GetAllWorkflowExecutions200Response;
|
|
47
|
+
export declare function GetAllWorkflowExecutions200ResponseFromJSON(json: any): GetAllWorkflowExecutions200Response;
|
|
48
|
+
export declare function GetAllWorkflowExecutions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllWorkflowExecutions200Response;
|
|
49
|
+
export declare function GetAllWorkflowExecutions200ResponseToJSON(json: any): GetAllWorkflowExecutions200Response;
|
|
50
|
+
export declare function GetAllWorkflowExecutions200ResponseToJSONTyped(value?: GetAllWorkflowExecutions200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfGetAllWorkflowExecutions200Response = instanceOfGetAllWorkflowExecutions200Response;
|
|
16
|
+
exports.GetAllWorkflowExecutions200ResponseFromJSON = GetAllWorkflowExecutions200ResponseFromJSON;
|
|
17
|
+
exports.GetAllWorkflowExecutions200ResponseFromJSONTyped = GetAllWorkflowExecutions200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetAllWorkflowExecutions200ResponseToJSON = GetAllWorkflowExecutions200ResponseToJSON;
|
|
19
|
+
exports.GetAllWorkflowExecutions200ResponseToJSONTyped = GetAllWorkflowExecutions200ResponseToJSONTyped;
|
|
20
|
+
var WorkflowExecutionDto_1 = require("./WorkflowExecutionDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetAllWorkflowExecutions200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetAllWorkflowExecutions200Response(value) {
|
|
25
|
+
if (!('totalElements' in value) || value['totalElements'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetAllWorkflowExecutions200ResponseFromJSON(json) {
|
|
32
|
+
return GetAllWorkflowExecutions200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetAllWorkflowExecutions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
+
'totalElements': json['totalElements'],
|
|
42
|
+
'content': (json['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetAllWorkflowExecutions200ResponseToJSON(json) {
|
|
46
|
+
return GetAllWorkflowExecutions200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllWorkflowExecutions200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'pageNumber': value['pageNumber'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalElements': value['totalElements'],
|
|
57
|
+
'content': (value['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { WorkflowExternalTaskDto } from './WorkflowExternalTaskDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllWorkflowExternalTasks200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllWorkflowExternalTasks200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetAllWorkflowExternalTasks200Response
|
|
22
|
+
*/
|
|
23
|
+
pageNumber?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetAllWorkflowExternalTasks200Response
|
|
28
|
+
*/
|
|
29
|
+
pageSize?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAllWorkflowExternalTasks200Response
|
|
34
|
+
*/
|
|
35
|
+
totalElements: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<WorkflowExternalTaskDto>}
|
|
39
|
+
* @memberof GetAllWorkflowExternalTasks200Response
|
|
40
|
+
*/
|
|
41
|
+
content: Array<WorkflowExternalTaskDto>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetAllWorkflowExternalTasks200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetAllWorkflowExternalTasks200Response(value: object): value is GetAllWorkflowExternalTasks200Response;
|
|
47
|
+
export declare function GetAllWorkflowExternalTasks200ResponseFromJSON(json: any): GetAllWorkflowExternalTasks200Response;
|
|
48
|
+
export declare function GetAllWorkflowExternalTasks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllWorkflowExternalTasks200Response;
|
|
49
|
+
export declare function GetAllWorkflowExternalTasks200ResponseToJSON(json: any): GetAllWorkflowExternalTasks200Response;
|
|
50
|
+
export declare function GetAllWorkflowExternalTasks200ResponseToJSONTyped(value?: GetAllWorkflowExternalTasks200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfGetAllWorkflowExternalTasks200Response = instanceOfGetAllWorkflowExternalTasks200Response;
|
|
16
|
+
exports.GetAllWorkflowExternalTasks200ResponseFromJSON = GetAllWorkflowExternalTasks200ResponseFromJSON;
|
|
17
|
+
exports.GetAllWorkflowExternalTasks200ResponseFromJSONTyped = GetAllWorkflowExternalTasks200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetAllWorkflowExternalTasks200ResponseToJSON = GetAllWorkflowExternalTasks200ResponseToJSON;
|
|
19
|
+
exports.GetAllWorkflowExternalTasks200ResponseToJSONTyped = GetAllWorkflowExternalTasks200ResponseToJSONTyped;
|
|
20
|
+
var WorkflowExternalTaskDto_1 = require("./WorkflowExternalTaskDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetAllWorkflowExternalTasks200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetAllWorkflowExternalTasks200Response(value) {
|
|
25
|
+
if (!('totalElements' in value) || value['totalElements'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetAllWorkflowExternalTasks200ResponseFromJSON(json) {
|
|
32
|
+
return GetAllWorkflowExternalTasks200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetAllWorkflowExternalTasks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
+
'totalElements': json['totalElements'],
|
|
42
|
+
'content': (json['content'].map(WorkflowExternalTaskDto_1.WorkflowExternalTaskDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetAllWorkflowExternalTasks200ResponseToJSON(json) {
|
|
46
|
+
return GetAllWorkflowExternalTasks200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllWorkflowExternalTasks200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'pageNumber': value['pageNumber'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalElements': value['totalElements'],
|
|
57
|
+
'content': (value['content'].map(WorkflowExternalTaskDto_1.WorkflowExternalTaskDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
-
import type {
|
|
11
|
+
import type { WorkflowExecutionDto } from './WorkflowExecutionDto';
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
@@ -35,10 +35,10 @@ export interface GetAllWorkflowProcessLogs200Response {
|
|
|
35
35
|
totalElements: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<WorkflowExecutionDto>}
|
|
39
39
|
* @memberof GetAllWorkflowProcessLogs200Response
|
|
40
40
|
*/
|
|
41
|
-
content: Array<
|
|
41
|
+
content: Array<WorkflowExecutionDto>;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the GetAllWorkflowProcessLogs200Response interface.
|
|
@@ -17,7 +17,7 @@ exports.GetAllWorkflowProcessLogs200ResponseFromJSON = GetAllWorkflowProcessLogs
|
|
|
17
17
|
exports.GetAllWorkflowProcessLogs200ResponseFromJSONTyped = GetAllWorkflowProcessLogs200ResponseFromJSONTyped;
|
|
18
18
|
exports.GetAllWorkflowProcessLogs200ResponseToJSON = GetAllWorkflowProcessLogs200ResponseToJSON;
|
|
19
19
|
exports.GetAllWorkflowProcessLogs200ResponseToJSONTyped = GetAllWorkflowProcessLogs200ResponseToJSONTyped;
|
|
20
|
-
var
|
|
20
|
+
var WorkflowExecutionDto_1 = require("./WorkflowExecutionDto");
|
|
21
21
|
/**
|
|
22
22
|
* Check if a given object implements the GetAllWorkflowProcessLogs200Response interface.
|
|
23
23
|
*/
|
|
@@ -39,7 +39,7 @@ function GetAllWorkflowProcessLogs200ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
39
39
|
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
40
|
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
41
|
'totalElements': json['totalElements'],
|
|
42
|
-
'content': (json['content'].map(
|
|
42
|
+
'content': (json['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoFromJSON)),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
function GetAllWorkflowProcessLogs200ResponseToJSON(json) {
|
|
@@ -54,6 +54,6 @@ function GetAllWorkflowProcessLogs200ResponseToJSONTyped(value, ignoreDiscrimina
|
|
|
54
54
|
'pageNumber': value['pageNumber'],
|
|
55
55
|
'pageSize': value['pageSize'],
|
|
56
56
|
'totalElements': value['totalElements'],
|
|
57
|
-
'content': (value['content'].map(
|
|
57
|
+
'content': (value['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoToJSON)),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 InternalWorkflowExternalTask
|
|
15
|
+
*/
|
|
16
|
+
export interface InternalWorkflowExternalTask {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof InternalWorkflowExternalTask
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* unique name within workflow used to reference task from workflow process during execution
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InternalWorkflowExternalTask
|
|
27
|
+
*/
|
|
28
|
+
taskId: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InternalWorkflowExternalTask
|
|
33
|
+
*/
|
|
34
|
+
script: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the InternalWorkflowExternalTask interface.
|
|
38
|
+
*/
|
|
39
|
+
export declare function instanceOfInternalWorkflowExternalTask(value: object): value is InternalWorkflowExternalTask;
|
|
40
|
+
export declare function InternalWorkflowExternalTaskFromJSON(json: any): InternalWorkflowExternalTask;
|
|
41
|
+
export declare function InternalWorkflowExternalTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalWorkflowExternalTask;
|
|
42
|
+
export declare function InternalWorkflowExternalTaskToJSON(json: any): InternalWorkflowExternalTask;
|
|
43
|
+
export declare function InternalWorkflowExternalTaskToJSONTyped(value?: InternalWorkflowExternalTask | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfInternalWorkflowExternalTask = instanceOfInternalWorkflowExternalTask;
|
|
16
|
+
exports.InternalWorkflowExternalTaskFromJSON = InternalWorkflowExternalTaskFromJSON;
|
|
17
|
+
exports.InternalWorkflowExternalTaskFromJSONTyped = InternalWorkflowExternalTaskFromJSONTyped;
|
|
18
|
+
exports.InternalWorkflowExternalTaskToJSON = InternalWorkflowExternalTaskToJSON;
|
|
19
|
+
exports.InternalWorkflowExternalTaskToJSONTyped = InternalWorkflowExternalTaskToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the InternalWorkflowExternalTask interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfInternalWorkflowExternalTask(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === 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 InternalWorkflowExternalTaskFromJSON(json) {
|
|
33
|
+
return InternalWorkflowExternalTaskFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function InternalWorkflowExternalTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'taskId': json['taskId'],
|
|
42
|
+
'script': json['script'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function InternalWorkflowExternalTaskToJSON(json) {
|
|
46
|
+
return InternalWorkflowExternalTaskToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function InternalWorkflowExternalTaskToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'taskId': value['taskId'],
|
|
56
|
+
'script': value['script'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -19,19 +19,25 @@ export interface InternalWorkflowProcessLogDto {
|
|
|
19
19
|
* @type {string}
|
|
20
20
|
* @memberof InternalWorkflowProcessLogDto
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
executionId: string;
|
|
23
|
+
/**
|
|
24
|
+
* reference to external task; might be null if script task was executed
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InternalWorkflowProcessLogDto
|
|
27
|
+
*/
|
|
28
|
+
taskId?: string;
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
25
31
|
* @type {string}
|
|
26
32
|
* @memberof InternalWorkflowProcessLogDto
|
|
27
33
|
*/
|
|
28
|
-
|
|
34
|
+
type: InternalWorkflowProcessLogDtoTypeEnum;
|
|
29
35
|
/**
|
|
30
|
-
*
|
|
36
|
+
*
|
|
31
37
|
* @type {string}
|
|
32
38
|
* @memberof InternalWorkflowProcessLogDto
|
|
33
39
|
*/
|
|
34
|
-
|
|
40
|
+
message: string;
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* @export
|
|
@@ -31,6 +31,8 @@ exports.InternalWorkflowProcessLogDtoTypeEnum = {
|
|
|
31
31
|
* Check if a given object implements the InternalWorkflowProcessLogDto interface.
|
|
32
32
|
*/
|
|
33
33
|
function instanceOfInternalWorkflowProcessLogDto(value) {
|
|
34
|
+
if (!('executionId' in value) || value['executionId'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('type' in value) || value['type'] === undefined)
|
|
35
37
|
return false;
|
|
36
38
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -45,9 +47,10 @@ function InternalWorkflowProcessLogDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
return json;
|
|
46
48
|
}
|
|
47
49
|
return {
|
|
50
|
+
'executionId': json['executionId'],
|
|
51
|
+
'taskId': json['taskId'] == null ? undefined : json['taskId'],
|
|
48
52
|
'type': json['type'],
|
|
49
53
|
'message': json['message'],
|
|
50
|
-
'task': json['task'] == null ? undefined : json['task'],
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
function InternalWorkflowProcessLogDtoToJSON(json) {
|
|
@@ -59,8 +62,9 @@ function InternalWorkflowProcessLogDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
62
|
return value;
|
|
60
63
|
}
|
|
61
64
|
return {
|
|
65
|
+
'executionId': value['executionId'],
|
|
66
|
+
'taskId': value['taskId'],
|
|
62
67
|
'type': value['type'],
|
|
63
68
|
'message': value['message'],
|
|
64
|
-
'task': value['task'],
|
|
65
69
|
};
|
|
66
70
|
}
|
|
@@ -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;
|