@yinuo-ngm/mcp-server 0.1.2 → 0.1.4
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/README.md +191 -208
- package/lib/audit/audit-event.d.ts +14 -0
- package/lib/audit/audit-event.js +2 -0
- package/lib/audit/audit-log.service.d.ts +7 -0
- package/lib/audit/audit-log.service.js +187 -0
- package/lib/audit/redact.d.ts +3 -0
- package/lib/audit/redact.js +28 -0
- package/lib/catalog/capabilities/blocked-local-actions.d.ts +1 -0
- package/lib/catalog/capabilities/blocked-local-actions.js +18 -0
- package/lib/catalog/capabilities/frontend-standard.d.ts +2 -0
- package/lib/catalog/capabilities/frontend-standard.js +36 -0
- package/lib/catalog/capabilities/hub-v2.d.ts +2 -0
- package/lib/catalog/capabilities/hub-v2.js +34 -0
- package/lib/catalog/capabilities/nginx.d.ts +2 -0
- package/lib/catalog/capabilities/nginx.js +23 -0
- package/lib/catalog/capabilities/project.d.ts +2 -0
- package/lib/catalog/capabilities/project.js +23 -0
- package/lib/catalog/capabilities/router.d.ts +2 -0
- package/lib/catalog/capabilities/router.js +11 -0
- package/lib/catalog/capabilities/runtime.d.ts +2 -0
- package/lib/catalog/capabilities/runtime.js +17 -0
- package/lib/catalog/capabilities/workspace.d.ts +2 -0
- package/lib/catalog/capabilities/workspace.js +23 -0
- package/lib/catalog/helpers.d.ts +3 -0
- package/lib/catalog/helpers.js +42 -0
- package/lib/catalog/index.d.ts +4 -0
- package/lib/catalog/index.js +23 -0
- package/lib/catalog/tools/frontend-standard.d.ts +2 -0
- package/lib/catalog/tools/frontend-standard.js +166 -0
- package/lib/catalog/tools/hub-v2-api.d.ts +2 -0
- package/lib/catalog/tools/hub-v2-api.js +124 -0
- package/lib/catalog/tools/hub-v2-docs.d.ts +2 -0
- package/lib/catalog/tools/hub-v2-docs.js +40 -0
- package/lib/catalog/tools/nginx.d.ts +2 -0
- package/lib/catalog/tools/nginx.js +82 -0
- package/lib/catalog/tools/project.d.ts +2 -0
- package/lib/catalog/tools/project.js +124 -0
- package/lib/catalog/tools/router.d.ts +2 -0
- package/lib/catalog/tools/router.js +26 -0
- package/lib/catalog/tools/runtime.d.ts +2 -0
- package/lib/catalog/tools/runtime.js +40 -0
- package/lib/catalog/tools/workspace.d.ts +2 -0
- package/lib/catalog/tools/workspace.js +75 -0
- package/lib/catalog/types.d.ts +15 -0
- package/lib/catalog/types.js +2 -0
- package/lib/context/create-tool-context.js +11 -10
- package/lib/context/local-server-client.d.ts +2 -0
- package/lib/context/local-server-client.js +174 -0
- package/lib/context/tool-context.d.ts +36 -0
- package/lib/doctor.d.ts +8 -0
- package/lib/doctor.js +194 -0
- package/lib/errors/error-codes.d.ts +12 -0
- package/lib/errors/error-codes.js +14 -0
- package/lib/errors/mcp-tool-error.d.ts +8 -0
- package/lib/errors/mcp-tool-error.js +14 -0
- package/lib/filesystem/project-files.d.ts +18 -0
- package/lib/filesystem/project-files.js +112 -0
- package/lib/git/local-git-read-service.d.ts +2 -0
- package/lib/git/local-git-read-service.js +96 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +4 -0
- package/lib/policy/assert-tool-policy.js +10 -1
- package/lib/register-tools.js +67 -10
- package/lib/registry/tool-names.d.ts +95 -0
- package/lib/registry/tool-names.js +97 -0
- package/lib/services/path-guard.service.d.ts +4 -0
- package/lib/services/path-guard.service.js +75 -0
- package/lib/services/permission.service.d.ts +5 -0
- package/lib/services/permission.service.js +38 -0
- package/lib/services/project-resolver.service.d.ts +32 -0
- package/lib/services/project-resolver.service.js +95 -0
- package/lib/standard/frontend-standard.default.d.ts +2 -0
- package/lib/standard/frontend-standard.default.js +51 -0
- package/lib/standard/frontend-standard.schema.d.ts +196 -0
- package/lib/standard/frontend-standard.schema.js +61 -0
- package/lib/standard/frontend-standard.service.d.ts +79 -0
- package/lib/standard/frontend-standard.service.js +115 -0
- package/lib/standard/project-scan.d.ts +9 -0
- package/lib/standard/project-scan.js +91 -0
- package/lib/standard/validators/angular-structure.validator.d.ts +4 -0
- package/lib/standard/validators/angular-structure.validator.js +75 -0
- package/lib/standard/validators/component.validator.d.ts +4 -0
- package/lib/standard/validators/component.validator.js +94 -0
- package/lib/standard/validators/git.validator.d.ts +8 -0
- package/lib/standard/validators/git.validator.js +32 -0
- package/lib/standard/validators/review.validator.d.ts +15 -0
- package/lib/standard/validators/review.validator.js +67 -0
- package/lib/standard/validators/test.validator.d.ts +19 -0
- package/lib/standard/validators/test.validator.js +89 -0
- package/lib/tool-catalog.d.ts +2 -0
- package/lib/tool-catalog.js +6 -0
- package/lib/tools/angular/angular-standard.tools.d.ts +2 -0
- package/lib/tools/angular/angular-standard.tools.js +53 -0
- package/lib/tools/angular/index.d.ts +1 -0
- package/lib/tools/angular/index.js +5 -0
- package/lib/tools/capability.tools.d.ts +2 -0
- package/lib/tools/capability.tools.js +205 -0
- package/lib/tools/controlled/index.d.ts +2 -0
- package/lib/tools/controlled/index.js +13 -0
- package/lib/tools/controlled/local-server.d.ts +6 -0
- package/lib/tools/controlled/local-server.js +17 -0
- package/lib/tools/controlled/operation-policy.d.ts +22 -0
- package/lib/tools/controlled/operation-policy.js +50 -0
- package/lib/tools/controlled/operation-result.d.ts +30 -0
- package/lib/tools/controlled/operation-result.js +33 -0
- package/lib/tools/controlled/schemas.d.ts +159 -0
- package/lib/tools/controlled/schemas.js +49 -0
- package/lib/tools/controlled.tools.d.ts +1 -0
- package/lib/tools/controlled.tools.js +5 -0
- package/lib/tools/file-write.tools.d.ts +2 -0
- package/lib/tools/file-write.tools.js +70 -0
- package/lib/tools/git.tools.js +109 -8
- package/lib/tools/hub-v2/client.d.ts +6 -1
- package/lib/tools/hub-v2/client.js +15 -0
- package/lib/tools/hub-v2/config/config-paths.d.ts +2 -0
- package/lib/tools/hub-v2/config/config-paths.js +17 -0
- package/lib/tools/hub-v2/config/env.d.ts +1 -0
- package/lib/tools/hub-v2/config/env.js +12 -0
- package/lib/tools/hub-v2/config/index.d.ts +8 -0
- package/lib/tools/hub-v2/config/index.js +18 -0
- package/lib/tools/hub-v2/config/jsonc.d.ts +5 -0
- package/lib/tools/hub-v2/config/jsonc.js +86 -0
- package/lib/tools/hub-v2/config/load-config.d.ts +18 -0
- package/lib/tools/hub-v2/config/load-config.js +93 -0
- package/lib/tools/hub-v2/config/project-selector.d.ts +5 -0
- package/lib/tools/hub-v2/config/project-selector.js +92 -0
- package/lib/tools/hub-v2/config/resolve-context.d.ts +13 -0
- package/lib/tools/hub-v2/config/resolve-context.js +33 -0
- package/lib/tools/hub-v2/docs.tools.js +138 -4
- package/lib/tools/hub-v2/index.js +2 -0
- package/lib/tools/hub-v2/issues-workflow.tools.d.ts +2 -0
- package/lib/tools/hub-v2/issues-workflow.tools.js +199 -0
- package/lib/tools/hub-v2/issues.tools.js +96 -6
- package/lib/tools/hub-v2/projects.tools.js +16 -3
- package/lib/tools/hub-v2/raw.d.ts +8 -0
- package/lib/tools/hub-v2/raw.js +33 -0
- package/lib/tools/hub-v2/rd.tools.js +167 -8
- package/lib/tools/hub-v2/schemas.d.ts +668 -71
- package/lib/tools/hub-v2/schemas.js +152 -1
- package/lib/tools/hub-v2/upload.tools.js +53 -5
- package/lib/tools/index.d.ts +1 -0
- package/lib/tools/index.js +22 -0
- package/lib/tools/log.tools.js +33 -6
- package/lib/tools/nginx/index.d.ts +1 -0
- package/lib/tools/nginx/index.js +5 -0
- package/lib/tools/nginx/nginx-control.tools.d.ts +2 -0
- package/lib/tools/nginx/nginx-control.tools.js +133 -0
- package/lib/tools/nginx/nginx-proxy.d.ts +24 -0
- package/lib/tools/nginx/nginx-proxy.js +154 -0
- package/lib/tools/nginx.tools.d.ts +2 -0
- package/lib/tools/nginx.tools.js +111 -0
- package/lib/tools/project/index.d.ts +2 -0
- package/lib/tools/project/index.js +7 -0
- package/lib/tools/project/launch-status.d.ts +10 -0
- package/lib/tools/project/launch-status.js +78 -0
- package/lib/tools/project/local-diagnostics.d.ts +19 -0
- package/lib/tools/project/local-diagnostics.js +97 -0
- package/lib/tools/project/observe-redaction.d.ts +3 -0
- package/lib/tools/project/observe-redaction.js +25 -0
- package/lib/tools/project/observe-runtime.d.ts +72 -0
- package/lib/tools/project/observe-runtime.js +147 -0
- package/lib/tools/project/project-control.tools.d.ts +2 -0
- package/lib/tools/project/project-control.tools.js +216 -0
- package/lib/tools/project/project-observe.tools.d.ts +2 -0
- package/lib/tools/project/project-observe.tools.js +191 -0
- package/lib/tools/project/runtime-config.d.ts +7 -0
- package/lib/tools/project/runtime-config.js +50 -0
- package/lib/tools/project-observe.tools.d.ts +1 -0
- package/lib/tools/project-observe.tools.js +5 -0
- package/lib/tools/project.tools.d.ts +8 -0
- package/lib/tools/project.tools.js +97 -6
- package/lib/tools/proxy.tools.js +4 -4
- package/lib/tools/review/index.d.ts +1 -0
- package/lib/tools/review/index.js +5 -0
- package/lib/tools/review/review.tools.d.ts +2 -0
- package/lib/tools/review/review.tools.js +152 -0
- package/lib/tools/runtime/index.d.ts +1 -0
- package/lib/tools/runtime/index.js +5 -0
- package/lib/tools/runtime/runtime-control.tools.d.ts +2 -0
- package/lib/tools/runtime/runtime-control.tools.js +89 -0
- package/lib/tools/runtime.tools.js +41 -4
- package/lib/tools/standard/index.d.ts +1 -0
- package/lib/tools/standard/index.js +5 -0
- package/lib/tools/standard/standard.tools.d.ts +2 -0
- package/lib/tools/standard/standard.tools.js +91 -0
- package/lib/tools/task.tools.js +44 -9
- package/lib/tools/test/index.d.ts +1 -0
- package/lib/tools/test/index.js +5 -0
- package/lib/tools/test/test-standard.tools.d.ts +2 -0
- package/lib/tools/test/test-standard.tools.js +51 -0
- package/lib/tools/tool-catalog.d.ts +2 -0
- package/lib/tools/tool-catalog.js +7 -0
- package/lib/tools/workflow/frontend-workflow.tools.d.ts +2 -0
- package/lib/tools/workflow/frontend-workflow.tools.js +364 -0
- package/lib/tools/workflow/index.d.ts +1 -0
- package/lib/tools/workflow/index.js +5 -0
- package/lib/tools/workspace-package.d.ts +22 -0
- package/lib/tools/workspace-package.js +130 -0
- package/lib/tools/workspace.tools.d.ts +7 -0
- package/lib/tools/workspace.tools.js +336 -0
- package/lib/utils/errors.js +6 -1
- package/lib/utils/result.d.ts +9 -0
- package/lib/utils/result.js +9 -0
- package/lib/workflow/frontend-task.schema.d.ts +83 -0
- package/lib/workflow/frontend-task.schema.js +25 -0
- package/lib/workflow/frontend-task.service.d.ts +57 -0
- package/lib/workflow/frontend-task.service.js +195 -0
- package/lib/workflow/workflow-status.d.ts +2 -0
- package/lib/workflow/workflow-status.js +14 -0
- package/lib/workflow/workflow-transition.d.ts +9 -0
- package/lib/workflow/workflow-transition.js +38 -0
- package/package.json +5 -3
- package/lib/tools/hub-v2/config.d.ts +0 -34
- package/lib/tools/hub-v2/config.js +0 -297
|
@@ -9,6 +9,16 @@ export declare const projectSelectorSchema: z.ZodObject<{
|
|
|
9
9
|
project?: string | undefined;
|
|
10
10
|
projectKey?: string | undefined;
|
|
11
11
|
}>;
|
|
12
|
+
export declare const projectMembersListSchema: z.ZodObject<{
|
|
13
|
+
project: z.ZodOptional<z.ZodString>;
|
|
14
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, "strict", z.ZodTypeAny, {
|
|
16
|
+
project?: string | undefined;
|
|
17
|
+
projectKey?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
project?: string | undefined;
|
|
20
|
+
projectKey?: string | undefined;
|
|
21
|
+
}>;
|
|
12
22
|
export declare const pagingSchema: z.ZodObject<{
|
|
13
23
|
page: z.ZodOptional<z.ZodNumber>;
|
|
14
24
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -30,19 +40,19 @@ export declare const docsListSchema: z.ZodObject<{
|
|
|
30
40
|
category: z.ZodOptional<z.ZodString>;
|
|
31
41
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
32
42
|
}, "strict", z.ZodTypeAny, {
|
|
33
|
-
project?: string | undefined;
|
|
34
|
-
projectKey?: string | undefined;
|
|
35
43
|
status?: "draft" | "published" | "archived" | undefined;
|
|
44
|
+
project?: string | undefined;
|
|
36
45
|
page?: number | undefined;
|
|
46
|
+
projectKey?: string | undefined;
|
|
37
47
|
pageSize?: number | undefined;
|
|
38
48
|
keyword?: string | undefined;
|
|
39
49
|
category?: string | undefined;
|
|
40
50
|
categoryId?: string | undefined;
|
|
41
51
|
}, {
|
|
42
|
-
project?: string | undefined;
|
|
43
|
-
projectKey?: string | undefined;
|
|
44
52
|
status?: "draft" | "published" | "archived" | undefined;
|
|
53
|
+
project?: string | undefined;
|
|
45
54
|
page?: number | undefined;
|
|
55
|
+
projectKey?: string | undefined;
|
|
46
56
|
pageSize?: number | undefined;
|
|
47
57
|
keyword?: string | undefined;
|
|
48
58
|
category?: string | undefined;
|
|
@@ -79,6 +89,120 @@ export declare const docsGetBySlugSchema: z.ZodObject<{
|
|
|
79
89
|
projectKey?: string | undefined;
|
|
80
90
|
contentOnly?: boolean | undefined;
|
|
81
91
|
}>;
|
|
92
|
+
export declare const docsCreateSchema: z.ZodObject<{
|
|
93
|
+
project: z.ZodOptional<z.ZodString>;
|
|
94
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
95
|
+
} & {
|
|
96
|
+
title: z.ZodString;
|
|
97
|
+
content: z.ZodOptional<z.ZodString>;
|
|
98
|
+
contentMd: z.ZodOptional<z.ZodString>;
|
|
99
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
100
|
+
category: z.ZodOptional<z.ZodString>;
|
|
101
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
102
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
103
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
104
|
+
status: z.ZodOptional<z.ZodEnum<["draft"]>>;
|
|
105
|
+
source: z.ZodOptional<z.ZodString>;
|
|
106
|
+
version: z.ZodOptional<z.ZodString>;
|
|
107
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
}, "strict", z.ZodTypeAny, {
|
|
109
|
+
title: string;
|
|
110
|
+
status?: "draft" | undefined;
|
|
111
|
+
project?: string | undefined;
|
|
112
|
+
version?: string | undefined;
|
|
113
|
+
source?: string | undefined;
|
|
114
|
+
confirm?: boolean | undefined;
|
|
115
|
+
content?: string | undefined;
|
|
116
|
+
summary?: string | undefined;
|
|
117
|
+
projectKey?: string | undefined;
|
|
118
|
+
category?: string | undefined;
|
|
119
|
+
categoryId?: string | undefined;
|
|
120
|
+
slug?: string | undefined;
|
|
121
|
+
contentMd?: string | undefined;
|
|
122
|
+
tags?: string[] | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
title: string;
|
|
125
|
+
status?: "draft" | undefined;
|
|
126
|
+
project?: string | undefined;
|
|
127
|
+
version?: string | undefined;
|
|
128
|
+
source?: string | undefined;
|
|
129
|
+
confirm?: boolean | undefined;
|
|
130
|
+
content?: string | undefined;
|
|
131
|
+
summary?: string | undefined;
|
|
132
|
+
projectKey?: string | undefined;
|
|
133
|
+
category?: string | undefined;
|
|
134
|
+
categoryId?: string | undefined;
|
|
135
|
+
slug?: string | undefined;
|
|
136
|
+
contentMd?: string | undefined;
|
|
137
|
+
tags?: string[] | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
export declare const docsUpdateSchema: z.ZodObject<{
|
|
140
|
+
project: z.ZodOptional<z.ZodString>;
|
|
141
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
142
|
+
} & {
|
|
143
|
+
docId: z.ZodString;
|
|
144
|
+
title: z.ZodOptional<z.ZodString>;
|
|
145
|
+
content: z.ZodOptional<z.ZodString>;
|
|
146
|
+
contentMd: z.ZodOptional<z.ZodString>;
|
|
147
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
148
|
+
category: z.ZodOptional<z.ZodString>;
|
|
149
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
152
|
+
source: z.ZodOptional<z.ZodString>;
|
|
153
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
+
}, "strict", z.ZodTypeAny, {
|
|
156
|
+
docId: string;
|
|
157
|
+
project?: string | undefined;
|
|
158
|
+
version?: string | null | undefined;
|
|
159
|
+
source?: string | undefined;
|
|
160
|
+
confirm?: boolean | undefined;
|
|
161
|
+
content?: string | undefined;
|
|
162
|
+
summary?: string | null | undefined;
|
|
163
|
+
projectKey?: string | undefined;
|
|
164
|
+
category?: string | undefined;
|
|
165
|
+
categoryId?: string | undefined;
|
|
166
|
+
slug?: string | undefined;
|
|
167
|
+
title?: string | undefined;
|
|
168
|
+
contentMd?: string | undefined;
|
|
169
|
+
tags?: string[] | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
docId: string;
|
|
172
|
+
project?: string | undefined;
|
|
173
|
+
version?: string | null | undefined;
|
|
174
|
+
source?: string | undefined;
|
|
175
|
+
confirm?: boolean | undefined;
|
|
176
|
+
content?: string | undefined;
|
|
177
|
+
summary?: string | null | undefined;
|
|
178
|
+
projectKey?: string | undefined;
|
|
179
|
+
category?: string | undefined;
|
|
180
|
+
categoryId?: string | undefined;
|
|
181
|
+
slug?: string | undefined;
|
|
182
|
+
title?: string | undefined;
|
|
183
|
+
contentMd?: string | undefined;
|
|
184
|
+
tags?: string[] | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
export declare const docsPublishSchema: z.ZodObject<{
|
|
187
|
+
project: z.ZodOptional<z.ZodString>;
|
|
188
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
189
|
+
} & {
|
|
190
|
+
docId: z.ZodString;
|
|
191
|
+
source: z.ZodOptional<z.ZodString>;
|
|
192
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
}, "strict", z.ZodTypeAny, {
|
|
194
|
+
docId: string;
|
|
195
|
+
project?: string | undefined;
|
|
196
|
+
source?: string | undefined;
|
|
197
|
+
confirm?: boolean | undefined;
|
|
198
|
+
projectKey?: string | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
docId: string;
|
|
201
|
+
project?: string | undefined;
|
|
202
|
+
source?: string | undefined;
|
|
203
|
+
confirm?: boolean | undefined;
|
|
204
|
+
projectKey?: string | undefined;
|
|
205
|
+
}>;
|
|
82
206
|
export declare const issuesListSchema: z.ZodObject<{
|
|
83
207
|
project: z.ZodOptional<z.ZodString>;
|
|
84
208
|
projectKey: z.ZodOptional<z.ZodString>;
|
|
@@ -92,10 +216,10 @@ export declare const issuesListSchema: z.ZodObject<{
|
|
|
92
216
|
verifierId: z.ZodOptional<z.ZodString>;
|
|
93
217
|
rdItemId: z.ZodOptional<z.ZodString>;
|
|
94
218
|
}, "strict", z.ZodTypeAny, {
|
|
95
|
-
project?: string | undefined;
|
|
96
|
-
projectKey?: string | undefined;
|
|
97
219
|
status?: string[] | undefined;
|
|
220
|
+
project?: string | undefined;
|
|
98
221
|
page?: number | undefined;
|
|
222
|
+
projectKey?: string | undefined;
|
|
99
223
|
pageSize?: number | undefined;
|
|
100
224
|
keyword?: string | undefined;
|
|
101
225
|
priority?: string[] | undefined;
|
|
@@ -103,10 +227,10 @@ export declare const issuesListSchema: z.ZodObject<{
|
|
|
103
227
|
verifierId?: string | undefined;
|
|
104
228
|
rdItemId?: string | undefined;
|
|
105
229
|
}, {
|
|
106
|
-
project?: string | undefined;
|
|
107
|
-
projectKey?: string | undefined;
|
|
108
230
|
status?: string[] | undefined;
|
|
231
|
+
project?: string | undefined;
|
|
109
232
|
page?: number | undefined;
|
|
233
|
+
projectKey?: string | undefined;
|
|
110
234
|
pageSize?: number | undefined;
|
|
111
235
|
keyword?: string | undefined;
|
|
112
236
|
priority?: string[] | undefined;
|
|
@@ -128,6 +252,60 @@ export declare const issueGetSchema: z.ZodObject<{
|
|
|
128
252
|
project?: string | undefined;
|
|
129
253
|
projectKey?: string | undefined;
|
|
130
254
|
}>;
|
|
255
|
+
export declare const issueReadDetailSchema: z.ZodObject<{
|
|
256
|
+
project: z.ZodOptional<z.ZodString>;
|
|
257
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
258
|
+
} & {
|
|
259
|
+
issueId: z.ZodString;
|
|
260
|
+
}, "strict", z.ZodTypeAny, {
|
|
261
|
+
issueId: string;
|
|
262
|
+
project?: string | undefined;
|
|
263
|
+
projectKey?: string | undefined;
|
|
264
|
+
}, {
|
|
265
|
+
issueId: string;
|
|
266
|
+
project?: string | undefined;
|
|
267
|
+
projectKey?: string | undefined;
|
|
268
|
+
}>;
|
|
269
|
+
export declare const issueAttachmentRawSchema: z.ZodObject<{
|
|
270
|
+
project: z.ZodOptional<z.ZodString>;
|
|
271
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
272
|
+
} & {
|
|
273
|
+
issueId: z.ZodString;
|
|
274
|
+
attachmentId: z.ZodString;
|
|
275
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
}, "strict", z.ZodTypeAny, {
|
|
277
|
+
issueId: string;
|
|
278
|
+
attachmentId: string;
|
|
279
|
+
project?: string | undefined;
|
|
280
|
+
maxBytes?: number | undefined;
|
|
281
|
+
projectKey?: string | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
issueId: string;
|
|
284
|
+
attachmentId: string;
|
|
285
|
+
project?: string | undefined;
|
|
286
|
+
maxBytes?: number | undefined;
|
|
287
|
+
projectKey?: string | undefined;
|
|
288
|
+
}>;
|
|
289
|
+
export declare const issueUploadRawSchema: z.ZodObject<{
|
|
290
|
+
project: z.ZodOptional<z.ZodString>;
|
|
291
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
292
|
+
} & {
|
|
293
|
+
issueId: z.ZodString;
|
|
294
|
+
uploadId: z.ZodString;
|
|
295
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
}, "strict", z.ZodTypeAny, {
|
|
297
|
+
issueId: string;
|
|
298
|
+
uploadId: string;
|
|
299
|
+
project?: string | undefined;
|
|
300
|
+
maxBytes?: number | undefined;
|
|
301
|
+
projectKey?: string | undefined;
|
|
302
|
+
}, {
|
|
303
|
+
issueId: string;
|
|
304
|
+
uploadId: string;
|
|
305
|
+
project?: string | undefined;
|
|
306
|
+
maxBytes?: number | undefined;
|
|
307
|
+
projectKey?: string | undefined;
|
|
308
|
+
}>;
|
|
131
309
|
export declare const issueCreateSchema: z.ZodObject<{
|
|
132
310
|
project: z.ZodOptional<z.ZodString>;
|
|
133
311
|
projectKey: z.ZodOptional<z.ZodString>;
|
|
@@ -144,56 +322,285 @@ export declare const issueCreateSchema: z.ZodObject<{
|
|
|
144
322
|
environmentCode: z.ZodOptional<z.ZodString>;
|
|
145
323
|
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
146
324
|
}, "strict", z.ZodTypeAny, {
|
|
147
|
-
title: string;
|
|
325
|
+
title: string;
|
|
326
|
+
project?: string | undefined;
|
|
327
|
+
type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
|
|
328
|
+
confirm?: boolean | undefined;
|
|
329
|
+
description?: string | undefined;
|
|
330
|
+
projectKey?: string | undefined;
|
|
331
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
332
|
+
assigneeId?: string | null | undefined;
|
|
333
|
+
verifierId?: string | null | undefined;
|
|
334
|
+
rdItemId?: string | null | undefined;
|
|
335
|
+
moduleCode?: string | undefined;
|
|
336
|
+
versionCode?: string | undefined;
|
|
337
|
+
environmentCode?: string | undefined;
|
|
338
|
+
}, {
|
|
339
|
+
title: string;
|
|
340
|
+
project?: string | undefined;
|
|
341
|
+
type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
|
|
342
|
+
confirm?: boolean | undefined;
|
|
343
|
+
description?: string | undefined;
|
|
344
|
+
projectKey?: string | undefined;
|
|
345
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
346
|
+
assigneeId?: string | null | undefined;
|
|
347
|
+
verifierId?: string | null | undefined;
|
|
348
|
+
rdItemId?: string | null | undefined;
|
|
349
|
+
moduleCode?: string | undefined;
|
|
350
|
+
versionCode?: string | undefined;
|
|
351
|
+
environmentCode?: string | undefined;
|
|
352
|
+
}>;
|
|
353
|
+
export declare const issueCommentSchema: z.ZodObject<{
|
|
354
|
+
project: z.ZodOptional<z.ZodString>;
|
|
355
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
356
|
+
} & {
|
|
357
|
+
issueId: z.ZodString;
|
|
358
|
+
content: z.ZodString;
|
|
359
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
360
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
}, "strict", z.ZodTypeAny, {
|
|
362
|
+
content: string;
|
|
363
|
+
issueId: string;
|
|
364
|
+
project?: string | undefined;
|
|
365
|
+
confirm?: boolean | undefined;
|
|
366
|
+
projectKey?: string | undefined;
|
|
367
|
+
mentions?: string[] | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
content: string;
|
|
370
|
+
issueId: string;
|
|
371
|
+
project?: string | undefined;
|
|
372
|
+
confirm?: boolean | undefined;
|
|
373
|
+
projectKey?: string | undefined;
|
|
374
|
+
mentions?: string[] | undefined;
|
|
375
|
+
}>;
|
|
376
|
+
export declare const issueAssignSchema: z.ZodObject<{
|
|
377
|
+
project: z.ZodOptional<z.ZodString>;
|
|
378
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
379
|
+
} & {
|
|
380
|
+
issueId: z.ZodString;
|
|
381
|
+
assigneeId: z.ZodString;
|
|
382
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
}, "strict", z.ZodTypeAny, {
|
|
384
|
+
assigneeId: string;
|
|
385
|
+
issueId: string;
|
|
386
|
+
project?: string | undefined;
|
|
387
|
+
confirm?: boolean | undefined;
|
|
388
|
+
projectKey?: string | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
assigneeId: string;
|
|
391
|
+
issueId: string;
|
|
392
|
+
project?: string | undefined;
|
|
393
|
+
confirm?: boolean | undefined;
|
|
394
|
+
projectKey?: string | undefined;
|
|
395
|
+
}>;
|
|
396
|
+
export declare const issueSimpleWriteSchema: z.ZodObject<{
|
|
397
|
+
project: z.ZodOptional<z.ZodString>;
|
|
398
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
399
|
+
} & {
|
|
400
|
+
issueId: z.ZodString;
|
|
401
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
}, "strict", z.ZodTypeAny, {
|
|
403
|
+
issueId: string;
|
|
404
|
+
project?: string | undefined;
|
|
405
|
+
confirm?: boolean | undefined;
|
|
406
|
+
projectKey?: string | undefined;
|
|
407
|
+
}, {
|
|
408
|
+
issueId: string;
|
|
409
|
+
project?: string | undefined;
|
|
410
|
+
confirm?: boolean | undefined;
|
|
411
|
+
projectKey?: string | undefined;
|
|
412
|
+
}>;
|
|
413
|
+
export declare const issueResolveSchema: z.ZodObject<{
|
|
414
|
+
project: z.ZodOptional<z.ZodString>;
|
|
415
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
416
|
+
} & {
|
|
417
|
+
issueId: z.ZodString;
|
|
418
|
+
resolutionSummary: z.ZodOptional<z.ZodString>;
|
|
419
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
}, "strict", z.ZodTypeAny, {
|
|
421
|
+
issueId: string;
|
|
422
|
+
project?: string | undefined;
|
|
423
|
+
confirm?: boolean | undefined;
|
|
424
|
+
projectKey?: string | undefined;
|
|
425
|
+
resolutionSummary?: string | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
issueId: string;
|
|
428
|
+
project?: string | undefined;
|
|
429
|
+
confirm?: boolean | undefined;
|
|
430
|
+
projectKey?: string | undefined;
|
|
431
|
+
resolutionSummary?: string | undefined;
|
|
432
|
+
}>;
|
|
433
|
+
export declare const issueReopenSchema: z.ZodObject<{
|
|
434
|
+
project: z.ZodOptional<z.ZodString>;
|
|
435
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
436
|
+
} & {
|
|
437
|
+
issueId: z.ZodString;
|
|
438
|
+
remark: z.ZodOptional<z.ZodString>;
|
|
439
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
}, "strict", z.ZodTypeAny, {
|
|
441
|
+
issueId: string;
|
|
442
|
+
project?: string | undefined;
|
|
443
|
+
confirm?: boolean | undefined;
|
|
444
|
+
projectKey?: string | undefined;
|
|
445
|
+
remark?: string | undefined;
|
|
446
|
+
}, {
|
|
447
|
+
issueId: string;
|
|
448
|
+
project?: string | undefined;
|
|
449
|
+
confirm?: boolean | undefined;
|
|
450
|
+
projectKey?: string | undefined;
|
|
451
|
+
remark?: string | undefined;
|
|
452
|
+
}>;
|
|
453
|
+
export declare const issueCloseSchema: z.ZodObject<{
|
|
454
|
+
project: z.ZodOptional<z.ZodString>;
|
|
455
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
456
|
+
} & {
|
|
457
|
+
issueId: z.ZodString;
|
|
458
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
459
|
+
remark: z.ZodOptional<z.ZodString>;
|
|
460
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
461
|
+
}, "strict", z.ZodTypeAny, {
|
|
462
|
+
issueId: string;
|
|
463
|
+
project?: string | undefined;
|
|
464
|
+
reason?: string | undefined;
|
|
465
|
+
confirm?: boolean | undefined;
|
|
466
|
+
projectKey?: string | undefined;
|
|
467
|
+
remark?: string | undefined;
|
|
468
|
+
}, {
|
|
469
|
+
issueId: string;
|
|
470
|
+
project?: string | undefined;
|
|
471
|
+
reason?: string | undefined;
|
|
472
|
+
confirm?: boolean | undefined;
|
|
473
|
+
projectKey?: string | undefined;
|
|
474
|
+
remark?: string | undefined;
|
|
475
|
+
}>;
|
|
476
|
+
export declare const issueParticipantAddSchema: z.ZodObject<{
|
|
477
|
+
project: z.ZodOptional<z.ZodString>;
|
|
478
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
479
|
+
} & {
|
|
480
|
+
issueId: z.ZodString;
|
|
481
|
+
userId: z.ZodString;
|
|
482
|
+
taskTitle: z.ZodOptional<z.ZodString>;
|
|
483
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
484
|
+
}, "strict", z.ZodTypeAny, {
|
|
485
|
+
issueId: string;
|
|
486
|
+
userId: string;
|
|
487
|
+
project?: string | undefined;
|
|
488
|
+
confirm?: boolean | undefined;
|
|
489
|
+
projectKey?: string | undefined;
|
|
490
|
+
taskTitle?: string | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
issueId: string;
|
|
493
|
+
userId: string;
|
|
494
|
+
project?: string | undefined;
|
|
495
|
+
confirm?: boolean | undefined;
|
|
496
|
+
projectKey?: string | undefined;
|
|
497
|
+
taskTitle?: string | undefined;
|
|
498
|
+
}>;
|
|
499
|
+
export declare const issueBranchCreateSchema: z.ZodObject<{
|
|
500
|
+
project: z.ZodOptional<z.ZodString>;
|
|
501
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
502
|
+
} & {
|
|
503
|
+
issueId: z.ZodString;
|
|
504
|
+
ownerUserId: z.ZodString;
|
|
505
|
+
title: z.ZodString;
|
|
506
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
507
|
+
}, "strict", z.ZodTypeAny, {
|
|
508
|
+
title: string;
|
|
509
|
+
issueId: string;
|
|
510
|
+
ownerUserId: string;
|
|
511
|
+
project?: string | undefined;
|
|
512
|
+
confirm?: boolean | undefined;
|
|
513
|
+
projectKey?: string | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
title: string;
|
|
516
|
+
issueId: string;
|
|
517
|
+
ownerUserId: string;
|
|
518
|
+
project?: string | undefined;
|
|
519
|
+
confirm?: boolean | undefined;
|
|
520
|
+
projectKey?: string | undefined;
|
|
521
|
+
}>;
|
|
522
|
+
export declare const issueBranchStartMineSchema: z.ZodObject<{
|
|
523
|
+
project: z.ZodOptional<z.ZodString>;
|
|
524
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
525
|
+
} & {
|
|
526
|
+
issueId: z.ZodString;
|
|
527
|
+
title: z.ZodString;
|
|
528
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
}, "strict", z.ZodTypeAny, {
|
|
530
|
+
title: string;
|
|
531
|
+
issueId: string;
|
|
532
|
+
project?: string | undefined;
|
|
533
|
+
confirm?: boolean | undefined;
|
|
534
|
+
projectKey?: string | undefined;
|
|
535
|
+
}, {
|
|
536
|
+
title: string;
|
|
537
|
+
issueId: string;
|
|
538
|
+
project?: string | undefined;
|
|
539
|
+
confirm?: boolean | undefined;
|
|
540
|
+
projectKey?: string | undefined;
|
|
541
|
+
}>;
|
|
542
|
+
export declare const issueBranchActionSchema: z.ZodObject<{
|
|
543
|
+
project: z.ZodOptional<z.ZodString>;
|
|
544
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
545
|
+
} & {
|
|
546
|
+
issueId: z.ZodString;
|
|
547
|
+
branchId: z.ZodString;
|
|
548
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
+
}, "strict", z.ZodTypeAny, {
|
|
550
|
+
issueId: string;
|
|
551
|
+
branchId: string;
|
|
552
|
+
project?: string | undefined;
|
|
553
|
+
confirm?: boolean | undefined;
|
|
554
|
+
projectKey?: string | undefined;
|
|
555
|
+
}, {
|
|
556
|
+
issueId: string;
|
|
557
|
+
branchId: string;
|
|
558
|
+
project?: string | undefined;
|
|
559
|
+
confirm?: boolean | undefined;
|
|
560
|
+
projectKey?: string | undefined;
|
|
561
|
+
}>;
|
|
562
|
+
export declare const issueBranchCompleteSchema: z.ZodObject<{
|
|
563
|
+
project: z.ZodOptional<z.ZodString>;
|
|
564
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
565
|
+
} & {
|
|
566
|
+
issueId: z.ZodString;
|
|
567
|
+
branchId: z.ZodString;
|
|
568
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
569
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
}, "strict", z.ZodTypeAny, {
|
|
571
|
+
issueId: string;
|
|
572
|
+
branchId: string;
|
|
148
573
|
project?: string | undefined;
|
|
149
|
-
projectKey?: string | undefined;
|
|
150
|
-
type?: "bug" | "feature" | "change" | "improvement" | "task" | "test" | undefined;
|
|
151
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
152
|
-
assigneeId?: string | null | undefined;
|
|
153
|
-
verifierId?: string | null | undefined;
|
|
154
|
-
rdItemId?: string | null | undefined;
|
|
155
|
-
description?: string | undefined;
|
|
156
|
-
moduleCode?: string | undefined;
|
|
157
|
-
versionCode?: string | undefined;
|
|
158
|
-
environmentCode?: string | undefined;
|
|
159
574
|
confirm?: boolean | undefined;
|
|
575
|
+
summary?: string | undefined;
|
|
576
|
+
projectKey?: string | undefined;
|
|
160
577
|
}, {
|
|
161
|
-
|
|
578
|
+
issueId: string;
|
|
579
|
+
branchId: string;
|
|
162
580
|
project?: string | undefined;
|
|
163
|
-
projectKey?: string | undefined;
|
|
164
|
-
type?: "bug" | "feature" | "change" | "improvement" | "task" | "test" | undefined;
|
|
165
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
166
|
-
assigneeId?: string | null | undefined;
|
|
167
|
-
verifierId?: string | null | undefined;
|
|
168
|
-
rdItemId?: string | null | undefined;
|
|
169
|
-
description?: string | undefined;
|
|
170
|
-
moduleCode?: string | undefined;
|
|
171
|
-
versionCode?: string | undefined;
|
|
172
|
-
environmentCode?: string | undefined;
|
|
173
581
|
confirm?: boolean | undefined;
|
|
582
|
+
summary?: string | undefined;
|
|
583
|
+
projectKey?: string | undefined;
|
|
174
584
|
}>;
|
|
175
|
-
export declare const
|
|
585
|
+
export declare const issueParticipantRemoveSchema: z.ZodObject<{
|
|
176
586
|
project: z.ZodOptional<z.ZodString>;
|
|
177
587
|
projectKey: z.ZodOptional<z.ZodString>;
|
|
178
588
|
} & {
|
|
179
589
|
issueId: z.ZodString;
|
|
180
|
-
|
|
181
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
590
|
+
participantId: z.ZodString;
|
|
182
591
|
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
183
592
|
}, "strict", z.ZodTypeAny, {
|
|
184
593
|
issueId: string;
|
|
185
|
-
|
|
594
|
+
participantId: string;
|
|
186
595
|
project?: string | undefined;
|
|
187
|
-
projectKey?: string | undefined;
|
|
188
596
|
confirm?: boolean | undefined;
|
|
189
|
-
|
|
597
|
+
projectKey?: string | undefined;
|
|
190
598
|
}, {
|
|
191
599
|
issueId: string;
|
|
192
|
-
|
|
600
|
+
participantId: string;
|
|
193
601
|
project?: string | undefined;
|
|
194
|
-
projectKey?: string | undefined;
|
|
195
602
|
confirm?: boolean | undefined;
|
|
196
|
-
|
|
603
|
+
projectKey?: string | undefined;
|
|
197
604
|
}>;
|
|
198
605
|
export declare const issueUpdateSchema: z.ZodObject<{
|
|
199
606
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -212,29 +619,29 @@ export declare const issueUpdateSchema: z.ZodObject<{
|
|
|
212
619
|
}, "strict", z.ZodTypeAny, {
|
|
213
620
|
issueId: string;
|
|
214
621
|
project?: string | undefined;
|
|
622
|
+
type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
|
|
623
|
+
confirm?: boolean | undefined;
|
|
624
|
+
description?: string | null | undefined;
|
|
215
625
|
projectKey?: string | undefined;
|
|
216
|
-
|
|
626
|
+
title?: string | undefined;
|
|
217
627
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
218
628
|
rdItemId?: string | null | undefined;
|
|
219
|
-
title?: string | undefined;
|
|
220
|
-
description?: string | null | undefined;
|
|
221
629
|
moduleCode?: string | null | undefined;
|
|
222
630
|
versionCode?: string | null | undefined;
|
|
223
631
|
environmentCode?: string | null | undefined;
|
|
224
|
-
confirm?: boolean | undefined;
|
|
225
632
|
}, {
|
|
226
633
|
issueId: string;
|
|
227
634
|
project?: string | undefined;
|
|
635
|
+
type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
|
|
636
|
+
confirm?: boolean | undefined;
|
|
637
|
+
description?: string | null | undefined;
|
|
228
638
|
projectKey?: string | undefined;
|
|
229
|
-
|
|
639
|
+
title?: string | undefined;
|
|
230
640
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
231
641
|
rdItemId?: string | null | undefined;
|
|
232
|
-
title?: string | undefined;
|
|
233
|
-
description?: string | null | undefined;
|
|
234
642
|
moduleCode?: string | null | undefined;
|
|
235
643
|
versionCode?: string | null | undefined;
|
|
236
644
|
environmentCode?: string | null | undefined;
|
|
237
|
-
confirm?: boolean | undefined;
|
|
238
645
|
}>;
|
|
239
646
|
export declare const markdownImageUploadSchema: z.ZodObject<{
|
|
240
647
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -248,8 +655,8 @@ export declare const markdownImageUploadSchema: z.ZodObject<{
|
|
|
248
655
|
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
249
656
|
}, "strict", z.ZodTypeAny, {
|
|
250
657
|
project?: string | undefined;
|
|
251
|
-
projectKey?: string | undefined;
|
|
252
658
|
confirm?: boolean | undefined;
|
|
659
|
+
projectKey?: string | undefined;
|
|
253
660
|
filePath?: string | undefined;
|
|
254
661
|
contentBase64?: string | undefined;
|
|
255
662
|
fileName?: string | undefined;
|
|
@@ -257,14 +664,43 @@ export declare const markdownImageUploadSchema: z.ZodObject<{
|
|
|
257
664
|
alt?: string | undefined;
|
|
258
665
|
}, {
|
|
259
666
|
project?: string | undefined;
|
|
260
|
-
projectKey?: string | undefined;
|
|
261
667
|
confirm?: boolean | undefined;
|
|
668
|
+
projectKey?: string | undefined;
|
|
262
669
|
filePath?: string | undefined;
|
|
263
670
|
contentBase64?: string | undefined;
|
|
264
671
|
fileName?: string | undefined;
|
|
265
672
|
mimeType?: string | undefined;
|
|
266
673
|
alt?: string | undefined;
|
|
267
674
|
}>;
|
|
675
|
+
export declare const fileUploadSchema: z.ZodObject<{
|
|
676
|
+
project: z.ZodOptional<z.ZodString>;
|
|
677
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
678
|
+
} & {
|
|
679
|
+
target: z.ZodEnum<["issueAttachment", "taskSheetAttachment"]>;
|
|
680
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
681
|
+
contentBase64: z.ZodOptional<z.ZodString>;
|
|
682
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
683
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
684
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
685
|
+
}, "strict", z.ZodTypeAny, {
|
|
686
|
+
target: "issueAttachment" | "taskSheetAttachment";
|
|
687
|
+
project?: string | undefined;
|
|
688
|
+
confirm?: boolean | undefined;
|
|
689
|
+
projectKey?: string | undefined;
|
|
690
|
+
filePath?: string | undefined;
|
|
691
|
+
contentBase64?: string | undefined;
|
|
692
|
+
fileName?: string | undefined;
|
|
693
|
+
mimeType?: string | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
target: "issueAttachment" | "taskSheetAttachment";
|
|
696
|
+
project?: string | undefined;
|
|
697
|
+
confirm?: boolean | undefined;
|
|
698
|
+
projectKey?: string | undefined;
|
|
699
|
+
filePath?: string | undefined;
|
|
700
|
+
contentBase64?: string | undefined;
|
|
701
|
+
fileName?: string | undefined;
|
|
702
|
+
mimeType?: string | undefined;
|
|
703
|
+
}>;
|
|
268
704
|
export declare const rdListSchema: z.ZodObject<{
|
|
269
705
|
project: z.ZodOptional<z.ZodString>;
|
|
270
706
|
projectKey: z.ZodOptional<z.ZodString>;
|
|
@@ -278,22 +714,22 @@ export declare const rdListSchema: z.ZodObject<{
|
|
|
278
714
|
priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
279
715
|
assigneeId: z.ZodOptional<z.ZodString>;
|
|
280
716
|
}, "strict", z.ZodTypeAny, {
|
|
717
|
+
status?: string[] | undefined;
|
|
281
718
|
project?: string | undefined;
|
|
282
|
-
projectKey?: string | undefined;
|
|
283
719
|
type?: string[] | undefined;
|
|
284
|
-
status?: string[] | undefined;
|
|
285
720
|
page?: number | undefined;
|
|
721
|
+
projectKey?: string | undefined;
|
|
286
722
|
pageSize?: number | undefined;
|
|
287
723
|
keyword?: string | undefined;
|
|
288
724
|
priority?: string[] | undefined;
|
|
289
725
|
assigneeId?: string | undefined;
|
|
290
726
|
stageId?: string | undefined;
|
|
291
727
|
}, {
|
|
728
|
+
status?: string[] | undefined;
|
|
292
729
|
project?: string | undefined;
|
|
293
|
-
projectKey?: string | undefined;
|
|
294
730
|
type?: string[] | undefined;
|
|
295
|
-
status?: string[] | undefined;
|
|
296
731
|
page?: number | undefined;
|
|
732
|
+
projectKey?: string | undefined;
|
|
297
733
|
pageSize?: number | undefined;
|
|
298
734
|
keyword?: string | undefined;
|
|
299
735
|
priority?: string[] | undefined;
|
|
@@ -314,6 +750,40 @@ export declare const rdGetSchema: z.ZodObject<{
|
|
|
314
750
|
project?: string | undefined;
|
|
315
751
|
projectKey?: string | undefined;
|
|
316
752
|
}>;
|
|
753
|
+
export declare const rdReadDetailSchema: z.ZodObject<{
|
|
754
|
+
project: z.ZodOptional<z.ZodString>;
|
|
755
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
756
|
+
} & {
|
|
757
|
+
itemId: z.ZodString;
|
|
758
|
+
}, "strict", z.ZodTypeAny, {
|
|
759
|
+
itemId: string;
|
|
760
|
+
project?: string | undefined;
|
|
761
|
+
projectKey?: string | undefined;
|
|
762
|
+
}, {
|
|
763
|
+
itemId: string;
|
|
764
|
+
project?: string | undefined;
|
|
765
|
+
projectKey?: string | undefined;
|
|
766
|
+
}>;
|
|
767
|
+
export declare const rdUploadRawSchema: z.ZodObject<{
|
|
768
|
+
project: z.ZodOptional<z.ZodString>;
|
|
769
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
770
|
+
} & {
|
|
771
|
+
itemId: z.ZodString;
|
|
772
|
+
uploadId: z.ZodString;
|
|
773
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
774
|
+
}, "strict", z.ZodTypeAny, {
|
|
775
|
+
uploadId: string;
|
|
776
|
+
itemId: string;
|
|
777
|
+
project?: string | undefined;
|
|
778
|
+
maxBytes?: number | undefined;
|
|
779
|
+
projectKey?: string | undefined;
|
|
780
|
+
}, {
|
|
781
|
+
uploadId: string;
|
|
782
|
+
itemId: string;
|
|
783
|
+
project?: string | undefined;
|
|
784
|
+
maxBytes?: number | undefined;
|
|
785
|
+
projectKey?: string | undefined;
|
|
786
|
+
}>;
|
|
317
787
|
export declare const rdCreateSchema: z.ZodObject<{
|
|
318
788
|
project: z.ZodOptional<z.ZodString>;
|
|
319
789
|
projectKey: z.ZodOptional<z.ZodString>;
|
|
@@ -364,12 +834,12 @@ export declare const rdCreateSchema: z.ZodObject<{
|
|
|
364
834
|
title: string;
|
|
365
835
|
memberIds: string[];
|
|
366
836
|
project?: string | undefined;
|
|
367
|
-
projectKey?: string | undefined;
|
|
368
837
|
type?: "feature_dev" | "tech_refactor" | "integration" | "env_setup" | "bug_fix" | "requirement_confirmation" | "solution_design" | "testing_validation" | "delivery_launch" | "project_closure" | undefined;
|
|
838
|
+
confirm?: boolean | undefined;
|
|
839
|
+
description?: string | undefined;
|
|
840
|
+
projectKey?: string | undefined;
|
|
369
841
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
370
842
|
verifierId?: string | null | undefined;
|
|
371
|
-
description?: string | undefined;
|
|
372
|
-
confirm?: boolean | undefined;
|
|
373
843
|
stageId?: string | null | undefined;
|
|
374
844
|
planStartAt?: string | undefined;
|
|
375
845
|
planEndAt?: string | undefined;
|
|
@@ -389,12 +859,12 @@ export declare const rdCreateSchema: z.ZodObject<{
|
|
|
389
859
|
title: string;
|
|
390
860
|
memberIds: string[];
|
|
391
861
|
project?: string | undefined;
|
|
392
|
-
projectKey?: string | undefined;
|
|
393
862
|
type?: "feature_dev" | "tech_refactor" | "integration" | "env_setup" | "bug_fix" | "requirement_confirmation" | "solution_design" | "testing_validation" | "delivery_launch" | "project_closure" | undefined;
|
|
863
|
+
confirm?: boolean | undefined;
|
|
864
|
+
description?: string | undefined;
|
|
865
|
+
projectKey?: string | undefined;
|
|
394
866
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
395
867
|
verifierId?: string | null | undefined;
|
|
396
|
-
description?: string | undefined;
|
|
397
|
-
confirm?: boolean | undefined;
|
|
398
868
|
stageId?: string | null | undefined;
|
|
399
869
|
planStartAt?: string | undefined;
|
|
400
870
|
planEndAt?: string | undefined;
|
|
@@ -458,9 +928,9 @@ export declare const rdAdvanceStageSchema: z.ZodObject<{
|
|
|
458
928
|
stageId: string;
|
|
459
929
|
itemId: string;
|
|
460
930
|
project?: string | undefined;
|
|
461
|
-
projectKey?: string | undefined;
|
|
462
|
-
description?: string | undefined;
|
|
463
931
|
confirm?: boolean | undefined;
|
|
932
|
+
description?: string | undefined;
|
|
933
|
+
projectKey?: string | undefined;
|
|
464
934
|
memberIds?: string[] | undefined;
|
|
465
935
|
planStartAt?: string | undefined;
|
|
466
936
|
planEndAt?: string | undefined;
|
|
@@ -480,9 +950,9 @@ export declare const rdAdvanceStageSchema: z.ZodObject<{
|
|
|
480
950
|
stageId: string;
|
|
481
951
|
itemId: string;
|
|
482
952
|
project?: string | undefined;
|
|
483
|
-
projectKey?: string | undefined;
|
|
484
|
-
description?: string | undefined;
|
|
485
953
|
confirm?: boolean | undefined;
|
|
954
|
+
description?: string | undefined;
|
|
955
|
+
projectKey?: string | undefined;
|
|
486
956
|
memberIds?: string[] | undefined;
|
|
487
957
|
planStartAt?: string | undefined;
|
|
488
958
|
planEndAt?: string | undefined;
|
|
@@ -531,25 +1001,25 @@ export declare const rdStageTaskCreateSchema: z.ZodObject<{
|
|
|
531
1001
|
itemId: string;
|
|
532
1002
|
ownerIds: string[];
|
|
533
1003
|
project?: string | undefined;
|
|
534
|
-
projectKey?: string | undefined;
|
|
535
|
-
description?: string | null | undefined;
|
|
536
1004
|
confirm?: boolean | undefined;
|
|
1005
|
+
description?: string | null | undefined;
|
|
1006
|
+
projectKey?: string | undefined;
|
|
1007
|
+
remark?: string | null | undefined;
|
|
537
1008
|
plannedStartAt?: string | null | undefined;
|
|
538
1009
|
plannedEndAt?: string | null | undefined;
|
|
539
1010
|
sortOrder?: number | undefined;
|
|
540
|
-
remark?: string | null | undefined;
|
|
541
1011
|
}, {
|
|
542
1012
|
title: string;
|
|
543
1013
|
itemId: string;
|
|
544
1014
|
ownerIds: string[];
|
|
545
1015
|
project?: string | undefined;
|
|
546
|
-
projectKey?: string | undefined;
|
|
547
|
-
description?: string | null | undefined;
|
|
548
1016
|
confirm?: boolean | undefined;
|
|
1017
|
+
description?: string | null | undefined;
|
|
1018
|
+
projectKey?: string | undefined;
|
|
1019
|
+
remark?: string | null | undefined;
|
|
549
1020
|
plannedStartAt?: string | null | undefined;
|
|
550
1021
|
plannedEndAt?: string | null | undefined;
|
|
551
1022
|
sortOrder?: number | undefined;
|
|
552
|
-
remark?: string | null | undefined;
|
|
553
1023
|
}>;
|
|
554
1024
|
export declare const rdUpdateProgressSchema: z.ZodObject<{
|
|
555
1025
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -566,8 +1036,8 @@ export declare const rdUpdateProgressSchema: z.ZodObject<{
|
|
|
566
1036
|
itemId: string;
|
|
567
1037
|
progress: number;
|
|
568
1038
|
project?: string | undefined;
|
|
569
|
-
projectKey?: string | undefined;
|
|
570
1039
|
confirm?: boolean | undefined;
|
|
1040
|
+
projectKey?: string | undefined;
|
|
571
1041
|
note?: string | undefined;
|
|
572
1042
|
blockReason?: string | undefined;
|
|
573
1043
|
resolveBlockId?: string | undefined;
|
|
@@ -576,10 +1046,137 @@ export declare const rdUpdateProgressSchema: z.ZodObject<{
|
|
|
576
1046
|
itemId: string;
|
|
577
1047
|
progress: number;
|
|
578
1048
|
project?: string | undefined;
|
|
579
|
-
projectKey?: string | undefined;
|
|
580
1049
|
confirm?: boolean | undefined;
|
|
1050
|
+
projectKey?: string | undefined;
|
|
581
1051
|
note?: string | undefined;
|
|
582
1052
|
blockReason?: string | undefined;
|
|
583
1053
|
resolveBlockId?: string | undefined;
|
|
584
1054
|
stageTaskId?: string | undefined;
|
|
585
1055
|
}>;
|
|
1056
|
+
export declare const rdSimpleWriteSchema: z.ZodObject<{
|
|
1057
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
} & {
|
|
1060
|
+
itemId: z.ZodString;
|
|
1061
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
1062
|
+
}, "strict", z.ZodTypeAny, {
|
|
1063
|
+
itemId: string;
|
|
1064
|
+
project?: string | undefined;
|
|
1065
|
+
confirm?: boolean | undefined;
|
|
1066
|
+
projectKey?: string | undefined;
|
|
1067
|
+
}, {
|
|
1068
|
+
itemId: string;
|
|
1069
|
+
project?: string | undefined;
|
|
1070
|
+
confirm?: boolean | undefined;
|
|
1071
|
+
projectKey?: string | undefined;
|
|
1072
|
+
}>;
|
|
1073
|
+
export declare const rdBlockSchema: z.ZodObject<{
|
|
1074
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
} & {
|
|
1077
|
+
itemId: z.ZodString;
|
|
1078
|
+
blockerReason: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
+
}, "strict", z.ZodTypeAny, {
|
|
1081
|
+
itemId: string;
|
|
1082
|
+
project?: string | undefined;
|
|
1083
|
+
confirm?: boolean | undefined;
|
|
1084
|
+
projectKey?: string | undefined;
|
|
1085
|
+
blockerReason?: string | undefined;
|
|
1086
|
+
}, {
|
|
1087
|
+
itemId: string;
|
|
1088
|
+
project?: string | undefined;
|
|
1089
|
+
confirm?: boolean | undefined;
|
|
1090
|
+
projectKey?: string | undefined;
|
|
1091
|
+
blockerReason?: string | undefined;
|
|
1092
|
+
}>;
|
|
1093
|
+
export declare const rdCompleteSchema: z.ZodObject<{
|
|
1094
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
} & {
|
|
1097
|
+
itemId: z.ZodString;
|
|
1098
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
1100
|
+
}, "strict", z.ZodTypeAny, {
|
|
1101
|
+
itemId: string;
|
|
1102
|
+
project?: string | undefined;
|
|
1103
|
+
reason?: string | undefined;
|
|
1104
|
+
confirm?: boolean | undefined;
|
|
1105
|
+
projectKey?: string | undefined;
|
|
1106
|
+
}, {
|
|
1107
|
+
itemId: string;
|
|
1108
|
+
project?: string | undefined;
|
|
1109
|
+
reason?: string | undefined;
|
|
1110
|
+
confirm?: boolean | undefined;
|
|
1111
|
+
projectKey?: string | undefined;
|
|
1112
|
+
}>;
|
|
1113
|
+
export declare const rdCloseSchema: z.ZodObject<{
|
|
1114
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
} & {
|
|
1117
|
+
itemId: z.ZodString;
|
|
1118
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
1120
|
+
}, "strict", z.ZodTypeAny, {
|
|
1121
|
+
itemId: string;
|
|
1122
|
+
project?: string | undefined;
|
|
1123
|
+
reason?: string | undefined;
|
|
1124
|
+
confirm?: boolean | undefined;
|
|
1125
|
+
projectKey?: string | undefined;
|
|
1126
|
+
}, {
|
|
1127
|
+
itemId: string;
|
|
1128
|
+
project?: string | undefined;
|
|
1129
|
+
reason?: string | undefined;
|
|
1130
|
+
confirm?: boolean | undefined;
|
|
1131
|
+
projectKey?: string | undefined;
|
|
1132
|
+
}>;
|
|
1133
|
+
export declare const rdUpdateSchema: z.ZodObject<{
|
|
1134
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
} & {
|
|
1137
|
+
itemId: z.ZodString;
|
|
1138
|
+
version: z.ZodNumber;
|
|
1139
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1141
|
+
stageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1142
|
+
type: z.ZodOptional<z.ZodEnum<["feature_dev", "tech_refactor", "integration", "env_setup", "bug_fix", "requirement_confirmation", "solution_design", "testing_validation", "delivery_launch", "project_closure"]>>;
|
|
1143
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
1144
|
+
memberIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1145
|
+
verifierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1146
|
+
planStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1147
|
+
planEndAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
+
stageDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1149
|
+
confirm: z.ZodOptional<z.ZodBoolean>;
|
|
1150
|
+
}, "strict", z.ZodTypeAny, {
|
|
1151
|
+
version: number;
|
|
1152
|
+
itemId: string;
|
|
1153
|
+
project?: string | undefined;
|
|
1154
|
+
type?: "feature_dev" | "tech_refactor" | "integration" | "env_setup" | "bug_fix" | "requirement_confirmation" | "solution_design" | "testing_validation" | "delivery_launch" | "project_closure" | undefined;
|
|
1155
|
+
confirm?: boolean | undefined;
|
|
1156
|
+
description?: string | null | undefined;
|
|
1157
|
+
projectKey?: string | undefined;
|
|
1158
|
+
title?: string | undefined;
|
|
1159
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1160
|
+
verifierId?: string | null | undefined;
|
|
1161
|
+
stageId?: string | null | undefined;
|
|
1162
|
+
memberIds?: string[] | undefined;
|
|
1163
|
+
planStartAt?: string | null | undefined;
|
|
1164
|
+
planEndAt?: string | null | undefined;
|
|
1165
|
+
stageDescription?: string | null | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
version: number;
|
|
1168
|
+
itemId: string;
|
|
1169
|
+
project?: string | undefined;
|
|
1170
|
+
type?: "feature_dev" | "tech_refactor" | "integration" | "env_setup" | "bug_fix" | "requirement_confirmation" | "solution_design" | "testing_validation" | "delivery_launch" | "project_closure" | undefined;
|
|
1171
|
+
confirm?: boolean | undefined;
|
|
1172
|
+
description?: string | null | undefined;
|
|
1173
|
+
projectKey?: string | undefined;
|
|
1174
|
+
title?: string | undefined;
|
|
1175
|
+
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
1176
|
+
verifierId?: string | null | undefined;
|
|
1177
|
+
stageId?: string | null | undefined;
|
|
1178
|
+
memberIds?: string[] | undefined;
|
|
1179
|
+
planStartAt?: string | null | undefined;
|
|
1180
|
+
planEndAt?: string | null | undefined;
|
|
1181
|
+
stageDescription?: string | null | undefined;
|
|
1182
|
+
}>;
|