@wenlarge/communication 1.1.16 → 1.1.17

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,153 +1,153 @@
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
- }
14
-
15
- service EnvironmentService {
16
- rpc Create (CreateEnvironmentRequest) returns (EnvironmentResponse);
17
- rpc Update (UpdateEnvironmentRequest) returns (EnvironmentResponse);
18
- rpc Delete (DeleteEnvironmentRequest) returns (google.protobuf.Empty);
19
- rpc FindMany (FindManyEnvironmentsRequest) returns (FindManyEnvironmentsResponse);
20
- rpc FindFirst (FindFirstEnvironmentRequest) returns (FindFirstEnvironmentResponse);
21
- }
22
-
23
- service EnvironmentVariableService {
24
- rpc Create (CreateEnvironmentVariableRequest) returns (EnvironmentVariableResponse);
25
- rpc Update (UpdateEnvironmentVariableRequest) returns (EnvironmentVariableResponse);
26
- rpc Delete (DeleteEnvironmentVariableRequest) returns (google.protobuf.Empty);
27
- rpc FindMany (FindManyEnvironmentVariablesRequest) returns (FindManyEnvironmentVariablesResponse);
28
- }
29
-
30
- message CreateProjectRequest {
31
- string name = 1;
32
- }
33
-
34
- message ProjectResponse {
35
- string id = 1;
36
- string name = 2;
37
- string companyId = 3;
38
- string createdAt = 4;
39
- string updatedAt = 5;
40
- }
41
-
42
- message DeleteProjectRequest{
43
- string id = 1;
44
- }
45
-
46
- message UpdateProjectRequest{
47
- string id = 1;
48
- string name = 2;
49
- }
50
-
51
- message FindManyRequest{
52
- int32 skip = 1;
53
- int32 take = 2;
54
- }
55
-
56
- message FindManyResponse{
57
- repeated ProjectResponse data = 1;
58
- int32 total = 2;
59
- }
60
-
61
- message FindFirstRequest{
62
- string id = 1;
63
- }
64
-
65
- message FindFirstResponse{
66
- ProjectResponse project = 1;
67
- }
68
-
69
- message CreateEnvironmentRequest {
70
- string projectId = 1;
71
- string name = 2;
72
- bool isDefault = 3;
73
- }
74
-
75
- message UpdateEnvironmentRequest {
76
- string id = 1;
77
- string name = 2;
78
- bool isDefault = 3;
79
- }
80
-
81
- message DeleteEnvironmentRequest {
82
- string id = 1;
83
- }
84
-
85
- message FindManyEnvironmentsRequest {
86
- string projectId = 1;
87
- int32 skip = 2;
88
- int32 take = 3;
89
- }
90
-
91
- message FindManyEnvironmentsResponse {
92
- repeated EnvironmentResponse data = 1;
93
- int32 total = 2;
94
- }
95
-
96
- message FindFirstEnvironmentRequest {
97
- string id = 1;
98
- }
99
-
100
- message FindFirstEnvironmentResponse {
101
- EnvironmentResponse environment = 1;
102
- }
103
-
104
- message EnvironmentResponse {
105
- string id = 1;
106
- string companyId = 2;
107
- string projectId = 3;
108
- string name = 4;
109
- bool isDefault = 5;
110
- string createdAt = 6;
111
- string updatedAt = 7;
112
- }
113
-
114
- message CreateEnvironmentVariableRequest {
115
- string environmentId = 1;
116
- string key = 2;
117
- string value = 3;
118
- string nodeScope = 4;
119
- }
120
-
121
- message UpdateEnvironmentVariableRequest {
122
- string id = 1;
123
- string key = 2;
124
- string value = 3;
125
- string nodeScope = 4;
126
- }
127
-
128
- message DeleteEnvironmentVariableRequest {
129
- string id = 1;
130
- }
131
-
132
- message FindManyEnvironmentVariablesRequest {
133
- string environmentId = 1;
134
- int32 skip = 2;
135
- int32 take = 3;
136
- }
137
-
138
- message FindManyEnvironmentVariablesResponse {
139
- repeated EnvironmentVariableResponse data = 1;
140
- int32 total = 2;
141
- }
142
-
143
- message EnvironmentVariableResponse {
144
- string id = 1;
145
- string companyId = 2;
146
- string projectId = 3;
147
- string environmentId = 4;
148
- string key = 5;
149
- string value = 6;
150
- string nodeScope = 7;
151
- string createdAt = 8;
152
- string updatedAt = 9;
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
+ }
14
+
15
+ service EnvironmentService {
16
+ rpc Create (CreateEnvironmentRequest) returns (EnvironmentResponse);
17
+ rpc Update (UpdateEnvironmentRequest) returns (EnvironmentResponse);
18
+ rpc Delete (DeleteEnvironmentRequest) returns (google.protobuf.Empty);
19
+ rpc FindMany (FindManyEnvironmentsRequest) returns (FindManyEnvironmentsResponse);
20
+ rpc FindFirst (FindFirstEnvironmentRequest) returns (FindFirstEnvironmentResponse);
21
+ }
22
+
23
+ service EnvironmentVariableService {
24
+ rpc Create (CreateEnvironmentVariableRequest) returns (EnvironmentVariableResponse);
25
+ rpc Update (UpdateEnvironmentVariableRequest) returns (EnvironmentVariableResponse);
26
+ rpc Delete (DeleteEnvironmentVariableRequest) returns (google.protobuf.Empty);
27
+ rpc FindMany (FindManyEnvironmentVariablesRequest) returns (FindManyEnvironmentVariablesResponse);
28
+ }
29
+
30
+ message CreateProjectRequest {
31
+ string name = 1;
32
+ }
33
+
34
+ message ProjectResponse {
35
+ string id = 1;
36
+ string name = 2;
37
+ string companyId = 3;
38
+ string createdAt = 4;
39
+ string updatedAt = 5;
40
+ }
41
+
42
+ message DeleteProjectRequest{
43
+ string id = 1;
44
+ }
45
+
46
+ message UpdateProjectRequest{
47
+ string id = 1;
48
+ string name = 2;
49
+ }
50
+
51
+ message FindManyRequest{
52
+ int32 skip = 1;
53
+ int32 take = 2;
54
+ }
55
+
56
+ message FindManyResponse{
57
+ repeated ProjectResponse data = 1;
58
+ int32 total = 2;
59
+ }
60
+
61
+ message FindFirstRequest{
62
+ string id = 1;
63
+ }
64
+
65
+ message FindFirstResponse{
66
+ ProjectResponse project = 1;
67
+ }
68
+
69
+ message CreateEnvironmentRequest {
70
+ string projectId = 1;
71
+ string name = 2;
72
+ bool isDefault = 3;
73
+ }
74
+
75
+ message UpdateEnvironmentRequest {
76
+ string id = 1;
77
+ string name = 2;
78
+ bool isDefault = 3;
79
+ }
80
+
81
+ message DeleteEnvironmentRequest {
82
+ string id = 1;
83
+ }
84
+
85
+ message FindManyEnvironmentsRequest {
86
+ string projectId = 1;
87
+ int32 skip = 2;
88
+ int32 take = 3;
89
+ }
90
+
91
+ message FindManyEnvironmentsResponse {
92
+ repeated EnvironmentResponse data = 1;
93
+ int32 total = 2;
94
+ }
95
+
96
+ message FindFirstEnvironmentRequest {
97
+ string id = 1;
98
+ }
99
+
100
+ message FindFirstEnvironmentResponse {
101
+ EnvironmentResponse environment = 1;
102
+ }
103
+
104
+ message EnvironmentResponse {
105
+ string id = 1;
106
+ string companyId = 2;
107
+ string projectId = 3;
108
+ string name = 4;
109
+ bool isDefault = 5;
110
+ string createdAt = 6;
111
+ string updatedAt = 7;
112
+ }
113
+
114
+ message CreateEnvironmentVariableRequest {
115
+ string environmentId = 1;
116
+ string key = 2;
117
+ string value = 3;
118
+ string nodeScope = 4;
119
+ }
120
+
121
+ message UpdateEnvironmentVariableRequest {
122
+ string id = 1;
123
+ string key = 2;
124
+ string value = 3;
125
+ string nodeScope = 4;
126
+ }
127
+
128
+ message DeleteEnvironmentVariableRequest {
129
+ string id = 1;
130
+ }
131
+
132
+ message FindManyEnvironmentVariablesRequest {
133
+ string environmentId = 1;
134
+ int32 skip = 2;
135
+ int32 take = 3;
136
+ }
137
+
138
+ message FindManyEnvironmentVariablesResponse {
139
+ repeated EnvironmentVariableResponse data = 1;
140
+ int32 total = 2;
141
+ }
142
+
143
+ message EnvironmentVariableResponse {
144
+ string id = 1;
145
+ string companyId = 2;
146
+ string projectId = 3;
147
+ string environmentId = 4;
148
+ string key = 5;
149
+ string value = 6;
150
+ string nodeScope = 7;
151
+ string createdAt = 8;
152
+ string updatedAt = 9;
153
153
  }