@yinuo-ngm/mcp-server 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/README.md +225 -188
  2. package/lib/audit/audit-event.d.ts +14 -0
  3. package/lib/audit/audit-event.js +2 -0
  4. package/lib/audit/audit-log.service.d.ts +7 -0
  5. package/lib/audit/audit-log.service.js +187 -0
  6. package/lib/audit/redact.d.ts +3 -0
  7. package/lib/audit/redact.js +28 -0
  8. package/lib/catalog/capabilities/blocked-local-actions.d.ts +1 -0
  9. package/lib/catalog/capabilities/blocked-local-actions.js +18 -0
  10. package/lib/catalog/capabilities/frontend-standard.d.ts +2 -0
  11. package/lib/catalog/capabilities/frontend-standard.js +36 -0
  12. package/lib/catalog/capabilities/hub-v2.d.ts +2 -0
  13. package/lib/catalog/capabilities/hub-v2.js +34 -0
  14. package/lib/catalog/capabilities/nginx.d.ts +2 -0
  15. package/lib/catalog/capabilities/nginx.js +23 -0
  16. package/lib/catalog/capabilities/project.d.ts +2 -0
  17. package/lib/catalog/capabilities/project.js +23 -0
  18. package/lib/catalog/capabilities/router.d.ts +2 -0
  19. package/lib/catalog/capabilities/router.js +11 -0
  20. package/lib/catalog/capabilities/runtime.d.ts +2 -0
  21. package/lib/catalog/capabilities/runtime.js +17 -0
  22. package/lib/catalog/capabilities/workspace.d.ts +2 -0
  23. package/lib/catalog/capabilities/workspace.js +23 -0
  24. package/lib/catalog/helpers.d.ts +3 -0
  25. package/lib/catalog/helpers.js +42 -0
  26. package/lib/catalog/index.d.ts +4 -0
  27. package/lib/catalog/index.js +23 -0
  28. package/lib/catalog/tools/frontend-standard.d.ts +2 -0
  29. package/lib/catalog/tools/frontend-standard.js +166 -0
  30. package/lib/catalog/tools/hub-v2-api.d.ts +2 -0
  31. package/lib/catalog/tools/hub-v2-api.js +124 -0
  32. package/lib/catalog/tools/hub-v2-docs.d.ts +2 -0
  33. package/lib/catalog/tools/hub-v2-docs.js +40 -0
  34. package/lib/catalog/tools/nginx.d.ts +2 -0
  35. package/lib/catalog/tools/nginx.js +96 -0
  36. package/lib/catalog/tools/project.d.ts +2 -0
  37. package/lib/catalog/tools/project.js +138 -0
  38. package/lib/catalog/tools/router.d.ts +2 -0
  39. package/lib/catalog/tools/router.js +26 -0
  40. package/lib/catalog/tools/runtime.d.ts +2 -0
  41. package/lib/catalog/tools/runtime.js +47 -0
  42. package/lib/catalog/tools/workspace.d.ts +2 -0
  43. package/lib/catalog/tools/workspace.js +75 -0
  44. package/lib/catalog/types.d.ts +15 -0
  45. package/lib/catalog/types.js +2 -0
  46. package/lib/context/create-tool-context.js +11 -10
  47. package/lib/context/local-server-client.d.ts +2 -0
  48. package/lib/context/local-server-client.js +174 -0
  49. package/lib/context/tool-context.d.ts +36 -0
  50. package/lib/doctor.d.ts +8 -0
  51. package/lib/doctor.js +221 -0
  52. package/lib/errors/error-codes.d.ts +12 -0
  53. package/lib/errors/error-codes.js +14 -0
  54. package/lib/errors/mcp-tool-error.d.ts +8 -0
  55. package/lib/errors/mcp-tool-error.js +14 -0
  56. package/lib/filesystem/project-files.d.ts +18 -0
  57. package/lib/filesystem/project-files.js +112 -0
  58. package/lib/git/local-git-read-service.d.ts +2 -0
  59. package/lib/git/local-git-read-service.js +96 -0
  60. package/lib/index.d.ts +1 -0
  61. package/lib/index.js +4 -0
  62. package/lib/policy/assert-tool-policy.js +10 -1
  63. package/lib/register-tools.js +70 -9
  64. package/lib/registry/tool-names.d.ts +95 -0
  65. package/lib/registry/tool-names.js +97 -0
  66. package/lib/services/path-guard.service.d.ts +4 -0
  67. package/lib/services/path-guard.service.js +75 -0
  68. package/lib/services/permission.service.d.ts +5 -0
  69. package/lib/services/permission.service.js +38 -0
  70. package/lib/services/project-resolver.service.d.ts +32 -0
  71. package/lib/services/project-resolver.service.js +95 -0
  72. package/lib/standard/frontend-standard.default.d.ts +2 -0
  73. package/lib/standard/frontend-standard.default.js +51 -0
  74. package/lib/standard/frontend-standard.schema.d.ts +196 -0
  75. package/lib/standard/frontend-standard.schema.js +61 -0
  76. package/lib/standard/frontend-standard.service.d.ts +79 -0
  77. package/lib/standard/frontend-standard.service.js +115 -0
  78. package/lib/standard/project-scan.d.ts +9 -0
  79. package/lib/standard/project-scan.js +91 -0
  80. package/lib/standard/validators/angular-structure.validator.d.ts +4 -0
  81. package/lib/standard/validators/angular-structure.validator.js +75 -0
  82. package/lib/standard/validators/component.validator.d.ts +4 -0
  83. package/lib/standard/validators/component.validator.js +94 -0
  84. package/lib/standard/validators/git.validator.d.ts +8 -0
  85. package/lib/standard/validators/git.validator.js +32 -0
  86. package/lib/standard/validators/review.validator.d.ts +15 -0
  87. package/lib/standard/validators/review.validator.js +67 -0
  88. package/lib/standard/validators/test.validator.d.ts +19 -0
  89. package/lib/standard/validators/test.validator.js +89 -0
  90. package/lib/tool-catalog.d.ts +2 -0
  91. package/lib/tool-catalog.js +6 -0
  92. package/lib/tools/angular/angular-standard.tools.d.ts +2 -0
  93. package/lib/tools/angular/angular-standard.tools.js +53 -0
  94. package/lib/tools/angular/index.d.ts +1 -0
  95. package/lib/tools/angular/index.js +5 -0
  96. package/lib/tools/capability.tools.d.ts +2 -0
  97. package/lib/tools/capability.tools.js +205 -0
  98. package/lib/tools/controlled/index.d.ts +2 -0
  99. package/lib/tools/controlled/index.js +13 -0
  100. package/lib/tools/controlled/local-server.d.ts +6 -0
  101. package/lib/tools/controlled/local-server.js +17 -0
  102. package/lib/tools/controlled/operation-policy.d.ts +22 -0
  103. package/lib/tools/controlled/operation-policy.js +50 -0
  104. package/lib/tools/controlled/operation-result.d.ts +30 -0
  105. package/lib/tools/controlled/operation-result.js +33 -0
  106. package/lib/tools/controlled/schemas.d.ts +159 -0
  107. package/lib/tools/controlled/schemas.js +49 -0
  108. package/lib/tools/controlled.tools.d.ts +1 -0
  109. package/lib/tools/controlled.tools.js +5 -0
  110. package/lib/tools/file-write.tools.d.ts +2 -0
  111. package/lib/tools/file-write.tools.js +70 -0
  112. package/lib/tools/git.tools.js +109 -8
  113. package/lib/tools/hub-v2/client.d.ts +20 -0
  114. package/lib/tools/hub-v2/client.js +112 -0
  115. package/lib/tools/hub-v2/config/config-paths.d.ts +2 -0
  116. package/lib/tools/hub-v2/config/config-paths.js +17 -0
  117. package/lib/tools/hub-v2/config/env.d.ts +1 -0
  118. package/lib/tools/hub-v2/config/env.js +12 -0
  119. package/lib/tools/hub-v2/config/index.d.ts +8 -0
  120. package/lib/tools/hub-v2/config/index.js +18 -0
  121. package/lib/tools/hub-v2/config/jsonc.d.ts +5 -0
  122. package/lib/tools/hub-v2/config/jsonc.js +86 -0
  123. package/lib/tools/hub-v2/config/load-config.d.ts +18 -0
  124. package/lib/tools/hub-v2/config/load-config.js +93 -0
  125. package/lib/tools/hub-v2/config/project-selector.d.ts +5 -0
  126. package/lib/tools/hub-v2/config/project-selector.js +92 -0
  127. package/lib/tools/hub-v2/config/resolve-context.d.ts +13 -0
  128. package/lib/tools/hub-v2/config/resolve-context.js +33 -0
  129. package/lib/tools/hub-v2/docs.tools.d.ts +2 -0
  130. package/lib/tools/hub-v2/docs.tools.js +215 -0
  131. package/lib/tools/hub-v2/errors.d.ts +8 -0
  132. package/lib/tools/hub-v2/errors.js +27 -0
  133. package/lib/tools/hub-v2/index.d.ts +2 -0
  134. package/lib/tools/hub-v2/index.js +19 -0
  135. package/lib/tools/hub-v2/issues-workflow.tools.d.ts +2 -0
  136. package/lib/tools/hub-v2/issues-workflow.tools.js +199 -0
  137. package/lib/tools/hub-v2/issues.tools.d.ts +2 -0
  138. package/lib/tools/hub-v2/issues.tools.js +244 -0
  139. package/lib/tools/hub-v2/projects.tools.d.ts +2 -0
  140. package/lib/tools/hub-v2/projects.tools.js +41 -0
  141. package/lib/tools/hub-v2/raw.d.ts +8 -0
  142. package/lib/tools/hub-v2/raw.js +33 -0
  143. package/lib/tools/hub-v2/rd.tools.d.ts +2 -0
  144. package/lib/tools/hub-v2/rd.tools.js +361 -0
  145. package/lib/tools/hub-v2/schemas.d.ts +1182 -0
  146. package/lib/tools/hub-v2/schemas.js +318 -0
  147. package/lib/tools/hub-v2/upload.tools.d.ts +2 -0
  148. package/lib/tools/hub-v2/upload.tools.js +198 -0
  149. package/lib/tools/index.d.ts +3 -0
  150. package/lib/tools/index.js +24 -0
  151. package/lib/tools/log.tools.js +33 -6
  152. package/lib/tools/nginx/index.d.ts +1 -0
  153. package/lib/tools/nginx/index.js +5 -0
  154. package/lib/tools/nginx/nginx-control.tools.d.ts +2 -0
  155. package/lib/tools/nginx/nginx-control.tools.js +133 -0
  156. package/lib/tools/nginx/nginx-proxy.d.ts +24 -0
  157. package/lib/tools/nginx/nginx-proxy.js +154 -0
  158. package/lib/tools/nginx.tools.d.ts +2 -0
  159. package/lib/tools/nginx.tools.js +111 -0
  160. package/lib/tools/project/index.d.ts +2 -0
  161. package/lib/tools/project/index.js +7 -0
  162. package/lib/tools/project/launch-status.d.ts +10 -0
  163. package/lib/tools/project/launch-status.js +78 -0
  164. package/lib/tools/project/local-diagnostics.d.ts +19 -0
  165. package/lib/tools/project/local-diagnostics.js +97 -0
  166. package/lib/tools/project/observe-redaction.d.ts +3 -0
  167. package/lib/tools/project/observe-redaction.js +25 -0
  168. package/lib/tools/project/observe-runtime.d.ts +72 -0
  169. package/lib/tools/project/observe-runtime.js +147 -0
  170. package/lib/tools/project/project-control.tools.d.ts +2 -0
  171. package/lib/tools/project/project-control.tools.js +216 -0
  172. package/lib/tools/project/project-observe.tools.d.ts +2 -0
  173. package/lib/tools/project/project-observe.tools.js +191 -0
  174. package/lib/tools/project/runtime-config.d.ts +7 -0
  175. package/lib/tools/project/runtime-config.js +50 -0
  176. package/lib/tools/project-observe.tools.d.ts +1 -0
  177. package/lib/tools/project-observe.tools.js +5 -0
  178. package/lib/tools/project.tools.d.ts +8 -0
  179. package/lib/tools/project.tools.js +97 -6
  180. package/lib/tools/proxy.tools.js +4 -4
  181. package/lib/tools/review/index.d.ts +1 -0
  182. package/lib/tools/review/index.js +5 -0
  183. package/lib/tools/review/review.tools.d.ts +2 -0
  184. package/lib/tools/review/review.tools.js +152 -0
  185. package/lib/tools/runtime/index.d.ts +1 -0
  186. package/lib/tools/runtime/index.js +5 -0
  187. package/lib/tools/runtime/runtime-control.tools.d.ts +2 -0
  188. package/lib/tools/runtime/runtime-control.tools.js +89 -0
  189. package/lib/tools/runtime.tools.js +41 -4
  190. package/lib/tools/standard/index.d.ts +1 -0
  191. package/lib/tools/standard/index.js +5 -0
  192. package/lib/tools/standard/standard.tools.d.ts +2 -0
  193. package/lib/tools/standard/standard.tools.js +91 -0
  194. package/lib/tools/task.tools.js +44 -9
  195. package/lib/tools/test/index.d.ts +1 -0
  196. package/lib/tools/test/index.js +5 -0
  197. package/lib/tools/test/test-standard.tools.d.ts +2 -0
  198. package/lib/tools/test/test-standard.tools.js +51 -0
  199. package/lib/tools/tool-catalog.d.ts +2 -0
  200. package/lib/tools/tool-catalog.js +7 -0
  201. package/lib/tools/workflow/frontend-workflow.tools.d.ts +2 -0
  202. package/lib/tools/workflow/frontend-workflow.tools.js +364 -0
  203. package/lib/tools/workflow/index.d.ts +1 -0
  204. package/lib/tools/workflow/index.js +5 -0
  205. package/lib/tools/workspace-package.d.ts +22 -0
  206. package/lib/tools/workspace-package.js +130 -0
  207. package/lib/tools/workspace.tools.d.ts +7 -0
  208. package/lib/tools/workspace.tools.js +336 -0
  209. package/lib/utils/errors.d.ts +5 -0
  210. package/lib/utils/errors.js +17 -0
  211. package/lib/utils/result.d.ts +20 -2
  212. package/lib/utils/result.js +108 -3
  213. package/lib/workflow/frontend-task.schema.d.ts +83 -0
  214. package/lib/workflow/frontend-task.schema.js +25 -0
  215. package/lib/workflow/frontend-task.service.d.ts +57 -0
  216. package/lib/workflow/frontend-task.service.js +195 -0
  217. package/lib/workflow/workflow-status.d.ts +2 -0
  218. package/lib/workflow/workflow-status.js +14 -0
  219. package/lib/workflow/workflow-transition.d.ts +9 -0
  220. package/lib/workflow/workflow-transition.js +38 -0
  221. package/package.json +10 -4
