@emilgroup/action-sdk 1.1.1-beta.24 → 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 -10
- package/README.md +2 -2
- package/api/actions-api.ts +125 -811
- package/api.ts +0 -2
- package/dist/api/actions-api.d.ts +110 -496
- package/dist/api/actions-api.js +96 -633
- 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 -9
- package/dist/models/index.js +0 -9
- 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 -9
- 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/export-actions-as-yaml-response-class.d.ts +0 -24
- package/dist/models/export-actions-as-yaml-response-class.js +0 -15
- 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/import-actions-from-yaml-request-dto.d.ts +0 -36
- package/dist/models/import-actions-from-yaml-request-dto.js +0 -15
- package/dist/models/import-actions-from-yaml-response-class.d.ts +0 -37
- package/dist/models/import-actions-from-yaml-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/export-actions-as-yaml-response-class.ts +0 -30
- package/models/get-action-version-response-class.ts +0 -31
- package/models/import-actions-from-yaml-request-dto.ts +0 -42
- package/models/import-actions-from-yaml-response-class.ts +0 -43
- 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,43 +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 { ActionClass } from './action-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface ImportActionsFromYamlResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface ImportActionsFromYamlResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Normalized YAML for client to store
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ImportActionsFromYamlResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'yamlContent': string;
|
|
30
|
-
/**
|
|
31
|
-
* Actions that were created
|
|
32
|
-
* @type {Array<ActionClass>}
|
|
33
|
-
* @memberof ImportActionsFromYamlResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'createdActions': Array<ActionClass>;
|
|
36
|
-
/**
|
|
37
|
-
* Actions that were updated
|
|
38
|
-
* @type {Array<ActionClass>}
|
|
39
|
-
* @memberof ImportActionsFromYamlResponseClass
|
|
40
|
-
*/
|
|
41
|
-
'updatedActions': Array<ActionClass>;
|
|
42
|
-
}
|
|
43
|
-
|
|
@@ -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
|
-
|