@emilgroup/action-sdk 1.1.1-beta.27 → 1.1.1-beta.7
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 +0 -6
- package/README.md +2 -2
- package/api/actions-api.ts +397 -219
- package/api/executions-api.ts +12 -119
- package/dist/api/actions-api.d.ts +270 -178
- package/dist/api/actions-api.js +328 -153
- package/dist/api/executions-api.d.ts +12 -69
- package/dist/api/executions-api.js +9 -102
- package/dist/models/action-class.d.ts +20 -9
- package/dist/models/action-execution-class.d.ts +0 -36
- package/dist/models/create-action-request-dto.d.ts +5 -47
- package/dist/models/create-action-request-dto.js +0 -6
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/update-action-request-dto.d.ts +5 -41
- package/dist/models/update-action-request-dto.js +0 -6
- package/models/action-class.ts +20 -9
- package/models/action-execution-class.ts +0 -36
- package/models/create-action-request-dto.ts +5 -50
- package/models/index.ts +0 -6
- package/models/update-action-request-dto.ts +5 -44
- package/package.json +1 -1
- package/dist/models/action-ref-class.d.ts +0 -36
- package/dist/models/action-ref-class.js +0 -15
- package/dist/models/action-version-class.d.ts +0 -127
- package/dist/models/action-version-class.js +0 -21
- package/dist/models/get-action-version-response-class.d.ts +0 -25
- package/dist/models/get-action-version-response-class.js +0 -15
- package/dist/models/list-action-versions-response-class.d.ts +0 -43
- package/dist/models/list-action-versions-response-class.js +0 -15
- package/dist/models/trigger-action-request-dto.d.ts +0 -62
- package/dist/models/trigger-action-request-dto.js +0 -15
- package/dist/models/trigger-action-response-class.d.ts +0 -25
- package/dist/models/trigger-action-response-class.js +0 -15
- package/models/action-ref-class.ts +0 -42
- package/models/action-version-class.ts +0 -136
- package/models/get-action-version-response-class.ts +0 -31
- package/models/list-action-versions-response-class.ts +0 -49
- package/models/trigger-action-request-dto.ts +0 -66
- package/models/trigger-action-response-class.ts +0 -31
|
@@ -28,63 +28,27 @@ export interface UpdateActionRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'name'?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Stable identifier; unique per tenant
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateActionRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'slug'?: string;
|
|
36
36
|
/**
|
|
37
|
-
* BPMN/workflow code
|
|
37
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateActionRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'workflowCode'?: string;
|
|
42
42
|
/**
|
|
43
|
-
* Whether the action is
|
|
43
|
+
* Whether the action is enabled and can be triggered
|
|
44
44
|
* @type {boolean}
|
|
45
45
|
* @memberof UpdateActionRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
48
|
-
/**
|
|
49
|
-
* Whether the action is available in the UI
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof UpdateActionRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'isAvailableInUi'?: boolean;
|
|
47
|
+
'isEnabled'?: boolean;
|
|
54
48
|
/**
|
|
55
49
|
* Detailed description of what this action does
|
|
56
50
|
* @type {string}
|
|
57
51
|
* @memberof UpdateActionRequestDto
|
|
58
52
|
*/
|
|
59
53
|
'description'?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Entity type. When provided, productVersionId is required (and vice versa).
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof UpdateActionRequestDto
|
|
64
|
-
*/
|
|
65
|
-
'entityType'?: UpdateActionRequestDtoEntityTypeEnum;
|
|
66
|
-
/**
|
|
67
|
-
* Product version ID. Required when updating an entity action (entityType set).
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof UpdateActionRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'productVersionId'?: number;
|
|
72
|
-
/**
|
|
73
|
-
* Product slug. Required when updating an entity action. Must match the product that owns productVersionId.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof UpdateActionRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'productSlug'?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Optional JSON Schema to validate input_payload when triggering the action
|
|
80
|
-
* @type {object}
|
|
81
|
-
* @memberof UpdateActionRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'inputValidationSchema'?: object;
|
|
84
54
|
}
|
|
85
|
-
export declare const UpdateActionRequestDtoEntityTypeEnum: {
|
|
86
|
-
readonly Policy: "POLICY";
|
|
87
|
-
readonly Lead: "LEAD";
|
|
88
|
-
readonly Claim: "CLAIM";
|
|
89
|
-
};
|
|
90
|
-
export type UpdateActionRequestDtoEntityTypeEnum = typeof UpdateActionRequestDtoEntityTypeEnum[keyof typeof UpdateActionRequestDtoEntityTypeEnum];
|
|
@@ -13,9 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateActionRequestDtoEntityTypeEnum = void 0;
|
|
17
|
-
exports.UpdateActionRequestDtoEntityTypeEnum = {
|
|
18
|
-
Policy: 'POLICY',
|
|
19
|
-
Lead: 'LEAD',
|
|
20
|
-
Claim: 'CLAIM'
|
|
21
|
-
};
|
package/models/action-class.ts
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { ActionVersionClass } from './action-version-class';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -34,17 +33,35 @@ export interface ActionClass {
|
|
|
34
33
|
*/
|
|
35
34
|
'code': string;
|
|
36
35
|
/**
|
|
37
|
-
* Human readable action name
|
|
36
|
+
* Human readable action name
|
|
38
37
|
* @type {string}
|
|
39
38
|
* @memberof ActionClass
|
|
40
39
|
*/
|
|
41
40
|
'name': string;
|
|
42
41
|
/**
|
|
43
|
-
* Stable identifier; unique per tenant
|
|
42
|
+
* Stable identifier; unique per tenant
|
|
44
43
|
* @type {string}
|
|
45
44
|
* @memberof ActionClass
|
|
46
45
|
*/
|
|
47
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;
|
|
48
65
|
/**
|
|
49
66
|
* Time at which the object was created.
|
|
50
67
|
* @type {string}
|
|
@@ -69,11 +86,5 @@ export interface ActionClass {
|
|
|
69
86
|
* @memberof ActionClass
|
|
70
87
|
*/
|
|
71
88
|
'updatedBy': string;
|
|
72
|
-
/**
|
|
73
|
-
* No expand: empty. expand=versions: active version only. All versions: use listActionVersions.
|
|
74
|
-
* @type {Array<ActionVersionClass>}
|
|
75
|
-
* @memberof ActionClass
|
|
76
|
-
*/
|
|
77
|
-
'versions': Array<ActionVersionClass>;
|
|
78
89
|
}
|
|
79
90
|
|
|
@@ -39,12 +39,6 @@ export interface ActionExecutionClass {
|
|
|
39
39
|
* @memberof ActionExecutionClass
|
|
40
40
|
*/
|
|
41
41
|
'actionCode': string;
|
|
42
|
-
/**
|
|
43
|
-
* Action config version (version_number) at trigger time for audit/tracing
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ActionExecutionClass
|
|
46
|
-
*/
|
|
47
|
-
'actionVersion': number;
|
|
48
42
|
/**
|
|
49
43
|
* Execution status
|
|
50
44
|
* @type {string}
|
|
@@ -111,35 +105,5 @@ export interface ActionExecutionClass {
|
|
|
111
105
|
* @memberof ActionExecutionClass
|
|
112
106
|
*/
|
|
113
107
|
'workflowOutputReference'?: WorkflowOutputReferenceClass;
|
|
114
|
-
/**
|
|
115
|
-
* When true, execution was triggered with force (e.g. draft/disabled action)
|
|
116
|
-
* @type {boolean}
|
|
117
|
-
* @memberof ActionExecutionClass
|
|
118
|
-
*/
|
|
119
|
-
'force'?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* For entity actions: code of the entity the action was run on (e.g. policy code, lead code)
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof ActionExecutionClass
|
|
124
|
-
*/
|
|
125
|
-
'entityCode'?: string;
|
|
126
|
-
/**
|
|
127
|
-
* For entity actions: entity type (POLICY, LEAD, CLAIM) for lookup
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof ActionExecutionClass
|
|
130
|
-
*/
|
|
131
|
-
'entityType'?: string;
|
|
132
|
-
/**
|
|
133
|
-
* JWT sub of who triggered the action (set when trigger is from API; null for webhook/system)
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof ActionExecutionClass
|
|
136
|
-
*/
|
|
137
|
-
'triggeredBySub'?: string;
|
|
138
|
-
/**
|
|
139
|
-
* When the action was triggered (set at creation, same for all status rows of this execution)
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof ActionExecutionClass
|
|
142
|
-
*/
|
|
143
|
-
'triggeredAt'?: string;
|
|
144
108
|
}
|
|
145
109
|
|
|
@@ -27,73 +27,28 @@ export interface CreateActionRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'name': string;
|
|
29
29
|
/**
|
|
30
|
-
* Stable identifier; auto-generated from
|
|
30
|
+
* Stable identifier; auto-generated from action_name if not provided
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateActionRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'slug'?: string;
|
|
35
35
|
/**
|
|
36
|
-
* BPMN/workflow
|
|
36
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateActionRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'workflowCode': string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CreateActionRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'workflowCode'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* true = published (triggerable), false = draft. Default true.
|
|
42
|
+
* Whether the action is enabled and can be triggered
|
|
49
43
|
* @type {boolean}
|
|
50
44
|
* @memberof CreateActionRequestDto
|
|
51
45
|
*/
|
|
52
|
-
'
|
|
53
|
-
/**
|
|
54
|
-
* Whether the action is available in the UI
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof CreateActionRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'isAvailableInUi'?: boolean;
|
|
46
|
+
'isEnabled'?: boolean;
|
|
59
47
|
/**
|
|
60
48
|
* Detailed description of what this action does
|
|
61
49
|
* @type {string}
|
|
62
50
|
* @memberof CreateActionRequestDto
|
|
63
51
|
*/
|
|
64
52
|
'description'?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Entity type. When provided, productVersionId is required (and vice versa).
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof CreateActionRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'entityType'?: CreateActionRequestDtoEntityTypeEnum;
|
|
71
|
-
/**
|
|
72
|
-
* Product version ID. Required for entity actions (when entityType is set).
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @memberof CreateActionRequestDto
|
|
75
|
-
*/
|
|
76
|
-
'productVersionId'?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Product slug. Required for entity actions (when entityType is set). Must match the product that owns productVersionId.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof CreateActionRequestDto
|
|
81
|
-
*/
|
|
82
|
-
'productSlug'?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Optional JSON Schema to validate input_payload when triggering the action
|
|
85
|
-
* @type {object}
|
|
86
|
-
* @memberof CreateActionRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'inputValidationSchema'?: object;
|
|
89
53
|
}
|
|
90
54
|
|
|
91
|
-
export const CreateActionRequestDtoEntityTypeEnum = {
|
|
92
|
-
Policy: 'POLICY',
|
|
93
|
-
Lead: 'LEAD',
|
|
94
|
-
Claim: 'CLAIM'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type CreateActionRequestDtoEntityTypeEnum = typeof CreateActionRequestDtoEntityTypeEnum[keyof typeof CreateActionRequestDtoEntityTypeEnum];
|
|
98
|
-
|
|
99
|
-
|
package/models/index.ts
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
export * from './action-class';
|
|
2
2
|
export * from './action-execution-class';
|
|
3
|
-
export * from './action-ref-class';
|
|
4
|
-
export * from './action-version-class';
|
|
5
3
|
export * from './create-action-request-dto';
|
|
6
4
|
export * from './create-action-response-class';
|
|
7
5
|
export * from './get-action-execution-status-response-class';
|
|
8
6
|
export * from './get-action-response-class';
|
|
9
|
-
export * from './get-action-version-response-class';
|
|
10
7
|
export * from './inline-response200';
|
|
11
8
|
export * from './inline-response503';
|
|
12
9
|
export * from './list-action-executions-response-class';
|
|
13
|
-
export * from './list-action-versions-response-class';
|
|
14
10
|
export * from './list-actions-response-class';
|
|
15
|
-
export * from './trigger-action-request-dto';
|
|
16
|
-
export * from './trigger-action-response-class';
|
|
17
11
|
export * from './update-action-request-dto';
|
|
18
12
|
export * from './update-action-response-class';
|
|
19
13
|
export * from './workflow-output-reference-class';
|
|
@@ -33,67 +33,28 @@ export interface UpdateActionRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'name'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Stable identifier; unique per tenant
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateActionRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'slug'?: string;
|
|
41
41
|
/**
|
|
42
|
-
* BPMN/workflow code
|
|
42
|
+
* BPMN/workflow code to execute when this action is triggered
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof UpdateActionRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'workflowCode'?: string;
|
|
47
47
|
/**
|
|
48
|
-
* Whether the action is
|
|
48
|
+
* Whether the action is enabled and can be triggered
|
|
49
49
|
* @type {boolean}
|
|
50
50
|
* @memberof UpdateActionRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
53
|
-
/**
|
|
54
|
-
* Whether the action is available in the UI
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof UpdateActionRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'isAvailableInUi'?: boolean;
|
|
52
|
+
'isEnabled'?: boolean;
|
|
59
53
|
/**
|
|
60
54
|
* Detailed description of what this action does
|
|
61
55
|
* @type {string}
|
|
62
56
|
* @memberof UpdateActionRequestDto
|
|
63
57
|
*/
|
|
64
58
|
'description'?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Entity type. When provided, productVersionId is required (and vice versa).
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof UpdateActionRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'entityType'?: UpdateActionRequestDtoEntityTypeEnum;
|
|
71
|
-
/**
|
|
72
|
-
* Product version ID. Required when updating an entity action (entityType set).
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @memberof UpdateActionRequestDto
|
|
75
|
-
*/
|
|
76
|
-
'productVersionId'?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Product slug. Required when updating an entity action. Must match the product that owns productVersionId.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof UpdateActionRequestDto
|
|
81
|
-
*/
|
|
82
|
-
'productSlug'?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Optional JSON Schema to validate input_payload when triggering the action
|
|
85
|
-
* @type {object}
|
|
86
|
-
* @memberof UpdateActionRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'inputValidationSchema'?: object;
|
|
89
59
|
}
|
|
90
60
|
|
|
91
|
-
export const UpdateActionRequestDtoEntityTypeEnum = {
|
|
92
|
-
Policy: 'POLICY',
|
|
93
|
-
Lead: 'LEAD',
|
|
94
|
-
Claim: 'CLAIM'
|
|
95
|
-
} as const;
|
|
96
|
-
|
|
97
|
-
export type UpdateActionRequestDtoEntityTypeEnum = typeof UpdateActionRequestDtoEntityTypeEnum[keyof typeof UpdateActionRequestDtoEntityTypeEnum];
|
|
98
|
-
|
|
99
|
-
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
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 ActionRefClass
|
|
16
|
-
*/
|
|
17
|
-
export interface ActionRefClass {
|
|
18
|
-
/**
|
|
19
|
-
* Action code
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ActionRefClass
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
|
-
/**
|
|
25
|
-
* Action name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ActionRefClass
|
|
28
|
-
*/
|
|
29
|
-
'name': string;
|
|
30
|
-
/**
|
|
31
|
-
* Action slug
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ActionRefClass
|
|
34
|
-
*/
|
|
35
|
-
'slug': string;
|
|
36
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,127 +0,0 @@
|
|
|
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 { ActionRefClass } from './action-ref-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ActionVersionClass
|
|
17
|
-
*/
|
|
18
|
-
export interface ActionVersionClass {
|
|
19
|
-
/**
|
|
20
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ActionVersionClass
|
|
23
|
-
*/
|
|
24
|
-
'id': number;
|
|
25
|
-
/**
|
|
26
|
-
* Whether this version is the active/published one (only one per action config)
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof ActionVersionClass
|
|
29
|
-
*/
|
|
30
|
-
'isActive': boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Version number (1, 2, 3...)
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ActionVersionClass
|
|
35
|
-
*/
|
|
36
|
-
'versionNumber': number;
|
|
37
|
-
/**
|
|
38
|
-
* Version code (unique id, e.g. acv_<nanoid>)
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ActionVersionClass
|
|
41
|
-
*/
|
|
42
|
-
'code': string;
|
|
43
|
-
/**
|
|
44
|
-
* Detailed description of what this action does
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ActionVersionClass
|
|
47
|
-
*/
|
|
48
|
-
'description'?: string;
|
|
49
|
-
/**
|
|
50
|
-
* BPMN/workflow code (resolved from workflow_slug)
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ActionVersionClass
|
|
53
|
-
*/
|
|
54
|
-
'workflowCode': string;
|
|
55
|
-
/**
|
|
56
|
-
* BPMN/workflow slug
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ActionVersionClass
|
|
59
|
-
*/
|
|
60
|
-
'workflowSlug': string;
|
|
61
|
-
/**
|
|
62
|
-
* Entity type: Policy, Lead, Claim
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ActionVersionClass
|
|
65
|
-
*/
|
|
66
|
-
'entityType'?: ActionVersionClassEntityTypeEnum;
|
|
67
|
-
/**
|
|
68
|
-
* Product version ID
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof ActionVersionClass
|
|
71
|
-
*/
|
|
72
|
-
'productVersionId'?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Derived from product_version.product_id
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof ActionVersionClass
|
|
77
|
-
*/
|
|
78
|
-
'productSlug'?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Whether the action is available in the UI
|
|
81
|
-
* @type {boolean}
|
|
82
|
-
* @memberof ActionVersionClass
|
|
83
|
-
*/
|
|
84
|
-
'isAvailableInUi'?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Optional JSON Schema to validate input_payload when triggering (only when expand=inputValidationSchema)
|
|
87
|
-
* @type {object}
|
|
88
|
-
* @memberof ActionVersionClass
|
|
89
|
-
*/
|
|
90
|
-
'inputValidationSchema'?: object;
|
|
91
|
-
/**
|
|
92
|
-
* Time at which the object was created.
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof ActionVersionClass
|
|
95
|
-
*/
|
|
96
|
-
'createdAt': string;
|
|
97
|
-
/**
|
|
98
|
-
* Time at which the object was updated.
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof ActionVersionClass
|
|
101
|
-
*/
|
|
102
|
-
'updatedAt': string;
|
|
103
|
-
/**
|
|
104
|
-
* Identifier of the user who created the record.
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof ActionVersionClass
|
|
107
|
-
*/
|
|
108
|
-
'createdBy': string;
|
|
109
|
-
/**
|
|
110
|
-
* Identifier of the user who last updated the record.
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof ActionVersionClass
|
|
113
|
-
*/
|
|
114
|
-
'updatedBy': string;
|
|
115
|
-
/**
|
|
116
|
-
* Parent action (code, name, slug). Set when listing versions so clients know which action each version belongs to.
|
|
117
|
-
* @type {ActionRefClass}
|
|
118
|
-
* @memberof ActionVersionClass
|
|
119
|
-
*/
|
|
120
|
-
'action'?: ActionRefClass;
|
|
121
|
-
}
|
|
122
|
-
export declare const ActionVersionClassEntityTypeEnum: {
|
|
123
|
-
readonly Policy: "POLICY";
|
|
124
|
-
readonly Lead: "LEAD";
|
|
125
|
-
readonly Claim: "CLAIM";
|
|
126
|
-
};
|
|
127
|
-
export type ActionVersionClassEntityTypeEnum = typeof ActionVersionClassEntityTypeEnum[keyof typeof ActionVersionClassEntityTypeEnum];
|
|
@@ -1,21 +0,0 @@
|
|
|
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 });
|
|
16
|
-
exports.ActionVersionClassEntityTypeEnum = void 0;
|
|
17
|
-
exports.ActionVersionClassEntityTypeEnum = {
|
|
18
|
-
Policy: 'POLICY',
|
|
19
|
-
Lead: 'LEAD',
|
|
20
|
-
Claim: 'CLAIM'
|
|
21
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { ActionVersionClass } from './action-version-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetActionVersionResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface GetActionVersionResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The action version
|
|
21
|
-
* @type {ActionVersionClass}
|
|
22
|
-
* @memberof GetActionVersionResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'actionVersion': ActionVersionClass;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,43 +0,0 @@
|
|
|
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 { ActionVersionClass } from './action-version-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListActionVersionsResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface ListActionVersionsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* List of action versions
|
|
21
|
-
* @type {Array<ActionVersionClass>}
|
|
22
|
-
* @memberof ListActionVersionsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<ActionVersionClass>;
|
|
25
|
-
/**
|
|
26
|
-
* Token for next page
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ListActionVersionsResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'nextPageToken': string;
|
|
31
|
-
/**
|
|
32
|
-
* Number of items per page
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ListActionVersionsResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'itemsPerPage': number;
|
|
37
|
-
/**
|
|
38
|
-
* Total number of versions
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ListActionVersionsResponseClass
|
|
41
|
-
*/
|
|
42
|
-
'totalItems': number;
|
|
43
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|