@taskless-app/shared 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +24 -0
  2. package/dist/branding.d.ts +32 -0
  3. package/dist/branding.js +28 -0
  4. package/dist/branding.js.map +1 -0
  5. package/dist/chatMessageKinds.d.ts +2 -0
  6. package/dist/chatMessageKinds.js +10 -0
  7. package/dist/chatMessageKinds.js.map +1 -0
  8. package/dist/designTokens.d.ts +190 -0
  9. package/dist/designTokens.js +249 -0
  10. package/dist/designTokens.js.map +1 -0
  11. package/dist/domain.d.ts +2 -0
  12. package/dist/domain.js +8 -0
  13. package/dist/domain.js.map +1 -0
  14. package/dist/finishChip.d.ts +18 -0
  15. package/dist/finishChip.js +95 -0
  16. package/dist/finishChip.js.map +1 -0
  17. package/dist/gender.d.ts +6 -0
  18. package/dist/gender.js +11 -0
  19. package/dist/gender.js.map +1 -0
  20. package/dist/index.d.ts +18 -0
  21. package/dist/index.js +19 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/labelColors.d.ts +3 -0
  24. package/dist/labelColors.js +33 -0
  25. package/dist/labelColors.js.map +1 -0
  26. package/dist/notifications.d.ts +36 -0
  27. package/dist/notifications.js +2 -0
  28. package/dist/notifications.js.map +1 -0
  29. package/dist/releaseSources.d.ts +20 -0
  30. package/dist/releaseSources.js +44 -0
  31. package/dist/releaseSources.js.map +1 -0
  32. package/dist/schemas.d.ts +1929 -0
  33. package/dist/schemas.js +655 -0
  34. package/dist/schemas.js.map +1 -0
  35. package/dist/sortWorkflowStates.d.ts +5 -0
  36. package/dist/sortWorkflowStates.js +18 -0
  37. package/dist/sortWorkflowStates.js.map +1 -0
  38. package/dist/statusIcons.d.ts +2 -0
  39. package/dist/statusIcons.js +40 -0
  40. package/dist/statusIcons.js.map +1 -0
  41. package/dist/translit.d.ts +11 -0
  42. package/dist/translit.js +41 -0
  43. package/dist/translit.js.map +1 -0
  44. package/dist/uiTour.d.ts +48 -0
  45. package/dist/uiTour.js +175 -0
  46. package/dist/uiTour.js.map +1 -0
  47. package/dist/userHandle.d.ts +14 -0
  48. package/dist/userHandle.js +25 -0
  49. package/dist/userHandle.js.map +1 -0
  50. package/dist/userHue.d.ts +1 -0
  51. package/dist/userHue.js +24 -0
  52. package/dist/userHue.js.map +1 -0
  53. package/dist/weight.d.ts +11 -0
  54. package/dist/weight.js +71 -0
  55. package/dist/weight.js.map +1 -0
  56. package/dist/workspaceBrand.d.ts +5 -0
  57. package/dist/workspaceBrand.js +39 -0
  58. package/dist/workspaceBrand.js.map +1 -0
  59. package/package.json +32 -0
