@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,277 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/environment.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 { Environment } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/environment.proto.
14
+ */
15
+ export declare const file_api_v1_environment: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddEnvironmentRequest
21
+ */
22
+ export declare type AddEnvironmentRequest = Message<"api.v1.AddEnvironmentRequest"> & {
23
+ /**
24
+ * @generated from field: string name = 1;
25
+ */
26
+ name: string;
27
+
28
+ /**
29
+ * @generated from field: optional string type = 2;
30
+ */
31
+ type?: string;
32
+
33
+ /**
34
+ * @generated from field: optional string k8s_namespace = 3;
35
+ */
36
+ k8sNamespace?: string;
37
+
38
+ /**
39
+ * @generated from field: optional string base_domain = 4;
40
+ */
41
+ baseDomain?: string;
42
+
43
+ /**
44
+ * @generated from field: optional string metadata_json = 5;
45
+ */
46
+ metadataJson?: string;
47
+
48
+ /**
49
+ * @generated from field: uint32 project_id = 6;
50
+ */
51
+ projectId: number;
52
+ };
53
+
54
+ /**
55
+ * Describes the message api.v1.AddEnvironmentRequest.
56
+ * Use `create(AddEnvironmentRequestSchema)` to create a new message.
57
+ */
58
+ export declare const AddEnvironmentRequestSchema: GenMessage<AddEnvironmentRequest>;
59
+
60
+ /**
61
+ * @generated from message api.v1.EditEnvironmentRequest
62
+ */
63
+ export declare type EditEnvironmentRequest = Message<"api.v1.EditEnvironmentRequest"> & {
64
+ /**
65
+ * @generated from field: uint32 id = 1;
66
+ */
67
+ id: number;
68
+
69
+ /**
70
+ * @generated from field: string name = 2;
71
+ */
72
+ name: string;
73
+
74
+ /**
75
+ * @generated from field: optional string type = 3;
76
+ */
77
+ type?: string;
78
+
79
+ /**
80
+ * @generated from field: optional string k8s_namespace = 4;
81
+ */
82
+ k8sNamespace?: string;
83
+
84
+ /**
85
+ * @generated from field: optional string base_domain = 5;
86
+ */
87
+ baseDomain?: string;
88
+
89
+ /**
90
+ * @generated from field: optional string metadata_json = 6;
91
+ */
92
+ metadataJson?: string;
93
+
94
+ /**
95
+ * @generated from field: uint32 project_id = 7;
96
+ */
97
+ projectId: number;
98
+ };
99
+
100
+ /**
101
+ * Describes the message api.v1.EditEnvironmentRequest.
102
+ * Use `create(EditEnvironmentRequestSchema)` to create a new message.
103
+ */
104
+ export declare const EditEnvironmentRequestSchema: GenMessage<EditEnvironmentRequest>;
105
+
106
+ /**
107
+ * @generated from message api.v1.GetEnvironmentRequest
108
+ */
109
+ export declare type GetEnvironmentRequest = Message<"api.v1.GetEnvironmentRequest"> & {
110
+ /**
111
+ * @generated from field: uint32 id = 1;
112
+ */
113
+ id: number;
114
+ };
115
+
116
+ /**
117
+ * Describes the message api.v1.GetEnvironmentRequest.
118
+ * Use `create(GetEnvironmentRequestSchema)` to create a new message.
119
+ */
120
+ export declare const GetEnvironmentRequestSchema: GenMessage<GetEnvironmentRequest>;
121
+
122
+ /**
123
+ * @generated from message api.v1.GetEnvironmentsRequest
124
+ */
125
+ export declare type GetEnvironmentsRequest = Message<"api.v1.GetEnvironmentsRequest"> & {
126
+ /**
127
+ * @generated from field: api.v1.Pagination pagination = 1;
128
+ */
129
+ pagination?: Pagination;
130
+
131
+ /**
132
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
133
+ */
134
+ filterOptions?: FilterOptions;
135
+ };
136
+
137
+ /**
138
+ * Describes the message api.v1.GetEnvironmentsRequest.
139
+ * Use `create(GetEnvironmentsRequestSchema)` to create a new message.
140
+ */
141
+ export declare const GetEnvironmentsRequestSchema: GenMessage<GetEnvironmentsRequest>;
142
+
143
+ /**
144
+ * @generated from message api.v1.DeleteEnvironmentRequest
145
+ */
146
+ export declare type DeleteEnvironmentRequest = Message<"api.v1.DeleteEnvironmentRequest"> & {
147
+ /**
148
+ * @generated from field: uint32 id = 1;
149
+ */
150
+ id: number;
151
+ };
152
+
153
+ /**
154
+ * Describes the message api.v1.DeleteEnvironmentRequest.
155
+ * Use `create(DeleteEnvironmentRequestSchema)` to create a new message.
156
+ */
157
+ export declare const DeleteEnvironmentRequestSchema: GenMessage<DeleteEnvironmentRequest>;
158
+
159
+ /**
160
+ * Response definitions
161
+ *
162
+ * @generated from message api.v1.GetEnvironmentsResponse
163
+ */
164
+ export declare type GetEnvironmentsResponse = Message<"api.v1.GetEnvironmentsResponse"> & {
165
+ /**
166
+ * @generated from field: repeated api.v1.Environment environments = 1;
167
+ */
168
+ environments: Environment[];
169
+
170
+ /**
171
+ * @generated from field: api.v1.Pagination pagination = 2;
172
+ */
173
+ pagination?: Pagination;
174
+ };
175
+
176
+ /**
177
+ * Describes the message api.v1.GetEnvironmentsResponse.
178
+ * Use `create(GetEnvironmentsResponseSchema)` to create a new message.
179
+ */
180
+ export declare const GetEnvironmentsResponseSchema: GenMessage<GetEnvironmentsResponse>;
181
+
182
+ /**
183
+ * @generated from message api.v1.AddEnvironmentResponse
184
+ */
185
+ export declare type AddEnvironmentResponse = Message<"api.v1.AddEnvironmentResponse"> & {
186
+ /**
187
+ * @generated from field: api.v1.Environment environment = 1;
188
+ */
189
+ environment?: Environment;
190
+ };
191
+
192
+ /**
193
+ * Describes the message api.v1.AddEnvironmentResponse.
194
+ * Use `create(AddEnvironmentResponseSchema)` to create a new message.
195
+ */
196
+ export declare const AddEnvironmentResponseSchema: GenMessage<AddEnvironmentResponse>;
197
+
198
+ /**
199
+ * @generated from message api.v1.EditEnvironmentResponse
200
+ */
201
+ export declare type EditEnvironmentResponse = Message<"api.v1.EditEnvironmentResponse"> & {
202
+ /**
203
+ * @generated from field: api.v1.Environment environment = 1;
204
+ */
205
+ environment?: Environment;
206
+ };
207
+
208
+ /**
209
+ * Describes the message api.v1.EditEnvironmentResponse.
210
+ * Use `create(EditEnvironmentResponseSchema)` to create a new message.
211
+ */
212
+ export declare const EditEnvironmentResponseSchema: GenMessage<EditEnvironmentResponse>;
213
+
214
+ /**
215
+ * @generated from message api.v1.GetEnvironmentResponse
216
+ */
217
+ export declare type GetEnvironmentResponse = Message<"api.v1.GetEnvironmentResponse"> & {
218
+ /**
219
+ * @generated from field: api.v1.Environment environment = 1;
220
+ */
221
+ environment?: Environment;
222
+ };
223
+
224
+ /**
225
+ * Describes the message api.v1.GetEnvironmentResponse.
226
+ * Use `create(GetEnvironmentResponseSchema)` to create a new message.
227
+ */
228
+ export declare const GetEnvironmentResponseSchema: GenMessage<GetEnvironmentResponse>;
229
+
230
+ /**
231
+ * Service definition
232
+ *
233
+ * @generated from service api.v1.EnvironmentService
234
+ */
235
+ export declare const EnvironmentService: GenService<{
236
+ /**
237
+ * @generated from rpc api.v1.EnvironmentService.AddEnvironment
238
+ */
239
+ addEnvironment: {
240
+ methodKind: "unary";
241
+ input: typeof AddEnvironmentRequestSchema;
242
+ output: typeof AddEnvironmentResponseSchema;
243
+ },
244
+ /**
245
+ * @generated from rpc api.v1.EnvironmentService.EditEnvironment
246
+ */
247
+ editEnvironment: {
248
+ methodKind: "unary";
249
+ input: typeof EditEnvironmentRequestSchema;
250
+ output: typeof EditEnvironmentResponseSchema;
251
+ },
252
+ /**
253
+ * @generated from rpc api.v1.EnvironmentService.GetEnvironment
254
+ */
255
+ getEnvironment: {
256
+ methodKind: "unary";
257
+ input: typeof GetEnvironmentRequestSchema;
258
+ output: typeof GetEnvironmentResponseSchema;
259
+ },
260
+ /**
261
+ * @generated from rpc api.v1.EnvironmentService.GetEnvironments
262
+ */
263
+ getEnvironments: {
264
+ methodKind: "unary";
265
+ input: typeof GetEnvironmentsRequestSchema;
266
+ output: typeof GetEnvironmentsResponseSchema;
267
+ },
268
+ /**
269
+ * @generated from rpc api.v1.EnvironmentService.DeleteEnvironment
270
+ */
271
+ deleteEnvironment: {
272
+ methodKind: "unary";
273
+ input: typeof DeleteEnvironmentRequestSchema;
274
+ output: typeof EmptySchema;
275
+ },
276
+ }>;
277
+
@@ -0,0 +1,89 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/environment.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/environment.proto.
15
+ */
16
+ export const file_api_v1_environment = /*@__PURE__*/
17
+ fileDesc("ChhhcGkvdjEvZW52aXJvbm1lbnQucHJvdG8SBmFwaS52MSKAAgoVQWRkRW52aXJvbm1lbnRSZXF1ZXN0EhUKBG5hbWUYASABKAlCB/pCBHICEGQSGgoEdHlwZRgCIAEoCUIH+kIEcgIYMkgAiAEBEiMKDWs4c19uYW1lc3BhY2UYAyABKAlCB/pCBHICGGRIAYgBARIiCgtiYXNlX2RvbWFpbhgEIAEoCUII+kIFcgMY/wFIAogBARIaCg1tZXRhZGF0YV9qc29uGAUgASgJSAOIAQESEgoKcHJvamVjdF9pZBgGIAEoDUIHCgVfdHlwZUIQCg5fazhzX25hbWVzcGFjZUIOCgxfYmFzZV9kb21haW5CEAoOX21ldGFkYXRhX2pzb24ilgIKFkVkaXRFbnZpcm9ubWVudFJlcXVlc3QSEwoCaWQYASABKA1CB/pCBCoCKAESFQoEbmFtZRgCIAEoCUIH+kIEcgIQZBIaCgR0eXBlGAMgASgJQgf6QgRyAhgySACIAQESIwoNazhzX25hbWVzcGFjZRgEIAEoCUIH+kIEcgIYZEgBiAEBEiIKC2Jhc2VfZG9tYWluGAUgASgJQgj6QgVyAxj/AUgCiAEBEhoKDW1ldGFkYXRhX2pzb24YBiABKAlIA4gBARISCgpwcm9qZWN0X2lkGAcgASgNQgcKBV90eXBlQhAKDl9rOHNfbmFtZXNwYWNlQg4KDF9iYXNlX2RvbWFpbkIQCg5fbWV0YWRhdGFfanNvbiIjChVHZXRFbnZpcm9ubWVudFJlcXVlc3QSCgoCaWQYASABKA0ieQoWR2V0RW52aXJvbm1lbnRzUmVxdWVzdBIwCgpwYWdpbmF0aW9uGAEgASgLMhIuYXBpLnYxLlBhZ2luYXRpb25CCPpCBYoBAhABEi0KDmZpbHRlcl9vcHRpb25zGAIgASgLMhUuYXBpLnYxLkZpbHRlck9wdGlvbnMiJgoYRGVsZXRlRW52aXJvbm1lbnRSZXF1ZXN0EgoKAmlkGAEgASgNImwKF0dldEVudmlyb25tZW50c1Jlc3BvbnNlEikKDGVudmlyb25tZW50cxgBIAMoCzITLmFwaS52MS5FbnZpcm9ubWVudBImCgpwYWdpbmF0aW9uGAIgASgLMhIuYXBpLnYxLlBhZ2luYXRpb24iQgoWQWRkRW52aXJvbm1lbnRSZXNwb25zZRIoCgtlbnZpcm9ubWVudBgBIAEoCzITLmFwaS52MS5FbnZpcm9ubWVudCJDChdFZGl0RW52aXJvbm1lbnRSZXNwb25zZRIoCgtlbnZpcm9ubWVudBgBIAEoCzITLmFwaS52MS5FbnZpcm9ubWVudCJCChZHZXRFbnZpcm9ubWVudFJlc3BvbnNlEigKC2Vudmlyb25tZW50GAEgASgLMhMuYXBpLnYxLkVudmlyb25tZW50MtgEChJFbnZpcm9ubWVudFNlcnZpY2UScAoOQWRkRW52aXJvbm1lbnQSHS5hcGkudjEuQWRkRW52aXJvbm1lbnRSZXF1ZXN0Gh4uYXBpLnYxLkFkZEVudmlyb25tZW50UmVzcG9uc2UiH4LT5JMCGToBKiIUL2FwaS92MS9lbnZpcm9ubWVudHMSeAoPRWRpdEVudmlyb25tZW50Eh4uYXBpLnYxLkVkaXRFbnZpcm9ubWVudFJlcXVlc3QaHy5hcGkudjEuRWRpdEVudmlyb25tZW50UmVzcG9uc2UiJILT5JMCHjoBKhoZL2FwaS92MS9lbnZpcm9ubWVudHMve2lkfRJyCg5HZXRFbnZpcm9ubWVudBIdLmFwaS52MS5HZXRFbnZpcm9ubWVudFJlcXVlc3QaHi5hcGkudjEuR2V0RW52aXJvbm1lbnRSZXNwb25zZSIhgtPkkwIbEhkvYXBpL3YxL2Vudmlyb25tZW50cy97aWR9EnAKD0dldEVudmlyb25tZW50cxIeLmFwaS52MS5HZXRFbnZpcm9ubWVudHNSZXF1ZXN0Gh8uYXBpLnYxLkdldEVudmlyb25tZW50c1Jlc3BvbnNlIhyC0+STAhYSFC9hcGkvdjEvZW52aXJvbm1lbnRzEnAKEURlbGV0ZUVudmlyb25tZW50EiAuYXBpLnYxLkRlbGV0ZUVudmlyb25tZW50UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIhgtPkkwIbKhkvYXBpL3YxL2Vudmlyb25tZW50cy97aWR9QnUKCmNvbS5hcGkudjFCEEVudmlyb25tZW50UHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [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.AddEnvironmentRequest.
21
+ * Use `create(AddEnvironmentRequestSchema)` to create a new message.
22
+ */
23
+ export const AddEnvironmentRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_environment, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditEnvironmentRequest.
28
+ * Use `create(EditEnvironmentRequestSchema)` to create a new message.
29
+ */
30
+ export const EditEnvironmentRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_environment, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetEnvironmentRequest.
35
+ * Use `create(GetEnvironmentRequestSchema)` to create a new message.
36
+ */
37
+ export const GetEnvironmentRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_environment, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetEnvironmentsRequest.
42
+ * Use `create(GetEnvironmentsRequestSchema)` to create a new message.
43
+ */
44
+ export const GetEnvironmentsRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_environment, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteEnvironmentRequest.
49
+ * Use `create(DeleteEnvironmentRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteEnvironmentRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_environment, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetEnvironmentsResponse.
56
+ * Use `create(GetEnvironmentsResponseSchema)` to create a new message.
57
+ */
58
+ export const GetEnvironmentsResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_environment, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddEnvironmentResponse.
63
+ * Use `create(AddEnvironmentResponseSchema)` to create a new message.
64
+ */
65
+ export const AddEnvironmentResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_environment, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditEnvironmentResponse.
70
+ * Use `create(EditEnvironmentResponseSchema)` to create a new message.
71
+ */
72
+ export const EditEnvironmentResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_environment, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetEnvironmentResponse.
77
+ * Use `create(GetEnvironmentResponseSchema)` to create a new message.
78
+ */
79
+ export const GetEnvironmentResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_environment, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.EnvironmentService
86
+ */
87
+ export const EnvironmentService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_environment, 0);
89
+
@@ -0,0 +1,66 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/filter.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file api/v1/filter.proto.
10
+ */
11
+ export declare const file_api_v1_filter: GenFile;
12
+
13
+ /**
14
+ * Filter is a key value pair that's used in to filter certain resources
15
+ *
16
+ * @generated from message api.v1.Filter
17
+ */
18
+ export declare type Filter = Message<"api.v1.Filter"> & {
19
+ /**
20
+ * When setting key use pascal case, e.g. for iata_code use IataCode
21
+ *
22
+ * @generated from field: string key = 1;
23
+ */
24
+ key: string;
25
+
26
+ /**
27
+ * Filter value
28
+ *
29
+ * @generated from field: string value = 2;
30
+ */
31
+ value: string;
32
+ };
33
+
34
+ /**
35
+ * Describes the message api.v1.Filter.
36
+ * Use `create(FilterSchema)` to create a new message.
37
+ */
38
+ export declare const FilterSchema: GenMessage<Filter>;
39
+
40
+ /**
41
+ * FilterOptions is used in GetAll requests for resources that might need to be filtered
42
+ *
43
+ * @generated from message api.v1.FilterOptions
44
+ */
45
+ export declare type FilterOptions = Message<"api.v1.FilterOptions"> & {
46
+ /**
47
+ * List of filter pairs
48
+ *
49
+ * @generated from field: repeated api.v1.Filter filters = 1;
50
+ */
51
+ filters: Filter[];
52
+
53
+ /**
54
+ * Search value
55
+ *
56
+ * @generated from field: string search = 2;
57
+ */
58
+ search: string;
59
+ };
60
+
61
+ /**
62
+ * Describes the message api.v1.FilterOptions.
63
+ * Use `create(FilterOptionsSchema)` to create a new message.
64
+ */
65
+ export declare const FilterOptionsSchema: GenMessage<FilterOptions>;
66
+
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/filter.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
6
+
7
+ /**
8
+ * Describes the file api/v1/filter.proto.
9
+ */
10
+ export const file_api_v1_filter = /*@__PURE__*/
11
+ fileDesc("ChNhcGkvdjEvZmlsdGVyLnByb3RvEgZhcGkudjEiJAoGRmlsdGVyEgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCSJACg1GaWx0ZXJPcHRpb25zEh8KB2ZpbHRlcnMYASADKAsyDi5hcGkudjEuRmlsdGVyEg4KBnNlYXJjaBgCIAEoCUJwCgpjb20uYXBpLnYxQgtGaWx0ZXJQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z");
12
+
13
+ /**
14
+ * Describes the message api.v1.Filter.
15
+ * Use `create(FilterSchema)` to create a new message.
16
+ */
17
+ export const FilterSchema = /*@__PURE__*/
18
+ messageDesc(file_api_v1_filter, 0);
19
+
20
+ /**
21
+ * Describes the message api.v1.FilterOptions.
22
+ * Use `create(FilterOptionsSchema)` to create a new message.
23
+ */
24
+ export const FilterOptionsSchema = /*@__PURE__*/
25
+ messageDesc(file_api_v1_filter, 1);
26
+