@emilgroup/action-sdk 1.1.1-beta.27 → 1.1.1-beta.6
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 -7
- package/README.md +2 -2
- package/api/actions-api.ts +130 -559
- package/api.ts +0 -2
- package/dist/api/actions-api.d.ts +112 -358
- package/dist/api/actions-api.js +97 -427
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- 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/api/executions-api.ts +0 -471
- package/dist/api/executions-api.d.ts +0 -272
- package/dist/api/executions-api.js +0 -452
- 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
|
@@ -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 });
|
|
@@ -1,62 +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 TriggerActionRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface TriggerActionRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Action slug to trigger
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TriggerActionRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'actionSlug': string;
|
|
24
|
-
/**
|
|
25
|
-
* Input payload for the action execution. When the action has input_validation_schema set, this payload is validated against it; validation failures return 400 with validation errors. Must be a JSON object (key-value map).
|
|
26
|
-
* @type {{ [key: string]: object; }}
|
|
27
|
-
* @memberof TriggerActionRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'inputPayload'?: {
|
|
30
|
-
[key: string]: object;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* If true, validate but do not create execution or publish
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof TriggerActionRequestDto
|
|
36
|
-
*/
|
|
37
|
-
'dryRun'?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Correlation ID for tracing/idempotency
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof TriggerActionRequestDto
|
|
42
|
-
*/
|
|
43
|
-
'correlationId'?: string;
|
|
44
|
-
/**
|
|
45
|
-
* If true, allow triggering a draft (disabled) action and run its workflow
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof TriggerActionRequestDto
|
|
48
|
-
*/
|
|
49
|
-
'force'?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* For entity actions: code of the entity the action is run on (e.g. policy code, lead code)
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof TriggerActionRequestDto
|
|
54
|
-
*/
|
|
55
|
-
'entityCode'?: string;
|
|
56
|
-
/**
|
|
57
|
-
* For entity actions: entity type (e.g. Policy, Lead, Claim)
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof TriggerActionRequestDto
|
|
60
|
-
*/
|
|
61
|
-
'entityType'?: string;
|
|
62
|
-
}
|
|
@@ -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,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 { ActionExecutionClass } from './action-execution-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TriggerActionResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface TriggerActionResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Created action execution (initially PENDING)
|
|
21
|
-
* @type {ActionExecutionClass}
|
|
22
|
-
* @memberof TriggerActionResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'actionExecution': ActionExecutionClass;
|
|
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,42 +0,0 @@
|
|
|
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 ActionRefClass
|
|
21
|
-
*/
|
|
22
|
-
export interface ActionRefClass {
|
|
23
|
-
/**
|
|
24
|
-
* Action code
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof ActionRefClass
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
|
-
/**
|
|
30
|
-
* Action name
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ActionRefClass
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
35
|
-
/**
|
|
36
|
-
* Action slug
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ActionRefClass
|
|
39
|
-
*/
|
|
40
|
-
'slug': string;
|
|
41
|
-
}
|
|
42
|
-
|
|
@@ -1,136 +0,0 @@
|
|
|
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 { ActionRefClass } from './action-ref-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface ActionVersionClass
|
|
22
|
-
*/
|
|
23
|
-
export interface ActionVersionClass {
|
|
24
|
-
/**
|
|
25
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ActionVersionClass
|
|
28
|
-
*/
|
|
29
|
-
'id': number;
|
|
30
|
-
/**
|
|
31
|
-
* Whether this version is the active/published one (only one per action config)
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ActionVersionClass
|
|
34
|
-
*/
|
|
35
|
-
'isActive': boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Version number (1, 2, 3...)
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ActionVersionClass
|
|
40
|
-
*/
|
|
41
|
-
'versionNumber': number;
|
|
42
|
-
/**
|
|
43
|
-
* Version code (unique id, e.g. acv_<nanoid>)
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ActionVersionClass
|
|
46
|
-
*/
|
|
47
|
-
'code': string;
|
|
48
|
-
/**
|
|
49
|
-
* Detailed description of what this action does
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ActionVersionClass
|
|
52
|
-
*/
|
|
53
|
-
'description'?: string;
|
|
54
|
-
/**
|
|
55
|
-
* BPMN/workflow code (resolved from workflow_slug)
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof ActionVersionClass
|
|
58
|
-
*/
|
|
59
|
-
'workflowCode': string;
|
|
60
|
-
/**
|
|
61
|
-
* BPMN/workflow slug
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof ActionVersionClass
|
|
64
|
-
*/
|
|
65
|
-
'workflowSlug': string;
|
|
66
|
-
/**
|
|
67
|
-
* Entity type: Policy, Lead, Claim
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof ActionVersionClass
|
|
70
|
-
*/
|
|
71
|
-
'entityType'?: ActionVersionClassEntityTypeEnum;
|
|
72
|
-
/**
|
|
73
|
-
* Product version ID
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof ActionVersionClass
|
|
76
|
-
*/
|
|
77
|
-
'productVersionId'?: number;
|
|
78
|
-
/**
|
|
79
|
-
* Derived from product_version.product_id
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof ActionVersionClass
|
|
82
|
-
*/
|
|
83
|
-
'productSlug'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Whether the action is available in the UI
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof ActionVersionClass
|
|
88
|
-
*/
|
|
89
|
-
'isAvailableInUi'?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Optional JSON Schema to validate input_payload when triggering (only when expand=inputValidationSchema)
|
|
92
|
-
* @type {object}
|
|
93
|
-
* @memberof ActionVersionClass
|
|
94
|
-
*/
|
|
95
|
-
'inputValidationSchema'?: object;
|
|
96
|
-
/**
|
|
97
|
-
* Time at which the object was created.
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof ActionVersionClass
|
|
100
|
-
*/
|
|
101
|
-
'createdAt': string;
|
|
102
|
-
/**
|
|
103
|
-
* Time at which the object was updated.
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof ActionVersionClass
|
|
106
|
-
*/
|
|
107
|
-
'updatedAt': string;
|
|
108
|
-
/**
|
|
109
|
-
* Identifier of the user who created the record.
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof ActionVersionClass
|
|
112
|
-
*/
|
|
113
|
-
'createdBy': string;
|
|
114
|
-
/**
|
|
115
|
-
* Identifier of the user who last updated the record.
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof ActionVersionClass
|
|
118
|
-
*/
|
|
119
|
-
'updatedBy': string;
|
|
120
|
-
/**
|
|
121
|
-
* Parent action (code, name, slug). Set when listing versions so clients know which action each version belongs to.
|
|
122
|
-
* @type {ActionRefClass}
|
|
123
|
-
* @memberof ActionVersionClass
|
|
124
|
-
*/
|
|
125
|
-
'action'?: ActionRefClass;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export const ActionVersionClassEntityTypeEnum = {
|
|
129
|
-
Policy: 'POLICY',
|
|
130
|
-
Lead: 'LEAD',
|
|
131
|
-
Claim: 'CLAIM'
|
|
132
|
-
} as const;
|
|
133
|
-
|
|
134
|
-
export type ActionVersionClassEntityTypeEnum = typeof ActionVersionClassEntityTypeEnum[keyof typeof ActionVersionClassEntityTypeEnum];
|
|
135
|
-
|
|
136
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { ActionVersionClass } from './action-version-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface GetActionVersionResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface GetActionVersionResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The action version
|
|
26
|
-
* @type {ActionVersionClass}
|
|
27
|
-
* @memberof GetActionVersionResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'actionVersion': ActionVersionClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
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 { ActionVersionClass } from './action-version-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface ListActionVersionsResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface ListActionVersionsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* List of action versions
|
|
26
|
-
* @type {Array<ActionVersionClass>}
|
|
27
|
-
* @memberof ListActionVersionsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<ActionVersionClass>;
|
|
30
|
-
/**
|
|
31
|
-
* Token for next page
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ListActionVersionsResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'nextPageToken': string;
|
|
36
|
-
/**
|
|
37
|
-
* Number of items per page
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ListActionVersionsResponseClass
|
|
40
|
-
*/
|
|
41
|
-
'itemsPerPage': number;
|
|
42
|
-
/**
|
|
43
|
-
* Total number of versions
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ListActionVersionsResponseClass
|
|
46
|
-
*/
|
|
47
|
-
'totalItems': number;
|
|
48
|
-
}
|
|
49
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
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 TriggerActionRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface TriggerActionRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Action slug to trigger
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof TriggerActionRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'actionSlug': string;
|
|
29
|
-
/**
|
|
30
|
-
* Input payload for the action execution. When the action has input_validation_schema set, this payload is validated against it; validation failures return 400 with validation errors. Must be a JSON object (key-value map).
|
|
31
|
-
* @type {{ [key: string]: object; }}
|
|
32
|
-
* @memberof TriggerActionRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'inputPayload'?: { [key: string]: object; };
|
|
35
|
-
/**
|
|
36
|
-
* If true, validate but do not create execution or publish
|
|
37
|
-
* @type {boolean}
|
|
38
|
-
* @memberof TriggerActionRequestDto
|
|
39
|
-
*/
|
|
40
|
-
'dryRun'?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Correlation ID for tracing/idempotency
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof TriggerActionRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'correlationId'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* If true, allow triggering a draft (disabled) action and run its workflow
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @memberof TriggerActionRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'force'?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* For entity actions: code of the entity the action is run on (e.g. policy code, lead code)
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof TriggerActionRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'entityCode'?: string;
|
|
59
|
-
/**
|
|
60
|
-
* For entity actions: entity type (e.g. Policy, Lead, Claim)
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof TriggerActionRequestDto
|
|
63
|
-
*/
|
|
64
|
-
'entityType'?: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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 TriggerActionResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface TriggerActionResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Created action execution (initially PENDING)
|
|
26
|
-
* @type {ActionExecutionClass}
|
|
27
|
-
* @memberof TriggerActionResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'actionExecution': ActionExecutionClass;
|
|
30
|
-
}
|
|
31
|
-
|