@acequants/aegis-contracts 0.1.25 → 0.1.26

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.
package/dist/src/index.js CHANGED
@@ -1,4 +1,5 @@
1
+ export * as v1App from "./gen/app/v1/app";
2
+ export * as v1Auth from "./gen/auth/v1/auth";
1
3
  export * as v1Agent from "./gen/agent/v1/agent";
2
4
  export * as v1Analytics from "./gen/analytics/v1/analytics";
3
- export * as v1Auth from "./gen/auth/v1/auth";
4
5
  export * as v1Ops from "./gen/ops/v1/ops";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acequants/aegis-contracts",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,106 @@
1
+ syntax = "proto3";
2
+
3
+ package aegis.app.v1;
4
+
5
+ option java_multiple_files = true;
6
+
7
+ import "google/protobuf/timestamp.proto";
8
+
9
+ message GrpcDtoPagination {
10
+ int32 total_items = 1;
11
+ int32 total_pages = 2;
12
+ int32 current_page = 3;
13
+ int32 page_size = 4;
14
+ }
15
+
16
+ message GrpcDtoMessage {
17
+ string message = 1;
18
+ }
19
+
20
+ // ---- CLIENT TYPE ----
21
+ message GrpcInputClientTypeSeed {
22
+ string name = 1;
23
+ }
24
+
25
+ message GrpcInputClientTypesSeed {
26
+ repeated GrpcInputClientTypeSeed client_types = 1;
27
+ }
28
+
29
+ message GrpcInputClientType {
30
+ string publicId = 1;
31
+ }
32
+
33
+ message GrpcInputClientTypes {
34
+ optional string search = 1;
35
+ optional int32 page = 2;
36
+ optional int32 page_size = 3;
37
+ optional string sort_by = 4;
38
+ optional string sort_order = 5;
39
+ }
40
+
41
+ message GrpcDtoClientType {
42
+ string public_id = 1;
43
+ string name = 2;
44
+ google.protobuf.Timestamp created_at = 3;
45
+ google.protobuf.Timestamp updated_at = 4;
46
+ google.protobuf.Timestamp deleted_at = 5;
47
+ }
48
+
49
+ message GrpcDtoClientTypesSeed {
50
+ repeated GrpcDtoClientType client_types = 1;
51
+ }
52
+
53
+ message GrpcDtoClientTypes {
54
+ repeated GrpcDtoClientType items = 1;
55
+ GrpcDtoPagination meta = 2;
56
+ }
57
+
58
+ // ---- USER TYPE ----
59
+ message GrpcInputUserAccountTypeSeed {
60
+ string name = 1;
61
+ }
62
+
63
+ message GrpcInputUserAccountTypesSeed {
64
+ repeated GrpcInputUserAccountTypeSeed user_types = 1;
65
+ }
66
+
67
+ message GrpcInputUserAccountType {
68
+ string publicId = 1;
69
+ }
70
+
71
+ message GrpcInputUserAccountTypes {
72
+ optional string search = 1;
73
+ optional int32 page = 2;
74
+ optional int32 page_size = 3;
75
+ optional string sort_by = 4;
76
+ optional string sort_order = 5;
77
+ }
78
+
79
+ message GrpcDtoUserAccountType {
80
+ string public_id = 1;
81
+ string name = 2;
82
+ google.protobuf.Timestamp created_at = 3;
83
+ google.protobuf.Timestamp updated_at = 4;
84
+ google.protobuf.Timestamp deleted_at = 5;
85
+ }
86
+
87
+ message GrpcDtoUserAccountTypesSeed {
88
+ repeated GrpcDtoUserAccountType user_types = 1;
89
+ }
90
+
91
+ message GrpcDtoUserAccountTypes {
92
+ repeated GrpcDtoUserAccountType items = 1;
93
+ GrpcDtoPagination meta = 2;
94
+ }
95
+
96
+ service AppService {
97
+ // --- Client Type ---
98
+ rpc ClientTypesSeed (GrpcInputClientTypesSeed) returns (GrpcDtoClientTypesSeed);
99
+ rpc ClientTypes (GrpcInputClientTypes) returns (GrpcDtoClientTypes);
100
+ rpc ClientType (GrpcInputClientType) returns (GrpcDtoClientType);
101
+
102
+ // --- User Account Type ---
103
+ rpc UserAccountTypesSeed (GrpcInputUserAccountTypesSeed) returns (GrpcDtoUserAccountTypesSeed);
104
+ rpc UserAccountTypes (GrpcInputUserAccountTypes) returns (GrpcDtoUserAccountTypes);
105
+ rpc UserAccountType (GrpcInputUserAccountType) returns (GrpcDtoUserAccountType);
106
+ }
@@ -163,82 +163,6 @@ message GrpcDtoPermissionsAdd {
163
163
  repeated GrpcDtoPermission permissions = 1;
164
164
  }
