@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/deployment.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/deployment.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_api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L3YxO2dlbqICA0FYWKoCBkFwaS5WMcoCBkFwaVxWMeICEkFwaVxWMVxHUEJNZXRhZGF0YeoCB0FwaTo6VjFiBnByb3RvMw", [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.AddDeploymentRequest.
|
|
21
|
+
* Use `create(AddDeploymentRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const AddDeploymentRequestSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_api_v1_deployment, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message api.v1.EditDeploymentRequest.
|
|
28
|
+
* Use `create(EditDeploymentRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const EditDeploymentRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_api_v1_deployment, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message api.v1.GetDeploymentRequest.
|
|
35
|
+
* Use `create(GetDeploymentRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetDeploymentRequestSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_api_v1_deployment, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.v1.GetDeploymentsRequest.
|
|
42
|
+
* Use `create(GetDeploymentsRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetDeploymentsRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_api_v1_deployment, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message api.v1.DeleteDeploymentRequest.
|
|
49
|
+
* Use `create(DeleteDeploymentRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const DeleteDeploymentRequestSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_v1_deployment, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.v1.GetDeploymentsResponse.
|
|
56
|
+
* Use `create(GetDeploymentsResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const GetDeploymentsResponseSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_v1_deployment, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.AddDeploymentResponse.
|
|
63
|
+
* Use `create(AddDeploymentResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const AddDeploymentResponseSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_v1_deployment, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.EditDeploymentResponse.
|
|
70
|
+
* Use `create(EditDeploymentResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const EditDeploymentResponseSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_api_v1_deployment, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message api.v1.GetDeploymentResponse.
|
|
77
|
+
* Use `create(GetDeploymentResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const GetDeploymentResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_api_v1_deployment, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Service definition
|
|
84
|
+
*
|
|
85
|
+
* @generated from service api.v1.DeploymentService
|
|
86
|
+
*/
|
|
87
|
+
export const DeploymentService = /*@__PURE__*/
|
|
88
|
+
serviceDesc(file_api_v1_deployment, 0);
|
|
89
|
+
|
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/doc_page.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 { DocPage } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/doc_page.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_doc_page: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Request definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from message api.v1.AddDocPageRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare type AddDocPageRequest = Message<"api.v1.AddDocPageRequest"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string title = 1;
|
|
25
|
+
*/
|
|
26
|
+
title: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string slug = 2;
|
|
30
|
+
*/
|
|
31
|
+
slug: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string current_content = 3;
|
|
35
|
+
*/
|
|
36
|
+
currentContent: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string content_type = 4;
|
|
40
|
+
*/
|
|
41
|
+
contentType: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: int32 current_version_number = 5;
|
|
45
|
+
*/
|
|
46
|
+
currentVersionNumber: number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: bool is_root = 6;
|
|
50
|
+
*/
|
|
51
|
+
isRoot: boolean;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: bool is_archived = 7;
|
|
55
|
+
*/
|
|
56
|
+
isArchived: boolean;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: int32 display_order = 8;
|
|
60
|
+
*/
|
|
61
|
+
displayOrder: number;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: uint32 project_id = 9;
|
|
65
|
+
*/
|
|
66
|
+
projectId: number;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: optional uint32 parent_page_id = 10;
|
|
70
|
+
*/
|
|
71
|
+
parentPageId?: number;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: uint32 created_by_user_id = 11;
|
|
75
|
+
*/
|
|
76
|
+
createdByUserId: number;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: uint32 updated_by_user_id = 12;
|
|
80
|
+
*/
|
|
81
|
+
updatedByUserId: number;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message api.v1.AddDocPageRequest.
|
|
86
|
+
* Use `create(AddDocPageRequestSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const AddDocPageRequestSchema: GenMessage<AddDocPageRequest>;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message api.v1.EditDocPageRequest
|
|
92
|
+
*/
|
|
93
|
+
export declare type EditDocPageRequest = Message<"api.v1.EditDocPageRequest"> & {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: uint32 id = 1;
|
|
96
|
+
*/
|
|
97
|
+
id: number;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string title = 2;
|
|
101
|
+
*/
|
|
102
|
+
title: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string slug = 3;
|
|
106
|
+
*/
|
|
107
|
+
slug: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: string current_content = 4;
|
|
111
|
+
*/
|
|
112
|
+
currentContent: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string content_type = 5;
|
|
116
|
+
*/
|
|
117
|
+
contentType: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: int32 current_version_number = 6;
|
|
121
|
+
*/
|
|
122
|
+
currentVersionNumber: number;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: bool is_root = 7;
|
|
126
|
+
*/
|
|
127
|
+
isRoot: boolean;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: bool is_archived = 8;
|
|
131
|
+
*/
|
|
132
|
+
isArchived: boolean;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: int32 display_order = 9;
|
|
136
|
+
*/
|
|
137
|
+
displayOrder: number;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: uint32 project_id = 10;
|
|
141
|
+
*/
|
|
142
|
+
projectId: number;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: optional uint32 parent_page_id = 11;
|
|
146
|
+
*/
|
|
147
|
+
parentPageId?: number;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: uint32 created_by_user_id = 12;
|
|
151
|
+
*/
|
|
152
|
+
createdByUserId: number;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: uint32 updated_by_user_id = 13;
|
|
156
|
+
*/
|
|
157
|
+
updatedByUserId: number;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message api.v1.EditDocPageRequest.
|
|
162
|
+
* Use `create(EditDocPageRequestSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export declare const EditDocPageRequestSchema: GenMessage<EditDocPageRequest>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message api.v1.GetDocPageRequest
|
|
168
|
+
*/
|
|
169
|
+
export declare type GetDocPageRequest = Message<"api.v1.GetDocPageRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: uint32 id = 1;
|
|
172
|
+
*/
|
|
173
|
+
id: number;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message api.v1.GetDocPageRequest.
|
|
178
|
+
* Use `create(GetDocPageRequestSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const GetDocPageRequestSchema: GenMessage<GetDocPageRequest>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message api.v1.GetDocPagesRequest
|
|
184
|
+
*/
|
|
185
|
+
export declare type GetDocPagesRequest = Message<"api.v1.GetDocPagesRequest"> & {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: api.v1.Pagination pagination = 1;
|
|
188
|
+
*/
|
|
189
|
+
pagination?: Pagination;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: api.v1.FilterOptions filter_options = 2;
|
|
193
|
+
*/
|
|
194
|
+
filterOptions?: FilterOptions;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message api.v1.GetDocPagesRequest.
|
|
199
|
+
* Use `create(GetDocPagesRequestSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const GetDocPagesRequestSchema: GenMessage<GetDocPagesRequest>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from message api.v1.DeleteDocPageRequest
|
|
205
|
+
*/
|
|
206
|
+
export declare type DeleteDocPageRequest = Message<"api.v1.DeleteDocPageRequest"> & {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: uint32 id = 1;
|
|
209
|
+
*/
|
|
210
|
+
id: number;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message api.v1.DeleteDocPageRequest.
|
|
215
|
+
* Use `create(DeleteDocPageRequestSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const DeleteDocPageRequestSchema: GenMessage<DeleteDocPageRequest>;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Response definitions
|
|
221
|
+
*
|
|
222
|
+
* @generated from message api.v1.GetDocPagesResponse
|
|
223
|
+
*/
|
|
224
|
+
export declare type GetDocPagesResponse = Message<"api.v1.GetDocPagesResponse"> & {
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: repeated api.v1.DocPage doc_pages = 1;
|
|
227
|
+
*/
|
|
228
|
+
docPages: DocPage[];
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
232
|
+
*/
|
|
233
|
+
pagination?: Pagination;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Describes the message api.v1.GetDocPagesResponse.
|
|
238
|
+
* Use `create(GetDocPagesResponseSchema)` to create a new message.
|
|
239
|
+
*/
|
|
240
|
+
export declare const GetDocPagesResponseSchema: GenMessage<GetDocPagesResponse>;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message api.v1.AddDocPageResponse
|
|
244
|
+
*/
|
|
245
|
+
export declare type AddDocPageResponse = Message<"api.v1.AddDocPageResponse"> & {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: api.v1.DocPage doc_page = 1;
|
|
248
|
+
*/
|
|
249
|
+
docPage?: DocPage;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message api.v1.AddDocPageResponse.
|
|
254
|
+
* Use `create(AddDocPageResponseSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const AddDocPageResponseSchema: GenMessage<AddDocPageResponse>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message api.v1.EditDocPageResponse
|
|
260
|
+
*/
|
|
261
|
+
export declare type EditDocPageResponse = Message<"api.v1.EditDocPageResponse"> & {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: api.v1.DocPage doc_page = 1;
|
|
264
|
+
*/
|
|
265
|
+
docPage?: DocPage;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Describes the message api.v1.EditDocPageResponse.
|
|
270
|
+
* Use `create(EditDocPageResponseSchema)` to create a new message.
|
|
271
|
+
*/
|
|
272
|
+
export declare const EditDocPageResponseSchema: GenMessage<EditDocPageResponse>;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* @generated from message api.v1.GetDocPageResponse
|
|
276
|
+
*/
|
|
277
|
+
export declare type GetDocPageResponse = Message<"api.v1.GetDocPageResponse"> & {
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: api.v1.DocPage doc_page = 1;
|
|
280
|
+
*/
|
|
281
|
+
docPage?: DocPage;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Describes the message api.v1.GetDocPageResponse.
|
|
286
|
+
* Use `create(GetDocPageResponseSchema)` to create a new message.
|
|
287
|
+
*/
|
|
288
|
+
export declare const GetDocPageResponseSchema: GenMessage<GetDocPageResponse>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* New request/response messages for tree operations
|
|
292
|
+
*
|
|
293
|
+
* @generated from message api.v1.GetDocPageTreeRequest
|
|
294
|
+
*/
|
|
295
|
+
export declare type GetDocPageTreeRequest = Message<"api.v1.GetDocPageTreeRequest"> & {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: uint32 project_id = 1;
|
|
298
|
+
*/
|
|
299
|
+
projectId: number;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: optional uint32 parent_page_id = 2;
|
|
303
|
+
*/
|
|
304
|
+
parentPageId?: number;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Describes the message api.v1.GetDocPageTreeRequest.
|
|
309
|
+
* Use `create(GetDocPageTreeRequestSchema)` to create a new message.
|
|
310
|
+
*/
|
|
311
|
+
export declare const GetDocPageTreeRequestSchema: GenMessage<GetDocPageTreeRequest>;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from message api.v1.GetDocPageTreeResponse
|
|
315
|
+
*/
|
|
316
|
+
export declare type GetDocPageTreeResponse = Message<"api.v1.GetDocPageTreeResponse"> & {
|
|
317
|
+
/**
|
|
318
|
+
* @generated from field: repeated api.v1.DocPageTreeNode pages = 1;
|
|
319
|
+
*/
|
|
320
|
+
pages: DocPageTreeNode[];
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Describes the message api.v1.GetDocPageTreeResponse.
|
|
325
|
+
* Use `create(GetDocPageTreeResponseSchema)` to create a new message.
|
|
326
|
+
*/
|
|
327
|
+
export declare const GetDocPageTreeResponseSchema: GenMessage<GetDocPageTreeResponse>;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from message api.v1.DocPageTreeNode
|
|
331
|
+
*/
|
|
332
|
+
export declare type DocPageTreeNode = Message<"api.v1.DocPageTreeNode"> & {
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: api.v1.DocPage page = 1;
|
|
335
|
+
*/
|
|
336
|
+
page?: DocPage;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: repeated api.v1.DocPageTreeNode children = 2;
|
|
340
|
+
*/
|
|
341
|
+
children: DocPageTreeNode[];
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Describes the message api.v1.DocPageTreeNode.
|
|
346
|
+
* Use `create(DocPageTreeNodeSchema)` to create a new message.
|
|
347
|
+
*/
|
|
348
|
+
export declare const DocPageTreeNodeSchema: GenMessage<DocPageTreeNode>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @generated from message api.v1.MoveDocPageRequest
|
|
352
|
+
*/
|
|
353
|
+
export declare type MoveDocPageRequest = Message<"api.v1.MoveDocPageRequest"> & {
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: uint32 id = 1;
|
|
356
|
+
*/
|
|
357
|
+
id: number;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: optional uint32 new_parent_id = 2;
|
|
361
|
+
*/
|
|
362
|
+
newParentId?: number;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: int32 new_display_order = 3;
|
|
366
|
+
*/
|
|
367
|
+
newDisplayOrder: number;
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Describes the message api.v1.MoveDocPageRequest.
|
|
372
|
+
* Use `create(MoveDocPageRequestSchema)` to create a new message.
|
|
373
|
+
*/
|
|
374
|
+
export declare const MoveDocPageRequestSchema: GenMessage<MoveDocPageRequest>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @generated from message api.v1.MoveDocPageResponse
|
|
378
|
+
*/
|
|
379
|
+
export declare type MoveDocPageResponse = Message<"api.v1.MoveDocPageResponse"> & {
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: api.v1.DocPage doc_page = 1;
|
|
382
|
+
*/
|
|
383
|
+
docPage?: DocPage;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message api.v1.MoveDocPageResponse.
|
|
388
|
+
* Use `create(MoveDocPageResponseSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export declare const MoveDocPageResponseSchema: GenMessage<MoveDocPageResponse>;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @generated from message api.v1.DuplicateDocPageRequest
|
|
394
|
+
*/
|
|
395
|
+
export declare type DuplicateDocPageRequest = Message<"api.v1.DuplicateDocPageRequest"> & {
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: uint32 id = 1;
|
|
398
|
+
*/
|
|
399
|
+
id: number;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: bool include_children = 2;
|
|
403
|
+
*/
|
|
404
|
+
includeChildren: boolean;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: optional string new_title = 3;
|
|
408
|
+
*/
|
|
409
|
+
newTitle?: string;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Describes the message api.v1.DuplicateDocPageRequest.
|
|
414
|
+
* Use `create(DuplicateDocPageRequestSchema)` to create a new message.
|
|
415
|
+
*/
|
|
416
|
+
export declare const DuplicateDocPageRequestSchema: GenMessage<DuplicateDocPageRequest>;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from message api.v1.DuplicateDocPageResponse
|
|
420
|
+
*/
|
|
421
|
+
export declare type DuplicateDocPageResponse = Message<"api.v1.DuplicateDocPageResponse"> & {
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: api.v1.DocPage doc_page = 1;
|
|
424
|
+
*/
|
|
425
|
+
docPage?: DocPage;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Describes the message api.v1.DuplicateDocPageResponse.
|
|
430
|
+
* Use `create(DuplicateDocPageResponseSchema)` to create a new message.
|
|
431
|
+
*/
|
|
432
|
+
export declare const DuplicateDocPageResponseSchema: GenMessage<DuplicateDocPageResponse>;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Service definition
|
|
436
|
+
*
|
|
437
|
+
* @generated from service api.v1.DocPageService
|
|
438
|
+
*/
|
|
439
|
+
export declare const DocPageService: GenService<{
|
|
440
|
+
/**
|
|
441
|
+
* @generated from rpc api.v1.DocPageService.AddDocPage
|
|
442
|
+
*/
|
|
443
|
+
addDocPage: {
|
|
444
|
+
methodKind: "unary";
|
|
445
|
+
input: typeof AddDocPageRequestSchema;
|
|
446
|
+
output: typeof AddDocPageResponseSchema;
|
|
447
|
+
},
|
|
448
|
+
/**
|
|
449
|
+
* @generated from rpc api.v1.DocPageService.EditDocPage
|
|
450
|
+
*/
|
|
451
|
+
editDocPage: {
|
|
452
|
+
methodKind: "unary";
|
|
453
|
+
input: typeof EditDocPageRequestSchema;
|
|
454
|
+
output: typeof EditDocPageResponseSchema;
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
* @generated from rpc api.v1.DocPageService.GetDocPage
|
|
458
|
+
*/
|
|
459
|
+
getDocPage: {
|
|
460
|
+
methodKind: "unary";
|
|
461
|
+
input: typeof GetDocPageRequestSchema;
|
|
462
|
+
output: typeof GetDocPageResponseSchema;
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
* @generated from rpc api.v1.DocPageService.GetDocPages
|
|
466
|
+
*/
|
|
467
|
+
getDocPages: {
|
|
468
|
+
methodKind: "unary";
|
|
469
|
+
input: typeof GetDocPagesRequestSchema;
|
|
470
|
+
output: typeof GetDocPagesResponseSchema;
|
|
471
|
+
},
|
|
472
|
+
/**
|
|
473
|
+
* @generated from rpc api.v1.DocPageService.DeleteDocPage
|
|
474
|
+
*/
|
|
475
|
+
deleteDocPage: {
|
|
476
|
+
methodKind: "unary";
|
|
477
|
+
input: typeof DeleteDocPageRequestSchema;
|
|
478
|
+
output: typeof EmptySchema;
|
|
479
|
+
},
|
|
480
|
+
/**
|
|
481
|
+
* @generated from rpc api.v1.DocPageService.GetDocPageTree
|
|
482
|
+
*/
|
|
483
|
+
getDocPageTree: {
|
|
484
|
+
methodKind: "unary";
|
|
485
|
+
input: typeof GetDocPageTreeRequestSchema;
|
|
486
|
+
output: typeof GetDocPageTreeResponseSchema;
|
|
487
|
+
},
|
|
488
|
+
/**
|
|
489
|
+
* @generated from rpc api.v1.DocPageService.MoveDocPage
|
|
490
|
+
*/
|
|
491
|
+
moveDocPage: {
|
|
492
|
+
methodKind: "unary";
|
|
493
|
+
input: typeof MoveDocPageRequestSchema;
|
|
494
|
+
output: typeof MoveDocPageResponseSchema;
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* @generated from rpc api.v1.DocPageService.DuplicateDocPage
|
|
498
|
+
*/
|
|
499
|
+
duplicateDocPage: {
|
|
500
|
+
methodKind: "unary";
|
|
501
|
+
input: typeof DuplicateDocPageRequestSchema;
|
|
502
|
+
output: typeof DuplicateDocPageResponseSchema;
|
|
503
|
+
},
|
|
504
|
+
}>;
|
|
505
|
+
|