@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,101 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/role.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } 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/role.proto.
|
|
15
|
+
*/
|
|
16
|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STAhc6ASoaEi9hcGkvdjEvcm9sZXMve2lkfRJWCgdHZXRSb2xlEhYuYXBpLnYxLkdldFJvbGVSZXF1ZXN0GhcuYXBpLnYxLkdldFJvbGVSZXNwb25zZSIagtPkkwIUEhIvYXBpL3YxL3JvbGVzL3tpZH0SVAoIR2V0Um9sZXMSFy5hcGkudjEuR2V0Um9sZXNSZXF1ZXN0GhguYXBpLnYxLkdldFJvbGVzUmVzcG9uc2UiFYLT5JMCDxINL2FwaS92MS9yb2xlcxJbCgpEZWxldGVSb2xlEhkuYXBpLnYxLkRlbGV0ZVJvbGVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IhqC0+STAhQqEi9hcGkvdjEvcm9sZXMve2lkfUJuCgpjb20uYXBpLnYxQglSb2xlUHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [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.AddRoleRequest.
|
|
21
|
+
* Use `create(AddRoleRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const AddRoleRequestSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_api_v1_role, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message api.v1.EditRoleRequest.
|
|
28
|
+
* Use `create(EditRoleRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const EditRoleRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_api_v1_role, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message api.v1.GetRoleRequest.
|
|
35
|
+
* Use `create(GetRoleRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetRoleRequestSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_api_v1_role, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.v1.GetRolesRequest.
|
|
42
|
+
* Use `create(GetRolesRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetRolesRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_api_v1_role, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message api.v1.DeleteRoleRequest.
|
|
49
|
+
* Use `create(DeleteRoleRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const DeleteRoleRequestSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_v1_role, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.v1.GetRolesResponse.
|
|
56
|
+
* Use `create(GetRolesResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const GetRolesResponseSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_v1_role, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.GetRoleResponse.
|
|
63
|
+
* Use `create(GetRoleResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const GetRoleResponseSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_v1_role, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.AddRoleResponse.
|
|
70
|
+
* Use `create(AddRoleResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const AddRoleResponseSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_api_v1_role, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message api.v1.EditRoleResponse.
|
|
77
|
+
* Use `create(EditRoleResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const EditRoleResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_api_v1_role, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the enum api.v1.RoleEnum.
|
|
84
|
+
*/
|
|
85
|
+
export const RoleEnumSchema = /*@__PURE__*/
|
|
86
|
+
enumDesc(file_api_v1_role, 0);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum api.v1.RoleEnum
|
|
90
|
+
*/
|
|
91
|
+
export const RoleEnum = /*@__PURE__*/
|
|
92
|
+
tsEnum(RoleEnumSchema);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Service definition
|
|
96
|
+
*
|
|
97
|
+
* @generated from service api.v1.RoleService
|
|
98
|
+
*/
|
|
99
|
+
export const RoleService = /*@__PURE__*/
|
|
100
|
+
serviceDesc(file_api_v1_role, 0);
|
|
101
|
+
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/subscription.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 { Subscription } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/subscription.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_subscription: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Request definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from message api.v1.AddSubscriptionRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare type AddSubscriptionRequest = Message<"api.v1.AddSubscriptionRequest"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string plan_type = 1;
|
|
25
|
+
*/
|
|
26
|
+
planType: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: int32 user_limit = 2;
|
|
30
|
+
*/
|
|
31
|
+
userLimit: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int32 project_limit = 3;
|
|
35
|
+
*/
|
|
36
|
+
projectLimit: number;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: int32 ai_credits_monthly = 4;
|
|
40
|
+
*/
|
|
41
|
+
aiCreditsMonthly: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: int32 ai_credits_used = 5;
|
|
45
|
+
*/
|
|
46
|
+
aiCreditsUsed: number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: optional string stripe_subscription_id = 6;
|
|
50
|
+
*/
|
|
51
|
+
stripeSubscriptionId?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: optional string stripe_customer_id = 7;
|
|
55
|
+
*/
|
|
56
|
+
stripeCustomerId?: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: bool is_active = 8;
|
|
60
|
+
*/
|
|
61
|
+
isActive: boolean;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: uint32 company_id = 9;
|
|
65
|
+
*/
|
|
66
|
+
companyId: number;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message api.v1.AddSubscriptionRequest.
|
|
71
|
+
* Use `create(AddSubscriptionRequestSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const AddSubscriptionRequestSchema: GenMessage<AddSubscriptionRequest>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from message api.v1.EditSubscriptionRequest
|
|
77
|
+
*/
|
|
78
|
+
export declare type EditSubscriptionRequest = Message<"api.v1.EditSubscriptionRequest"> & {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: uint32 id = 1;
|
|
81
|
+
*/
|
|
82
|
+
id: number;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string plan_type = 2;
|
|
86
|
+
*/
|
|
87
|
+
planType: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: int32 user_limit = 3;
|
|
91
|
+
*/
|
|
92
|
+
userLimit: number;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: int32 project_limit = 4;
|
|
96
|
+
*/
|
|
97
|
+
projectLimit: number;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: int32 ai_credits_monthly = 5;
|
|
101
|
+
*/
|
|
102
|
+
aiCreditsMonthly: number;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: int32 ai_credits_used = 6;
|
|
106
|
+
*/
|
|
107
|
+
aiCreditsUsed: number;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: optional string stripe_subscription_id = 7;
|
|
111
|
+
*/
|
|
112
|
+
stripeSubscriptionId?: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: optional string stripe_customer_id = 8;
|
|
116
|
+
*/
|
|
117
|
+
stripeCustomerId?: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: bool is_active = 9;
|
|
121
|
+
*/
|
|
122
|
+
isActive: boolean;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: uint32 company_id = 10;
|
|
126
|
+
*/
|
|
127
|
+
companyId: number;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message api.v1.EditSubscriptionRequest.
|
|
132
|
+
* Use `create(EditSubscriptionRequestSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const EditSubscriptionRequestSchema: GenMessage<EditSubscriptionRequest>;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message api.v1.GetSubscriptionRequest
|
|
138
|
+
*/
|
|
139
|
+
export declare type GetSubscriptionRequest = Message<"api.v1.GetSubscriptionRequest"> & {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: uint32 id = 1;
|
|
142
|
+
*/
|
|
143
|
+
id: number;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message api.v1.GetSubscriptionRequest.
|
|
148
|
+
* Use `create(GetSubscriptionRequestSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export declare const GetSubscriptionRequestSchema: GenMessage<GetSubscriptionRequest>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message api.v1.GetSubscriptionsRequest
|
|
154
|
+
*/
|
|
155
|
+
export declare type GetSubscriptionsRequest = Message<"api.v1.GetSubscriptionsRequest"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: api.v1.Pagination pagination = 1;
|
|
158
|
+
*/
|
|
159
|
+
pagination?: Pagination;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: api.v1.FilterOptions filter_options = 2;
|
|
163
|
+
*/
|
|
164
|
+
filterOptions?: FilterOptions;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message api.v1.GetSubscriptionsRequest.
|
|
169
|
+
* Use `create(GetSubscriptionsRequestSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const GetSubscriptionsRequestSchema: GenMessage<GetSubscriptionsRequest>;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from message api.v1.DeleteSubscriptionRequest
|
|
175
|
+
*/
|
|
176
|
+
export declare type DeleteSubscriptionRequest = Message<"api.v1.DeleteSubscriptionRequest"> & {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: uint32 id = 1;
|
|
179
|
+
*/
|
|
180
|
+
id: number;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message api.v1.DeleteSubscriptionRequest.
|
|
185
|
+
* Use `create(DeleteSubscriptionRequestSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export declare const DeleteSubscriptionRequestSchema: GenMessage<DeleteSubscriptionRequest>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Response definitions
|
|
191
|
+
*
|
|
192
|
+
* @generated from message api.v1.GetSubscriptionsResponse
|
|
193
|
+
*/
|
|
194
|
+
export declare type GetSubscriptionsResponse = Message<"api.v1.GetSubscriptionsResponse"> & {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: repeated api.v1.Subscription subscriptions = 1;
|
|
197
|
+
*/
|
|
198
|
+
subscriptions: Subscription[];
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
202
|
+
*/
|
|
203
|
+
pagination?: Pagination;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Describes the message api.v1.GetSubscriptionsResponse.
|
|
208
|
+
* Use `create(GetSubscriptionsResponseSchema)` to create a new message.
|
|
209
|
+
*/
|
|
210
|
+
export declare const GetSubscriptionsResponseSchema: GenMessage<GetSubscriptionsResponse>;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message api.v1.AddSubscriptionResponse
|
|
214
|
+
*/
|
|
215
|
+
export declare type AddSubscriptionResponse = Message<"api.v1.AddSubscriptionResponse"> & {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: api.v1.Subscription subscription = 1;
|
|
218
|
+
*/
|
|
219
|
+
subscription?: Subscription;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message api.v1.AddSubscriptionResponse.
|
|
224
|
+
* Use `create(AddSubscriptionResponseSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export declare const AddSubscriptionResponseSchema: GenMessage<AddSubscriptionResponse>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message api.v1.EditSubscriptionResponse
|
|
230
|
+
*/
|
|
231
|
+
export declare type EditSubscriptionResponse = Message<"api.v1.EditSubscriptionResponse"> & {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: api.v1.Subscription subscription = 1;
|
|
234
|
+
*/
|
|
235
|
+
subscription?: Subscription;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message api.v1.EditSubscriptionResponse.
|
|
240
|
+
* Use `create(EditSubscriptionResponseSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export declare const EditSubscriptionResponseSchema: GenMessage<EditSubscriptionResponse>;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from message api.v1.GetSubscriptionResponse
|
|
246
|
+
*/
|
|
247
|
+
export declare type GetSubscriptionResponse = Message<"api.v1.GetSubscriptionResponse"> & {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: api.v1.Subscription subscription = 1;
|
|
250
|
+
*/
|
|
251
|
+
subscription?: Subscription;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message api.v1.GetSubscriptionResponse.
|
|
256
|
+
* Use `create(GetSubscriptionResponseSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export declare const GetSubscriptionResponseSchema: GenMessage<GetSubscriptionResponse>;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Service definition
|
|
262
|
+
*
|
|
263
|
+
* @generated from service api.v1.SubscriptionService
|
|
264
|
+
*/
|
|
265
|
+
export declare const SubscriptionService: GenService<{
|
|
266
|
+
/**
|
|
267
|
+
* @generated from rpc api.v1.SubscriptionService.AddSubscription
|
|
268
|
+
*/
|
|
269
|
+
addSubscription: {
|
|
270
|
+
methodKind: "unary";
|
|
271
|
+
input: typeof AddSubscriptionRequestSchema;
|
|
272
|
+
output: typeof AddSubscriptionResponseSchema;
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* @generated from rpc api.v1.SubscriptionService.EditSubscription
|
|
276
|
+
*/
|
|
277
|
+
editSubscription: {
|
|
278
|
+
methodKind: "unary";
|
|
279
|
+
input: typeof EditSubscriptionRequestSchema;
|
|
280
|
+
output: typeof EditSubscriptionResponseSchema;
|
|
281
|
+
},
|
|
282
|
+
/**
|
|
283
|
+
* @generated from rpc api.v1.SubscriptionService.GetSubscription
|
|
284
|
+
*/
|
|
285
|
+
getSubscription: {
|
|
286
|
+
methodKind: "unary";
|
|
287
|
+
input: typeof GetSubscriptionRequestSchema;
|
|
288
|
+
output: typeof GetSubscriptionResponseSchema;
|
|
289
|
+
},
|
|
290
|
+
/**
|
|
291
|
+
* @generated from rpc api.v1.SubscriptionService.GetSubscriptions
|
|
292
|
+
*/
|
|
293
|
+
getSubscriptions: {
|
|
294
|
+
methodKind: "unary";
|
|
295
|
+
input: typeof GetSubscriptionsRequestSchema;
|
|
296
|
+
output: typeof GetSubscriptionsResponseSchema;
|
|
297
|
+
},
|
|
298
|
+
/**
|
|
299
|
+
* @generated from rpc api.v1.SubscriptionService.DeleteSubscription
|
|
300
|
+
*/
|
|
301
|
+
deleteSubscription: {
|
|
302
|
+
methodKind: "unary";
|
|
303
|
+
input: typeof DeleteSubscriptionRequestSchema;
|
|
304
|
+
output: typeof EmptySchema;
|
|
305
|
+
},
|
|
306
|
+
}>;
|
|
307
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/subscription.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/subscription.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_api_v1_subscription = /*@__PURE__*/
|
|
17
|
+
fileDesc("ChlhcGkvdjEvc3Vic2NyaXB0aW9uLnByb3RvEgZhcGkudjEi1wIKFkFkZFN1YnNjcmlwdGlvblJlcXVlc3QSGgoJcGxhbl90eXBlGAEgASgJQgf6QgRyAhAyEhsKCnVzZXJfbGltaXQYAiABKAVCB/pCBBoCKAESHgoNcHJvamVjdF9saW1pdBgDIAEoBUIH+kIEGgIoARIjChJhaV9jcmVkaXRzX21vbnRobHkYBCABKAVCB/pCBBoCKAASIAoPYWlfY3JlZGl0c191c2VkGAUgASgFQgf6QgQaAigAEiMKFnN0cmlwZV9zdWJzY3JpcHRpb25faWQYBiABKAlIAIgBARIfChJzdHJpcGVfY3VzdG9tZXJfaWQYByABKAlIAYgBARIRCglpc19hY3RpdmUYCCABKAgSEgoKY29tcGFueV9pZBgJIAEoDUIZChdfc3RyaXBlX3N1YnNjcmlwdGlvbl9pZEIVChNfc3RyaXBlX2N1c3RvbWVyX2lkIu0CChdFZGl0U3Vic2NyaXB0aW9uUmVxdWVzdBITCgJpZBgBIAEoDUIH+kIEKgIoARIaCglwbGFuX3R5cGUYAiABKAlCB/pCBHICEDISGwoKdXNlcl9saW1pdBgDIAEoBUIH+kIEGgIoARIeCg1wcm9qZWN0X2xpbWl0GAQgASgFQgf6QgQaAigBEiMKEmFpX2NyZWRpdHNfbW9udGhseRgFIAEoBUIH+kIEGgIoABIgCg9haV9jcmVkaXRzX3V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JzY3JpcHRpb25SZXNwb25zZSIggtPkkwIaOgEqIhUvYXBpL3YxL3N1YnNjcmlwdGlvbnMSfAoQRWRpdFN1YnNjcmlwdGlvbhIfLmFwaS52MS5FZGl0U3Vic2NyaXB0aW9uUmVxdWVzdBogLmFwaS52MS5FZGl0U3Vic2NyaXB0aW9uUmVzcG9uc2UiJYLT5JMCHzoBKhoaL2FwaS92MS9zdWJzY3JpcHRpb25zL3tpZH0SdgoPR2V0U3Vic2NyaXB0aW9uEh4uYXBpLnYxLkdldFN1YnNjcmlwdGlvblJlcXVlc3QaHy5hcGkudjEuR2V0U3Vic2NyaXB0aW9uUmVzcG9uc2UiIoLT5JMCHBIaL2FwaS92MS9zdWJzY3JpcHRpb25zL3tpZH0SdAoQR2V0U3Vic2NyaXB0aW9ucxIfLmFwaS52MS5HZXRTdWJzY3JpcHRpb25zUmVxdWVzdBogLmFwaS52MS5HZXRTdWJzY3JpcHRpb25zUmVzcG9uc2UiHYLT5JMCFxIVL2FwaS92MS9zdWJzY3JpcHRpb25zEnMKEkRlbGV0ZVN1YnNjcmlwdGlvbhIhLmFwaS52MS5EZWxldGVTdWJzY3JpcHRpb25SZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IiKC0+STAhwqGi9hcGkvdjEvc3Vic2NyaXB0aW9ucy97aWR9QnYKCmNvbS5hcGkudjFCEVN1YnNjcmlwdGlvblByb3RvUAFaHG9wc2VlL2JhY2tlbmQvZ2VuL2FwaS92MTtnZW6iAgNBWFiqAgZBcGkuVjHKAgZBcGlcVjHiAhJBcGlcVjFcR1BCTWV0YWRhdGHqAgdBcGk6OlYxYgZwcm90bzM", [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.AddSubscriptionRequest.
|
|
21
|
+
* Use `create(AddSubscriptionRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const AddSubscriptionRequestSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_api_v1_subscription, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message api.v1.EditSubscriptionRequest.
|
|
28
|
+
* Use `create(EditSubscriptionRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const EditSubscriptionRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_api_v1_subscription, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message api.v1.GetSubscriptionRequest.
|
|
35
|
+
* Use `create(GetSubscriptionRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetSubscriptionRequestSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_api_v1_subscription, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.v1.GetSubscriptionsRequest.
|
|
42
|
+
* Use `create(GetSubscriptionsRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetSubscriptionsRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_api_v1_subscription, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message api.v1.DeleteSubscriptionRequest.
|
|
49
|
+
* Use `create(DeleteSubscriptionRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const DeleteSubscriptionRequestSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_v1_subscription, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.v1.GetSubscriptionsResponse.
|
|
56
|
+
* Use `create(GetSubscriptionsResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const GetSubscriptionsResponseSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_v1_subscription, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.AddSubscriptionResponse.
|
|
63
|
+
* Use `create(AddSubscriptionResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const AddSubscriptionResponseSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_v1_subscription, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.EditSubscriptionResponse.
|
|
70
|
+
* Use `create(EditSubscriptionResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const EditSubscriptionResponseSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_api_v1_subscription, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message api.v1.GetSubscriptionResponse.
|
|
77
|
+
* Use `create(GetSubscriptionResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const GetSubscriptionResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_api_v1_subscription, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Service definition
|
|
84
|
+
*
|
|
85
|
+
* @generated from service api.v1.SubscriptionService
|
|
86
|
+
*/
|
|
87
|
+
export const SubscriptionService = /*@__PURE__*/
|
|
88
|
+
serviceDesc(file_api_v1_subscription, 0);
|
|
89
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/swagger.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file api/v1/swagger.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_api_v1_swagger: GenFile;
|
|
11
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/swagger.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file api/v1/swagger.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_api_v1_swagger = /*@__PURE__*/
|
|
12
|
+
fileDesc("ChRhcGkvdjEvc3dhZ2dlci5wcm90bxIGYXBpLnYxQooCCgpjb20uYXBpLnYxQgxTd2FnZ2VyUHJvdG9QAVocb3BzZWUvYmFja2VuZC9nZW4vYXBpL3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjGSQZUBElwKEkNvZGlsYXMgU3dhZ2dlciBVSSJBChVDb2RpbGFzIFN0YWNrIFByb2plY3QSE2h0dHBzOi8vY29kaWxhcy5jb20aE3N1cHBvcnRAY29kaWxhcy5jb20yAzEuMFojCiEKCkFwaUtleUF1dGgSEwgCGg1BdXRob3JpemF0aW9uIAJiEAoOCgpBcGlLZXlBdXRoEgBiBnByb3RvMw", [file_protoc_gen_openapiv2_options_annotations]);
|
|
13
|
+
|