@opsee/mcp-server 0.4.1 → 0.5.1

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.
@@ -0,0 +1,639 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/dashboard.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 { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { Task, TaskPullRequest, User } from "./models_pb";
9
+
10
+ /**
11
+ * Describes the file api/v1/dashboard.proto.
12
+ */
13
+ export declare const file_api_v1_dashboard: GenFile;
14
+
15
+ /**
16
+ * @generated from message api.v1.UserDashboard
17
+ */
18
+ export declare type UserDashboard = Message<"api.v1.UserDashboard"> & {
19
+ /**
20
+ * @generated from field: uint32 id = 1;
21
+ */
22
+ id: number;
23
+
24
+ /**
25
+ * @generated from field: uint32 user_id = 2;
26
+ */
27
+ userId: number;
28
+
29
+ /**
30
+ * @generated from field: uint32 company_id = 3;
31
+ */
32
+ companyId: number;
33
+
34
+ /**
35
+ * @generated from field: repeated api.v1.DashboardWidget widgets = 4;
36
+ */
37
+ widgets: DashboardWidget[];
38
+
39
+ /**
40
+ * @generated from field: google.protobuf.Timestamp last_viewed_at = 5;
41
+ */
42
+ lastViewedAt?: Timestamp;
43
+
44
+ /**
45
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
46
+ */
47
+ createdAt?: Timestamp;
48
+
49
+ /**
50
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
51
+ */
52
+ updatedAt?: Timestamp;
53
+ };
54
+
55
+ /**
56
+ * Describes the message api.v1.UserDashboard.
57
+ * Use `create(UserDashboardSchema)` to create a new message.
58
+ */
59
+ export declare const UserDashboardSchema: GenMessage<UserDashboard>;
60
+
61
+ /**
62
+ * @generated from message api.v1.DashboardWidget
63
+ */
64
+ export declare type DashboardWidget = Message<"api.v1.DashboardWidget"> & {
65
+ /**
66
+ * @generated from field: uint32 id = 1;
67
+ */
68
+ id: number;
69
+
70
+ /**
71
+ * @generated from field: uint32 dashboard_id = 2;
72
+ */
73
+ dashboardId: number;
74
+
75
+ /**
76
+ * "my_tasks" | "mentions" | "my_prs" | "review_requests"
77
+ *
78
+ * @generated from field: string widget_type = 3;
79
+ */
80
+ widgetType: string;
81
+
82
+ /**
83
+ * @generated from field: optional string title = 4;
84
+ */
85
+ title?: string;
86
+
87
+ /**
88
+ * @generated from field: int32 position_x = 5;
89
+ */
90
+ positionX: number;
91
+
92
+ /**
93
+ * @generated from field: int32 position_y = 6;
94
+ */
95
+ positionY: number;
96
+
97
+ /**
98
+ * grid columns, default 2
99
+ *
100
+ * @generated from field: int32 width = 7;
101
+ */
102
+ width: number;
103
+
104
+ /**
105
+ * grid rows, default 2
106
+ *
107
+ * @generated from field: int32 height = 8;
108
+ */
109
+ height: number;
110
+
111
+ /**
112
+ * @generated from field: optional string config_json = 9;
113
+ */
114
+ configJson?: string;
115
+
116
+ /**
117
+ * @generated from field: int32 display_order = 10;
118
+ */
119
+ displayOrder: number;
120
+
121
+ /**
122
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
123
+ */
124
+ createdAt?: Timestamp;
125
+
126
+ /**
127
+ * @generated from field: google.protobuf.Timestamp updated_at = 12;
128
+ */
129
+ updatedAt?: Timestamp;
130
+ };
131
+
132
+ /**
133
+ * Describes the message api.v1.DashboardWidget.
134
+ * Use `create(DashboardWidgetSchema)` to create a new message.
135
+ */
136
+ export declare const DashboardWidgetSchema: GenMessage<DashboardWidget>;
137
+
138
+ /**
139
+ * @generated from message api.v1.MentionItem
140
+ */
141
+ export declare type MentionItem = Message<"api.v1.MentionItem"> & {
142
+ /**
143
+ * @generated from field: uint32 id = 1;
144
+ */
145
+ id: number;
146
+
147
+ /**
148
+ * "task" | "comment" | "doc_page"
149
+ *
150
+ * @generated from field: string source_type = 2;
151
+ */
152
+ sourceType: string;
153
+
154
+ /**
155
+ * @generated from field: uint32 source_id = 3;
156
+ */
157
+ sourceId: number;
158
+
159
+ /**
160
+ * @generated from field: string source_title = 4;
161
+ */
162
+ sourceTitle: string;
163
+
164
+ /**
165
+ * @generated from field: string snippet = 5;
166
+ */
167
+ snippet: string;
168
+
169
+ /**
170
+ * @generated from field: api.v1.User author = 6;
171
+ */
172
+ author?: User;
173
+
174
+ /**
175
+ * @generated from field: bool is_unread = 7;
176
+ */
177
+ isUnread: boolean;
178
+
179
+ /**
180
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
181
+ */
182
+ createdAt?: Timestamp;
183
+
184
+ /**
185
+ * in-app navigation path, e.g. /projects/{uuid}/tasks/{uuid}
186
+ *
187
+ * @generated from field: string source_url = 9;
188
+ */
189
+ sourceUrl: string;
190
+ };
191
+
192
+ /**
193
+ * Describes the message api.v1.MentionItem.
194
+ * Use `create(MentionItemSchema)` to create a new message.
195
+ */
196
+ export declare const MentionItemSchema: GenMessage<MentionItem>;
197
+
198
+ /**
199
+ * @generated from message api.v1.VCSPullRequest
200
+ */
201
+ export declare type VCSPullRequest = Message<"api.v1.VCSPullRequest"> & {
202
+ /**
203
+ * @generated from field: int32 pr_number = 1;
204
+ */
205
+ prNumber: number;
206
+
207
+ /**
208
+ * @generated from field: string title = 2;
209
+ */
210
+ title: string;
211
+
212
+ /**
213
+ * @generated from field: string url = 3;
214
+ */
215
+ url: string;
216
+
217
+ /**
218
+ * "open" | "draft" | "closed" | "merged"
219
+ *
220
+ * @generated from field: string state = 4;
221
+ */
222
+ state: string;
223
+
224
+ /**
225
+ * @generated from field: string repo_full_name = 5;
226
+ */
227
+ repoFullName: string;
228
+
229
+ /**
230
+ * @generated from field: string author_login = 6;
231
+ */
232
+ authorLogin: string;
233
+
234
+ /**
235
+ * "github" | "gitlab"
236
+ *
237
+ * @generated from field: string provider = 7;
238
+ */
239
+ provider: string;
240
+
241
+ /**
242
+ * @generated from field: int32 comment_count = 8;
243
+ */
244
+ commentCount: number;
245
+
246
+ /**
247
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
248
+ */
249
+ createdAt?: Timestamp;
250
+ };
251
+
252
+ /**
253
+ * Describes the message api.v1.VCSPullRequest.
254
+ * Use `create(VCSPullRequestSchema)` to create a new message.
255
+ */
256
+ export declare const VCSPullRequestSchema: GenMessage<VCSPullRequest>;
257
+
258
+ /**
259
+ * @generated from message api.v1.GetMyDashboardRequest
260
+ */
261
+ export declare type GetMyDashboardRequest = Message<"api.v1.GetMyDashboardRequest"> & {
262
+ };
263
+
264
+ /**
265
+ * Describes the message api.v1.GetMyDashboardRequest.
266
+ * Use `create(GetMyDashboardRequestSchema)` to create a new message.
267
+ */
268
+ export declare const GetMyDashboardRequestSchema: GenMessage<GetMyDashboardRequest>;
269
+
270
+ /**
271
+ * @generated from message api.v1.GetMyDashboardResponse
272
+ */
273
+ export declare type GetMyDashboardResponse = Message<"api.v1.GetMyDashboardResponse"> & {
274
+ /**
275
+ * @generated from field: api.v1.UserDashboard dashboard = 1;
276
+ */
277
+ dashboard?: UserDashboard;
278
+ };
279
+
280
+ /**
281
+ * Describes the message api.v1.GetMyDashboardResponse.
282
+ * Use `create(GetMyDashboardResponseSchema)` to create a new message.
283
+ */
284
+ export declare const GetMyDashboardResponseSchema: GenMessage<GetMyDashboardResponse>;
285
+
286
+ /**
287
+ * @generated from message api.v1.AddDashboardWidgetRequest
288
+ */
289
+ export declare type AddDashboardWidgetRequest = Message<"api.v1.AddDashboardWidgetRequest"> & {
290
+ /**
291
+ * @generated from field: string widget_type = 1;
292
+ */
293
+ widgetType: string;
294
+
295
+ /**
296
+ * @generated from field: optional string title = 2;
297
+ */
298
+ title?: string;
299
+
300
+ /**
301
+ * @generated from field: int32 position_x = 3;
302
+ */
303
+ positionX: number;
304
+
305
+ /**
306
+ * @generated from field: int32 position_y = 4;
307
+ */
308
+ positionY: number;
309
+
310
+ /**
311
+ * @generated from field: int32 width = 5;
312
+ */
313
+ width: number;
314
+
315
+ /**
316
+ * @generated from field: int32 height = 6;
317
+ */
318
+ height: number;
319
+
320
+ /**
321
+ * @generated from field: optional string config_json = 7;
322
+ */
323
+ configJson?: string;
324
+ };
325
+
326
+ /**
327
+ * Describes the message api.v1.AddDashboardWidgetRequest.
328
+ * Use `create(AddDashboardWidgetRequestSchema)` to create a new message.
329
+ */
330
+ export declare const AddDashboardWidgetRequestSchema: GenMessage<AddDashboardWidgetRequest>;
331
+
332
+ /**
333
+ * @generated from message api.v1.AddDashboardWidgetResponse
334
+ */
335
+ export declare type AddDashboardWidgetResponse = Message<"api.v1.AddDashboardWidgetResponse"> & {
336
+ /**
337
+ * @generated from field: api.v1.DashboardWidget widget = 1;
338
+ */
339
+ widget?: DashboardWidget;
340
+ };
341
+
342
+ /**
343
+ * Describes the message api.v1.AddDashboardWidgetResponse.
344
+ * Use `create(AddDashboardWidgetResponseSchema)` to create a new message.
345
+ */
346
+ export declare const AddDashboardWidgetResponseSchema: GenMessage<AddDashboardWidgetResponse>;
347
+
348
+ /**
349
+ * @generated from message api.v1.UpdateDashboardWidgetRequest
350
+ */
351
+ export declare type UpdateDashboardWidgetRequest = Message<"api.v1.UpdateDashboardWidgetRequest"> & {
352
+ /**
353
+ * @generated from field: uint32 id = 1;
354
+ */
355
+ id: number;
356
+
357
+ /**
358
+ * @generated from field: optional string title = 2;
359
+ */
360
+ title?: string;
361
+
362
+ /**
363
+ * @generated from field: int32 position_x = 3;
364
+ */
365
+ positionX: number;
366
+
367
+ /**
368
+ * @generated from field: int32 position_y = 4;
369
+ */
370
+ positionY: number;
371
+
372
+ /**
373
+ * @generated from field: int32 width = 5;
374
+ */
375
+ width: number;
376
+
377
+ /**
378
+ * @generated from field: int32 height = 6;
379
+ */
380
+ height: number;
381
+
382
+ /**
383
+ * @generated from field: optional string config_json = 7;
384
+ */
385
+ configJson?: string;
386
+ };
387
+
388
+ /**
389
+ * Describes the message api.v1.UpdateDashboardWidgetRequest.
390
+ * Use `create(UpdateDashboardWidgetRequestSchema)` to create a new message.
391
+ */
392
+ export declare const UpdateDashboardWidgetRequestSchema: GenMessage<UpdateDashboardWidgetRequest>;
393
+
394
+ /**
395
+ * @generated from message api.v1.UpdateDashboardWidgetResponse
396
+ */
397
+ export declare type UpdateDashboardWidgetResponse = Message<"api.v1.UpdateDashboardWidgetResponse"> & {
398
+ /**
399
+ * @generated from field: api.v1.DashboardWidget widget = 1;
400
+ */
401
+ widget?: DashboardWidget;
402
+ };
403
+
404
+ /**
405
+ * Describes the message api.v1.UpdateDashboardWidgetResponse.
406
+ * Use `create(UpdateDashboardWidgetResponseSchema)` to create a new message.
407
+ */
408
+ export declare const UpdateDashboardWidgetResponseSchema: GenMessage<UpdateDashboardWidgetResponse>;
409
+
410
+ /**
411
+ * @generated from message api.v1.RemoveDashboardWidgetRequest
412
+ */
413
+ export declare type RemoveDashboardWidgetRequest = Message<"api.v1.RemoveDashboardWidgetRequest"> & {
414
+ /**
415
+ * @generated from field: uint32 id = 1;
416
+ */
417
+ id: number;
418
+ };
419
+
420
+ /**
421
+ * Describes the message api.v1.RemoveDashboardWidgetRequest.
422
+ * Use `create(RemoveDashboardWidgetRequestSchema)` to create a new message.
423
+ */
424
+ export declare const RemoveDashboardWidgetRequestSchema: GenMessage<RemoveDashboardWidgetRequest>;
425
+
426
+ /**
427
+ * @generated from message api.v1.DashboardWidgetPosition
428
+ */
429
+ export declare type DashboardWidgetPosition = Message<"api.v1.DashboardWidgetPosition"> & {
430
+ /**
431
+ * @generated from field: uint32 widget_id = 1;
432
+ */
433
+ widgetId: number;
434
+
435
+ /**
436
+ * @generated from field: int32 position_x = 2;
437
+ */
438
+ positionX: number;
439
+
440
+ /**
441
+ * @generated from field: int32 position_y = 3;
442
+ */
443
+ positionY: number;
444
+
445
+ /**
446
+ * @generated from field: int32 width = 4;
447
+ */
448
+ width: number;
449
+
450
+ /**
451
+ * @generated from field: int32 height = 5;
452
+ */
453
+ height: number;
454
+
455
+ /**
456
+ * @generated from field: int32 display_order = 6;
457
+ */
458
+ displayOrder: number;
459
+ };
460
+
461
+ /**
462
+ * Describes the message api.v1.DashboardWidgetPosition.
463
+ * Use `create(DashboardWidgetPositionSchema)` to create a new message.
464
+ */
465
+ export declare const DashboardWidgetPositionSchema: GenMessage<DashboardWidgetPosition>;
466
+
467
+ /**
468
+ * @generated from message api.v1.ReorderDashboardWidgetsRequest
469
+ */
470
+ export declare type ReorderDashboardWidgetsRequest = Message<"api.v1.ReorderDashboardWidgetsRequest"> & {
471
+ /**
472
+ * @generated from field: repeated api.v1.DashboardWidgetPosition positions = 1;
473
+ */
474
+ positions: DashboardWidgetPosition[];
475
+ };
476
+
477
+ /**
478
+ * Describes the message api.v1.ReorderDashboardWidgetsRequest.
479
+ * Use `create(ReorderDashboardWidgetsRequestSchema)` to create a new message.
480
+ */
481
+ export declare const ReorderDashboardWidgetsRequestSchema: GenMessage<ReorderDashboardWidgetsRequest>;
482
+
483
+ /**
484
+ * @generated from message api.v1.ResetDashboardRequest
485
+ */
486
+ export declare type ResetDashboardRequest = Message<"api.v1.ResetDashboardRequest"> & {
487
+ };
488
+
489
+ /**
490
+ * Describes the message api.v1.ResetDashboardRequest.
491
+ * Use `create(ResetDashboardRequestSchema)` to create a new message.
492
+ */
493
+ export declare const ResetDashboardRequestSchema: GenMessage<ResetDashboardRequest>;
494
+
495
+ /**
496
+ * @generated from message api.v1.GetMyDashboardDataRequest
497
+ */
498
+ export declare type GetMyDashboardDataRequest = Message<"api.v1.GetMyDashboardDataRequest"> & {
499
+ /**
500
+ * @generated from field: repeated string widget_types = 1;
501
+ */
502
+ widgetTypes: string[];
503
+ };
504
+
505
+ /**
506
+ * Describes the message api.v1.GetMyDashboardDataRequest.
507
+ * Use `create(GetMyDashboardDataRequestSchema)` to create a new message.
508
+ */
509
+ export declare const GetMyDashboardDataRequestSchema: GenMessage<GetMyDashboardDataRequest>;
510
+
511
+ /**
512
+ * @generated from message api.v1.GetMyDashboardDataResponse
513
+ */
514
+ export declare type GetMyDashboardDataResponse = Message<"api.v1.GetMyDashboardDataResponse"> & {
515
+ /**
516
+ * @generated from field: repeated api.v1.Task my_tasks = 1;
517
+ */
518
+ myTasks: Task[];
519
+
520
+ /**
521
+ * @generated from field: repeated api.v1.MentionItem mentions = 2;
522
+ */
523
+ mentions: MentionItem[];
524
+
525
+ /**
526
+ * @generated from field: repeated api.v1.TaskPullRequest my_prs = 3;
527
+ */
528
+ myPrs: TaskPullRequest[];
529
+ };
530
+
531
+ /**
532
+ * Describes the message api.v1.GetMyDashboardDataResponse.
533
+ * Use `create(GetMyDashboardDataResponseSchema)` to create a new message.
534
+ */
535
+ export declare const GetMyDashboardDataResponseSchema: GenMessage<GetMyDashboardDataResponse>;
536
+
537
+ /**
538
+ * @generated from message api.v1.GetMyVCSActivityRequest
539
+ */
540
+ export declare type GetMyVCSActivityRequest = Message<"api.v1.GetMyVCSActivityRequest"> & {
541
+ };
542
+
543
+ /**
544
+ * Describes the message api.v1.GetMyVCSActivityRequest.
545
+ * Use `create(GetMyVCSActivityRequestSchema)` to create a new message.
546
+ */
547
+ export declare const GetMyVCSActivityRequestSchema: GenMessage<GetMyVCSActivityRequest>;
548
+
549
+ /**
550
+ * @generated from message api.v1.GetMyVCSActivityResponse
551
+ */
552
+ export declare type GetMyVCSActivityResponse = Message<"api.v1.GetMyVCSActivityResponse"> & {
553
+ /**
554
+ * @generated from field: repeated api.v1.VCSPullRequest open_prs = 1;
555
+ */
556
+ openPrs: VCSPullRequest[];
557
+
558
+ /**
559
+ * @generated from field: repeated api.v1.VCSPullRequest review_requests = 2;
560
+ */
561
+ reviewRequests: VCSPullRequest[];
562
+ };
563
+
564
+ /**
565
+ * Describes the message api.v1.GetMyVCSActivityResponse.
566
+ * Use `create(GetMyVCSActivityResponseSchema)` to create a new message.
567
+ */
568
+ export declare const GetMyVCSActivityResponseSchema: GenMessage<GetMyVCSActivityResponse>;
569
+
570
+ /**
571
+ * @generated from service api.v1.DashboardService
572
+ */
573
+ export declare const DashboardService: GenService<{
574
+ /**
575
+ * @generated from rpc api.v1.DashboardService.GetMyDashboard
576
+ */
577
+ getMyDashboard: {
578
+ methodKind: "unary";
579
+ input: typeof GetMyDashboardRequestSchema;
580
+ output: typeof GetMyDashboardResponseSchema;
581
+ },
582
+ /**
583
+ * @generated from rpc api.v1.DashboardService.AddDashboardWidget
584
+ */
585
+ addDashboardWidget: {
586
+ methodKind: "unary";
587
+ input: typeof AddDashboardWidgetRequestSchema;
588
+ output: typeof AddDashboardWidgetResponseSchema;
589
+ },
590
+ /**
591
+ * @generated from rpc api.v1.DashboardService.UpdateDashboardWidget
592
+ */
593
+ updateDashboardWidget: {
594
+ methodKind: "unary";
595
+ input: typeof UpdateDashboardWidgetRequestSchema;
596
+ output: typeof UpdateDashboardWidgetResponseSchema;
597
+ },
598
+ /**
599
+ * @generated from rpc api.v1.DashboardService.RemoveDashboardWidget
600
+ */
601
+ removeDashboardWidget: {
602
+ methodKind: "unary";
603
+ input: typeof RemoveDashboardWidgetRequestSchema;
604
+ output: typeof EmptySchema;
605
+ },
606
+ /**
607
+ * @generated from rpc api.v1.DashboardService.ReorderDashboardWidgets
608
+ */
609
+ reorderDashboardWidgets: {
610
+ methodKind: "unary";
611
+ input: typeof ReorderDashboardWidgetsRequestSchema;
612
+ output: typeof EmptySchema;
613
+ },
614
+ /**
615
+ * @generated from rpc api.v1.DashboardService.ResetDashboard
616
+ */
617
+ resetDashboard: {
618
+ methodKind: "unary";
619
+ input: typeof ResetDashboardRequestSchema;
620
+ output: typeof GetMyDashboardResponseSchema;
621
+ },
622
+ /**
623
+ * @generated from rpc api.v1.DashboardService.GetMyDashboardData
624
+ */
625
+ getMyDashboardData: {
626
+ methodKind: "unary";
627
+ input: typeof GetMyDashboardDataRequestSchema;
628
+ output: typeof GetMyDashboardDataResponseSchema;
629
+ },
630
+ /**
631
+ * @generated from rpc api.v1.DashboardService.GetMyVCSActivity
632
+ */
633
+ getMyVCSActivity: {
634
+ methodKind: "unary";
635
+ input: typeof GetMyVCSActivityRequestSchema;
636
+ output: typeof GetMyVCSActivityResponseSchema;
637
+ },
638
+ }>;
639
+