@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,297 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/doc_space.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 { DocSpace } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/doc_space.proto.
14
+ */
15
+ export declare const file_api_v1_doc_space: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddDocSpaceRequest
21
+ */
22
+ export declare type AddDocSpaceRequest = Message<"api.v1.AddDocSpaceRequest"> & {
23
+ /**
24
+ * @generated from field: string title = 1;
25
+ */
26
+ title: string;
27
+
28
+ /**
29
+ * @generated from field: string slug = 2;
30
+ */
31
+ slug: string;
32
+
33
+ /**
34
+ * @generated from field: optional string description = 3;
35
+ */
36
+ description?: string;
37
+
38
+ /**
39
+ * @generated from field: bool is_default = 4;
40
+ */
41
+ isDefault: boolean;
42
+
43
+ /**
44
+ * @generated from field: bool is_archived = 5;
45
+ */
46
+ isArchived: boolean;
47
+
48
+ /**
49
+ * @generated from field: uint32 project_id = 6;
50
+ */
51
+ projectId: number;
52
+
53
+ /**
54
+ * @generated from field: uint32 created_by_user_id = 7;
55
+ */
56
+ createdByUserId: number;
57
+
58
+ /**
59
+ * @generated from field: uint32 updated_by_user_id = 8;
60
+ */
61
+ updatedByUserId: number;
62
+ };
63
+
64
+ /**
65
+ * Describes the message api.v1.AddDocSpaceRequest.
66
+ * Use `create(AddDocSpaceRequestSchema)` to create a new message.
67
+ */
68
+ export declare const AddDocSpaceRequestSchema: GenMessage<AddDocSpaceRequest>;
69
+
70
+ /**
71
+ * @generated from message api.v1.EditDocSpaceRequest
72
+ */
73
+ export declare type EditDocSpaceRequest = Message<"api.v1.EditDocSpaceRequest"> & {
74
+ /**
75
+ * @generated from field: uint32 id = 1;
76
+ */
77
+ id: number;
78
+
79
+ /**
80
+ * @generated from field: string title = 2;
81
+ */
82
+ title: string;
83
+
84
+ /**
85
+ * @generated from field: string slug = 3;
86
+ */
87
+ slug: string;
88
+
89
+ /**
90
+ * @generated from field: optional string description = 4;
91
+ */
92
+ description?: string;
93
+
94
+ /**
95
+ * @generated from field: bool is_default = 5;
96
+ */
97
+ isDefault: boolean;
98
+
99
+ /**
100
+ * @generated from field: bool is_archived = 6;
101
+ */
102
+ isArchived: boolean;
103
+
104
+ /**
105
+ * @generated from field: uint32 project_id = 7;
106
+ */
107
+ projectId: number;
108
+
109
+ /**
110
+ * @generated from field: uint32 created_by_user_id = 8;
111
+ */
112
+ createdByUserId: number;
113
+
114
+ /**
115
+ * @generated from field: uint32 updated_by_user_id = 9;
116
+ */
117
+ updatedByUserId: number;
118
+ };
119
+
120
+ /**
121
+ * Describes the message api.v1.EditDocSpaceRequest.
122
+ * Use `create(EditDocSpaceRequestSchema)` to create a new message.
123
+ */
124
+ export declare const EditDocSpaceRequestSchema: GenMessage<EditDocSpaceRequest>;
125
+
126
+ /**
127
+ * @generated from message api.v1.GetDocSpaceRequest
128
+ */
129
+ export declare type GetDocSpaceRequest = Message<"api.v1.GetDocSpaceRequest"> & {
130
+ /**
131
+ * @generated from field: uint32 id = 1;
132
+ */
133
+ id: number;
134
+ };
135
+
136
+ /**
137
+ * Describes the message api.v1.GetDocSpaceRequest.
138
+ * Use `create(GetDocSpaceRequestSchema)` to create a new message.
139
+ */
140
+ export declare const GetDocSpaceRequestSchema: GenMessage<GetDocSpaceRequest>;
141
+
142
+ /**
143
+ * @generated from message api.v1.GetDocSpacesRequest
144
+ */
145
+ export declare type GetDocSpacesRequest = Message<"api.v1.GetDocSpacesRequest"> & {
146
+ /**
147
+ * @generated from field: api.v1.Pagination pagination = 1;
148
+ */
149
+ pagination?: Pagination;
150
+
151
+ /**
152
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
153
+ */
154
+ filterOptions?: FilterOptions;
155
+ };
156
+
157
+ /**
158
+ * Describes the message api.v1.GetDocSpacesRequest.
159
+ * Use `create(GetDocSpacesRequestSchema)` to create a new message.
160
+ */
161
+ export declare const GetDocSpacesRequestSchema: GenMessage<GetDocSpacesRequest>;
162
+
163
+ /**
164
+ * @generated from message api.v1.DeleteDocSpaceRequest
165
+ */
166
+ export declare type DeleteDocSpaceRequest = Message<"api.v1.DeleteDocSpaceRequest"> & {
167
+ /**
168
+ * @generated from field: uint32 id = 1;
169
+ */
170
+ id: number;
171
+ };
172
+
173
+ /**
174
+ * Describes the message api.v1.DeleteDocSpaceRequest.
175
+ * Use `create(DeleteDocSpaceRequestSchema)` to create a new message.
176
+ */
177
+ export declare const DeleteDocSpaceRequestSchema: GenMessage<DeleteDocSpaceRequest>;
178
+
179
+ /**
180
+ * Response definitions
181
+ *
182
+ * @generated from message api.v1.GetDocSpacesResponse
183
+ */
184
+ export declare type GetDocSpacesResponse = Message<"api.v1.GetDocSpacesResponse"> & {
185
+ /**
186
+ * @generated from field: repeated api.v1.DocSpace doc_spaces = 1;
187
+ */
188
+ docSpaces: DocSpace[];
189
+
190
+ /**
191
+ * @generated from field: api.v1.Pagination pagination = 2;
192
+ */
193
+ pagination?: Pagination;
194
+ };
195
+
196
+ /**
197
+ * Describes the message api.v1.GetDocSpacesResponse.
198
+ * Use `create(GetDocSpacesResponseSchema)` to create a new message.
199
+ */
200
+ export declare const GetDocSpacesResponseSchema: GenMessage<GetDocSpacesResponse>;
201
+
202
+ /**
203
+ * @generated from message api.v1.AddDocSpaceResponse
204
+ */
205
+ export declare type AddDocSpaceResponse = Message<"api.v1.AddDocSpaceResponse"> & {
206
+ /**
207
+ * @generated from field: api.v1.DocSpace doc_space = 1;
208
+ */
209
+ docSpace?: DocSpace;
210
+ };
211
+
212
+ /**
213
+ * Describes the message api.v1.AddDocSpaceResponse.
214
+ * Use `create(AddDocSpaceResponseSchema)` to create a new message.
215
+ */
216
+ export declare const AddDocSpaceResponseSchema: GenMessage<AddDocSpaceResponse>;
217
+
218
+ /**
219
+ * @generated from message api.v1.EditDocSpaceResponse
220
+ */
221
+ export declare type EditDocSpaceResponse = Message<"api.v1.EditDocSpaceResponse"> & {
222
+ /**
223
+ * @generated from field: api.v1.DocSpace doc_space = 1;
224
+ */
225
+ docSpace?: DocSpace;
226
+ };
227
+
228
+ /**
229
+ * Describes the message api.v1.EditDocSpaceResponse.
230
+ * Use `create(EditDocSpaceResponseSchema)` to create a new message.
231
+ */
232
+ export declare const EditDocSpaceResponseSchema: GenMessage<EditDocSpaceResponse>;
233
+
234
+ /**
235
+ * @generated from message api.v1.GetDocSpaceResponse
236
+ */
237
+ export declare type GetDocSpaceResponse = Message<"api.v1.GetDocSpaceResponse"> & {
238
+ /**
239
+ * @generated from field: api.v1.DocSpace doc_space = 1;
240
+ */
241
+ docSpace?: DocSpace;
242
+ };
243
+
244
+ /**
245
+ * Describes the message api.v1.GetDocSpaceResponse.
246
+ * Use `create(GetDocSpaceResponseSchema)` to create a new message.
247
+ */
248
+ export declare const GetDocSpaceResponseSchema: GenMessage<GetDocSpaceResponse>;
249
+
250
+ /**
251
+ * Service definition
252
+ *
253
+ * @generated from service api.v1.DocSpaceService
254
+ */
255
+ export declare const DocSpaceService: GenService<{
256
+ /**
257
+ * @generated from rpc api.v1.DocSpaceService.AddDocSpace
258
+ */
259
+ addDocSpace: {
260
+ methodKind: "unary";
261
+ input: typeof AddDocSpaceRequestSchema;
262
+ output: typeof AddDocSpaceResponseSchema;
263
+ },
264
+ /**
265
+ * @generated from rpc api.v1.DocSpaceService.EditDocSpace
266
+ */
267
+ editDocSpace: {
268
+ methodKind: "unary";
269
+ input: typeof EditDocSpaceRequestSchema;
270
+ output: typeof EditDocSpaceResponseSchema;
271
+ },
272
+ /**
273
+ * @generated from rpc api.v1.DocSpaceService.GetDocSpace
274
+ */
275
+ getDocSpace: {
276
+ methodKind: "unary";
277
+ input: typeof GetDocSpaceRequestSchema;
278
+ output: typeof GetDocSpaceResponseSchema;
279
+ },
280
+ /**
281
+ * @generated from rpc api.v1.DocSpaceService.GetDocSpaces
282
+ */
283
+ getDocSpaces: {
284
+ methodKind: "unary";
285
+ input: typeof GetDocSpacesRequestSchema;
286
+ output: typeof GetDocSpacesResponseSchema;
287
+ },
288
+ /**
289
+ * @generated from rpc api.v1.DocSpaceService.DeleteDocSpace
290
+ */
291
+ deleteDocSpace: {
292
+ methodKind: "unary";
293
+ input: typeof DeleteDocSpaceRequestSchema;
294
+ output: typeof EmptySchema;
295
+ },
296
+ }>;
297
+
@@ -0,0 +1,89 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/doc_space.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/doc_space.proto.
15
+ */
16
+ export const file_api_v1_doc_space = /*@__PURE__*/
17
+ fileDesc("ChZhcGkvdjEvZG9jX3NwYWNlLnByb3RvEgZhcGkudjEi4gEKEkFkZERvY1NwYWNlUmVxdWVzdBIWCgV0aXRsZRgBIAEoCUIH+kIEcgIQARIVCgRzbHVnGAIgASgJQgf6QgRyAhABEhgKC2Rlc2NyaXB0aW9uGAMgASgJSACIAQESEgoKaXNfZGVmYXVsdBgEIAEoCBITCgtpc19hcmNoaXZlZBgFIAEoCBISCgpwcm9qZWN0X2lkGAYgASgNEhoKEmNyZWF0ZWRfYnlfdXNlcl9pZBgHIAEoDRIaChJ1cGRhdGVkX2J5X3VzZXJfaWQYCCABKA1CDgoMX2Rlc2NyaXB0aW9uIvgBChNFZGl0RG9jU3BhY2VSZXF1ZXN0EhMKAmlkGAEgASgNQgf6QgQqAigBEhYKBXRpdGxlGAIgASgJQgf6QgRyAhABEhUKBHNsdWcYAyABKAlCB/pCBHICEAESGAoLZGVzY3JpcHRpb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WNlUmVzcG9uc2UiIoLT5JMCHDoBKhoXL2FwaS92MS9kb2Nfc3BhY2VzL3tpZH0SZwoLR2V0RG9jU3BhY2USGi5hcGkudjEuR2V0RG9jU3BhY2VSZXF1ZXN0GhsuYXBpLnYxLkdldERvY1NwYWNlUmVzcG9uc2UiH4LT5JMCGRIXL2FwaS92MS9kb2Nfc3BhY2VzL3tpZH0SZQoMR2V0RG9jU3BhY2VzEhsuYXBpLnYxLkdldERvY1NwYWNlc1JlcXVlc3QaHC5hcGkudjEuR2V0RG9jU3BhY2VzUmVzcG9uc2UiGoLT5JMCFBISL2FwaS92MS9kb2Nfc3BhY2VzEmgKDkRlbGV0ZURvY1NwYWNlEh0uYXBpLnYxLkRlbGV0ZURvY1NwYWNlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIfgtPkkwIZKhcvYXBpL3YxL2RvY19zcGFjZXMve2lkfUJyCgpjb20uYXBpLnYxQg1Eb2NTcGFjZVByb3RvUAFaHG9wc2VlL2JhY2tlbmQvZ2VuL2FwaS92MTtnZW6iAgNBWFiqAgZBcGkuVjHKAgZBcGlcVjHiAhJBcGlcVjFcR1BCTWV0YWRhdGHqAgdBcGk6OlYxYgZwcm90bzM", [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.AddDocSpaceRequest.
21
+ * Use `create(AddDocSpaceRequestSchema)` to create a new message.
22
+ */
23
+ export const AddDocSpaceRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_doc_space, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditDocSpaceRequest.
28
+ * Use `create(EditDocSpaceRequestSchema)` to create a new message.
29
+ */
30
+ export const EditDocSpaceRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_doc_space, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetDocSpaceRequest.
35
+ * Use `create(GetDocSpaceRequestSchema)` to create a new message.
36
+ */
37
+ export const GetDocSpaceRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_doc_space, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetDocSpacesRequest.
42
+ * Use `create(GetDocSpacesRequestSchema)` to create a new message.
43
+ */
44
+ export const GetDocSpacesRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_doc_space, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteDocSpaceRequest.
49
+ * Use `create(DeleteDocSpaceRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteDocSpaceRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_doc_space, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetDocSpacesResponse.
56
+ * Use `create(GetDocSpacesResponseSchema)` to create a new message.
57
+ */
58
+ export const GetDocSpacesResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_doc_space, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddDocSpaceResponse.
63
+ * Use `create(AddDocSpaceResponseSchema)` to create a new message.
64
+ */
65
+ export const AddDocSpaceResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_doc_space, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditDocSpaceResponse.
70
+ * Use `create(EditDocSpaceResponseSchema)` to create a new message.
71
+ */
72
+ export const EditDocSpaceResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_doc_space, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetDocSpaceResponse.
77
+ * Use `create(GetDocSpaceResponseSchema)` to create a new message.
78
+ */
79
+ export const GetDocSpaceResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_doc_space, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.DocSpaceService
86
+ */
87
+ export const DocSpaceService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_doc_space, 0);
89
+
@@ -0,0 +1,174 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/document_link.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 { DocumentLink } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/document_link.proto.
14
+ */
15
+ export declare const file_api_v1_document_link: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddDocumentLinkRequest
21
+ */
22
+ export declare type AddDocumentLinkRequest = Message<"api.v1.AddDocumentLinkRequest"> & {
23
+ /**
24
+ * task, project, etc.
25
+ *
26
+ * @generated from field: string link_kind = 1;
27
+ */
28
+ linkKind: string;
29
+
30
+ /**
31
+ * @generated from field: uint32 link_id = 2;
32
+ */
33
+ linkId: number;
34
+
35
+ /**
36
+ * @generated from field: uint32 document_id = 3;
37
+ */
38
+ documentId: number;
39
+
40
+ /**
41
+ * @generated from field: uint32 company_id = 4;
42
+ */
43
+ companyId: number;
44
+ };
45
+
46
+ /**
47
+ * Describes the message api.v1.AddDocumentLinkRequest.
48
+ * Use `create(AddDocumentLinkRequestSchema)` to create a new message.
49
+ */
50
+ export declare const AddDocumentLinkRequestSchema: GenMessage<AddDocumentLinkRequest>;
51
+
52
+ /**
53
+ * @generated from message api.v1.DeleteDocumentLinkRequest
54
+ */
55
+ export declare type DeleteDocumentLinkRequest = Message<"api.v1.DeleteDocumentLinkRequest"> & {
56
+ /**
57
+ * @generated from field: uint32 id = 1;
58
+ */
59
+ id: number;
60
+ };
61
+
62
+ /**
63
+ * Describes the message api.v1.DeleteDocumentLinkRequest.
64
+ * Use `create(DeleteDocumentLinkRequestSchema)` to create a new message.
65
+ */
66
+ export declare const DeleteDocumentLinkRequestSchema: GenMessage<DeleteDocumentLinkRequest>;
67
+
68
+ /**
69
+ * @generated from message api.v1.GetDocumentLinksRequest
70
+ */
71
+ export declare type GetDocumentLinksRequest = Message<"api.v1.GetDocumentLinksRequest"> & {
72
+ /**
73
+ * @generated from field: api.v1.Pagination pagination = 1;
74
+ */
75
+ pagination?: Pagination;
76
+
77
+ /**
78
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
79
+ */
80
+ filterOptions?: FilterOptions;
81
+
82
+ /**
83
+ * @generated from field: optional string link_kind = 3;
84
+ */
85
+ linkKind?: string;
86
+
87
+ /**
88
+ * @generated from field: optional uint32 link_id = 4;
89
+ */
90
+ linkId?: number;
91
+
92
+ /**
93
+ * @generated from field: optional uint32 document_id = 5;
94
+ */
95
+ documentId?: number;
96
+ };
97
+
98
+ /**
99
+ * Describes the message api.v1.GetDocumentLinksRequest.
100
+ * Use `create(GetDocumentLinksRequestSchema)` to create a new message.
101
+ */
102
+ export declare const GetDocumentLinksRequestSchema: GenMessage<GetDocumentLinksRequest>;
103
+
104
+ /**
105
+ * Response definitions
106
+ *
107
+ * @generated from message api.v1.GetDocumentLinksResponse
108
+ */
109
+ export declare type GetDocumentLinksResponse = Message<"api.v1.GetDocumentLinksResponse"> & {
110
+ /**
111
+ * @generated from field: repeated api.v1.DocumentLink document_links = 1;
112
+ */
113
+ documentLinks: DocumentLink[];
114
+
115
+ /**
116
+ * @generated from field: api.v1.Pagination pagination = 2;
117
+ */
118
+ pagination?: Pagination;
119
+ };
120
+
121
+ /**
122
+ * Describes the message api.v1.GetDocumentLinksResponse.
123
+ * Use `create(GetDocumentLinksResponseSchema)` to create a new message.
124
+ */
125
+ export declare const GetDocumentLinksResponseSchema: GenMessage<GetDocumentLinksResponse>;
126
+
127
+ /**
128
+ * @generated from message api.v1.AddDocumentLinkResponse
129
+ */
130
+ export declare type AddDocumentLinkResponse = Message<"api.v1.AddDocumentLinkResponse"> & {
131
+ /**
132
+ * @generated from field: api.v1.DocumentLink document_link = 1;
133
+ */
134
+ documentLink?: DocumentLink;
135
+ };
136
+
137
+ /**
138
+ * Describes the message api.v1.AddDocumentLinkResponse.
139
+ * Use `create(AddDocumentLinkResponseSchema)` to create a new message.
140
+ */
141
+ export declare const AddDocumentLinkResponseSchema: GenMessage<AddDocumentLinkResponse>;
142
+
143
+ /**
144
+ * Service definition
145
+ *
146
+ * @generated from service api.v1.DocumentLinkService
147
+ */
148
+ export declare const DocumentLinkService: GenService<{
149
+ /**
150
+ * @generated from rpc api.v1.DocumentLinkService.AddDocumentLink
151
+ */
152
+ addDocumentLink: {
153
+ methodKind: "unary";
154
+ input: typeof AddDocumentLinkRequestSchema;
155
+ output: typeof AddDocumentLinkResponseSchema;
156
+ },
157
+ /**
158
+ * @generated from rpc api.v1.DocumentLinkService.GetDocumentLinks
159
+ */
160
+ getDocumentLinks: {
161
+ methodKind: "unary";
162
+ input: typeof GetDocumentLinksRequestSchema;
163
+ output: typeof GetDocumentLinksResponseSchema;
164
+ },
165
+ /**
166
+ * @generated from rpc api.v1.DocumentLinkService.DeleteDocumentLink
167
+ */
168
+ deleteDocumentLink: {
169
+ methodKind: "unary";
170
+ input: typeof DeleteDocumentLinkRequestSchema;
171
+ output: typeof EmptySchema;
172
+ },
173
+ }>;
174
+
@@ -0,0 +1,61 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/document_link.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/document_link.proto.
15
+ */
16
+ export const file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bmtzEh8uYXBpLnYxLkdldERvY3VtZW50TGlua3NSZXF1ZXN0GiAuYXBpLnYxLkdldERvY3VtZW50TGlua3NSZXNwb25zZSIegtPkkwIYEhYvYXBpL3YxL2RvY3VtZW50LWxpbmtzEnQKEkRlbGV0ZURvY3VtZW50TGluaxIhLmFwaS52MS5EZWxldGVEb2N1bWVudExpbmtSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IiOC0+STAh0qGy9hcGkvdjEvZG9jdW1lbnQtbGlua3Mve2lkfUJ2Cgpjb20uYXBpLnYxQhFEb2N1bWVudExpbmtQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [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.AddDocumentLinkRequest.
21
+ * Use `create(AddDocumentLinkRequestSchema)` to create a new message.
22
+ */
23
+ export const AddDocumentLinkRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_document_link, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.DeleteDocumentLinkRequest.
28
+ * Use `create(DeleteDocumentLinkRequestSchema)` to create a new message.
29
+ */
30
+ export const DeleteDocumentLinkRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_document_link, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetDocumentLinksRequest.
35
+ * Use `create(GetDocumentLinksRequestSchema)` to create a new message.
36
+ */
37
+ export const GetDocumentLinksRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_document_link, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetDocumentLinksResponse.
42
+ * Use `create(GetDocumentLinksResponseSchema)` to create a new message.
43
+ */
44
+ export const GetDocumentLinksResponseSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_document_link, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.AddDocumentLinkResponse.
49
+ * Use `create(AddDocumentLinkResponseSchema)` to create a new message.
50
+ */
51
+ export const AddDocumentLinkResponseSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_document_link, 4);
53
+
54
+ /**
55
+ * Service definition
56
+ *
57
+ * @generated from service api.v1.DocumentLinkService
58
+ */
59
+ export const DocumentLinkService = /*@__PURE__*/
60
+ serviceDesc(file_api_v1_document_link, 0);
61
+