@emilgroup/action-sdk 1.0.1-beta.23 → 1.1.1-beta.10

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.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/actions-api.ts +313 -42
  4. package/api/executions-api.ts +471 -0
  5. package/api.ts +2 -0
  6. package/dist/api/actions-api.d.ts +188 -39
  7. package/dist/api/actions-api.js +251 -38
  8. package/dist/api/executions-api.d.ts +272 -0
  9. package/dist/api/executions-api.js +452 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/action-class.d.ts +38 -2
  13. package/dist/models/action-execution-class.d.ts +137 -0
  14. package/dist/models/action-execution-class.js +15 -0
  15. package/dist/models/create-action-request-dto.d.ts +31 -1
  16. package/dist/models/create-action-request-dto.js +6 -0
  17. package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
  18. package/dist/models/export-actions-as-yaml-response-class.js +15 -0
  19. package/dist/models/get-action-execution-status-response-class.d.ts +25 -0
  20. package/dist/models/get-action-execution-status-response-class.js +15 -0
  21. package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
  22. package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
  23. package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
  24. package/dist/models/import-actions-from-yaml-response-class.js +15 -0
  25. package/dist/models/index.d.ts +9 -0
  26. package/dist/models/index.js +9 -0
  27. package/dist/models/list-action-executions-response-class.d.ts +43 -0
  28. package/dist/models/list-action-executions-response-class.js +15 -0
  29. package/dist/models/trigger-action-request-dto.d.ts +62 -0
  30. package/dist/models/trigger-action-request-dto.js +15 -0
  31. package/dist/models/trigger-action-response-class.d.ts +25 -0
  32. package/dist/models/trigger-action-response-class.js +15 -0
  33. package/dist/models/update-action-request-dto.d.ts +30 -0
  34. package/dist/models/update-action-request-dto.js +6 -0
  35. package/dist/models/workflow-output-reference-class.d.ts +30 -0
  36. package/dist/models/workflow-output-reference-class.js +15 -0
  37. package/models/action-class.ts +38 -2
  38. package/models/action-execution-class.ts +139 -0
  39. package/models/create-action-request-dto.ts +34 -1
  40. package/models/export-actions-as-yaml-response-class.ts +30 -0
  41. package/models/get-action-execution-status-response-class.ts +31 -0
  42. package/models/import-actions-from-yaml-request-dto.ts +42 -0
  43. package/models/import-actions-from-yaml-response-class.ts +43 -0
  44. package/models/index.ts +9 -0
  45. package/models/list-action-executions-response-class.ts +49 -0
  46. package/models/trigger-action-request-dto.ts +66 -0
  47. package/models/trigger-action-response-class.ts +31 -0
  48. package/models/update-action-request-dto.ts +33 -0
  49. package/models/workflow-output-reference-class.ts +36 -0
  50. package/package.json +2 -1
@@ -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 });
@@ -34,15 +34,45 @@ export interface CreateActionRequestDto {
34
34
  */
35
35
  'workflowCode': string;
36
36
  /**
37
- * Whether the action is enabled and can be triggered
37
+ * true = published (triggerable), false = draft. Default true.
38
38
  * @type {boolean}
39
39
  * @memberof CreateActionRequestDto
40
40
  */
41
41
  'isEnabled'?: boolean;
42
+ /**
43
+ * Whether the action is available in the UI
44
+ * @type {boolean}
45
+ * @memberof CreateActionRequestDto
46
+ */
47
+ 'isAvailableInUi'?: boolean;
42
48
  /**
43
49
  * Detailed description of what this action does
44
50
  * @type {string}
45
51
  * @memberof CreateActionRequestDto
46
52
  */
47
53
  'description'?: string;
54
+ /**
55
+ * Entity type. When provided, productVersionId is required (and vice versa).
56
+ * @type {string}
57
+ * @memberof CreateActionRequestDto
58
+ */
59
+ 'entityType'?: CreateActionRequestDtoEntityTypeEnum;
60
+ /**
61
+ * Product version ID. When provided, entityType is required (and vice versa).
62
+ * @type {number}
63
+ * @memberof CreateActionRequestDto
64
+ */
65
+ 'productVersionId'?: number;
66
+ /**
67
+ * Optional JSON Schema to validate input_payload when triggering the action
68
+ * @type {object}
69
+ * @memberof CreateActionRequestDto
70
+ */
71
+ 'inputValidationSchema'?: object;
48
72
  }