@@ -0,0 +1,1182 @@
1
+ import { z } from "zod";
2
+ export declare const projectSelectorSchema: z.ZodObject<{
3
+ project: z.ZodOptional<z.ZodString>;
4
+ projectKey: z.ZodOptional<z.ZodString>;
5
+ }, "strict", z.ZodTypeAny, {
6
+ project?: string | undefined;
7
+ projectKey?: string | undefined;
8
+ }, {
9
+ project?: string | undefined;
10
+ projectKey?: string | undefined;
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
+ }>;
22
+ export declare const pagingSchema: z.ZodObject<{
23
+ page: z.ZodOptional<z.ZodNumber>;
24
+ pageSize: z.ZodOptional<z.ZodNumber>;
25
+ }, "strict", z.ZodTypeAny, {
26
+ page?: number | undefined;
27
+ pageSize?: number | undefined;
28
+ }, {
29
+ page?: number | undefined;
30
+ pageSize?: number | undefined;
31
+ }>;
32
+ export declare const docsListSchema: z.ZodObject<{
33
+ project: z.ZodOptional<z.ZodString>;
34
+ projectKey: z.ZodOptional<z.ZodString>;
35
+ } & {
36
+ page: z.ZodOptional<z.ZodNumber>;
37
+ pageSize: z.ZodOptional<z.ZodNumber>;
38
+ status: z.ZodOptional<z.ZodEnum<["draft", "published", "archived"]>>;
39
+ keyword: z.ZodOptional<z.ZodString>;
40
+ category: z.ZodOptional<z.ZodString>;
41
+ categoryId: z.ZodOptional<z.ZodString>;
42
+ }, "strict", z.ZodTypeAny, {
43
+ status?: "draft" | "published" | "archived" | undefined;
44
+ project?: string | undefined;
45
+ page?: number | undefined;
46
+ projectKey?: string | undefined;
47
+ pageSize?: number | undefined;
48
+ keyword?: string | undefined;
49
+ category?: string | undefined;
50
+ categoryId?: string | undefined;
51
+ }, {
52
+ status?: "draft" | "published" | "archived" | undefined;
53
+ project?: string | undefined;
54
+ page?: number | undefined;
55
+ projectKey?: string | undefined;
56
+ pageSize?: number | undefined;
57
+ keyword?: string | undefined;
58
+ category?: string | undefined;
59
+ categoryId?: string | undefined;
60
+ }>;
61
+ export declare const docsGetSchema: z.ZodObject<{
62
+ project: z.ZodOptional<z.ZodString>;
63
+ projectKey: z.ZodOptional<z.ZodString>;
64
+ } & {
65
+ docId: z.ZodString;
66
+ }, "strict", z.ZodTypeAny, {
67
+ docId: string;
68
+ project?: string | undefined;
69
+ projectKey?: string | undefined;
70
+ }, {
71
+ docId: string;
72
+ project?: string | undefined;
73
+ projectKey?: string | undefined;
74
+ }>;
75
+ export declare const docsGetBySlugSchema: z.ZodObject<{
76
+ project: z.ZodOptional<z.ZodString>;
77
+ projectKey: z.ZodOptional<z.ZodString>;
78
+ } & {
79
+ slug: z.ZodString;
80
+ contentOnly: z.ZodOptional<z.ZodBoolean>;
81
+ }, "strict", z.ZodTypeAny, {
82
+ slug: string;
83
+ project?: string | undefined;
84
+ projectKey?: string | undefined;
85
+ contentOnly?: boolean | undefined;
86
+ }, {
87
+ slug: string;
88
+ project?: string | undefined;
89
+ projectKey?: string | undefined;
90
+ contentOnly?: boolean | undefined;
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
+ }>;
206
+ export declare const issuesListSchema: z.ZodObject<{
207
+ project: z.ZodOptional<z.ZodString>;
208
+ projectKey: z.ZodOptional<z.ZodString>;
209
+ } & {
210
+ page: z.ZodOptional<z.ZodNumber>;
211
+ pageSize: z.ZodOptional<z.ZodNumber>;
212
+ keyword: z.ZodOptional<z.ZodString>;
213
+ status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
214
+ priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
+ assigneeId: z.ZodOptional<z.ZodString>;
216
+ verifierId: z.ZodOptional<z.ZodString>;
217
+ rdItemId: z.ZodOptional<z.ZodString>;
218
+ }, "strict", z.ZodTypeAny, {
219
+ status?: string[] | undefined;
220
+ project?: string | undefined;
221
+ page?: number | undefined;
222
+ projectKey?: string | undefined;
223
+ pageSize?: number | undefined;
224
+ keyword?: string | undefined;
225
+ priority?: string[] | undefined;
226
+ assigneeId?: string | undefined;
227
+ verifierId?: string | undefined;
228
+ rdItemId?: string | undefined;
229
+ }, {
230
+ status?: string[] | undefined;
231
+ project?: string | undefined;
232
+ page?: number | undefined;
233
+ projectKey?: string | undefined;
234
+ pageSize?: number | undefined;
235
+ keyword?: string | undefined;
236
+ priority?: string[] | undefined;
237
+ assigneeId?: string | undefined;
238
+ verifierId?: string | undefined;
239
+ rdItemId?: string | undefined;
240
+ }>;
241
+ export declare const issueGetSchema: z.ZodObject<{
242
+ project: z.ZodOptional<z.ZodString>;
243
+ projectKey: z.ZodOptional<z.ZodString>;
244
+ } & {
245
+ issueId: z.ZodString;
246
+ }, "strict", z.ZodTypeAny, {
247
+ issueId: string;
248
+ project?: string | undefined;
249
+ projectKey?: string | undefined;
250
+ }, {
251
+ issueId: string;
252
+ project?: string | undefined;
253
+ projectKey?: string | undefined;
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
+ }>;
309
+ export declare const issueCreateSchema: z.ZodObject<{
310
+ project: z.ZodOptional<z.ZodString>;
311
+ projectKey: z.ZodOptional<z.ZodString>;
312
+ } & {
313
+ title: z.ZodString;
314
+ description: z.ZodOptional<z.ZodString>;
315
+ type: z.ZodOptional<z.ZodEnum<["bug", "feature", "change", "improvement", "task", "test"]>>;
316
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
317
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ verifierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
+ rdItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
+ moduleCode: z.ZodOptional<z.ZodString>;
321
+ versionCode: z.ZodOptional<z.ZodString>;
322
+ environmentCode: z.ZodOptional<z.ZodString>;
323
+ confirm: z.ZodOptional<z.ZodBoolean>;
324
+ }, "strict", z.ZodTypeAny, {
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;
573
+ project?: string | undefined;
574
+ confirm?: boolean | undefined;
575
+ summary?: string | undefined;
576
+ projectKey?: string | undefined;
577
+ }, {
578
+ issueId: string;
579
+ branchId: string;
580
+ project?: string | undefined;
581
+ confirm?: boolean | undefined;
582
+ summary?: string | undefined;
583
+ projectKey?: string | undefined;
584
+ }>;
585
+ export declare const issueParticipantRemoveSchema: z.ZodObject<{
586
+ project: z.ZodOptional<z.ZodString>;
587
+ projectKey: z.ZodOptional<z.ZodString>;
588
+ } & {
589
+ issueId: z.ZodString;
590
+ participantId: z.ZodString;
591
+ confirm: z.ZodOptional<z.ZodBoolean>;
592
+ }, "strict", z.ZodTypeAny, {
593
+ issueId: string;
594
+ participantId: string;
595
+ project?: string | undefined;
596
+ confirm?: boolean | undefined;
597
+ projectKey?: string | undefined;
598
+ }, {
599
+ issueId: string;
600
+ participantId: string;
601
+ project?: string | undefined;
602
+ confirm?: boolean | undefined;
603
+ projectKey?: string | undefined;
604
+ }>;
605
+ export declare const issueUpdateSchema: z.ZodObject<{
606
+ project: z.ZodOptional<z.ZodString>;
607
+ projectKey: z.ZodOptional<z.ZodString>;
608
+ } & {
609
+ issueId: z.ZodString;
610
+ title: z.ZodOptional<z.ZodString>;
611
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ type: z.ZodOptional<z.ZodEnum<["bug", "feature", "change", "improvement", "task", "test"]>>;
613
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
614
+ rdItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
+ moduleCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
616
+ versionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
617
+ environmentCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
618
+ confirm: z.ZodOptional<z.ZodBoolean>;
619
+ }, "strict", z.ZodTypeAny, {
620
+ issueId: string;
621
+ project?: string | undefined;
622
+ type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
623
+ confirm?: boolean | undefined;
624
+ description?: string | null | undefined;
625
+ projectKey?: string | undefined;
626
+ title?: string | undefined;
627
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
628
+ rdItemId?: string | null | undefined;
629
+ moduleCode?: string | null | undefined;
630
+ versionCode?: string | null | undefined;
631
+ environmentCode?: string | null | undefined;
632
+ }, {
633
+ issueId: string;
634
+ project?: string | undefined;
635
+ type?: "test" | "bug" | "feature" | "change" | "improvement" | "task" | undefined;
636
+ confirm?: boolean | undefined;
637
+ description?: string | null | undefined;
638
+ projectKey?: string | undefined;
639
+ title?: string | undefined;
640
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
641
+ rdItemId?: string | null | undefined;
642
+ moduleCode?: string | null | undefined;
643
+ versionCode?: string | null | undefined;
644
+ environmentCode?: string | null | undefined;
645
+ }>;
646
+ export declare const markdownImageUploadSchema: z.ZodObject<{
647
+ project: z.ZodOptional<z.ZodString>;
648
+ projectKey: z.ZodOptional<z.ZodString>;
649
+ } & {
650
+ filePath: z.ZodOptional<z.ZodString>;
651
+ contentBase64: z.ZodOptional<z.ZodString>;
652
+ fileName: z.ZodOptional<z.ZodString>;
653
+ mimeType: z.ZodOptional<z.ZodString>;
654
+ alt: z.ZodOptional<z.ZodString>;
655
+ confirm: z.ZodOptional<z.ZodBoolean>;
656
+ }, "strict", z.ZodTypeAny, {
657
+ project?: string | undefined;
658
+ confirm?: boolean | undefined;
659
+ projectKey?: string | undefined;
660
+ filePath?: string | undefined;
661
+ contentBase64?: string | undefined;
662
+ fileName?: string | undefined;
663
+ mimeType?: string | undefined;
664
+ alt?: string | undefined;
665
+ }, {
666
+ project?: string | undefined;
667
+ confirm?: boolean | undefined;
668
+ projectKey?: string | undefined;
669
+ filePath?: string | undefined;
670
+ contentBase64?: string | undefined;
671
+ fileName?: string | undefined;
672
+ mimeType?: string | undefined;
673
+ alt?: string | undefined;
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
+ }>;
704
+ export declare const rdListSchema: z.ZodObject<{
705
+ project: z.ZodOptional<z.ZodString>;
706
+ projectKey: z.ZodOptional<z.ZodString>;
707
+ } & {
708
+ page: z.ZodOptional<z.ZodNumber>;
709
+ pageSize: z.ZodOptional<z.ZodNumber>;
710
+ keyword: z.ZodOptional<z.ZodString>;
711
+ stageId: z.ZodOptional<z.ZodString>;
712
+ status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
713
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
714
+ priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
715
+ assigneeId: z.ZodOptional<z.ZodString>;
716
+ }, "strict", z.ZodTypeAny, {
717
+ status?: string[] | undefined;
718
+ project?: string | undefined;
719
+ type?: string[] | undefined;
720
+ page?: number | undefined;
721
+ projectKey?: string | undefined;
722
+ pageSize?: number | undefined;
723
+ keyword?: string | undefined;
724
+ priority?: string[] | undefined;
725
+ assigneeId?: string | undefined;
726
+ stageId?: string | undefined;
727
+ }, {
728
+ status?: string[] | undefined;
729
+ project?: string | undefined;
730
+ type?: string[] | undefined;
731
+ page?: number | undefined;
732
+ projectKey?: string | undefined;
733
+ pageSize?: number | undefined;
734
+ keyword?: string | undefined;
735
+ priority?: string[] | undefined;
736
+ assigneeId?: string | undefined;
737
+ stageId?: string | undefined;
738
+ }>;
739
+ export declare const rdGetSchema: z.ZodObject<{
740
+ project: z.ZodOptional<z.ZodString>;
741
+ projectKey: z.ZodOptional<z.ZodString>;
742
+ } & {
743
+ itemId: z.ZodString;
744
+ }, "strict", z.ZodTypeAny, {
745
+ itemId: string;
746
+ project?: string | undefined;
747
+ projectKey?: string | undefined;
748
+ }, {
749
+ itemId: string;
750
+ project?: string | undefined;
751
+ projectKey?: string | undefined;
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
+ }>;
787
+ export declare const rdCreateSchema: z.ZodObject<{
788
+ project: z.ZodOptional<z.ZodString>;
789
+ projectKey: z.ZodOptional<z.ZodString>;
790
+ } & {
791
+ title: z.ZodString;
792
+ description: z.ZodOptional<z.ZodString>;
793
+ stageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
+ type: z.ZodOptional<z.ZodEnum<["feature_dev", "tech_refactor", "integration", "env_setup", "bug_fix", "requirement_confirmation", "solution_design", "testing_validation", "delivery_launch", "project_closure"]>>;
795
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
796
+ memberIds: z.ZodArray<z.ZodString, "many">;
797
+ verifierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ planStartAt: z.ZodOptional<z.ZodString>;
799
+ planEndAt: z.ZodOptional<z.ZodString>;
800
+ stageTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
801
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
+ title: z.ZodString;
803
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
804
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
805
+ plannedStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
806
+ plannedEndAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ }, "strict", z.ZodTypeAny, {
808
+ title: string;
809
+ description?: string | null | undefined;
810
+ templateId?: string | null | undefined;
811
+ ownerId?: string | null | undefined;
812
+ plannedStartAt?: string | null | undefined;
813
+ plannedEndAt?: string | null | undefined;
814
+ }, {
815
+ title: string;
816
+ description?: string | null | undefined;
817
+ templateId?: string | null | undefined;
818
+ ownerId?: string | null | undefined;
819
+ plannedStartAt?: string | null | undefined;
820
+ plannedEndAt?: string | null | undefined;
821
+ }>, "many">>;
822
+ stageTaskTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
823
+ templateId: z.ZodString;
824
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
825
+ }, "strict", z.ZodTypeAny, {
826
+ templateId: string;
827
+ ownerId?: string | null | undefined;
828
+ }, {
829
+ templateId: string;
830
+ ownerId?: string | null | undefined;
831
+ }>, "many">>;
832
+ confirm: z.ZodOptional<z.ZodBoolean>;
833
+ }, "strict", z.ZodTypeAny, {
834
+ title: string;
835
+ memberIds: string[];
836
+ project?: string | undefined;
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;
841
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
842
+ verifierId?: string | null | undefined;
843
+ stageId?: string | null | undefined;
844
+ planStartAt?: string | undefined;
845
+ planEndAt?: string | undefined;
846
+ stageTasks?: {
847
+ title: string;
848
+ description?: string | null | undefined;
849
+ templateId?: string | null | undefined;
850
+ ownerId?: string | null | undefined;
851
+ plannedStartAt?: string | null | undefined;
852
+ plannedEndAt?: string | null | undefined;
853
+ }[] | undefined;
854
+ stageTaskTemplates?: {
855
+ templateId: string;
856
+ ownerId?: string | null | undefined;
857
+ }[] | undefined;
858
+ }, {
859
+ title: string;
860
+ memberIds: string[];
861
+ project?: string | undefined;
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;
866
+ priority?: "low" | "medium" | "high" | "critical" | undefined;
867
+ verifierId?: string | null | undefined;
868
+ stageId?: string | null | undefined;
869
+ planStartAt?: string | undefined;
870
+ planEndAt?: string | undefined;
871
+ stageTasks?: {
872
+ title: string;
873
+ description?: string | null | undefined;
874
+ templateId?: string | null | undefined;
875
+ ownerId?: string | null | undefined;
876
+ plannedStartAt?: string | null | undefined;
877
+ plannedEndAt?: string | null | undefined;
878
+ }[] | undefined;
879
+ stageTaskTemplates?: {
880
+ templateId: string;
881
+ ownerId?: string | null | undefined;
882
+ }[] | undefined;
883
+ }>;
884
+ export declare const rdAdvanceStageSchema: z.ZodObject<{
885
+ project: z.ZodOptional<z.ZodString>;
886
+ projectKey: z.ZodOptional<z.ZodString>;
887
+ } & {
888
+ itemId: z.ZodString;
889
+ stageId: z.ZodString;
890
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
891
+ description: z.ZodOptional<z.ZodString>;
892
+ planStartAt: z.ZodOptional<z.ZodString>;
893
+ planEndAt: z.ZodOptional<z.ZodString>;
894
+ stageTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
895
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
+ title: z.ZodString;
897
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
898
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
899
+ plannedStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
900
+ plannedEndAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
+ }, "strict", z.ZodTypeAny, {
902
+ title: string;
903
+ description?: string | null | undefined;
904
+ templateId?: string | null | undefined;
905
+ ownerId?: string | null | undefined;
906
+ plannedStartAt?: string | null | undefined;
907
+ plannedEndAt?: string | null | undefined;
908
+ }, {
909
+ title: string;
910
+ description?: string | null | undefined;
911
+ templateId?: string | null | undefined;
912
+ ownerId?: string | null | undefined;
913
+ plannedStartAt?: string | null | undefined;
914
+ plannedEndAt?: string | null | undefined;
915
+ }>, "many">>;
916
+ stageTaskTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
917
+ templateId: z.ZodString;
918
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
919
+ }, "strict", z.ZodTypeAny, {
920
+ templateId: string;
921
+ ownerId?: string | null | undefined;
922
+ }, {
923
+ templateId: string;
924
+ ownerId?: string | null | undefined;
925
+ }>, "many">>;
926
+ confirm: z.ZodOptional<z.ZodBoolean>;
927
+ }, "strict", z.ZodTypeAny, {
928
+ stageId: string;
929
+ itemId: string;
930
+ project?: string | undefined;
931
+ confirm?: boolean | undefined;
932
+ description?: string | undefined;
933
+ projectKey?: string | undefined;
934
+ memberIds?: string[] | undefined;
935
+ planStartAt?: string | undefined;
936
+ planEndAt?: string | undefined;
937
+ stageTasks?: {
938
+ title: string;
939
+ description?: string | null | undefined;
940
+ templateId?: string | null | undefined;
941
+ ownerId?: string | null | undefined;
942
+ plannedStartAt?: string | null | undefined;
943
+ plannedEndAt?: string | null | undefined;
944
+ }[] | undefined;
945
+ stageTaskTemplates?: {
946
+ templateId: string;
947
+ ownerId?: string | null | undefined;
948
+ }[] | undefined;
949
+ }, {
950
+ stageId: string;
951
+ itemId: string;
952
+ project?: string | undefined;
953
+ confirm?: boolean | undefined;
954
+ description?: string | undefined;
955
+ projectKey?: string | undefined;
956
+ memberIds?: string[] | undefined;
957
+ planStartAt?: string | undefined;
958
+ planEndAt?: string | undefined;
959
+ stageTasks?: {
960
+ title: string;
961
+ description?: string | null | undefined;
962
+ templateId?: string | null | undefined;
963
+ ownerId?: string | null | undefined;
964
+ plannedStartAt?: string | null | undefined;
965
+ plannedEndAt?: string | null | undefined;
966
+ }[] | undefined;
967
+ stageTaskTemplates?: {
968
+ templateId: string;
969
+ ownerId?: string | null | undefined;
970
+ }[] | undefined;
971
+ }>;
972
+ export declare const rdStageTasksListSchema: z.ZodObject<{
973
+ project: z.ZodOptional<z.ZodString>;
974
+ projectKey: z.ZodOptional<z.ZodString>;
975
+ } & {
976
+ itemId: z.ZodString;
977
+ }, "strict", z.ZodTypeAny, {
978
+ itemId: string;
979
+ project?: string | undefined;
980
+ projectKey?: string | undefined;
981
+ }, {
982
+ itemId: string;
983
+ project?: string | undefined;
984
+ projectKey?: string | undefined;
985
+ }>;
986
+ export declare const rdStageTaskCreateSchema: z.ZodObject<{
987
+ project: z.ZodOptional<z.ZodString>;
988
+ projectKey: z.ZodOptional<z.ZodString>;
989
+ } & {
990
+ itemId: z.ZodString;
991
+ title: z.ZodString;
992
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
993
+ ownerIds: z.ZodArray<z.ZodString, "many">;
994
+ plannedStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
+ plannedEndAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
996
+ sortOrder: z.ZodOptional<z.ZodNumber>;
997
+ remark: z.ZodOptional<z.ZodNullable<z.ZodString>>;
998
+ confirm: z.ZodOptional<z.ZodBoolean>;
999
+ }, "strict", z.ZodTypeAny, {
1000
+ title: string;
1001
+ itemId: string;
1002
+ ownerIds: string[];
1003
+ project?: string | undefined;
1004
+ confirm?: boolean | undefined;
1005
+ description?: string | null | undefined;
1006
+ projectKey?: string | undefined;
1007
+ remark?: string | null | undefined;
1008
+ plannedStartAt?: string | null | undefined;
1009
+ plannedEndAt?: string | null | undefined;
1010
+ sortOrder?: number | undefined;
1011
+ }, {
1012
+ title: string;
1013
+ itemId: string;
1014
+ ownerIds: string[];
1015
+ project?: string | undefined;
1016
+ confirm?: boolean | undefined;
1017
+ description?: string | null | undefined;
1018
+ projectKey?: string | undefined;
1019
+ remark?: string | null | undefined;
1020
+ plannedStartAt?: string | null | undefined;
1021
+ plannedEndAt?: string | null | undefined;
1022
+ sortOrder?: number | undefined;
1023
+ }>;
1024
+ export declare const rdUpdateProgressSchema: z.ZodObject<{
1025
+ project: z.ZodOptional<z.ZodString>;
1026
+ projectKey: z.ZodOptional<z.ZodString>;
1027
+ } & {
1028
+ itemId: z.ZodString;
1029
+ progress: z.ZodNumber;
1030
+ note: z.ZodOptional<z.ZodString>;
1031
+ blockReason: z.ZodOptional<z.ZodString>;
1032
+ resolveBlockId: z.ZodOptional<z.ZodString>;
1033
+ stageTaskId: z.ZodOptional<z.ZodString>;
1034
+ confirm: z.ZodOptional<z.ZodBoolean>;
1035
+ }, "strict", z.ZodTypeAny, {
1036
+ itemId: string;
1037
+ progress: number;
1038
+ project?: string | undefined;
1039
+ confirm?: boolean | undefined;
1040
+ projectKey?: string | undefined;
1041
+ note?: string | undefined;
1042
+ blockReason?: string | undefined;
1043
+ resolveBlockId?: string | undefined;
1044
+ stageTaskId?: string | undefined;
1045
+ }, {
1046
+ itemId: string;
1047
+ progress: number;
1048
+ project?: string | undefined;
1049
+ confirm?: boolean | undefined;
1050
+ projectKey?: string | undefined;
1051
+ note?: string | undefined;
1052
+ blockReason?: string | undefined;
1053
+ resolveBlockId?: string | undefined;
1054
+ stageTaskId?: string | undefined;
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
+ }>;