@opsee/mcp-server 0.1.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.
- package/bin/opsee-mcp.js +21 -0
- package/gen/api/v1/account_pb.d.ts +393 -0
- package/gen/api/v1/account_pb.js +111 -0
- package/gen/api/v1/activity_log_pb.d.ts +297 -0
- package/gen/api/v1/activity_log_pb.js +89 -0
- package/gen/api/v1/ai_run_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_run_status_pb.js +89 -0
- package/gen/api/v1/ai_unit_category_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_category_pb.js +89 -0
- package/gen/api/v1/ai_unit_stage_pb.d.ts +347 -0
- package/gen/api/v1/ai_unit_stage_pb.js +117 -0
- package/gen/api/v1/ai_unit_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_status_pb.js +89 -0
- package/gen/api/v1/ai_workflow_run_pb.d.ts +542 -0
- package/gen/api/v1/ai_workflow_run_pb.js +159 -0
- package/gen/api/v1/ai_workflow_unit_pb.d.ts +431 -0
- package/gen/api/v1/ai_workflow_unit_pb.js +103 -0
- package/gen/api/v1/attachment_pb.d.ts +297 -0
- package/gen/api/v1/attachment_pb.js +89 -0
- package/gen/api/v1/billing_pb.d.ts +1206 -0
- package/gen/api/v1/billing_pb.js +288 -0
- package/gen/api/v1/board_column_pb.d.ts +282 -0
- package/gen/api/v1/board_column_pb.js +89 -0
- package/gen/api/v1/board_pb.d.ts +296 -0
- package/gen/api/v1/board_pb.js +96 -0
- package/gen/api/v1/comment_pb.d.ts +277 -0
- package/gen/api/v1/comment_pb.js +89 -0
- package/gen/api/v1/company_pb.d.ts +452 -0
- package/gen/api/v1/company_pb.js +110 -0
- package/gen/api/v1/component_pb.d.ts +267 -0
- package/gen/api/v1/component_pb.js +89 -0
- package/gen/api/v1/contact_pb.d.ts +58 -0
- package/gen/api/v1/contact_pb.js +28 -0
- package/gen/api/v1/country_pb.d.ts +257 -0
- package/gen/api/v1/country_pb.js +89 -0
- package/gen/api/v1/credit_transaction_pb.d.ts +277 -0
- package/gen/api/v1/credit_transaction_pb.js +89 -0
- package/gen/api/v1/cycle_pb.d.ts +281 -0
- package/gen/api/v1/cycle_pb.js +87 -0
- package/gen/api/v1/deployment_pb.d.ts +277 -0
- package/gen/api/v1/deployment_pb.js +89 -0
- package/gen/api/v1/doc_page_pb.d.ts +505 -0
- package/gen/api/v1/doc_page_pb.js +138 -0
- package/gen/api/v1/doc_page_version_pb.d.ts +287 -0
- package/gen/api/v1/doc_page_version_pb.js +89 -0
- package/gen/api/v1/doc_space_pb.d.ts +297 -0
- package/gen/api/v1/doc_space_pb.js +89 -0
- package/gen/api/v1/document_link_pb.d.ts +174 -0
- package/gen/api/v1/document_link_pb.js +61 -0
- package/gen/api/v1/document_pb.d.ts +548 -0
- package/gen/api/v1/document_pb.js +152 -0
- package/gen/api/v1/environment_pb.d.ts +277 -0
- package/gen/api/v1/environment_pb.js +89 -0
- package/gen/api/v1/filter_pb.d.ts +66 -0
- package/gen/api/v1/filter_pb.js +26 -0
- package/gen/api/v1/label_pb.d.ts +267 -0
- package/gen/api/v1/label_pb.js +89 -0
- package/gen/api/v1/models_pb.d.ts +3137 -0
- package/gen/api/v1/models_pb.js +357 -0
- package/gen/api/v1/notification_pb.d.ts +317 -0
- package/gen/api/v1/notification_pb.js +89 -0
- package/gen/api/v1/orchestrator_pb.d.ts +1813 -0
- package/gen/api/v1/orchestrator_pb.js +353 -0
- package/gen/api/v1/pagination_pb.d.ts +92 -0
- package/gen/api/v1/pagination_pb.js +33 -0
- package/gen/api/v1/permission_pb.d.ts +222 -0
- package/gen/api/v1/permission_pb.js +89 -0
- package/gen/api/v1/preference_pb.d.ts +109 -0
- package/gen/api/v1/preference_pb.js +42 -0
- package/gen/api/v1/project_membership_pb.d.ts +321 -0
- package/gen/api/v1/project_membership_pb.js +103 -0
- package/gen/api/v1/project_pb.d.ts +473 -0
- package/gen/api/v1/project_pb.js +145 -0
- package/gen/api/v1/reporting_pb.d.ts +1481 -0
- package/gen/api/v1/reporting_pb.js +373 -0
- package/gen/api/v1/role_pb.d.ts +252 -0
- package/gen/api/v1/role_pb.js +101 -0
- package/gen/api/v1/subscription_pb.d.ts +307 -0
- package/gen/api/v1/subscription_pb.js +89 -0
- package/gen/api/v1/swagger_pb.d.ts +11 -0
- package/gen/api/v1/swagger_pb.js +13 -0
- package/gen/api/v1/task_component_pb.d.ts +242 -0
- package/gen/api/v1/task_component_pb.js +89 -0
- package/gen/api/v1/task_contributor_pb.d.ts +252 -0
- package/gen/api/v1/task_contributor_pb.js +89 -0
- package/gen/api/v1/task_doc_page_pb.d.ts +186 -0
- package/gen/api/v1/task_doc_page_pb.js +73 -0
- package/gen/api/v1/task_document_pb.d.ts +186 -0
- package/gen/api/v1/task_document_pb.js +73 -0
- package/gen/api/v1/task_label_pb.d.ts +242 -0
- package/gen/api/v1/task_label_pb.js +89 -0
- package/gen/api/v1/task_pb.d.ts +780 -0
- package/gen/api/v1/task_pb.js +173 -0
- package/gen/api/v1/task_priority_pb.d.ts +267 -0
- package/gen/api/v1/task_priority_pb.js +89 -0
- package/gen/api/v1/task_repository_pb.d.ts +242 -0
- package/gen/api/v1/task_repository_pb.js +89 -0
- package/gen/api/v1/task_type_pb.d.ts +277 -0
- package/gen/api/v1/task_type_pb.js +89 -0
- package/gen/api/v1/test_run_pb.d.ts +277 -0
- package/gen/api/v1/test_run_pb.js +89 -0
- package/gen/api/v1/user_pb.d.ts +366 -0
- package/gen/api/v1/user_pb.js +117 -0
- package/gen/api/v1/vcs_connection_pb.d.ts +964 -0
- package/gen/api/v1/vcs_connection_pb.js +228 -0
- package/gen/api/v1/vcs_integration_pb.d.ts +479 -0
- package/gen/api/v1/vcs_integration_pb.js +125 -0
- package/gen/api/v1/vcs_pb.d.ts +36 -0
- package/gen/api/v1/vcs_pb.js +24 -0
- package/gen/api/v1/view_pb.d.ts +337 -0
- package/gen/api/v1/view_pb.js +102 -0
- package/gen/google/api/annotations_pb.d.ts +34 -0
- package/gen/google/api/annotations_pb.js +36 -0
- package/gen/google/api/http_pb.d.ts +477 -0
- package/gen/google/api/http_pb.js +47 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
- package/gen/validate/validate_pb.d.ts +1953 -0
- package/gen/validate/validate_pb.js +223 -0
- package/package.json +37 -0
- package/src/auth/credentials.ts +65 -0
- package/src/auth/login.ts +96 -0
- package/src/auth/manager.ts +49 -0
- package/src/client/api.ts +91 -0
- package/src/index.ts +13 -0
- package/src/server.ts +26 -0
- package/src/tools/cycles.ts +77 -0
- package/src/tools/docs.ts +148 -0
- package/src/tools/projects.ts +40 -0
- package/src/tools/repositories.ts +41 -0
- package/src/tools/task-metadata.ts +96 -0
- package/src/tools/tasks.ts +228 -0
- package/src/tools/user.ts +33 -0
- package/src/utils/format.ts +141 -0
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/user.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Pagination } from "./pagination_pb";
|
|
8
|
+
import type { FilterOptions } from "./filter_pb";
|
|
9
|
+
import type { User } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/user.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_user: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Request definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from message api.v1.GetMeRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare type GetMeRequest = Message<"api.v1.GetMeRequest"> & {
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message api.v1.GetMeRequest.
|
|
27
|
+
* Use `create(GetMeRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const GetMeRequestSchema: GenMessage<GetMeRequest>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message api.v1.AddUserRequest
|
|
33
|
+
*/
|
|
34
|
+
export declare type AddUserRequest = Message<"api.v1.AddUserRequest"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string email = 1;
|
|
37
|
+
*/
|
|
38
|
+
email: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string first_name = 2;
|
|
42
|
+
*/
|
|
43
|
+
firstName: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string last_name = 3;
|
|
47
|
+
*/
|
|
48
|
+
lastName: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: uint32 role_id = 4;
|
|
52
|
+
*/
|
|
53
|
+
roleId: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: uint32 company_id = 5;
|
|
57
|
+
*/
|
|
58
|
+
companyId: number;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.AddUserRequest.
|
|
63
|
+
* Use `create(AddUserRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export declare const AddUserRequestSchema: GenMessage<AddUserRequest>;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from message api.v1.EditUserRequest
|
|
69
|
+
*/
|
|
70
|
+
export declare type EditUserRequest = Message<"api.v1.EditUserRequest"> & {
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: uint32 id = 1;
|
|
73
|
+
*/
|
|
74
|
+
id: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string email = 2;
|
|
78
|
+
*/
|
|
79
|
+
email: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string first_name = 3;
|
|
83
|
+
*/
|
|
84
|
+
firstName: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string last_name = 4;
|
|
88
|
+
*/
|
|
89
|
+
lastName: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: uint32 role_id = 5;
|
|
93
|
+
*/
|
|
94
|
+
roleId: number;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string phone = 6;
|
|
98
|
+
*/
|
|
99
|
+
phone: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: uint32 phone_country_id = 7;
|
|
103
|
+
*/
|
|
104
|
+
phoneCountryId: number;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string avatar_url = 8;
|
|
108
|
+
*/
|
|
109
|
+
avatarUrl: string;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message api.v1.EditUserRequest.
|
|
114
|
+
* Use `create(EditUserRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export declare const EditUserRequestSchema: GenMessage<EditUserRequest>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from message api.v1.GetUserRequest
|
|
120
|
+
*/
|
|
121
|
+
export declare type GetUserRequest = Message<"api.v1.GetUserRequest"> & {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: uint32 id = 1;
|
|
124
|
+
*/
|
|
125
|
+
id: number;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message api.v1.GetUserRequest.
|
|
130
|
+
* Use `create(GetUserRequestSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const GetUserRequestSchema: GenMessage<GetUserRequest>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message api.v1.GetUserByUUIDRequest
|
|
136
|
+
*/
|
|
137
|
+
export declare type GetUserByUUIDRequest = Message<"api.v1.GetUserByUUIDRequest"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string uuid = 1;
|
|
140
|
+
*/
|
|
141
|
+
uuid: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message api.v1.GetUserByUUIDRequest.
|
|
146
|
+
* Use `create(GetUserByUUIDRequestSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const GetUserByUUIDRequestSchema: GenMessage<GetUserByUUIDRequest>;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message api.v1.GetUsersRequest
|
|
152
|
+
*/
|
|
153
|
+
export declare type GetUsersRequest = Message<"api.v1.GetUsersRequest"> & {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: api.v1.Pagination pagination = 1;
|
|
156
|
+
*/
|
|
157
|
+
pagination?: Pagination;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: api.v1.FilterOptions filter_options = 2;
|
|
161
|
+
*/
|
|
162
|
+
filterOptions?: FilterOptions;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message api.v1.GetUsersRequest.
|
|
167
|
+
* Use `create(GetUsersRequestSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export declare const GetUsersRequestSchema: GenMessage<GetUsersRequest>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @generated from message api.v1.DeleteUserRequest
|
|
173
|
+
*/
|
|
174
|
+
export declare type DeleteUserRequest = Message<"api.v1.DeleteUserRequest"> & {
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: uint32 id = 1;
|
|
177
|
+
*/
|
|
178
|
+
id: number;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message api.v1.DeleteUserRequest.
|
|
183
|
+
* Use `create(DeleteUserRequestSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export declare const DeleteUserRequestSchema: GenMessage<DeleteUserRequest>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from message api.v1.ChangePasswordRequest
|
|
189
|
+
*/
|
|
190
|
+
export declare type ChangePasswordRequest = Message<"api.v1.ChangePasswordRequest"> & {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string old_password = 1;
|
|
193
|
+
*/
|
|
194
|
+
oldPassword: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: string new_password = 2;
|
|
198
|
+
*/
|
|
199
|
+
newPassword: string;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message api.v1.ChangePasswordRequest.
|
|
204
|
+
* Use `create(ChangePasswordRequestSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const ChangePasswordRequestSchema: GenMessage<ChangePasswordRequest>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Response definitions
|
|
210
|
+
*
|
|
211
|
+
* @generated from message api.v1.GetMeResponse
|
|
212
|
+
*/
|
|
213
|
+
export declare type GetMeResponse = Message<"api.v1.GetMeResponse"> & {
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: api.v1.User user = 1;
|
|
216
|
+
*/
|
|
217
|
+
user?: User;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Describes the message api.v1.GetMeResponse.
|
|
222
|
+
* Use `create(GetMeResponseSchema)` to create a new message.
|
|
223
|
+
*/
|
|
224
|
+
export declare const GetMeResponseSchema: GenMessage<GetMeResponse>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from message api.v1.GetUsersResponse
|
|
228
|
+
*/
|
|
229
|
+
export declare type GetUsersResponse = Message<"api.v1.GetUsersResponse"> & {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: repeated api.v1.User users = 1;
|
|
232
|
+
*/
|
|
233
|
+
users: User[];
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
237
|
+
*/
|
|
238
|
+
pagination?: Pagination;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Describes the message api.v1.GetUsersResponse.
|
|
243
|
+
* Use `create(GetUsersResponseSchema)` to create a new message.
|
|
244
|
+
*/
|
|
245
|
+
export declare const GetUsersResponseSchema: GenMessage<GetUsersResponse>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from message api.v1.GetUserResponse
|
|
249
|
+
*/
|
|
250
|
+
export declare type GetUserResponse = Message<"api.v1.GetUserResponse"> & {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: api.v1.User user = 1;
|
|
253
|
+
*/
|
|
254
|
+
user?: User;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Describes the message api.v1.GetUserResponse.
|
|
259
|
+
* Use `create(GetUserResponseSchema)` to create a new message.
|
|
260
|
+
*/
|
|
261
|
+
export declare const GetUserResponseSchema: GenMessage<GetUserResponse>;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @generated from message api.v1.AddUserResponse
|
|
265
|
+
*/
|
|
266
|
+
export declare type AddUserResponse = Message<"api.v1.AddUserResponse"> & {
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: api.v1.User user = 1;
|
|
269
|
+
*/
|
|
270
|
+
user?: User;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Describes the message api.v1.AddUserResponse.
|
|
275
|
+
* Use `create(AddUserResponseSchema)` to create a new message.
|
|
276
|
+
*/
|
|
277
|
+
export declare const AddUserResponseSchema: GenMessage<AddUserResponse>;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from message api.v1.EditUserResponse
|
|
281
|
+
*/
|
|
282
|
+
export declare type EditUserResponse = Message<"api.v1.EditUserResponse"> & {
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: api.v1.User user = 1;
|
|
285
|
+
*/
|
|
286
|
+
user?: User;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message api.v1.EditUserResponse.
|
|
291
|
+
* Use `create(EditUserResponseSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export declare const EditUserResponseSchema: GenMessage<EditUserResponse>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Service definition
|
|
297
|
+
*
|
|
298
|
+
* @generated from service api.v1.UserService
|
|
299
|
+
*/
|
|
300
|
+
export declare const UserService: GenService<{
|
|
301
|
+
/**
|
|
302
|
+
* @generated from rpc api.v1.UserService.GetMe
|
|
303
|
+
*/
|
|
304
|
+
getMe: {
|
|
305
|
+
methodKind: "unary";
|
|
306
|
+
input: typeof GetMeRequestSchema;
|
|
307
|
+
output: typeof GetMeResponseSchema;
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* @generated from rpc api.v1.UserService.AddUser
|
|
311
|
+
*/
|
|
312
|
+
addUser: {
|
|
313
|
+
methodKind: "unary";
|
|
314
|
+
input: typeof AddUserRequestSchema;
|
|
315
|
+
output: typeof AddUserResponseSchema;
|
|
316
|
+
},
|
|
317
|
+
/**
|
|
318
|
+
* @generated from rpc api.v1.UserService.EditUser
|
|
319
|
+
*/
|
|
320
|
+
editUser: {
|
|
321
|
+
methodKind: "unary";
|
|
322
|
+
input: typeof EditUserRequestSchema;
|
|
323
|
+
output: typeof EditUserResponseSchema;
|
|
324
|
+
},
|
|
325
|
+
/**
|
|
326
|
+
* @generated from rpc api.v1.UserService.GetUser
|
|
327
|
+
*/
|
|
328
|
+
getUser: {
|
|
329
|
+
methodKind: "unary";
|
|
330
|
+
input: typeof GetUserRequestSchema;
|
|
331
|
+
output: typeof GetUserResponseSchema;
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* @generated from rpc api.v1.UserService.GetUserByUUID
|
|
335
|
+
*/
|
|
336
|
+
getUserByUUID: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof GetUserByUUIDRequestSchema;
|
|
339
|
+
output: typeof GetUserResponseSchema;
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
* @generated from rpc api.v1.UserService.GetUsers
|
|
343
|
+
*/
|
|
344
|
+
getUsers: {
|
|
345
|
+
methodKind: "unary";
|
|
346
|
+
input: typeof GetUsersRequestSchema;
|
|
347
|
+
output: typeof GetUsersResponseSchema;
|
|
348
|
+
},
|
|
349
|
+
/**
|
|
350
|
+
* @generated from rpc api.v1.UserService.DeleteUser
|
|
351
|
+
*/
|
|
352
|
+
deleteUser: {
|
|
353
|
+
methodKind: "unary";
|
|
354
|
+
input: typeof DeleteUserRequestSchema;
|
|
355
|
+
output: typeof EmptySchema;
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* @generated from rpc api.v1.UserService.ChangePassword
|
|
359
|
+
*/
|
|
360
|
+
changePassword: {
|
|
361
|
+
methodKind: "unary";
|
|
362
|
+
input: typeof ChangePasswordRequestSchema;
|
|
363
|
+
output: typeof EmptySchema;
|
|
364
|
+
},
|
|
365
|
+
}>;
|
|
366
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/user.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
8
|
+
import { file_validate_validate } from "../../validate/validate_pb";
|
|
9
|
+
import { file_api_v1_pagination } from "./pagination_pb";
|
|
10
|
+
import { file_api_v1_filter } from "./filter_pb";
|
|
11
|
+
import { file_api_v1_models } from "./models_pb";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file api/v1/user.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_api_v1_user = /*@__PURE__*/
|
|
17
|
+
fileDesc("ChFhcGkvdjEvdXNlci5wcm90bxIGYXBpLnYxIg4KDEdldE1lUmVxdWVzdCJ2Cg5BZGRVc2VyUmVxdWVzdBIYCgVlbWFpbBgBIAEoCUIJ+kIGcgQQAWABEhIKCmZpcnN0X25hbWUYAiABKAkSEQoJbGFzdF9uYW1lGAMgASgJEg8KB3JvbGVfaWQYBCABKA0SEgoKY29tcGFueV9pZBgFIAEoDSK1AQoPRWRpdFVzZXJSZXF1ZXN0EhMKAmlkGAEgASgNQgf6QgQqAigBEhgKBWVtYWlsGAIgASgJQgn6QgZyBBABYAESEgoKZmlyc3RfbmFtZRgDIAEoCRIRCglsYXN0X25hbWUYBCABKAkSDwoHcm9sZV9pZBgFIAEoDRINCgVwaG9uZRgGIAEoCRIYChBwaG9uZV9jb3VudHJ5X2lkGAcgASgNEhIKCmF2YXRhcl91cmwYCCABKAkiJQoOR2V0VXNlclJlcXVlc3QSEwoCaWQYASABKA1CB/pCBCoCKAEiLgoUR2V0VXNlckJ5VVVJRFJlcXVlc3QSFgoEdXVpZBgBIAEoCUII+kIFcgOwAQEicgoPR2V0VXNlcnNSZXF1ZXN0EjAKCnBhZ2luYXRpb24YASABKAsyEi5hcGkudjEuUGFnaW5hdGlvbkII+kIFigECEAESLQoOZmlsdGVyX29wdGlvbnMYAiABKAsyFS5hcGkudjEuRmlsdGVyT3B0aW9ucyIoChFEZWxldGVVc2VyUmVxdWVzdBITCgJpZBgBIAEoDUIH+kIEKgIoASJVChVDaGFuZ2VQYXNzd29yZFJlcXVlc3QSHQoMb2xkX3Bhc3N3b3JkGAEgASgJQgf6QgRyAhABEh0KDG5ld19wYXNzd29yZBgCIAEoCUIH+kIEcgIQASIrCg1HZXRNZVJlc3BvbnNlEhoKBHVzZXIYASABKAsyDC5hcGkudjEuVXNlciJXChBHZXRVc2Vyc1Jlc3BvbnNlEhsKBXVzZXJzGAEgAygLMgwuYXBpLnYxLlVzZXISJgoKcGFnaW5hdGlvbhgCIAEoCzISLmFwaS52MS5QYWdpbmF0aW9uIi0KD0dldFVzZXJSZXNwb25zZRIaCgR1c2VyGAEgASgLMgwuYXBpLnYxLlVzZXIiLQoPQWRkVXNlclJlc3BvbnNlEhoKBHVzZXIYASABKAsyDC5hcGkudjEuVXNlciIuChBFZGl0VXNlclJlc3BvbnNlEhoKBHVzZXIYASABKAsyDC5hcGkudjEuVXNlcjL9BQoLVXNlclNlcnZpY2USUQoFR2V0TWUSFC5hcGkudjEuR2V0TWVSZXF1ZXN0GhUuYXBpLnYxLkdldE1lUmVzcG9uc2UiG4LT5JMCFToBKiIQL2FwaS92MS91c2Vycy9tZRJUCgdBZGRVc2VyEhYuYXBpLnYxLkFkZFVzZXJSZXF1ZXN0GhcuYXBpLnYxLkFkZFVzZXJSZXNwb25zZSIYgtPkkwISOgEqIg0vYXBpL3YxL3VzZXJzElwKCEVkaXRVc2VyEhcuYXBpLnYxLkVkaXRVc2VyUmVxdWVzdBoYLmFwaS52MS5FZGl0VXNlclJlc3BvbnNlIh2C0+STAhc6ASoaEi9hcGkvdjEvdXNlcnMve2lkfRJWCgdHZXRVc2VyEhYuYXBpLnYxLkdldFVzZXJSZXF1ZXN0GhcuYXBpLnYxLkdldFVzZXJSZXNwb25zZSIagtPkkwIUEhIvYXBpL3YxL3VzZXJzL3tpZH0SaQoNR2V0VXNlckJ5VVVJRBIcLmFwaS52MS5HZXRVc2VyQnlVVUlEUmVxdWVzdBoXLmFwaS52MS5HZXRVc2VyUmVzcG9uc2UiIYLT5JMCGxIZL2FwaS92MS91c2Vycy91dWlkL3t1dWlkfRJUCghHZXRVc2VycxIXLmFwaS52MS5HZXRVc2Vyc1JlcXVlc3QaGC5hcGkudjEuR2V0VXNlcnNSZXNwb25zZSIVgtPkkwIPEg0vYXBpL3YxL3VzZXJzElsKCkRlbGV0ZVVzZXISGS5hcGkudjEuRGVsZXRlVXNlclJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiGoLT5JMCFCoSL2FwaS92MS91c2Vycy97aWR9EnEKDkNoYW5nZVBhc3N3b3JkEh0uYXBpLnYxLkNoYW5nZVBhc3N3b3JkUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIogtPkkwIiOgEqIh0vYXBpL3YxL3VzZXJzL2NoYW5nZV9wYXNzd29yZEJuCgpjb20uYXBpLnYxQglVc2VyUHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [file_google_protobuf_empty, file_google_api_annotations, file_validate_validate, file_api_v1_pagination, file_api_v1_filter, file_api_v1_models]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message api.v1.GetMeRequest.
|
|
21
|
+
* Use `create(GetMeRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const GetMeRequestSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_api_v1_user, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message api.v1.AddUserRequest.
|
|
28
|
+
* Use `create(AddUserRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const AddUserRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_api_v1_user, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message api.v1.EditUserRequest.
|
|
35
|
+
* Use `create(EditUserRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const EditUserRequestSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_api_v1_user, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.v1.GetUserRequest.
|
|
42
|
+
* Use `create(GetUserRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetUserRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_api_v1_user, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message api.v1.GetUserByUUIDRequest.
|
|
49
|
+
* Use `create(GetUserByUUIDRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const GetUserByUUIDRequestSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_v1_user, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.v1.GetUsersRequest.
|
|
56
|
+
* Use `create(GetUsersRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const GetUsersRequestSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_v1_user, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.DeleteUserRequest.
|
|
63
|
+
* Use `create(DeleteUserRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const DeleteUserRequestSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_v1_user, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.ChangePasswordRequest.
|
|
70
|
+
* Use `create(ChangePasswordRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const ChangePasswordRequestSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_api_v1_user, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message api.v1.GetMeResponse.
|
|
77
|
+
* Use `create(GetMeResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const GetMeResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_api_v1_user, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message api.v1.GetUsersResponse.
|
|
84
|
+
* Use `create(GetUsersResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const GetUsersResponseSchema = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_api_v1_user, 9);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message api.v1.GetUserResponse.
|
|
91
|
+
* Use `create(GetUserResponseSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const GetUserResponseSchema = /*@__PURE__*/
|
|
94
|
+
messageDesc(file_api_v1_user, 10);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message api.v1.AddUserResponse.
|
|
98
|
+
* Use `create(AddUserResponseSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const AddUserResponseSchema = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_api_v1_user, 11);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message api.v1.EditUserResponse.
|
|
105
|
+
* Use `create(EditUserResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const EditUserResponseSchema = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_api_v1_user, 12);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Service definition
|
|
112
|
+
*
|
|
113
|
+
* @generated from service api.v1.UserService
|
|
114
|
+
*/
|
|
115
|
+
export const UserService = /*@__PURE__*/
|
|
116
|
+
serviceDesc(file_api_v1_user, 0);
|
|
117
|
+
|