@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,267 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/component.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 { Component } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/component.proto.
14
+ */
15
+ export declare const file_api_v1_component: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddComponentRequest
21
+ */
22
+ export declare type AddComponentRequest = Message<"api.v1.AddComponentRequest"> & {
23
+ /**
24
+ * @generated from field: string name = 1;
25
+ */
26
+ name: string;
27
+
28
+ /**
29
+ * @generated from field: optional string description = 2;
30
+ */
31
+ description?: string;
32
+
33
+ /**
34
+ * @generated from field: uint32 project_id = 3;
35
+ */
36
+ projectId: number;
37
+
38
+ /**
39
+ * @generated from field: optional uint32 lead_user_id = 4;
40
+ */
41
+ leadUserId?: number;
42
+
43
+ /**
44
+ * @generated from field: optional bool is_active = 5;
45
+ */
46
+ isActive?: boolean;
47
+ };
48
+
49
+ /**
50
+ * Describes the message api.v1.AddComponentRequest.
51
+ * Use `create(AddComponentRequestSchema)` to create a new message.
52
+ */
53
+ export declare const AddComponentRequestSchema: GenMessage<AddComponentRequest>;
54
+
55
+ /**
56
+ * @generated from message api.v1.EditComponentRequest
57
+ */
58
+ export declare type EditComponentRequest = Message<"api.v1.EditComponentRequest"> & {
59
+ /**
60
+ * @generated from field: uint32 id = 1;
61
+ */
62
+ id: number;
63
+
64
+ /**
65
+ * @generated from field: string name = 2;
66
+ */
67
+ name: string;
68
+
69
+ /**
70
+ * @generated from field: optional string description = 3;
71
+ */
72
+ description?: string;
73
+
74
+ /**
75
+ * @generated from field: optional uint32 lead_user_id = 4;
76
+ */
77
+ leadUserId?: number;
78
+
79
+ /**
80
+ * @generated from field: optional bool is_active = 5;
81
+ */
82
+ isActive?: boolean;
83
+ };
84
+
85
+ /**
86
+ * Describes the message api.v1.EditComponentRequest.
87
+ * Use `create(EditComponentRequestSchema)` to create a new message.
88
+ */
89
+ export declare const EditComponentRequestSchema: GenMessage<EditComponentRequest>;
90
+
91
+ /**
92
+ * @generated from message api.v1.GetComponentRequest
93
+ */
94
+ export declare type GetComponentRequest = Message<"api.v1.GetComponentRequest"> & {
95
+ /**
96
+ * @generated from field: uint32 id = 1;
97
+ */
98
+ id: number;
99
+ };
100
+
101
+ /**
102
+ * Describes the message api.v1.GetComponentRequest.
103
+ * Use `create(GetComponentRequestSchema)` to create a new message.
104
+ */
105
+ export declare const GetComponentRequestSchema: GenMessage<GetComponentRequest>;
106
+
107
+ /**
108
+ * @generated from message api.v1.GetComponentsRequest
109
+ */
110
+ export declare type GetComponentsRequest = Message<"api.v1.GetComponentsRequest"> & {
111
+ /**
112
+ * @generated from field: uint32 project_id = 1;
113
+ */
114
+ projectId: number;
115
+
116
+ /**
117
+ * @generated from field: api.v1.Pagination pagination = 2;
118
+ */
119
+ pagination?: Pagination;
120
+
121
+ /**
122
+ * @generated from field: api.v1.FilterOptions filter_options = 3;
123
+ */
124
+ filterOptions?: FilterOptions;
125
+ };
126
+
127
+ /**
128
+ * Describes the message api.v1.GetComponentsRequest.
129
+ * Use `create(GetComponentsRequestSchema)` to create a new message.
130
+ */
131
+ export declare const GetComponentsRequestSchema: GenMessage<GetComponentsRequest>;
132
+
133
+ /**
134
+ * @generated from message api.v1.DeleteComponentRequest
135
+ */
136
+ export declare type DeleteComponentRequest = Message<"api.v1.DeleteComponentRequest"> & {
137
+ /**
138
+ * @generated from field: uint32 id = 1;
139
+ */
140
+ id: number;
141
+ };
142
+
143
+ /**
144
+ * Describes the message api.v1.DeleteComponentRequest.
145
+ * Use `create(DeleteComponentRequestSchema)` to create a new message.
146
+ */
147
+ export declare const DeleteComponentRequestSchema: GenMessage<DeleteComponentRequest>;
148
+
149
+ /**
150
+ * Response definitions
151
+ *
152
+ * @generated from message api.v1.GetComponentsResponse
153
+ */
154
+ export declare type GetComponentsResponse = Message<"api.v1.GetComponentsResponse"> & {
155
+ /**
156
+ * @generated from field: repeated api.v1.Component components = 1;
157
+ */
158
+ components: Component[];
159
+
160
+ /**
161
+ * @generated from field: api.v1.Pagination pagination = 2;
162
+ */
163
+ pagination?: Pagination;
164
+ };
165
+
166
+ /**
167
+ * Describes the message api.v1.GetComponentsResponse.
168
+ * Use `create(GetComponentsResponseSchema)` to create a new message.
169
+ */
170
+ export declare const GetComponentsResponseSchema: GenMessage<GetComponentsResponse>;
171
+
172
+ /**
173
+ * @generated from message api.v1.AddComponentResponse
174
+ */
175
+ export declare type AddComponentResponse = Message<"api.v1.AddComponentResponse"> & {
176
+ /**
177
+ * @generated from field: api.v1.Component component = 1;
178
+ */
179
+ component?: Component;
180
+ };
181
+
182
+ /**
183
+ * Describes the message api.v1.AddComponentResponse.
184
+ * Use `create(AddComponentResponseSchema)` to create a new message.
185
+ */
186
+ export declare const AddComponentResponseSchema: GenMessage<AddComponentResponse>;
187
+
188
+ /**
189
+ * @generated from message api.v1.EditComponentResponse
190
+ */
191
+ export declare type EditComponentResponse = Message<"api.v1.EditComponentResponse"> & {
192
+ /**
193
+ * @generated from field: api.v1.Component component = 1;
194
+ */
195
+ component?: Component;
196
+ };
197
+
198
+ /**
199
+ * Describes the message api.v1.EditComponentResponse.
200
+ * Use `create(EditComponentResponseSchema)` to create a new message.
201
+ */
202
+ export declare const EditComponentResponseSchema: GenMessage<EditComponentResponse>;
203
+
204
+ /**
205
+ * @generated from message api.v1.GetComponentResponse
206
+ */
207
+ export declare type GetComponentResponse = Message<"api.v1.GetComponentResponse"> & {
208
+ /**
209
+ * @generated from field: api.v1.Component component = 1;
210
+ */
211
+ component?: Component;
212
+ };
213
+
214
+ /**
215
+ * Describes the message api.v1.GetComponentResponse.
216
+ * Use `create(GetComponentResponseSchema)` to create a new message.
217
+ */
218
+ export declare const GetComponentResponseSchema: GenMessage<GetComponentResponse>;
219
+
220
+ /**
221
+ * Service definition
222
+ *
223
+ * @generated from service api.v1.ComponentService
224
+ */
225
+ export declare const ComponentService: GenService<{
226
+ /**
227
+ * @generated from rpc api.v1.ComponentService.AddComponent
228
+ */
229
+ addComponent: {
230
+ methodKind: "unary";
231
+ input: typeof AddComponentRequestSchema;
232
+ output: typeof AddComponentResponseSchema;
233
+ },
234
+ /**
235
+ * @generated from rpc api.v1.ComponentService.EditComponent
236
+ */
237
+ editComponent: {
238
+ methodKind: "unary";
239
+ input: typeof EditComponentRequestSchema;
240
+ output: typeof EditComponentResponseSchema;
241
+ },
242
+ /**
243
+ * @generated from rpc api.v1.ComponentService.GetComponent
244
+ */
245
+ getComponent: {
246
+ methodKind: "unary";
247
+ input: typeof GetComponentRequestSchema;
248
+ output: typeof GetComponentResponseSchema;
249
+ },
250
+ /**
251
+ * @generated from rpc api.v1.ComponentService.GetComponents
252
+ */
253
+ getComponents: {
254
+ methodKind: "unary";
255
+ input: typeof GetComponentsRequestSchema;
256
+ output: typeof GetComponentsResponseSchema;
257
+ },
258
+ /**
259
+ * @generated from rpc api.v1.ComponentService.DeleteComponent
260
+ */
261
+ deleteComponent: {
262
+ methodKind: "unary";
263
+ input: typeof DeleteComponentRequestSchema;
264
+ output: typeof EmptySchema;
265
+ },
266
+ }>;
267
+
@@ -0,0 +1,89 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/component.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/component.proto.
15
+ */
16
+ export const file_api_v1_component = /*@__PURE__*/
17
+ fileDesc("ChZhcGkvdjEvY29tcG9uZW50LnByb3RvEgZhcGkudjEixwEKE0FkZENvbXBvbmVudFJlcXVlc3QSFwoEbmFtZRgBIAEoCUIJ+kIGcgQQARhkEhgKC2Rlc2NyaXB0aW9uGAIgASgJSACIAQESGwoKcHJvamVjdF9pZBgDIAEoDUIH+kIEKgIoARIZCgxsZWFkX3VzZXJfaWQYBCABKA1IAYgBARIWCglpc19hY3RpdmUYBSABKAhIAogBAUIOCgxfZGVzY3JpcHRpb25CDwoNX2xlYWRfdXNlcl9pZEIMCgpfaXNfYWN0aXZlIsABChRFZGl0Q29tcG9uZW50UmVxdWVzdBITCgJpZBgBIAEoDUIH+kIEKgIoARIXCgRuYW1lGAIgASgJQgn6QgZyBBABGGQSGAoLZGVzY3JpcHRpb24YAyABKAlIAIgBARIZCgxsZWFkX3VzZXJfaWQYBCABKA1IAYgBARIWCglpc19hY3RpdmUYBSABKAhIAogBAUIOCgxfZGVzY3JpcHRpb25CDwoNX2xlYWRfdXNlcl9pZEIMCgpfaXNfYWN0aXZlIiEKE0dldENvbXBvbmVudFJlcXVlc3QSCgoCaWQYASABKA0ilAEKFEdldENvbXBvbmVudHNSZXF1ZXN0EhsKCnByb2plY3RfaWQYASABKA1CB/pCBCoCKAESMAoKcGFnaW5hdGlvbhgCIAEoCzISLmFwaS52MS5QYWdpbmF0aW9uQgj6QgWKAQIQARItCg5maWx0ZXJfb3B0aW9ucxgDIAEoCzIVLmFwaS52MS5GaWx0ZXJPcHRpb25zIiQKFkRlbGV0ZUNvbXBvbmVudFJlcXVlc3QSCgoCaWQYASABKA0iZgoVR2V0Q29tcG9uZW50c1Jlc3BvbnNlEiUKCmNvbXBvbmVudHMYASADKAsyES5hcGkudjEuQ29tcG9uZW50EiYKCnBhZ2luYXRpb24YAiABKAsyEi5hcGkudjEuUGFnaW5hdGlvbiI8ChRBZGRDb21wb25lbnRSZXNwb25zZRIkCgljb21wb25lbnQYASABKAsyES5hcGkudjEuQ29tcG9uZW50Ij0KFUVkaXRDb21wb25lbnRSZXNwb25zZRIkCgljb21wb25lbnQYASABKAsyES5hcGkudjEuQ29tcG9uZW50IjwKFEdldENvbXBvbmVudFJlc3BvbnNlEiQKCWNvbXBvbmVudBgBIAEoCzIRLmFwaS52MS5Db21wb25lbnQysAQKEENvbXBvbmVudFNlcnZpY2USaAoMQWRkQ29tcG9uZW50EhsuYXBpLnYxLkFkZENvbXBvbmVudFJlcXVlc3QaHC5hcGkudjEuQWRkQ29tcG9uZW50UmVzcG9uc2UiHYLT5JMCFzoBKiISL2FwaS92MS9jb21wb25lbnRzEnAKDUVkaXRDb21wb25lbnQSHC5hcGkudjEuRWRpdENvbXBvbmVudFJlcXVlc3QaHS5hcGkudjEuRWRpdENvbXBvbmVudFJlc3BvbnNlIiKC0+STAhw6ASoaFy9hcGkvdjEvY29tcG9uZW50cy97aWR9EmoKDEdldENvbXBvbmVudBIbLmFwaS52MS5HZXRDb21wb25lbnRSZXF1ZXN0GhwuYXBpLnYxLkdldENvbXBvbmVudFJlc3BvbnNlIh+C0+STAhkSFy9hcGkvdjEvY29tcG9uZW50cy97aWR9EmgKDUdldENvbXBvbmVudHMSHC5hcGkudjEuR2V0Q29tcG9uZW50c1JlcXVlc3QaHS5hcGkudjEuR2V0Q29tcG9uZW50c1Jlc3BvbnNlIhqC0+STAhQSEi9hcGkvdjEvY29tcG9uZW50cxJqCg9EZWxldGVDb21wb25lbnQSHi5hcGkudjEuRGVsZXRlQ29tcG9uZW50UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIfgtPkkwIZKhcvYXBpL3YxL2NvbXBvbmVudHMve2lkfUJzCgpjb20uYXBpLnYxQg5Db21wb25lbnRQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [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.AddComponentRequest.
21
+ * Use `create(AddComponentRequestSchema)` to create a new message.
22
+ */
23
+ export const AddComponentRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_component, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditComponentRequest.
28
+ * Use `create(EditComponentRequestSchema)` to create a new message.
29
+ */
30
+ export const EditComponentRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_component, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetComponentRequest.
35
+ * Use `create(GetComponentRequestSchema)` to create a new message.
36
+ */
37
+ export const GetComponentRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_component, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetComponentsRequest.
42
+ * Use `create(GetComponentsRequestSchema)` to create a new message.
43
+ */
44
+ export const GetComponentsRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_component, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteComponentRequest.
49
+ * Use `create(DeleteComponentRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteComponentRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_component, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetComponentsResponse.
56
+ * Use `create(GetComponentsResponseSchema)` to create a new message.
57
+ */
58
+ export const GetComponentsResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_component, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddComponentResponse.
63
+ * Use `create(AddComponentResponseSchema)` to create a new message.
64
+ */
65
+ export const AddComponentResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_component, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditComponentResponse.
70
+ * Use `create(EditComponentResponseSchema)` to create a new message.
71
+ */
72
+ export const EditComponentResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_component, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetComponentResponse.
77
+ * Use `create(GetComponentResponseSchema)` to create a new message.
78
+ */
79
+ export const GetComponentResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_component, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.ComponentService
86
+ */
87
+ export const ComponentService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_component, 0);
89
+
@@ -0,0 +1,58 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/contact.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 } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file api/v1/contact.proto.
11
+ */
12
+ export declare const file_api_v1_contact: GenFile;
13
+
14
+ /**
15
+ * @generated from message api.v1.ContactSubmission
16
+ */
17
+ export declare type ContactSubmission = Message<"api.v1.ContactSubmission"> & {
18
+ /**
19
+ * @generated from field: string name = 1;
20
+ */
21
+ name: string;
22
+
23
+ /**
24
+ * @generated from field: string email = 2;
25
+ */
26
+ email: string;
27
+
28
+ /**
29
+ * @generated from field: string company_size = 3;
30
+ */
31
+ companySize: string;
32
+
33
+ /**
34
+ * @generated from field: string message = 4;
35
+ */
36
+ message: string;
37
+ };
38
+
39
+ /**
40
+ * Describes the message api.v1.ContactSubmission.
41
+ * Use `create(ContactSubmissionSchema)` to create a new message.
42
+ */
43
+ export declare const ContactSubmissionSchema: GenMessage<ContactSubmission>;
44
+
45
+ /**
46
+ * @generated from service api.v1.ContactService
47
+ */
48
+ export declare const ContactService: GenService<{
49
+ /**
50
+ * @generated from rpc api.v1.ContactService.SubmitContactForm
51
+ */
52
+ submitContactForm: {
53
+ methodKind: "unary";
54
+ input: typeof ContactSubmissionSchema;
55
+ output: typeof EmptySchema;
56
+ },
57
+ }>;
58
+
@@ -0,0 +1,28 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/contact.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
+
10
+ /**
11
+ * Describes the file api/v1/contact.proto.
12
+ */
13
+ export const file_api_v1_contact = /*@__PURE__*/
14
+ fileDesc("ChRhcGkvdjEvY29udGFjdC5wcm90bxIGYXBpLnYxInsKEUNvbnRhY3RTdWJtaXNzaW9uEhUKBG5hbWUYASABKAlCB/pCBHICEAESFgoFZW1haWwYAiABKAlCB/pCBHICYAESHQoMY29tcGFueV9zaXplGAMgASgJQgf6QgRyAhABEhgKB21lc3NhZ2UYBCABKAlCB/pCBHICEAEydAoOQ29udGFjdFNlcnZpY2USYgoRU3VibWl0Q29udGFjdEZvcm0SGS5hcGkudjEuQ29udGFjdFN1Ym1pc3Npb24aFi5nb29nbGUucHJvdG9idWYuRW1wdHkiGoLT5JMCFDoBKiIPL2FwaS92MS9jb250YWN0QnEKCmNvbS5hcGkudjFCDENvbnRhY3RQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [file_google_protobuf_empty, file_google_api_annotations, file_validate_validate]);
15
+
16
+ /**
17
+ * Describes the message api.v1.ContactSubmission.
18
+ * Use `create(ContactSubmissionSchema)` to create a new message.
19
+ */
20
+ export const ContactSubmissionSchema = /*@__PURE__*/
21
+ messageDesc(file_api_v1_contact, 0);
22
+
23
+ /**
24
+ * @generated from service api.v1.ContactService
25
+ */
26
+ export const ContactService = /*@__PURE__*/
27
+ serviceDesc(file_api_v1_contact, 0);
28
+
@@ -0,0 +1,257 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/country.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 { Country } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/country.proto.
14
+ */
15
+ export declare const file_api_v1_country: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddCountryRequest
21
+ */
22
+ export declare type AddCountryRequest = Message<"api.v1.AddCountryRequest"> & {
23
+ /**
24
+ * @generated from field: string name = 1;
25
+ */
26
+ name: string;
27
+
28
+ /**
29
+ * @generated from field: string iso_code = 2;
30
+ */
31
+ isoCode: string;
32
+
33
+ /**
34
+ * @generated from field: string iso_code2 = 3;
35
+ */
36
+ isoCode2: string;
37
+
38
+ /**
39
+ * @generated from field: string dial_code = 4;
40
+ */
41
+ dialCode: string;
42
+ };
43
+
44
+ /**
45
+ * Describes the message api.v1.AddCountryRequest.
46
+ * Use `create(AddCountryRequestSchema)` to create a new message.
47
+ */
48
+ export declare const AddCountryRequestSchema: GenMessage<AddCountryRequest>;
49
+
50
+ /**
51
+ * @generated from message api.v1.EditCountryRequest
52
+ */
53
+ export declare type EditCountryRequest = Message<"api.v1.EditCountryRequest"> & {
54
+ /**
55
+ * @generated from field: uint32 id = 1;
56
+ */
57
+ id: number;
58
+
59
+ /**
60
+ * @generated from field: string name = 2;
61
+ */
62
+ name: string;
63
+
64
+ /**
65
+ * @generated from field: string iso_code = 3;
66
+ */
67
+ isoCode: string;
68
+
69
+ /**
70
+ * @generated from field: string iso_code2 = 4;
71
+ */
72
+ isoCode2: string;
73
+
74
+ /**
75
+ * @generated from field: string dial_code = 5;
76
+ */
77
+ dialCode: string;
78
+ };
79
+
80
+ /**
81
+ * Describes the message api.v1.EditCountryRequest.
82
+ * Use `create(EditCountryRequestSchema)` to create a new message.
83
+ */
84
+ export declare const EditCountryRequestSchema: GenMessage<EditCountryRequest>;
85
+
86
+ /**
87
+ * @generated from message api.v1.GetCountryRequest
88
+ */
89
+ export declare type GetCountryRequest = Message<"api.v1.GetCountryRequest"> & {
90
+ /**
91
+ * @generated from field: uint32 id = 1;
92
+ */
93
+ id: number;
94
+ };
95
+
96
+ /**
97
+ * Describes the message api.v1.GetCountryRequest.
98
+ * Use `create(GetCountryRequestSchema)` to create a new message.
99
+ */
100
+ export declare const GetCountryRequestSchema: GenMessage<GetCountryRequest>;
101
+
102
+ /**
103
+ * @generated from message api.v1.GetCountriesRequest
104
+ */
105
+ export declare type GetCountriesRequest = Message<"api.v1.GetCountriesRequest"> & {
106
+ /**
107
+ * @generated from field: api.v1.Pagination pagination = 1;
108
+ */
109
+ pagination?: Pagination;
110
+
111
+ /**
112
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
113
+ */
114
+ filterOptions?: FilterOptions;
115
+ };
116
+
117
+ /**
118
+ * Describes the message api.v1.GetCountriesRequest.
119
+ * Use `create(GetCountriesRequestSchema)` to create a new message.
120
+ */
121
+ export declare const GetCountriesRequestSchema: GenMessage<GetCountriesRequest>;
122
+
123
+ /**
124
+ * @generated from message api.v1.DeleteCountryRequest
125
+ */
126
+ export declare type DeleteCountryRequest = Message<"api.v1.DeleteCountryRequest"> & {
127
+ /**
128
+ * @generated from field: uint32 id = 1;
129
+ */
130
+ id: number;
131
+ };
132
+
133
+ /**
134
+ * Describes the message api.v1.DeleteCountryRequest.
135
+ * Use `create(DeleteCountryRequestSchema)` to create a new message.
136
+ */
137
+ export declare const DeleteCountryRequestSchema: GenMessage<DeleteCountryRequest>;
138
+
139
+ /**
140
+ * Response definitions
141
+ *
142
+ * @generated from message api.v1.GetCountriesResponse
143
+ */
144
+ export declare type GetCountriesResponse = Message<"api.v1.GetCountriesResponse"> & {
145
+ /**
146
+ * @generated from field: repeated api.v1.Country countries = 1;
147
+ */
148
+ countries: Country[];
149
+
150
+ /**
151
+ * @generated from field: api.v1.Pagination pagination = 2;
152
+ */
153
+ pagination?: Pagination;
154
+ };
155
+
156
+ /**
157
+ * Describes the message api.v1.GetCountriesResponse.
158
+ * Use `create(GetCountriesResponseSchema)` to create a new message.
159
+ */
160
+ export declare const GetCountriesResponseSchema: GenMessage<GetCountriesResponse>;
161
+
162
+ /**
163
+ * @generated from message api.v1.AddCountryResponse
164
+ */
165
+ export declare type AddCountryResponse = Message<"api.v1.AddCountryResponse"> & {
166
+ /**
167
+ * @generated from field: api.v1.Country country = 1;
168
+ */
169
+ country?: Country;
170
+ };
171
+
172
+ /**
173
+ * Describes the message api.v1.AddCountryResponse.
174
+ * Use `create(AddCountryResponseSchema)` to create a new message.
175
+ */
176
+ export declare const AddCountryResponseSchema: GenMessage<AddCountryResponse>;
177
+
178
+ /**
179
+ * @generated from message api.v1.EditCountryResponse
180
+ */
181
+ export declare type EditCountryResponse = Message<"api.v1.EditCountryResponse"> & {
182
+ /**
183
+ * @generated from field: api.v1.Country country = 1;
184
+ */
185
+ country?: Country;
186
+ };
187
+
188
+ /**
189
+ * Describes the message api.v1.EditCountryResponse.
190
+ * Use `create(EditCountryResponseSchema)` to create a new message.
191
+ */
192
+ export declare const EditCountryResponseSchema: GenMessage<EditCountryResponse>;
193
+
194
+ /**
195
+ * @generated from message api.v1.GetCountryResponse
196
+ */
197
+ export declare type GetCountryResponse = Message<"api.v1.GetCountryResponse"> & {
198
+ /**
199
+ * @generated from field: api.v1.Country country = 1;
200
+ */
201
+ country?: Country;
202
+ };
203
+
204
+ /**
205
+ * Describes the message api.v1.GetCountryResponse.
206
+ * Use `create(GetCountryResponseSchema)` to create a new message.
207
+ */
208
+ export declare const GetCountryResponseSchema: GenMessage<GetCountryResponse>;
209
+
210
+ /**
211
+ * Service definition
212
+ *
213
+ * @generated from service api.v1.CountryService
214
+ */
215
+ export declare const CountryService: GenService<{
216
+ /**
217
+ * @generated from rpc api.v1.CountryService.AddCountry
218
+ */
219
+ addCountry: {
220
+ methodKind: "unary";
221
+ input: typeof AddCountryRequestSchema;
222
+ output: typeof AddCountryResponseSchema;
223
+ },
224
+ /**
225
+ * @generated from rpc api.v1.CountryService.EditCountry
226
+ */
227
+ editCountry: {
228
+ methodKind: "unary";
229
+ input: typeof EditCountryRequestSchema;
230
+ output: typeof EditCountryResponseSchema;
231
+ },
232
+ /**
233
+ * @generated from rpc api.v1.CountryService.GetCountry
234
+ */
235
+ getCountry: {
236
+ methodKind: "unary";
237
+ input: typeof GetCountryRequestSchema;
238
+ output: typeof GetCountryResponseSchema;
239
+ },
240
+ /**
241
+ * @generated from rpc api.v1.CountryService.GetCountries
242
+ */
243
+ getCountries: {
244
+ methodKind: "unary";
245
+ input: typeof GetCountriesRequestSchema;
246
+ output: typeof GetCountriesResponseSchema;
247
+ },
248
+ /**
249
+ * @generated from rpc api.v1.CountryService.DeleteCountry
250
+ */
251
+ deleteCountry: {
252
+ methodKind: "unary";
253
+ input: typeof DeleteCountryRequestSchema;
254
+ output: typeof EmptySchema;
255
+ },
256
+ }>;
257
+