165
165
 
166
- // ---- CLIENT TYPE ----
167
- message GrpcInputClientTypeSeed {
168
- string name = 1;
169
- }
170
-
171
- message GrpcInputClientTypesSeed {
172
- repeated GrpcInputClientTypeSeed client_types = 1;
173
- }
174
-
175
- message GrpcInputClientType {
176
- string publicId = 1;
177
- }
178
-
179
- message GrpcInputClientTypes {
180
- optional string search = 1;
181
- optional int32 page = 2;
182
- optional int32 page_size = 3;
183
- optional string sort_by = 4;
184
- optional string sort_order = 5;
185
- }
186
-
187
- message GrpcDtoClientType {
188
- string public_id = 1;
189
- string name = 2;
190
- google.protobuf.Timestamp created_at = 3;
191
- google.protobuf.Timestamp updated_at = 4;
192
- google.protobuf.Timestamp deleted_at = 5;
193
- }
194
-
195
- message GrpcDtoClientTypesSeed {
196
- repeated GrpcDtoClientType client_types = 1;
197
- }
198
-
199
- message GrpcDtoClientTypes {
200
- repeated GrpcDtoClientType items = 1;
201
- GrpcDtoPagination meta = 2;
202
- }
203
-
204
- // ---- USER TYPE ----
205
- message GrpcInputUserAccountTypeSeed {
206
- string name = 1;
207
- }
208
-
209
- message GrpcInputUserAccountTypesSeed {
210
- repeated GrpcInputUserAccountTypeSeed user_types = 1;
211
- }
212
-
213
- message GrpcInputUserAccountType {
214
- string publicId = 1;
215
- }
216
-
217
- message GrpcInputUserAccountTypes {
218
- optional string search = 1;
219
- optional int32 page = 2;
220
- optional int32 page_size = 3;
221
- optional string sort_by = 4;
222
- optional string sort_order = 5;
223
- }
224
-
225
- message GrpcDtoUserAccountType {
226
- string public_id = 1;
227
- string name = 2;
228
- google.protobuf.Timestamp created_at = 3;
229
- google.protobuf.Timestamp updated_at = 4;
230
- google.protobuf.Timestamp deleted_at = 5;
231
- }
232
-
233
- message GrpcDtoUserAccountTypesSeed {
234
- repeated GrpcDtoUserAccountType user_types = 1;
235
- }
236
-
237
- message GrpcDtoUserAccountTypes {
238
- repeated GrpcDtoUserAccountType items = 1;
239
- GrpcDtoPagination meta = 2;
240
- }
241
-
242
166
  // --- USER ---
243
167
  message GrpcDtoUserRole {
244
168
  GrpcDtoRole role = 1;
@@ -276,16 +200,6 @@ service AuthService {
276
200
  rpc RolesRestore (GrpcInputRoleRestore) returns (GrpcDtoMessage);
277
201
  rpc RolePermissionsAdd (GrpcInputRolePermissionsAdd) returns (GrpcDtoPermissionsAdd);
278
202
  rpc RolePermissionsRemove (GrpcInputRolePermissionsRemove) returns (GrpcDtoMessage);
279
-
280
- // --- Client Type ---
281
- rpc ClientTypesSeed (GrpcInputClientTypesSeed) returns (GrpcDtoClientTypesSeed);
282
- rpc ClientTypes (GrpcInputClientTypes) returns (GrpcDtoClientTypes);
283
- rpc ClientType (GrpcInputClientType) returns (GrpcDtoClientType);
284
-
285
- // --- User Account Type ---
286
- rpc UserAccountTypesSeed (GrpcInputUserAccountTypesSeed) returns (GrpcDtoUserAccountTypesSeed);
287
- rpc UserAccountTypes (GrpcInputUserAccountTypes) returns (GrpcDtoUserAccountTypes);
288
- rpc UserAccountType (GrpcInputUserAccountType) returns (GrpcDtoUserAccountType);
289
203
  }
290
204
 
291
205
  // rpc Permissions (google.protobuf.Empty) returns (DtoPermissions);