@emilgroup/action-sdk 1.0.1-beta.22 → 1.1.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -0
- package/README.md +2 -2
- package/api/actions-api.ts +983 -0
- package/api.ts +2 -0
- package/dist/api/actions-api.d.ts +559 -0
- package/dist/api/actions-api.js +864 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/action-class.d.ts +84 -0
- package/dist/models/action-class.js +15 -0
- package/dist/models/action-execution-class.d.ts +107 -0
- package/dist/models/action-execution-class.js +15 -0
- package/dist/models/create-action-request-dto.d.ts +48 -0
- package/dist/models/create-action-request-dto.js +15 -0
- package/dist/models/create-action-response-class.d.ts +25 -0
- package/dist/models/create-action-response-class.js +15 -0
- package/dist/models/get-action-execution-status-response-class.d.ts +25 -0
- package/dist/models/get-action-execution-status-response-class.js +15 -0
- package/dist/models/get-action-response-class.d.ts +25 -0
- package/dist/models/get-action-response-class.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/list-action-executions-response-class.d.ts +43 -0
- package/dist/models/list-action-executions-response-class.js +15 -0
- package/dist/models/list-actions-response-class.d.ts +43 -0
- package/dist/models/list-actions-response-class.js +15 -0
- package/dist/models/update-action-request-dto.d.ts +54 -0
- package/dist/models/update-action-request-dto.js +15 -0
- package/dist/models/update-action-response-class.d.ts +25 -0
- package/dist/models/update-action-response-class.js +15 -0
- package/dist/models/workflow-output-reference-class.d.ts +30 -0
- package/dist/models/workflow-output-reference-class.js +15 -0
- package/models/action-class.ts +90 -0
- package/models/action-execution-class.ts +109 -0
- package/models/create-action-request-dto.ts +54 -0
- package/models/create-action-response-class.ts +31 -0
- package/models/get-action-execution-status-response-class.ts +31 -0
- package/models/get-action-response-class.ts +31 -0
- package/models/index.ts +11 -0
- package/models/list-action-executions-response-class.ts +49 -0
- package/models/list-actions-response-class.ts +49 -0
- package/models/update-action-request-dto.ts +60 -0
- package/models/update-action-response-class.ts +31 -0
- package/models/workflow-output-reference-class.ts +36 -0
- package/package.json +2 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WorkflowOutputReferenceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkflowOutputReferenceClass {
|
|
18
|
+
/**
|
|
19
|
+
* ProcessManager workflow instance key/code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WorkflowOutputReferenceClass
|
|
22
|
+
*/
|
|
23
|
+
'workflowInstanceKey': string;
|
|
24
|
+
/**
|
|
25
|
+
* Workflow task key that contains the output
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WorkflowOutputReferenceClass
|
|
28
|
+
*/
|
|
29
|
+
'workflowTaskKey': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ActionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ActionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ActionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ActionClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Human readable action name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ActionClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Stable identifier; unique per tenant
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ActionClass
|
|
45
|
+
*/
|
|
46
|
+
'slug': string;
|
|
47
|
+
/**
|
|
48
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ActionClass
|
|
51
|
+
*/
|
|
52
|
+
'workflowCode'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the action is enabled and can be triggered
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof ActionClass
|
|
57
|
+
*/
|
|
58
|
+
'isEnabled': boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Detailed description of what this action does
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ActionClass
|
|
63
|
+
*/
|
|
64
|
+
'description'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was created.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ActionClass
|
|
69
|
+
*/
|
|
70
|
+
'createdAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was updated.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ActionClass
|
|
75
|
+
*/
|
|
76
|
+
'updatedAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who created the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ActionClass
|
|
81
|
+
*/
|
|
82
|
+
'createdBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who last updated the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ActionClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedBy': string;
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { WorkflowOutputReferenceClass } from './workflow-output-reference-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ActionExecutionClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ActionExecutionClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ActionExecutionClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ActionExecutionClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Action configuration code (action_configs.code)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ActionExecutionClass
|
|
40
|
+
*/
|
|
41
|
+
'actionCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Execution status
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ActionExecutionClass
|
|
46
|
+
*/
|
|
47
|
+
'status': string;
|
|
48
|
+
/**
|
|
49
|
+
* Who triggered the execution
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ActionExecutionClass
|
|
52
|
+
*/
|
|
53
|
+
'triggeredBy': string;
|
|
54
|
+
/**
|
|
55
|
+
* How the execution was triggered
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ActionExecutionClass
|
|
58
|
+
*/
|
|
59
|
+
'triggerSource': string;
|
|
60
|
+
/**
|
|
61
|
+
* Error message when execution fails
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ActionExecutionClass
|
|
64
|
+
*/
|
|
65
|
+
'error'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Structured error details when execution fails
|
|
68
|
+
* @type {{ [key: string]: object; }}
|
|
69
|
+
* @memberof ActionExecutionClass
|
|
70
|
+
*/
|
|
71
|
+
'errorDetails'?: { [key: string]: object; };
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ActionExecutionClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was updated.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ActionExecutionClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* When the execution completed (succeeded or failed)
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ActionExecutionClass
|
|
88
|
+
*/
|
|
89
|
+
'completedAt'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Correlation ID (e.g. webhook execution code that triggered this action execution)
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ActionExecutionClass
|
|
94
|
+
*/
|
|
95
|
+
'correlationId': string;
|
|
96
|
+
/**
|
|
97
|
+
* Input payload for the execution
|
|
98
|
+
* @type {{ [key: string]: object; }}
|
|
99
|
+
* @memberof ActionExecutionClass
|
|
100
|
+
*/
|
|
101
|
+
'inputPayload'?: { [key: string]: object; };
|
|
102
|
+
/**
|
|
103
|
+
* Reference to ProcessManager workflow output (avoids duplicating workflow outputs)
|
|
104
|
+
* @type {WorkflowOutputReferenceClass}
|
|
105
|
+
* @memberof ActionExecutionClass
|
|
106
|
+
*/
|
|
107
|
+
'workflowOutputReference'?: WorkflowOutputReferenceClass;
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateActionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateActionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Human readable action name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateActionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Stable identifier; auto-generated from action_name if not provided
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateActionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'slug'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateActionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'workflowCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the action is enabled and can be triggered
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof CreateActionRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'isEnabled'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Detailed description of what this action does
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateActionRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'description'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionClass } from './action-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateActionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateActionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created action configuration
|
|
26
|
+
* @type {ActionClass}
|
|
27
|
+
* @memberof CreateActionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'action': ActionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionExecutionClass } from './action-execution-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActionExecutionStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActionExecutionStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Latest action execution status
|
|
26
|
+
* @type {ActionExecutionClass}
|
|
27
|
+
* @memberof GetActionExecutionStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'actionExecution'?: ActionExecutionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionClass } from './action-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The requested action configuration
|
|
26
|
+
* @type {ActionClass}
|
|
27
|
+
* @memberof GetActionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'action': ActionClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
export * from './action-class';
|
|
2
|
+
export * from './action-execution-class';
|
|
3
|
+
export * from './create-action-request-dto';
|
|
4
|
+
export * from './create-action-response-class';
|
|
5
|
+
export * from './get-action-execution-status-response-class';
|
|
6
|
+
export * from './get-action-response-class';
|
|
1
7
|
export * from './inline-response200';
|
|
2
8
|
export * from './inline-response503';
|
|
9
|
+
export * from './list-action-executions-response-class';
|
|
10
|
+
export * from './list-actions-response-class';
|
|
11
|
+
export * from './update-action-request-dto';
|
|
12
|
+
export * from './update-action-response-class';
|
|
13
|
+
export * from './workflow-output-reference-class';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionExecutionClass } from './action-execution-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListActionExecutionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListActionExecutionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of action executions
|
|
26
|
+
* @type {Array<ActionExecutionClass>}
|
|
27
|
+
* @memberof ListActionExecutionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ActionExecutionClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for the next page
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListActionExecutionsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListActionExecutionsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListActionExecutionsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionClass } from './action-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListActionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListActionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of action configurations
|
|
26
|
+
* @type {Array<ActionClass>}
|
|
27
|
+
* @memberof ListActionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ActionClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for retrieving the next page
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListActionsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListActionsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items across all pages
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListActionsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateActionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateActionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Action code: unique identifier of the action
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateActionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Human readable action name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateActionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Stable identifier; unique per tenant
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateActionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'slug'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateActionRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'workflowCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the action is enabled and can be triggered
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof UpdateActionRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'isEnabled'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Detailed description of what this action does
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdateActionRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'description'?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { ActionClass } from './action-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateActionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateActionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated action configuration
|
|
26
|
+
* @type {ActionClass}
|
|
27
|
+
* @memberof UpdateActionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'action': ActionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WorkflowOutputReferenceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface WorkflowOutputReferenceClass {
|
|
23
|
+
/**
|
|
24
|
+
* ProcessManager workflow instance key/code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WorkflowOutputReferenceClass
|
|
27
|
+
*/
|
|
28
|
+
'workflowInstanceKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* Workflow task key that contains the output
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WorkflowOutputReferenceClass
|
|
33
|
+
*/
|
|
34
|
+
'workflowTaskKey': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/action-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1-beta.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/action-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
|
|
24
25
|
"typescript": "^4.0"
|
|
25
26
|
}
|
|
26
27
|
}
|