73
+ export declare const CreateActionRequestDtoEntityTypeEnum: {
74
+ readonly Policy: "POLICY";
75
+ readonly Lead: "LEAD";
76
+ readonly Claim: "CLAIM";
77
+ };
78
+ export type CreateActionRequestDtoEntityTypeEnum = typeof CreateActionRequestDtoEntityTypeEnum[keyof typeof CreateActionRequestDtoEntityTypeEnum];
@@ -13,3 +13,9 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateActionRequestDtoEntityTypeEnum = void 0;
17
+ exports.CreateActionRequestDtoEntityTypeEnum = {
18
+ Policy: 'POLICY',
19
+ Lead: 'LEAD',
20
+ Claim: 'CLAIM'
21
+ };
@@ -0,0 +1,24 @@
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 ExportActionsAsYamlResponseClass
16
+ */
17
+ export interface ExportActionsAsYamlResponseClass {
18
+ /**
19
+ * Serialized YAML for the product version (all entity types)
20
+ * @type {string}
21
+ * @memberof ExportActionsAsYamlResponseClass
22
+ */
23
+ 'yamlContent': string;
24
+ }
@@ -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 { ActionExecutionClass } from './action-execution-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetActionExecutionStatusResponseClass
17
+ */
18
+ export interface GetActionExecutionStatusResponseClass {
19
+ /**
20
+ * Latest action execution status
21
+ * @type {ActionExecutionClass}
22
+ * @memberof GetActionExecutionStatusResponseClass
23
+ */
24
+ 'actionExecution'?: ActionExecutionClass;
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,36 @@
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 ImportActionsFromYamlRequestDto
16
+ */
17
+ export interface ImportActionsFromYamlRequestDto {
18
+ /**
19
+ * Product slug for the whole document
20
+ * @type {string}
21
+ * @memberof ImportActionsFromYamlRequestDto
22
+ */
23
+ 'productSlug': string;
24
+ /**
25
+ * Product version ID for the whole document
26
+ * @type {number}
27
+ * @memberof ImportActionsFromYamlRequestDto
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Full YAML body (entity_actions keyed by entity type)
32
+ * @type {string}
33
+ * @memberof ImportActionsFromYamlRequestDto
34
+ */
35
+ 'yamlContent': string;
36
+ }
@@ -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,37 @@
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 ImportActionsFromYamlResponseClass
17
+ */
18
+ export interface ImportActionsFromYamlResponseClass {
19
+ /**
20
+ * Normalized YAML for client to store
21
+ * @type {string}
22
+ * @memberof ImportActionsFromYamlResponseClass
23
+ */
24
+ 'yamlContent': string;
25
+ /**
26
+ * Actions that were created
27
+ * @type {Array<ActionClass>}
28
+ * @memberof ImportActionsFromYamlResponseClass
29
+ */
30
+ 'createdActions': Array<ActionClass>;
31
+ /**
32
+ * Actions that were updated
33
+ * @type {Array<ActionClass>}
34
+ * @memberof ImportActionsFromYamlResponseClass
35
+ */
36
+ 'updatedActions': Array<ActionClass>;
37
+ }
@@ -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 });
@@ -1,9 +1,18 @@
1
1
  export * from './action-class';
2
+ export * from './action-execution-class';
2
3
  export * from './create-action-request-dto';
3
4
  export * from './create-action-response-class';
5
+ export * from './export-actions-as-yaml-response-class';
6
+ export * from './get-action-execution-status-response-class';
4
7
  export * from './get-action-response-class';
8
+ export * from './import-actions-from-yaml-request-dto';
9
+ export * from './import-actions-from-yaml-response-class';
5
10
  export * from './inline-response200';
6
11
  export * from './inline-response503';
12
+ export * from './list-action-executions-response-class';
7
13
  export * from './list-actions-response-class';
14
+ export * from './trigger-action-request-dto';
15
+ export * from './trigger-action-response-class';
8
16
  export * from './update-action-request-dto';
9
17
  export * from './update-action-response-class';
18
+ export * from './workflow-output-reference-class';
@@ -15,11 +15,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./action-class"), exports);
18
+ __exportStar(require("./action-execution-class"), exports);
18
19
  __exportStar(require("./create-action-request-dto"), exports);
19
20
  __exportStar(require("./create-action-response-class"), exports);
21
+ __exportStar(require("./export-actions-as-yaml-response-class"), exports);
22
+ __exportStar(require("./get-action-execution-status-response-class"), exports);
20
23
  __exportStar(require("./get-action-response-class"), exports);
24
+ __exportStar(require("./import-actions-from-yaml-request-dto"), exports);
25
+ __exportStar(require("./import-actions-from-yaml-response-class"), exports);
21
26
  __exportStar(require("./inline-response200"), exports);
22
27
  __exportStar(require("./inline-response503"), exports);
28
+ __exportStar(require("./list-action-executions-response-class"), exports);
23
29
  __exportStar(require("./list-actions-response-class"), exports);
30
+ __exportStar(require("./trigger-action-request-dto"), exports);
31
+ __exportStar(require("./trigger-action-response-class"), exports);
24
32
  __exportStar(require("./update-action-request-dto"), exports);
25
33
  __exportStar(require("./update-action-response-class"), exports);
