@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.
- package/bin/opsee-mcp.js +21 -0
- package/gen/api/v1/account_pb.d.ts +393 -0
- package/gen/api/v1/account_pb.js +111 -0
- package/gen/api/v1/activity_log_pb.d.ts +297 -0
- package/gen/api/v1/activity_log_pb.js +89 -0
- package/gen/api/v1/ai_run_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_run_status_pb.js +89 -0
- package/gen/api/v1/ai_unit_category_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_category_pb.js +89 -0
- package/gen/api/v1/ai_unit_stage_pb.d.ts +347 -0
- package/gen/api/v1/ai_unit_stage_pb.js +117 -0
- package/gen/api/v1/ai_unit_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_status_pb.js +89 -0
- package/gen/api/v1/ai_workflow_run_pb.d.ts +542 -0
- package/gen/api/v1/ai_workflow_run_pb.js +159 -0
- package/gen/api/v1/ai_workflow_unit_pb.d.ts +431 -0
- package/gen/api/v1/ai_workflow_unit_pb.js +103 -0
- package/gen/api/v1/attachment_pb.d.ts +297 -0
- package/gen/api/v1/attachment_pb.js +89 -0
- package/gen/api/v1/billing_pb.d.ts +1206 -0
- package/gen/api/v1/billing_pb.js +288 -0
- package/gen/api/v1/board_column_pb.d.ts +282 -0
- package/gen/api/v1/board_column_pb.js +89 -0
- package/gen/api/v1/board_pb.d.ts +296 -0
- package/gen/api/v1/board_pb.js +96 -0
- package/gen/api/v1/comment_pb.d.ts +277 -0
- package/gen/api/v1/comment_pb.js +89 -0
- package/gen/api/v1/company_pb.d.ts +452 -0
- package/gen/api/v1/company_pb.js +110 -0
- package/gen/api/v1/component_pb.d.ts +267 -0
- package/gen/api/v1/component_pb.js +89 -0
- package/gen/api/v1/contact_pb.d.ts +58 -0
- package/gen/api/v1/contact_pb.js +28 -0
- package/gen/api/v1/country_pb.d.ts +257 -0
- package/gen/api/v1/country_pb.js +89 -0
- package/gen/api/v1/credit_transaction_pb.d.ts +277 -0
- package/gen/api/v1/credit_transaction_pb.js +89 -0
- package/gen/api/v1/cycle_pb.d.ts +281 -0
- package/gen/api/v1/cycle_pb.js +87 -0
- package/gen/api/v1/deployment_pb.d.ts +277 -0
- package/gen/api/v1/deployment_pb.js +89 -0
- package/gen/api/v1/doc_page_pb.d.ts +505 -0
- package/gen/api/v1/doc_page_pb.js +138 -0
- package/gen/api/v1/doc_page_version_pb.d.ts +287 -0
- package/gen/api/v1/doc_page_version_pb.js +89 -0
- package/gen/api/v1/doc_space_pb.d.ts +297 -0
- package/gen/api/v1/doc_space_pb.js +89 -0
- package/gen/api/v1/document_link_pb.d.ts +174 -0
- package/gen/api/v1/document_link_pb.js +61 -0
- package/gen/api/v1/document_pb.d.ts +548 -0
- package/gen/api/v1/document_pb.js +152 -0
- package/gen/api/v1/environment_pb.d.ts +277 -0
- package/gen/api/v1/environment_pb.js +89 -0
- package/gen/api/v1/filter_pb.d.ts +66 -0
- package/gen/api/v1/filter_pb.js +26 -0
- package/gen/api/v1/label_pb.d.ts +267 -0
- package/gen/api/v1/label_pb.js +89 -0
- package/gen/api/v1/models_pb.d.ts +3137 -0
- package/gen/api/v1/models_pb.js +357 -0
- package/gen/api/v1/notification_pb.d.ts +317 -0
- package/gen/api/v1/notification_pb.js +89 -0
- package/gen/api/v1/orchestrator_pb.d.ts +1813 -0
- package/gen/api/v1/orchestrator_pb.js +353 -0
- package/gen/api/v1/pagination_pb.d.ts +92 -0
- package/gen/api/v1/pagination_pb.js +33 -0
- package/gen/api/v1/permission_pb.d.ts +222 -0
- package/gen/api/v1/permission_pb.js +89 -0
- package/gen/api/v1/preference_pb.d.ts +109 -0
- package/gen/api/v1/preference_pb.js +42 -0
- package/gen/api/v1/project_membership_pb.d.ts +321 -0
- package/gen/api/v1/project_membership_pb.js +103 -0
- package/gen/api/v1/project_pb.d.ts +473 -0
- package/gen/api/v1/project_pb.js +145 -0
- package/gen/api/v1/reporting_pb.d.ts +1481 -0
- package/gen/api/v1/reporting_pb.js +373 -0
- package/gen/api/v1/role_pb.d.ts +252 -0
- package/gen/api/v1/role_pb.js +101 -0
- package/gen/api/v1/subscription_pb.d.ts +307 -0
- package/gen/api/v1/subscription_pb.js +89 -0
- package/gen/api/v1/swagger_pb.d.ts +11 -0
- package/gen/api/v1/swagger_pb.js +13 -0
- package/gen/api/v1/task_component_pb.d.ts +242 -0
- package/gen/api/v1/task_component_pb.js +89 -0
- package/gen/api/v1/task_contributor_pb.d.ts +252 -0
- package/gen/api/v1/task_contributor_pb.js +89 -0
- package/gen/api/v1/task_doc_page_pb.d.ts +186 -0
- package/gen/api/v1/task_doc_page_pb.js +73 -0
- package/gen/api/v1/task_document_pb.d.ts +186 -0
- package/gen/api/v1/task_document_pb.js +73 -0
- package/gen/api/v1/task_label_pb.d.ts +242 -0
- package/gen/api/v1/task_label_pb.js +89 -0
- package/gen/api/v1/task_pb.d.ts +780 -0
- package/gen/api/v1/task_pb.js +173 -0
- package/gen/api/v1/task_priority_pb.d.ts +267 -0
- package/gen/api/v1/task_priority_pb.js +89 -0
- package/gen/api/v1/task_repository_pb.d.ts +242 -0
- package/gen/api/v1/task_repository_pb.js +89 -0
- package/gen/api/v1/task_type_pb.d.ts +277 -0
- package/gen/api/v1/task_type_pb.js +89 -0
- package/gen/api/v1/test_run_pb.d.ts +277 -0
- package/gen/api/v1/test_run_pb.js +89 -0
- package/gen/api/v1/user_pb.d.ts +366 -0
- package/gen/api/v1/user_pb.js +117 -0
- package/gen/api/v1/vcs_connection_pb.d.ts +964 -0
- package/gen/api/v1/vcs_connection_pb.js +228 -0
- package/gen/api/v1/vcs_integration_pb.d.ts +479 -0
- package/gen/api/v1/vcs_integration_pb.js +125 -0
- package/gen/api/v1/vcs_pb.d.ts +36 -0
- package/gen/api/v1/vcs_pb.js +24 -0
- package/gen/api/v1/view_pb.d.ts +337 -0
- package/gen/api/v1/view_pb.js +102 -0
- package/gen/google/api/annotations_pb.d.ts +34 -0
- package/gen/google/api/annotations_pb.js +36 -0
- package/gen/google/api/http_pb.d.ts +477 -0
- package/gen/google/api/http_pb.js +47 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
- package/gen/validate/validate_pb.d.ts +1953 -0
- package/gen/validate/validate_pb.js +223 -0
- package/package.json +37 -0
- package/src/auth/credentials.ts +65 -0
- package/src/auth/login.ts +96 -0
- package/src/auth/manager.ts +49 -0
- package/src/client/api.ts +91 -0
- package/src/index.ts +13 -0
- package/src/server.ts +26 -0
- package/src/tools/cycles.ts +77 -0
- package/src/tools/docs.ts +148 -0
- package/src/tools/projects.ts +40 -0
- package/src/tools/repositories.ts +41 -0
- package/src/tools/task-metadata.ts +96 -0
- package/src/tools/tasks.ts +228 -0
- package/src/tools/user.ts +33 -0
- 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_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MSaQoLRWRpdENvdW50cnkSGi5hcGkudjEuRWRpdENvdW50cnlSZXF1ZXN0GhsuYXBpLnYxLkVkaXRDb3VudHJ5UmVzcG9uc2UiIYLT5JMCGzoBKhoWL2FwaS92MS9jb3VudHJpZXMve2lkfRJjCgpHZXRDb3VudHJ5EhkuYXBpLnYxLkdldENvdW50cnlSZXF1ZXN0GhouYXBpLnYxLkdldENvdW50cnlSZXNwb25zZSIegtPkkwIYEhYvYXBpL3YxL2NvdW50cmllcy97aWR9EmQKDEdldENvdW50cmllcxIbLmFwaS52MS5HZXRDb3VudHJpZXNSZXF1ZXN0GhwuYXBpLnYxLkdldENvdW50cmllc1Jlc3BvbnNlIhmC0+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("Ch9hcGkvdjEvY3JlZGl0X3RyYW5zYWN0aW9uLnByb3RvEgZhcGkudjEi4QEKG0FkZENyZWRpdFRyYW5zYWN0aW9uUmVxdWVzdBIOCgZhbW91bnQYASABKAUSFwoGcmVhc29uGAIgASgJQgf6QgRyAhBkEiEKC2VudGl0eV90eXBlGAMgASgJQgf6QgRyAhgySACIAQESFgoJZW50aXR5X2lkGAQ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lbGV0ZUNyZWRpdFRyYW5zYWN0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIogtPkkwIiKiAvYXBpL3YxL2NyZWRpdF90cmFuc2FjdGlvbnMve2lkfUJ7Cgpjb20uYXBpLnYxQhZDcmVkaXRUcmFuc2FjdGlvblByb3RvUAFaHG9wc2VlL2JhY2tlbmQvZ2VuL2FwaS92MTtnZW6iAgNBWFiqAgZBcGkuVjHKAgZBcGlcVjHiAhJBcGlcVjFcR1BCTWV0YWRhdGHqAgdBcGk6OlYxYgZwcm90bzM", [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
|
+
|