huly-mcp-selfhost 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -3
- package/dist/connection.js +1 -1
- package/dist/index.js +0 -0
- package/dist/schemas.d.ts +121 -433
- package/dist/schemas.js +36 -1
- package/dist/schemas.js.map +1 -1
- package/dist/server.js +6 -1
- package/dist/server.js.map +1 -1
- package/dist/tools/channels.d.ts +2 -2
- package/dist/tools/comments.d.ts +1 -1
- package/dist/tools/components.d.ts +25 -1
- package/dist/tools/components.js +70 -2
- package/dist/tools/components.js.map +1 -1
- package/dist/tools/documents.d.ts +1 -1
- package/dist/tools/issues.d.ts +2 -2
- package/dist/tools/milestones.d.ts +36 -1
- package/dist/tools/milestones.js +102 -10
- package/dist/tools/milestones.js.map +1 -1
- package/dist/tools/organizations.d.ts +1 -1
- package/dist/tools/projects.d.ts +1 -1
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/workspaces.d.ts +1 -1
- package/dist/utils/format.d.ts +2 -0
- package/dist/utils/format.js +35 -0
- package/dist/utils/format.js.map +1 -1
- package/package.json +7 -4
package/dist/schemas.d.ts
CHANGED
|
@@ -1,619 +1,307 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ListWorkspacesSchema: z.ZodObject<{},
|
|
2
|
+
export declare const ListWorkspacesSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3
3
|
export declare const ListProjectsSchema: z.ZodObject<{
|
|
4
4
|
workspace: z.ZodOptional<z.ZodString>;
|
|
5
|
-
},
|
|
6
|
-
workspace?: string | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
workspace?: string | undefined;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export declare const ListMembersSchema: z.ZodObject<{
|
|
11
7
|
workspace: z.ZodOptional<z.ZodString>;
|
|
12
|
-
},
|
|
13
|
-
workspace?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
workspace?: string | undefined;
|
|
16
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
17
9
|
export declare const ListTeamspacesSchema: z.ZodObject<{
|
|
18
10
|
workspace: z.ZodOptional<z.ZodString>;
|
|
19
|
-
},
|
|
20
|
-
workspace?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
workspace?: string | undefined;
|
|
23
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
24
12
|
export declare const GetProjectSchema: z.ZodObject<{
|
|
25
13
|
workspace: z.ZodOptional<z.ZodString>;
|
|
26
14
|
identifier: z.ZodString;
|
|
27
|
-
},
|
|
28
|
-
identifier: string;
|
|
29
|
-
workspace?: string | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
identifier: string;
|
|
32
|
-
workspace?: string | undefined;
|
|
33
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
34
16
|
export declare const ListIssuesSchema: z.ZodObject<{
|
|
35
17
|
workspace: z.ZodOptional<z.ZodString>;
|
|
36
18
|
projectIdentifier: z.ZodString;
|
|
37
19
|
status: z.ZodOptional<z.ZodString>;
|
|
38
|
-
priority: z.ZodOptional<z.ZodEnum<
|
|
20
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
Medium: "Medium";
|
|
22
|
+
NoPriority: "NoPriority";
|
|
23
|
+
Urgent: "Urgent";
|
|
24
|
+
High: "High";
|
|
25
|
+
Low: "Low";
|
|
26
|
+
}>>;
|
|
39
27
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
40
|
-
},
|
|
41
|
-
projectIdentifier: string;
|
|
42
|
-
limit: number;
|
|
43
|
-
workspace?: string | undefined;
|
|
44
|
-
status?: string | undefined;
|
|
45
|
-
priority?: "Medium" | "NoPriority" | "Urgent" | "High" | "Low" | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
projectIdentifier: string;
|
|
48
|
-
workspace?: string | undefined;
|
|
49
|
-
status?: string | undefined;
|
|
50
|
-
priority?: "Medium" | "NoPriority" | "Urgent" | "High" | "Low" | undefined;
|
|
51
|
-
limit?: number | undefined;
|
|
52
|
-
}>;
|
|
28
|
+
}, z.core.$strip>;
|
|
53
29
|
export declare const GetIssueSchema: z.ZodObject<{
|
|
54
30
|
workspace: z.ZodOptional<z.ZodString>;
|
|
55
31
|
identifier: z.ZodString;
|
|
56
|
-
},
|
|
57
|
-
identifier: string;
|
|
58
|
-
workspace?: string | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
identifier: string;
|
|
61
|
-
workspace?: string | undefined;
|
|
62
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
63
33
|
export declare const CreateIssueSchema: z.ZodObject<{
|
|
64
34
|
workspace: z.ZodString;
|
|
65
35
|
projectIdentifier: z.ZodString;
|
|
66
36
|
title: z.ZodString;
|
|
67
37
|
description: z.ZodOptional<z.ZodString>;
|
|
68
|
-
priority: z.ZodDefault<z.ZodEnum<
|
|
38
|
+
priority: z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
Medium: "Medium";
|
|
40
|
+
NoPriority: "NoPriority";
|
|
41
|
+
Urgent: "Urgent";
|
|
42
|
+
High: "High";
|
|
43
|
+
Low: "Low";
|
|
44
|
+
}>>;
|
|
69
45
|
statusName: z.ZodOptional<z.ZodString>;
|
|
70
46
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
71
|
-
},
|
|
72
|
-
workspace: string;
|
|
73
|
-
title: string;
|
|
74
|
-
projectIdentifier: string;
|
|
75
|
-
priority: "Medium" | "NoPriority" | "Urgent" | "High" | "Low";
|
|
76
|
-
description?: string | undefined;
|
|
77
|
-
statusName?: string | undefined;
|
|
78
|
-
dueDate?: string | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
workspace: string;
|
|
81
|
-
title: string;
|
|
82
|
-
projectIdentifier: string;
|
|
83
|
-
priority?: "Medium" | "NoPriority" | "Urgent" | "High" | "Low" | undefined;
|
|
84
|
-
description?: string | undefined;
|
|
85
|
-
statusName?: string | undefined;
|
|
86
|
-
dueDate?: string | undefined;
|
|
87
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
88
48
|
export declare const DeleteIssueSchema: z.ZodObject<{
|
|
89
49
|
workspace: z.ZodString;
|
|
90
50
|
identifier: z.ZodString;
|
|
91
|
-
},
|
|
92
|
-
workspace: string;
|
|
93
|
-
identifier: string;
|
|
94
|
-
}, {
|
|
95
|
-
workspace: string;
|
|
96
|
-
identifier: string;
|
|
97
|
-
}>;
|
|
51
|
+
}, z.core.$strip>;
|
|
98
52
|
export declare const UpdateIssueSchema: z.ZodObject<{
|
|
99
53
|
workspace: z.ZodString;
|
|
100
54
|
identifier: z.ZodString;
|
|
101
55
|
title: z.ZodOptional<z.ZodString>;
|
|
102
56
|
description: z.ZodOptional<z.ZodString>;
|
|
103
57
|
statusName: z.ZodOptional<z.ZodString>;
|
|
104
|
-
priority: z.ZodOptional<z.ZodEnum<
|
|
58
|
+
priority: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
Medium: "Medium";
|
|
60
|
+
NoPriority: "NoPriority";
|
|
61
|
+
Urgent: "Urgent";
|
|
62
|
+
High: "High";
|
|
63
|
+
Low: "Low";
|
|
64
|
+
}>>;
|
|
105
65
|
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
66
|
assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
67
|
componentLabel: z.ZodOptional<z.ZodString>;
|
|
108
68
|
milestoneLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
-
},
|
|
110
|
-
workspace: string;
|
|
111
|
-
identifier: string;
|
|
112
|
-
title?: string | undefined;
|
|
113
|
-
priority?: "Medium" | "NoPriority" | "Urgent" | "High" | "Low" | undefined;
|
|
114
|
-
description?: string | undefined;
|
|
115
|
-
statusName?: string | undefined;
|
|
116
|
-
dueDate?: string | null | undefined;
|
|
117
|
-
assignee?: string | null | undefined;
|
|
118
|
-
componentLabel?: string | undefined;
|
|
119
|
-
milestoneLabel?: string | null | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
workspace: string;
|
|
122
|
-
identifier: string;
|
|
123
|
-
title?: string | undefined;
|
|
124
|
-
priority?: "Medium" | "NoPriority" | "Urgent" | "High" | "Low" | undefined;
|
|
125
|
-
description?: string | undefined;
|
|
126
|
-
statusName?: string | undefined;
|
|
127
|
-
dueDate?: string | null | undefined;
|
|
128
|
-
assignee?: string | null | undefined;
|
|
129
|
-
componentLabel?: string | undefined;
|
|
130
|
-
milestoneLabel?: string | null | undefined;
|
|
131
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
132
70
|
export declare const AddCommentSchema: z.ZodObject<{
|
|
133
71
|
workspace: z.ZodString;
|
|
134
72
|
identifier: z.ZodString;
|
|
135
73
|
message: z.ZodString;
|
|
136
|
-
},
|
|
137
|
-
workspace: string;
|
|
138
|
-
message: string;
|
|
139
|
-
identifier: string;
|
|
140
|
-
}, {
|
|
141
|
-
workspace: string;
|
|
142
|
-
message: string;
|
|
143
|
-
identifier: string;
|
|
144
|
-
}>;
|
|
74
|
+
}, z.core.$strip>;
|
|
145
75
|
export declare const ListMilestonesSchema: z.ZodObject<{
|
|
146
76
|
workspace: z.ZodOptional<z.ZodString>;
|
|
147
77
|
projectIdentifier: z.ZodString;
|
|
148
|
-
},
|
|
149
|
-
projectIdentifier: string;
|
|
150
|
-
workspace?: string | undefined;
|
|
151
|
-
}, {
|
|
152
|
-
projectIdentifier: string;
|
|
153
|
-
workspace?: string | undefined;
|
|
154
|
-
}>;
|
|
78
|
+
}, z.core.$strip>;
|
|
155
79
|
export declare const CreateMilestoneSchema: z.ZodObject<{
|
|
156
80
|
workspace: z.ZodString;
|
|
157
81
|
projectIdentifier: z.ZodString;
|
|
158
82
|
label: z.ZodString;
|
|
159
83
|
targetDate: z.ZodString;
|
|
160
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
workspace:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
84
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
85
|
+
Planned: "Planned";
|
|
86
|
+
InProgress: "InProgress";
|
|
87
|
+
Completed: "Completed";
|
|
88
|
+
Canceled: "Canceled";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export declare const GetMilestoneSchema: z.ZodObject<{
|
|
92
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
93
|
+
projectIdentifier: z.ZodString;
|
|
94
|
+
label: z.ZodString;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export declare const UpdateMilestoneSchema: z.ZodObject<{
|
|
97
|
+
workspace: z.ZodString;
|
|
98
|
+
projectIdentifier: z.ZodString;
|
|
99
|
+
label: z.ZodString;
|
|
100
|
+
newLabel: z.ZodOptional<z.ZodString>;
|
|
101
|
+
targetDate: z.ZodOptional<z.ZodString>;
|
|
102
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
Planned: "Planned";
|
|
104
|
+
InProgress: "InProgress";
|
|
105
|
+
Completed: "Completed";
|
|
106
|
+
Canceled: "Canceled";
|
|
107
|
+
}>>;
|
|
108
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
export declare const DeleteMilestoneSchema: z.ZodObject<{
|
|
111
|
+
workspace: z.ZodString;
|
|
112
|
+
projectIdentifier: z.ZodString;
|
|
113
|
+
label: z.ZodString;
|
|
114
|
+
moveIssuesTo: z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, z.core.$strip>;
|
|
174
116
|
export declare const ListComponentsSchema: z.ZodObject<{
|
|
175
117
|
workspace: z.ZodOptional<z.ZodString>;
|
|
176
118
|
projectIdentifier: z.ZodString;
|
|
177
|
-
},
|
|
178
|
-
projectIdentifier: string;
|
|
179
|
-
workspace?: string | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
projectIdentifier: string;
|
|
182
|
-
workspace?: string | undefined;
|
|
183
|
-
}>;
|
|
119
|
+
}, z.core.$strip>;
|
|
184
120
|
export declare const CreateComponentSchema: z.ZodObject<{
|
|
185
121
|
workspace: z.ZodString;
|
|
186
122
|
projectIdentifier: z.ZodString;
|
|
187
123
|
label: z.ZodString;
|
|
188
124
|
description: z.ZodOptional<z.ZodString>;
|
|
189
125
|
lead: z.ZodOptional<z.ZodString>;
|
|
190
|
-
},
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
projectIdentifier:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
export declare const UpdateComponentSchema: z.ZodObject<{
|
|
128
|
+
workspace: z.ZodString;
|
|
129
|
+
projectIdentifier: z.ZodString;
|
|
130
|
+
label: z.ZodString;
|
|
131
|
+
newLabel: z.ZodOptional<z.ZodString>;
|
|
132
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
lead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
export declare const DeleteComponentSchema: z.ZodObject<{
|
|
136
|
+
workspace: z.ZodString;
|
|
137
|
+
projectIdentifier: z.ZodString;
|
|
138
|
+
label: z.ZodString;
|
|
139
|
+
moveIssuesTo: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, z.core.$strip>;
|
|
203
141
|
export declare const CreateProjectSchema: z.ZodObject<{
|
|
204
142
|
workspace: z.ZodString;
|
|
205
143
|
name: z.ZodString;
|
|
206
144
|
identifier: z.ZodString;
|
|
207
145
|
description: z.ZodOptional<z.ZodString>;
|
|
208
|
-
},
|
|
209
|
-
workspace: string;
|
|
210
|
-
identifier: string;
|
|
211
|
-
name: string;
|
|
212
|
-
description?: string | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
workspace: string;
|
|
215
|
-
identifier: string;
|
|
216
|
-
name: string;
|
|
217
|
-
description?: string | undefined;
|
|
218
|
-
}>;
|
|
146
|
+
}, z.core.$strip>;
|
|
219
147
|
export declare const DeleteDocumentSchema: z.ZodObject<{
|
|
220
148
|
workspace: z.ZodString;
|
|
221
149
|
documentId: z.ZodString;
|
|
222
|
-
},
|
|
223
|
-
workspace: string;
|
|
224
|
-
documentId: string;
|
|
225
|
-
}, {
|
|
226
|
-
workspace: string;
|
|
227
|
-
documentId: string;
|
|
228
|
-
}>;
|
|
150
|
+
}, z.core.$strip>;
|
|
229
151
|
export declare const CreateTeamspaceSchema: z.ZodObject<{
|
|
230
152
|
workspace: z.ZodString;
|
|
231
153
|
name: z.ZodString;
|
|
232
154
|
description: z.ZodOptional<z.ZodString>;
|
|
233
155
|
isPrivate: z.ZodDefault<z.ZodBoolean>;
|
|
234
|
-
},
|
|
235
|
-
workspace: string;
|
|
236
|
-
name: string;
|
|
237
|
-
isPrivate: boolean;
|
|
238
|
-
description?: string | undefined;
|
|
239
|
-
}, {
|
|
240
|
-
workspace: string;
|
|
241
|
-
name: string;
|
|
242
|
-
description?: string | undefined;
|
|
243
|
-
isPrivate?: boolean | undefined;
|
|
244
|
-
}>;
|
|
156
|
+
}, z.core.$strip>;
|
|
245
157
|
export declare const ListDocumentsSchema: z.ZodObject<{
|
|
246
158
|
workspace: z.ZodOptional<z.ZodString>;
|
|
247
159
|
teamspaceId: z.ZodString;
|
|
248
|
-
},
|
|
249
|
-
teamspaceId: string;
|
|
250
|
-
workspace?: string | undefined;
|
|
251
|
-
}, {
|
|
252
|
-
teamspaceId: string;
|
|
253
|
-
workspace?: string | undefined;
|
|
254
|
-
}>;
|
|
160
|
+
}, z.core.$strip>;
|
|
255
161
|
export declare const GetDocumentSchema: z.ZodObject<{
|
|
256
162
|
workspace: z.ZodOptional<z.ZodString>;
|
|
257
163
|
documentId: z.ZodString;
|
|
258
|
-
},
|
|
259
|
-
documentId: string;
|
|
260
|
-
workspace?: string | undefined;
|
|
261
|
-
}, {
|
|
262
|
-
documentId: string;
|
|
263
|
-
workspace?: string | undefined;
|
|
264
|
-
}>;
|
|
164
|
+
}, z.core.$strip>;
|
|
265
165
|
export declare const CreateDocumentSchema: z.ZodObject<{
|
|
266
166
|
workspace: z.ZodString;
|
|
267
167
|
teamspaceId: z.ZodString;
|
|
268
168
|
title: z.ZodString;
|
|
269
169
|
parentId: z.ZodOptional<z.ZodString>;
|
|
270
|
-
},
|
|
271
|
-
workspace: string;
|
|
272
|
-
title: string;
|
|
273
|
-
teamspaceId: string;
|
|
274
|
-
parentId?: string | undefined;
|
|
275
|
-
}, {
|
|
276
|
-
workspace: string;
|
|
277
|
-
title: string;
|
|
278
|
-
teamspaceId: string;
|
|
279
|
-
parentId?: string | undefined;
|
|
280
|
-
}>;
|
|
170
|
+
}, z.core.$strip>;
|
|
281
171
|
export declare const SearchIssuesSchema: z.ZodObject<{
|
|
282
172
|
workspace: z.ZodOptional<z.ZodString>;
|
|
283
173
|
query: z.ZodString;
|
|
284
174
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
285
|
-
},
|
|
286
|
-
limit: number;
|
|
287
|
-
query: string;
|
|
288
|
-
workspace?: string | undefined;
|
|
289
|
-
}, {
|
|
290
|
-
query: string;
|
|
291
|
-
workspace?: string | undefined;
|
|
292
|
-
limit?: number | undefined;
|
|
293
|
-
}>;
|
|
175
|
+
}, z.core.$strip>;
|
|
294
176
|
export declare const ListLabelsSchema: z.ZodObject<{
|
|
295
177
|
workspace: z.ZodOptional<z.ZodString>;
|
|
296
178
|
projectIdentifier: z.ZodOptional<z.ZodString>;
|
|
297
|
-
},
|
|
298
|
-
workspace?: string | undefined;
|
|
299
|
-
projectIdentifier?: string | undefined;
|
|
300
|
-
}, {
|
|
301
|
-
workspace?: string | undefined;
|
|
302
|
-
projectIdentifier?: string | undefined;
|
|
303
|
-
}>;
|
|
179
|
+
}, z.core.$strip>;
|
|
304
180
|
export declare const CreateLabelSchema: z.ZodObject<{
|
|
305
181
|
workspace: z.ZodString;
|
|
306
182
|
title: z.ZodString;
|
|
307
183
|
color: z.ZodOptional<z.ZodString>;
|
|
308
|
-
},
|
|
309
|
-
workspace: string;
|
|
310
|
-
title: string;
|
|
311
|
-
color?: string | undefined;
|
|
312
|
-
}, {
|
|
313
|
-
workspace: string;
|
|
314
|
-
title: string;
|
|
315
|
-
color?: string | undefined;
|
|
316
|
-
}>;
|
|
184
|
+
}, z.core.$strip>;
|
|
317
185
|
export declare const AddLabelSchema: z.ZodObject<{
|
|
318
186
|
workspace: z.ZodString;
|
|
319
187
|
identifier: z.ZodString;
|
|
320
188
|
labelName: z.ZodString;
|
|
321
|
-
},
|
|
322
|
-
workspace: string;
|
|
323
|
-
identifier: string;
|
|
324
|
-
labelName: string;
|
|
325
|
-
}, {
|
|
326
|
-
workspace: string;
|
|
327
|
-
identifier: string;
|
|
328
|
-
labelName: string;
|
|
329
|
-
}>;
|
|
189
|
+
}, z.core.$strip>;
|
|
330
190
|
export declare const RemoveLabelSchema: z.ZodObject<{
|
|
331
191
|
workspace: z.ZodString;
|
|
332
192
|
identifier: z.ZodString;
|
|
333
193
|
labelName: z.ZodString;
|
|
334
|
-
},
|
|
335
|
-
workspace: string;
|
|
336
|
-
identifier: string;
|
|
337
|
-
labelName: string;
|
|
338
|
-
}, {
|
|
339
|
-
workspace: string;
|
|
340
|
-
identifier: string;
|
|
341
|
-
labelName: string;
|
|
342
|
-
}>;
|
|
194
|
+
}, z.core.$strip>;
|
|
343
195
|
export declare const AddRelationSchema: z.ZodObject<{
|
|
344
196
|
workspace: z.ZodString;
|
|
345
197
|
identifier: z.ZodString;
|
|
346
198
|
relatedTo: z.ZodString;
|
|
347
|
-
},
|
|
348
|
-
workspace: string;
|
|
349
|
-
identifier: string;
|
|
350
|
-
relatedTo: string;
|
|
351
|
-
}, {
|
|
352
|
-
workspace: string;
|
|
353
|
-
identifier: string;
|
|
354
|
-
relatedTo: string;
|
|
355
|
-
}>;
|
|
199
|
+
}, z.core.$strip>;
|
|
356
200
|
export declare const AddBlockedBySchema: z.ZodObject<{
|
|
357
201
|
workspace: z.ZodString;
|
|
358
202
|
identifier: z.ZodString;
|
|
359
203
|
blockedBy: z.ZodString;
|
|
360
|
-
},
|
|
361
|
-
workspace: string;
|
|
362
|
-
identifier: string;
|
|
363
|
-
blockedBy: string;
|
|
364
|
-
}, {
|
|
365
|
-
workspace: string;
|
|
366
|
-
identifier: string;
|
|
367
|
-
blockedBy: string;
|
|
368
|
-
}>;
|
|
204
|
+
}, z.core.$strip>;
|
|
369
205
|
export declare const SetParentSchema: z.ZodObject<{
|
|
370
206
|
workspace: z.ZodString;
|
|
371
207
|
identifier: z.ZodString;
|
|
372
208
|
parentIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
373
|
-
},
|
|
374
|
-
workspace: string;
|
|
375
|
-
identifier: string;
|
|
376
|
-
parentIdentifier?: string | null | undefined;
|
|
377
|
-
}, {
|
|
378
|
-
workspace: string;
|
|
379
|
-
identifier: string;
|
|
380
|
-
parentIdentifier?: string | null | undefined;
|
|
381
|
-
}>;
|
|
209
|
+
}, z.core.$strip>;
|
|
382
210
|
export declare const ListCommentsSchema: z.ZodObject<{
|
|
383
211
|
workspace: z.ZodOptional<z.ZodString>;
|
|
384
212
|
identifier: z.ZodString;
|
|
385
213
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
386
|
-
},
|
|
387
|
-
identifier: string;
|
|
388
|
-
limit: number;
|
|
389
|
-
workspace?: string | undefined;
|
|
390
|
-
}, {
|
|
391
|
-
identifier: string;
|
|
392
|
-
workspace?: string | undefined;
|
|
393
|
-
limit?: number | undefined;
|
|
394
|
-
}>;
|
|
214
|
+
}, z.core.$strip>;
|
|
395
215
|
export declare const LogTimeSchema: z.ZodObject<{
|
|
396
216
|
workspace: z.ZodString;
|
|
397
217
|
identifier: z.ZodString;
|
|
398
218
|
hours: z.ZodNumber;
|
|
399
219
|
description: z.ZodOptional<z.ZodString>;
|
|
400
|
-
},
|
|
401
|
-
workspace: string;
|
|
402
|
-
identifier: string;
|
|
403
|
-
hours: number;
|
|
404
|
-
description?: string | undefined;
|
|
405
|
-
}, {
|
|
406
|
-
workspace: string;
|
|
407
|
-
identifier: string;
|
|
408
|
-
hours: number;
|
|
409
|
-
description?: string | undefined;
|
|
410
|
-
}>;
|
|
220
|
+
}, z.core.$strip>;
|
|
411
221
|
export declare const UpdateDocumentSchema: z.ZodObject<{
|
|
412
222
|
workspace: z.ZodString;
|
|
413
223
|
documentId: z.ZodString;
|
|
414
224
|
markdown: z.ZodString;
|
|
415
|
-
},
|
|
416
|
-
workspace: string;
|
|
417
|
-
documentId: string;
|
|
418
|
-
markdown: string;
|
|
419
|
-
}, {
|
|
420
|
-
workspace: string;
|
|
421
|
-
documentId: string;
|
|
422
|
-
markdown: string;
|
|
423
|
-
}>;
|
|
225
|
+
}, z.core.$strip>;
|
|
424
226
|
export declare const DeleteCommentSchema: z.ZodObject<{
|
|
425
227
|
workspace: z.ZodString;
|
|
426
228
|
identifier: z.ZodString;
|
|
427
229
|
commentId: z.ZodString;
|
|
428
|
-
},
|
|
429
|
-
workspace: string;
|
|
430
|
-
identifier: string;
|
|
431
|
-
commentId: string;
|
|
432
|
-
}, {
|
|
433
|
-
workspace: string;
|
|
434
|
-
identifier: string;
|
|
435
|
-
commentId: string;
|
|
436
|
-
}>;
|
|
230
|
+
}, z.core.$strip>;
|
|
437
231
|
export declare const LinkDocumentSchema: z.ZodObject<{
|
|
438
232
|
workspace: z.ZodString;
|
|
439
233
|
identifier: z.ZodString;
|
|
440
234
|
documentId: z.ZodString;
|
|
441
|
-
},
|
|
442
|
-
workspace: string;
|
|
443
|
-
identifier: string;
|
|
444
|
-
documentId: string;
|
|
445
|
-
}, {
|
|
446
|
-
workspace: string;
|
|
447
|
-
identifier: string;
|
|
448
|
-
documentId: string;
|
|
449
|
-
}>;
|
|
235
|
+
}, z.core.$strip>;
|
|
450
236
|
export declare const ListChannelsSchema: z.ZodObject<{
|
|
451
237
|
workspace: z.ZodOptional<z.ZodString>;
|
|
452
238
|
includeArchived: z.ZodDefault<z.ZodBoolean>;
|
|
453
|
-
},
|
|
454
|
-
includeArchived: boolean;
|
|
455
|
-
workspace?: string | undefined;
|
|
456
|
-
}, {
|
|
457
|
-
workspace?: string | undefined;
|
|
458
|
-
includeArchived?: boolean | undefined;
|
|
459
|
-
}>;
|
|
239
|
+
}, z.core.$strip>;
|
|
460
240
|
export declare const CreateChannelSchema: z.ZodObject<{
|
|
461
241
|
workspace: z.ZodString;
|
|
462
242
|
name: z.ZodString;
|
|
463
243
|
topic: z.ZodOptional<z.ZodString>;
|
|
464
244
|
isPrivate: z.ZodDefault<z.ZodBoolean>;
|
|
465
|
-
},
|
|
466
|
-
workspace: string;
|
|
467
|
-
name: string;
|
|
468
|
-
isPrivate: boolean;
|
|
469
|
-
topic?: string | undefined;
|
|
470
|
-
}, {
|
|
471
|
-
workspace: string;
|
|
472
|
-
name: string;
|
|
473
|
-
isPrivate?: boolean | undefined;
|
|
474
|
-
topic?: string | undefined;
|
|
475
|
-
}>;
|
|
245
|
+
}, z.core.$strip>;
|
|
476
246
|
export declare const StartDirectMessageSchema: z.ZodObject<{
|
|
477
247
|
workspace: z.ZodString;
|
|
478
248
|
member: z.ZodString;
|
|
479
|
-
},
|
|
480
|
-
workspace: string;
|
|
481
|
-
member: string;
|
|
482
|
-
}, {
|
|
483
|
-
workspace: string;
|
|
484
|
-
member: string;
|
|
485
|
-
}>;
|
|
249
|
+
}, z.core.$strip>;
|
|
486
250
|
export declare const SendMessageSchema: z.ZodObject<{
|
|
487
251
|
workspace: z.ZodString;
|
|
488
252
|
spaceId: z.ZodString;
|
|
489
253
|
message: z.ZodString;
|
|
490
|
-
},
|
|
491
|
-
workspace: string;
|
|
492
|
-
message: string;
|
|
493
|
-
spaceId: string;
|
|
494
|
-
}, {
|
|
495
|
-
workspace: string;
|
|
496
|
-
message: string;
|
|
497
|
-
spaceId: string;
|
|
498
|
-
}>;
|
|
254
|
+
}, z.core.$strip>;
|
|
499
255
|
export declare const ListMessagesSchema: z.ZodObject<{
|
|
500
256
|
workspace: z.ZodOptional<z.ZodString>;
|
|
501
257
|
spaceId: z.ZodString;
|
|
502
258
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
503
|
-
},
|
|
504
|
-
limit: number;
|
|
505
|
-
spaceId: string;
|
|
506
|
-
workspace?: string | undefined;
|
|
507
|
-
}, {
|
|
508
|
-
spaceId: string;
|
|
509
|
-
workspace?: string | undefined;
|
|
510
|
-
limit?: number | undefined;
|
|
511
|
-
}>;
|
|
259
|
+
}, z.core.$strip>;
|
|
512
260
|
export declare const AttachFileSchema: z.ZodObject<{
|
|
513
261
|
workspace: z.ZodString;
|
|
514
262
|
identifier: z.ZodString;
|
|
515
263
|
filename: z.ZodString;
|
|
516
264
|
contentBase64: z.ZodString;
|
|
517
265
|
mimeType: z.ZodDefault<z.ZodString>;
|
|
518
|
-
},
|
|
519
|
-
workspace: string;
|
|
520
|
-
identifier: string;
|
|
521
|
-
filename: string;
|
|
522
|
-
contentBase64: string;
|
|
523
|
-
mimeType: string;
|
|
524
|
-
}, {
|
|
525
|
-
workspace: string;
|
|
526
|
-
identifier: string;
|
|
527
|
-
filename: string;
|
|
528
|
-
contentBase64: string;
|
|
529
|
-
mimeType?: string | undefined;
|
|
530
|
-
}>;
|
|
266
|
+
}, z.core.$strip>;
|
|
531
267
|
export declare const ListAttachmentsSchema: z.ZodObject<{
|
|
532
268
|
workspace: z.ZodOptional<z.ZodString>;
|
|
533
269
|
identifier: z.ZodString;
|
|
534
|
-
},
|
|
535
|
-
identifier: string;
|
|
536
|
-
workspace?: string | undefined;
|
|
537
|
-
}, {
|
|
538
|
-
identifier: string;
|
|
539
|
-
workspace?: string | undefined;
|
|
540
|
-
}>;
|
|
270
|
+
}, z.core.$strip>;
|
|
541
271
|
export declare const DeleteAttachmentSchema: z.ZodObject<{
|
|
542
272
|
workspace: z.ZodString;
|
|
543
273
|
identifier: z.ZodString;
|
|
544
274
|
attachmentId: z.ZodString;
|
|
545
|
-
},
|
|
546
|
-
workspace: string;
|
|
547
|
-
identifier: string;
|
|
548
|
-
attachmentId: string;
|
|
549
|
-
}, {
|
|
550
|
-
workspace: string;
|
|
551
|
-
identifier: string;
|
|
552
|
-
attachmentId: string;
|
|
553
|
-
}>;
|
|
275
|
+
}, z.core.$strip>;
|
|
554
276
|
export declare const ListIssueStatusesSchema: z.ZodObject<{
|
|
555
277
|
workspace: z.ZodOptional<z.ZodString>;
|
|
556
|
-
},
|
|
557
|
-
workspace?: string | undefined;
|
|
558
|
-
}, {
|
|
559
|
-
workspace?: string | undefined;
|
|
560
|
-
}>;
|
|
278
|
+
}, z.core.$strip>;
|
|
561
279
|
export declare const CreateIssueStatusSchema: z.ZodObject<{
|
|
562
280
|
workspace: z.ZodString;
|
|
563
281
|
name: z.ZodString;
|
|
564
|
-
category: z.ZodEnum<
|
|
282
|
+
category: z.ZodEnum<{
|
|
283
|
+
InProgress: "InProgress";
|
|
284
|
+
Backlog: "Backlog";
|
|
285
|
+
Todo: "Todo";
|
|
286
|
+
Done: "Done";
|
|
287
|
+
Cancelled: "Cancelled";
|
|
288
|
+
}>;
|
|
565
289
|
color: z.ZodOptional<z.ZodString>;
|
|
566
|
-
},
|
|
567
|
-
workspace: string;
|
|
568
|
-
name: string;
|
|
569
|
-
category: "InProgress" | "Backlog" | "Todo" | "Done" | "Cancelled";
|
|
570
|
-
color?: string | undefined;
|
|
571
|
-
}, {
|
|
572
|
-
workspace: string;
|
|
573
|
-
name: string;
|
|
574
|
-
category: "InProgress" | "Backlog" | "Todo" | "Done" | "Cancelled";
|
|
575
|
-
color?: string | undefined;
|
|
576
|
-
}>;
|
|
290
|
+
}, z.core.$strip>;
|
|
577
291
|
export declare const ListOrganizationsSchema: z.ZodObject<{
|
|
578
292
|
workspace: z.ZodOptional<z.ZodString>;
|
|
579
|
-
},
|
|
580
|
-
workspace?: string | undefined;
|
|
581
|
-
}, {
|
|
582
|
-
workspace?: string | undefined;
|
|
583
|
-
}>;
|
|
293
|
+
}, z.core.$strip>;
|
|
584
294
|
export declare const GetOrganizationSchema: z.ZodObject<{
|
|
585
295
|
workspace: z.ZodOptional<z.ZodString>;
|
|
586
296
|
organizationId: z.ZodString;
|
|
587
|
-
},
|
|
588
|
-
organizationId: string;
|
|
589
|
-
workspace?: string | undefined;
|
|
590
|
-
}, {
|
|
591
|
-
organizationId: string;
|
|
592
|
-
workspace?: string | undefined;
|
|
593
|
-
}>;
|
|
297
|
+
}, z.core.$strip>;
|
|
594
298
|
export declare const CreateOrganizationSchema: z.ZodObject<{
|
|
595
299
|
workspace: z.ZodString;
|
|
596
300
|
name: z.ZodString;
|
|
597
301
|
city: z.ZodOptional<z.ZodString>;
|
|
598
|
-
},
|
|
599
|
-
workspace: string;
|
|
600
|
-
name: string;
|
|
601
|
-
city?: string | undefined;
|
|
602
|
-
}, {
|
|
603
|
-
workspace: string;
|
|
604
|
-
name: string;
|
|
605
|
-
city?: string | undefined;
|
|
606
|
-
}>;
|
|
302
|
+
}, z.core.$strip>;
|
|
607
303
|
export declare const UpdateOrganizationSchema: z.ZodObject<{
|
|
608
304
|
workspace: z.ZodString;
|
|
609
305
|
organizationId: z.ZodString;
|
|
610
306
|
description: z.ZodString;
|
|
611
|
-
},
|
|
612
|
-
workspace: string;
|
|
613
|
-
description: string;
|
|
614
|
-
organizationId: string;
|
|
615
|
-
}, {
|
|
616
|
-
workspace: string;
|
|
617
|
-
description: string;
|
|
618
|
-
organizationId: string;
|
|
619
|
-
}>;
|
|
307
|
+
}, z.core.$strip>;
|