@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/country.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/country.proto.
15
+ */
16
+ export const file_api_v1_country = /*@__PURE__*/
17
+ fileDesc("ChRhcGkvdjEvY291bnRyeS5wcm90bxIGYXBpLnYxIlkKEUFkZENvdW50cnlSZXF1ZXN0EgwKBG5hbWUYASABKAkSEAoIaXNvX2NvZGUYAiABKAkSEQoJaXNvX2NvZGUyGAMgASgJEhEKCWRpYWxfY29kZRgEIAEoCSJvChJFZGl0Q291bnRyeVJlcXVlc3QSEwoCaWQYASABKA1CB/pCBCoCKAESDAoEbmFtZRgCIAEoCRIQCghpc29fY29kZRgDIAEoCRIRCglpc29fY29kZTIYBCABKAkSEQoJZGlhbF9jb2RlGAUgASgJIh8KEUdldENvdW50cnlSZXF1ZXN0EgoKAmlkGAEgASgNImwKE0dldENvdW50cmllc1JlcXVlc3QSJgoKcGFnaW5hdGlvbhgBIAEoCzISLmFwaS52MS5QYWdpbmF0aW9uEi0KDmZpbHRlcl9vcHRpb25zGAIgASgLMhUuYXBpLnYxLkZpbHRlck9wdGlvbnMiIgoURGVsZXRlQ291bnRyeVJlcXVlc3QSCgoCaWQYASABKA0iYgoUR2V0Q291bnRyaWVzUmVzcG9uc2USIgoJY291bnRyaWVzGAEgAygLMg8uYXBpLnYxLkNvdW50cnkSJgoKcGFnaW5hdGlvbhgCIAEoCzISLmFwaS52MS5QYWdpbmF0aW9uIjYKEkFkZENvdW50cnlSZXNwb25zZRIgCgdjb3VudHJ5GAEgASgLMg8uYXBpLnYxLkNvdW50cnkiNwoTRWRpdENvdW50cnlSZXNwb25zZRIgCgdjb3VudHJ5GAEgASgLMg8uYXBpLnYxLkNvdW50cnkiNgoSR2V0Q291bnRyeVJlc3BvbnNlEiAKB2NvdW50cnkYASABKAsyDy5hcGkudjEuQ291bnRyeTKQBAoOQ291bnRyeVNlcnZpY2USYQoKQWRkQ291bnRyeRIZLmFwaS52MS5BZGRDb3VudHJ5UmVxdWVzdBoaLmFwaS52MS5BZGRDb3VudHJ5UmVzcG9uc2UiHILT5JMCFjoBKiIRL2FwaS92MS9jb3VudHJpZXMSaQoLRWRpdENvdW50cnkSGi5hcGkudjEuRWRpdENvdW50cnlSZXF1ZXN0GhsuYXBpLnYxLkVkaXRDb3VudHJ5UmVzcG9uc2UiIYLT5JMCGzoBKhoWL2FwaS92MS9jb3VudHJpZXMve2lkfRJjCgpHZXRDb3VudHJ5EhkuYXBpLnYxLkdldENvdW50cnlSZXF1ZXN0GhouYXBpLnYxLkdldENvdW50cnlSZXNwb25zZSIegtPkkwIYEhYvYXBpL3YxL2NvdW50cmllcy97aWR9EmQKDEdldENvdW50cmllcxIbLmFwaS52MS5HZXRDb3VudHJpZXNSZXF1ZXN0GhwuYXBpLnYxLkdldENvdW50cmllc1Jlc3BvbnNlIhmC0+STAhMSES9hcGkvdjEvY291bnRyaWVzEmUKDURlbGV0ZUNvdW50cnkSHC5hcGkudjEuRGVsZXRlQ291bnRyeVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiHoLT5JMCGCoWL2FwaS92MS9jb3VudHJpZXMve2lkfUJxCgpjb20uYXBpLnYxQgxDb3VudHJ5UHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [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.AddCountryRequest.
21
+ * Use `create(AddCountryRequestSchema)` to create a new message.
22
+ */
23
+ export const AddCountryRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_country, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditCountryRequest.
28
+ * Use `create(EditCountryRequestSchema)` to create a new message.
29
+ */
30
+ export const EditCountryRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_country, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetCountryRequest.
35
+ * Use `create(GetCountryRequestSchema)` to create a new message.
36
+ */
37
+ export const GetCountryRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_country, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetCountriesRequest.
42
+ * Use `create(GetCountriesRequestSchema)` to create a new message.
43
+ */
44
+ export const GetCountriesRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_country, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteCountryRequest.
49
+ * Use `create(DeleteCountryRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteCountryRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_country, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetCountriesResponse.
56
+ * Use `create(GetCountriesResponseSchema)` to create a new message.
57
+ */
58
+ export const GetCountriesResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_country, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddCountryResponse.
63
+ * Use `create(AddCountryResponseSchema)` to create a new message.
64
+ */
65
+ export const AddCountryResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_country, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditCountryResponse.
70
+ * Use `create(EditCountryResponseSchema)` to create a new message.
71
+ */
72
+ export const EditCountryResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_country, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetCountryResponse.
77
+ * Use `create(GetCountryResponseSchema)` to create a new message.
78
+ */
79
+ export const GetCountryResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_country, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.CountryService
86
+ */
87
+ export const CountryService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_country, 0);
89
+
@@ -0,0 +1,277 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/credit_transaction.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 { CreditTransaction } from "./models_pb";
10
+ import type { EmptySchema } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/credit_transaction.proto.
14
+ */
15
+ export declare const file_api_v1_credit_transaction: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddCreditTransactionRequest
21
+ */
22
+ export declare type AddCreditTransactionRequest = Message<"api.v1.AddCreditTransactionRequest"> & {
23
+ /**
24
+ * @generated from field: int32 amount = 1;
25
+ */
26
+ amount: number;
27
+
28
+ /**
29
+ * @generated from field: string reason = 2;
30
+ */
31
+ reason: string;
32
+
33
+ /**
34
+ * @generated from field: optional string entity_type = 3;
35
+ */
36
+ entityType?: string;
37
+
38
+ /**
39
+ * @generated from field: optional uint32 entity_id = 4;
40
+ */
41
+ entityId?: number;
42
+
43
+ /**
44
+ * @generated from field: optional string metadata_json = 5;
45
+ */
46
+ metadataJson?: string;
47
+
48
+ /**
49
+ * @generated from field: uint32 company_id = 6;
50
+ */
51
+ companyId: number;
52
+ };
53
+
54
+ /**
55
+ * Describes the message api.v1.AddCreditTransactionRequest.
56
+ * Use `create(AddCreditTransactionRequestSchema)` to create a new message.
57
+ */
58
+ export declare const AddCreditTransactionRequestSchema: GenMessage<AddCreditTransactionRequest>;
59
+
60
+ /**
61
+ * @generated from message api.v1.EditCreditTransactionRequest
62
+ */
63
+ export declare type EditCreditTransactionRequest = Message<"api.v1.EditCreditTransactionRequest"> & {
64
+ /**
65
+ * @generated from field: uint32 id = 1;
66
+ */
67
+ id: number;
68
+
69
+ /**
70
+ * @generated from field: int32 amount = 2;
71
+ */
72
+ amount: number;
73
+
74
+ /**
75
+ * @generated from field: string reason = 3;
76
+ */
77
+ reason: string;
78
+
79
+ /**
80
+ * @generated from field: optional string entity_type = 4;
81
+ */
82
+ entityType?: string;
83
+
84
+ /**
85
+ * @generated from field: optional uint32 entity_id = 5;
86
+ */
87
+ entityId?: number;
88
+
89
+ /**
90
+ * @generated from field: optional string metadata_json = 6;
91
+ */
92
+ metadataJson?: string;
93
+
94
+ /**
95
+ * @generated from field: uint32 company_id = 7;
96
+ */
97
+ companyId: number;
98
+ };
99
+
100
+ /**
101
+ * Describes the message api.v1.EditCreditTransactionRequest.
102
+ * Use `create(EditCreditTransactionRequestSchema)` to create a new message.
103
+ */
104
+ export declare const EditCreditTransactionRequestSchema: GenMessage<EditCreditTransactionRequest>;
105
+
106
+ /**
107
+ * @generated from message api.v1.GetCreditTransactionRequest
108
+ */
109
+ export declare type GetCreditTransactionRequest = Message<"api.v1.GetCreditTransactionRequest"> & {
110
+ /**
111
+ * @generated from field: uint32 id = 1;
112
+ */
113
+ id: number;
114
+ };
115
+
116
+ /**
117
+ * Describes the message api.v1.GetCreditTransactionRequest.
118
+ * Use `create(GetCreditTransactionRequestSchema)` to create a new message.
119
+ */
120
+ export declare const GetCreditTransactionRequestSchema: GenMessage<GetCreditTransactionRequest>;
121
+
122
+ /**
123
+ * @generated from message api.v1.GetCreditTransactionsRequest
124
+ */
125
+ export declare type GetCreditTransactionsRequest = Message<"api.v1.GetCreditTransactionsRequest"> & {
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.GetCreditTransactionsRequest.
139
+ * Use `create(GetCreditTransactionsRequestSchema)` to create a new message.
140
+ */
141
+ export declare const GetCreditTransactionsRequestSchema: GenMessage<GetCreditTransactionsRequest>;
142
+
143
+ /**
144
+ * @generated from message api.v1.DeleteCreditTransactionRequest
145
+ */
146
+ export declare type DeleteCreditTransactionRequest = Message<"api.v1.DeleteCreditTransactionRequest"> & {
147
+ /**
148
+ * @generated from field: uint32 id = 1;
149
+ */
150
+ id: number;
151
+ };
152
+
153
+ /**
154
+ * Describes the message api.v1.DeleteCreditTransactionRequest.
155
+ * Use `create(DeleteCreditTransactionRequestSchema)` to create a new message.
156
+ */
157
+ export declare const DeleteCreditTransactionRequestSchema: GenMessage<DeleteCreditTransactionRequest>;
158
+
159
+ /**
160
+ * Response definitions
161
+ *
162
+ * @generated from message api.v1.GetCreditTransactionsResponse
163
+ */
164
+ export declare type GetCreditTransactionsResponse = Message<"api.v1.GetCreditTransactionsResponse"> & {
165
+ /**
166
+ * @generated from field: repeated api.v1.CreditTransaction credit_transactions = 1;
167
+ */
168
+ creditTransactions: CreditTransaction[];
169
+
170
+ /**
171
+ * @generated from field: api.v1.Pagination pagination = 2;
172
+ */
173
+ pagination?: Pagination;
174
+ };
175
+
176
+ /**
177
+ * Describes the message api.v1.GetCreditTransactionsResponse.
178
+ * Use `create(GetCreditTransactionsResponseSchema)` to create a new message.
179
+ */
180
+ export declare const GetCreditTransactionsResponseSchema: GenMessage<GetCreditTransactionsResponse>;
181
+
182
+ /**
183
+ * @generated from message api.v1.AddCreditTransactionResponse
184
+ */
185
+ export declare type AddCreditTransactionResponse = Message<"api.v1.AddCreditTransactionResponse"> & {
186
+ /**
187
+ * @generated from field: api.v1.CreditTransaction credit_transaction = 1;
188
+ */
189
+ creditTransaction?: CreditTransaction;
190
+ };
191
+
192
+ /**
193
+ * Describes the message api.v1.AddCreditTransactionResponse.
194
+ * Use `create(AddCreditTransactionResponseSchema)` to create a new message.
195
+ */
196
+ export declare const AddCreditTransactionResponseSchema: GenMessage<AddCreditTransactionResponse>;
197
+
198
+ /**
199
+ * @generated from message api.v1.EditCreditTransactionResponse
200
+ */
201
+ export declare type EditCreditTransactionResponse = Message<"api.v1.EditCreditTransactionResponse"> & {
202
+ /**
203
+ * @generated from field: api.v1.CreditTransaction credit_transaction = 1;
204
+ */
205
+ creditTransaction?: CreditTransaction;
206
+ };
207
+
208
+ /**
209
+ * Describes the message api.v1.EditCreditTransactionResponse.
210
+ * Use `create(EditCreditTransactionResponseSchema)` to create a new message.
211
+ */
212
+ export declare const EditCreditTransactionResponseSchema: GenMessage<EditCreditTransactionResponse>;
213
+
214
+ /**
215
+ * @generated from message api.v1.GetCreditTransactionResponse
216
+ */
217
+ export declare type GetCreditTransactionResponse = Message<"api.v1.GetCreditTransactionResponse"> & {
218
+ /**
219
+ * @generated from field: api.v1.CreditTransaction credit_transaction = 1;
220
+ */
221
+ creditTransaction?: CreditTransaction;
222
+ };
223
+
224
+ /**
225
+ * Describes the message api.v1.GetCreditTransactionResponse.
226
+ * Use `create(GetCreditTransactionResponseSchema)` to create a new message.
227
+ */
228
+ export declare const GetCreditTransactionResponseSchema: GenMessage<GetCreditTransactionResponse>;
229
+
230
+ /**
231
+ * Service definition
232
+ *
233
+ * @generated from service api.v1.CreditTransactionService
234
+ */
235
+ export declare const CreditTransactionService: GenService<{
236
+ /**
237
+ * @generated from rpc api.v1.CreditTransactionService.AddCreditTransaction
238
+ */
239
+ addCreditTransaction: {
240
+ methodKind: "unary";
241
+ input: typeof AddCreditTransactionRequestSchema;
242
+ output: typeof AddCreditTransactionResponseSchema;
243
+ },
244
+ /**
245
+ * @generated from rpc api.v1.CreditTransactionService.EditCreditTransaction
246
+ */
247
+ editCreditTransaction: {
248
+ methodKind: "unary";
249
+ input: typeof EditCreditTransactionRequestSchema;
250
+ output: typeof EditCreditTransactionResponseSchema;
251
+ },
252
+ /**
253
+ * @generated from rpc api.v1.CreditTransactionService.GetCreditTransaction
254
+ */
255
+ getCreditTransaction: {
256
+ methodKind: "unary";
257
+ input: typeof GetCreditTransactionRequestSchema;
258
+ output: typeof GetCreditTransactionResponseSchema;
259
+ },
260
+ /**
261
+ * @generated from rpc api.v1.CreditTransactionService.GetCreditTransactions
262
+ */
263
+ getCreditTransactions: {
264
+ methodKind: "unary";
265
+ input: typeof GetCreditTransactionsRequestSchema;
266
+ output: typeof GetCreditTransactionsResponseSchema;
267
+ },
268
+ /**
269
+ * @generated from rpc api.v1.CreditTransactionService.DeleteCreditTransaction
270
+ */
271
+ deleteCreditTransaction: {
272
+ methodKind: "unary";
273
+ input: typeof DeleteCreditTransactionRequestSchema;
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/credit_transaction.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/credit_transaction.proto.
15
+ */
16
+ export const file_api_v1_credit_transaction = /*@__PURE__*/
17
+ fileDesc("Ch9hcGkvdjEvY3JlZGl0X3RyYW5zYWN0aW9uLnByb3RvEgZhcGkudjEi4QEKG0FkZENyZWRpdFRyYW5zYWN0aW9uUmVxdWVzdBIOCgZhbW91bnQYASABKAUSFwoGcmVhc29uGAIgASgJQgf6QgRyAhBkEiEKC2VudGl0eV90eXBlGAMgASgJQgf6QgRyAhgySACIAQESFgoJZW50aXR5X2lkGAQgASgNSAGIAQESGgoNbWV0YWRhdGFfanNvbhgFIAEoCUgC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Lmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIogtPkkwIiKiAvYXBpL3YxL2NyZWRpdF90cmFuc2FjdGlvbnMve2lkfUJ7Cgpjb20uYXBpLnYxQhZDcmVkaXRUcmFuc2FjdGlvblByb3RvUAFaHG9wc2VlL2JhY2tlbmQvZ2VuL2FwaS92MTtnZW6iAgNBWFiqAgZBcGkuVjHKAgZBcGlcVjHiAhJBcGlcVjFcR1BCTWV0YWRhdGHqAgdBcGk6OlYxYgZwcm90bzM", [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.AddCreditTransactionRequest.
21
+ * Use `create(AddCreditTransactionRequestSchema)` to create a new message.
22
+ */
23
+ export const AddCreditTransactionRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_credit_transaction, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditCreditTransactionRequest.
28
+ * Use `create(EditCreditTransactionRequestSchema)` to create a new message.
29
+ */
30
+ export const EditCreditTransactionRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_credit_transaction, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetCreditTransactionRequest.
35
+ * Use `create(GetCreditTransactionRequestSchema)` to create a new message.
36
+ */
37
+ export const GetCreditTransactionRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_credit_transaction, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetCreditTransactionsRequest.
42
+ * Use `create(GetCreditTransactionsRequestSchema)` to create a new message.
43
+ */
44
+ export const GetCreditTransactionsRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_credit_transaction, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteCreditTransactionRequest.
49
+ * Use `create(DeleteCreditTransactionRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteCreditTransactionRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_credit_transaction, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetCreditTransactionsResponse.
56
+ * Use `create(GetCreditTransactionsResponseSchema)` to create a new message.
57
+ */
58
+ export const GetCreditTransactionsResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_credit_transaction, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddCreditTransactionResponse.
63
+ * Use `create(AddCreditTransactionResponseSchema)` to create a new message.
64
+ */
65
+ export const AddCreditTransactionResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_credit_transaction, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditCreditTransactionResponse.
70
+ * Use `create(EditCreditTransactionResponseSchema)` to create a new message.
71
+ */
72
+ export const EditCreditTransactionResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_credit_transaction, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetCreditTransactionResponse.
77
+ * Use `create(GetCreditTransactionResponseSchema)` to create a new message.
78
+ */
79
+ export const GetCreditTransactionResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_credit_transaction, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.CreditTransactionService
86
+ */
87
+ export const CreditTransactionService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_credit_transaction, 0);
89
+