@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.
Files changed (136) hide show
  1. package/bin/opsee-mcp.js +21 -0
  2. package/gen/api/v1/account_pb.d.ts +393 -0
  3. package/gen/api/v1/account_pb.js +111 -0
  4. package/gen/api/v1/activity_log_pb.d.ts +297 -0
  5. package/gen/api/v1/activity_log_pb.js +89 -0
  6. package/gen/api/v1/ai_run_status_pb.d.ts +237 -0
  7. package/gen/api/v1/ai_run_status_pb.js +89 -0
  8. package/gen/api/v1/ai_unit_category_pb.d.ts +237 -0
  9. package/gen/api/v1/ai_unit_category_pb.js +89 -0
  10. package/gen/api/v1/ai_unit_stage_pb.d.ts +347 -0
  11. package/gen/api/v1/ai_unit_stage_pb.js +117 -0
  12. package/gen/api/v1/ai_unit_status_pb.d.ts +237 -0
  13. package/gen/api/v1/ai_unit_status_pb.js +89 -0
  14. package/gen/api/v1/ai_workflow_run_pb.d.ts +542 -0
  15. package/gen/api/v1/ai_workflow_run_pb.js +159 -0
  16. package/gen/api/v1/ai_workflow_unit_pb.d.ts +431 -0
  17. package/gen/api/v1/ai_workflow_unit_pb.js +103 -0
  18. package/gen/api/v1/attachment_pb.d.ts +297 -0
  19. package/gen/api/v1/attachment_pb.js +89 -0
  20. package/gen/api/v1/billing_pb.d.ts +1206 -0
  21. package/gen/api/v1/billing_pb.js +288 -0
  22. package/gen/api/v1/board_column_pb.d.ts +282 -0
  23. package/gen/api/v1/board_column_pb.js +89 -0
  24. package/gen/api/v1/board_pb.d.ts +296 -0
  25. package/gen/api/v1/board_pb.js +96 -0
  26. package/gen/api/v1/comment_pb.d.ts +277 -0
  27. package/gen/api/v1/comment_pb.js +89 -0
  28. package/gen/api/v1/company_pb.d.ts +452 -0
  29. package/gen/api/v1/company_pb.js +110 -0
  30. package/gen/api/v1/component_pb.d.ts +267 -0
  31. package/gen/api/v1/component_pb.js +89 -0
  32. package/gen/api/v1/contact_pb.d.ts +58 -0
  33. package/gen/api/v1/contact_pb.js +28 -0
  34. package/gen/api/v1/country_pb.d.ts +257 -0
  35. package/gen/api/v1/country_pb.js +89 -0
  36. package/gen/api/v1/credit_transaction_pb.d.ts +277 -0
  37. package/gen/api/v1/credit_transaction_pb.js +89 -0
  38. package/gen/api/v1/cycle_pb.d.ts +281 -0
  39. package/gen/api/v1/cycle_pb.js +87 -0
  40. package/gen/api/v1/deployment_pb.d.ts +277 -0
  41. package/gen/api/v1/deployment_pb.js +89 -0
  42. package/gen/api/v1/doc_page_pb.d.ts +505 -0
  43. package/gen/api/v1/doc_page_pb.js +138 -0
  44. package/gen/api/v1/doc_page_version_pb.d.ts +287 -0
  45. package/gen/api/v1/doc_page_version_pb.js +89 -0
  46. package/gen/api/v1/doc_space_pb.d.ts +297 -0
  47. package/gen/api/v1/doc_space_pb.js +89 -0
  48. package/gen/api/v1/document_link_pb.d.ts +174 -0
  49. package/gen/api/v1/document_link_pb.js +61 -0
  50. package/gen/api/v1/document_pb.d.ts +548 -0
  51. package/gen/api/v1/document_pb.js +152 -0
  52. package/gen/api/v1/environment_pb.d.ts +277 -0
  53. package/gen/api/v1/environment_pb.js +89 -0
  54. package/gen/api/v1/filter_pb.d.ts +66 -0
  55. package/gen/api/v1/filter_pb.js +26 -0
  56. package/gen/api/v1/label_pb.d.ts +267 -0
  57. package/gen/api/v1/label_pb.js +89 -0
  58. package/gen/api/v1/models_pb.d.ts +3137 -0
  59. package/gen/api/v1/models_pb.js +357 -0
  60. package/gen/api/v1/notification_pb.d.ts +317 -0
  61. package/gen/api/v1/notification_pb.js +89 -0
  62. package/gen/api/v1/orchestrator_pb.d.ts +1813 -0
  63. package/gen/api/v1/orchestrator_pb.js +353 -0
  64. package/gen/api/v1/pagination_pb.d.ts +92 -0
  65. package/gen/api/v1/pagination_pb.js +33 -0
  66. package/gen/api/v1/permission_pb.d.ts +222 -0
  67. package/gen/api/v1/permission_pb.js +89 -0
  68. package/gen/api/v1/preference_pb.d.ts +109 -0
  69. package/gen/api/v1/preference_pb.js +42 -0
  70. package/gen/api/v1/project_membership_pb.d.ts +321 -0
  71. package/gen/api/v1/project_membership_pb.js +103 -0
  72. package/gen/api/v1/project_pb.d.ts +473 -0
  73. package/gen/api/v1/project_pb.js +145 -0
  74. package/gen/api/v1/reporting_pb.d.ts +1481 -0
  75. package/gen/api/v1/reporting_pb.js +373 -0
  76. package/gen/api/v1/role_pb.d.ts +252 -0
  77. package/gen/api/v1/role_pb.js +101 -0
  78. package/gen/api/v1/subscription_pb.d.ts +307 -0
  79. package/gen/api/v1/subscription_pb.js +89 -0
  80. package/gen/api/v1/swagger_pb.d.ts +11 -0
  81. package/gen/api/v1/swagger_pb.js +13 -0
  82. package/gen/api/v1/task_component_pb.d.ts +242 -0
  83. package/gen/api/v1/task_component_pb.js +89 -0
  84. package/gen/api/v1/task_contributor_pb.d.ts +252 -0
  85. package/gen/api/v1/task_contributor_pb.js +89 -0
  86. package/gen/api/v1/task_doc_page_pb.d.ts +186 -0
  87. package/gen/api/v1/task_doc_page_pb.js +73 -0
  88. package/gen/api/v1/task_document_pb.d.ts +186 -0
  89. package/gen/api/v1/task_document_pb.js +73 -0
  90. package/gen/api/v1/task_label_pb.d.ts +242 -0
  91. package/gen/api/v1/task_label_pb.js +89 -0
  92. package/gen/api/v1/task_pb.d.ts +780 -0
  93. package/gen/api/v1/task_pb.js +173 -0
  94. package/gen/api/v1/task_priority_pb.d.ts +267 -0
  95. package/gen/api/v1/task_priority_pb.js +89 -0
  96. package/gen/api/v1/task_repository_pb.d.ts +242 -0
  97. package/gen/api/v1/task_repository_pb.js +89 -0
  98. package/gen/api/v1/task_type_pb.d.ts +277 -0
  99. package/gen/api/v1/task_type_pb.js +89 -0
  100. package/gen/api/v1/test_run_pb.d.ts +277 -0
  101. package/gen/api/v1/test_run_pb.js +89 -0
  102. package/gen/api/v1/user_pb.d.ts +366 -0
  103. package/gen/api/v1/user_pb.js +117 -0
  104. package/gen/api/v1/vcs_connection_pb.d.ts +964 -0
  105. package/gen/api/v1/vcs_connection_pb.js +228 -0
  106. package/gen/api/v1/vcs_integration_pb.d.ts +479 -0
  107. package/gen/api/v1/vcs_integration_pb.js +125 -0
  108. package/gen/api/v1/vcs_pb.d.ts +36 -0
  109. package/gen/api/v1/vcs_pb.js +24 -0
  110. package/gen/api/v1/view_pb.d.ts +337 -0
  111. package/gen/api/v1/view_pb.js +102 -0
  112. package/gen/google/api/annotations_pb.d.ts +34 -0
  113. package/gen/google/api/annotations_pb.js +36 -0
  114. package/gen/google/api/http_pb.d.ts +477 -0
  115. package/gen/google/api/http_pb.js +47 -0
  116. package/gen/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
  117. package/gen/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
  118. package/gen/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
  119. package/gen/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
  120. package/gen/validate/validate_pb.d.ts +1953 -0
  121. package/gen/validate/validate_pb.js +223 -0
  122. package/package.json +37 -0
  123. package/src/auth/credentials.ts +65 -0
  124. package/src/auth/login.ts +96 -0
  125. package/src/auth/manager.ts +49 -0
  126. package/src/client/api.ts +91 -0
  127. package/src/index.ts +13 -0
  128. package/src/server.ts +26 -0
  129. package/src/tools/cycles.ts +77 -0
  130. package/src/tools/docs.ts +148 -0
  131. package/src/tools/projects.ts +40 -0
  132. package/src/tools/repositories.ts +41 -0
  133. package/src/tools/task-metadata.ts +96 -0
  134. package/src/tools/tasks.ts +228 -0
  135. package/src/tools/user.ts +33 -0
  136. package/src/utils/format.ts +141 -0