@@ -0,0 +1,1929 @@
1
+ import { z } from "zod";
2
+ export declare const SignupInput: z.ZodObject<{
3
+ email: z.ZodString;
4
+ password: z.ZodString;
5
+ displayName: z.ZodString;
6
+ inviteToken: z.ZodOptional<z.ZodString>;
7
+ position: z.ZodOptional<z.ZodString>;
8
+ workRole: z.ZodOptional<z.ZodEnum<["lead", "product", "dev", "design", "qa", "other"]>>;
9
+ gender: z.ZodOptional<z.ZodEnum<["male", "female"]>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ email: string;
12
+ password: string;
13
+ displayName: string;
14
+ inviteToken?: string | undefined;
15
+ position?: string | undefined;
16
+ workRole?: "lead" | "product" | "dev" | "design" | "qa" | "other" | undefined;
17
+ gender?: "male" | "female" | undefined;
18
+ }, {
19
+ email: string;
20
+ password: string;
21
+ displayName: string;
22
+ inviteToken?: string | undefined;
23
+ position?: string | undefined;
24
+ workRole?: "lead" | "product" | "dev" | "design" | "qa" | "other" | undefined;
25
+ gender?: "male" | "female" | undefined;
26
+ }>;
27
+ export type SignupInput = z.infer<typeof SignupInput>;
28
+ export declare const LoginInput: z.ZodObject<{
29
+ email: z.ZodString;
30
+ password: z.ZodString;
31
+ }, "strip", z.ZodTypeAny, {
32
+ email: string;
33
+ password: string;
34
+ }, {
35
+ email: string;
36
+ password: string;
37
+ }>;
38
+ export type LoginInput = z.infer<typeof LoginInput>;
39
+ export declare const CreateWorkspaceInput: z.ZodObject<{
40
+ name: z.ZodString;
41
+ slug: z.ZodOptional<z.ZodString>;
42
+ avatarUrl: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ name: string;
45
+ slug?: string | undefined;
46
+ avatarUrl?: string | undefined;
47
+ }, {
48
+ name: string;
49
+ slug?: string | undefined;
50
+ avatarUrl?: string | undefined;
51
+ }>;
52
+ export type CreateWorkspaceInput = z.infer<typeof CreateWorkspaceInput>;
53
+ export declare const CreateInviteInput: z.ZodObject<{
54
+ email: z.ZodString;
55
+ role: z.ZodEnum<["admin", "member"]>;
56
+ workRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<["lead", "product", "dev", "design", "qa", "other"]>>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ email: string;
59
+ role: "admin" | "member";
60
+ workRole?: "lead" | "product" | "dev" | "design" | "qa" | "other" | null | undefined;
61
+ }, {
62
+ email: string;
63
+ role: "admin" | "member";
64
+ workRole?: "lead" | "product" | "dev" | "design" | "qa" | "other" | null | undefined;
65
+ }>;
66
+ export type CreateInviteInput = z.infer<typeof CreateInviteInput>;
67
+ export declare const AcceptInviteInput: z.ZodObject<{
68
+ token: z.ZodString;
69
+ }, "strip", z.ZodTypeAny, {
70
+ token: string;
71
+ }, {
72
+ token: string;
73
+ }>;
74
+ export type AcceptInviteInput = z.infer<typeof AcceptInviteInput>;
75
+ export declare const PasswordResetRequestInput: z.ZodObject<{
76
+ email: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ email: string;
79
+ }, {
80
+ email: string;
81
+ }>;
82
+ export type PasswordResetRequestInput = z.infer<typeof PasswordResetRequestInput>;
83
+ export declare const PasswordResetConfirmInput: z.ZodObject<{
84
+ token: z.ZodString;
85
+ password: z.ZodString;
86
+ }, "strip", z.ZodTypeAny, {
87
+ password: string;
88
+ token: string;
89
+ }, {
90
+ password: string;
91
+ token: string;
92
+ }>;
93
+ export type PasswordResetConfirmInput = z.infer<typeof PasswordResetConfirmInput>;
94
+ export declare const WorkflowCategory: z.ZodEnum<["backlog", "unstarted", "started", "completed", "cancelled", "archived"]>;
95
+ export type WorkflowCategory = z.infer<typeof WorkflowCategory>;
96
+ /** True для категорий означающих "задача закрыта" — completedAt
97
+ * проставляется автоматически при переходе в такой статус. */
98
+ export declare function isClosingCategory(c: WorkflowCategory): boolean;
99
+ export declare const WorkflowStateCreate: z.ZodObject<{
100
+ name: z.ZodString;
101
+ category: z.ZodEnum<["backlog", "unstarted", "started", "completed", "cancelled", "archived"]>;
102
+ position: z.ZodNumber;
103
+ color: z.ZodString;
104
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
105
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
106
+ isReadyForRelease: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
107
+ icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>;
108
+ ownerBoardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ position: number;
111
+ name: string;
112
+ category: "backlog" | "unstarted" | "started" | "completed" | "cancelled" | "archived";
113
+ color: string;
114
+ isDefault: boolean;
115
+ enabled: boolean;
116
+ isReadyForRelease: boolean;
117
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
118
+ ownerBoardId?: string | null | undefined;
119
+ }, {
120
+ position: number;
121
+ name: string;
122
+ category: "backlog" | "unstarted" | "started" | "completed" | "cancelled" | "archived";
123
+ color: string;
124
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
125
+ isDefault?: boolean | undefined;
126
+ enabled?: boolean | undefined;
127
+ isReadyForRelease?: boolean | undefined;
128
+ ownerBoardId?: string | null | undefined;
129
+ }>;
130
+ export type WorkflowStateCreate = z.infer<typeof WorkflowStateCreate>;
131
+ export type WorkflowStateCreateInput = z.input<typeof WorkflowStateCreate>;
132
+ export declare const WorkflowStateUpdate: z.ZodObject<{
133
+ name: z.ZodOptional<z.ZodString>;
134
+ category: z.ZodOptional<z.ZodEnum<["backlog", "unstarted", "started", "completed", "cancelled", "archived"]>>;
135
+ position: z.ZodOptional<z.ZodNumber>;
136
+ color: z.ZodOptional<z.ZodString>;
137
+ isDefault: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
138
+ enabled: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
139
+ isReadyForRelease: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
140
+ icon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>>;
141
+ ownerBoardId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
144
+ position?: number | undefined;
145
+ name?: string | undefined;
146
+ category?: "backlog" | "unstarted" | "started" | "completed" | "cancelled" | "archived" | undefined;
147
+ color?: string | undefined;
148
+ isDefault?: boolean | undefined;
149
+ enabled?: boolean | undefined;
150
+ isReadyForRelease?: boolean | undefined;
151
+ ownerBoardId?: string | null | undefined;
152
+ }, {
153
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
154
+ position?: number | undefined;
155
+ name?: string | undefined;
156
+ category?: "backlog" | "unstarted" | "started" | "completed" | "cancelled" | "archived" | undefined;
157
+ color?: string | undefined;
158
+ isDefault?: boolean | undefined;
159
+ enabled?: boolean | undefined;
160
+ isReadyForRelease?: boolean | undefined;
161
+ ownerBoardId?: string | null | undefined;
162
+ }>;
163
+ export type WorkflowStateUpdate = z.infer<typeof WorkflowStateUpdate>;
164
+ export declare const LabelCreate: z.ZodObject<{
165
+ name: z.ZodString;
166
+ color: z.ZodString;
167
+ spaceId: z.ZodOptional<z.ZodString>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ name: string;
170
+ color: string;
171
+ spaceId?: string | undefined;
172
+ }, {
173
+ name: string;
174
+ color: string;
175
+ spaceId?: string | undefined;
176
+ }>;
177
+ export type LabelCreate = z.infer<typeof LabelCreate>;
178
+ export declare const LabelUpdate: z.ZodEffects<z.ZodObject<{
179
+ name: z.ZodOptional<z.ZodString>;
180
+ color: z.ZodOptional<z.ZodString>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ name?: string | undefined;
183
+ color?: string | undefined;
184
+ }, {
185
+ name?: string | undefined;
186
+ color?: string | undefined;
187
+ }>, {
188
+ name?: string | undefined;
189
+ color?: string | undefined;
190
+ }, {
191
+ name?: string | undefined;
192
+ color?: string | undefined;
193
+ }>;
194
+ export type LabelUpdate = z.infer<typeof LabelUpdate>;
195
+ export declare const TeamCreate: z.ZodObject<{
196
+ name: z.ZodString;
197
+ description: z.ZodOptional<z.ZodString>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ name: string;
200
+ description?: string | undefined;
201
+ }, {
202
+ name: string;
203
+ description?: string | undefined;
204
+ }>;
205
+ export type TeamCreate = z.infer<typeof TeamCreate>;
206
+ export declare const TeamMemberAdd: z.ZodObject<{
207
+ userId: z.ZodString;
208
+ }, "strip", z.ZodTypeAny, {
209
+ userId: string;
210
+ }, {
211
+ userId: string;
212
+ }>;
213
+ export type TeamMemberAdd = z.infer<typeof TeamMemberAdd>;
214
+ export declare const ProjectCreate: z.ZodObject<{
215
+ name: z.ZodString;
216
+ description: z.ZodOptional<z.ZodString>;
217
+ teamId: z.ZodOptional<z.ZodString>;
218
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
+ spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ taskPrefix: z.ZodOptional<z.ZodString>;
221
+ avatarUrl: z.ZodOptional<z.ZodString>;
222
+ createChannel: z.ZodOptional<z.ZodBoolean>;
223
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private"]>>;
224
+ brief: z.ZodOptional<z.ZodString>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ name: string;
227
+ avatarUrl?: string | undefined;
228
+ spaceId?: string | null | undefined;
229
+ description?: string | undefined;
230
+ teamId?: string | undefined;
231
+ parentId?: string | null | undefined;
232
+ taskPrefix?: string | undefined;
233
+ createChannel?: boolean | undefined;
234
+ visibility?: "public" | "private" | undefined;
235
+ brief?: string | undefined;
236
+ }, {
237
+ name: string;
238
+ avatarUrl?: string | undefined;
239
+ spaceId?: string | null | undefined;
240
+ description?: string | undefined;
241
+ teamId?: string | undefined;
242
+ parentId?: string | null | undefined;
243
+ taskPrefix?: string | undefined;
244
+ createChannel?: boolean | undefined;
245
+ visibility?: "public" | "private" | undefined;
246
+ brief?: string | undefined;
247
+ }>;
248
+ export type ProjectCreate = z.infer<typeof ProjectCreate>;
249
+ export declare const ProjectUpdate: z.ZodObject<{
250
+ name: z.ZodOptional<z.ZodString>;
251
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
252
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
253
+ spaceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
254
+ avatarUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
255
+ createChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
256
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodEnum<["public", "private"]>>>;
257
+ brief: z.ZodOptional<z.ZodOptional<z.ZodString>>;
258
+ } & {
259
+ status: z.ZodOptional<z.ZodEnum<["active", "archived"]>>;
260
+ teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ taskPrefix: z.ZodOptional<z.ZodString>;
262
+ releaseFlow: z.ZodOptional<z.ZodNullable<z.ZodEnum<["stage_then_prod", "prod_only"]>>>;
263
+ order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
+ deployWorkflow: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
+ releaseAllowedSources: z.ZodOptional<z.ZodNullable<z.ZodObject<{
266
+ ui: z.ZodBoolean;
267
+ mcp: z.ZodBoolean;
268
+ agent: z.ZodBoolean;
269
+ }, "strip", z.ZodTypeAny, {
270
+ ui: boolean;
271
+ mcp: boolean;
272
+ agent: boolean;
273
+ }, {
274
+ ui: boolean;
275
+ mcp: boolean;
276
+ agent: boolean;
277
+ }>>>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ status?: "archived" | "active" | undefined;
280
+ name?: string | undefined;
281
+ avatarUrl?: string | undefined;
282
+ spaceId?: string | null | undefined;
283
+ description?: string | undefined;
284
+ teamId?: string | null | undefined;
285
+ parentId?: string | null | undefined;
286
+ taskPrefix?: string | undefined;
287
+ createChannel?: boolean | undefined;
288
+ visibility?: "public" | "private" | undefined;
289
+ brief?: string | undefined;
290
+ releaseFlow?: "stage_then_prod" | "prod_only" | null | undefined;
291
+ order?: number | null | undefined;
292
+ deployWorkflow?: string | null | undefined;
293
+ releaseAllowedSources?: {
294
+ ui: boolean;
295
+ mcp: boolean;
296
+ agent: boolean;
297
+ } | null | undefined;
298
+ }, {
299
+ status?: "archived" | "active" | undefined;
300
+ name?: string | undefined;
301
+ avatarUrl?: string | undefined;
302
+ spaceId?: string | null | undefined;
303
+ description?: string | undefined;
304
+ teamId?: string | null | undefined;
305
+ parentId?: string | null | undefined;
306
+ taskPrefix?: string | undefined;
307
+ createChannel?: boolean | undefined;
308
+ visibility?: "public" | "private" | undefined;
309
+ brief?: string | undefined;
310
+ releaseFlow?: "stage_then_prod" | "prod_only" | null | undefined;
311
+ order?: number | null | undefined;
312
+ deployWorkflow?: string | null | undefined;
313
+ releaseAllowedSources?: {
314
+ ui: boolean;
315
+ mcp: boolean;
316
+ agent: boolean;
317
+ } | null | undefined;
318
+ }>;
319
+ export type ProjectUpdate = z.infer<typeof ProjectUpdate>;
320
+ export declare const ProjectRole: z.ZodEnum<["owner", "lead", "member"]>;
321
+ export type ProjectRole = z.infer<typeof ProjectRole>;
322
+ export declare const ProjectMemberAdd: z.ZodObject<{
323
+ userId: z.ZodString;
324
+ role: z.ZodOptional<z.ZodEnum<["owner", "lead", "member"]>>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ userId: string;
327
+ role?: "lead" | "member" | "owner" | undefined;
328
+ }, {
329
+ userId: string;
330
+ role?: "lead" | "member" | "owner" | undefined;
331
+ }>;
332
+ export type ProjectMemberAdd = z.infer<typeof ProjectMemberAdd>;
333
+ export declare const TaskPriority: z.ZodEnum<["low", "medium", "high", "urgent"]>;
334
+ export type TaskPriority = z.infer<typeof TaskPriority>;
335
+ export declare const TaskRelationType: z.ZodEnum<["blocks", "depends_on", "duplicates", "relates_to"]>;
336
+ export type TaskRelationType = z.infer<typeof TaskRelationType>;
337
+ export declare const TaskRelationBody: z.ZodObject<{
338
+ targetTaskId: z.ZodString;
339
+ type: z.ZodEnum<["blocks", "depends_on", "duplicates", "relates_to"]>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ type: "blocks" | "depends_on" | "duplicates" | "relates_to";
342
+ targetTaskId: string;
343
+ }, {
344
+ type: "blocks" | "depends_on" | "duplicates" | "relates_to";
345
+ targetTaskId: string;
346
+ }>;
347
+ export type TaskRelationBody = z.infer<typeof TaskRelationBody>;
348
+ export declare const TaskCreate: z.ZodObject<{
349
+ title: z.ZodString;
350
+ description: z.ZodOptional<z.ZodUnknown>;
351
+ projectId: z.ZodOptional<z.ZodString>;
352
+ spaceId: z.ZodOptional<z.ZodString>;
353
+ parentId: z.ZodOptional<z.ZodString>;
354
+ statusId: z.ZodOptional<z.ZodString>;
355
+ priority: z.ZodDefault<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>>;
356
+ assigneeId: z.ZodOptional<z.ZodString>;
357
+ assigneeTeamId: z.ZodOptional<z.ZodString>;
358
+ deadline: z.ZodOptional<z.ZodString>;
359
+ estimateHours: z.ZodOptional<z.ZodNumber>;
360
+ startAt: z.ZodOptional<z.ZodString>;
361
+ labelIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
362
+ boardOrder: z.ZodOptional<z.ZodNumber>;
363
+ sprintId: z.ZodOptional<z.ZodString>;
364
+ createBranch: z.ZodOptional<z.ZodBoolean>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ title: string;
367
+ priority: "urgent" | "low" | "medium" | "high";
368
+ labelIds: string[];
369
+ deadline?: string | undefined;
370
+ spaceId?: string | undefined;
371
+ description?: unknown;
372
+ parentId?: string | undefined;
373
+ projectId?: string | undefined;
374
+ statusId?: string | undefined;
375
+ assigneeId?: string | undefined;
376
+ assigneeTeamId?: string | undefined;
377
+ estimateHours?: number | undefined;
378
+ startAt?: string | undefined;
379
+ boardOrder?: number | undefined;
380
+ sprintId?: string | undefined;
381
+ createBranch?: boolean | undefined;
382
+ }, {
383
+ title: string;
384
+ deadline?: string | undefined;
385
+ spaceId?: string | undefined;
386
+ description?: unknown;
387
+ parentId?: string | undefined;
388
+ projectId?: string | undefined;
389
+ statusId?: string | undefined;
390
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
391
+ assigneeId?: string | undefined;
392
+ assigneeTeamId?: string | undefined;
393
+ estimateHours?: number | undefined;
394
+ startAt?: string | undefined;
395
+ labelIds?: string[] | undefined;
396
+ boardOrder?: number | undefined;
397
+ sprintId?: string | undefined;
398
+ createBranch?: boolean | undefined;
399
+ }>;
400
+ export type TaskCreate = z.infer<typeof TaskCreate>;
401
+ export type TaskCreateInput = z.input<typeof TaskCreate>;
402
+ export declare const TaskUpdate: z.ZodObject<{
403
+ title: z.ZodOptional<z.ZodString>;
404
+ description: z.ZodOptional<z.ZodUnknown>;
405
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
+ statusId: z.ZodOptional<z.ZodString>;
408
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
409
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ assigneeTeamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
+ deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ estimateHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ startAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ endAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
416
+ boardOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
417
+ pinnedUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ deadline?: string | null | undefined;
421
+ description?: unknown;
422
+ parentId?: string | null | undefined;
423
+ title?: string | undefined;
424
+ projectId?: string | null | undefined;
425
+ statusId?: string | undefined;
426
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
427
+ assigneeId?: string | null | undefined;
428
+ assigneeTeamId?: string | null | undefined;
429
+ estimateHours?: number | null | undefined;
430
+ startAt?: string | null | undefined;
431
+ labelIds?: string[] | undefined;
432
+ boardOrder?: number | null | undefined;
433
+ sprintId?: string | null | undefined;
434
+ endAt?: string | null | undefined;
435
+ pinnedUntil?: string | null | undefined;
436
+ }, {
437
+ deadline?: string | null | undefined;
438
+ description?: unknown;
439
+ parentId?: string | null | undefined;
440
+ title?: string | undefined;
441
+ projectId?: string | null | undefined;
442
+ statusId?: string | undefined;
443
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
444
+ assigneeId?: string | null | undefined;
445
+ assigneeTeamId?: string | null | undefined;
446
+ estimateHours?: number | null | undefined;
447
+ startAt?: string | null | undefined;
448
+ labelIds?: string[] | undefined;
449
+ boardOrder?: number | null | undefined;
450
+ sprintId?: string | null | undefined;
451
+ endAt?: string | null | undefined;
452
+ pinnedUntil?: string | null | undefined;
453
+ }>;
454
+ export type TaskUpdate = z.infer<typeof TaskUpdate>;
455
+ export declare const HierarchyMode: z.ZodEnum<["flat", "projects", "teams_and_projects"]>;
456
+ export type HierarchyMode = z.infer<typeof HierarchyMode>;
457
+ export declare const WorkspaceUpdate: z.ZodObject<{
458
+ name: z.ZodOptional<z.ZodString>;
459
+ slug: z.ZodOptional<z.ZodString>;
460
+ hierarchyMode: z.ZodOptional<z.ZodEnum<["flat", "projects", "teams_and_projects"]>>;
461
+ taskPrefix: z.ZodOptional<z.ZodString>;
462
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
+ logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
464
+ faviconUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
465
+ githubDeleteBranchAfterMerge: z.ZodOptional<z.ZodBoolean>;
466
+ autoCreateBranchOnTask: z.ZodOptional<z.ZodBoolean>;
467
+ telegramCardsEnabled: z.ZodOptional<z.ZodBoolean>;
468
+ taskUnfurlLevel: z.ZodOptional<z.ZodEnum<["off", "minimal", "full"]>>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ name?: string | undefined;
471
+ slug?: string | undefined;
472
+ avatarUrl?: string | null | undefined;
473
+ taskPrefix?: string | undefined;
474
+ hierarchyMode?: "flat" | "projects" | "teams_and_projects" | undefined;
475
+ logoDarkUrl?: string | null | undefined;
476
+ faviconUrl?: string | null | undefined;
477
+ githubDeleteBranchAfterMerge?: boolean | undefined;
478
+ autoCreateBranchOnTask?: boolean | undefined;
479
+ telegramCardsEnabled?: boolean | undefined;
480
+ taskUnfurlLevel?: "off" | "minimal" | "full" | undefined;
481
+ }, {
482
+ name?: string | undefined;
483
+ slug?: string | undefined;
484
+ avatarUrl?: string | null | undefined;
485
+ taskPrefix?: string | undefined;
486
+ hierarchyMode?: "flat" | "projects" | "teams_and_projects" | undefined;
487
+ logoDarkUrl?: string | null | undefined;
488
+ faviconUrl?: string | null | undefined;
489
+ githubDeleteBranchAfterMerge?: boolean | undefined;
490
+ autoCreateBranchOnTask?: boolean | undefined;
491
+ telegramCardsEnabled?: boolean | undefined;
492
+ taskUnfurlLevel?: "off" | "minimal" | "full" | undefined;
493
+ }>;
494
+ export type WorkspaceUpdate = z.infer<typeof WorkspaceUpdate>;
495
+ export declare const ChatAttachmentInput: z.ZodObject<{
496
+ uploadId: z.ZodOptional<z.ZodString>;
497
+ url: z.ZodEffects<z.ZodString, string, string>;
498
+ thumbUrl: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
499
+ mimetype: z.ZodString;
500
+ size: z.ZodNumber;
501
+ fileName: z.ZodString;
502
+ kind: z.ZodEnum<["image", "file"]>;
503
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
504
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ url: string;
507
+ mimetype: string;
508
+ size: number;
509
+ fileName: string;
510
+ kind: "image" | "file";
511
+ uploadId?: string | undefined;
512
+ thumbUrl?: string | null | undefined;
513
+ width?: number | null | undefined;
514
+ height?: number | null | undefined;
515
+ }, {
516
+ url: string;
517
+ mimetype: string;
518
+ size: number;
519
+ fileName: string;
520
+ kind: "image" | "file";
521
+ uploadId?: string | undefined;
522
+ thumbUrl?: string | null | undefined;
523
+ width?: number | null | undefined;
524
+ height?: number | null | undefined;
525
+ }>;
526
+ export type ChatAttachmentInput = z.infer<typeof ChatAttachmentInput>;
527
+ export declare const TaskCommentCreate: z.ZodObject<{
528
+ body: z.ZodUnknown;
529
+ parentCommentId: z.ZodOptional<z.ZodString>;
530
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
531
+ uploadId: z.ZodOptional<z.ZodString>;
532
+ url: z.ZodEffects<z.ZodString, string, string>;
533
+ thumbUrl: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
534
+ mimetype: z.ZodString;
535
+ size: z.ZodNumber;
536
+ fileName: z.ZodString;
537
+ kind: z.ZodEnum<["image", "file"]>;
538
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
539
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ url: string;
542
+ mimetype: string;
543
+ size: number;
544
+ fileName: string;
545
+ kind: "image" | "file";
546
+ uploadId?: string | undefined;
547
+ thumbUrl?: string | null | undefined;
548
+ width?: number | null | undefined;
549
+ height?: number | null | undefined;
550
+ }, {
551
+ url: string;
552
+ mimetype: string;
553
+ size: number;
554
+ fileName: string;
555
+ kind: "image" | "file";
556
+ uploadId?: string | undefined;
557
+ thumbUrl?: string | null | undefined;
558
+ width?: number | null | undefined;
559
+ height?: number | null | undefined;
560
+ }>, "many">>;
561
+ }, "strip", z.ZodTypeAny, {
562
+ body?: unknown;
563
+ parentCommentId?: string | undefined;
564
+ attachments?: {
565
+ url: string;
566
+ mimetype: string;
567
+ size: number;
568
+ fileName: string;
569
+ kind: "image" | "file";
570
+ uploadId?: string | undefined;
571
+ thumbUrl?: string | null | undefined;
572
+ width?: number | null | undefined;
573
+ height?: number | null | undefined;
574
+ }[] | undefined;
575
+ }, {
576
+ body?: unknown;
577
+ parentCommentId?: string | undefined;
578
+ attachments?: {
579
+ url: string;
580
+ mimetype: string;
581
+ size: number;
582
+ fileName: string;
583
+ kind: "image" | "file";
584
+ uploadId?: string | undefined;
585
+ thumbUrl?: string | null | undefined;
586
+ width?: number | null | undefined;
587
+ height?: number | null | undefined;
588
+ }[] | undefined;
589
+ }>;
590
+ export type TaskCommentCreate = z.infer<typeof TaskCommentCreate>;
591
+ export declare const TaskCommentUpdate: z.ZodObject<{
592
+ body: z.ZodUnknown;
593
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
594
+ uploadId: z.ZodOptional<z.ZodString>;
595
+ url: z.ZodEffects<z.ZodString, string, string>;
596
+ thumbUrl: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
597
+ mimetype: z.ZodString;
598
+ size: z.ZodNumber;
599
+ fileName: z.ZodString;
600
+ kind: z.ZodEnum<["image", "file"]>;
601
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
602
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ url: string;
605
+ mimetype: string;
606
+ size: number;
607
+ fileName: string;
608
+ kind: "image" | "file";
609
+ uploadId?: string | undefined;
610
+ thumbUrl?: string | null | undefined;
611
+ width?: number | null | undefined;
612
+ height?: number | null | undefined;
613
+ }, {
614
+ url: string;
615
+ mimetype: string;
616
+ size: number;
617
+ fileName: string;
618
+ kind: "image" | "file";
619
+ uploadId?: string | undefined;
620
+ thumbUrl?: string | null | undefined;
621
+ width?: number | null | undefined;
622
+ height?: number | null | undefined;
623
+ }>, "many">>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ body?: unknown;
626
+ attachments?: {
627
+ url: string;
628
+ mimetype: string;
629
+ size: number;
630
+ fileName: string;
631
+ kind: "image" | "file";
632
+ uploadId?: string | undefined;
633
+ thumbUrl?: string | null | undefined;
634
+ width?: number | null | undefined;
635
+ height?: number | null | undefined;
636
+ }[] | undefined;
637
+ }, {
638
+ body?: unknown;
639
+ attachments?: {
640
+ url: string;
641
+ mimetype: string;
642
+ size: number;
643
+ fileName: string;
644
+ kind: "image" | "file";
645
+ uploadId?: string | undefined;
646
+ thumbUrl?: string | null | undefined;
647
+ width?: number | null | undefined;
648
+ height?: number | null | undefined;
649
+ }[] | undefined;
650
+ }>;
651
+ export type TaskCommentUpdate = z.infer<typeof TaskCommentUpdate>;
652
+ export declare const AiCategory: z.ZodEnum<["llm", "stt"]>;
653
+ export type AiCategory = z.infer<typeof AiCategory>;
654
+ export declare const AiKeySource: z.ZodEnum<["env", "own", "demo", "off"]>;
655
+ export type AiKeySource = z.infer<typeof AiKeySource>;
656
+ export declare const AiKeyTestStatus: z.ZodEnum<["untested", "ok", "broken"]>;
657
+ export type AiKeyTestStatus = z.infer<typeof AiKeyTestStatus>;
658
+ export declare const WorkspaceAiProviderUpdate: z.ZodObject<{
659
+ provider: z.ZodOptional<z.ZodString>;
660
+ apiKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ provider?: string | undefined;
663
+ apiKey?: string | null | undefined;
664
+ }, {
665
+ provider?: string | undefined;
666
+ apiKey?: string | null | undefined;
667
+ }>;
668
+ export type WorkspaceAiProviderUpdate = z.infer<typeof WorkspaceAiProviderUpdate>;
669
+ export interface WorkspaceAiCategoryStatus {
670
+ category: AiCategory;
671
+ provider: string;
672
+ source: AiKeySource;
673
+ ownKeySet: boolean;
674
+ ownKeyLast4: string | null;
675
+ ownKeyTestStatus: AiKeyTestStatus;
676
+ ownKeyTestedAt: string | null;
677
+ useEnvKey: boolean;
678
+ }
679
+ export interface WorkspaceAiProvidersView {
680
+ aiEnabled: boolean;
681
+ sttEnabled: boolean;
682
+ llm: WorkspaceAiCategoryStatus;
683
+ stt: WorkspaceAiCategoryStatus;
684
+ demo: {
685
+ expiresAt: string | null;
686
+ remainingUsd: number | null;
687
+ remainingDays: number | null;
688
+ active: boolean;
689
+ };
690
+ quota: {
691
+ limitUsd: number | null;
692
+ usedUsd: number;
693
+ period: "day" | "month";
694
+ };
695
+ }
696
+ export declare const CallCreate: z.ZodObject<{
697
+ title: z.ZodString;
698
+ scheduledAt: z.ZodOptional<z.ZodString>;
699
+ allowGuests: z.ZodOptional<z.ZodBoolean>;
700
+ guestsRequireKnock: z.ZodOptional<z.ZodBoolean>;
701
+ guestsCanChat: z.ZodOptional<z.ZodBoolean>;
702
+ aiEnabled: z.ZodOptional<z.ZodBoolean>;
703
+ agentTrustGuests: z.ZodOptional<z.ZodBoolean>;
704
+ musicEnabled: z.ZodOptional<z.ZodBoolean>;
705
+ voiceAssistantEnabled: z.ZodOptional<z.ZodBoolean>;
706
+ timelineEnabled: z.ZodOptional<z.ZodBoolean>;
707
+ recordingMode: z.ZodOptional<z.ZodEnum<["off", "audio", "video"]>>;
708
+ durationMinutes: z.ZodOptional<z.ZodNumber>;
709
+ inviteeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
710
+ inviteEmails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ title: string;
713
+ scheduledAt?: string | undefined;
714
+ allowGuests?: boolean | undefined;
715
+ guestsRequireKnock?: boolean | undefined;
716
+ guestsCanChat?: boolean | undefined;
717
+ aiEnabled?: boolean | undefined;
718
+ agentTrustGuests?: boolean | undefined;
719
+ musicEnabled?: boolean | undefined;
720
+ voiceAssistantEnabled?: boolean | undefined;
721
+ timelineEnabled?: boolean | undefined;
722
+ recordingMode?: "off" | "audio" | "video" | undefined;
723
+ durationMinutes?: number | undefined;
724
+ inviteeUserIds?: string[] | undefined;
725
+ inviteEmails?: string[] | undefined;
726
+ }, {
727
+ title: string;
728
+ scheduledAt?: string | undefined;
729
+ allowGuests?: boolean | undefined;
730
+ guestsRequireKnock?: boolean | undefined;
731
+ guestsCanChat?: boolean | undefined;
732
+ aiEnabled?: boolean | undefined;
733
+ agentTrustGuests?: boolean | undefined;
734
+ musicEnabled?: boolean | undefined;
735
+ voiceAssistantEnabled?: boolean | undefined;
736
+ timelineEnabled?: boolean | undefined;
737
+ recordingMode?: "off" | "audio" | "video" | undefined;
738
+ durationMinutes?: number | undefined;
739
+ inviteeUserIds?: string[] | undefined;
740
+ inviteEmails?: string[] | undefined;
741
+ }>;
742
+ export type CallCreate = z.infer<typeof CallCreate>;
743
+ export type CallCreateInput = z.input<typeof CallCreate>;
744
+ export declare const CallPatch: z.ZodObject<{
745
+ title: z.ZodOptional<z.ZodString>;
746
+ scheduledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
747
+ allowGuests: z.ZodOptional<z.ZodBoolean>;
748
+ guestsRequireKnock: z.ZodOptional<z.ZodBoolean>;
749
+ guestsCanChat: z.ZodOptional<z.ZodBoolean>;
750
+ aiEnabled: z.ZodOptional<z.ZodBoolean>;
751
+ agentTrustGuests: z.ZodOptional<z.ZodBoolean>;
752
+ musicEnabled: z.ZodOptional<z.ZodBoolean>;
753
+ voiceAssistantEnabled: z.ZodOptional<z.ZodBoolean>;
754
+ timelineEnabled: z.ZodOptional<z.ZodBoolean>;
755
+ recordingMode: z.ZodOptional<z.ZodEnum<["off", "audio", "video"]>>;
756
+ durationMinutes: z.ZodOptional<z.ZodNumber>;
757
+ inviteeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
758
+ inviteEmails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ title?: string | undefined;
761
+ scheduledAt?: string | null | undefined;
762
+ allowGuests?: boolean | undefined;
763
+ guestsRequireKnock?: boolean | undefined;
764
+ guestsCanChat?: boolean | undefined;
765
+ aiEnabled?: boolean | undefined;
766
+ agentTrustGuests?: boolean | undefined;
767
+ musicEnabled?: boolean | undefined;
768
+ voiceAssistantEnabled?: boolean | undefined;
769
+ timelineEnabled?: boolean | undefined;
770
+ recordingMode?: "off" | "audio" | "video" | undefined;
771
+ durationMinutes?: number | undefined;
772
+ inviteeUserIds?: string[] | undefined;
773
+ inviteEmails?: string[] | undefined;
774
+ }, {
775
+ title?: string | undefined;
776
+ scheduledAt?: string | null | undefined;
777
+ allowGuests?: boolean | undefined;
778
+ guestsRequireKnock?: boolean | undefined;
779
+ guestsCanChat?: boolean | undefined;
780
+ aiEnabled?: boolean | undefined;
781
+ agentTrustGuests?: boolean | undefined;
782
+ musicEnabled?: boolean | undefined;
783
+ voiceAssistantEnabled?: boolean | undefined;
784
+ timelineEnabled?: boolean | undefined;
785
+ recordingMode?: "off" | "audio" | "video" | undefined;
786
+ durationMinutes?: number | undefined;
787
+ inviteeUserIds?: string[] | undefined;
788
+ inviteEmails?: string[] | undefined;
789
+ }>;
790
+ export type CallPatch = z.infer<typeof CallPatch>;
791
+ export declare const RoomKind: z.ZodEnum<["team", "project", "custom"]>;
792
+ export type RoomKind = z.infer<typeof RoomKind>;
793
+ export declare const RoomVisibility: z.ZodEnum<["public", "unlisted", "private"]>;
794
+ export type RoomVisibility = z.infer<typeof RoomVisibility>;
795
+ export declare const RoomCreate: z.ZodObject<{
796
+ name: z.ZodString;
797
+ kind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["team", "project", "custom"]>>>;
798
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>>;
799
+ teamId: z.ZodOptional<z.ZodString>;
800
+ projectId: z.ZodOptional<z.ZodString>;
801
+ spaceId: z.ZodOptional<z.ZodString>;
802
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
803
+ commonInSpaces: z.ZodOptional<z.ZodBoolean>;
804
+ }, "strip", z.ZodTypeAny, {
805
+ name: string;
806
+ visibility: "public" | "private" | "unlisted";
807
+ kind: "custom" | "team" | "project";
808
+ spaceId?: string | undefined;
809
+ teamId?: string | undefined;
810
+ projectId?: string | undefined;
811
+ memberIds?: string[] | undefined;
812
+ commonInSpaces?: boolean | undefined;
813
+ }, {
814
+ name: string;
815
+ spaceId?: string | undefined;
816
+ teamId?: string | undefined;
817
+ visibility?: "public" | "private" | "unlisted" | undefined;
818
+ projectId?: string | undefined;
819
+ kind?: "custom" | "team" | "project" | undefined;
820
+ memberIds?: string[] | undefined;
821
+ commonInSpaces?: boolean | undefined;
822
+ }>;
823
+ export type RoomCreate = z.infer<typeof RoomCreate>;
824
+ export type RoomCreateInput = z.input<typeof RoomCreate>;
825
+ export declare const ROOM_SLUG_RE: RegExp;
826
+ export declare const RoomUpdate: z.ZodObject<{
827
+ name: z.ZodOptional<z.ZodString>;
828
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
829
+ visibility: z.ZodOptional<z.ZodEnum<["public", "unlisted", "private"]>>;
830
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
831
+ spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ commonInSpaces: z.ZodOptional<z.ZodBoolean>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ name?: string | undefined;
835
+ slug?: string | null | undefined;
836
+ spaceId?: string | null | undefined;
837
+ visibility?: "public" | "private" | "unlisted" | undefined;
838
+ commonInSpaces?: boolean | undefined;
839
+ archivedAt?: string | null | undefined;
840
+ }, {
841
+ name?: string | undefined;
842
+ slug?: string | null | undefined;
843
+ spaceId?: string | null | undefined;
844
+ visibility?: "public" | "private" | "unlisted" | undefined;
845
+ commonInSpaces?: boolean | undefined;
846
+ archivedAt?: string | null | undefined;
847
+ }>;
848
+ export type RoomUpdate = z.infer<typeof RoomUpdate>;
849
+ export declare const RoomSettingsUpdate: z.ZodObject<{
850
+ aiEnabled: z.ZodOptional<z.ZodBoolean>;
851
+ musicEnabled: z.ZodOptional<z.ZodBoolean>;
852
+ voiceAssistantEnabled: z.ZodOptional<z.ZodBoolean>;
853
+ recordingMode: z.ZodOptional<z.ZodEnum<["off", "audio", "video"]>>;
854
+ allowGuests: z.ZodOptional<z.ZodBoolean>;
855
+ guestsRequireKnock: z.ZodOptional<z.ZodBoolean>;
856
+ guestsCanChat: z.ZodOptional<z.ZodBoolean>;
857
+ }, "strip", z.ZodTypeAny, {
858
+ allowGuests?: boolean | undefined;
859
+ guestsRequireKnock?: boolean | undefined;
860
+ guestsCanChat?: boolean | undefined;
861
+ aiEnabled?: boolean | undefined;
862
+ musicEnabled?: boolean | undefined;
863
+ voiceAssistantEnabled?: boolean | undefined;
864
+ recordingMode?: "off" | "audio" | "video" | undefined;
865
+ }, {
866
+ allowGuests?: boolean | undefined;
867
+ guestsRequireKnock?: boolean | undefined;
868
+ guestsCanChat?: boolean | undefined;
869
+ aiEnabled?: boolean | undefined;
870
+ musicEnabled?: boolean | undefined;
871
+ voiceAssistantEnabled?: boolean | undefined;
872
+ recordingMode?: "off" | "audio" | "video" | undefined;
873
+ }>;
874
+ export type RoomSettingsUpdate = z.infer<typeof RoomSettingsUpdate>;
875
+ export declare const CallProposalKind: z.ZodEnum<["task_create", "task_update", "task_done", "meeting", "project", "comment", "absence"]>;
876
+ export type CallProposalKind = z.infer<typeof CallProposalKind>;
877
+ export declare const TaskSuggestionCreate: z.ZodObject<{
878
+ title: z.ZodString;
879
+ description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
880
+ priority: z.ZodDefault<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>>;
881
+ suggestedProjectId: z.ZodOptional<z.ZodString>;
882
+ suggestedAssigneeId: z.ZodOptional<z.ZodString>;
883
+ originStartTs: z.ZodString;
884
+ originEndTs: z.ZodString;
885
+ originSpeakerId: z.ZodOptional<z.ZodString>;
886
+ rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ description: string;
889
+ title: string;
890
+ priority: "urgent" | "low" | "medium" | "high";
891
+ originStartTs: string;
892
+ originEndTs: string;
893
+ rationale: string;
894
+ suggestedProjectId?: string | undefined;
895
+ suggestedAssigneeId?: string | undefined;
896
+ originSpeakerId?: string | undefined;
897
+ }, {
898
+ title: string;
899
+ originStartTs: string;
900
+ originEndTs: string;
901
+ description?: string | undefined;
902
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
903
+ suggestedProjectId?: string | undefined;
904
+ suggestedAssigneeId?: string | undefined;
905
+ originSpeakerId?: string | undefined;
906
+ rationale?: string | undefined;
907
+ }>;
908
+ export type TaskSuggestionCreate = z.infer<typeof TaskSuggestionCreate>;
909
+ export type TaskSuggestionCreateInput = z.input<typeof TaskSuggestionCreate>;
910
+ export declare const TaskSuggestionBatch: z.ZodObject<{
911
+ callId: z.ZodString;
912
+ roomId: z.ZodOptional<z.ZodString>;
913
+ suggestions: z.ZodArray<z.ZodObject<{
914
+ title: z.ZodString;
915
+ description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
916
+ priority: z.ZodDefault<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>>;
917
+ suggestedProjectId: z.ZodOptional<z.ZodString>;
918
+ suggestedAssigneeId: z.ZodOptional<z.ZodString>;
919
+ originStartTs: z.ZodString;
920
+ originEndTs: z.ZodString;
921
+ originSpeakerId: z.ZodOptional<z.ZodString>;
922
+ rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ description: string;
925
+ title: string;
926
+ priority: "urgent" | "low" | "medium" | "high";
927
+ originStartTs: string;
928
+ originEndTs: string;
929
+ rationale: string;
930
+ suggestedProjectId?: string | undefined;
931
+ suggestedAssigneeId?: string | undefined;
932
+ originSpeakerId?: string | undefined;
933
+ }, {
934
+ title: string;
935
+ originStartTs: string;
936
+ originEndTs: string;
937
+ description?: string | undefined;
938
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
939
+ suggestedProjectId?: string | undefined;
940
+ suggestedAssigneeId?: string | undefined;
941
+ originSpeakerId?: string | undefined;
942
+ rationale?: string | undefined;
943
+ }>, "many">;
944
+ }, "strip", z.ZodTypeAny, {
945
+ callId: string;
946
+ suggestions: {
947
+ description: string;
948
+ title: string;
949
+ priority: "urgent" | "low" | "medium" | "high";
950
+ originStartTs: string;
951
+ originEndTs: string;
952
+ rationale: string;
953
+ suggestedProjectId?: string | undefined;
954
+ suggestedAssigneeId?: string | undefined;
955
+ originSpeakerId?: string | undefined;
956
+ }[];
957
+ roomId?: string | undefined;
958
+ }, {
959
+ callId: string;
960
+ suggestions: {
961
+ title: string;
962
+ originStartTs: string;
963
+ originEndTs: string;
964
+ description?: string | undefined;
965
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
966
+ suggestedProjectId?: string | undefined;
967
+ suggestedAssigneeId?: string | undefined;
968
+ originSpeakerId?: string | undefined;
969
+ rationale?: string | undefined;
970
+ }[];
971
+ roomId?: string | undefined;
972
+ }>;
973
+ export type TaskSuggestionBatch = z.infer<typeof TaskSuggestionBatch>;
974
+ export declare const TaskSuggestionRejectInput: z.ZodObject<{
975
+ reason: z.ZodOptional<z.ZodString>;
976
+ }, "strip", z.ZodTypeAny, {
977
+ reason?: string | undefined;
978
+ }, {
979
+ reason?: string | undefined;
980
+ }>;
981
+ export type TaskSuggestionRejectInput = z.infer<typeof TaskSuggestionRejectInput>;
982
+ export declare const TaskSuggestionAcceptInput: z.ZodObject<{
983
+ title: z.ZodOptional<z.ZodString>;
984
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
985
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
986
+ statusId: z.ZodOptional<z.ZodString>;
987
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
988
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
989
+ deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
990
+ estimateHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
991
+ teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
992
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
993
+ createTask: z.ZodOptional<z.ZodBoolean>;
994
+ comment: z.ZodOptional<z.ZodUnknown>;
995
+ speakerComment: z.ZodOptional<z.ZodUnknown>;
996
+ toNote: z.ZodOptional<z.ZodBoolean>;
997
+ }, "strip", z.ZodTypeAny, {
998
+ deadline?: string | null | undefined;
999
+ description?: string | null | undefined;
1000
+ teamId?: string | null | undefined;
1001
+ title?: string | undefined;
1002
+ projectId?: string | null | undefined;
1003
+ statusId?: string | undefined;
1004
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1005
+ assigneeId?: string | null | undefined;
1006
+ estimateHours?: number | null | undefined;
1007
+ labelIds?: string[] | undefined;
1008
+ comment?: unknown;
1009
+ createTask?: boolean | undefined;
1010
+ speakerComment?: unknown;
1011
+ toNote?: boolean | undefined;
1012
+ }, {
1013
+ deadline?: string | null | undefined;
1014
+ description?: string | null | undefined;
1015
+ teamId?: string | null | undefined;
1016
+ title?: string | undefined;
1017
+ projectId?: string | null | undefined;
1018
+ statusId?: string | undefined;
1019
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1020
+ assigneeId?: string | null | undefined;
1021
+ estimateHours?: number | null | undefined;
1022
+ labelIds?: string[] | undefined;
1023
+ comment?: unknown;
1024
+ createTask?: boolean | undefined;
1025
+ speakerComment?: unknown;
1026
+ toNote?: boolean | undefined;
1027
+ }>;
1028
+ export type TaskSuggestionAcceptInput = z.infer<typeof TaskSuggestionAcceptInput>;
1029
+ export declare const SuggestionPayloadPatch: z.ZodObject<{
1030
+ meetingAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
+ durationMinutes: z.ZodOptional<z.ZodNumber>;
1032
+ participantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1033
+ absenceKind: z.ZodOptional<z.ZodEnum<["vacation", "sick", "trip", "absent", "block"]>>;
1034
+ startAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
+ endAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ body: z.ZodOptional<z.ZodString>;
1037
+ name: z.ZodOptional<z.ZodString>;
1038
+ summary: z.ZodOptional<z.ZodString>;
1039
+ newTitle: z.ZodOptional<z.ZodString>;
1040
+ newTitleAppend: z.ZodOptional<z.ZodString>;
1041
+ newDescription: z.ZodOptional<z.ZodString>;
1042
+ newDescriptionAppend: z.ZodOptional<z.ZodString>;
1043
+ newPriority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1044
+ newDeadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
+ newStatusName: z.ZodOptional<z.ZodString>;
1046
+ newAssigneeName: z.ZodOptional<z.ZodString>;
1047
+ newProjectName: z.ZodOptional<z.ZodString>;
1048
+ newTeamName: z.ZodOptional<z.ZodString>;
1049
+ newSprintName: z.ZodOptional<z.ZodString>;
1050
+ newLabelName: z.ZodOptional<z.ZodString>;
1051
+ newStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1052
+ newEstimate: z.ZodOptional<z.ZodString>;
1053
+ updateSummary: z.ZodOptional<z.ZodString>;
1054
+ newStatusId: z.ZodOptional<z.ZodString>;
1055
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private"]>>;
1056
+ createChannel: z.ZodOptional<z.ZodBoolean>;
1057
+ taskPrefix: z.ZodOptional<z.ZodString>;
1058
+ }, "strict", z.ZodTypeAny, {
1059
+ name?: string | undefined;
1060
+ taskPrefix?: string | undefined;
1061
+ createChannel?: boolean | undefined;
1062
+ visibility?: "public" | "private" | undefined;
1063
+ startAt?: string | null | undefined;
1064
+ endAt?: string | null | undefined;
1065
+ body?: string | undefined;
1066
+ durationMinutes?: number | undefined;
1067
+ meetingAt?: string | null | undefined;
1068
+ participantIds?: string[] | undefined;
1069
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1070
+ summary?: string | undefined;
1071
+ newTitle?: string | undefined;
1072
+ newTitleAppend?: string | undefined;
1073
+ newDescription?: string | undefined;
1074
+ newDescriptionAppend?: string | undefined;
1075
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1076
+ newDeadline?: string | null | undefined;
1077
+ newStatusName?: string | undefined;
1078
+ newAssigneeName?: string | undefined;
1079
+ newProjectName?: string | undefined;
1080
+ newTeamName?: string | undefined;
1081
+ newSprintName?: string | undefined;
1082
+ newLabelName?: string | undefined;
1083
+ newStartAt?: string | null | undefined;
1084
+ newEstimate?: string | undefined;
1085
+ updateSummary?: string | undefined;
1086
+ newStatusId?: string | undefined;
1087
+ }, {
1088
+ name?: string | undefined;
1089
+ taskPrefix?: string | undefined;
1090
+ createChannel?: boolean | undefined;
1091
+ visibility?: "public" | "private" | undefined;
1092
+ startAt?: string | null | undefined;
1093
+ endAt?: string | null | undefined;
1094
+ body?: string | undefined;
1095
+ durationMinutes?: number | undefined;
1096
+ meetingAt?: string | null | undefined;
1097
+ participantIds?: string[] | undefined;
1098
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1099
+ summary?: string | undefined;
1100
+ newTitle?: string | undefined;
1101
+ newTitleAppend?: string | undefined;
1102
+ newDescription?: string | undefined;
1103
+ newDescriptionAppend?: string | undefined;
1104
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1105
+ newDeadline?: string | null | undefined;
1106
+ newStatusName?: string | undefined;
1107
+ newAssigneeName?: string | undefined;
1108
+ newProjectName?: string | undefined;
1109
+ newTeamName?: string | undefined;
1110
+ newSprintName?: string | undefined;
1111
+ newLabelName?: string | undefined;
1112
+ newStartAt?: string | null | undefined;
1113
+ newEstimate?: string | undefined;
1114
+ updateSummary?: string | undefined;
1115
+ newStatusId?: string | undefined;
1116
+ }>;
1117
+ export type SuggestionPayloadPatch = z.infer<typeof SuggestionPayloadPatch>;
1118
+ export declare const TaskSuggestionUpdateInput: z.ZodObject<{
1119
+ title: z.ZodOptional<z.ZodString>;
1120
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1121
+ descriptionDoc: z.ZodOptional<z.ZodUnknown>;
1122
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1123
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1124
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1125
+ deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1126
+ estimateHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1127
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1128
+ teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1129
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1130
+ payload: z.ZodOptional<z.ZodObject<{
1131
+ meetingAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
+ durationMinutes: z.ZodOptional<z.ZodNumber>;
1133
+ participantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1134
+ absenceKind: z.ZodOptional<z.ZodEnum<["vacation", "sick", "trip", "absent", "block"]>>;
1135
+ startAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1136
+ endAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1137
+ body: z.ZodOptional<z.ZodString>;
1138
+ name: z.ZodOptional<z.ZodString>;
1139
+ summary: z.ZodOptional<z.ZodString>;
1140
+ newTitle: z.ZodOptional<z.ZodString>;
1141
+ newTitleAppend: z.ZodOptional<z.ZodString>;
1142
+ newDescription: z.ZodOptional<z.ZodString>;
1143
+ newDescriptionAppend: z.ZodOptional<z.ZodString>;
1144
+ newPriority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1145
+ newDeadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1146
+ newStatusName: z.ZodOptional<z.ZodString>;
1147
+ newAssigneeName: z.ZodOptional<z.ZodString>;
1148
+ newProjectName: z.ZodOptional<z.ZodString>;
1149
+ newTeamName: z.ZodOptional<z.ZodString>;
1150
+ newSprintName: z.ZodOptional<z.ZodString>;
1151
+ newLabelName: z.ZodOptional<z.ZodString>;
1152
+ newStartAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1153
+ newEstimate: z.ZodOptional<z.ZodString>;
1154
+ updateSummary: z.ZodOptional<z.ZodString>;
1155
+ newStatusId: z.ZodOptional<z.ZodString>;
1156
+ visibility: z.ZodOptional<z.ZodEnum<["public", "private"]>>;
1157
+ createChannel: z.ZodOptional<z.ZodBoolean>;
1158
+ taskPrefix: z.ZodOptional<z.ZodString>;
1159
+ }, "strict", z.ZodTypeAny, {
1160
+ name?: string | undefined;
1161
+ taskPrefix?: string | undefined;
1162
+ createChannel?: boolean | undefined;
1163
+ visibility?: "public" | "private" | undefined;
1164
+ startAt?: string | null | undefined;
1165
+ endAt?: string | null | undefined;
1166
+ body?: string | undefined;
1167
+ durationMinutes?: number | undefined;
1168
+ meetingAt?: string | null | undefined;
1169
+ participantIds?: string[] | undefined;
1170
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1171
+ summary?: string | undefined;
1172
+ newTitle?: string | undefined;
1173
+ newTitleAppend?: string | undefined;
1174
+ newDescription?: string | undefined;
1175
+ newDescriptionAppend?: string | undefined;
1176
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1177
+ newDeadline?: string | null | undefined;
1178
+ newStatusName?: string | undefined;
1179
+ newAssigneeName?: string | undefined;
1180
+ newProjectName?: string | undefined;
1181
+ newTeamName?: string | undefined;
1182
+ newSprintName?: string | undefined;
1183
+ newLabelName?: string | undefined;
1184
+ newStartAt?: string | null | undefined;
1185
+ newEstimate?: string | undefined;
1186
+ updateSummary?: string | undefined;
1187
+ newStatusId?: string | undefined;
1188
+ }, {
1189
+ name?: string | undefined;
1190
+ taskPrefix?: string | undefined;
1191
+ createChannel?: boolean | undefined;
1192
+ visibility?: "public" | "private" | undefined;
1193
+ startAt?: string | null | undefined;
1194
+ endAt?: string | null | undefined;
1195
+ body?: string | undefined;
1196
+ durationMinutes?: number | undefined;
1197
+ meetingAt?: string | null | undefined;
1198
+ participantIds?: string[] | undefined;
1199
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1200
+ summary?: string | undefined;
1201
+ newTitle?: string | undefined;
1202
+ newTitleAppend?: string | undefined;
1203
+ newDescription?: string | undefined;
1204
+ newDescriptionAppend?: string | undefined;
1205
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1206
+ newDeadline?: string | null | undefined;
1207
+ newStatusName?: string | undefined;
1208
+ newAssigneeName?: string | undefined;
1209
+ newProjectName?: string | undefined;
1210
+ newTeamName?: string | undefined;
1211
+ newSprintName?: string | undefined;
1212
+ newLabelName?: string | undefined;
1213
+ newStartAt?: string | null | undefined;
1214
+ newEstimate?: string | undefined;
1215
+ updateSummary?: string | undefined;
1216
+ newStatusId?: string | undefined;
1217
+ }>>;
1218
+ candidateExistingTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1219
+ }, "strip", z.ZodTypeAny, {
1220
+ deadline?: string | null | undefined;
1221
+ description?: string | null | undefined;
1222
+ teamId?: string | null | undefined;
1223
+ title?: string | undefined;
1224
+ projectId?: string | null | undefined;
1225
+ statusId?: string | null | undefined;
1226
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1227
+ assigneeId?: string | null | undefined;
1228
+ estimateHours?: number | null | undefined;
1229
+ labelIds?: string[] | undefined;
1230
+ descriptionDoc?: unknown;
1231
+ payload?: {
1232
+ name?: string | undefined;
1233
+ taskPrefix?: string | undefined;
1234
+ createChannel?: boolean | undefined;
1235
+ visibility?: "public" | "private" | undefined;
1236
+ startAt?: string | null | undefined;
1237
+ endAt?: string | null | undefined;
1238
+ body?: string | undefined;
1239
+ durationMinutes?: number | undefined;
1240
+ meetingAt?: string | null | undefined;
1241
+ participantIds?: string[] | undefined;
1242
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1243
+ summary?: string | undefined;
1244
+ newTitle?: string | undefined;
1245
+ newTitleAppend?: string | undefined;
1246
+ newDescription?: string | undefined;
1247
+ newDescriptionAppend?: string | undefined;
1248
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1249
+ newDeadline?: string | null | undefined;
1250
+ newStatusName?: string | undefined;
1251
+ newAssigneeName?: string | undefined;
1252
+ newProjectName?: string | undefined;
1253
+ newTeamName?: string | undefined;
1254
+ newSprintName?: string | undefined;
1255
+ newLabelName?: string | undefined;
1256
+ newStartAt?: string | null | undefined;
1257
+ newEstimate?: string | undefined;
1258
+ updateSummary?: string | undefined;
1259
+ newStatusId?: string | undefined;
1260
+ } | undefined;
1261
+ candidateExistingTaskId?: string | null | undefined;
1262
+ }, {
1263
+ deadline?: string | null | undefined;
1264
+ description?: string | null | undefined;
1265
+ teamId?: string | null | undefined;
1266
+ title?: string | undefined;
1267
+ projectId?: string | null | undefined;
1268
+ statusId?: string | null | undefined;
1269
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1270
+ assigneeId?: string | null | undefined;
1271
+ estimateHours?: number | null | undefined;
1272
+ labelIds?: string[] | undefined;
1273
+ descriptionDoc?: unknown;
1274
+ payload?: {
1275
+ name?: string | undefined;
1276
+ taskPrefix?: string | undefined;
1277
+ createChannel?: boolean | undefined;
1278
+ visibility?: "public" | "private" | undefined;
1279
+ startAt?: string | null | undefined;
1280
+ endAt?: string | null | undefined;
1281
+ body?: string | undefined;
1282
+ durationMinutes?: number | undefined;
1283
+ meetingAt?: string | null | undefined;
1284
+ participantIds?: string[] | undefined;
1285
+ absenceKind?: "vacation" | "sick" | "trip" | "absent" | "block" | undefined;
1286
+ summary?: string | undefined;
1287
+ newTitle?: string | undefined;
1288
+ newTitleAppend?: string | undefined;
1289
+ newDescription?: string | undefined;
1290
+ newDescriptionAppend?: string | undefined;
1291
+ newPriority?: "urgent" | "low" | "medium" | "high" | undefined;
1292
+ newDeadline?: string | null | undefined;
1293
+ newStatusName?: string | undefined;
1294
+ newAssigneeName?: string | undefined;
1295
+ newProjectName?: string | undefined;
1296
+ newTeamName?: string | undefined;
1297
+ newSprintName?: string | undefined;
1298
+ newLabelName?: string | undefined;
1299
+ newStartAt?: string | null | undefined;
1300
+ newEstimate?: string | undefined;
1301
+ updateSummary?: string | undefined;
1302
+ newStatusId?: string | undefined;
1303
+ } | undefined;
1304
+ candidateExistingTaskId?: string | null | undefined;
1305
+ }>;
1306
+ export type TaskSuggestionUpdateInput = z.infer<typeof TaskSuggestionUpdateInput>;
1307
+ export declare const EventTypeEnum: z.ZodEnum<["meeting", "absent", "task", "external", "block"]>;
1308
+ export declare const EventVisibilityEnum: z.ZodEnum<["personal", "team", "workspace"]>;
1309
+ export declare const EventCreate: z.ZodObject<{
1310
+ type: z.ZodEnum<["meeting", "absent", "task", "external", "block"]>;
1311
+ title: z.ZodString;
1312
+ description: z.ZodOptional<z.ZodString>;
1313
+ startAt: z.ZodString;
1314
+ endAt: z.ZodString;
1315
+ allDay: z.ZodOptional<z.ZodBoolean>;
1316
+ recurrenceRule: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1317
+ recurrenceUntil: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1318
+ visibility: z.ZodOptional<z.ZodEnum<["personal", "team", "workspace"]>>;
1319
+ teamId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1320
+ projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1321
+ participantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1322
+ taskTemplate: z.ZodOptional<z.ZodObject<{
1323
+ title: z.ZodString;
1324
+ description: z.ZodOptional<z.ZodString>;
1325
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1326
+ assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ title: string;
1329
+ description?: string | undefined;
1330
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1331
+ assigneeId?: string | null | undefined;
1332
+ }, {
1333
+ title: string;
1334
+ description?: string | undefined;
1335
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1336
+ assigneeId?: string | null | undefined;
1337
+ }>>;
1338
+ autoCreateCall: z.ZodOptional<z.ZodBoolean>;
1339
+ forUserId: z.ZodOptional<z.ZodString>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ type: "meeting" | "absent" | "block" | "task" | "external";
1342
+ title: string;
1343
+ startAt: string;
1344
+ endAt: string;
1345
+ description?: string | undefined;
1346
+ teamId?: string | null | undefined;
1347
+ visibility?: "team" | "personal" | "workspace" | undefined;
1348
+ projectId?: string | null | undefined;
1349
+ participantIds?: string[] | undefined;
1350
+ allDay?: boolean | undefined;
1351
+ recurrenceRule?: string | null | undefined;
1352
+ recurrenceUntil?: string | null | undefined;
1353
+ taskTemplate?: {
1354
+ title: string;
1355
+ description?: string | undefined;
1356
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1357
+ assigneeId?: string | null | undefined;
1358
+ } | undefined;
1359
+ autoCreateCall?: boolean | undefined;
1360
+ forUserId?: string | undefined;
1361
+ }, {
1362
+ type: "meeting" | "absent" | "block" | "task" | "external";
1363
+ title: string;
1364
+ startAt: string;
1365
+ endAt: string;
1366
+ description?: string | undefined;
1367
+ teamId?: string | null | undefined;
1368
+ visibility?: "team" | "personal" | "workspace" | undefined;
1369
+ projectId?: string | null | undefined;
1370
+ participantIds?: string[] | undefined;
1371
+ allDay?: boolean | undefined;
1372
+ recurrenceRule?: string | null | undefined;
1373
+ recurrenceUntil?: string | null | undefined;
1374
+ taskTemplate?: {
1375
+ title: string;
1376
+ description?: string | undefined;
1377
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1378
+ assigneeId?: string | null | undefined;
1379
+ } | undefined;
1380
+ autoCreateCall?: boolean | undefined;
1381
+ forUserId?: string | undefined;
1382
+ }>;
1383
+ export type EventCreate = z.infer<typeof EventCreate>;
1384
+ export type EventCreateInput = z.input<typeof EventCreate>;
1385
+ export declare const EventPatch: z.ZodObject<Omit<{
1386
+ type: z.ZodOptional<z.ZodEnum<["meeting", "absent", "task", "external", "block"]>>;
1387
+ title: z.ZodOptional<z.ZodString>;
1388
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1389
+ startAt: z.ZodOptional<z.ZodString>;
1390
+ endAt: z.ZodOptional<z.ZodString>;
1391
+ allDay: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1392
+ recurrenceRule: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1393
+ recurrenceUntil: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1394
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodEnum<["personal", "team", "workspace"]>>>;
1395
+ teamId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1396
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1397
+ participantIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1398
+ taskTemplate: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1399
+ title: z.ZodString;
1400
+ description: z.ZodOptional<z.ZodString>;
1401
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1402
+ assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ title: string;
1405
+ description?: string | undefined;
1406
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1407
+ assigneeId?: string | null | undefined;
1408
+ }, {
1409
+ title: string;
1410
+ description?: string | undefined;
1411
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1412
+ assigneeId?: string | null | undefined;
1413
+ }>>>;
1414
+ autoCreateCall: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1415
+ forUserId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1416
+ }, "taskTemplate">, "strip", z.ZodTypeAny, {
1417
+ type?: "meeting" | "absent" | "block" | "task" | "external" | undefined;
1418
+ description?: string | undefined;
1419
+ teamId?: string | null | undefined;
1420
+ visibility?: "team" | "personal" | "workspace" | undefined;
1421
+ title?: string | undefined;
1422
+ projectId?: string | null | undefined;
1423
+ startAt?: string | undefined;
1424
+ endAt?: string | undefined;
1425
+ participantIds?: string[] | undefined;
1426
+ allDay?: boolean | undefined;
1427
+ recurrenceRule?: string | null | undefined;
1428
+ recurrenceUntil?: string | null | undefined;
1429
+ autoCreateCall?: boolean | undefined;
1430
+ forUserId?: string | undefined;
1431
+ }, {
1432
+ type?: "meeting" | "absent" | "block" | "task" | "external" | undefined;
1433
+ description?: string | undefined;
1434
+ teamId?: string | null | undefined;
1435
+ visibility?: "team" | "personal" | "workspace" | undefined;
1436
+ title?: string | undefined;
1437
+ projectId?: string | null | undefined;
1438
+ startAt?: string | undefined;
1439
+ endAt?: string | undefined;
1440
+ participantIds?: string[] | undefined;
1441
+ allDay?: boolean | undefined;
1442
+ recurrenceRule?: string | null | undefined;
1443
+ recurrenceUntil?: string | null | undefined;
1444
+ autoCreateCall?: boolean | undefined;
1445
+ forUserId?: string | undefined;
1446
+ }>;
1447
+ export type EventPatch = z.infer<typeof EventPatch>;
1448
+ export declare const OccurrencePatch: z.ZodObject<{
1449
+ startAt: z.ZodOptional<z.ZodString>;
1450
+ endAt: z.ZodOptional<z.ZodString>;
1451
+ title: z.ZodOptional<z.ZodString>;
1452
+ description: z.ZodOptional<z.ZodString>;
1453
+ cancelled: z.ZodOptional<z.ZodBoolean>;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ cancelled?: boolean | undefined;
1456
+ description?: string | undefined;
1457
+ title?: string | undefined;
1458
+ startAt?: string | undefined;
1459
+ endAt?: string | undefined;
1460
+ }, {
1461
+ cancelled?: boolean | undefined;
1462
+ description?: string | undefined;
1463
+ title?: string | undefined;
1464
+ startAt?: string | undefined;
1465
+ endAt?: string | undefined;
1466
+ }>;
1467
+ export type OccurrencePatch = z.infer<typeof OccurrencePatch>;
1468
+ export declare const BoardFilters: z.ZodObject<{
1469
+ assigneeFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1470
+ priorityFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1471
+ labelFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1472
+ }, "strict", z.ZodTypeAny, {
1473
+ assigneeFilter?: string[] | undefined;
1474
+ priorityFilter?: string[] | undefined;
1475
+ labelFilter?: string[] | undefined;
1476
+ }, {
1477
+ assigneeFilter?: string[] | undefined;
1478
+ priorityFilter?: string[] | undefined;
1479
+ labelFilter?: string[] | undefined;
1480
+ }>;
1481
+ export type BoardFilters = z.infer<typeof BoardFilters>;
1482
+ export declare const ColumnOverride: z.ZodObject<{
1483
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1484
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1485
+ icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>;
1486
+ }, "strict", z.ZodTypeAny, {
1487
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1488
+ color?: string | null | undefined;
1489
+ alias?: string | null | undefined;
1490
+ }, {
1491
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1492
+ color?: string | null | undefined;
1493
+ alias?: string | null | undefined;
1494
+ }>;
1495
+ export type ColumnOverride = z.infer<typeof ColumnOverride>;
1496
+ export declare const ColumnOverrides: z.ZodRecord<z.ZodString, z.ZodObject<{
1497
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1498
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1499
+ icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>;
1500
+ }, "strict", z.ZodTypeAny, {
1501
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1502
+ color?: string | null | undefined;
1503
+ alias?: string | null | undefined;
1504
+ }, {
1505
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1506
+ color?: string | null | undefined;
1507
+ alias?: string | null | undefined;
1508
+ }>>;
1509
+ export type ColumnOverrides = z.infer<typeof ColumnOverrides>;
1510
+ export declare const BoardCreate: z.ZodObject<{
1511
+ name: z.ZodString;
1512
+ slug: z.ZodOptional<z.ZodString>;
1513
+ spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1514
+ projectIds: z.ZodArray<z.ZodString, "many">;
1515
+ includeSubprojects: z.ZodOptional<z.ZodBoolean>;
1516
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1517
+ columnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1518
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1519
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>;
1521
+ }, "strict", z.ZodTypeAny, {
1522
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1523
+ color?: string | null | undefined;
1524
+ alias?: string | null | undefined;
1525
+ }, {
1526
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1527
+ color?: string | null | undefined;
1528
+ alias?: string | null | undefined;
1529
+ }>>>;
1530
+ copyFromBoardId: z.ZodOptional<z.ZodString>;
1531
+ groupBy: z.ZodOptional<z.ZodEnum<["none", "assignee"]>>;
1532
+ filters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1533
+ assigneeFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1534
+ priorityFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1535
+ labelFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1536
+ }, "strict", z.ZodTypeAny, {
1537
+ assigneeFilter?: string[] | undefined;
1538
+ priorityFilter?: string[] | undefined;
1539
+ labelFilter?: string[] | undefined;
1540
+ }, {
1541
+ assigneeFilter?: string[] | undefined;
1542
+ priorityFilter?: string[] | undefined;
1543
+ labelFilter?: string[] | undefined;
1544
+ }>>>;
1545
+ editorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1546
+ sprintsEnabled: z.ZodOptional<z.ZodBoolean>;
1547
+ }, "strip", z.ZodTypeAny, {
1548
+ name: string;
1549
+ projectIds: string[];
1550
+ slug?: string | undefined;
1551
+ spaceId?: string | null | undefined;
1552
+ includeSubprojects?: boolean | undefined;
1553
+ columns?: string[] | undefined;
1554
+ columnOverrides?: Record<string, {
1555
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1556
+ color?: string | null | undefined;
1557
+ alias?: string | null | undefined;
1558
+ }> | undefined;
1559
+ copyFromBoardId?: string | undefined;
1560
+ groupBy?: "none" | "assignee" | undefined;
1561
+ filters?: {
1562
+ assigneeFilter?: string[] | undefined;
1563
+ priorityFilter?: string[] | undefined;
1564
+ labelFilter?: string[] | undefined;
1565
+ } | null | undefined;
1566
+ editorIds?: string[] | undefined;
1567
+ sprintsEnabled?: boolean | undefined;
1568
+ }, {
1569
+ name: string;
1570
+ projectIds: string[];
1571
+ slug?: string | undefined;
1572
+ spaceId?: string | null | undefined;
1573
+ includeSubprojects?: boolean | undefined;
1574
+ columns?: string[] | undefined;
1575
+ columnOverrides?: Record<string, {
1576
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1577
+ color?: string | null | undefined;
1578
+ alias?: string | null | undefined;
1579
+ }> | undefined;
1580
+ copyFromBoardId?: string | undefined;
1581
+ groupBy?: "none" | "assignee" | undefined;
1582
+ filters?: {
1583
+ assigneeFilter?: string[] | undefined;
1584
+ priorityFilter?: string[] | undefined;
1585
+ labelFilter?: string[] | undefined;
1586
+ } | null | undefined;
1587
+ editorIds?: string[] | undefined;
1588
+ sprintsEnabled?: boolean | undefined;
1589
+ }>;
1590
+ export type BoardCreate = z.infer<typeof BoardCreate>;
1591
+ export declare const BoardUpdate: z.ZodObject<{
1592
+ name: z.ZodOptional<z.ZodString>;
1593
+ slug: z.ZodOptional<z.ZodString>;
1594
+ spaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
+ projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1596
+ includeSubprojects: z.ZodOptional<z.ZodBoolean>;
1597
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1598
+ columnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1599
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1600
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1601
+ icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<["circle", "circle-dashed", "circle-dot", "circle-half", "circle-check", "circle-x", "circle-plus", "clock", "timer", "hourglass", "play", "pause", "package", "inbox", "archive", "arrow-right", "wrench", "eye", "flask-conical", "check", "x", "ban", "bug", "code", "search", "target", "lightbulb", "zap", "rocket", "flag"]>>>;
1602
+ }, "strict", z.ZodTypeAny, {
1603
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1604
+ color?: string | null | undefined;
1605
+ alias?: string | null | undefined;
1606
+ }, {
1607
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1608
+ color?: string | null | undefined;
1609
+ alias?: string | null | undefined;
1610
+ }>>>;
1611
+ groupBy: z.ZodOptional<z.ZodEnum<["none", "assignee"]>>;
1612
+ filters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1613
+ assigneeFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1614
+ priorityFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1615
+ labelFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1616
+ }, "strict", z.ZodTypeAny, {
1617
+ assigneeFilter?: string[] | undefined;
1618
+ priorityFilter?: string[] | undefined;
1619
+ labelFilter?: string[] | undefined;
1620
+ }, {
1621
+ assigneeFilter?: string[] | undefined;
1622
+ priorityFilter?: string[] | undefined;
1623
+ labelFilter?: string[] | undefined;
1624
+ }>>>;
1625
+ editorIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1626
+ sprintsEnabled: z.ZodOptional<z.ZodBoolean>;
1627
+ }, "strict", z.ZodTypeAny, {
1628
+ name?: string | undefined;
1629
+ slug?: string | undefined;
1630
+ spaceId?: string | null | undefined;
1631
+ projectIds?: string[] | undefined;
1632
+ includeSubprojects?: boolean | undefined;
1633
+ columns?: string[] | undefined;
1634
+ columnOverrides?: Record<string, {
1635
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1636
+ color?: string | null | undefined;
1637
+ alias?: string | null | undefined;
1638
+ }> | undefined;
1639
+ groupBy?: "none" | "assignee" | undefined;
1640
+ filters?: {
1641
+ assigneeFilter?: string[] | undefined;
1642
+ priorityFilter?: string[] | undefined;
1643
+ labelFilter?: string[] | undefined;
1644
+ } | null | undefined;
1645
+ editorIds?: string[] | undefined;
1646
+ sprintsEnabled?: boolean | undefined;
1647
+ }, {
1648
+ name?: string | undefined;
1649
+ slug?: string | undefined;
1650
+ spaceId?: string | null | undefined;
1651
+ projectIds?: string[] | undefined;
1652
+ includeSubprojects?: boolean | undefined;
1653
+ columns?: string[] | undefined;
1654
+ columnOverrides?: Record<string, {
1655
+ icon?: "code" | "circle" | "circle-dashed" | "circle-dot" | "circle-half" | "circle-check" | "circle-x" | "circle-plus" | "clock" | "timer" | "hourglass" | "play" | "pause" | "package" | "inbox" | "archive" | "arrow-right" | "wrench" | "eye" | "flask-conical" | "check" | "x" | "ban" | "bug" | "search" | "target" | "lightbulb" | "zap" | "rocket" | "flag" | null | undefined;
1656
+ color?: string | null | undefined;
1657
+ alias?: string | null | undefined;
1658
+ }> | undefined;
1659
+ groupBy?: "none" | "assignee" | undefined;
1660
+ filters?: {
1661
+ assigneeFilter?: string[] | undefined;
1662
+ priorityFilter?: string[] | undefined;
1663
+ labelFilter?: string[] | undefined;
1664
+ } | null | undefined;
1665
+ editorIds?: string[] | undefined;
1666
+ sprintsEnabled?: boolean | undefined;
1667
+ }>;
1668
+ export type BoardUpdate = z.infer<typeof BoardUpdate>;
1669
+ export declare const SprintCreate: z.ZodObject<{
1670
+ name: z.ZodOptional<z.ZodString>;
1671
+ goal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1672
+ startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
+ }, "strict", z.ZodTypeAny, {
1675
+ name?: string | undefined;
1676
+ goal?: string | null | undefined;
1677
+ startsAt?: string | null | undefined;
1678
+ endsAt?: string | null | undefined;
1679
+ }, {
1680
+ name?: string | undefined;
1681
+ goal?: string | null | undefined;
1682
+ startsAt?: string | null | undefined;
1683
+ endsAt?: string | null | undefined;
1684
+ }>;
1685
+ export type SprintCreate = z.infer<typeof SprintCreate>;
1686
+ export declare const SprintUpdate: z.ZodObject<{
1687
+ name: z.ZodOptional<z.ZodString>;
1688
+ goal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
+ startsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1690
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1691
+ }, "strict", z.ZodTypeAny, {
1692
+ name?: string | undefined;
1693
+ goal?: string | null | undefined;
1694
+ startsAt?: string | null | undefined;
1695
+ endsAt?: string | null | undefined;
1696
+ }, {
1697
+ name?: string | undefined;
1698
+ goal?: string | null | undefined;
1699
+ startsAt?: string | null | undefined;
1700
+ endsAt?: string | null | undefined;
1701
+ }>;
1702
+ export type SprintUpdate = z.infer<typeof SprintUpdate>;
1703
+ export declare const SprintComplete: z.ZodObject<{
1704
+ carryTo: z.ZodEnum<["next", "new", "backlog"]>;
1705
+ }, "strict", z.ZodTypeAny, {
1706
+ carryTo: "backlog" | "next" | "new";
1707
+ }, {
1708
+ carryTo: "backlog" | "next" | "new";
1709
+ }>;
1710
+ export type SprintComplete = z.infer<typeof SprintComplete>;
1711
+ export declare const CompositionBulk: z.ZodEffects<z.ZodObject<{
1712
+ userIds: z.ZodArray<z.ZodString, "many">;
1713
+ action: z.ZodEnum<["team.add", "team.remove", "team.setLead", "team.unsetLead", "space.add", "space.remove"]>;
1714
+ teamId: z.ZodOptional<z.ZodString>;
1715
+ spaceId: z.ZodOptional<z.ZodString>;
1716
+ }, "strict", z.ZodTypeAny, {
1717
+ userIds: string[];
1718
+ action: "team.add" | "team.remove" | "team.setLead" | "team.unsetLead" | "space.add" | "space.remove";
1719
+ spaceId?: string | undefined;
1720
+ teamId?: string | undefined;
1721
+ }, {
1722
+ userIds: string[];
1723
+ action: "team.add" | "team.remove" | "team.setLead" | "team.unsetLead" | "space.add" | "space.remove";
1724
+ spaceId?: string | undefined;
1725
+ teamId?: string | undefined;
1726
+ }>, {
1727
+ userIds: string[];
1728
+ action: "team.add" | "team.remove" | "team.setLead" | "team.unsetLead" | "space.add" | "space.remove";
1729
+ spaceId?: string | undefined;
1730
+ teamId?: string | undefined;
1731
+ }, {
1732
+ userIds: string[];
1733
+ action: "team.add" | "team.remove" | "team.setLead" | "team.unsetLead" | "space.add" | "space.remove";
1734
+ spaceId?: string | undefined;
1735
+ teamId?: string | undefined;
1736
+ }>;
1737
+ export type CompositionBulk = z.infer<typeof CompositionBulk>;
1738
+ export declare const BulkTaskUpdate: z.ZodObject<{
1739
+ taskIds: z.ZodArray<z.ZodString, "many">;
1740
+ patch: z.ZodObject<{
1741
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1742
+ sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1743
+ statusId: z.ZodOptional<z.ZodString>;
1744
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1745
+ priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
1746
+ }, "strict", z.ZodTypeAny, {
1747
+ projectId?: string | null | undefined;
1748
+ statusId?: string | undefined;
1749
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1750
+ assigneeId?: string | null | undefined;
1751
+ sprintId?: string | null | undefined;
1752
+ }, {
1753
+ projectId?: string | null | undefined;
1754
+ statusId?: string | undefined;
1755
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1756
+ assigneeId?: string | null | undefined;
1757
+ sprintId?: string | null | undefined;
1758
+ }>;
1759
+ }, "strict", z.ZodTypeAny, {
1760
+ taskIds: string[];
1761
+ patch: {
1762
+ projectId?: string | null | undefined;
1763
+ statusId?: string | undefined;
1764
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1765
+ assigneeId?: string | null | undefined;
1766
+ sprintId?: string | null | undefined;
1767
+ };
1768
+ }, {
1769
+ taskIds: string[];
1770
+ patch: {
1771
+ projectId?: string | null | undefined;
1772
+ statusId?: string | undefined;
1773
+ priority?: "urgent" | "low" | "medium" | "high" | undefined;
1774
+ assigneeId?: string | null | undefined;
1775
+ sprintId?: string | null | undefined;
1776
+ };
1777
+ }>;
1778
+ export type BulkTaskUpdate = z.infer<typeof BulkTaskUpdate>;
1779
+ export declare const BannerButton: z.ZodObject<{
1780
+ label: z.ZodString;
1781
+ variant: z.ZodEnum<["primary", "secondary"]>;
1782
+ action: z.ZodObject<{
1783
+ type: z.ZodLiteral<"navigate">;
1784
+ to: z.ZodString;
1785
+ }, "strict", z.ZodTypeAny, {
1786
+ type: "navigate";
1787
+ to: string;
1788
+ }, {
1789
+ type: "navigate";
1790
+ to: string;
1791
+ }>;
1792
+ }, "strict", z.ZodTypeAny, {
1793
+ label: string;
1794
+ action: {
1795
+ type: "navigate";
1796
+ to: string;
1797
+ };
1798
+ variant: "primary" | "secondary";
1799
+ }, {
1800
+ label: string;
1801
+ action: {
1802
+ type: "navigate";
1803
+ to: string;
1804
+ };
1805
+ variant: "primary" | "secondary";
1806
+ }>;
1807
+ export type BannerButton = z.infer<typeof BannerButton>;
1808
+ export declare const CreateBanner: z.ZodObject<{
1809
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
+ text: z.ZodString;
1811
+ buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1812
+ label: z.ZodString;
1813
+ variant: z.ZodEnum<["primary", "secondary"]>;
1814
+ action: z.ZodObject<{
1815
+ type: z.ZodLiteral<"navigate">;
1816
+ to: z.ZodString;
1817
+ }, "strict", z.ZodTypeAny, {
1818
+ type: "navigate";
1819
+ to: string;
1820
+ }, {
1821
+ type: "navigate";
1822
+ to: string;
1823
+ }>;
1824
+ }, "strict", z.ZodTypeAny, {
1825
+ label: string;
1826
+ action: {
1827
+ type: "navigate";
1828
+ to: string;
1829
+ };
1830
+ variant: "primary" | "secondary";
1831
+ }, {
1832
+ label: string;
1833
+ action: {
1834
+ type: "navigate";
1835
+ to: string;
1836
+ };
1837
+ variant: "primary" | "secondary";
1838
+ }>, "many">>;
1839
+ enabled: z.ZodOptional<z.ZodBoolean>;
1840
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1841
+ }, "strict", z.ZodTypeAny, {
1842
+ text: string;
1843
+ icon?: string | null | undefined;
1844
+ enabled?: boolean | undefined;
1845
+ buttons?: {
1846
+ label: string;
1847
+ action: {
1848
+ type: "navigate";
1849
+ to: string;
1850
+ };
1851
+ variant: "primary" | "secondary";
1852
+ }[] | undefined;
1853
+ sortOrder?: number | undefined;
1854
+ }, {
1855
+ text: string;
1856
+ icon?: string | null | undefined;
1857
+ enabled?: boolean | undefined;
1858
+ buttons?: {
1859
+ label: string;
1860
+ action: {
1861
+ type: "navigate";
1862
+ to: string;
1863
+ };
1864
+ variant: "primary" | "secondary";
1865
+ }[] | undefined;
1866
+ sortOrder?: number | undefined;
1867
+ }>;
1868
+ export type CreateBanner = z.infer<typeof CreateBanner>;
1869
+ export declare const UpdateBanner: z.ZodObject<{
1870
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1871
+ text: z.ZodOptional<z.ZodString>;
1872
+ buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1873
+ label: z.ZodString;
1874
+ variant: z.ZodEnum<["primary", "secondary"]>;
1875
+ action: z.ZodObject<{
1876
+ type: z.ZodLiteral<"navigate">;
1877
+ to: z.ZodString;
1878
+ }, "strict", z.ZodTypeAny, {
1879
+ type: "navigate";
1880
+ to: string;
1881
+ }, {
1882
+ type: "navigate";
1883
+ to: string;
1884
+ }>;
1885
+ }, "strict", z.ZodTypeAny, {
1886
+ label: string;
1887
+ action: {
1888
+ type: "navigate";
1889
+ to: string;
1890
+ };
1891
+ variant: "primary" | "secondary";
1892
+ }, {
1893
+ label: string;
1894
+ action: {
1895
+ type: "navigate";
1896
+ to: string;
1897
+ };
1898
+ variant: "primary" | "secondary";
1899
+ }>, "many">>;
1900
+ enabled: z.ZodOptional<z.ZodBoolean>;
1901
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1902
+ }, "strict", z.ZodTypeAny, {
1903
+ icon?: string | null | undefined;
1904
+ enabled?: boolean | undefined;
1905
+ text?: string | undefined;
1906
+ buttons?: {
1907
+ label: string;
1908
+ action: {
1909
+ type: "navigate";
1910
+ to: string;
1911
+ };
1912
+ variant: "primary" | "secondary";
1913
+ }[] | undefined;
1914
+ sortOrder?: number | undefined;
1915
+ }, {
1916
+ icon?: string | null | undefined;
1917
+ enabled?: boolean | undefined;
1918
+ text?: string | undefined;
1919
+ buttons?: {
1920
+ label: string;
1921
+ action: {
1922
+ type: "navigate";
1923
+ to: string;
1924
+ };
1925
+ variant: "primary" | "secondary";
1926
+ }[] | undefined;
1927
+ sortOrder?: number | undefined;
1928
+ }>;
1929
+ export type UpdateBanner = z.infer<typeof UpdateBanner>;