@doist/todoist-ai 4.14.0 → 4.14.1

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/dist/index.d.ts CHANGED
@@ -40,24 +40,24 @@ declare const tools: {
40
40
  responsibleUser: import("zod").ZodOptional<import("zod").ZodString>;
41
41
  }, "strip", import("zod").ZodTypeAny, {
42
42
  content: string;
43
+ description?: string | undefined;
44
+ parentId?: string | undefined;
43
45
  projectId?: string | undefined;
44
46
  sectionId?: string | undefined;
45
- parentId?: string | undefined;
46
47
  labels?: string[] | undefined;
47
48
  duration?: string | undefined;
48
49
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
49
- description?: string | undefined;
50
50
  dueString?: string | undefined;
51
51
  responsibleUser?: string | undefined;
52
52
  }, {
53
53
  content: string;
54
+ description?: string | undefined;
55
+ parentId?: string | undefined;
54
56
  projectId?: string | undefined;
55
57
  sectionId?: string | undefined;
56
- parentId?: string | undefined;
57
58
  labels?: string[] | undefined;
58
59
  duration?: string | undefined;
59
60
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
60
- description?: string | undefined;
61
61
  dueString?: string | undefined;
62
62
  responsibleUser?: string | undefined;
63
63
  }>, "many">;
@@ -65,13 +65,13 @@ declare const tools: {
65
65
  execute({ tasks }: {
66
66
  tasks: {
67
67
  content: string;
68
+ description?: string | undefined;
69
+ parentId?: string | undefined;
68
70
  projectId?: string | undefined;
69
71
  sectionId?: string | undefined;
70
- parentId?: string | undefined;
71
72
  labels?: string[] | undefined;
72
73
  duration?: string | undefined;
73
74
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
74
- description?: string | undefined;
75
75
  dueString?: string | undefined;
76
76
  responsibleUser?: string | undefined;
77
77
  }[];
@@ -169,27 +169,27 @@ declare const tools: {
169
169
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
170
170
  }, "strip", import("zod").ZodTypeAny, {
171
171
  id: string;
172
+ description?: string | undefined;
173
+ parentId?: string | undefined;
174
+ content?: string | undefined;
172
175
  projectId?: string | undefined;
173
176
  sectionId?: string | undefined;
174
- parentId?: string | undefined;
175
177
  labels?: string[] | undefined;
176
178
  duration?: string | undefined;
177
179
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
178
- content?: string | undefined;
179
- description?: string | undefined;
180
180
  dueString?: string | undefined;
181
181
  responsibleUser?: string | null | undefined;
182
182
  order?: number | undefined;
183
183
  }, {
184
184
  id: string;
185
+ description?: string | undefined;
186
+ parentId?: string | undefined;
187
+ content?: string | undefined;
185
188
  projectId?: string | undefined;
186
189
  sectionId?: string | undefined;
187
- parentId?: string | undefined;
188
190
  labels?: string[] | undefined;
189
191
  duration?: string | undefined;
190
192
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
191
- content?: string | undefined;
192
- description?: string | undefined;
193
193
  dueString?: string | undefined;
194
194
  responsibleUser?: string | null | undefined;
195
195
  order?: number | undefined;
@@ -198,14 +198,14 @@ declare const tools: {
198
198
  execute(args: {
199
199
  tasks: {
200
200
  id: string;
201
+ description?: string | undefined;
202
+ parentId?: string | undefined;
203
+ content?: string | undefined;
201
204
  projectId?: string | undefined;
202
205
  sectionId?: string | undefined;
203
- parentId?: string | undefined;
204
206
  labels?: string[] | undefined;
205
207
  duration?: string | undefined;
206
208
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
207
- content?: string | undefined;
208
- description?: string | undefined;
209
209
  dueString?: string | undefined;
210
210
  responsibleUser?: string | null | undefined;
211
211
  order?: number | undefined;
@@ -270,15 +270,15 @@ declare const tools: {
270
270
  };
271
271
  execute(args: {
272
272
  limit: number;
273
+ parentId?: string | undefined;
274
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
273
275
  projectId?: string | undefined;
274
276
  sectionId?: string | undefined;
275
- parentId?: string | undefined;
276
277
  labels?: string[] | undefined;
277
278
  cursor?: string | undefined;
278
279
  responsibleUser?: string | undefined;
279
280
  labelsOperator?: "and" | "or" | undefined;
280
281
  searchText?: string | undefined;
281
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
282
282
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
283
283
  content: {
284
284
  type: "text";
@@ -307,15 +307,15 @@ declare const tools: {
307
307
  hasMore: boolean;
308
308
  appliedFilters: {
309
309
  limit: number;
310
+ parentId?: string | undefined;
311
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
310
312
  projectId?: string | undefined;
311
313
  sectionId?: string | undefined;
312
- parentId?: string | undefined;
313
314
  labels?: string[] | undefined;
314
315
  cursor?: string | undefined;
315
316
  responsibleUser?: string | undefined;
316
317
  labelsOperator?: "and" | "or" | undefined;
317
318
  searchText?: string | undefined;
318
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
319
319
  };
320
320
  };
321
321
  } | {
@@ -348,11 +348,11 @@ declare const tools: {
348
348
  execute(args: {
349
349
  limit: number;
350
350
  daysCount: number;
351
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
351
352
  labels?: string[] | undefined;
352
353
  cursor?: string | undefined;
353
354
  responsibleUser?: string | undefined;
354
355
  labelsOperator?: "and" | "or" | undefined;
355
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
356
356
  startDate?: string | undefined;
357
357
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
358
358
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
@@ -384,11 +384,11 @@ declare const tools: {
384
384
  appliedFilters: {
385
385
  limit: number;
386
386
  daysCount: number;
387
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
387
388
  labels?: string[] | undefined;
388
389
  cursor?: string | undefined;
389
390
  responsibleUser?: string | undefined;
390
391
  labelsOperator?: "and" | "or" | undefined;
391
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
392
392
  startDate?: string | undefined;
393
393
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
394
394
  };
@@ -428,11 +428,11 @@ declare const tools: {
428
428
  getBy: "due" | "completion";
429
429
  since: string;
430
430
  until: string;
431
+ parentId?: string | undefined;
432
+ workspaceId?: string | undefined;
431
433
  projectId?: string | undefined;
432
434
  sectionId?: string | undefined;
433
- parentId?: string | undefined;
434
435
  labels?: string[] | undefined;
435
- workspaceId?: string | undefined;
436
436
  cursor?: string | undefined;
437
437
  responsibleUser?: string | undefined;
438
438
  labelsOperator?: "and" | "or" | undefined;
@@ -467,11 +467,11 @@ declare const tools: {
467
467
  getBy: "due" | "completion";
468
468
  since: string;
469
469
  until: string;
470
+ parentId?: string | undefined;
471
+ workspaceId?: string | undefined;
470
472
  projectId?: string | undefined;
471
473
  sectionId?: string | undefined;
472
- parentId?: string | undefined;
473
474
  labels?: string[] | undefined;
474
- workspaceId?: string | undefined;
475
475
  cursor?: string | undefined;
476
476
  responsibleUser?: string | undefined;
477
477
  labelsOperator?: "and" | "or" | undefined;
@@ -501,22 +501,22 @@ declare const tools: {
501
501
  viewStyle: import("zod").ZodOptional<import("zod").ZodEnum<["list", "board", "calendar"]>>;
502
502
  }, "strip", import("zod").ZodTypeAny, {
503
503
  name: string;
504
- parentId?: string | undefined;
505
504
  isFavorite?: boolean | undefined;
506
505
  viewStyle?: "list" | "board" | "calendar" | undefined;
506
+ parentId?: string | undefined;
507
507
  }, {
508
508
  name: string;
509
- parentId?: string | undefined;
510
509
  isFavorite?: boolean | undefined;
511
510
  viewStyle?: "list" | "board" | "calendar" | undefined;
511
+ parentId?: string | undefined;
512
512
  }>, "many">;
513
513
  };
514
514
  execute({ projects }: {
515
515
  projects: {
516
516
  name: string;
517
- parentId?: string | undefined;
518
517
  isFavorite?: boolean | undefined;
519
518
  viewStyle?: "list" | "board" | "calendar" | undefined;
519
+ parentId?: string | undefined;
520
520
  }[];
521
521
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
522
522
  content: {
@@ -596,21 +596,21 @@ declare const tools: {
596
596
  viewStyle: import("zod").ZodOptional<import("zod").ZodEnum<["list", "board", "calendar"]>>;
597
597
  }, "strip", import("zod").ZodTypeAny, {
598
598
  id: string;
599
- isFavorite?: boolean | undefined;
600
599
  name?: string | undefined;
600
+ isFavorite?: boolean | undefined;
601
601
  viewStyle?: "list" | "board" | "calendar" | undefined;
602
602
  }, {
603
603
  id: string;
604
- isFavorite?: boolean | undefined;
605
604
  name?: string | undefined;
605
+ isFavorite?: boolean | undefined;
606
606
  viewStyle?: "list" | "board" | "calendar" | undefined;
607
607
  }>, "many">;
608
608
  };
609
609
  execute(args: {
610
610
  projects: {
611
611
  id: string;
612
- isFavorite?: boolean | undefined;
613
612
  name?: string | undefined;
613
+ isFavorite?: boolean | undefined;
614
614
  viewStyle?: "list" | "board" | "calendar" | undefined;
615
615
  }[];
616
616
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
@@ -743,17 +743,17 @@ declare const tools: {
743
743
  name: import("zod").ZodString;
744
744
  projectId: import("zod").ZodString;
745
745
  }, "strip", import("zod").ZodTypeAny, {
746
- projectId: string;
747
746
  name: string;
748
- }, {
749
747
  projectId: string;
748
+ }, {
750
749
  name: string;
750
+ projectId: string;
751
751
  }>, "many">;
752
752
  };
753
753
  execute({ sections }: {
754
754
  sections: {
755
- projectId: string;
756
755
  name: string;
756
+ projectId: string;
757
757
  }[];
758
758
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
759
759
  content: {
@@ -895,19 +895,19 @@ declare const tools: {
895
895
  content: import("zod").ZodString;
896
896
  }, "strip", import("zod").ZodTypeAny, {
897
897
  content: string;
898
- projectId?: string | undefined;
899
898
  taskId?: string | undefined;
899
+ projectId?: string | undefined;
900
900
  }, {
901
901
  content: string;
902
- projectId?: string | undefined;
903
902
  taskId?: string | undefined;
903
+ projectId?: string | undefined;
904
904
  }>, "many">;
905
905
  };
906
906
  execute(args: {
907
907
  comments: {
908
908
  content: string;
909
- projectId?: string | undefined;
910
909
  taskId?: string | undefined;
910
+ projectId?: string | undefined;
911
911
  }[];
912
912
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
913
913
  content: {
@@ -1037,10 +1037,10 @@ declare const tools: {
1037
1037
  limit: import("zod").ZodOptional<import("zod").ZodNumber>;
1038
1038
  };
1039
1039
  execute(args: {
1040
- projectId?: string | undefined;
1041
1040
  limit?: number | undefined;
1042
- cursor?: string | undefined;
1043
1041
  taskId?: string | undefined;
1042
+ projectId?: string | undefined;
1043
+ cursor?: string | undefined;
1044
1044
  commentId?: string | undefined;
1045
1045
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
1046
1046
  content: {
@@ -1107,13 +1107,13 @@ declare const tools: {
1107
1107
  };
1108
1108
  execute(args: {
1109
1109
  limit: number;
1110
+ taskId?: string | undefined;
1110
1111
  projectId?: string | undefined;
1111
- objectType?: "task" | "project" | "comment" | undefined;
1112
+ objectType?: "task" | "comment" | "project" | undefined;
1112
1113
  objectId?: string | undefined;
1113
- eventType?: "added" | "updated" | "deleted" | "completed" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
1114
+ eventType?: "added" | "updated" | "completed" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
1114
1115
  initiatorId?: string | undefined;
1115
1116
  cursor?: string | undefined;
1116
- taskId?: string | undefined;
1117
1117
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
1118
1118
  content: {
1119
1119
  type: "text";
@@ -1136,13 +1136,13 @@ declare const tools: {
1136
1136
  hasMore: boolean;
1137
1137
  appliedFilters: {
1138
1138
  limit: number;
1139
+ taskId?: string | undefined;
1139
1140
  projectId?: string | undefined;
1140
- objectType?: "task" | "project" | "comment" | undefined;
1141
+ objectType?: "task" | "comment" | "project" | undefined;
1141
1142
  objectId?: string | undefined;
1142
- eventType?: "added" | "updated" | "deleted" | "completed" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
1143
+ eventType?: "added" | "updated" | "completed" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
1143
1144
  initiatorId?: string | undefined;
1144
1145
  cursor?: string | undefined;
1145
- taskId?: string | undefined;
1146
1146
  };
1147
1147
  };
1148
1148
  } | {
@@ -1194,7 +1194,7 @@ declare const tools: {
1194
1194
  };
1195
1195
  execute(args: {
1196
1196
  id: string;
1197
- type: "task" | "project" | "comment" | "section";
1197
+ type: "task" | "comment" | "project" | "section";
1198
1198
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
1199
1199
  content: {
1200
1200
  type: "text";
@@ -1202,7 +1202,7 @@ declare const tools: {
1202
1202
  }[];
1203
1203
  structuredContent: {
1204
1204
  deletedEntity: {
1205
- type: "task" | "project" | "comment" | "section";
1205
+ type: "task" | "comment" | "project" | "section";
1206
1206
  id: string;
1207
1207
  };
1208
1208
  success: boolean;
@@ -9,19 +9,19 @@ declare const addComments: {
9
9
  content: z.ZodString;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  content: string;
12
- projectId?: string | undefined;
13
12
  taskId?: string | undefined;
13
+ projectId?: string | undefined;
14
14
  }, {
15
15
  content: string;
16
- projectId?: string | undefined;
17
16
  taskId?: string | undefined;
17
+ projectId?: string | undefined;
18
18
  }>, "many">;
19
19
  };
20
20
  execute(args: {
21
21
  comments: {
22
22
  content: string;
23
- projectId?: string | undefined;
24
23
  taskId?: string | undefined;
24
+ projectId?: string | undefined;
25
25
  }[];
26
26
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
27
27
  content: {
@@ -10,22 +10,22 @@ declare const addProjects: {
10
10
  viewStyle: z.ZodOptional<z.ZodEnum<["list", "board", "calendar"]>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  name: string;
13
- parentId?: string | undefined;
14
13
  isFavorite?: boolean | undefined;
15
14
  viewStyle?: "list" | "board" | "calendar" | undefined;
15
+ parentId?: string | undefined;
16
16
  }, {
17
17
  name: string;
18
- parentId?: string | undefined;
19
18
  isFavorite?: boolean | undefined;
20
19
  viewStyle?: "list" | "board" | "calendar" | undefined;
20
+ parentId?: string | undefined;
21
21
  }>, "many">;
22
22
  };
23
23
  execute({ projects }: {
24
24
  projects: {
25
25
  name: string;
26
- parentId?: string | undefined;
27
26
  isFavorite?: boolean | undefined;
28
27
  viewStyle?: "list" | "board" | "calendar" | undefined;
28
+ parentId?: string | undefined;
29
29
  }[];
30
30
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
31
31
  content: {
@@ -7,17 +7,17 @@ declare const addSections: {
7
7
  name: z.ZodString;
8
8
  projectId: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- projectId: string;
11
10
  name: string;
12
- }, {
13
11
  projectId: string;
12
+ }, {
14
13
  name: string;
14
+ projectId: string;
15
15
  }>, "many">;
16
16
  };
17
17
  execute({ sections }: {
18
18
  sections: {
19
- projectId: string;
20
19
  name: string;
20
+ projectId: string;
21
21
  }[];
22
22
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
23
23
  content: {
@@ -17,24 +17,24 @@ declare const addTasks: {
17
17
  responsibleUser: z.ZodOptional<z.ZodString>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  content: string;
20
+ description?: string | undefined;
21
+ parentId?: string | undefined;
20
22
  projectId?: string | undefined;
21
23
  sectionId?: string | undefined;
22
- parentId?: string | undefined;
23
24
  labels?: string[] | undefined;
24
25
  duration?: string | undefined;
25
26
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
26
- description?: string | undefined;
27
27
  dueString?: string | undefined;
28
28
  responsibleUser?: string | undefined;
29
29
  }, {
30
30
  content: string;
31
+ description?: string | undefined;
32
+ parentId?: string | undefined;
31
33
  projectId?: string | undefined;
32
34
  sectionId?: string | undefined;
33
- parentId?: string | undefined;
34
35
  labels?: string[] | undefined;
35
36
  duration?: string | undefined;
36
37
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
37
- description?: string | undefined;
38
38
  dueString?: string | undefined;
39
39
  responsibleUser?: string | undefined;
40
40
  }>, "many">;
@@ -42,13 +42,13 @@ declare const addTasks: {
42
42
  execute({ tasks }: {
43
43
  tasks: {
44
44
  content: string;
45
+ description?: string | undefined;
46
+ parentId?: string | undefined;
45
47
  projectId?: string | undefined;
46
48
  sectionId?: string | undefined;
47
- parentId?: string | undefined;
48
49
  labels?: string[] | undefined;
49
50
  duration?: string | undefined;
50
51
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
51
- description?: string | undefined;
52
52
  dueString?: string | undefined;
53
53
  responsibleUser?: string | undefined;
54
54
  }[];
@@ -8,7 +8,7 @@ declare const deleteObject: {
8
8
  };
9
9
  execute(args: {
10
10
  id: string;
11
- type: "task" | "project" | "comment" | "section";
11
+ type: "task" | "comment" | "project" | "section";
12
12
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
13
13
  content: {
14
14
  type: "text";
@@ -16,7 +16,7 @@ declare const deleteObject: {
16
16
  }[];
17
17
  structuredContent: {
18
18
  deletedEntity: {
19
- type: "task" | "project" | "comment" | "section";
19
+ type: "task" | "comment" | "project" | "section";
20
20
  id: string;
21
21
  };
22
22
  success: boolean;
@@ -14,13 +14,13 @@ declare const findActivity: {
14
14
  };
15
15
  execute(args: {
16
16
  limit: number;
17
+ taskId?: string | undefined;
17
18
  projectId?: string | undefined;
18
- objectType?: "task" | "project" | "comment" | undefined;
19
+ objectType?: "task" | "comment" | "project" | undefined;
19
20
  objectId?: string | undefined;
20
- eventType?: "added" | "updated" | "deleted" | "completed" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
21
+ eventType?: "added" | "updated" | "completed" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
21
22
  initiatorId?: string | undefined;
22
23
  cursor?: string | undefined;
23
- taskId?: string | undefined;
24
24
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
25
25
  content: {
26
26
  type: "text";
@@ -43,13 +43,13 @@ declare const findActivity: {
43
43
  hasMore: boolean;
44
44
  appliedFilters: {
45
45
  limit: number;
46
+ taskId?: string | undefined;
46
47
  projectId?: string | undefined;
47
- objectType?: "task" | "project" | "comment" | undefined;
48
+ objectType?: "task" | "comment" | "project" | undefined;
48
49
  objectId?: string | undefined;
49
- eventType?: "added" | "updated" | "deleted" | "completed" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
50
+ eventType?: "added" | "updated" | "completed" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
50
51
  initiatorId?: string | undefined;
51
52
  cursor?: string | undefined;
52
- taskId?: string | undefined;
53
53
  };
54
54
  };
55
55
  } | {
@@ -10,10 +10,10 @@ declare const findComments: {
10
10
  limit: z.ZodOptional<z.ZodNumber>;
11
11
  };
12
12
  execute(args: {
13
- projectId?: string | undefined;
14
13
  limit?: number | undefined;
15
- cursor?: string | undefined;
16
14
  taskId?: string | undefined;
15
+ projectId?: string | undefined;
16
+ cursor?: string | undefined;
17
17
  commentId?: string | undefined;
18
18
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
19
19
  content: {
@@ -21,11 +21,11 @@ declare const findCompletedTasks: {
21
21
  getBy: "due" | "completion";
22
22
  since: string;
23
23
  until: string;
24
+ parentId?: string | undefined;
25
+ workspaceId?: string | undefined;
24
26
  projectId?: string | undefined;
25
27
  sectionId?: string | undefined;
26
- parentId?: string | undefined;
27
28
  labels?: string[] | undefined;
28
- workspaceId?: string | undefined;
29
29
  cursor?: string | undefined;
30
30
  responsibleUser?: string | undefined;
31
31
  labelsOperator?: "and" | "or" | undefined;
@@ -60,11 +60,11 @@ declare const findCompletedTasks: {
60
60
  getBy: "due" | "completion";
61
61
  since: string;
62
62
  until: string;
63
+ parentId?: string | undefined;
64
+ workspaceId?: string | undefined;
63
65
  projectId?: string | undefined;
64
66
  sectionId?: string | undefined;
65
- parentId?: string | undefined;
66
67
  labels?: string[] | undefined;
67
- workspaceId?: string | undefined;
68
68
  cursor?: string | undefined;
69
69
  responsibleUser?: string | undefined;
70
70
  labelsOperator?: "and" | "or" | undefined;
@@ -16,11 +16,11 @@ declare const findTasksByDate: {
16
16
  execute(args: {
17
17
  limit: number;
18
18
  daysCount: number;
19
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
19
20
  labels?: string[] | undefined;
20
21
  cursor?: string | undefined;
21
22
  responsibleUser?: string | undefined;
22
23
  labelsOperator?: "and" | "or" | undefined;
23
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
24
24
  startDate?: string | undefined;
25
25
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
26
26
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
@@ -52,11 +52,11 @@ declare const findTasksByDate: {
52
52
  appliedFilters: {
53
53
  limit: number;
54
54
  daysCount: number;
55
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
55
56
  labels?: string[] | undefined;
56
57
  cursor?: string | undefined;
57
58
  responsibleUser?: string | undefined;
58
59
  labelsOperator?: "and" | "or" | undefined;
59
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
60
60
  startDate?: string | undefined;
61
61
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
62
62
  };
@@ -16,15 +16,15 @@ declare const findTasks: {
16
16
  };
17
17
  execute(args: {
18
18
  limit: number;
19
+ parentId?: string | undefined;
20
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
19
21
  projectId?: string | undefined;
20
22
  sectionId?: string | undefined;
21
- parentId?: string | undefined;
22
23
  labels?: string[] | undefined;
23
24
  cursor?: string | undefined;
24
25
  responsibleUser?: string | undefined;
25
26
  labelsOperator?: "and" | "or" | undefined;
26
27
  searchText?: string | undefined;
27
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
28
28
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
29
29
  content: {
30
30
  type: "text";
@@ -53,15 +53,15 @@ declare const findTasks: {
53
53
  hasMore: boolean;
54
54
  appliedFilters: {
55
55
  limit: number;
56
+ parentId?: string | undefined;
57
+ responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
56
58
  projectId?: string | undefined;
57
59
  sectionId?: string | undefined;
58
- parentId?: string | undefined;
59
60
  labels?: string[] | undefined;
60
61
  cursor?: string | undefined;
61
62
  responsibleUser?: string | undefined;
62
63
  labelsOperator?: "and" | "or" | undefined;
63
64
  searchText?: string | undefined;
64
- responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
65
65
  };
66
66
  };
67
67
  } | {
@@ -10,21 +10,21 @@ declare const updateProjects: {
10
10
  viewStyle: z.ZodOptional<z.ZodEnum<["list", "board", "calendar"]>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  id: string;
13
- isFavorite?: boolean | undefined;
14
13
  name?: string | undefined;
14
+ isFavorite?: boolean | undefined;
15
15
  viewStyle?: "list" | "board" | "calendar" | undefined;
16
16
  }, {
17
17
  id: string;
18
- isFavorite?: boolean | undefined;
19
18
  name?: string | undefined;
19
+ isFavorite?: boolean | undefined;
20
20
  viewStyle?: "list" | "board" | "calendar" | undefined;
21
21
  }>, "many">;
22
22
  };
23
23
  execute(args: {
24
24
  projects: {
25
25
  id: string;
26
- isFavorite?: boolean | undefined;
27
26
  name?: string | undefined;
27
+ isFavorite?: boolean | undefined;
28
28
  viewStyle?: "list" | "board" | "calendar" | undefined;
29
29
  }[];
30
30
  }, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
@@ -18,27 +18,27 @@ declare const updateTasks: {
18
18
  labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  id: string;
21
+ description?: string | undefined;
22
+ parentId?: string | undefined;
23
+ content?: string | undefined;
21
24
  projectId?: string | undefined;
22
25
  sectionId?: string | undefined;
23
- parentId?: string | undefined;
24
26
  labels?: string[] | undefined;
25
27
  duration?: string | undefined;
26
28
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
27
- content?: string | undefined;
28
- description?: string | undefined;
29
29
  dueString?: string | undefined;
30
30
  responsibleUser?: string | null | undefined;
31
31
  order?: number | undefined;
32
32
  }, {
33
33
  id: string;
34
+ description?: string | undefined;
35
+ parentId?: string | undefined;
36
+ content?: string | undefined;
34
37
  projectId?: string | undefined;
35
38
  sectionId?: string | undefined;
36
- parentId?: string | undefined;
37
39
  labels?: string[] | undefined;
38
40
  duration?: string | undefined;
39
41
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
40
- content?: string | undefined;
41
- description?: string | undefined;
42
42
  dueString?: string | undefined;
43
43
  responsibleUser?: string | null | undefined;
44
44
  order?: number | undefined;
@@ -47,14 +47,14 @@ declare const updateTasks: {
47
47
  execute(args: {
48
48
  tasks: {
49
49
  id: string;
50
+ description?: string | undefined;
51
+ parentId?: string | undefined;
52
+ content?: string | undefined;
50
53
  projectId?: string | undefined;
51
54
  sectionId?: string | undefined;
52
- parentId?: string | undefined;
53
55
  labels?: string[] | undefined;
54
56
  duration?: string | undefined;
55
57
  priority?: "p1" | "p2" | "p3" | "p4" | undefined;
56
- content?: string | undefined;
57
- description?: string | undefined;
58
58
  dueString?: string | undefined;
59
59
  responsibleUser?: string | null | undefined;
60
60
  order?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-ai",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -45,9 +45,9 @@
45
45
  "prepare": "husky"
46
46
  },
47
47
  "dependencies": {
48
- "@doist/todoist-api-typescript": "5.7.0",
49
48
  "@modelcontextprotocol/sdk": "^1.11.1",
50
49
  "date-fns": "^4.1.0",
50
+ "@doist/todoist-api-typescript": "5.7.1",
51
51
  "dotenv": "^17.0.0",
52
52
  "zod": "^3.25.7"
53
53
  },