@wenlarge/communication 1.2.8 → 1.3.0

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.
@@ -7,6 +7,9 @@ export interface ExecuteNodeRequest {
7
7
  config?: {
8
8
  [key: string]: any;
9
9
  } | undefined;
10
+ inputSchema?: {
11
+ [key: string]: any;
12
+ } | undefined;
10
13
  }
11
14
  export interface ExecuteNodeResponse {
12
15
  output?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenlarge/communication",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
4
4
  "description": "Shared gRPC proto interfaces and generated clients for Wenlarge microservices.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,6 +7,7 @@ message ExecuteNodeRequest {
7
7
  string nodeTypeId = 1;
8
8
  string nodeId = 2;
9
9
  google.protobuf.Struct config = 3;
10
+ google.protobuf.Struct inputSchema = 4;
10
11
  }
11
12
 
12
13
  message ExecuteNodeResponse {
@@ -25,7 +25,7 @@ service WorkflowService {
25
25
  message CreateWorkflowRequest {
26
26
  string name = 1;
27
27
  string projectId = 2;
28
- optional string default_environment_id = 3;
28
+ optional string defaultEnvironmentId = 3;
29
29
  }
30
30
 
31
31
  message WorkflowResponse {
@@ -36,7 +36,7 @@ message WorkflowResponse {
36
36
  string createdAt = 5;
37
37
  string updatedAt = 6;
38
38
  WorkflowStatus status = 7;
39
- optional string default_environment_id = 8;
39
+ optional string defaultEnvironmentId = 8;
40
40
  }
41
41
 
42
42
  message DeleteWorkflowRequest{
@@ -46,7 +46,7 @@ message DeleteWorkflowRequest{
46
46
  message UpdateWorkflowRequest{
47
47
  string id = 1;
48
48
  string name = 2;
49
- optional string default_environment_id = 3;
49
+ optional string defaultEnvironmentId = 3;
50
50
  }
51
51
 
52
52
  message FindManyWorkflowRequest{
@@ -82,7 +82,7 @@ message WorkflowNodeRequest{
82
82
  google.protobuf.Struct outputSchema = 5;
83
83
  google.protobuf.Struct config = 6;
84
84
  string nodeTypeId = 7;
85
- optional string environment_id = 8;
85
+ optional string environmentId = 8;
86
86
  }
87
87
 
88
88
  message FindManyWorkflowNodeRequest{
@@ -103,7 +103,7 @@ message WorkflowNodeResponse{
103
103
  google.protobuf.Struct config = 7;
104
104
  string createdAt = 8;
105
105
  string updatedAt = 9;
106
- optional string environment_id = 10;
106
+ optional string environmentId = 10;
107
107
  }
108
108
 
109
109
  message WorkflowNodeConnection {
@@ -119,7 +119,7 @@ message SaveWorkflowBatchRequest {
119
119
  string workflowName = 2;
120
120
  repeated WorkflowNodeRequest nodes = 3;
121
121
  repeated UpdateBatchConnection connections = 4;
122
- optional string default_environment_id = 5;
122
+ optional string defaultEnvironmentId = 5;
123
123
  }
124
124
 
125
125
  message UpdateBatchConnection {
@@ -17,6 +17,7 @@ export interface ExecuteNodeRequest {
17
17
  nodeTypeId: string;
18
18
  nodeId: string;
19
19
  config?: { [key: string]: any } | undefined;
20
+ inputSchema?: { [key: string]: any } | undefined;
20
21
  }
21
22
 
22
23
  export interface ExecuteNodeResponse {