@emilgroup/action-sdk-node 1.0.1-beta.23 → 1.0.1-beta.31

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.
@@ -0,0 +1,109 @@
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 { WorkflowOutputReferenceClass } from './workflow-output-reference-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ActionExecutionClass
22
+ */
23
+ export interface ActionExecutionClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof ActionExecutionClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof ActionExecutionClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Action configuration code (action_configs.code)
38
+ * @type {string}
39
+ * @memberof ActionExecutionClass
40
+ */
41
+ 'actionCode': string;
42
+ /**
43
+ * Execution status
44
+ * @type {string}
45
+ * @memberof ActionExecutionClass
46
+ */
47
+ 'status': string;
48
+ /**
49
+ * Who triggered the execution
50
+ * @type {string}
51
+ * @memberof ActionExecutionClass
52
+ */
53
+ 'triggeredBy': string;
54
+ /**
55
+ * How the execution was triggered
56
+ * @type {string}
57
+ * @memberof ActionExecutionClass
58
+ */
59
+ 'triggerSource': string;
60
+ /**
61
+ * Error message when execution fails
62
+ * @type {string}
63
+ * @memberof ActionExecutionClass
64
+ */
65
+ 'error'?: string;
66
+ /**
67
+ * Structured error details when execution fails
68
+ * @type {{ [key: string]: object; }}
69
+ * @memberof ActionExecutionClass
70
+ */
71
+ 'errorDetails'?: { [key: string]: object; };
72
+ /**
73
+ * Time at which the object was created.
74
+ * @type {string}
75
+ * @memberof ActionExecutionClass
76
+ */
77
+ 'createdAt': string;
78
+ /**
79
+ * Time at which the object was updated.
80
+ * @type {string}
81
+ * @memberof ActionExecutionClass
82
+ */
83
+ 'updatedAt': string;
84
+ /**
85
+ * When the execution completed (succeeded or failed)
86
+ * @type {string}
87
+ * @memberof ActionExecutionClass
88
+ */
89
+ 'completedAt'?: string;
90
+ /**
91
+ * Correlation ID (e.g. webhook execution code that triggered this action execution)
92
+ * @type {string}
93
+ * @memberof ActionExecutionClass
94
+ */
95
+ 'correlationId': string;
96
+ /**
97
+ * Input payload for the execution
98
+ * @type {{ [key: string]: object; }}
99
+ * @memberof ActionExecutionClass
100
+ */
101
+ 'inputPayload'?: { [key: string]: object; };
102
+ /**
103
+ * Reference to ProcessManager workflow output (avoids duplicating workflow outputs)
104
+ * @type {WorkflowOutputReferenceClass}
105
+ * @memberof ActionExecutionClass
106
+ */
107
+ 'workflowOutputReference'?: WorkflowOutputReferenceClass;
108
+ }
109
+
@@ -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 { ActionExecutionClass } from './action-execution-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetActionExecutionStatusResponseClass
22
+ */
23
+ export interface GetActionExecutionStatusResponseClass {
24
+ /**
25
+ * Latest action execution status
26
+ * @type {ActionExecutionClass}
27
+ * @memberof GetActionExecutionStatusResponseClass
28
+ */
29
+ 'actionExecution'?: ActionExecutionClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,9 +1,13 @@
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 './get-action-execution-status-response-class';
4
6
  export * from './get-action-response-class';
5
7
  export * from './inline-response200';
6
8
  export * from './inline-response503';
9
+ export * from './list-action-executions-response-class';
7
10
  export * from './list-actions-response-class';
8
11
  export * from './update-action-request-dto';
9
12
  export * from './update-action-response-class';
13
+ export * from './workflow-output-reference-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 { ActionExecutionClass } from './action-execution-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListActionExecutionsResponseClass
22
+ */
23
+ export interface ListActionExecutionsResponseClass {
24
+ /**
25
+ * List of action executions
26
+ * @type {Array<ActionExecutionClass>}
27
+ * @memberof ListActionExecutionsResponseClass
28
+ */
29
+ 'items': Array<ActionExecutionClass>;
30
+ /**
31
+ * Token for the next page
32
+ * @type {string}
33
+ * @memberof ListActionExecutionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items per page
38
+ * @type {number}
39
+ * @memberof ListActionExecutionsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total number of items
44
+ * @type {number}
45
+ * @memberof ListActionExecutionsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,36 @@
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 WorkflowOutputReferenceClass
21
+ */
22
+ export interface WorkflowOutputReferenceClass {
23
+ /**
24
+ * ProcessManager workflow instance key/code
25
+ * @type {string}
26
+ * @memberof WorkflowOutputReferenceClass
27
+ */
28
+ 'workflowInstanceKey': string;
29
+ /**
30
+ * Workflow task key that contains the output
31
+ * @type {string}
32
+ * @memberof WorkflowOutputReferenceClass
33
+ */
34
+ 'workflowTaskKey': string;
35
+ }
36
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/action-sdk-node",
3
- "version": "1.0.1-beta.23",
3
+ "version": "1.0.1-beta.31",
4
4
  "description": "OpenAPI client for @emilgroup/action-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }