@wenlarge/communication 1.5.8 → 1.6.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.
@@ -1,21 +1,21 @@
1
- syntax = "proto3";
2
-
3
- package executor_core;
4
- import "google/protobuf/struct.proto";
5
-
6
- message ExecuteNodeRequest {
7
- string nodeTypeId = 1;
8
- string nodeId = 2;
9
- google.protobuf.Struct config = 3;
10
- google.protobuf.Struct inputSchema = 4;
11
- google.protobuf.Struct env = 5;
12
- }
13
-
14
- message ExecuteNodeResponse {
15
- google.protobuf.Struct output = 1;
16
- }
17
-
18
- service CoreExecutionService {
19
- rpc ExecuteNode (ExecuteNodeRequest) returns (ExecuteNodeResponse);
20
-
21
- }
1
+ syntax = "proto3";
2
+
3
+ package executor_core;
4
+ import "google/protobuf/struct.proto";
5
+
6
+ message ExecuteNodeRequest {
7
+ string nodeTypeId = 1;
8
+ string nodeId = 2;
9
+ google.protobuf.Struct config = 3;
10
+ google.protobuf.Struct inputSchema = 4;
11
+ google.protobuf.Struct env = 5;
12
+ }
13
+
14
+ message ExecuteNodeResponse {
15
+ google.protobuf.Struct output = 1;
16
+ }
17
+
18
+ service CoreExecutionService {
19
+ rpc ExecuteNode (ExecuteNodeRequest) returns (ExecuteNodeResponse);
20
+
21
+ }
@@ -1,22 +1,22 @@
1
- syntax = "proto3";
2
-
3
- import "google/protobuf/empty.proto";
4
-
5
- package notification;
6
-
7
- service NotificationService {
8
- rpc AddMail (AddMailRequest) returns (google.protobuf.Empty);
9
- rpc AddSms (AddSmsRequest) returns (google.protobuf.Empty);
10
- }
11
-
12
- message AddMailRequest {
13
- string to = 1;
14
- string subject = 2;
15
- string text = 3;
16
- string html = 4;
17
- }
18
-
19
- message AddSmsRequest {
20
- string to = 1;
21
- string body = 2;
22
- }
1
+ syntax = "proto3";
2
+
3
+ import "google/protobuf/empty.proto";
4
+
5
+ package notification;
6
+
7
+ service NotificationService {
8
+ rpc AddMail (AddMailRequest) returns (google.protobuf.Empty);
9
+ rpc AddSms (AddSmsRequest) returns (google.protobuf.Empty);
10
+ }
11
+
12
+ message AddMailRequest {
13
+ string to = 1;
14
+ string subject = 2;
15
+ string text = 3;
16
+ string html = 4;
17
+ }
18
+
19
+ message AddSmsRequest {
20
+ string to = 1;
21
+ string body = 2;
22
+ }
@@ -1,122 +1,122 @@
1
- syntax = "proto3";
2
-
3
- import "google/protobuf/empty.proto";
4
-
5
- package project;
6
-
7
- service ProjectService {
8
- rpc Create (CreateProjectRequest) returns (ProjectResponse);
9
- rpc FindMany (FindManyRequest) returns (FindManyResponse);
10
- rpc Delete (DeleteProjectRequest) returns (google.protobuf.Empty);
11
- rpc Update (UpdateProjectRequest) returns (ProjectResponse);
12
- rpc FindFirst (FindFirstRequest) returns (FindFirstResponse);
13
- rpc GetProjectCount(google.protobuf.Empty) returns (GetProjectCountResponse);
14
- }
15
-
16
- service EnvironmentService {
17
- rpc Create (CreateEnvironmentRequest) returns (EnvironmentResponse);
18
- rpc Update (UpdateEnvironmentRequest) returns (EnvironmentResponse);
19
- rpc Delete (DeleteEnvironmentRequest) returns (google.protobuf.Empty);
20
- rpc FindMany (FindManyEnvironmentsRequest) returns (FindManyEnvironmentsResponse);
21
- rpc FindFirst (FindFirstEnvironmentRequest) returns (FindFirstEnvironmentResponse);
22
- }
23
-
24
- message CreateProjectRequest {
25
- string name = 1;
26
- }
27
-
28
- message ProjectResponse {
29
- string id = 1;
30
- string name = 2;
31
- string companyId = 3;
32
- string createdAt = 4;
33
- string updatedAt = 5;
34
- }
35
-
36
- message DeleteProjectRequest{
37
- string id = 1;
38
- }
39
-
40
- message UpdateProjectRequest{
41
- string id = 1;
42
- string name = 2;
43
- }
44
-
45
- message FindManyRequest{
46
- int32 skip = 1;
47
- int32 take = 2;
48
- }
49
-
50
- message FindManyResponse{
51
- repeated ProjectResponse data = 1;
52
- int32 total = 2;
53
- }
54
-
55
- message FindFirstRequest{
56
- string id = 1;
57
- }
58
-
59
- message FindFirstResponse{
60
- ProjectResponse project = 1;
61
- }
62
-
63
- message GetProjectCountResponse {
64
- int32 projectCount = 1;
65
- }
66
-
67
- message CreateEnvironmentRequest {
68
- string projectId = 1;
69
- string name = 2;
70
- repeated EnvironmentVariableInput variables = 4;
71
- }
72
-
73
- message UpdateEnvironmentRequest {
74
- string id = 1;
75
- string name = 2;
76
- repeated EnvironmentVariableInput variables = 4;
77
- }
78
-
79
- message DeleteEnvironmentRequest {
80
- string id = 1;
81
- }
82
-
83
- message FindManyEnvironmentsRequest {
84
- string projectId = 1;
85
- int32 skip = 2;
86
- int32 take = 3;
87
- }
88
-
89
- message FindManyEnvironmentsResponse {
90
- repeated EnvironmentResponse data = 1;
91
- int32 total = 2;
92
- }
93
-
94
- message FindFirstEnvironmentRequest {
95
- string id = 1;
96
- }
97
-
98
- message FindFirstEnvironmentResponse {
99
- EnvironmentResponse environment = 1;
100
- }
101
-
102
- message EnvironmentResponse {
103
- string id = 1;
104
- string projectId = 2;
105
- string name = 3;
106
- repeated EnvironmentVariableResponse variables = 5;
107
- string createdAt = 6;
108
- string updatedAt = 7;
109
- }
110
-
111
- message EnvironmentVariableInput {
112
- string key = 1;
113
- string value = 2;
114
- }
115
-
116
- message EnvironmentVariableResponse {
117
- string id = 1;
118
- string key = 2;
119
- string value = 3;
120
- string createdAt = 4;
121
- string updatedAt = 5;
1
+ syntax = "proto3";
2
+
3
+ import "google/protobuf/empty.proto";
4
+
5
+ package project;
6
+
7
+ service ProjectService {
8
+ rpc Create (CreateProjectRequest) returns (ProjectResponse);
9
+ rpc FindMany (FindManyRequest) returns (FindManyResponse);
10
+ rpc Delete (DeleteProjectRequest) returns (google.protobuf.Empty);
11
+ rpc Update (UpdateProjectRequest) returns (ProjectResponse);
12
+ rpc FindFirst (FindFirstRequest) returns (FindFirstResponse);
13
+ rpc GetProjectCount(google.protobuf.Empty) returns (GetProjectCountResponse);
14
+ }
15
+
16
+ service EnvironmentService {
17
+ rpc Create (CreateEnvironmentRequest) returns (EnvironmentResponse);
18
+ rpc Update (UpdateEnvironmentRequest) returns (EnvironmentResponse);
19
+ rpc Delete (DeleteEnvironmentRequest) returns (google.protobuf.Empty);
20
+ rpc FindMany (FindManyEnvironmentsRequest) returns (FindManyEnvironmentsResponse);
21
+ rpc FindFirst (FindFirstEnvironmentRequest) returns (FindFirstEnvironmentResponse);
22
+ }
23
+
24
+ message CreateProjectRequest {
25
+ string name = 1;
26
+ }
27
+
28
+ message ProjectResponse {
29
+ string id = 1;
30
+ string name = 2;
31
+ string companyId = 3;
32
+ string createdAt = 4;
33
+ string updatedAt = 5;
34
+ }
35
+
36
+ message DeleteProjectRequest{
37
+ string id = 1;
38
+ }
39
+
40
+ message UpdateProjectRequest{
41
+ string id = 1;
42
+ string name = 2;
43
+ }
44
+
45
+ message FindManyRequest{
46
+ int32 skip = 1;
47
+ int32 take = 2;
48
+ }
49
+
50
+ message FindManyResponse{
51
+ repeated ProjectResponse data = 1;
52
+ int32 total = 2;
53
+ }
54
+
55
+ message FindFirstRequest{
56
+ string id = 1;
57
+ }
58
+
59
+ message FindFirstResponse{
60
+ ProjectResponse project = 1;
61
+ }
62
+
63
+ message GetProjectCountResponse {
64
+ int32 projectCount = 1;
65
+ }
66
+
67
+ message CreateEnvironmentRequest {
68
+ string projectId = 1;
69
+ string name = 2;
70
+ repeated EnvironmentVariableInput variables = 4;
71
+ }
72
+
73
+ message UpdateEnvironmentRequest {
74
+ string id = 1;
75
+ string name = 2;
76
+ repeated EnvironmentVariableInput variables = 4;
77
+ }
78
+
79
+ message DeleteEnvironmentRequest {
80
+ string id = 1;
81
+ }
82
+
83
+ message FindManyEnvironmentsRequest {
84
+ string projectId = 1;
85
+ int32 skip = 2;
86
+ int32 take = 3;
87
+ }
88
+
89
+ message FindManyEnvironmentsResponse {
90
+ repeated EnvironmentResponse data = 1;
91
+ int32 total = 2;
92
+ }
93
+
94
+ message FindFirstEnvironmentRequest {
95
+ string id = 1;
96
+ }
97
+
98
+ message FindFirstEnvironmentResponse {
99
+ EnvironmentResponse environment = 1;
100
+ }
101
+
102
+ message EnvironmentResponse {
103
+ string id = 1;
104
+ string projectId = 2;
105
+ string name = 3;
106
+ repeated EnvironmentVariableResponse variables = 5;
107
+ string createdAt = 6;
108
+ string updatedAt = 7;
109
+ }
110
+
111
+ message EnvironmentVariableInput {
112
+ string key = 1;
113
+ string value = 2;
114
+ }
115
+
116
+ message EnvironmentVariableResponse {
117
+ string id = 1;
118
+ string key = 2;
119
+ string value = 3;
120
+ string createdAt = 4;
121
+ string updatedAt = 5;
122
122
  }