@@ -0,0 +1,479 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/vcs_integration.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 { VCSProvider } from "./vcs_pb";
8
+ import type { Pagination } from "./pagination_pb";
9
+ import type { FilterOptions } from "./filter_pb";
10
+ import type { VCSIntegration } from "./models_pb";
11
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
12
+
13
+ /**
14
+ * Describes the file api/v1/vcs_integration.proto.
15
+ */
16
+ export declare const file_api_v1_vcs_integration: GenFile;
17
+
18
+ /**
19
+ * Request definitions
20
+ *
21
+ * @generated from message api.v1.AddVCSIntegrationRequest
22
+ */
23
+ export declare type AddVCSIntegrationRequest = Message<"api.v1.AddVCSIntegrationRequest"> & {
24
+ /**
25
+ * @generated from field: string repo_owner = 1;
26
+ */
27
+ repoOwner: string;
28
+
29
+ /**
30
+ * @generated from field: string repo_name = 2;
31
+ */
32
+ repoName: string;
33
+
34
+ /**
35
+ * @generated from field: string token_encrypted = 3;
36
+ */
37
+ tokenEncrypted: string;
38
+
39
+ /**
40
+ * @generated from field: string default_branch = 4;
41
+ */
42
+ defaultBranch: string;
43
+
44
+ /**
45
+ * @generated from field: optional string webhook_secret = 5;
46
+ */
47
+ webhookSecret?: string;
48
+
49
+ /**
50
+ * @generated from field: optional string permissions_json = 6;
51
+ */
52
+ permissionsJson?: string;
53
+
54
+ /**
55
+ * @generated from field: bool is_active = 7;
56
+ */
57
+ isActive: boolean;
58
+
59
+ /**
60
+ * @generated from field: uint32 project_id = 8;
61
+ */
62
+ projectId: number;
63
+
64
+ /**
65
+ * @generated from field: api.v1.VCSProvider provider = 9;
66
+ */
67
+ provider: VCSProvider;
68
+ };
69
+
70
+ /**
71
+ * Describes the message api.v1.AddVCSIntegrationRequest.
72
+ * Use `create(AddVCSIntegrationRequestSchema)` to create a new message.
73
+ */
74
+ export declare const AddVCSIntegrationRequestSchema: GenMessage<AddVCSIntegrationRequest>;
75
+
76
+ /**
77
+ * @generated from message api.v1.EditVCSIntegrationRequest
78
+ */
79
+ export declare type EditVCSIntegrationRequest = Message<"api.v1.EditVCSIntegrationRequest"> & {
80
+ /**
81
+ * @generated from field: uint32 id = 1;
82
+ */
83
+ id: number;
84
+
85
+ /**
86
+ * @generated from field: string repo_owner = 2;
87
+ */
88
+ repoOwner: string;
89
+
90
+ /**
91
+ * @generated from field: string repo_name = 3;
92
+ */
93
+ repoName: string;
94
+
95
+ /**
96
+ * @generated from field: string token_encrypted = 4;
97
+ */
98
+ tokenEncrypted: string;
99
+
100
+ /**
101
+ * @generated from field: string default_branch = 5;
102
+ */
103
+ defaultBranch: string;
104
+
105
+ /**
106
+ * @generated from field: optional string webhook_secret = 6;
107
+ */
108
+ webhookSecret?: string;
109
+
110
+ /**
111
+ * @generated from field: optional string permissions_json = 7;
112
+ */
113
+ permissionsJson?: string;
114
+
115
+ /**
116
+ * @generated from field: bool is_active = 8;
117
+ */
118
+ isActive: boolean;
119
+
120
+ /**
121
+ * @generated from field: uint32 project_id = 9;
122
+ */
123
+ projectId: number;
124
+
125
+ /**
126
+ * @generated from field: api.v1.VCSProvider provider = 10;
127
+ */
128
+ provider: VCSProvider;
129
+ };
130
+
131
+ /**
132
+ * Describes the message api.v1.EditVCSIntegrationRequest.
133
+ * Use `create(EditVCSIntegrationRequestSchema)` to create a new message.
134
+ */
135
+ export declare const EditVCSIntegrationRequestSchema: GenMessage<EditVCSIntegrationRequest>;
136
+
137
+ /**
138
+ * @generated from message api.v1.GetVCSIntegrationRequest
139
+ */
140
+ export declare type GetVCSIntegrationRequest = Message<"api.v1.GetVCSIntegrationRequest"> & {
141
+ /**
142
+ * @generated from field: uint32 id = 1;
143
+ */
144
+ id: number;
145
+ };
146
+
147
+ /**
148
+ * Describes the message api.v1.GetVCSIntegrationRequest.
149
+ * Use `create(GetVCSIntegrationRequestSchema)` to create a new message.
150
+ */
151
+ export declare const GetVCSIntegrationRequestSchema: GenMessage<GetVCSIntegrationRequest>;
152
+
153
+ /**
154
+ * @generated from message api.v1.GetVCSIntegrationsRequest
155
+ */
156
+ export declare type GetVCSIntegrationsRequest = Message<"api.v1.GetVCSIntegrationsRequest"> & {
157
+ /**
158
+ * @generated from field: uint32 project_id = 1;
159
+ */
160
+ projectId: number;
161
+
162
+ /**
163
+ * @generated from field: api.v1.Pagination pagination = 2;
164
+ */
165
+ pagination?: Pagination;
166
+
167
+ /**
168
+ * @generated from field: api.v1.FilterOptions filter_options = 3;
169
+ */
170
+ filterOptions?: FilterOptions;
171
+ };
172
+
173
+ /**
174
+ * Describes the message api.v1.GetVCSIntegrationsRequest.
175
+ * Use `create(GetVCSIntegrationsRequestSchema)` to create a new message.
176
+ */
177
+ export declare const GetVCSIntegrationsRequestSchema: GenMessage<GetVCSIntegrationsRequest>;
178
+
179
+ /**
180
+ * @generated from message api.v1.DeleteVCSIntegrationRequest
181
+ */
182
+ export declare type DeleteVCSIntegrationRequest = Message<"api.v1.DeleteVCSIntegrationRequest"> & {
183
+ /**
184
+ * @generated from field: uint32 id = 1;
185
+ */
186
+ id: number;
187
+ };
188
+
189
+ /**
190
+ * Describes the message api.v1.DeleteVCSIntegrationRequest.
191
+ * Use `create(DeleteVCSIntegrationRequestSchema)` to create a new message.
192
+ */
193
+ export declare const DeleteVCSIntegrationRequestSchema: GenMessage<DeleteVCSIntegrationRequest>;
194
+
195
+ /**
196
+ * Response definitions
197
+ *
198
+ * @generated from message api.v1.GetVCSIntegrationsResponse
199
+ */
200
+ export declare type GetVCSIntegrationsResponse = Message<"api.v1.GetVCSIntegrationsResponse"> & {
201
+ /**
202
+ * @generated from field: repeated api.v1.VCSIntegration vcs_integrations = 1;
203
+ */
204
+ vcsIntegrations: VCSIntegration[];
205
+
206
+ /**
207
+ * @generated from field: api.v1.Pagination pagination = 2;
208
+ */
209
+ pagination?: Pagination;
210
+ };
211
+
212
+ /**
213
+ * Describes the message api.v1.GetVCSIntegrationsResponse.
214
+ * Use `create(GetVCSIntegrationsResponseSchema)` to create a new message.
215
+ */
216
+ export declare const GetVCSIntegrationsResponseSchema: GenMessage<GetVCSIntegrationsResponse>;
217
+
218
+ /**
219
+ * @generated from message api.v1.AddVCSIntegrationResponse
220
+ */
221
+ export declare type AddVCSIntegrationResponse = Message<"api.v1.AddVCSIntegrationResponse"> & {
222
+ /**
223
+ * @generated from field: api.v1.VCSIntegration vcs_integration = 1;
224
+ */
225
+ vcsIntegration?: VCSIntegration;
226
+ };
227
+
228
+ /**
229
+ * Describes the message api.v1.AddVCSIntegrationResponse.
230
+ * Use `create(AddVCSIntegrationResponseSchema)` to create a new message.
231
+ */
232
+ export declare const AddVCSIntegrationResponseSchema: GenMessage<AddVCSIntegrationResponse>;
233
+
234
+ /**
235
+ * @generated from message api.v1.EditVCSIntegrationResponse
236
+ */
237
+ export declare type EditVCSIntegrationResponse = Message<"api.v1.EditVCSIntegrationResponse"> & {
238
+ /**
239
+ * @generated from field: api.v1.VCSIntegration vcs_integration = 1;
240
+ */
241
+ vcsIntegration?: VCSIntegration;
242
+ };
243
+
244
+ /**
245
+ * Describes the message api.v1.EditVCSIntegrationResponse.
246
+ * Use `create(EditVCSIntegrationResponseSchema)` to create a new message.
247
+ */
248
+ export declare const EditVCSIntegrationResponseSchema: GenMessage<EditVCSIntegrationResponse>;
249
+
250
+ /**
251
+ * @generated from message api.v1.GetVCSIntegrationResponse
252
+ */
253
+ export declare type GetVCSIntegrationResponse = Message<"api.v1.GetVCSIntegrationResponse"> & {
254
+ /**
255
+ * @generated from field: api.v1.VCSIntegration vcs_integration = 1;
256
+ */
257
+ vcsIntegration?: VCSIntegration;
258
+ };
259
+
260
+ /**
261
+ * Describes the message api.v1.GetVCSIntegrationResponse.
262
+ * Use `create(GetVCSIntegrationResponseSchema)` to create a new message.
263
+ */
264
+ export declare const GetVCSIntegrationResponseSchema: GenMessage<GetVCSIntegrationResponse>;
265
+
266
+ /**
267
+ * @generated from message api.v1.GetRepositoryTreeRequest
268
+ */
269
+ export declare type GetRepositoryTreeRequest = Message<"api.v1.GetRepositoryTreeRequest"> & {
270
+ /**
271
+ * @generated from field: uint32 integration_id = 1;
272
+ */
273
+ integrationId: number;
274
+
275
+ /**
276
+ * @generated from field: string sha = 2;
277
+ */
278
+ sha: string;
279
+
280
+ /**
281
+ * @generated from field: bool recursive = 3;
282
+ */
283
+ recursive: boolean;
284
+ };
285
+
286
+ /**
287
+ * Describes the message api.v1.GetRepositoryTreeRequest.
288
+ * Use `create(GetRepositoryTreeRequestSchema)` to create a new message.
289
+ */
290
+ export declare const GetRepositoryTreeRequestSchema: GenMessage<GetRepositoryTreeRequest>;
291
+
292
+ /**
293
+ * @generated from message api.v1.RepositoryData
294
+ */
295
+ export declare type RepositoryData = Message<"api.v1.RepositoryData"> & {
296
+ /**
297
+ * @generated from field: string path = 1;
298
+ */
299
+ path: string;
300
+
301
+ /**
302
+ * @generated from field: string mode = 2;
303
+ */
304
+ mode: string;
305
+
306
+ /**
307
+ * @generated from field: string type = 3;
308
+ */
309
+ type: string;
310
+
311
+ /**
312
+ * @generated from field: string sha = 4;
313
+ */
314
+ sha: string;
315
+
316
+ /**
317
+ * @generated from field: int64 size = 5;
318
+ */
319
+ size: bigint;
320
+
321
+ /**
322
+ * @generated from field: string url = 6;
323
+ */
324
+ url: string;
325
+ };
326
+
327
+ /**
328
+ * Describes the message api.v1.RepositoryData.
329
+ * Use `create(RepositoryDataSchema)` to create a new message.
330
+ */
331
+ export declare const RepositoryDataSchema: GenMessage<RepositoryData>;
332
+
333
+ /**
334
+ * @generated from message api.v1.GetRepositoryTreeResponse
335
+ */
336
+ export declare type GetRepositoryTreeResponse = Message<"api.v1.GetRepositoryTreeResponse"> & {
337
+ /**
338
+ * @generated from field: repeated api.v1.RepositoryData tree = 1;
339
+ */
340
+ tree: RepositoryData[];
341
+ };
342
+
343
+ /**
344
+ * Describes the message api.v1.GetRepositoryTreeResponse.
345
+ * Use `create(GetRepositoryTreeResponseSchema)` to create a new message.
346
+ */
347
+ export declare const GetRepositoryTreeResponseSchema: GenMessage<GetRepositoryTreeResponse>;
348
+
349
+ /**
350
+ * @generated from message api.v1.GetFileContentRequest
351
+ */
352
+ export declare type GetFileContentRequest = Message<"api.v1.GetFileContentRequest"> & {
353
+ /**
354
+ * @generated from field: uint32 integration_id = 1;
355
+ */
356
+ integrationId: number;
357
+
358
+ /**
359
+ * @generated from field: string path = 2;
360
+ */
361
+ path: string;
362
+
363
+ /**
364
+ * @generated from field: string ref = 3;
365
+ */
366
+ ref: string;
367
+ };
368
+
369
+ /**
370
+ * Describes the message api.v1.GetFileContentRequest.
371
+ * Use `create(GetFileContentRequestSchema)` to create a new message.
372
+ */
373
+ export declare const GetFileContentRequestSchema: GenMessage<GetFileContentRequest>;
374
+
375
+ /**
376
+ * @generated from message api.v1.GetFileContentResponse
377
+ */
378
+ export declare type GetFileContentResponse = Message<"api.v1.GetFileContentResponse"> & {
379
+ /**
380
+ * @generated from field: string content = 1;
381
+ */
382
+ content: string;
383
+
384
+ /**
385
+ * @generated from field: string encoding = 2;
386
+ */
387
+ encoding: string;
388
+
389
+ /**
390
+ * @generated from field: string name = 3;
391
+ */
392
+ name: string;
393
+
394
+ /**
395
+ * @generated from field: string path = 4;
396
+ */
397
+ path: string;
398
+
399
+ /**
400
+ * @generated from field: int64 size = 5;
401
+ */
402
+ size: bigint;
403
+
404
+ /**
405
+ * @generated from field: string sha = 6;
406
+ */
407
+ sha: string;
408
+ };
409
+
410
+ /**
411
+ * Describes the message api.v1.GetFileContentResponse.
412
+ * Use `create(GetFileContentResponseSchema)` to create a new message.
413
+ */
414
+ export declare const GetFileContentResponseSchema: GenMessage<GetFileContentResponse>;
415
+
416
+ /**
417
+ * Service definition
418
+ *
419
+ * @generated from service api.v1.VCSIntegrationService
420
+ */
421
+ export declare const VCSIntegrationService: GenService<{
422
+ /**
423
+ * @generated from rpc api.v1.VCSIntegrationService.AddVCSIntegration
424
+ */
425
+ addVCSIntegration: {
426
+ methodKind: "unary";
427
+ input: typeof AddVCSIntegrationRequestSchema;
428
+ output: typeof AddVCSIntegrationResponseSchema;
429
+ },
430
+ /**
431
+ * @generated from rpc api.v1.VCSIntegrationService.EditVCSIntegration
432
+ */
433
+ editVCSIntegration: {
434
+ methodKind: "unary";
435
+ input: typeof EditVCSIntegrationRequestSchema;
436
+ output: typeof EditVCSIntegrationResponseSchema;
437
+ },
438
+ /**
439
+ * @generated from rpc api.v1.VCSIntegrationService.GetVCSIntegration
440
+ */
441
+ getVCSIntegration: {
442
+ methodKind: "unary";
443
+ input: typeof GetVCSIntegrationRequestSchema;
444
+ output: typeof GetVCSIntegrationResponseSchema;
445
+ },
446
+ /**
447
+ * @generated from rpc api.v1.VCSIntegrationService.GetVCSIntegrations
448
+ */
449
+ getVCSIntegrations: {
450
+ methodKind: "unary";
451
+ input: typeof GetVCSIntegrationsRequestSchema;
452
+ output: typeof GetVCSIntegrationsResponseSchema;
453
+ },
454
+ /**
455
+ * @generated from rpc api.v1.VCSIntegrationService.DeleteVCSIntegration
456
+ */
457
+ deleteVCSIntegration: {
458
+ methodKind: "unary";
459
+ input: typeof DeleteVCSIntegrationRequestSchema;
460
+ output: typeof EmptySchema;
461
+ },
462
+ /**
463
+ * @generated from rpc api.v1.VCSIntegrationService.GetRepositoryTree
464
+ */
465
+ getRepositoryTree: {
466
+ methodKind: "unary";
467
+ input: typeof GetRepositoryTreeRequestSchema;
468
+ output: typeof GetRepositoryTreeResponseSchema;
469
+ },
470
+ /**
471
+ * @generated from rpc api.v1.VCSIntegrationService.GetFileContent
472
+ */
473
+ getFileContent: {
474
+ methodKind: "unary";
475
+ input: typeof GetFileContentRequestSchema;
476
+ output: typeof GetFileContentResponseSchema;
477
+ },
478
+ }>;
479
+
@@ -0,0 +1,125 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/vcs_integration.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
+ import { file_api_v1_vcs } from "./vcs_pb";
13
+
14
+ /**
15
+ * Describes the file api/v1/vcs_integration.proto.
16
+ */
17
+ export const file_api_v1_vcs_integration = /*@__PURE__*/
18
+ fileDesc("ChxhcGkvdjEvdmNzX2ludGVncmF0aW9uLnByb3RvEgZhcGkudjEiyAIKGEFkZFZDU0ludGVncmF0aW9uUmVxdWVzdBIbCgpyZXBvX293bmVyGAEgASgJQgf6QgRyAhABEhoKCXJlcG9fbmFtZRgCIAEoCUIH+kIEcgIQARIgCg90b2tlbl9lbmNyeXB0ZWQYAyABKAlCB/pCBHICEAESHwoOZGVmYXVsdF9icmFuY2gYBCABKAlCB/pCBHICEAESGwoOd2ViaG9va19zZWNyZXQYBSABKAlIAIgBARIdChBwZXJtaXNzaW9uc19qc29uGAYgASgJSAGIAQESEQoJaXNfYWN0aXZlGAcgASgIEhIKCnByb2plY3RfaWQYCCABKA0SJQoIcHJvdmlkZXIYCSABKA4yEy5hcGkudjEuVkNTUHJvdmlkZXJCEQoPX3dlYmhvb2tfc2VjcmV0QhMKEV9wZXJtaXNzaW9uc19qc29uIt4CChlFZGl0VkNTSW50ZWdyYXRpb25SZXF1ZXN0EhMKAmlkGAEgASgNQgf6QgQqAigBEhsKCnJlcG9fb3duZXIYAiABKAlCB/pCBHICEAESGgoJcmVwb19uYW1lGAMgASgJQgf6QgRyAhABEiAKD3Rva2VuX2VuY3J5cHRlZBgEIAEoCUIH+kIEcgIQARIfCg5kZWZhdWx0X2JyYW5jaBgFIAEoCUIH+kIEcgIQARIbCg53ZWJob29rX3NlY3JldBgGIAEoCUgAiAEBEh0KEHBlcm1pc3Npb25zX2pzb24YByABKAlIAYgBARIRCglpc19hY3RpdmUYCCABKAgSEgoKcHJvamVjdF9pZBgJIAEoDRIlCghwcm92aWRlchgKIAEoDjITLmFwaS52MS5WQ1NQcm92aWRlckIRCg9fd2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T5JMCGhIYL2FwaS92MS92Y3NfaW50ZWdyYXRpb25zEnoKFERlbGV0ZVZDU0ludGVncmF0aW9uEiMuYXBpLnYxLkRlbGV0ZVZDU0ludGVncmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIlgtPkkwIfKh0vYXBpL3YxL3Zjc19pbnRlZ3JhdGlvbnMve2lkfRKQAQoRR2V0UmVwb3NpdG9yeVRyZWUSIC5hcGkudjEuR2V0UmVwb3NpdG9yeVRyZWVSZXF1ZXN0GiEuYXBpLnYxLkdldFJlcG9zaXRvcnlUcmVlUmVzcG9uc2UiNoLT5JMCMBIuL2FwaS92MS92Y3NfaW50ZWdyYXRpb25zL3tpbnRlZ3JhdGlvbl9pZH0vdHJlZRKSAQoOR2V0RmlsZUNvbnRlbnQSHS5hcGkudjEuR2V0RmlsZUNvbnRlbnRSZXF1ZXN0Gh4uYXBpLnYxLkdldEZpbGVDb250ZW50UmVzcG9uc2UiQYLT5JMCOxI5L2FwaS92MS92Y3NfaW50ZWdyYXRpb25zL3tpbnRlZ3JhdGlvbl9pZH0vZmlsZXMve3BhdGg9Kip9QngKCmNvbS5hcGkudjFCE1Zjc0ludGVncmF0aW9uUHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [file_google_protobuf_empty, file_google_api_annotations, file_validate_validate, file_api_v1_pagination, file_api_v1_filter, file_api_v1_models, file_api_v1_vcs]);
19
+
20
+ /**
21
+ * Describes the message api.v1.AddVCSIntegrationRequest.
22
+ * Use `create(AddVCSIntegrationRequestSchema)` to create a new message.
23
+ */
24
+ export const AddVCSIntegrationRequestSchema = /*@__PURE__*/
25
+ messageDesc(file_api_v1_vcs_integration, 0);
26
+
27
+ /**
28
+ * Describes the message api.v1.EditVCSIntegrationRequest.
29
+ * Use `create(EditVCSIntegrationRequestSchema)` to create a new message.
30
+ */
31
+ export const EditVCSIntegrationRequestSchema = /*@__PURE__*/
32
+ messageDesc(file_api_v1_vcs_integration, 1);
33
+
34
+ /**
35
+ * Describes the message api.v1.GetVCSIntegrationRequest.
36
+ * Use `create(GetVCSIntegrationRequestSchema)` to create a new message.
37
+ */
38
+ export const GetVCSIntegrationRequestSchema = /*@__PURE__*/
39
+ messageDesc(file_api_v1_vcs_integration, 2);
40
+
41
+ /**
42
+ * Describes the message api.v1.GetVCSIntegrationsRequest.
43
+ * Use `create(GetVCSIntegrationsRequestSchema)` to create a new message.
44
+ */
45
+ export const GetVCSIntegrationsRequestSchema = /*@__PURE__*/
46
+ messageDesc(file_api_v1_vcs_integration, 3);
47
+
48
+ /**
49
+ * Describes the message api.v1.DeleteVCSIntegrationRequest.
50
+ * Use `create(DeleteVCSIntegrationRequestSchema)` to create a new message.
51
+ */
52
+ export const DeleteVCSIntegrationRequestSchema = /*@__PURE__*/
53
+ messageDesc(file_api_v1_vcs_integration, 4);
54
+
55
+ /**
56
+ * Describes the message api.v1.GetVCSIntegrationsResponse.
57
+ * Use `create(GetVCSIntegrationsResponseSchema)` to create a new message.
58
+ */
59
+ export const GetVCSIntegrationsResponseSchema = /*@__PURE__*/
60
+ messageDesc(file_api_v1_vcs_integration, 5);
61
+
62
+ /**
63
+ * Describes the message api.v1.AddVCSIntegrationResponse.
64
+ * Use `create(AddVCSIntegrationResponseSchema)` to create a new message.
65
+ */
66
+ export const AddVCSIntegrationResponseSchema = /*@__PURE__*/
67
+ messageDesc(file_api_v1_vcs_integration, 6);
68
+
69
+ /**
70
+ * Describes the message api.v1.EditVCSIntegrationResponse.
71
+ * Use `create(EditVCSIntegrationResponseSchema)` to create a new message.
72
+ */
73
+ export const EditVCSIntegrationResponseSchema = /*@__PURE__*/
74
+ messageDesc(file_api_v1_vcs_integration, 7);
75
+
76
+ /**
77
+ * Describes the message api.v1.GetVCSIntegrationResponse.
78
+ * Use `create(GetVCSIntegrationResponseSchema)` to create a new message.
79
+ */
80
+ export const GetVCSIntegrationResponseSchema = /*@__PURE__*/
81
+ messageDesc(file_api_v1_vcs_integration, 8);
82
+
83
+ /**
84
+ * Describes the message api.v1.GetRepositoryTreeRequest.
85
+ * Use `create(GetRepositoryTreeRequestSchema)` to create a new message.
86
+ */
87
+ export const GetRepositoryTreeRequestSchema = /*@__PURE__*/
88
+ messageDesc(file_api_v1_vcs_integration, 9);
89
+
90
+ /**
91
+ * Describes the message api.v1.RepositoryData.
92
+ * Use `create(RepositoryDataSchema)` to create a new message.
93
+ */
94
+ export const RepositoryDataSchema = /*@__PURE__*/
95
+ messageDesc(file_api_v1_vcs_integration, 10);
96
+
97
+ /**
98
+ * Describes the message api.v1.GetRepositoryTreeResponse.
99
+ * Use `create(GetRepositoryTreeResponseSchema)` to create a new message.
100
+ */
101
+ export const GetRepositoryTreeResponseSchema = /*@__PURE__*/
102
+ messageDesc(file_api_v1_vcs_integration, 11);
103
+
104
+ /**
105
+ * Describes the message api.v1.GetFileContentRequest.
106
+ * Use `create(GetFileContentRequestSchema)` to create a new message.
107
+ */
108
+ export const GetFileContentRequestSchema = /*@__PURE__*/
109
+ messageDesc(file_api_v1_vcs_integration, 12);
110
+
111
+ /**
112
+ * Describes the message api.v1.GetFileContentResponse.
113
+ * Use `create(GetFileContentResponseSchema)` to create a new message.
114
+ */
115
+ export const GetFileContentResponseSchema = /*@__PURE__*/
116
+ messageDesc(file_api_v1_vcs_integration, 13);
117
+
118
+ /**
119
+ * Service definition
120
+ *
121
+ * @generated from service api.v1.VCSIntegrationService
122
+ */
123
+ export const VCSIntegrationService = /*@__PURE__*/
124
+ serviceDesc(file_api_v1_vcs_integration, 0);
125
+
@@ -0,0 +1,36 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/vcs.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
6
+
7
+ /**
8
+ * Describes the file api/v1/vcs.proto.
9
+ */
10
+ export declare const file_api_v1_vcs: GenFile;
11
+
12
+ /**
13
+ * @generated from enum api.v1.VCSProvider
14
+ */
15
+ export enum VCSProvider {
16
+ /**
17
+ * @generated from enum value: VCS_PROVIDER_UNSPECIFIED = 0;
18
+ */
19
+ VCS_PROVIDER_UNSPECIFIED = 0,
20
+
21
+ /**
22
+ * @generated from enum value: VCS_PROVIDER_GITHUB = 1;
23
+ */
24
+ VCS_PROVIDER_GITHUB = 1,
25
+
26
+ /**
27
+ * @generated from enum value: VCS_PROVIDER_GITLAB = 2;
28
+ */
29
+ VCS_PROVIDER_GITLAB = 2,
30
+ }
31
+
32
+ /**
33
+ * Describes the enum api.v1.VCSProvider.
34
+ */
35
+ export declare const VCSProviderSchema: GenEnum<VCSProvider>;
36
+
@@ -0,0 +1,24 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/vcs.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv1";
6
+
7
+ /**
8
+ * Describes the file api/v1/vcs.proto.
9
+ */
10
+ export const file_api_v1_vcs = /*@__PURE__*/
11
+ fileDesc("ChBhcGkvdjEvdmNzLnByb3RvEgZhcGkudjEqXQoLVkNTUHJvdmlkZXISHAoYVkNTX1BST1ZJREVSX1VOU1BFQ0lGSUVEEAASFwoTVkNTX1BST1ZJREVSX0dJVEhVQhABEhcKE1ZDU19QUk9WSURFUl9HSVRMQUIQAkJtCgpjb20uYXBpLnYxQghWY3NQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z");
12
+
13
+ /**
14
+ * Describes the enum api.v1.VCSProvider.
15
+ */
16
+ export const VCSProviderSchema = /*@__PURE__*/
17
+ enumDesc(file_api_v1_vcs, 0);
18
+
19
+ /**
20
+ * @generated from enum api.v1.VCSProvider
21
+ */
22
+ export const VCSProvider = /*@__PURE__*/
23
+ tsEnum(VCSProviderSchema);
24
+