@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,89 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/comment.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/comment.proto.
15
+ */
16
+ export const file_api_v1_comment = /*@__PURE__*/
17
+ fileDesc("ChRhcGkvdjEvY29tbWVudC5wcm90bxIGYXBpLnYxIp8BChFBZGRDb21tZW50UmVxdWVzdBIYCgdjb250ZW50GAEgASgJQgf6QgRyAhABEhMKC2lzX2ludGVybmFsGAIgASgIEhQKB3Rhc2tfaWQYAyABKA1IAIgBARIYCgtkb2NfcGFnZV9pZBgEIAEoDUgBiAEBEg8KB3VzZXJfaWQYBSABKA1CCgoIX3Rhc2tfaWRCDgoMX2RvY19wYWdlX2lkIrUBChJFZGl0Q29tbWVudFJlcXVlc3QSEwoCaWQYASABKA1CB/pCBCoCKAESGAoHY29udGVudBgCIAEoCUIH+kIEcgIQARITCgtpc19pbnRlcm5hbBgDIAEoCBIUCgd0YXNrX2lkGAQgASgNSACIAQESGAoLZG9jX3BhZ2VfaWQYBSABKA1IAYgBARIPCgd1c2VyX2lkGAYgASgNQgoKCF90YXNrX2lkQg4KDF9kb2NfcGFnZV9pZCIfChFHZXRDb21tZW50UmVxdWVzdBIKCgJpZBgBIAEoDSLBAQoSR2V0Q29tbWVudHNSZXF1ZXN0EjAKCnBhZ2luYXRpb24YASABKAsyEi5hcGkudjEuUGFnaW5hdGlvbkII+kIFigECEAESLQoOZmlsdGVyX29wdGlvbnMYAiABKAsyFS5hcGkudjEuRmlsdGVyT3B0aW9ucxIUCgd0YXNrX2lkGAMgASgNSACIAQESGAoLZG9jX3BhZ2VfaWQYBCABKA1IAYgBAUIKCghfdGFza19pZEIOCgxfZG9jX3BhZ2VfaWQiIgoURGVsZXRlQ29tbWVudFJlcXVlc3QSCgoCaWQYASABKA0iYAoTR2V0Q29tbWV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hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [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.AddCommentRequest.
21
+ * Use `create(AddCommentRequestSchema)` to create a new message.
22
+ */
23
+ export const AddCommentRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_comment, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditCommentRequest.
28
+ * Use `create(EditCommentRequestSchema)` to create a new message.
29
+ */
30
+ export const EditCommentRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_comment, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetCommentRequest.
35
+ * Use `create(GetCommentRequestSchema)` to create a new message.
36
+ */
37
+ export const GetCommentRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_comment, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetCommentsRequest.
42
+ * Use `create(GetCommentsRequestSchema)` to create a new message.
43
+ */
44
+ export const GetCommentsRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_comment, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteCommentRequest.
49
+ * Use `create(DeleteCommentRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteCommentRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_comment, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetCommentsResponse.
56
+ * Use `create(GetCommentsResponseSchema)` to create a new message.
57
+ */
58
+ export const GetCommentsResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_comment, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddCommentResponse.
63
+ * Use `create(AddCommentResponseSchema)` to create a new message.
64
+ */
65
+ export const AddCommentResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_comment, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditCommentResponse.
70
+ * Use `create(EditCommentResponseSchema)` to create a new message.
71
+ */
72
+ export const EditCommentResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_comment, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetCommentResponse.
77
+ * Use `create(GetCommentResponseSchema)` to create a new message.
78
+ */
79
+ export const GetCommentResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_comment, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.CommentService
86
+ */
87
+ export const CommentService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_comment, 0);
89
+
@@ -0,0 +1,452 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/company.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 { Company } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/company.proto.
14
+ */
15
+ export declare const file_api_v1_company: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddCompanyRequest
21
+ */
22
+ export declare type AddCompanyRequest = Message<"api.v1.AddCompanyRequest"> & {
23
+ /**
24
+ * @generated from field: string name = 1;
25
+ */
26
+ name: 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: optional string website_url = 4;
40
+ */
41
+ websiteUrl?: string;
42
+
43
+ /**
44
+ * @generated from field: optional string industry = 5;
45
+ */
46
+ industry?: string;
47
+
48
+ /**
49
+ * @generated from field: optional string size = 6;
50
+ */
51
+ size?: string;
52
+
53
+ /**
54
+ * @generated from field: optional string settings_json = 7;
55
+ */
56
+ settingsJson?: string;
57
+
58
+ /**
59
+ * @generated from field: bool is_active = 8;
60
+ */
61
+ isActive: boolean;
62
+
63
+ /**
64
+ * Billing fields
65
+ *
66
+ * @generated from field: optional string billing_email = 9;
67
+ */
68
+ billingEmail?: string;
69
+
70
+ /**
71
+ * @generated from field: optional string address = 10;
72
+ */
73
+ address?: string;
74
+
75
+ /**
76
+ * @generated from field: optional string address2 = 11;
77
+ */
78
+ address2?: string;
79
+
80
+ /**
81
+ * @generated from field: optional string city = 12;
82
+ */
83
+ city?: string;
84
+
85
+ /**
86
+ * @generated from field: optional string state = 13;
87
+ */
88
+ state?: string;
89
+
90
+ /**
91
+ * @generated from field: optional string zip_code = 14;
92
+ */
93
+ zipCode?: string;
94
+
95
+ /**
96
+ * @generated from field: optional uint32 country_id = 15;
97
+ */
98
+ countryId?: number;
99
+
100
+ /**
101
+ * @generated from field: optional string tax_id = 16;
102
+ */
103
+ taxId?: string;
104
+ };
105
+
106
+ /**
107
+ * Describes the message api.v1.AddCompanyRequest.
108
+ * Use `create(AddCompanyRequestSchema)` to create a new message.
109
+ */
110
+ export declare const AddCompanyRequestSchema: GenMessage<AddCompanyRequest>;
111
+
112
+ /**
113
+ * @generated from message api.v1.EditCompanyRequest
114
+ */
115
+ export declare type EditCompanyRequest = Message<"api.v1.EditCompanyRequest"> & {
116
+ /**
117
+ * @generated from field: uint32 id = 1;
118
+ */
119
+ id: number;
120
+
121
+ /**
122
+ * @generated from field: string name = 2;
123
+ */
124
+ name: string;
125
+
126
+ /**
127
+ * @generated from field: string slug = 3;
128
+ */
129
+ slug: string;
130
+
131
+ /**
132
+ * @generated from field: optional string description = 4;
133
+ */
134
+ description?: string;
135
+
136
+ /**
137
+ * @generated from field: optional string website_url = 5;
138
+ */
139
+ websiteUrl?: string;
140
+
141
+ /**
142
+ * @generated from field: optional string industry = 6;
143
+ */
144
+ industry?: string;
145
+
146
+ /**
147
+ * @generated from field: optional string size = 7;
148
+ */
149
+ size?: string;
150
+
151
+ /**
152
+ * @generated from field: optional string settings_json = 8;
153
+ */
154
+ settingsJson?: string;
155
+
156
+ /**
157
+ * @generated from field: bool is_active = 9;
158
+ */
159
+ isActive: boolean;
160
+
161
+ /**
162
+ * Billing fields
163
+ *
164
+ * @generated from field: optional string billing_email = 10;
165
+ */
166
+ billingEmail?: string;
167
+
168
+ /**
169
+ * @generated from field: optional string address = 11;
170
+ */
171
+ address?: string;
172
+
173
+ /**
174
+ * @generated from field: optional string address2 = 12;
175
+ */
176
+ address2?: string;
177
+
178
+ /**
179
+ * @generated from field: optional string city = 13;
180
+ */
181
+ city?: string;
182
+
183
+ /**
184
+ * @generated from field: optional string state = 14;
185
+ */
186
+ state?: string;
187
+
188
+ /**
189
+ * @generated from field: optional string zip_code = 15;
190
+ */
191
+ zipCode?: string;
192
+
193
+ /**
194
+ * @generated from field: optional uint32 country_id = 16;
195
+ */
196
+ countryId?: number;
197
+
198
+ /**
199
+ * @generated from field: optional string tax_id = 17;
200
+ */
201
+ taxId?: string;
202
+ };
203
+
204
+ /**
205
+ * Describes the message api.v1.EditCompanyRequest.
206
+ * Use `create(EditCompanyRequestSchema)` to create a new message.
207
+ */
208
+ export declare const EditCompanyRequestSchema: GenMessage<EditCompanyRequest>;
209
+
210
+ /**
211
+ * @generated from message api.v1.GetCompanyRequest
212
+ */
213
+ export declare type GetCompanyRequest = Message<"api.v1.GetCompanyRequest"> & {
214
+ /**
215
+ * @generated from field: uint32 id = 1;
216
+ */
217
+ id: number;
218
+ };
219
+
220
+ /**
221
+ * Describes the message api.v1.GetCompanyRequest.
222
+ * Use `create(GetCompanyRequestSchema)` to create a new message.
223
+ */
224
+ export declare const GetCompanyRequestSchema: GenMessage<GetCompanyRequest>;
225
+
226
+ /**
227
+ * @generated from message api.v1.GetCompanyByUUIDRequest
228
+ */
229
+ export declare type GetCompanyByUUIDRequest = Message<"api.v1.GetCompanyByUUIDRequest"> & {
230
+ /**
231
+ * @generated from field: string uuid = 1;
232
+ */
233
+ uuid: string;
234
+ };
235
+
236
+ /**
237
+ * Describes the message api.v1.GetCompanyByUUIDRequest.
238
+ * Use `create(GetCompanyByUUIDRequestSchema)` to create a new message.
239
+ */
240
+ export declare const GetCompanyByUUIDRequestSchema: GenMessage<GetCompanyByUUIDRequest>;
241
+
242
+ /**
243
+ * @generated from message api.v1.GetCompaniesRequest
244
+ */
245
+ export declare type GetCompaniesRequest = Message<"api.v1.GetCompaniesRequest"> & {
246
+ /**
247
+ * @generated from field: api.v1.Pagination pagination = 1;
248
+ */
249
+ pagination?: Pagination;
250
+
251
+ /**
252
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
253
+ */
254
+ filterOptions?: FilterOptions;
255
+ };
256
+
257
+ /**
258
+ * Describes the message api.v1.GetCompaniesRequest.
259
+ * Use `create(GetCompaniesRequestSchema)` to create a new message.
260
+ */
261
+ export declare const GetCompaniesRequestSchema: GenMessage<GetCompaniesRequest>;
262
+
263
+ /**
264
+ * @generated from message api.v1.DeleteCompanyRequest
265
+ */
266
+ export declare type DeleteCompanyRequest = Message<"api.v1.DeleteCompanyRequest"> & {
267
+ /**
268
+ * @generated from field: uint32 id = 1;
269
+ */
270
+ id: number;
271
+ };
272
+
273
+ /**
274
+ * Describes the message api.v1.DeleteCompanyRequest.
275
+ * Use `create(DeleteCompanyRequestSchema)` to create a new message.
276
+ */
277
+ export declare const DeleteCompanyRequestSchema: GenMessage<DeleteCompanyRequest>;
278
+
279
+ /**
280
+ * Response definitions
281
+ *
282
+ * @generated from message api.v1.GetCompaniesResponse
283
+ */
284
+ export declare type GetCompaniesResponse = Message<"api.v1.GetCompaniesResponse"> & {
285
+ /**
286
+ * @generated from field: repeated api.v1.Company companies = 1;
287
+ */
288
+ companies: Company[];
289
+
290
+ /**
291
+ * @generated from field: api.v1.Pagination pagination = 2;
292
+ */
293
+ pagination?: Pagination;
294
+ };
295
+
296
+ /**
297
+ * Describes the message api.v1.GetCompaniesResponse.
298
+ * Use `create(GetCompaniesResponseSchema)` to create a new message.
299
+ */
300
+ export declare const GetCompaniesResponseSchema: GenMessage<GetCompaniesResponse>;
301
+
302
+ /**
303
+ * @generated from message api.v1.AddCompanyResponse
304
+ */
305
+ export declare type AddCompanyResponse = Message<"api.v1.AddCompanyResponse"> & {
306
+ /**
307
+ * @generated from field: api.v1.Company company = 1;
308
+ */
309
+ company?: Company;
310
+ };
311
+
312
+ /**
313
+ * Describes the message api.v1.AddCompanyResponse.
314
+ * Use `create(AddCompanyResponseSchema)` to create a new message.
315
+ */
316
+ export declare const AddCompanyResponseSchema: GenMessage<AddCompanyResponse>;
317
+
318
+ /**
319
+ * @generated from message api.v1.EditCompanyResponse
320
+ */
321
+ export declare type EditCompanyResponse = Message<"api.v1.EditCompanyResponse"> & {
322
+ /**
323
+ * @generated from field: api.v1.Company company = 1;
324
+ */
325
+ company?: Company;
326
+ };
327
+
328
+ /**
329
+ * Describes the message api.v1.EditCompanyResponse.
330
+ * Use `create(EditCompanyResponseSchema)` to create a new message.
331
+ */
332
+ export declare const EditCompanyResponseSchema: GenMessage<EditCompanyResponse>;
333
+
334
+ /**
335
+ * @generated from message api.v1.GetCompanyResponse
336
+ */
337
+ export declare type GetCompanyResponse = Message<"api.v1.GetCompanyResponse"> & {
338
+ /**
339
+ * @generated from field: api.v1.Company company = 1;
340
+ */
341
+ company?: Company;
342
+ };
343
+
344
+ /**
345
+ * Describes the message api.v1.GetCompanyResponse.
346
+ * Use `create(GetCompanyResponseSchema)` to create a new message.
347
+ */
348
+ export declare const GetCompanyResponseSchema: GenMessage<GetCompanyResponse>;
349
+
350
+ /**
351
+ * Search for GetStorageStats definition
352
+ *
353
+ * @generated from message api.v1.GetStorageStatsRequest
354
+ */
355
+ export declare type GetStorageStatsRequest = Message<"api.v1.GetStorageStatsRequest"> & {
356
+ /**
357
+ * @generated from field: uint32 id = 1;
358
+ */
359
+ id: number;
360
+ };
361
+
362
+ /**
363
+ * Describes the message api.v1.GetStorageStatsRequest.
364
+ * Use `create(GetStorageStatsRequestSchema)` to create a new message.
365
+ */
366
+ export declare const GetStorageStatsRequestSchema: GenMessage<GetStorageStatsRequest>;
367
+
368
+ /**
369
+ * @generated from message api.v1.GetStorageStatsResponse
370
+ */
371
+ export declare type GetStorageStatsResponse = Message<"api.v1.GetStorageStatsResponse"> & {
372
+ /**
373
+ * @generated from field: int64 used_bytes = 1;
374
+ */
375
+ usedBytes: bigint;
376
+
377
+ /**
378
+ * @generated from field: int64 total_limit_bytes = 2;
379
+ */
380
+ totalLimitBytes: bigint;
381
+ };
382
+
383
+ /**
384
+ * Describes the message api.v1.GetStorageStatsResponse.
385
+ * Use `create(GetStorageStatsResponseSchema)` to create a new message.
386
+ */
387
+ export declare const GetStorageStatsResponseSchema: GenMessage<GetStorageStatsResponse>;
388
+
389
+ /**
390
+ * Service definition
391
+ *
392
+ * @generated from service api.v1.CompanyService
393
+ */
394
+ export declare const CompanyService: GenService<{
395
+ /**
396
+ * @generated from rpc api.v1.CompanyService.AddCompany
397
+ */
398
+ addCompany: {
399
+ methodKind: "unary";
400
+ input: typeof AddCompanyRequestSchema;
401
+ output: typeof AddCompanyResponseSchema;
402
+ },
403
+ /**
404
+ * @generated from rpc api.v1.CompanyService.EditCompany
405
+ */
406
+ editCompany: {
407
+ methodKind: "unary";
408
+ input: typeof EditCompanyRequestSchema;
409
+ output: typeof EditCompanyResponseSchema;
410
+ },
411
+ /**
412
+ * @generated from rpc api.v1.CompanyService.GetCompany
413
+ */
414
+ getCompany: {
415
+ methodKind: "unary";
416
+ input: typeof GetCompanyRequestSchema;
417
+ output: typeof GetCompanyResponseSchema;
418
+ },
419
+ /**
420
+ * @generated from rpc api.v1.CompanyService.GetCompanyByUUID
421
+ */
422
+ getCompanyByUUID: {
423
+ methodKind: "unary";
424
+ input: typeof GetCompanyByUUIDRequestSchema;
425
+ output: typeof GetCompanyResponseSchema;
426
+ },
427
+ /**
428
+ * @generated from rpc api.v1.CompanyService.GetCompanies
429
+ */
430
+ getCompanies: {
431
+ methodKind: "unary";
432
+ input: typeof GetCompaniesRequestSchema;
433
+ output: typeof GetCompaniesResponseSchema;
434
+ },
435
+ /**
436
+ * @generated from rpc api.v1.CompanyService.DeleteCompany
437
+ */
438
+ deleteCompany: {
439
+ methodKind: "unary";
440
+ input: typeof DeleteCompanyRequestSchema;
441
+ output: typeof EmptySchema;
442
+ },
443
+ /**
444
+ * @generated from rpc api.v1.CompanyService.GetStorageStats
445
+ */
446
+ getStorageStats: {
447
+ methodKind: "unary";
448
+ input: typeof GetStorageStatsRequestSchema;
449
+ output: typeof GetStorageStatsResponseSchema;
450
+ },
451
+ }>;
452
+
@@ -0,0 +1,110 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/company.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/company.proto.
15
+ */
16
+ export const file_api_v1_company = /*@__PURE__*/
17
+ fileDesc("ChRhcGkvdjEvY29tcGFueS5wcm90bxIGYXBpLnYxIooFChFBZGRDb21wYW55UmVxdWVzdBIXCgRuYW1lGAEgASgJQgn6QgZyBBABGGQSFwoEc2x1ZxgCIAEoCUIJ+kIGcgQQAxgyEhgKC2Rlc2NyaXB0aW9uGAMgASgJSACIAQESGAoLd2Vic2l0ZV91cmwYBCABKAlIAYgBARIeCghpbmR1c3RyeRgFIAEoCUIH+kIEcgIYZEgCiA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6C0+STAhgqFi9hcGkvdjEvY29tcGFuaWVzL3tpZH0SegoPR2V0U3RvcmFnZVN0YXRzEh4uYXBpLnYxLkdldFN0b3JhZ2VTdGF0c1JlcXVlc3QaHy5hcGkudjEuR2V0U3RvcmFnZVN0YXRzUmVzcG9uc2UiJoLT5JMCIBIeL2FwaS92MS9jb21wYW5pZXMve2lkfS9zdG9yYWdlQnEKCmNvbS5hcGkudjFCDENvbXBhbnlQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [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.AddCompanyRequest.
21
+ * Use `create(AddCompanyRequestSchema)` to create a new message.
22
+ */
23
+ export const AddCompanyRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_company, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditCompanyRequest.
28
+ * Use `create(EditCompanyRequestSchema)` to create a new message.
29
+ */
30
+ export const EditCompanyRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_company, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetCompanyRequest.
35
+ * Use `create(GetCompanyRequestSchema)` to create a new message.
36
+ */
37
+ export const GetCompanyRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_company, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetCompanyByUUIDRequest.
42
+ * Use `create(GetCompanyByUUIDRequestSchema)` to create a new message.
43
+ */
44
+ export const GetCompanyByUUIDRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_company, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.GetCompaniesRequest.
49
+ * Use `create(GetCompaniesRequestSchema)` to create a new message.
50
+ */
51
+ export const GetCompaniesRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_company, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.DeleteCompanyRequest.
56
+ * Use `create(DeleteCompanyRequestSchema)` to create a new message.
57
+ */
58
+ export const DeleteCompanyRequestSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_company, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.GetCompaniesResponse.
63
+ * Use `create(GetCompaniesResponseSchema)` to create a new message.
64
+ */
65
+ export const GetCompaniesResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_company, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.AddCompanyResponse.
70
+ * Use `create(AddCompanyResponseSchema)` to create a new message.
71
+ */
72
+ export const AddCompanyResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_company, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.EditCompanyResponse.
77
+ * Use `create(EditCompanyResponseSchema)` to create a new message.
78
+ */
79
+ export const EditCompanyResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_company, 8);
81
+
82
+ /**
83
+ * Describes the message api.v1.GetCompanyResponse.
84
+ * Use `create(GetCompanyResponseSchema)` to create a new message.
85
+ */
86
+ export const GetCompanyResponseSchema = /*@__PURE__*/
87
+ messageDesc(file_api_v1_company, 9);
88
+
89
+ /**
90
+ * Describes the message api.v1.GetStorageStatsRequest.
91
+ * Use `create(GetStorageStatsRequestSchema)` to create a new message.
92
+ */
93
+ export const GetStorageStatsRequestSchema = /*@__PURE__*/
94
+ messageDesc(file_api_v1_company, 10);
95
+
96
+ /**
97
+ * Describes the message api.v1.GetStorageStatsResponse.
98
+ * Use `create(GetStorageStatsResponseSchema)` to create a new message.
99
+ */
100
+ export const GetStorageStatsResponseSchema = /*@__PURE__*/
101
+ messageDesc(file_api_v1_company, 11);
102
+
103
+ /**
104
+ * Service definition
105
+ *
106
+ * @generated from service api.v1.CompanyService
107
+ */
108
+ export const CompanyService = /*@__PURE__*/
109
+ serviceDesc(file_api_v1_company, 0);
110
+