@emilgroup/action-sdk-node 1.0.1-beta.41 → 1.0.1-beta.46
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 +3 -0
- package/README.md +2 -2
- package/api/actions-api.ts +486 -99
- package/dist/api/actions-api.d.ts +296 -75
- package/dist/api/actions-api.js +374 -65
- package/dist/models/action-class.d.ts +6 -59
- package/dist/models/action-execution-class.d.ts +1 -1
- package/dist/models/action-version-class.d.ts +120 -0
- package/dist/models/action-version-class.js +21 -0
- package/dist/models/create-action-request-dto.d.ts +1 -1
- package/dist/models/get-action-version-response-class.d.ts +25 -0
- package/dist/models/get-action-version-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/list-action-versions-response-class.d.ts +43 -0
- package/dist/models/list-action-versions-response-class.js +15 -0
- package/dist/models/trigger-action-request-dto.d.ts +6 -6
- package/dist/models/update-action-request-dto.d.ts +2 -2
- package/models/action-class.ts +6 -59
- package/models/action-execution-class.ts +1 -1
- package/models/action-version-class.ts +129 -0
- package/models/create-action-request-dto.ts +1 -1
- package/models/get-action-version-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/list-action-versions-response-class.ts +49 -0
- package/models/trigger-action-request-dto.ts +6 -6
- package/models/update-action-request-dto.ts +2 -2
- package/package.json +1 -1
|
@@ -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 { 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
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export * from './action-class';
|
|
2
2
|
export * from './action-execution-class';
|
|
3
|
+
export * from './action-version-class';
|
|
3
4
|
export * from './create-action-request-dto';
|
|
4
5
|
export * from './create-action-response-class';
|
|
5
6
|
export * from './export-actions-as-yaml-response-class';
|
|
6
7
|
export * from './get-action-execution-status-response-class';
|
|
7
8
|
export * from './get-action-response-class';
|
|
9
|
+
export * from './get-action-version-response-class';
|
|
8
10
|
export * from './import-actions-from-yaml-request-dto';
|
|
9
11
|
export * from './import-actions-from-yaml-response-class';
|
|
10
12
|
export * from './inline-response200';
|
|
11
13
|
export * from './inline-response503';
|
|
12
14
|
export * from './list-action-executions-response-class';
|
|
15
|
+
export * from './list-action-versions-response-class';
|
|
13
16
|
export * from './list-actions-response-class';
|
|
14
17
|
export * from './trigger-action-request-dto';
|
|
15
18
|
export * from './trigger-action-response-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 { 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
|
+
|
|
@@ -39,17 +39,17 @@ export interface TriggerActionRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'dryRun'?: boolean;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {
|
|
42
|
+
* Correlation ID for tracing/idempotency
|
|
43
|
+
* @type {string}
|
|
44
44
|
* @memberof TriggerActionRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'correlationId'?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
48
|
+
* If true, allow triggering a draft (disabled) action and run its workflow
|
|
49
|
+
* @type {boolean}
|
|
50
50
|
* @memberof TriggerActionRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'force'?: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* For entity actions: code of the entity the action is run on (e.g. policy code, lead code)
|
|
55
55
|
* @type {string}
|
|
@@ -45,11 +45,11 @@ export interface UpdateActionRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'workflowCode'?: string;
|
|
47
47
|
/**
|
|
48
|
-
* Whether the action is
|
|
48
|
+
* Whether the action is published and can be triggered
|
|
49
49
|
* @type {boolean}
|
|
50
50
|
* @memberof UpdateActionRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'isActive'?: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* Whether the action is available in the UI
|
|
55
55
|
* @type {boolean}
|