34
+ __exportStar(require("./workflow-output-reference-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 { ActionExecutionClass } from './action-execution-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListActionExecutionsResponseClass
17
+ */
18
+ export interface ListActionExecutionsResponseClass {
19
+ /**
20
+ * List of action executions
21
+ * @type {Array<ActionExecutionClass>}
22
+ * @memberof ListActionExecutionsResponseClass
23
+ */
24
+ 'items': Array<ActionExecutionClass>;
25
+ /**
26
+ * Token for the next page
27
+ * @type {string}
28
+ * @memberof ListActionExecutionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Number of items per page
33
+ * @type {number}
34
+ * @memberof ListActionExecutionsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total number of items
39
+ * @type {number}
40
+ * @memberof ListActionExecutionsResponseClass
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,62 @@
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.
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
+ * If true, allow triggering a draft (disabled) action and run its workflow
40
+ * @type {boolean}
41
+ * @memberof TriggerActionRequestDto
42
+ */
43
+ 'force'?: boolean;
44
+ /**
45
+ * Optional correlation ID for tracing/idempotency
46
+ * @type {string}
47
+ * @memberof TriggerActionRequestDto
48
+ */
49
+ 'correlationId'?: string;
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
+ }
@@ -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 { 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
+ }
@@ -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 });
@@ -45,10 +45,40 @@ export interface UpdateActionRequestDto {
45
45
  * @memberof UpdateActionRequestDto
46
46
  */
47
47
  'isEnabled'?: boolean;
48
+ /**
49
+ * Whether the action is available in the UI
50
+ * @type {boolean}
51
+ * @memberof UpdateActionRequestDto
52
+ */
53
+ 'isAvailableInUi'?: boolean;
48
54
  /**
49
55
  * Detailed description of what this action does
50
56
  * @type {string}
51
57
  * @memberof UpdateActionRequestDto
52
58
  */
53
59
  '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. When provided, entityType is required (and vice versa).
68
+ * @type {number}
69
+ * @memberof UpdateActionRequestDto
70
+ */
71
+ 'productVersionId'?: number;
72
+ /**
73
+ * Optional JSON Schema to validate input_payload when triggering the action
74
+ * @type {object}
75
+ * @memberof UpdateActionRequestDto
76
+ */
77
+ 'inputValidationSchema'?: object;
54
78
  }
79
+ export declare const UpdateActionRequestDtoEntityTypeEnum: {
80
+ readonly Policy: "POLICY";
81
+ readonly Lead: "LEAD";
82
+ readonly Claim: "CLAIM";
83
+ };
84
+ export type UpdateActionRequestDtoEntityTypeEnum = typeof UpdateActionRequestDtoEntityTypeEnum[keyof typeof UpdateActionRequestDtoEntityTypeEnum];
@@ -13,3 +13,9 @@
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
+ };
@@ -0,0 +1,30 @@
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 WorkflowOutputReferenceClass
16
+ */
17
+ export interface WorkflowOutputReferenceClass {
18
+ /**
19
+ * ProcessManager workflow instance key/code
20
+ * @type {string}
21
+ * @memberof WorkflowOutputReferenceClass
22
+ */
23
+ 'workflowInstanceKey': string;
24
+ /**
25
+ * Workflow task key that contains the output
26
+ * @type {string}
27
+ * @memberof WorkflowOutputReferenceClass
28
+ */
29
+ 'workflowTaskKey': string;
30
+ }
@@ -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 });
@@ -49,13 +49,19 @@ export interface ActionClass {
49
49
  * @type {string}
50
50
  * @memberof ActionClass
51
51
  */
52
- 'workflowCode'?: string;
52
+ 'workflowCode': string;
53
53
  /**
54
- * Whether the action is enabled and can be triggered
54
+ * true = published (and triggerable), false = draft; only one published per code/slug/name
55
55
  * @type {boolean}
56
56
  * @memberof ActionClass
57
57
  */
58
58
  'isEnabled': boolean;
59
+ /**
60
+ * Whether the action is available in the UI
61
+ * @type {boolean}
62
+ * @memberof ActionClass
63
+ */
64
+ 'isAvailableInUi'?: boolean;
59
65
  /**
60
66
  * Detailed description of what this action does
61
67
  * @type {string}
@@ -86,5 +92,35 @@ export interface ActionClass {
86
92
  * @memberof ActionClass
87
93
  */
88
94
  'updatedBy': string;
95
+ /**
96
+ * Entity type: Policy, Lead, Claim
97
+ * @type {string}
98
+ * @memberof ActionClass
99
+ */
100
+ 'entityType'?: string;
101
+ /**
102
+ * Product version ID
103
+ * @type {number}
104
+ * @memberof ActionClass
105
+ */
106
+ 'productVersionId'?: number;
107
+ /**
108
+ * Derived from product_version.product_id
109
+ * @type {string}
110
+ * @memberof ActionClass
111
+ */
112
+ 'productSlug'?: string;
113
+ /**
114
+ * Optional JSON Schema to validate input_payload when triggering the action (only populated when expand=inputValidationSchema)
115
+ * @type {object}
116
+ * @memberof ActionClass
117
+ */
118
+ 'inputValidationSchema'?: object;
119
+ /**
120
+ * Business version per action config
121
+ * @type {number}
122
+ * @memberof ActionClass
123
+ */
124
+ 'configVersion': number;
89
125
  }
90
126