@imenam/mcp-organizer 1.0.10 → 1.0.12
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 +57 -19
- package/dist/shared/schemas/agent-api.schema.d.ts +40 -2
- package/dist/shared/schemas/agent-api.schema.js +12 -3
- package/dist/shared/schemas/agent-tools.schema.d.ts +373 -6
- package/dist/shared/schemas/agent-tools.schema.js +54 -3
- package/dist/shared/schemas/api.schema.d.ts +26 -0
- package/dist/shared/schemas/api.schema.js +9 -0
- package/dist/shared/schemas/entities.schema.d.ts +38 -4
- package/dist/shared/schemas/entities.schema.js +33 -5
- package/dist/shared/schemas/enums.schema.d.ts +4 -2
- package/dist/shared/schemas/enums.schema.js +2 -1
- package/dist/shared/schemas/notifications-api.schema.d.ts +29 -7
- package/dist/shared/schemas/notifications-api.schema.js +21 -5
- package/dist/shared/schemas/tasks-api.schema.d.ts +112 -0
- package/dist/shared/schemas/tasks-api.schema.js +43 -0
- package/dist/shared/schemas/views-api.schema.d.ts +8 -0
- package/dist/shared/schemas/views-api.schema.js +5 -1
- package/dist/src/agent-api/requests.d.ts +1 -1
- package/dist/src/agent-api/requests.js +56 -4
- package/dist/src/agent-api/router.js +2 -1
- package/dist/src/agent-api/views.d.ts +2 -0
- package/dist/src/agent-api/views.js +203 -0
- package/dist/src/core/agent.d.ts +5 -1
- package/dist/src/core/agent.js +61 -2
- package/dist/src/core/board-views.d.ts +11 -1
- package/dist/src/core/board-views.js +39 -15
- package/dist/src/core/follow-ups.d.ts +7 -0
- package/dist/src/core/follow-ups.js +15 -0
- package/dist/src/core/history.d.ts +2 -1
- package/dist/src/core/history.js +62 -3
- package/dist/src/core/migrations.js +482 -421
- package/dist/src/core/notifications.js +36 -9
- package/dist/src/core/requests.d.ts +10 -1
- package/dist/src/core/requests.js +41 -3
- package/dist/src/core/snapshots.d.ts +4 -4
- package/dist/src/core/snapshots.js +6 -2
- package/dist/src/core/spaces.d.ts +2 -2
- package/dist/src/core/spaces.js +12 -6
- package/dist/src/core/store.d.ts +45 -6
- package/dist/src/core/store.js +214 -75
- package/dist/src/core/tasks.d.ts +22 -2
- package/dist/src/core/tasks.js +121 -12
- package/dist/src/gui-api.js +14 -4
- package/dist/src/mcp/start.d.ts +1 -1
- package/dist/src/mcp/start.js +4 -3
- package/dist/src/mcp/tools.js +86 -2
- package/dist/src/server/runner.js +4 -18
- package/gui/dist/assets/index-CVwckTU6.css +1 -0
- package/gui/dist/assets/index-G5uiHeLf.js +99 -0
- package/gui/dist/index.html +3 -3
- package/package.json +1 -1
- package/gui/dist/assets/index-CsMeMdCn.css +0 -1
- package/gui/dist/assets/index-DAGRLFSo.js +0 -98
|
@@ -72,6 +72,8 @@ export declare const NotificationPreferencesSchema: z.ZodObject<{
|
|
|
72
72
|
notifyAssignEmail: z.ZodBoolean;
|
|
73
73
|
notifyCommentApp: z.ZodBoolean;
|
|
74
74
|
notifyCommentEmail: z.ZodBoolean;
|
|
75
|
+
notifyFollowUpApp: z.ZodBoolean;
|
|
76
|
+
notifyFollowUpEmail: z.ZodBoolean;
|
|
75
77
|
}, z.core.$strip>;
|
|
76
78
|
export type NotificationPreferences = z.infer<typeof NotificationPreferencesSchema>;
|
|
77
79
|
export declare const UserSettingsSchema: z.ZodObject<{
|
|
@@ -79,6 +81,8 @@ export declare const UserSettingsSchema: z.ZodObject<{
|
|
|
79
81
|
notifyAssignEmail: z.ZodBoolean;
|
|
80
82
|
notifyCommentApp: z.ZodBoolean;
|
|
81
83
|
notifyCommentEmail: z.ZodBoolean;
|
|
84
|
+
notifyFollowUpApp: z.ZodBoolean;
|
|
85
|
+
notifyFollowUpEmail: z.ZodBoolean;
|
|
82
86
|
userId: z.ZodString;
|
|
83
87
|
assistantHistory: z.ZodNumber;
|
|
84
88
|
}, z.core.$strip>;
|
|
@@ -89,6 +93,8 @@ export declare const SpaceNotificationSettingsSchema: z.ZodObject<{
|
|
|
89
93
|
notifyAssignEmail: z.ZodBoolean;
|
|
90
94
|
notifyCommentApp: z.ZodBoolean;
|
|
91
95
|
notifyCommentEmail: z.ZodBoolean;
|
|
96
|
+
notifyFollowUpApp: z.ZodBoolean;
|
|
97
|
+
notifyFollowUpEmail: z.ZodBoolean;
|
|
92
98
|
userId: z.ZodString;
|
|
93
99
|
spaceId: z.ZodString;
|
|
94
100
|
}, z.core.$strip>;
|
|
@@ -232,6 +238,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
|
232
238
|
createdAt: z.ZodISODateTime;
|
|
233
239
|
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
234
240
|
requestId: z.ZodNullable<z.ZodString>;
|
|
241
|
+
replyToCommentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
235
242
|
}, z.core.$strip>;
|
|
236
243
|
export type Comment = z.infer<typeof CommentSchema>;
|
|
237
244
|
export declare const AttachmentSchema: z.ZodObject<{
|
|
@@ -263,8 +270,10 @@ export type Idea = z.infer<typeof IdeaSchema>;
|
|
|
263
270
|
export declare const MAX_BOARD_VIEW_NAME_LENGTH = 40;
|
|
264
271
|
/**
|
|
265
272
|
* Vue du tableau de bord d'un membre dans un espace : disposition, regroupements
|
|
266
|
-
* et filtres sur le statut
|
|
267
|
-
* filtre vide garde toutes les valeurs
|
|
273
|
+
* et filtres sur le statut, la priorité et les assignés des tâches de premier
|
|
274
|
+
* niveau. Un filtre vide garde toutes les valeurs ; le filtre des assignés
|
|
275
|
+
* garde les tâches assignées à au moins un des membres choisis et, avec
|
|
276
|
+
* `unassigned`, les tâches sans assigné. `groupBy` forme les colonnes d'un Kanban
|
|
268
277
|
* ou d'une matrice et les sections d'une liste ; `thenBy` forme les lignes d'une
|
|
269
278
|
* matrice et les sous-sections d'une liste.
|
|
270
279
|
*/
|
|
@@ -301,6 +310,8 @@ export declare const BoardViewSchema: z.ZodObject<{
|
|
|
301
310
|
low: "low";
|
|
302
311
|
medium: "medium";
|
|
303
312
|
}>>;
|
|
313
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
314
|
+
unassigned: z.ZodBoolean;
|
|
304
315
|
position: z.ZodNumber;
|
|
305
316
|
createdAt: z.ZodISODateTime;
|
|
306
317
|
updatedAt: z.ZodISODateTime;
|
|
@@ -328,8 +339,9 @@ export declare const AgentRequestSchema: z.ZodObject<{
|
|
|
328
339
|
processing: "processing";
|
|
329
340
|
}>;
|
|
330
341
|
reply: z.ZodNullable<z.ZodString>;
|
|
331
|
-
followUps: z.ZodArray<z.ZodString>;
|
|
332
342
|
failureReason: z.ZodNullable<z.ZodString>;
|
|
343
|
+
parentRequestId: z.ZodNullable<z.ZodString>;
|
|
344
|
+
commentId: z.ZodNullable<z.ZodString>;
|
|
333
345
|
createdAt: z.ZodISODateTime;
|
|
334
346
|
updatedAt: z.ZodISODateTime;
|
|
335
347
|
claimedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -340,6 +352,21 @@ export declare const AgentRequestSchema: z.ZodObject<{
|
|
|
340
352
|
stoppedBy: z.ZodNullable<z.ZodString>;
|
|
341
353
|
}, z.core.$strip>;
|
|
342
354
|
export type AgentRequest = z.infer<typeof AgentRequestSchema>;
|
|
355
|
+
/**
|
|
356
|
+
* Point que l'auteur d'une demande doit régler, laissé par l'agent en la
|
|
357
|
+
* terminant. Un membre de l'espace le coche (`doneBy`), ou l'agent qui traite
|
|
358
|
+
* une suite de la demande (`doneByRequestId`).
|
|
359
|
+
*/
|
|
360
|
+
export declare const FollowUpSchema: z.ZodObject<{
|
|
361
|
+
id: z.ZodString;
|
|
362
|
+
requestId: z.ZodString;
|
|
363
|
+
position: z.ZodNumber;
|
|
364
|
+
text: z.ZodString;
|
|
365
|
+
doneAt: z.ZodNullable<z.ZodISODateTime>;
|
|
366
|
+
doneBy: z.ZodNullable<z.ZodString>;
|
|
367
|
+
doneByRequestId: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
export type FollowUp = z.infer<typeof FollowUpSchema>;
|
|
343
370
|
export declare const AgentActionSchema: z.ZodObject<{
|
|
344
371
|
id: z.ZodString;
|
|
345
372
|
requestId: z.ZodString;
|
|
@@ -353,6 +380,7 @@ export declare const AgentActionSchema: z.ZodObject<{
|
|
|
353
380
|
board_view: "board_view";
|
|
354
381
|
checklist_item: "checklist_item";
|
|
355
382
|
comment: "comment";
|
|
383
|
+
follow_up: "follow_up";
|
|
356
384
|
idea: "idea";
|
|
357
385
|
invitation: "invitation";
|
|
358
386
|
membership: "membership";
|
|
@@ -511,8 +539,9 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
511
539
|
type: z.ZodEnum<{
|
|
512
540
|
assigned: "assigned";
|
|
513
541
|
comment: "comment";
|
|
542
|
+
follow_ups: "follow_ups";
|
|
514
543
|
}>;
|
|
515
|
-
taskId: z.ZodString
|
|
544
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
516
545
|
actorType: z.ZodEnum<{
|
|
517
546
|
agent: "agent";
|
|
518
547
|
user: "user";
|
|
@@ -541,6 +570,7 @@ export declare const ChangeSchema: z.ZodObject<{
|
|
|
541
570
|
board_view: "board_view";
|
|
542
571
|
checklist_item: "checklist_item";
|
|
543
572
|
comment: "comment";
|
|
573
|
+
follow_up: "follow_up";
|
|
544
574
|
idea: "idea";
|
|
545
575
|
invitation: "invitation";
|
|
546
576
|
membership: "membership";
|
|
@@ -556,6 +586,10 @@ export declare const ChangeSchema: z.ZodObject<{
|
|
|
556
586
|
}>;
|
|
557
587
|
entityId: z.ZodString;
|
|
558
588
|
taskId: z.ZodNullable<z.ZodString>;
|
|
589
|
+
actorType: z.ZodNullable<z.ZodEnum<{
|
|
590
|
+
agent: "agent";
|
|
591
|
+
user: "user";
|
|
592
|
+
}>>;
|
|
559
593
|
at: z.ZodISODateTime;
|
|
560
594
|
}, z.core.$strip>;
|
|
561
595
|
export type Change = z.infer<typeof ChangeSchema>;
|
|
@@ -70,6 +70,9 @@ export const NotificationPreferencesSchema = z.object({
|
|
|
70
70
|
notifyAssignEmail: z.boolean(),
|
|
71
71
|
notifyCommentApp: z.boolean(),
|
|
72
72
|
notifyCommentEmail: z.boolean(),
|
|
73
|
+
/** Demande de l'utilisateur traitée par l'agent avec des points à régler. */
|
|
74
|
+
notifyFollowUpApp: z.boolean(),
|
|
75
|
+
notifyFollowUpEmail: z.boolean(),
|
|
73
76
|
});
|
|
74
77
|
export const UserSettingsSchema = NotificationPreferencesSchema.extend({
|
|
75
78
|
userId: IdSchema,
|
|
@@ -179,6 +182,8 @@ export const CommentSchema = z.object({
|
|
|
179
182
|
editedAt: TimestampSchema.nullable(),
|
|
180
183
|
/** Demande pour laquelle l'agent a écrit le commentaire, au nom de son auteur ; null pour un commentaire d'utilisateur. */
|
|
181
184
|
requestId: IdSchema.nullable(),
|
|
185
|
+
/** Commentaire auquel l'agent répond : celui qui lui a confié la demande ; null sinon (et dans les instantanés antérieurs à ce champ). */
|
|
186
|
+
replyToCommentId: IdSchema.nullable().default(null),
|
|
182
187
|
});
|
|
183
188
|
export const AttachmentSchema = z.object({
|
|
184
189
|
id: IdSchema,
|
|
@@ -204,8 +209,10 @@ export const IdeaSchema = z.object({
|
|
|
204
209
|
export const MAX_BOARD_VIEW_NAME_LENGTH = 40;
|
|
205
210
|
/**
|
|
206
211
|
* Vue du tableau de bord d'un membre dans un espace : disposition, regroupements
|
|
207
|
-
* et filtres sur le statut
|
|
208
|
-
* filtre vide garde toutes les valeurs
|
|
212
|
+
* et filtres sur le statut, la priorité et les assignés des tâches de premier
|
|
213
|
+
* niveau. Un filtre vide garde toutes les valeurs ; le filtre des assignés
|
|
214
|
+
* garde les tâches assignées à au moins un des membres choisis et, avec
|
|
215
|
+
* `unassigned`, les tâches sans assigné. `groupBy` forme les colonnes d'un Kanban
|
|
209
216
|
* ou d'une matrice et les sections d'une liste ; `thenBy` forme les lignes d'une
|
|
210
217
|
* matrice et les sous-sections d'une liste.
|
|
211
218
|
*/
|
|
@@ -221,6 +228,8 @@ export const BoardViewSchema = z
|
|
|
221
228
|
showEmptyGroups: z.boolean(),
|
|
222
229
|
statuses: z.array(TaskStatusSchema),
|
|
223
230
|
priorities: z.array(TaskPrioritySchema),
|
|
231
|
+
assigneeIds: z.array(IdSchema),
|
|
232
|
+
unassigned: z.boolean(),
|
|
224
233
|
position: PositionSchema,
|
|
225
234
|
createdAt: TimestampSchema,
|
|
226
235
|
updatedAt: TimestampSchema,
|
|
@@ -243,9 +252,11 @@ export const AgentRequestSchema = z.object({
|
|
|
243
252
|
text: z.string().trim().min(1),
|
|
244
253
|
status: RequestStatusSchema,
|
|
245
254
|
reply: z.string().nullable(),
|
|
246
|
-
/** Points que l'auteur doit encore régler, laissés par l'agent en terminant la demande ; vide quand tout est traité. */
|
|
247
|
-
followUps: z.array(z.string().trim().min(1)),
|
|
248
255
|
failureReason: z.string().nullable(),
|
|
256
|
+
/** Demande d'origine dont celle-ci est une suite ; null pour une demande d'origine. */
|
|
257
|
+
parentRequestId: IdSchema.nullable(),
|
|
258
|
+
/** Commentaire de tâche qui a confié la demande à l'agent (mention @agent) ; null sinon. */
|
|
259
|
+
commentId: IdSchema.nullable(),
|
|
249
260
|
createdAt: TimestampSchema,
|
|
250
261
|
updatedAt: TimestampSchema,
|
|
251
262
|
claimedAt: TimestampSchema.nullable(),
|
|
@@ -257,6 +268,20 @@ export const AgentRequestSchema = z.object({
|
|
|
257
268
|
stoppedAt: TimestampSchema.nullable(),
|
|
258
269
|
stoppedBy: IdSchema.nullable(),
|
|
259
270
|
});
|
|
271
|
+
/**
|
|
272
|
+
* Point que l'auteur d'une demande doit régler, laissé par l'agent en la
|
|
273
|
+
* terminant. Un membre de l'espace le coche (`doneBy`), ou l'agent qui traite
|
|
274
|
+
* une suite de la demande (`doneByRequestId`).
|
|
275
|
+
*/
|
|
276
|
+
export const FollowUpSchema = z.object({
|
|
277
|
+
id: IdSchema,
|
|
278
|
+
requestId: IdSchema,
|
|
279
|
+
position: z.number().int().min(1),
|
|
280
|
+
text: z.string().trim().min(1),
|
|
281
|
+
doneAt: TimestampSchema.nullable(),
|
|
282
|
+
doneBy: IdSchema.nullable(),
|
|
283
|
+
doneByRequestId: IdSchema.nullable(),
|
|
284
|
+
});
|
|
260
285
|
export const AgentActionSchema = z.object({
|
|
261
286
|
id: IdSchema,
|
|
262
287
|
requestId: IdSchema,
|
|
@@ -302,7 +327,8 @@ export const NotificationSchema = z.object({
|
|
|
302
327
|
id: IdSchema,
|
|
303
328
|
userId: IdSchema,
|
|
304
329
|
type: NotificationTypeSchema,
|
|
305
|
-
|
|
330
|
+
/** Tâche concernée ; null pour une notification sur une demande (`follow_ups`). */
|
|
331
|
+
taskId: IdSchema.nullable(),
|
|
306
332
|
actorType: ActorTypeSchema,
|
|
307
333
|
actorId: IdSchema.nullable(),
|
|
308
334
|
requestId: IdSchema.nullable(),
|
|
@@ -323,5 +349,7 @@ export const ChangeSchema = z.object({
|
|
|
323
349
|
entityId: IdSchema,
|
|
324
350
|
/** Tâche concernée : la tâche modifiée, ou celle qui porte l'élément modifié (checklist, commentaire…). */
|
|
325
351
|
taskId: IdSchema.nullable(),
|
|
352
|
+
/** Auteur du changement : un utilisateur ou l'agent ; null quand il n'est pas connu. */
|
|
353
|
+
actorType: ActorTypeSchema.nullable(),
|
|
326
354
|
at: TimestampSchema,
|
|
327
355
|
});
|
|
@@ -113,14 +113,15 @@ export declare const ActorTypeSchema: z.ZodEnum<{
|
|
|
113
113
|
user: "user";
|
|
114
114
|
}>;
|
|
115
115
|
export type ActorType = z.infer<typeof ActorTypeSchema>;
|
|
116
|
-
export declare const NOTIFICATION_TYPES: readonly ["assigned", "comment"];
|
|
116
|
+
export declare const NOTIFICATION_TYPES: readonly ["assigned", "comment", "follow_ups"];
|
|
117
117
|
export declare const NotificationTypeSchema: z.ZodEnum<{
|
|
118
118
|
assigned: "assigned";
|
|
119
119
|
comment: "comment";
|
|
120
|
+
follow_ups: "follow_ups";
|
|
120
121
|
}>;
|
|
121
122
|
export type NotificationType = z.infer<typeof NotificationTypeSchema>;
|
|
122
123
|
/** Types d'entités nommés dans le journal `Change`, les versions et les actions de l'agent. */
|
|
123
|
-
export declare const ENTITY_TYPES: readonly ["user", "user_settings", "space", "membership", "invitation", "task", "tag", "checklist_item", "test_checkpoint", "test_result", "test_review", "comment", "attachment", "idea", "agent_request", "agent_action", "agent_token", "notification", "board_view", "agent_instructions"];
|
|
124
|
+
export declare const ENTITY_TYPES: readonly ["user", "user_settings", "space", "membership", "invitation", "task", "tag", "checklist_item", "test_checkpoint", "test_result", "test_review", "comment", "attachment", "idea", "agent_request", "agent_action", "follow_up", "agent_token", "notification", "board_view", "agent_instructions"];
|
|
124
125
|
export declare const EntityTypeSchema: z.ZodEnum<{
|
|
125
126
|
agent_action: "agent_action";
|
|
126
127
|
agent_instructions: "agent_instructions";
|
|
@@ -130,6 +131,7 @@ export declare const EntityTypeSchema: z.ZodEnum<{
|
|
|
130
131
|
board_view: "board_view";
|
|
131
132
|
checklist_item: "checklist_item";
|
|
132
133
|
comment: "comment";
|
|
134
|
+
follow_up: "follow_up";
|
|
133
135
|
idea: "idea";
|
|
134
136
|
invitation: "invitation";
|
|
135
137
|
membership: "membership";
|
|
@@ -35,7 +35,7 @@ export const AGENT_OPERATIONS = ["create", "update", "delete", "move", "assign"]
|
|
|
35
35
|
export const AgentOperationSchema = z.enum(AGENT_OPERATIONS);
|
|
36
36
|
export const ACTOR_TYPES = ["user", "agent"];
|
|
37
37
|
export const ActorTypeSchema = z.enum(ACTOR_TYPES);
|
|
38
|
-
export const NOTIFICATION_TYPES = ["assigned", "comment"];
|
|
38
|
+
export const NOTIFICATION_TYPES = ["assigned", "comment", "follow_ups"];
|
|
39
39
|
export const NotificationTypeSchema = z.enum(NOTIFICATION_TYPES);
|
|
40
40
|
/** Types d'entités nommés dans le journal `Change`, les versions et les actions de l'agent. */
|
|
41
41
|
export const ENTITY_TYPES = [
|
|
@@ -55,6 +55,7 @@ export const ENTITY_TYPES = [
|
|
|
55
55
|
"idea",
|
|
56
56
|
"agent_request",
|
|
57
57
|
"agent_action",
|
|
58
|
+
"follow_up",
|
|
58
59
|
"agent_token",
|
|
59
60
|
"notification",
|
|
60
61
|
"board_view",
|
|
@@ -3,16 +3,25 @@ import { z } from "zod";
|
|
|
3
3
|
/** Nombre de notifications renvoyées par défaut, et au plus, par page. */
|
|
4
4
|
export declare const NOTIFICATIONS_PAGE_SIZE = 20;
|
|
5
5
|
export declare const MAX_NOTIFICATIONS_PAGE_SIZE = 50;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Notification telle que l'affiche le menu de la cloche : sur une tâche
|
|
8
|
+
* (assignation, commentaire), ou sur une demande traitée avec des points à
|
|
9
|
+
* régler (`follow_ups`).
|
|
10
|
+
*/
|
|
7
11
|
export declare const NotificationViewSchema: z.ZodObject<{
|
|
8
12
|
id: z.ZodString;
|
|
9
13
|
type: z.ZodEnum<{
|
|
10
14
|
assigned: "assigned";
|
|
11
15
|
comment: "comment";
|
|
16
|
+
follow_ups: "follow_ups";
|
|
12
17
|
}>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
spaceId: z.ZodString;
|
|
19
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
taskKey: z.ZodNullable<z.ZodString>;
|
|
21
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
22
|
+
requestId: z.ZodNullable<z.ZodString>;
|
|
23
|
+
requestExcerpt: z.ZodNullable<z.ZodString>;
|
|
24
|
+
openFollowUps: z.ZodNullable<z.ZodNumber>;
|
|
16
25
|
actorType: z.ZodEnum<{
|
|
17
26
|
agent: "agent";
|
|
18
27
|
user: "user";
|
|
@@ -33,10 +42,15 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
|
|
|
33
42
|
type: z.ZodEnum<{
|
|
34
43
|
assigned: "assigned";
|
|
35
44
|
comment: "comment";
|
|
45
|
+
follow_ups: "follow_ups";
|
|
36
46
|
}>;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
47
|
+
spaceId: z.ZodString;
|
|
48
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
49
|
+
taskKey: z.ZodNullable<z.ZodString>;
|
|
50
|
+
taskTitle: z.ZodNullable<z.ZodString>;
|
|
51
|
+
requestId: z.ZodNullable<z.ZodString>;
|
|
52
|
+
requestExcerpt: z.ZodNullable<z.ZodString>;
|
|
53
|
+
openFollowUps: z.ZodNullable<z.ZodNumber>;
|
|
40
54
|
actorType: z.ZodEnum<{
|
|
41
55
|
agent: "agent";
|
|
42
56
|
user: "user";
|
|
@@ -68,6 +82,8 @@ export declare const SettingsResponseSchema: z.ZodObject<{
|
|
|
68
82
|
notifyAssignEmail: z.ZodBoolean;
|
|
69
83
|
notifyCommentApp: z.ZodBoolean;
|
|
70
84
|
notifyCommentEmail: z.ZodBoolean;
|
|
85
|
+
notifyFollowUpApp: z.ZodBoolean;
|
|
86
|
+
notifyFollowUpEmail: z.ZodBoolean;
|
|
71
87
|
assistantHistory: z.ZodNumber;
|
|
72
88
|
email: z.ZodObject<{
|
|
73
89
|
enabled: z.ZodBoolean;
|
|
@@ -84,6 +100,8 @@ export declare const UpdateSettingsRequestSchema: z.ZodObject<{
|
|
|
84
100
|
notifyAssignEmail: z.ZodOptional<z.ZodBoolean>;
|
|
85
101
|
notifyCommentApp: z.ZodOptional<z.ZodBoolean>;
|
|
86
102
|
notifyCommentEmail: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
notifyFollowUpApp: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
notifyFollowUpEmail: z.ZodOptional<z.ZodBoolean>;
|
|
87
105
|
assistantHistory: z.ZodOptional<z.ZodNumber>;
|
|
88
106
|
}, z.core.$strict>;
|
|
89
107
|
export type UpdateSettingsRequest = z.infer<typeof UpdateSettingsRequestSchema>;
|
|
@@ -96,6 +114,8 @@ export declare const SpaceNotificationSettingsResponseSchema: z.ZodObject<{
|
|
|
96
114
|
notifyAssignEmail: z.ZodBoolean;
|
|
97
115
|
notifyCommentApp: z.ZodBoolean;
|
|
98
116
|
notifyCommentEmail: z.ZodBoolean;
|
|
117
|
+
notifyFollowUpApp: z.ZodBoolean;
|
|
118
|
+
notifyFollowUpEmail: z.ZodBoolean;
|
|
99
119
|
custom: z.ZodBoolean;
|
|
100
120
|
email: z.ZodObject<{
|
|
101
121
|
enabled: z.ZodBoolean;
|
|
@@ -113,6 +133,8 @@ export declare const UpdateSpaceNotificationSettingsRequestSchema: z.ZodObject<{
|
|
|
113
133
|
notifyAssignEmail: z.ZodOptional<z.ZodBoolean>;
|
|
114
134
|
notifyCommentApp: z.ZodOptional<z.ZodBoolean>;
|
|
115
135
|
notifyCommentEmail: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
notifyFollowUpApp: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
notifyFollowUpEmail: z.ZodOptional<z.ZodBoolean>;
|
|
116
138
|
custom: z.ZodBoolean;
|
|
117
139
|
}, z.core.$strict>;
|
|
118
140
|
export type UpdateSpaceNotificationSettingsRequest = z.infer<typeof UpdateSpaceNotificationSettingsRequestSchema>;
|
|
@@ -5,14 +5,25 @@ import { AssistantHistorySchema, IdSchema, NotificationPreferencesSchema, Timest
|
|
|
5
5
|
/** Nombre de notifications renvoyées par défaut, et au plus, par page. */
|
|
6
6
|
export const NOTIFICATIONS_PAGE_SIZE = 20;
|
|
7
7
|
export const MAX_NOTIFICATIONS_PAGE_SIZE = 50;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Notification telle que l'affiche le menu de la cloche : sur une tâche
|
|
10
|
+
* (assignation, commentaire), ou sur une demande traitée avec des points à
|
|
11
|
+
* régler (`follow_ups`).
|
|
12
|
+
*/
|
|
9
13
|
export const NotificationViewSchema = z.object({
|
|
10
14
|
id: IdSchema,
|
|
11
15
|
type: NotificationTypeSchema,
|
|
12
|
-
|
|
16
|
+
/** Espace de la tâche ou de la demande. */
|
|
17
|
+
spaceId: IdSchema,
|
|
18
|
+
taskId: IdSchema.nullable(),
|
|
13
19
|
/** Identifiant lisible de la tâche : `ORG-41`. */
|
|
14
|
-
taskKey: z.string(),
|
|
15
|
-
taskTitle: z.string(),
|
|
20
|
+
taskKey: z.string().nullable(),
|
|
21
|
+
taskTitle: z.string().nullable(),
|
|
22
|
+
requestId: IdSchema.nullable(),
|
|
23
|
+
/** Début du texte de la demande, abrégé. */
|
|
24
|
+
requestExcerpt: z.string().nullable(),
|
|
25
|
+
/** Points de la demande encore à régler. */
|
|
26
|
+
openFollowUps: z.number().int().min(0).nullable(),
|
|
16
27
|
actorType: ActorTypeSchema,
|
|
17
28
|
actorId: IdSchema.nullable(),
|
|
18
29
|
/** Nom affiché de l'utilisateur à l'origine de la notification ; null pour l'agent. */
|
|
@@ -42,6 +53,8 @@ export const SettingsResponseSchema = z.object({
|
|
|
42
53
|
notifyAssignEmail: z.boolean(),
|
|
43
54
|
notifyCommentApp: z.boolean(),
|
|
44
55
|
notifyCommentEmail: z.boolean(),
|
|
56
|
+
notifyFollowUpApp: z.boolean(),
|
|
57
|
+
notifyFollowUpEmail: z.boolean(),
|
|
45
58
|
/** Nombre d'échanges précédents transmis à l'agent avec un message de l'assistant. */
|
|
46
59
|
assistantHistory: AssistantHistorySchema,
|
|
47
60
|
/** Envoi des e-mails de notification : `reason` dit pourquoi il n'a pas lieu. */
|
|
@@ -55,6 +68,8 @@ export const UpdateSettingsRequestSchema = z
|
|
|
55
68
|
notifyAssignEmail: z.boolean().optional(),
|
|
56
69
|
notifyCommentApp: z.boolean().optional(),
|
|
57
70
|
notifyCommentEmail: z.boolean().optional(),
|
|
71
|
+
notifyFollowUpApp: z.boolean().optional(),
|
|
72
|
+
notifyFollowUpEmail: z.boolean().optional(),
|
|
58
73
|
assistantHistory: AssistantHistorySchema.optional(),
|
|
59
74
|
})
|
|
60
75
|
.strict()
|
|
@@ -76,4 +91,5 @@ export const SpaceNotificationSettingsResponseSchema = NotificationPreferencesSc
|
|
|
76
91
|
export const UpdateSpaceNotificationSettingsRequestSchema = NotificationPreferencesSchema.partial()
|
|
77
92
|
.extend({ custom: z.boolean() })
|
|
78
93
|
.strict()
|
|
79
|
-
.refine((patch) => patch.custom ||
|
|
94
|
+
.refine((patch) => patch.custom ||
|
|
95
|
+
[patch.notifyAssignApp, patch.notifyAssignEmail, patch.notifyCommentApp, patch.notifyCommentEmail, patch.notifyFollowUpApp, patch.notifyFollowUpEmail].every((value) => value === undefined), "Un espace qui suit les préférences du compte n'a pas de préférences propres.");
|
|
@@ -91,6 +91,22 @@ export declare const TaskFiltersSchema: z.ZodObject<{
|
|
|
91
91
|
tag: z.ZodOptional<z.ZodString>;
|
|
92
92
|
}, z.core.$strip>;
|
|
93
93
|
export type TaskFilters = z.infer<typeof TaskFiltersSchema>;
|
|
94
|
+
/** Avancement d'un espace sur ses tâches de premier niveau, sans tenir compte des filtres. */
|
|
95
|
+
export declare const BoardProgressSchema: z.ZodObject<{
|
|
96
|
+
byStatus: z.ZodRecord<z.ZodEnum<{
|
|
97
|
+
doing: "doing";
|
|
98
|
+
done: "done";
|
|
99
|
+
review: "review";
|
|
100
|
+
todo: "todo";
|
|
101
|
+
}>, z.ZodNumber>;
|
|
102
|
+
remainingByPriority: z.ZodRecord<z.ZodEnum<{
|
|
103
|
+
critical: "critical";
|
|
104
|
+
high: "high";
|
|
105
|
+
low: "low";
|
|
106
|
+
medium: "medium";
|
|
107
|
+
}>, z.ZodNumber>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export type BoardProgress = z.infer<typeof BoardProgressSchema>;
|
|
94
110
|
export declare const BoardResponseSchema: z.ZodObject<{
|
|
95
111
|
spaceId: z.ZodString;
|
|
96
112
|
members: z.ZodArray<z.ZodObject<{
|
|
@@ -142,6 +158,20 @@ export declare const BoardResponseSchema: z.ZodObject<{
|
|
|
142
158
|
}, z.core.$strip>>;
|
|
143
159
|
children: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>;
|
|
144
160
|
}, z.core.$strip>>;
|
|
161
|
+
progress: z.ZodObject<{
|
|
162
|
+
byStatus: z.ZodRecord<z.ZodEnum<{
|
|
163
|
+
doing: "doing";
|
|
164
|
+
done: "done";
|
|
165
|
+
review: "review";
|
|
166
|
+
todo: "todo";
|
|
167
|
+
}>, z.ZodNumber>;
|
|
168
|
+
remainingByPriority: z.ZodRecord<z.ZodEnum<{
|
|
169
|
+
critical: "critical";
|
|
170
|
+
high: "high";
|
|
171
|
+
low: "low";
|
|
172
|
+
medium: "medium";
|
|
173
|
+
}>, z.ZodNumber>;
|
|
174
|
+
}, z.core.$strip>;
|
|
145
175
|
}, z.core.$strip>;
|
|
146
176
|
export type BoardResponse = z.infer<typeof BoardResponseSchema>;
|
|
147
177
|
export declare const TaskViewSchema: z.ZodObject<{
|
|
@@ -183,6 +213,10 @@ export declare const TaskRefSchema: z.ZodObject<{
|
|
|
183
213
|
title: z.ZodString;
|
|
184
214
|
}, z.core.$strip>;
|
|
185
215
|
export type TaskRef = z.infer<typeof TaskRefSchema>;
|
|
216
|
+
/** `GET task-keys/:key` : espace du texte où la clé est écrite, préféré parmi ceux qui portent son préfixe. */
|
|
217
|
+
export declare const TaskKeyQuerySchema: z.ZodObject<{
|
|
218
|
+
spaceId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, z.core.$strict>;
|
|
186
220
|
export declare const ChecklistItemViewSchema: z.ZodObject<{
|
|
187
221
|
id: z.ZodString;
|
|
188
222
|
text: z.ZodString;
|
|
@@ -190,6 +224,15 @@ export declare const ChecklistItemViewSchema: z.ZodObject<{
|
|
|
190
224
|
position: z.ZodNumber;
|
|
191
225
|
}, z.core.$strip>;
|
|
192
226
|
export type ChecklistItemView = z.infer<typeof ChecklistItemViewSchema>;
|
|
227
|
+
/** Point à régler d'une demande traitée, tel que l'affichent la page Agent, sa modale et les commentaires d'une tâche. */
|
|
228
|
+
export declare const FollowUpViewSchema: z.ZodObject<{
|
|
229
|
+
id: z.ZodString;
|
|
230
|
+
text: z.ZodString;
|
|
231
|
+
doneAt: z.ZodNullable<z.ZodISODateTime>;
|
|
232
|
+
doneByName: z.ZodNullable<z.ZodString>;
|
|
233
|
+
doneByRequestId: z.ZodNullable<z.ZodString>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
export type FollowUpView = z.infer<typeof FollowUpViewSchema>;
|
|
193
236
|
export declare const CommentViewSchema: z.ZodObject<{
|
|
194
237
|
id: z.ZodString;
|
|
195
238
|
authorId: z.ZodString;
|
|
@@ -198,6 +241,38 @@ export declare const CommentViewSchema: z.ZodObject<{
|
|
|
198
241
|
createdAt: z.ZodISODateTime;
|
|
199
242
|
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
200
243
|
byAgent: z.ZodBoolean;
|
|
244
|
+
agentRequest: z.ZodNullable<z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
status: z.ZodEnum<{
|
|
247
|
+
cancelled: "cancelled";
|
|
248
|
+
done: "done";
|
|
249
|
+
failed: "failed";
|
|
250
|
+
pending: "pending";
|
|
251
|
+
processing: "processing";
|
|
252
|
+
}>;
|
|
253
|
+
failureReason: z.ZodNullable<z.ZodString>;
|
|
254
|
+
stopped: z.ZodBoolean;
|
|
255
|
+
openFollowUps: z.ZodNumber;
|
|
256
|
+
canCancel: z.ZodBoolean;
|
|
257
|
+
canRelaunch: z.ZodBoolean;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
replyTo: z.ZodNullable<z.ZodObject<{
|
|
260
|
+
commentId: z.ZodString;
|
|
261
|
+
authorName: z.ZodString;
|
|
262
|
+
excerpt: z.ZodString;
|
|
263
|
+
}, z.core.$strip>>;
|
|
264
|
+
reply: z.ZodNullable<z.ZodObject<{
|
|
265
|
+
requestId: z.ZodString;
|
|
266
|
+
followUps: z.ZodArray<z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
text: z.ZodString;
|
|
269
|
+
doneAt: z.ZodNullable<z.ZodISODateTime>;
|
|
270
|
+
doneByName: z.ZodNullable<z.ZodString>;
|
|
271
|
+
doneByRequestId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
}, z.core.$strip>>;
|
|
273
|
+
liveActions: z.ZodNumber;
|
|
274
|
+
canUndo: z.ZodBoolean;
|
|
275
|
+
}, z.core.$strip>>;
|
|
201
276
|
}, z.core.$strip>;
|
|
202
277
|
export type CommentView = z.infer<typeof CommentViewSchema>;
|
|
203
278
|
export declare const AttachmentViewSchema: z.ZodObject<{
|
|
@@ -497,6 +572,38 @@ export declare const TaskDetailResponseSchema: z.ZodObject<{
|
|
|
497
572
|
createdAt: z.ZodISODateTime;
|
|
498
573
|
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
499
574
|
byAgent: z.ZodBoolean;
|
|
575
|
+
agentRequest: z.ZodNullable<z.ZodObject<{
|
|
576
|
+
id: z.ZodString;
|
|
577
|
+
status: z.ZodEnum<{
|
|
578
|
+
cancelled: "cancelled";
|
|
579
|
+
done: "done";
|
|
580
|
+
failed: "failed";
|
|
581
|
+
pending: "pending";
|
|
582
|
+
processing: "processing";
|
|
583
|
+
}>;
|
|
584
|
+
failureReason: z.ZodNullable<z.ZodString>;
|
|
585
|
+
stopped: z.ZodBoolean;
|
|
586
|
+
openFollowUps: z.ZodNumber;
|
|
587
|
+
canCancel: z.ZodBoolean;
|
|
588
|
+
canRelaunch: z.ZodBoolean;
|
|
589
|
+
}, z.core.$strip>>;
|
|
590
|
+
replyTo: z.ZodNullable<z.ZodObject<{
|
|
591
|
+
commentId: z.ZodString;
|
|
592
|
+
authorName: z.ZodString;
|
|
593
|
+
excerpt: z.ZodString;
|
|
594
|
+
}, z.core.$strip>>;
|
|
595
|
+
reply: z.ZodNullable<z.ZodObject<{
|
|
596
|
+
requestId: z.ZodString;
|
|
597
|
+
followUps: z.ZodArray<z.ZodObject<{
|
|
598
|
+
id: z.ZodString;
|
|
599
|
+
text: z.ZodString;
|
|
600
|
+
doneAt: z.ZodNullable<z.ZodISODateTime>;
|
|
601
|
+
doneByName: z.ZodNullable<z.ZodString>;
|
|
602
|
+
doneByRequestId: z.ZodNullable<z.ZodString>;
|
|
603
|
+
}, z.core.$strip>>;
|
|
604
|
+
liveActions: z.ZodNumber;
|
|
605
|
+
canUndo: z.ZodBoolean;
|
|
606
|
+
}, z.core.$strip>>;
|
|
500
607
|
}, z.core.$strip>>;
|
|
501
608
|
attachments: z.ZodArray<z.ZodObject<{
|
|
502
609
|
id: z.ZodString;
|
|
@@ -659,6 +766,7 @@ export declare const ChangesResponseSchema: z.ZodObject<{
|
|
|
659
766
|
board_view: "board_view";
|
|
660
767
|
checklist_item: "checklist_item";
|
|
661
768
|
comment: "comment";
|
|
769
|
+
follow_up: "follow_up";
|
|
662
770
|
idea: "idea";
|
|
663
771
|
invitation: "invitation";
|
|
664
772
|
membership: "membership";
|
|
@@ -674,6 +782,10 @@ export declare const ChangesResponseSchema: z.ZodObject<{
|
|
|
674
782
|
}>;
|
|
675
783
|
entityId: z.ZodString;
|
|
676
784
|
taskId: z.ZodNullable<z.ZodString>;
|
|
785
|
+
actorType: z.ZodNullable<z.ZodEnum<{
|
|
786
|
+
agent: "agent";
|
|
787
|
+
user: "user";
|
|
788
|
+
}>>;
|
|
677
789
|
at: z.ZodISODateTime;
|
|
678
790
|
}, z.core.$strip>>;
|
|
679
791
|
}, z.core.$strip>;
|
|
@@ -56,12 +56,20 @@ export const TaskFiltersSchema = z.object({
|
|
|
56
56
|
assignee: IdSchema.optional(),
|
|
57
57
|
tag: IdSchema.optional(),
|
|
58
58
|
});
|
|
59
|
+
const CountSchema = z.number().int().min(0);
|
|
60
|
+
/** Avancement d'un espace sur ses tâches de premier niveau, sans tenir compte des filtres. */
|
|
61
|
+
export const BoardProgressSchema = z.object({
|
|
62
|
+
byStatus: z.record(TaskStatusSchema, CountSchema),
|
|
63
|
+
/** Tâches non terminées, par priorité. */
|
|
64
|
+
remainingByPriority: z.record(TaskPrioritySchema, CountSchema),
|
|
65
|
+
});
|
|
59
66
|
export const BoardResponseSchema = z.object({
|
|
60
67
|
spaceId: IdSchema,
|
|
61
68
|
members: z.array(MemberRefSchema),
|
|
62
69
|
tags: z.array(TagViewSchema),
|
|
63
70
|
/** Tâches de premier niveau, chacune avec ses sous-tâches. */
|
|
64
71
|
tasks: z.array(TaskNodeSchema),
|
|
72
|
+
progress: BoardProgressSchema,
|
|
65
73
|
});
|
|
66
74
|
export const TaskViewSchema = z.object({
|
|
67
75
|
id: IdSchema,
|
|
@@ -84,7 +92,19 @@ export const TaskViewSchema = z.object({
|
|
|
84
92
|
version: z.number().int(),
|
|
85
93
|
});
|
|
86
94
|
export const TaskRefSchema = z.object({ id: IdSchema, key: z.string(), title: z.string() });
|
|
95
|
+
/** `GET task-keys/:key` : espace du texte où la clé est écrite, préféré parmi ceux qui portent son préfixe. */
|
|
96
|
+
export const TaskKeyQuerySchema = z.object({ spaceId: IdSchema.optional() }).strict();
|
|
87
97
|
export const ChecklistItemViewSchema = z.object({ id: IdSchema, text: z.string(), done: z.boolean(), position: PositionSchema });
|
|
98
|
+
/** Point à régler d'une demande traitée, tel que l'affichent la page Agent, sa modale et les commentaires d'une tâche. */
|
|
99
|
+
export const FollowUpViewSchema = z.object({
|
|
100
|
+
id: IdSchema,
|
|
101
|
+
text: z.string(),
|
|
102
|
+
doneAt: TimestampSchema.nullable(),
|
|
103
|
+
/** Membre qui a coché le point ; null s'il n'est pas coché, coché par l'agent, ou par un ancien membre. */
|
|
104
|
+
doneByName: z.string().nullable(),
|
|
105
|
+
/** Suite dont l'agent a coché le point ; null s'il n'est pas coché ou coché par un membre. */
|
|
106
|
+
doneByRequestId: IdSchema.nullable(),
|
|
107
|
+
});
|
|
88
108
|
export const CommentViewSchema = z.object({
|
|
89
109
|
id: IdSchema,
|
|
90
110
|
authorId: IdSchema,
|
|
@@ -94,6 +114,29 @@ export const CommentViewSchema = z.object({
|
|
|
94
114
|
editedAt: TimestampSchema.nullable(),
|
|
95
115
|
/** Vrai pour un commentaire écrit par l'agent au nom de l'auteur d'une demande. */
|
|
96
116
|
byAgent: z.boolean(),
|
|
117
|
+
/** Demande confiée à l'agent par ce commentaire (mention @agent) : son état et ce que l'utilisateur peut en faire. */
|
|
118
|
+
agentRequest: z
|
|
119
|
+
.object({
|
|
120
|
+
id: IdSchema,
|
|
121
|
+
status: RequestStatusSchema,
|
|
122
|
+
failureReason: z.string().nullable(),
|
|
123
|
+
stopped: z.boolean(),
|
|
124
|
+
openFollowUps: z.number().int().min(0),
|
|
125
|
+
canCancel: z.boolean(),
|
|
126
|
+
canRelaunch: z.boolean(),
|
|
127
|
+
})
|
|
128
|
+
.nullable(),
|
|
129
|
+
/** Pour la réponse de l'agent : le commentaire auquel elle répond, son auteur et son début. */
|
|
130
|
+
replyTo: z.object({ commentId: IdSchema, authorName: z.string(), excerpt: z.string() }).nullable(),
|
|
131
|
+
/** Pour la réponse de l'agent : sa demande, ses points à régler et les modifications de son lot. */
|
|
132
|
+
reply: z
|
|
133
|
+
.object({
|
|
134
|
+
requestId: IdSchema,
|
|
135
|
+
followUps: z.array(FollowUpViewSchema),
|
|
136
|
+
liveActions: z.number().int().min(0),
|
|
137
|
+
canUndo: z.boolean(),
|
|
138
|
+
})
|
|
139
|
+
.nullable(),
|
|
97
140
|
});
|
|
98
141
|
export const AttachmentViewSchema = z.object({
|
|
99
142
|
id: IdSchema,
|
|
@@ -32,6 +32,8 @@ export declare const BoardViewViewSchema: z.ZodObject<{
|
|
|
32
32
|
low: "low";
|
|
33
33
|
medium: "medium";
|
|
34
34
|
}>>;
|
|
35
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
36
|
+
unassigned: z.ZodBoolean;
|
|
35
37
|
id: z.ZodString;
|
|
36
38
|
}, z.core.$strip>;
|
|
37
39
|
export type BoardViewView = z.infer<typeof BoardViewViewSchema>;
|
|
@@ -67,6 +69,8 @@ export declare const BoardViewListResponseSchema: z.ZodObject<{
|
|
|
67
69
|
low: "low";
|
|
68
70
|
medium: "medium";
|
|
69
71
|
}>>;
|
|
72
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
73
|
+
unassigned: z.ZodBoolean;
|
|
70
74
|
id: z.ZodString;
|
|
71
75
|
}, z.core.$strip>>;
|
|
72
76
|
}, z.core.$strip>;
|
|
@@ -102,6 +106,8 @@ export declare const CreateBoardViewRequestSchema: z.ZodObject<{
|
|
|
102
106
|
low: "low";
|
|
103
107
|
medium: "medium";
|
|
104
108
|
}>>;
|
|
109
|
+
assigneeIds: z.ZodArray<z.ZodString>;
|
|
110
|
+
unassigned: z.ZodBoolean;
|
|
105
111
|
}, z.core.$strict>;
|
|
106
112
|
export type CreateBoardViewRequest = z.infer<typeof CreateBoardViewRequestSchema>;
|
|
107
113
|
/** Réglages à changer ; la vue obtenue doit rester valide. */
|
|
@@ -135,5 +141,7 @@ export declare const UpdateBoardViewRequestSchema: z.ZodObject<{
|
|
|
135
141
|
low: "low";
|
|
136
142
|
medium: "medium";
|
|
137
143
|
}>>>;
|
|
144
|
+
assigneeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
unassigned: z.ZodOptional<z.ZodBoolean>;
|
|
138
146
|
}, z.core.$strict>;
|
|
139
147
|
export type UpdateBoardViewRequest = z.infer<typeof UpdateBoardViewRequestSchema>;
|