@emilgroup/action-sdk-node 1.0.1-beta.22 → 1.0.1-beta.23
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 +8 -0
- package/README.md +2 -2
- package/api/actions-api.ts +681 -0
- package/api.ts +2 -0
- package/dist/api/actions-api.d.ts +384 -0
- package/dist/api/actions-api.js +640 -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/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-response-class.d.ts +25 -0
- package/dist/models/get-action-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -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/models/action-class.ts +90 -0
- package/models/create-action-request-dto.ts +54 -0
- package/models/create-action-response-class.ts +31 -0
- package/models/get-action-response-class.ts +31 -0
- package/models/index.ts +7 -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/package.json +1 -1
|
@@ -0,0 +1,84 @@
|
|
|
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 ActionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ActionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ActionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ActionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Human readable action name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ActionClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* Stable identifier; unique per tenant
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ActionClass
|
|
40
|
+
*/
|
|
41
|
+
'slug': string;
|
|
42
|
+
/**
|
|
43
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ActionClass
|
|
46
|
+
*/
|
|
47
|
+
'workflowCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the action is enabled and can be triggered
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ActionClass
|
|
52
|
+
*/
|
|
53
|
+
'isEnabled': boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Detailed description of what this action does
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ActionClass
|
|
58
|
+
*/
|
|
59
|
+
'description'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ActionClass
|
|
64
|
+
*/
|
|
65
|
+
'createdAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ActionClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who created the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ActionClass
|
|
76
|
+
*/
|
|
77
|
+
'createdBy': string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of the user who last updated the record.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ActionClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedBy': string;
|
|
84
|
+
}
|
|
@@ -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,48 @@
|
|
|
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 CreateActionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateActionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Human readable action name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateActionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* Stable identifier; auto-generated from action_name if not provided
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateActionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'slug'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateActionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'workflowCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the action is enabled and can be triggered
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CreateActionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'isEnabled'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Detailed description of what this action does
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateActionRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'description'?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ActionClass } from './action-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateActionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateActionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created action configuration
|
|
21
|
+
* @type {ActionClass}
|
|
22
|
+
* @memberof CreateActionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'action': ActionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ActionClass } from './action-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetActionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetActionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The requested action configuration
|
|
21
|
+
* @type {ActionClass}
|
|
22
|
+
* @memberof GetActionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'action': ActionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
export * from './action-class';
|
|
2
|
+
export * from './create-action-request-dto';
|
|
3
|
+
export * from './create-action-response-class';
|
|
4
|
+
export * from './get-action-response-class';
|
|
1
5
|
export * from './inline-response200';
|
|
2
6
|
export * from './inline-response503';
|
|
7
|
+
export * from './list-actions-response-class';
|
|
8
|
+
export * from './update-action-request-dto';
|
|
9
|
+
export * from './update-action-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,5 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./action-class"), exports);
|
|
18
|
+
__exportStar(require("./create-action-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./create-action-response-class"), exports);
|
|
20
|
+
__exportStar(require("./get-action-response-class"), exports);
|
|
17
21
|
__exportStar(require("./inline-response200"), exports);
|
|
18
22
|
__exportStar(require("./inline-response503"), exports);
|
|
23
|
+
__exportStar(require("./list-actions-response-class"), exports);
|
|
24
|
+
__exportStar(require("./update-action-request-dto"), exports);
|
|
25
|
+
__exportStar(require("./update-action-response-class"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ActionClass } from './action-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListActionsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListActionsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of action configurations
|
|
21
|
+
* @type {Array<ActionClass>}
|
|
22
|
+
* @memberof ListActionsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ActionClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Token for retrieving the next page
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListActionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of items per page
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListActionsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total number of items across all pages
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListActionsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,54 @@
|
|
|
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 UpdateActionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateActionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Action code: unique identifier of the action
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateActionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Human readable action name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateActionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'name'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Stable identifier; unique per tenant
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateActionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'slug'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateActionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'workflowCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the action is enabled and can be triggered
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof UpdateActionRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'isEnabled'?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Detailed description of what this action does
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateActionRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'description'?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ActionService
|
|
3
|
+
* The EMIL ActionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ActionClass } from './action-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateActionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateActionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The updated action configuration
|
|
21
|
+
* @type {ActionClass}
|
|
22
|
+
* @memberof UpdateActionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'action': ActionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ActionService
|
|
6
|
+
* The EMIL ActionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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,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 { 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,9 @@
|
|
|
1
|
+
export * from './action-class';
|
|
2
|
+
export * from './create-action-request-dto';
|
|
3
|
+
export * from './create-action-response-class';
|
|
4
|
+
export * from './get-action-response-class';
|
|
1
5
|
export * from './inline-response200';
|
|
2
6
|
export * from './inline-response503';
|
|
7
|
+
export * from './list-actions-response-class';
|
|
8
|
+
export * from './update-action-request-dto';
|
|
9
|
+
export * from './update-action-response-class';
|