@doist/todoist-ai 4.17.0 → 4.17.2
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/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +390 -584
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts +1 -37
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-BADReNAy.js → mcp-server-BSQxi0xQ.js} +1067 -1070
- package/dist/todoist-tool.d.ts +6 -2
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +49 -20
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +49 -38
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +10 -22
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +1 -15
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +33 -47
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +3 -17
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +2 -16
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +3 -8
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +15 -29
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +51 -40
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +29 -43
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +20 -20
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +7 -21
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +1 -15
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +27 -41
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +29 -43
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +9 -16
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +5 -19
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +11 -7
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +49 -38
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +7 -19
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +1 -15
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +33 -47
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +1 -15
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +60 -32
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/sanitize-data.d.ts +3 -2
- package/dist/utils/sanitize-data.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -33
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -42,25 +42,25 @@ declare const tools: {
|
|
|
42
42
|
}, "strip", import('zod').ZodTypeAny, {
|
|
43
43
|
content: string;
|
|
44
44
|
description?: string | undefined;
|
|
45
|
-
|
|
46
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
45
|
+
parentId?: string | undefined;
|
|
47
46
|
projectId?: string | undefined;
|
|
48
47
|
sectionId?: string | undefined;
|
|
49
|
-
parentId?: string | undefined;
|
|
50
48
|
labels?: string[] | undefined;
|
|
51
49
|
duration?: string | undefined;
|
|
50
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
51
|
+
deadlineDate?: string | undefined;
|
|
52
52
|
dueString?: string | undefined;
|
|
53
53
|
responsibleUser?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
content: string;
|
|
56
56
|
description?: string | undefined;
|
|
57
|
-
|
|
58
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
57
|
+
parentId?: string | undefined;
|
|
59
58
|
projectId?: string | undefined;
|
|
60
59
|
sectionId?: string | undefined;
|
|
61
|
-
parentId?: string | undefined;
|
|
62
60
|
labels?: string[] | undefined;
|
|
63
61
|
duration?: string | undefined;
|
|
62
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
63
|
+
deadlineDate?: string | undefined;
|
|
64
64
|
dueString?: string | undefined;
|
|
65
65
|
responsibleUser?: string | undefined;
|
|
66
66
|
}>, "many">;
|
|
@@ -77,7 +77,7 @@ declare const tools: {
|
|
|
77
77
|
projectId: import('zod').ZodString;
|
|
78
78
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
79
79
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
80
|
-
labels: import('zod').ZodArray<import('zod').ZodString, "many"
|
|
80
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
81
81
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
82
82
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
83
83
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -87,36 +87,36 @@ declare const tools: {
|
|
|
87
87
|
content: string;
|
|
88
88
|
description: string;
|
|
89
89
|
id: string;
|
|
90
|
-
recurring: string | boolean;
|
|
91
|
-
priority: number;
|
|
92
90
|
projectId: string;
|
|
93
|
-
labels: string[];
|
|
94
91
|
checked: boolean;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
sectionId?: string | undefined;
|
|
92
|
+
priority: number;
|
|
93
|
+
recurring: string | boolean;
|
|
98
94
|
parentId?: string | undefined;
|
|
99
|
-
|
|
100
|
-
responsibleUid?: string | undefined;
|
|
95
|
+
sectionId?: string | undefined;
|
|
101
96
|
assignedByUid?: string | undefined;
|
|
97
|
+
responsibleUid?: string | undefined;
|
|
98
|
+
labels?: string[] | undefined;
|
|
99
|
+
duration?: string | undefined;
|
|
102
100
|
completedAt?: string | undefined;
|
|
101
|
+
dueDate?: string | undefined;
|
|
102
|
+
deadlineDate?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
content: string;
|
|
105
105
|
description: string;
|
|
106
106
|
id: string;
|
|
107
|
-
recurring: string | boolean;
|
|
108
|
-
priority: number;
|
|
109
107
|
projectId: string;
|
|
110
|
-
labels: string[];
|
|
111
108
|
checked: boolean;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
sectionId?: string | undefined;
|
|
109
|
+
priority: number;
|
|
110
|
+
recurring: string | boolean;
|
|
115
111
|
parentId?: string | undefined;
|
|
116
|
-
|
|
117
|
-
responsibleUid?: string | undefined;
|
|
112
|
+
sectionId?: string | undefined;
|
|
118
113
|
assignedByUid?: string | undefined;
|
|
114
|
+
responsibleUid?: string | undefined;
|
|
115
|
+
labels?: string[] | undefined;
|
|
116
|
+
duration?: string | undefined;
|
|
119
117
|
completedAt?: string | undefined;
|
|
118
|
+
dueDate?: string | undefined;
|
|
119
|
+
deadlineDate?: string | undefined;
|
|
120
120
|
}>, "many">;
|
|
121
121
|
totalCount: import('zod').ZodNumber;
|
|
122
122
|
};
|
|
@@ -124,21 +124,18 @@ declare const tools: {
|
|
|
124
124
|
tasks: {
|
|
125
125
|
content: string;
|
|
126
126
|
description?: string | undefined;
|
|
127
|
-
|
|
128
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
127
|
+
parentId?: string | undefined;
|
|
129
128
|
projectId?: string | undefined;
|
|
130
129
|
sectionId?: string | undefined;
|
|
131
|
-
parentId?: string | undefined;
|
|
132
130
|
labels?: string[] | undefined;
|
|
133
131
|
duration?: string | undefined;
|
|
132
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
133
|
+
deadlineDate?: string | undefined;
|
|
134
134
|
dueString?: string | undefined;
|
|
135
135
|
responsibleUser?: string | undefined;
|
|
136
136
|
}[];
|
|
137
137
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
138
|
-
|
|
139
|
-
type: "text";
|
|
140
|
-
text: string;
|
|
141
|
-
}[];
|
|
138
|
+
textContent: string;
|
|
142
139
|
structuredContent: {
|
|
143
140
|
tasks: {
|
|
144
141
|
id: string;
|
|
@@ -149,28 +146,17 @@ declare const tools: {
|
|
|
149
146
|
deadlineDate: string | undefined;
|
|
150
147
|
priority: number;
|
|
151
148
|
projectId: string;
|
|
152
|
-
sectionId: string |
|
|
153
|
-
parentId: string |
|
|
149
|
+
sectionId: string | undefined;
|
|
150
|
+
parentId: string | undefined;
|
|
154
151
|
labels: string[];
|
|
155
|
-
duration: string |
|
|
156
|
-
responsibleUid: string |
|
|
157
|
-
assignedByUid: string |
|
|
152
|
+
duration: string | undefined;
|
|
153
|
+
responsibleUid: string | undefined;
|
|
154
|
+
assignedByUid: string | undefined;
|
|
158
155
|
checked: boolean;
|
|
159
|
-
completedAt: string |
|
|
156
|
+
completedAt: string | undefined;
|
|
160
157
|
}[];
|
|
161
158
|
totalCount: number;
|
|
162
159
|
};
|
|
163
|
-
} | {
|
|
164
|
-
content: ({
|
|
165
|
-
type: "text";
|
|
166
|
-
text: string;
|
|
167
|
-
mimeType?: undefined;
|
|
168
|
-
} | {
|
|
169
|
-
type: "text";
|
|
170
|
-
mimeType: string;
|
|
171
|
-
text: string;
|
|
172
|
-
})[];
|
|
173
|
-
structuredContent?: undefined;
|
|
174
160
|
}>;
|
|
175
161
|
};
|
|
176
162
|
completeTasks: {
|
|
@@ -186,12 +172,12 @@ declare const tools: {
|
|
|
186
172
|
error: import('zod').ZodString;
|
|
187
173
|
code: import('zod').ZodOptional<import('zod').ZodString>;
|
|
188
174
|
}, "strip", import('zod').ZodTypeAny, {
|
|
189
|
-
item: string;
|
|
190
175
|
error: string;
|
|
176
|
+
item: string;
|
|
191
177
|
code?: string | undefined;
|
|
192
178
|
}, {
|
|
193
|
-
item: string;
|
|
194
179
|
error: string;
|
|
180
|
+
item: string;
|
|
195
181
|
code?: string | undefined;
|
|
196
182
|
}>, "many">;
|
|
197
183
|
totalRequested: import('zod').ZodNumber;
|
|
@@ -201,10 +187,7 @@ declare const tools: {
|
|
|
201
187
|
execute(args: {
|
|
202
188
|
ids: string[];
|
|
203
189
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
204
|
-
|
|
205
|
-
type: "text";
|
|
206
|
-
text: string;
|
|
207
|
-
}[];
|
|
190
|
+
textContent: string;
|
|
208
191
|
structuredContent: {
|
|
209
192
|
completed: string[];
|
|
210
193
|
failures: {
|
|
@@ -216,17 +199,6 @@ declare const tools: {
|
|
|
216
199
|
successCount: number;
|
|
217
200
|
failureCount: number;
|
|
218
201
|
};
|
|
219
|
-
} | {
|
|
220
|
-
content: ({
|
|
221
|
-
type: "text";
|
|
222
|
-
text: string;
|
|
223
|
-
mimeType?: undefined;
|
|
224
|
-
} | {
|
|
225
|
-
type: "text";
|
|
226
|
-
mimeType: string;
|
|
227
|
-
text: string;
|
|
228
|
-
})[];
|
|
229
|
-
structuredContent?: undefined;
|
|
230
202
|
}>;
|
|
231
203
|
};
|
|
232
204
|
updateTasks: {
|
|
@@ -251,13 +223,13 @@ declare const tools: {
|
|
|
251
223
|
id: string;
|
|
252
224
|
content?: string | undefined;
|
|
253
225
|
description?: string | undefined;
|
|
254
|
-
|
|
255
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
226
|
+
parentId?: string | undefined;
|
|
256
227
|
projectId?: string | undefined;
|
|
257
228
|
sectionId?: string | undefined;
|
|
258
|
-
parentId?: string | undefined;
|
|
259
229
|
labels?: string[] | undefined;
|
|
260
230
|
duration?: string | undefined;
|
|
231
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
232
|
+
deadlineDate?: string | undefined;
|
|
261
233
|
dueString?: string | undefined;
|
|
262
234
|
responsibleUser?: string | undefined;
|
|
263
235
|
order?: number | undefined;
|
|
@@ -265,13 +237,13 @@ declare const tools: {
|
|
|
265
237
|
id: string;
|
|
266
238
|
content?: string | undefined;
|
|
267
239
|
description?: string | undefined;
|
|
268
|
-
|
|
269
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
240
|
+
parentId?: string | undefined;
|
|
270
241
|
projectId?: string | undefined;
|
|
271
242
|
sectionId?: string | undefined;
|
|
272
|
-
parentId?: string | undefined;
|
|
273
243
|
labels?: string[] | undefined;
|
|
274
244
|
duration?: string | undefined;
|
|
245
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
246
|
+
deadlineDate?: string | undefined;
|
|
275
247
|
dueString?: string | undefined;
|
|
276
248
|
responsibleUser?: string | undefined;
|
|
277
249
|
order?: number | undefined;
|
|
@@ -289,7 +261,7 @@ declare const tools: {
|
|
|
289
261
|
projectId: import('zod').ZodString;
|
|
290
262
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
291
263
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
292
|
-
labels: import('zod').ZodArray<import('zod').ZodString, "many"
|
|
264
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
293
265
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
294
266
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
295
267
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -299,36 +271,36 @@ declare const tools: {
|
|
|
299
271
|
content: string;
|
|
300
272
|
description: string;
|
|
301
273
|
id: string;
|
|
302
|
-
recurring: string | boolean;
|
|
303
|
-
priority: number;
|
|
304
274
|
projectId: string;
|
|
305
|
-
labels: string[];
|
|
306
275
|
checked: boolean;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
sectionId?: string | undefined;
|
|
276
|
+
priority: number;
|
|
277
|
+
recurring: string | boolean;
|
|
310
278
|
parentId?: string | undefined;
|
|
311
|
-
|
|
312
|
-
responsibleUid?: string | undefined;
|
|
279
|
+
sectionId?: string | undefined;
|
|
313
280
|
assignedByUid?: string | undefined;
|
|
281
|
+
responsibleUid?: string | undefined;
|
|
282
|
+
labels?: string[] | undefined;
|
|
283
|
+
duration?: string | undefined;
|
|
314
284
|
completedAt?: string | undefined;
|
|
285
|
+
dueDate?: string | undefined;
|
|
286
|
+
deadlineDate?: string | undefined;
|
|
315
287
|
}, {
|
|
316
288
|
content: string;
|
|
317
289
|
description: string;
|
|
318
290
|
id: string;
|
|
319
|
-
recurring: string | boolean;
|
|
320
|
-
priority: number;
|
|
321
291
|
projectId: string;
|
|
322
|
-
labels: string[];
|
|
323
292
|
checked: boolean;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
sectionId?: string | undefined;
|
|
293
|
+
priority: number;
|
|
294
|
+
recurring: string | boolean;
|
|
327
295
|
parentId?: string | undefined;
|
|
328
|
-
|
|
329
|
-
responsibleUid?: string | undefined;
|
|
296
|
+
sectionId?: string | undefined;
|
|
330
297
|
assignedByUid?: string | undefined;
|
|
298
|
+
responsibleUid?: string | undefined;
|
|
299
|
+
labels?: string[] | undefined;
|
|
300
|
+
duration?: string | undefined;
|
|
331
301
|
completedAt?: string | undefined;
|
|
302
|
+
dueDate?: string | undefined;
|
|
303
|
+
deadlineDate?: string | undefined;
|
|
332
304
|
}>, "many">;
|
|
333
305
|
totalCount: import('zod').ZodNumber;
|
|
334
306
|
updatedTaskIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
@@ -348,22 +320,19 @@ declare const tools: {
|
|
|
348
320
|
id: string;
|
|
349
321
|
content?: string | undefined;
|
|
350
322
|
description?: string | undefined;
|
|
351
|
-
|
|
352
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
323
|
+
parentId?: string | undefined;
|
|
353
324
|
projectId?: string | undefined;
|
|
354
325
|
sectionId?: string | undefined;
|
|
355
|
-
parentId?: string | undefined;
|
|
356
326
|
labels?: string[] | undefined;
|
|
357
327
|
duration?: string | undefined;
|
|
328
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
329
|
+
deadlineDate?: string | undefined;
|
|
358
330
|
dueString?: string | undefined;
|
|
359
331
|
responsibleUser?: string | undefined;
|
|
360
332
|
order?: number | undefined;
|
|
361
333
|
}[];
|
|
362
334
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
363
|
-
|
|
364
|
-
type: "text";
|
|
365
|
-
text: string;
|
|
366
|
-
}[];
|
|
335
|
+
textContent: string;
|
|
367
336
|
structuredContent: {
|
|
368
337
|
tasks: {
|
|
369
338
|
id: string;
|
|
@@ -374,14 +343,14 @@ declare const tools: {
|
|
|
374
343
|
deadlineDate: string | undefined;
|
|
375
344
|
priority: number;
|
|
376
345
|
projectId: string;
|
|
377
|
-
sectionId: string |
|
|
378
|
-
parentId: string |
|
|
346
|
+
sectionId: string | undefined;
|
|
347
|
+
parentId: string | undefined;
|
|
379
348
|
labels: string[];
|
|
380
|
-
duration: string |
|
|
381
|
-
responsibleUid: string |
|
|
382
|
-
assignedByUid: string |
|
|
349
|
+
duration: string | undefined;
|
|
350
|
+
responsibleUid: string | undefined;
|
|
351
|
+
assignedByUid: string | undefined;
|
|
383
352
|
checked: boolean;
|
|
384
|
-
completedAt: string |
|
|
353
|
+
completedAt: string | undefined;
|
|
385
354
|
}[];
|
|
386
355
|
totalCount: number;
|
|
387
356
|
updatedTaskIds: string[];
|
|
@@ -390,17 +359,6 @@ declare const tools: {
|
|
|
390
359
|
skippedCount: number;
|
|
391
360
|
};
|
|
392
361
|
};
|
|
393
|
-
} | {
|
|
394
|
-
content: ({
|
|
395
|
-
type: "text";
|
|
396
|
-
text: string;
|
|
397
|
-
mimeType?: undefined;
|
|
398
|
-
} | {
|
|
399
|
-
type: "text";
|
|
400
|
-
mimeType: string;
|
|
401
|
-
text: string;
|
|
402
|
-
})[];
|
|
403
|
-
structuredContent?: undefined;
|
|
404
362
|
}>;
|
|
405
363
|
};
|
|
406
364
|
findTasks: {
|
|
@@ -430,7 +388,7 @@ declare const tools: {
|
|
|
430
388
|
projectId: import('zod').ZodString;
|
|
431
389
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
432
390
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
433
|
-
labels: import('zod').ZodArray<import('zod').ZodString, "many"
|
|
391
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
434
392
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
435
393
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
436
394
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -440,36 +398,36 @@ declare const tools: {
|
|
|
440
398
|
content: string;
|
|
441
399
|
description: string;
|
|
442
400
|
id: string;
|
|
443
|
-
recurring: string | boolean;
|
|
444
|
-
priority: number;
|
|
445
401
|
projectId: string;
|
|
446
|
-
labels: string[];
|
|
447
402
|
checked: boolean;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
sectionId?: string | undefined;
|
|
403
|
+
priority: number;
|
|
404
|
+
recurring: string | boolean;
|
|
451
405
|
parentId?: string | undefined;
|
|
452
|
-
|
|
453
|
-
responsibleUid?: string | undefined;
|
|
406
|
+
sectionId?: string | undefined;
|
|
454
407
|
assignedByUid?: string | undefined;
|
|
408
|
+
responsibleUid?: string | undefined;
|
|
409
|
+
labels?: string[] | undefined;
|
|
410
|
+
duration?: string | undefined;
|
|
455
411
|
completedAt?: string | undefined;
|
|
412
|
+
dueDate?: string | undefined;
|
|
413
|
+
deadlineDate?: string | undefined;
|
|
456
414
|
}, {
|
|
457
415
|
content: string;
|
|
458
416
|
description: string;
|
|
459
417
|
id: string;
|
|
460
|
-
recurring: string | boolean;
|
|
461
|
-
priority: number;
|
|
462
418
|
projectId: string;
|
|
463
|
-
labels: string[];
|
|
464
419
|
checked: boolean;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
sectionId?: string | undefined;
|
|
420
|
+
priority: number;
|
|
421
|
+
recurring: string | boolean;
|
|
468
422
|
parentId?: string | undefined;
|
|
469
|
-
|
|
470
|
-
responsibleUid?: string | undefined;
|
|
423
|
+
sectionId?: string | undefined;
|
|
471
424
|
assignedByUid?: string | undefined;
|
|
425
|
+
responsibleUid?: string | undefined;
|
|
426
|
+
labels?: string[] | undefined;
|
|
427
|
+
duration?: string | undefined;
|
|
472
428
|
completedAt?: string | undefined;
|
|
429
|
+
dueDate?: string | undefined;
|
|
430
|
+
deadlineDate?: string | undefined;
|
|
473
431
|
}>, "many">;
|
|
474
432
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
475
433
|
totalCount: import('zod').ZodNumber;
|
|
@@ -478,20 +436,17 @@ declare const tools: {
|
|
|
478
436
|
};
|
|
479
437
|
execute(args: {
|
|
480
438
|
limit: number;
|
|
439
|
+
parentId?: string | undefined;
|
|
440
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
481
441
|
projectId?: string | undefined;
|
|
482
442
|
sectionId?: string | undefined;
|
|
483
|
-
parentId?: string | undefined;
|
|
484
443
|
labels?: string[] | undefined;
|
|
485
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
486
444
|
cursor?: string | undefined;
|
|
487
445
|
responsibleUser?: string | undefined;
|
|
488
446
|
labelsOperator?: "and" | "or" | undefined;
|
|
489
447
|
searchText?: string | undefined;
|
|
490
448
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
491
|
-
|
|
492
|
-
type: "text";
|
|
493
|
-
text: string;
|
|
494
|
-
}[];
|
|
449
|
+
textContent: string;
|
|
495
450
|
structuredContent: {
|
|
496
451
|
tasks: {
|
|
497
452
|
id: string;
|
|
@@ -502,42 +457,31 @@ declare const tools: {
|
|
|
502
457
|
deadlineDate: string | undefined;
|
|
503
458
|
priority: number;
|
|
504
459
|
projectId: string;
|
|
505
|
-
sectionId: string |
|
|
506
|
-
parentId: string |
|
|
460
|
+
sectionId: string | undefined;
|
|
461
|
+
parentId: string | undefined;
|
|
507
462
|
labels: string[];
|
|
508
|
-
duration: string |
|
|
509
|
-
responsibleUid: string |
|
|
510
|
-
assignedByUid: string |
|
|
463
|
+
duration: string | undefined;
|
|
464
|
+
responsibleUid: string | undefined;
|
|
465
|
+
assignedByUid: string | undefined;
|
|
511
466
|
checked: boolean;
|
|
512
|
-
completedAt: string |
|
|
467
|
+
completedAt: string | undefined;
|
|
513
468
|
}[];
|
|
514
|
-
nextCursor: string |
|
|
469
|
+
nextCursor: string | undefined;
|
|
515
470
|
totalCount: number;
|
|
516
471
|
hasMore: boolean;
|
|
517
472
|
appliedFilters: {
|
|
518
473
|
limit: number;
|
|
474
|
+
parentId?: string | undefined;
|
|
475
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
519
476
|
projectId?: string | undefined;
|
|
520
477
|
sectionId?: string | undefined;
|
|
521
|
-
parentId?: string | undefined;
|
|
522
478
|
labels?: string[] | undefined;
|
|
523
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
524
479
|
cursor?: string | undefined;
|
|
525
480
|
responsibleUser?: string | undefined;
|
|
526
481
|
labelsOperator?: "and" | "or" | undefined;
|
|
527
482
|
searchText?: string | undefined;
|
|
528
483
|
};
|
|
529
484
|
};
|
|
530
|
-
} | {
|
|
531
|
-
content: ({
|
|
532
|
-
type: "text";
|
|
533
|
-
text: string;
|
|
534
|
-
mimeType?: undefined;
|
|
535
|
-
} | {
|
|
536
|
-
type: "text";
|
|
537
|
-
mimeType: string;
|
|
538
|
-
text: string;
|
|
539
|
-
})[];
|
|
540
|
-
structuredContent?: undefined;
|
|
541
485
|
}>;
|
|
542
486
|
};
|
|
543
487
|
findTasksByDate: {
|
|
@@ -566,7 +510,7 @@ declare const tools: {
|
|
|
566
510
|
projectId: import('zod').ZodString;
|
|
567
511
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
568
512
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
569
|
-
labels: import('zod').ZodArray<import('zod').ZodString, "many"
|
|
513
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
570
514
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
571
515
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
572
516
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -576,36 +520,36 @@ declare const tools: {
|
|
|
576
520
|
content: string;
|
|
577
521
|
description: string;
|
|
578
522
|
id: string;
|
|
579
|
-
recurring: string | boolean;
|
|
580
|
-
priority: number;
|
|
581
523
|
projectId: string;
|
|
582
|
-
labels: string[];
|
|
583
524
|
checked: boolean;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
sectionId?: string | undefined;
|
|
525
|
+
priority: number;
|
|
526
|
+
recurring: string | boolean;
|
|
587
527
|
parentId?: string | undefined;
|
|
588
|
-
|
|
589
|
-
responsibleUid?: string | undefined;
|
|
528
|
+
sectionId?: string | undefined;
|
|
590
529
|
assignedByUid?: string | undefined;
|
|
530
|
+
responsibleUid?: string | undefined;
|
|
531
|
+
labels?: string[] | undefined;
|
|
532
|
+
duration?: string | undefined;
|
|
591
533
|
completedAt?: string | undefined;
|
|
534
|
+
dueDate?: string | undefined;
|
|
535
|
+
deadlineDate?: string | undefined;
|
|
592
536
|
}, {
|
|
593
537
|
content: string;
|
|
594
538
|
description: string;
|
|
595
539
|
id: string;
|
|
596
|
-
recurring: string | boolean;
|
|
597
|
-
priority: number;
|
|
598
540
|
projectId: string;
|
|
599
|
-
labels: string[];
|
|
600
541
|
checked: boolean;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
sectionId?: string | undefined;
|
|
542
|
+
priority: number;
|
|
543
|
+
recurring: string | boolean;
|
|
604
544
|
parentId?: string | undefined;
|
|
605
|
-
|
|
606
|
-
responsibleUid?: string | undefined;
|
|
545
|
+
sectionId?: string | undefined;
|
|
607
546
|
assignedByUid?: string | undefined;
|
|
547
|
+
responsibleUid?: string | undefined;
|
|
548
|
+
labels?: string[] | undefined;
|
|
549
|
+
duration?: string | undefined;
|
|
608
550
|
completedAt?: string | undefined;
|
|
551
|
+
dueDate?: string | undefined;
|
|
552
|
+
deadlineDate?: string | undefined;
|
|
609
553
|
}>, "many">;
|
|
610
554
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
611
555
|
totalCount: import('zod').ZodNumber;
|
|
@@ -615,18 +559,15 @@ declare const tools: {
|
|
|
615
559
|
execute(args: {
|
|
616
560
|
limit: number;
|
|
617
561
|
daysCount: number;
|
|
618
|
-
labels?: string[] | undefined;
|
|
619
562
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
563
|
+
labels?: string[] | undefined;
|
|
620
564
|
cursor?: string | undefined;
|
|
621
565
|
responsibleUser?: string | undefined;
|
|
622
566
|
labelsOperator?: "and" | "or" | undefined;
|
|
623
567
|
startDate?: string | undefined;
|
|
624
568
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
625
569
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
626
|
-
|
|
627
|
-
type: "text";
|
|
628
|
-
text: string;
|
|
629
|
-
}[];
|
|
570
|
+
textContent: string;
|
|
630
571
|
structuredContent: {
|
|
631
572
|
tasks: {
|
|
632
573
|
id: string;
|
|
@@ -637,23 +578,23 @@ declare const tools: {
|
|
|
637
578
|
deadlineDate: string | undefined;
|
|
638
579
|
priority: number;
|
|
639
580
|
projectId: string;
|
|
640
|
-
sectionId: string |
|
|
641
|
-
parentId: string |
|
|
581
|
+
sectionId: string | undefined;
|
|
582
|
+
parentId: string | undefined;
|
|
642
583
|
labels: string[];
|
|
643
|
-
duration: string |
|
|
644
|
-
responsibleUid: string |
|
|
645
|
-
assignedByUid: string |
|
|
584
|
+
duration: string | undefined;
|
|
585
|
+
responsibleUid: string | undefined;
|
|
586
|
+
assignedByUid: string | undefined;
|
|
646
587
|
checked: boolean;
|
|
647
|
-
completedAt: string |
|
|
588
|
+
completedAt: string | undefined;
|
|
648
589
|
}[];
|
|
649
|
-
nextCursor: string |
|
|
590
|
+
nextCursor: string | undefined;
|
|
650
591
|
totalCount: number;
|
|
651
592
|
hasMore: boolean;
|
|
652
593
|
appliedFilters: {
|
|
653
594
|
limit: number;
|
|
654
595
|
daysCount: number;
|
|
655
|
-
labels?: string[] | undefined;
|
|
656
596
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
597
|
+
labels?: string[] | undefined;
|
|
657
598
|
cursor?: string | undefined;
|
|
658
599
|
responsibleUser?: string | undefined;
|
|
659
600
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -661,17 +602,6 @@ declare const tools: {
|
|
|
661
602
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
662
603
|
};
|
|
663
604
|
};
|
|
664
|
-
} | {
|
|
665
|
-
content: ({
|
|
666
|
-
type: "text";
|
|
667
|
-
text: string;
|
|
668
|
-
mimeType?: undefined;
|
|
669
|
-
} | {
|
|
670
|
-
type: "text";
|
|
671
|
-
mimeType: string;
|
|
672
|
-
text: string;
|
|
673
|
-
})[];
|
|
674
|
-
structuredContent?: undefined;
|
|
675
605
|
}>;
|
|
676
606
|
};
|
|
677
607
|
findCompletedTasks: {
|
|
@@ -703,7 +633,7 @@ declare const tools: {
|
|
|
703
633
|
projectId: import('zod').ZodString;
|
|
704
634
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
705
635
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
706
|
-
labels: import('zod').ZodArray<import('zod').ZodString, "many"
|
|
636
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
707
637
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
708
638
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
709
639
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -713,36 +643,36 @@ declare const tools: {
|
|
|
713
643
|
content: string;
|
|
714
644
|
description: string;
|
|
715
645
|
id: string;
|
|
716
|
-
recurring: string | boolean;
|
|
717
|
-
priority: number;
|
|
718
646
|
projectId: string;
|
|
719
|
-
labels: string[];
|
|
720
647
|
checked: boolean;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
sectionId?: string | undefined;
|
|
648
|
+
priority: number;
|
|
649
|
+
recurring: string | boolean;
|
|
724
650
|
parentId?: string | undefined;
|
|
725
|
-
|
|
726
|
-
responsibleUid?: string | undefined;
|
|
651
|
+
sectionId?: string | undefined;
|
|
727
652
|
assignedByUid?: string | undefined;
|
|
653
|
+
responsibleUid?: string | undefined;
|
|
654
|
+
labels?: string[] | undefined;
|
|
655
|
+
duration?: string | undefined;
|
|
728
656
|
completedAt?: string | undefined;
|
|
657
|
+
dueDate?: string | undefined;
|
|
658
|
+
deadlineDate?: string | undefined;
|
|
729
659
|
}, {
|
|
730
660
|
content: string;
|
|
731
661
|
description: string;
|
|
732
662
|
id: string;
|
|
733
|
-
recurring: string | boolean;
|
|
734
|
-
priority: number;
|
|
735
663
|
projectId: string;
|
|
736
|
-
labels: string[];
|
|
737
664
|
checked: boolean;
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
sectionId?: string | undefined;
|
|
665
|
+
priority: number;
|
|
666
|
+
recurring: string | boolean;
|
|
741
667
|
parentId?: string | undefined;
|
|
742
|
-
|
|
743
|
-
responsibleUid?: string | undefined;
|
|
668
|
+
sectionId?: string | undefined;
|
|
744
669
|
assignedByUid?: string | undefined;
|
|
670
|
+
responsibleUid?: string | undefined;
|
|
671
|
+
labels?: string[] | undefined;
|
|
672
|
+
duration?: string | undefined;
|
|
745
673
|
completedAt?: string | undefined;
|
|
674
|
+
dueDate?: string | undefined;
|
|
675
|
+
deadlineDate?: string | undefined;
|
|
746
676
|
}>, "many">;
|
|
747
677
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
748
678
|
totalCount: import('zod').ZodNumber;
|
|
@@ -754,19 +684,16 @@ declare const tools: {
|
|
|
754
684
|
getBy: "due" | "completion";
|
|
755
685
|
since: string;
|
|
756
686
|
until: string;
|
|
687
|
+
parentId?: string | undefined;
|
|
688
|
+
workspaceId?: string | undefined;
|
|
757
689
|
projectId?: string | undefined;
|
|
758
690
|
sectionId?: string | undefined;
|
|
759
|
-
parentId?: string | undefined;
|
|
760
691
|
labels?: string[] | undefined;
|
|
761
|
-
workspaceId?: string | undefined;
|
|
762
692
|
cursor?: string | undefined;
|
|
763
693
|
responsibleUser?: string | undefined;
|
|
764
694
|
labelsOperator?: "and" | "or" | undefined;
|
|
765
695
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
766
|
-
|
|
767
|
-
type: "text";
|
|
768
|
-
text: string;
|
|
769
|
-
}[];
|
|
696
|
+
textContent: string;
|
|
770
697
|
structuredContent: {
|
|
771
698
|
tasks: {
|
|
772
699
|
id: string;
|
|
@@ -777,16 +704,16 @@ declare const tools: {
|
|
|
777
704
|
deadlineDate: string | undefined;
|
|
778
705
|
priority: number;
|
|
779
706
|
projectId: string;
|
|
780
|
-
sectionId: string |
|
|
781
|
-
parentId: string |
|
|
707
|
+
sectionId: string | undefined;
|
|
708
|
+
parentId: string | undefined;
|
|
782
709
|
labels: string[];
|
|
783
|
-
duration: string |
|
|
784
|
-
responsibleUid: string |
|
|
785
|
-
assignedByUid: string |
|
|
710
|
+
duration: string | undefined;
|
|
711
|
+
responsibleUid: string | undefined;
|
|
712
|
+
assignedByUid: string | undefined;
|
|
786
713
|
checked: boolean;
|
|
787
|
-
completedAt: string |
|
|
714
|
+
completedAt: string | undefined;
|
|
788
715
|
}[];
|
|
789
|
-
nextCursor: string |
|
|
716
|
+
nextCursor: string | undefined;
|
|
790
717
|
totalCount: number;
|
|
791
718
|
hasMore: boolean;
|
|
792
719
|
appliedFilters: {
|
|
@@ -794,27 +721,16 @@ declare const tools: {
|
|
|
794
721
|
getBy: "due" | "completion";
|
|
795
722
|
since: string;
|
|
796
723
|
until: string;
|
|
724
|
+
parentId?: string | undefined;
|
|
725
|
+
workspaceId?: string | undefined;
|
|
797
726
|
projectId?: string | undefined;
|
|
798
727
|
sectionId?: string | undefined;
|
|
799
|
-
parentId?: string | undefined;
|
|
800
728
|
labels?: string[] | undefined;
|
|
801
|
-
workspaceId?: string | undefined;
|
|
802
729
|
cursor?: string | undefined;
|
|
803
730
|
responsibleUser?: string | undefined;
|
|
804
731
|
labelsOperator?: "and" | "or" | undefined;
|
|
805
732
|
};
|
|
806
733
|
};
|
|
807
|
-
} | {
|
|
808
|
-
content: ({
|
|
809
|
-
type: "text";
|
|
810
|
-
text: string;
|
|
811
|
-
mimeType?: undefined;
|
|
812
|
-
} | {
|
|
813
|
-
type: "text";
|
|
814
|
-
mimeType: string;
|
|
815
|
-
text: string;
|
|
816
|
-
})[];
|
|
817
|
-
structuredContent?: undefined;
|
|
818
734
|
}>;
|
|
819
735
|
};
|
|
820
736
|
addProjects: {
|
|
@@ -828,14 +744,14 @@ declare const tools: {
|
|
|
828
744
|
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<["list", "board", "calendar"]>>;
|
|
829
745
|
}, "strip", import('zod').ZodTypeAny, {
|
|
830
746
|
name: string;
|
|
831
|
-
parentId?: string | undefined;
|
|
832
747
|
isFavorite?: boolean | undefined;
|
|
833
748
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
749
|
+
parentId?: string | undefined;
|
|
834
750
|
}, {
|
|
835
751
|
name: string;
|
|
836
|
-
parentId?: string | undefined;
|
|
837
752
|
isFavorite?: boolean | undefined;
|
|
838
753
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
754
|
+
parentId?: string | undefined;
|
|
839
755
|
}>, "many">;
|
|
840
756
|
};
|
|
841
757
|
outputSchema: {
|
|
@@ -853,18 +769,18 @@ declare const tools: {
|
|
|
853
769
|
id: string;
|
|
854
770
|
color: string;
|
|
855
771
|
isFavorite: boolean;
|
|
772
|
+
viewStyle: string;
|
|
856
773
|
isShared: boolean;
|
|
857
774
|
inboxProject: boolean;
|
|
858
|
-
viewStyle: string;
|
|
859
775
|
parentId?: string | undefined;
|
|
860
776
|
}, {
|
|
861
777
|
name: string;
|
|
862
778
|
id: string;
|
|
863
779
|
color: string;
|
|
864
780
|
isFavorite: boolean;
|
|
781
|
+
viewStyle: string;
|
|
865
782
|
isShared: boolean;
|
|
866
783
|
inboxProject: boolean;
|
|
867
|
-
viewStyle: string;
|
|
868
784
|
parentId?: string | undefined;
|
|
869
785
|
}>, "many">;
|
|
870
786
|
totalCount: import('zod').ZodNumber;
|
|
@@ -872,17 +788,16 @@ declare const tools: {
|
|
|
872
788
|
execute({ projects }: {
|
|
873
789
|
projects: {
|
|
874
790
|
name: string;
|
|
875
|
-
parentId?: string | undefined;
|
|
876
791
|
isFavorite?: boolean | undefined;
|
|
877
792
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
793
|
+
parentId?: string | undefined;
|
|
878
794
|
}[];
|
|
879
795
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
880
|
-
|
|
881
|
-
type: "text";
|
|
882
|
-
text: string;
|
|
883
|
-
}[];
|
|
796
|
+
textContent: string;
|
|
884
797
|
structuredContent: {
|
|
885
798
|
projects: ({
|
|
799
|
+
parentId: string | undefined;
|
|
800
|
+
inboxProject: boolean;
|
|
886
801
|
url: string;
|
|
887
802
|
id: string;
|
|
888
803
|
canAssignTasks: boolean;
|
|
@@ -900,9 +815,9 @@ declare const tools: {
|
|
|
900
815
|
description: string;
|
|
901
816
|
isCollapsed: boolean;
|
|
902
817
|
isShared: boolean;
|
|
903
|
-
parentId: string | null;
|
|
904
|
-
inboxProject: boolean;
|
|
905
818
|
} | {
|
|
819
|
+
parentId: string | undefined;
|
|
820
|
+
inboxProject: boolean;
|
|
906
821
|
url: string;
|
|
907
822
|
id: string;
|
|
908
823
|
canAssignTasks: boolean;
|
|
@@ -930,17 +845,6 @@ declare const tools: {
|
|
|
930
845
|
})[];
|
|
931
846
|
totalCount: number;
|
|
932
847
|
};
|
|
933
|
-
} | {
|
|
934
|
-
content: ({
|
|
935
|
-
type: "text";
|
|
936
|
-
text: string;
|
|
937
|
-
mimeType?: undefined;
|
|
938
|
-
} | {
|
|
939
|
-
type: "text";
|
|
940
|
-
mimeType: string;
|
|
941
|
-
text: string;
|
|
942
|
-
})[];
|
|
943
|
-
structuredContent?: undefined;
|
|
944
848
|
}>;
|
|
945
849
|
};
|
|
946
850
|
updateProjects: {
|
|
@@ -979,18 +883,18 @@ declare const tools: {
|
|
|
979
883
|
id: string;
|
|
980
884
|
color: string;
|
|
981
885
|
isFavorite: boolean;
|
|
886
|
+
viewStyle: string;
|
|
982
887
|
isShared: boolean;
|
|
983
888
|
inboxProject: boolean;
|
|
984
|
-
viewStyle: string;
|
|
985
889
|
parentId?: string | undefined;
|
|
986
890
|
}, {
|
|
987
891
|
name: string;
|
|
988
892
|
id: string;
|
|
989
893
|
color: string;
|
|
990
894
|
isFavorite: boolean;
|
|
895
|
+
viewStyle: string;
|
|
991
896
|
isShared: boolean;
|
|
992
897
|
inboxProject: boolean;
|
|
993
|
-
viewStyle: string;
|
|
994
898
|
parentId?: string | undefined;
|
|
995
899
|
}>, "many">;
|
|
996
900
|
totalCount: import('zod').ZodNumber;
|
|
@@ -1014,12 +918,11 @@ declare const tools: {
|
|
|
1014
918
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
1015
919
|
}[];
|
|
1016
920
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1017
|
-
|
|
1018
|
-
type: "text";
|
|
1019
|
-
text: string;
|
|
1020
|
-
}[];
|
|
921
|
+
textContent: string;
|
|
1021
922
|
structuredContent: {
|
|
1022
923
|
projects: ({
|
|
924
|
+
parentId: string | undefined;
|
|
925
|
+
inboxProject: boolean;
|
|
1023
926
|
url: string;
|
|
1024
927
|
id: string;
|
|
1025
928
|
canAssignTasks: boolean;
|
|
@@ -1037,9 +940,9 @@ declare const tools: {
|
|
|
1037
940
|
description: string;
|
|
1038
941
|
isCollapsed: boolean;
|
|
1039
942
|
isShared: boolean;
|
|
1040
|
-
parentId: string | null;
|
|
1041
|
-
inboxProject: boolean;
|
|
1042
943
|
} | {
|
|
944
|
+
parentId: string | undefined;
|
|
945
|
+
inboxProject: boolean;
|
|
1043
946
|
url: string;
|
|
1044
947
|
id: string;
|
|
1045
948
|
canAssignTasks: boolean;
|
|
@@ -1072,17 +975,6 @@ declare const tools: {
|
|
|
1072
975
|
skippedCount: number;
|
|
1073
976
|
};
|
|
1074
977
|
};
|
|
1075
|
-
} | {
|
|
1076
|
-
content: ({
|
|
1077
|
-
type: "text";
|
|
1078
|
-
text: string;
|
|
1079
|
-
mimeType?: undefined;
|
|
1080
|
-
} | {
|
|
1081
|
-
type: "text";
|
|
1082
|
-
mimeType: string;
|
|
1083
|
-
text: string;
|
|
1084
|
-
})[];
|
|
1085
|
-
structuredContent?: undefined;
|
|
1086
978
|
}>;
|
|
1087
979
|
};
|
|
1088
980
|
findProjects: {
|
|
@@ -1108,18 +1000,18 @@ declare const tools: {
|
|
|
1108
1000
|
id: string;
|
|
1109
1001
|
color: string;
|
|
1110
1002
|
isFavorite: boolean;
|
|
1003
|
+
viewStyle: string;
|
|
1111
1004
|
isShared: boolean;
|
|
1112
1005
|
inboxProject: boolean;
|
|
1113
|
-
viewStyle: string;
|
|
1114
1006
|
parentId?: string | undefined;
|
|
1115
1007
|
}, {
|
|
1116
1008
|
name: string;
|
|
1117
1009
|
id: string;
|
|
1118
1010
|
color: string;
|
|
1119
1011
|
isFavorite: boolean;
|
|
1012
|
+
viewStyle: string;
|
|
1120
1013
|
isShared: boolean;
|
|
1121
1014
|
inboxProject: boolean;
|
|
1122
|
-
viewStyle: string;
|
|
1123
1015
|
parentId?: string | undefined;
|
|
1124
1016
|
}>, "many">;
|
|
1125
1017
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -1129,13 +1021,10 @@ declare const tools: {
|
|
|
1129
1021
|
};
|
|
1130
1022
|
execute(args: {
|
|
1131
1023
|
limit: number;
|
|
1132
|
-
search?: string | undefined;
|
|
1133
1024
|
cursor?: string | undefined;
|
|
1025
|
+
search?: string | undefined;
|
|
1134
1026
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1135
|
-
|
|
1136
|
-
type: "text";
|
|
1137
|
-
text: string;
|
|
1138
|
-
}[];
|
|
1027
|
+
textContent: string;
|
|
1139
1028
|
structuredContent: {
|
|
1140
1029
|
projects: {
|
|
1141
1030
|
id: string;
|
|
@@ -1143,30 +1032,19 @@ declare const tools: {
|
|
|
1143
1032
|
color: string;
|
|
1144
1033
|
isFavorite: boolean;
|
|
1145
1034
|
isShared: boolean;
|
|
1146
|
-
parentId: string |
|
|
1035
|
+
parentId: string | undefined;
|
|
1147
1036
|
inboxProject: boolean;
|
|
1148
1037
|
viewStyle: string;
|
|
1149
1038
|
}[];
|
|
1150
|
-
nextCursor: string |
|
|
1039
|
+
nextCursor: string | undefined;
|
|
1151
1040
|
totalCount: number;
|
|
1152
1041
|
hasMore: boolean;
|
|
1153
1042
|
appliedFilters: {
|
|
1154
1043
|
limit: number;
|
|
1155
|
-
search?: string | undefined;
|
|
1156
1044
|
cursor?: string | undefined;
|
|
1045
|
+
search?: string | undefined;
|
|
1157
1046
|
};
|
|
1158
1047
|
};
|
|
1159
|
-
} | {
|
|
1160
|
-
content: ({
|
|
1161
|
-
type: "text";
|
|
1162
|
-
text: string;
|
|
1163
|
-
mimeType?: undefined;
|
|
1164
|
-
} | {
|
|
1165
|
-
type: "text";
|
|
1166
|
-
mimeType: string;
|
|
1167
|
-
text: string;
|
|
1168
|
-
})[];
|
|
1169
|
-
structuredContent?: undefined;
|
|
1170
1048
|
}>;
|
|
1171
1049
|
};
|
|
1172
1050
|
addSections: {
|
|
@@ -1203,10 +1081,7 @@ declare const tools: {
|
|
|
1203
1081
|
projectId: string;
|
|
1204
1082
|
}[];
|
|
1205
1083
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1206
|
-
|
|
1207
|
-
type: "text";
|
|
1208
|
-
text: string;
|
|
1209
|
-
}[];
|
|
1084
|
+
textContent: string;
|
|
1210
1085
|
structuredContent: {
|
|
1211
1086
|
sections: {
|
|
1212
1087
|
url: string;
|
|
@@ -1224,17 +1099,6 @@ declare const tools: {
|
|
|
1224
1099
|
}[];
|
|
1225
1100
|
totalCount: number;
|
|
1226
1101
|
};
|
|
1227
|
-
} | {
|
|
1228
|
-
content: ({
|
|
1229
|
-
type: "text";
|
|
1230
|
-
text: string;
|
|
1231
|
-
mimeType?: undefined;
|
|
1232
|
-
} | {
|
|
1233
|
-
type: "text";
|
|
1234
|
-
mimeType: string;
|
|
1235
|
-
text: string;
|
|
1236
|
-
})[];
|
|
1237
|
-
structuredContent?: undefined;
|
|
1238
1102
|
}>;
|
|
1239
1103
|
};
|
|
1240
1104
|
updateSections: {
|
|
@@ -1272,10 +1136,7 @@ declare const tools: {
|
|
|
1272
1136
|
id: string;
|
|
1273
1137
|
}[];
|
|
1274
1138
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1275
|
-
|
|
1276
|
-
type: "text";
|
|
1277
|
-
text: string;
|
|
1278
|
-
}[];
|
|
1139
|
+
textContent: string;
|
|
1279
1140
|
structuredContent: {
|
|
1280
1141
|
sections: {
|
|
1281
1142
|
url: string;
|
|
@@ -1294,17 +1155,6 @@ declare const tools: {
|
|
|
1294
1155
|
totalCount: number;
|
|
1295
1156
|
updatedSectionIds: string[];
|
|
1296
1157
|
};
|
|
1297
|
-
} | {
|
|
1298
|
-
content: ({
|
|
1299
|
-
type: "text";
|
|
1300
|
-
text: string;
|
|
1301
|
-
mimeType?: undefined;
|
|
1302
|
-
} | {
|
|
1303
|
-
type: "text";
|
|
1304
|
-
mimeType: string;
|
|
1305
|
-
text: string;
|
|
1306
|
-
})[];
|
|
1307
|
-
structuredContent?: undefined;
|
|
1308
1158
|
}>;
|
|
1309
1159
|
};
|
|
1310
1160
|
findSections: {
|
|
@@ -1332,10 +1182,7 @@ declare const tools: {
|
|
|
1332
1182
|
projectId: string;
|
|
1333
1183
|
search?: string | undefined;
|
|
1334
1184
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1335
|
-
|
|
1336
|
-
type: "text";
|
|
1337
|
-
text: string;
|
|
1338
|
-
}[];
|
|
1185
|
+
textContent: string;
|
|
1339
1186
|
structuredContent: {
|
|
1340
1187
|
sections: {
|
|
1341
1188
|
id: string;
|
|
@@ -1347,17 +1194,6 @@ declare const tools: {
|
|
|
1347
1194
|
search?: string | undefined;
|
|
1348
1195
|
};
|
|
1349
1196
|
};
|
|
1350
|
-
} | {
|
|
1351
|
-
content: ({
|
|
1352
|
-
type: "text";
|
|
1353
|
-
text: string;
|
|
1354
|
-
mimeType?: undefined;
|
|
1355
|
-
} | {
|
|
1356
|
-
type: "text";
|
|
1357
|
-
mimeType: string;
|
|
1358
|
-
text: string;
|
|
1359
|
-
})[];
|
|
1360
|
-
structuredContent?: undefined;
|
|
1361
1197
|
}>;
|
|
1362
1198
|
};
|
|
1363
1199
|
addComments: {
|
|
@@ -1385,7 +1221,8 @@ declare const tools: {
|
|
|
1385
1221
|
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1386
1222
|
content: import('zod').ZodString;
|
|
1387
1223
|
postedAt: import('zod').ZodString;
|
|
1388
|
-
|
|
1224
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1225
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1389
1226
|
resourceType: import('zod').ZodString;
|
|
1390
1227
|
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1391
1228
|
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -1393,53 +1230,80 @@ declare const tools: {
|
|
|
1393
1230
|
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1394
1231
|
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1395
1232
|
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1233
|
+
url: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1234
|
+
title: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1235
|
+
image: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1236
|
+
imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1237
|
+
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1396
1238
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1397
1239
|
resourceType: string;
|
|
1240
|
+
image?: string | undefined;
|
|
1241
|
+
title?: string | undefined;
|
|
1398
1242
|
fileName?: string | undefined;
|
|
1399
1243
|
fileSize?: number | undefined;
|
|
1400
1244
|
fileType?: string | undefined;
|
|
1401
1245
|
fileUrl?: string | undefined;
|
|
1402
1246
|
fileDuration?: number | undefined;
|
|
1403
1247
|
uploadState?: "pending" | "completed" | undefined;
|
|
1248
|
+
imageWidth?: number | undefined;
|
|
1249
|
+
imageHeight?: number | undefined;
|
|
1250
|
+
url?: string | undefined;
|
|
1404
1251
|
}, {
|
|
1405
1252
|
resourceType: string;
|
|
1253
|
+
image?: string | undefined;
|
|
1254
|
+
title?: string | undefined;
|
|
1406
1255
|
fileName?: string | undefined;
|
|
1407
1256
|
fileSize?: number | undefined;
|
|
1408
1257
|
fileType?: string | undefined;
|
|
1409
1258
|
fileUrl?: string | undefined;
|
|
1410
1259
|
fileDuration?: number | undefined;
|
|
1411
1260
|
uploadState?: "pending" | "completed" | undefined;
|
|
1261
|
+
imageWidth?: number | undefined;
|
|
1262
|
+
imageHeight?: number | undefined;
|
|
1263
|
+
url?: string | undefined;
|
|
1412
1264
|
}>>;
|
|
1413
1265
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1414
1266
|
content: string;
|
|
1415
1267
|
id: string;
|
|
1416
1268
|
postedAt: string;
|
|
1417
1269
|
projectId?: string | undefined;
|
|
1418
|
-
|
|
1419
|
-
attachment?: {
|
|
1270
|
+
fileAttachment?: {
|
|
1420
1271
|
resourceType: string;
|
|
1272
|
+
image?: string | undefined;
|
|
1273
|
+
title?: string | undefined;
|
|
1421
1274
|
fileName?: string | undefined;
|
|
1422
1275
|
fileSize?: number | undefined;
|
|
1423
1276
|
fileType?: string | undefined;
|
|
1424
1277
|
fileUrl?: string | undefined;
|
|
1425
1278
|
fileDuration?: number | undefined;
|
|
1426
1279
|
uploadState?: "pending" | "completed" | undefined;
|
|
1280
|
+
imageWidth?: number | undefined;
|
|
1281
|
+
imageHeight?: number | undefined;
|
|
1282
|
+
url?: string | undefined;
|
|
1427
1283
|
} | undefined;
|
|
1284
|
+
postedUid?: string | undefined;
|
|
1285
|
+
taskId?: string | undefined;
|
|
1428
1286
|
}, {
|
|
1429
1287
|
content: string;
|
|
1430
1288
|
id: string;
|
|
1431
1289
|
postedAt: string;
|
|
1432
1290
|
projectId?: string | undefined;
|
|
1433
|
-
|
|
1434
|
-
attachment?: {
|
|
1291
|
+
fileAttachment?: {
|
|
1435
1292
|
resourceType: string;
|
|
1293
|
+
image?: string | undefined;
|
|
1294
|
+
title?: string | undefined;
|
|
1436
1295
|
fileName?: string | undefined;
|
|
1437
1296
|
fileSize?: number | undefined;
|
|
1438
1297
|
fileType?: string | undefined;
|
|
1439
1298
|
fileUrl?: string | undefined;
|
|
1440
1299
|
fileDuration?: number | undefined;
|
|
1441
1300
|
uploadState?: "pending" | "completed" | undefined;
|
|
1301
|
+
imageWidth?: number | undefined;
|
|
1302
|
+
imageHeight?: number | undefined;
|
|
1303
|
+
url?: string | undefined;
|
|
1442
1304
|
} | undefined;
|
|
1305
|
+
postedUid?: string | undefined;
|
|
1306
|
+
taskId?: string | undefined;
|
|
1443
1307
|
}>, "many">;
|
|
1444
1308
|
totalCount: import('zod').ZodNumber;
|
|
1445
1309
|
addedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
@@ -1451,50 +1315,33 @@ declare const tools: {
|
|
|
1451
1315
|
taskId?: string | undefined;
|
|
1452
1316
|
}[];
|
|
1453
1317
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1454
|
-
|
|
1455
|
-
type: "text";
|
|
1456
|
-
text: string;
|
|
1457
|
-
}[];
|
|
1318
|
+
textContent: string;
|
|
1458
1319
|
structuredContent: {
|
|
1459
1320
|
comments: {
|
|
1460
|
-
taskId: string | undefined;
|
|
1461
1321
|
id: string;
|
|
1322
|
+
taskId: string | undefined;
|
|
1323
|
+
projectId: string | undefined;
|
|
1462
1324
|
content: string;
|
|
1463
1325
|
postedAt: string;
|
|
1326
|
+
postedUid: string;
|
|
1464
1327
|
fileAttachment: {
|
|
1465
1328
|
resourceType: string;
|
|
1466
|
-
fileName
|
|
1467
|
-
fileSize
|
|
1468
|
-
fileType
|
|
1469
|
-
fileUrl
|
|
1470
|
-
fileDuration
|
|
1471
|
-
uploadState
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
} |
|
|
1478
|
-
postedUid: string;
|
|
1479
|
-
uidsToNotify: string[] | null;
|
|
1480
|
-
reactions: Record<string, string[]> | null;
|
|
1481
|
-
isDeleted: boolean;
|
|
1482
|
-
projectId?: string | undefined;
|
|
1329
|
+
fileName: string | undefined;
|
|
1330
|
+
fileSize: number | undefined;
|
|
1331
|
+
fileType: string | undefined;
|
|
1332
|
+
fileUrl: string | undefined;
|
|
1333
|
+
fileDuration: number | undefined;
|
|
1334
|
+
uploadState: "pending" | "completed" | undefined;
|
|
1335
|
+
url: string | undefined;
|
|
1336
|
+
title: string | undefined;
|
|
1337
|
+
image: string | undefined;
|
|
1338
|
+
imageWidth: number | undefined;
|
|
1339
|
+
imageHeight: number | undefined;
|
|
1340
|
+
} | undefined;
|
|
1483
1341
|
}[];
|
|
1484
1342
|
totalCount: number;
|
|
1485
1343
|
addedCommentIds: string[];
|
|
1486
1344
|
};
|
|
1487
|
-
} | {
|
|
1488
|
-
content: ({
|
|
1489
|
-
type: "text";
|
|
1490
|
-
text: string;
|
|
1491
|
-
mimeType?: undefined;
|
|
1492
|
-
} | {
|
|
1493
|
-
type: "text";
|
|
1494
|
-
mimeType: string;
|
|
1495
|
-
text: string;
|
|
1496
|
-
})[];
|
|
1497
|
-
structuredContent?: undefined;
|
|
1498
1345
|
}>;
|
|
1499
1346
|
};
|
|
1500
1347
|
updateComments: {
|
|
@@ -1519,7 +1366,8 @@ declare const tools: {
|
|
|
1519
1366
|
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1520
1367
|
content: import('zod').ZodString;
|
|
1521
1368
|
postedAt: import('zod').ZodString;
|
|
1522
|
-
|
|
1369
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1370
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1523
1371
|
resourceType: import('zod').ZodString;
|
|
1524
1372
|
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1525
1373
|
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -1527,53 +1375,80 @@ declare const tools: {
|
|
|
1527
1375
|
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1528
1376
|
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1529
1377
|
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1378
|
+
url: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1379
|
+
title: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1380
|
+
image: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1381
|
+
imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1382
|
+
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1530
1383
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1531
1384
|
resourceType: string;
|
|
1385
|
+
image?: string | undefined;
|
|
1386
|
+
title?: string | undefined;
|
|
1532
1387
|
fileName?: string | undefined;
|
|
1533
1388
|
fileSize?: number | undefined;
|
|
1534
1389
|
fileType?: string | undefined;
|
|
1535
1390
|
fileUrl?: string | undefined;
|
|
1536
1391
|
fileDuration?: number | undefined;
|
|
1537
1392
|
uploadState?: "pending" | "completed" | undefined;
|
|
1393
|
+
imageWidth?: number | undefined;
|
|
1394
|
+
imageHeight?: number | undefined;
|
|
1395
|
+
url?: string | undefined;
|
|
1538
1396
|
}, {
|
|
1539
1397
|
resourceType: string;
|
|
1398
|
+
image?: string | undefined;
|
|
1399
|
+
title?: string | undefined;
|
|
1540
1400
|
fileName?: string | undefined;
|
|
1541
1401
|
fileSize?: number | undefined;
|
|
1542
1402
|
fileType?: string | undefined;
|
|
1543
1403
|
fileUrl?: string | undefined;
|
|
1544
1404
|
fileDuration?: number | undefined;
|
|
1545
1405
|
uploadState?: "pending" | "completed" | undefined;
|
|
1406
|
+
imageWidth?: number | undefined;
|
|
1407
|
+
imageHeight?: number | undefined;
|
|
1408
|
+
url?: string | undefined;
|
|
1546
1409
|
}>>;
|
|
1547
1410
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1548
1411
|
content: string;
|
|
1549
1412
|
id: string;
|
|
1550
1413
|
postedAt: string;
|
|
1551
1414
|
projectId?: string | undefined;
|
|
1552
|
-
|
|
1553
|
-
attachment?: {
|
|
1415
|
+
fileAttachment?: {
|
|
1554
1416
|
resourceType: string;
|
|
1417
|
+
image?: string | undefined;
|
|
1418
|
+
title?: string | undefined;
|
|
1555
1419
|
fileName?: string | undefined;
|
|
1556
1420
|
fileSize?: number | undefined;
|
|
1557
1421
|
fileType?: string | undefined;
|
|
1558
1422
|
fileUrl?: string | undefined;
|
|
1559
1423
|
fileDuration?: number | undefined;
|
|
1560
1424
|
uploadState?: "pending" | "completed" | undefined;
|
|
1425
|
+
imageWidth?: number | undefined;
|
|
1426
|
+
imageHeight?: number | undefined;
|
|
1427
|
+
url?: string | undefined;
|
|
1561
1428
|
} | undefined;
|
|
1429
|
+
postedUid?: string | undefined;
|
|
1430
|
+
taskId?: string | undefined;
|
|
1562
1431
|
}, {
|
|
1563
1432
|
content: string;
|
|
1564
1433
|
id: string;
|
|
1565
1434
|
postedAt: string;
|
|
1566
1435
|
projectId?: string | undefined;
|
|
1567
|
-
|
|
1568
|
-
attachment?: {
|
|
1436
|
+
fileAttachment?: {
|
|
1569
1437
|
resourceType: string;
|
|
1438
|
+
image?: string | undefined;
|
|
1439
|
+
title?: string | undefined;
|
|
1570
1440
|
fileName?: string | undefined;
|
|
1571
1441
|
fileSize?: number | undefined;
|
|
1572
1442
|
fileType?: string | undefined;
|
|
1573
1443
|
fileUrl?: string | undefined;
|
|
1574
1444
|
fileDuration?: number | undefined;
|
|
1575
1445
|
uploadState?: "pending" | "completed" | undefined;
|
|
1446
|
+
imageWidth?: number | undefined;
|
|
1447
|
+
imageHeight?: number | undefined;
|
|
1448
|
+
url?: string | undefined;
|
|
1576
1449
|
} | undefined;
|
|
1450
|
+
postedUid?: string | undefined;
|
|
1451
|
+
taskId?: string | undefined;
|
|
1577
1452
|
}>, "many">;
|
|
1578
1453
|
totalCount: import('zod').ZodNumber;
|
|
1579
1454
|
updatedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
@@ -1591,35 +1466,29 @@ declare const tools: {
|
|
|
1591
1466
|
id: string;
|
|
1592
1467
|
}[];
|
|
1593
1468
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1594
|
-
|
|
1595
|
-
type: "text";
|
|
1596
|
-
text: string;
|
|
1597
|
-
}[];
|
|
1469
|
+
textContent: string;
|
|
1598
1470
|
structuredContent: {
|
|
1599
1471
|
comments: {
|
|
1600
|
-
taskId: string | undefined;
|
|
1601
1472
|
id: string;
|
|
1473
|
+
taskId: string | undefined;
|
|
1474
|
+
projectId: string | undefined;
|
|
1602
1475
|
content: string;
|
|
1603
1476
|
postedAt: string;
|
|
1477
|
+
postedUid: string;
|
|
1604
1478
|
fileAttachment: {
|
|
1605
1479
|
resourceType: string;
|
|
1606
|
-
fileName
|
|
1607
|
-
fileSize
|
|
1608
|
-
fileType
|
|
1609
|
-
fileUrl
|
|
1610
|
-
fileDuration
|
|
1611
|
-
uploadState
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
} |
|
|
1618
|
-
postedUid: string;
|
|
1619
|
-
uidsToNotify: string[] | null;
|
|
1620
|
-
reactions: Record<string, string[]> | null;
|
|
1621
|
-
isDeleted: boolean;
|
|
1622
|
-
projectId?: string | undefined;
|
|
1480
|
+
fileName: string | undefined;
|
|
1481
|
+
fileSize: number | undefined;
|
|
1482
|
+
fileType: string | undefined;
|
|
1483
|
+
fileUrl: string | undefined;
|
|
1484
|
+
fileDuration: number | undefined;
|
|
1485
|
+
uploadState: "pending" | "completed" | undefined;
|
|
1486
|
+
url: string | undefined;
|
|
1487
|
+
title: string | undefined;
|
|
1488
|
+
image: string | undefined;
|
|
1489
|
+
imageWidth: number | undefined;
|
|
1490
|
+
imageHeight: number | undefined;
|
|
1491
|
+
} | undefined;
|
|
1623
1492
|
}[];
|
|
1624
1493
|
totalCount: number;
|
|
1625
1494
|
updatedCommentIds: string[];
|
|
@@ -1627,17 +1496,6 @@ declare const tools: {
|
|
|
1627
1496
|
updateCount: number;
|
|
1628
1497
|
};
|
|
1629
1498
|
};
|
|
1630
|
-
} | {
|
|
1631
|
-
content: ({
|
|
1632
|
-
type: "text";
|
|
1633
|
-
text: string;
|
|
1634
|
-
mimeType?: undefined;
|
|
1635
|
-
} | {
|
|
1636
|
-
type: "text";
|
|
1637
|
-
mimeType: string;
|
|
1638
|
-
text: string;
|
|
1639
|
-
})[];
|
|
1640
|
-
structuredContent?: undefined;
|
|
1641
1499
|
}>;
|
|
1642
1500
|
};
|
|
1643
1501
|
findComments: {
|
|
@@ -1657,7 +1515,8 @@ declare const tools: {
|
|
|
1657
1515
|
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1658
1516
|
content: import('zod').ZodString;
|
|
1659
1517
|
postedAt: import('zod').ZodString;
|
|
1660
|
-
|
|
1518
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1519
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1661
1520
|
resourceType: import('zod').ZodString;
|
|
1662
1521
|
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1663
1522
|
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -1665,111 +1524,121 @@ declare const tools: {
|
|
|
1665
1524
|
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1666
1525
|
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1667
1526
|
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1527
|
+
url: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1528
|
+
title: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1529
|
+
image: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1530
|
+
imageWidth: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1531
|
+
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1668
1532
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1669
1533
|
resourceType: string;
|
|
1534
|
+
image?: string | undefined;
|
|
1535
|
+
title?: string | undefined;
|
|
1670
1536
|
fileName?: string | undefined;
|
|
1671
1537
|
fileSize?: number | undefined;
|
|
1672
1538
|
fileType?: string | undefined;
|
|
1673
1539
|
fileUrl?: string | undefined;
|
|
1674
1540
|
fileDuration?: number | undefined;
|
|
1675
1541
|
uploadState?: "pending" | "completed" | undefined;
|
|
1542
|
+
imageWidth?: number | undefined;
|
|
1543
|
+
imageHeight?: number | undefined;
|
|
1544
|
+
url?: string | undefined;
|
|
1676
1545
|
}, {
|
|
1677
1546
|
resourceType: string;
|
|
1547
|
+
image?: string | undefined;
|
|
1548
|
+
title?: string | undefined;
|
|
1678
1549
|
fileName?: string | undefined;
|
|
1679
1550
|
fileSize?: number | undefined;
|
|
1680
1551
|
fileType?: string | undefined;
|
|
1681
1552
|
fileUrl?: string | undefined;
|
|
1682
1553
|
fileDuration?: number | undefined;
|
|
1683
1554
|
uploadState?: "pending" | "completed" | undefined;
|
|
1555
|
+
imageWidth?: number | undefined;
|
|
1556
|
+
imageHeight?: number | undefined;
|
|
1557
|
+
url?: string | undefined;
|
|
1684
1558
|
}>>;
|
|
1685
1559
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1686
1560
|
content: string;
|
|
1687
1561
|
id: string;
|
|
1688
1562
|
postedAt: string;
|
|
1689
1563
|
projectId?: string | undefined;
|
|
1690
|
-
|
|
1691
|
-
attachment?: {
|
|
1564
|
+
fileAttachment?: {
|
|
1692
1565
|
resourceType: string;
|
|
1566
|
+
image?: string | undefined;
|
|
1567
|
+
title?: string | undefined;
|
|
1693
1568
|
fileName?: string | undefined;
|
|
1694
1569
|
fileSize?: number | undefined;
|
|
1695
1570
|
fileType?: string | undefined;
|
|
1696
1571
|
fileUrl?: string | undefined;
|
|
1697
1572
|
fileDuration?: number | undefined;
|
|
1698
1573
|
uploadState?: "pending" | "completed" | undefined;
|
|
1574
|
+
imageWidth?: number | undefined;
|
|
1575
|
+
imageHeight?: number | undefined;
|
|
1576
|
+
url?: string | undefined;
|
|
1699
1577
|
} | undefined;
|
|
1578
|
+
postedUid?: string | undefined;
|
|
1579
|
+
taskId?: string | undefined;
|
|
1700
1580
|
}, {
|
|
1701
1581
|
content: string;
|
|
1702
1582
|
id: string;
|
|
1703
1583
|
postedAt: string;
|
|
1704
1584
|
projectId?: string | undefined;
|
|
1705
|
-
|
|
1706
|
-
attachment?: {
|
|
1585
|
+
fileAttachment?: {
|
|
1707
1586
|
resourceType: string;
|
|
1587
|
+
image?: string | undefined;
|
|
1588
|
+
title?: string | undefined;
|
|
1708
1589
|
fileName?: string | undefined;
|
|
1709
1590
|
fileSize?: number | undefined;
|
|
1710
1591
|
fileType?: string | undefined;
|
|
1711
1592
|
fileUrl?: string | undefined;
|
|
1712
1593
|
fileDuration?: number | undefined;
|
|
1713
1594
|
uploadState?: "pending" | "completed" | undefined;
|
|
1595
|
+
imageWidth?: number | undefined;
|
|
1596
|
+
imageHeight?: number | undefined;
|
|
1597
|
+
url?: string | undefined;
|
|
1714
1598
|
} | undefined;
|
|
1599
|
+
postedUid?: string | undefined;
|
|
1600
|
+
taskId?: string | undefined;
|
|
1715
1601
|
}>, "many">;
|
|
1716
1602
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1717
1603
|
totalCount: import('zod').ZodNumber;
|
|
1718
1604
|
};
|
|
1719
1605
|
execute(args: {
|
|
1720
1606
|
projectId?: string | undefined;
|
|
1721
|
-
taskId?: string | undefined;
|
|
1722
1607
|
limit?: number | undefined;
|
|
1723
1608
|
cursor?: string | undefined;
|
|
1609
|
+
taskId?: string | undefined;
|
|
1724
1610
|
commentId?: string | undefined;
|
|
1725
1611
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1726
|
-
|
|
1727
|
-
type: "text";
|
|
1728
|
-
text: string;
|
|
1729
|
-
}[];
|
|
1612
|
+
textContent: string;
|
|
1730
1613
|
structuredContent: {
|
|
1731
1614
|
comments: {
|
|
1732
|
-
taskId: string | undefined;
|
|
1733
1615
|
id: string;
|
|
1616
|
+
taskId: string | undefined;
|
|
1617
|
+
projectId: string | undefined;
|
|
1734
1618
|
content: string;
|
|
1735
1619
|
postedAt: string;
|
|
1620
|
+
postedUid: string;
|
|
1736
1621
|
fileAttachment: {
|
|
1737
1622
|
resourceType: string;
|
|
1738
|
-
fileName
|
|
1739
|
-
fileSize
|
|
1740
|
-
fileType
|
|
1741
|
-
fileUrl
|
|
1742
|
-
fileDuration
|
|
1743
|
-
uploadState
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
} |
|
|
1750
|
-
postedUid: string;
|
|
1751
|
-
uidsToNotify: string[] | null;
|
|
1752
|
-
reactions: Record<string, string[]> | null;
|
|
1753
|
-
isDeleted: boolean;
|
|
1754
|
-
projectId?: string | undefined;
|
|
1623
|
+
fileName: string | undefined;
|
|
1624
|
+
fileSize: number | undefined;
|
|
1625
|
+
fileType: string | undefined;
|
|
1626
|
+
fileUrl: string | undefined;
|
|
1627
|
+
fileDuration: number | undefined;
|
|
1628
|
+
uploadState: "pending" | "completed" | undefined;
|
|
1629
|
+
url: string | undefined;
|
|
1630
|
+
title: string | undefined;
|
|
1631
|
+
image: string | undefined;
|
|
1632
|
+
imageWidth: number | undefined;
|
|
1633
|
+
imageHeight: number | undefined;
|
|
1634
|
+
} | undefined;
|
|
1755
1635
|
}[];
|
|
1756
1636
|
searchType: string;
|
|
1757
1637
|
searchId: string;
|
|
1758
1638
|
hasMore: boolean;
|
|
1759
|
-
nextCursor: string |
|
|
1639
|
+
nextCursor: string | undefined;
|
|
1760
1640
|
totalCount: number;
|
|
1761
1641
|
};
|
|
1762
|
-
} | {
|
|
1763
|
-
content: ({
|
|
1764
|
-
type: "text";
|
|
1765
|
-
text: string;
|
|
1766
|
-
mimeType?: undefined;
|
|
1767
|
-
} | {
|
|
1768
|
-
type: "text";
|
|
1769
|
-
mimeType: string;
|
|
1770
|
-
text: string;
|
|
1771
|
-
})[];
|
|
1772
|
-
structuredContent?: undefined;
|
|
1773
1642
|
}>;
|
|
1774
1643
|
};
|
|
1775
1644
|
findActivity: {
|
|
@@ -1787,7 +1656,7 @@ declare const tools: {
|
|
|
1787
1656
|
};
|
|
1788
1657
|
outputSchema: {
|
|
1789
1658
|
events: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1790
|
-
id: import('zod').ZodString
|
|
1659
|
+
id: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1791
1660
|
objectType: import('zod').ZodString;
|
|
1792
1661
|
objectId: import('zod').ZodString;
|
|
1793
1662
|
eventType: import('zod').ZodString;
|
|
@@ -1795,27 +1664,27 @@ declare const tools: {
|
|
|
1795
1664
|
parentProjectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1796
1665
|
parentItemId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1797
1666
|
initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1798
|
-
extraData: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown
|
|
1667
|
+
extraData: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
1799
1668
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1800
|
-
id: string;
|
|
1801
1669
|
objectType: string;
|
|
1802
1670
|
objectId: string;
|
|
1803
1671
|
eventType: string;
|
|
1804
1672
|
eventDate: string;
|
|
1805
|
-
|
|
1673
|
+
id?: string | undefined;
|
|
1806
1674
|
parentProjectId?: string | undefined;
|
|
1807
1675
|
parentItemId?: string | undefined;
|
|
1808
1676
|
initiatorId?: string | undefined;
|
|
1677
|
+
extraData?: Record<string, unknown> | undefined;
|
|
1809
1678
|
}, {
|
|
1810
|
-
id: string;
|
|
1811
1679
|
objectType: string;
|
|
1812
1680
|
objectId: string;
|
|
1813
1681
|
eventType: string;
|
|
1814
1682
|
eventDate: string;
|
|
1815
|
-
|
|
1683
|
+
id?: string | undefined;
|
|
1816
1684
|
parentProjectId?: string | undefined;
|
|
1817
1685
|
parentItemId?: string | undefined;
|
|
1818
1686
|
initiatorId?: string | undefined;
|
|
1687
|
+
extraData?: Record<string, unknown> | undefined;
|
|
1819
1688
|
}>, "many">;
|
|
1820
1689
|
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1821
1690
|
totalCount: import('zod').ZodNumber;
|
|
@@ -1825,54 +1694,40 @@ declare const tools: {
|
|
|
1825
1694
|
execute(args: {
|
|
1826
1695
|
limit: number;
|
|
1827
1696
|
projectId?: string | undefined;
|
|
1828
|
-
taskId?: string | undefined;
|
|
1829
1697
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
1830
1698
|
objectId?: string | undefined;
|
|
1831
1699
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1832
1700
|
initiatorId?: string | undefined;
|
|
1833
1701
|
cursor?: string | undefined;
|
|
1702
|
+
taskId?: string | undefined;
|
|
1834
1703
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1835
|
-
|
|
1836
|
-
type: "text";
|
|
1837
|
-
text: string;
|
|
1838
|
-
}[];
|
|
1704
|
+
textContent: string;
|
|
1839
1705
|
structuredContent: {
|
|
1840
1706
|
events: {
|
|
1841
|
-
id: string |
|
|
1707
|
+
id: string | undefined;
|
|
1842
1708
|
objectType: string;
|
|
1843
1709
|
objectId: string;
|
|
1844
1710
|
eventType: string;
|
|
1845
1711
|
eventDate: string;
|
|
1846
|
-
parentProjectId: string |
|
|
1847
|
-
parentItemId: string |
|
|
1848
|
-
initiatorId: string |
|
|
1849
|
-
extraData: Record<string, any> |
|
|
1712
|
+
parentProjectId: string | undefined;
|
|
1713
|
+
parentItemId: string | undefined;
|
|
1714
|
+
initiatorId: string | undefined;
|
|
1715
|
+
extraData: Record<string, any> | undefined;
|
|
1850
1716
|
}[];
|
|
1851
|
-
nextCursor: string |
|
|
1717
|
+
nextCursor: string | undefined;
|
|
1852
1718
|
totalCount: number;
|
|
1853
1719
|
hasMore: boolean;
|
|
1854
1720
|
appliedFilters: {
|
|
1855
1721
|
limit: number;
|
|
1856
1722
|
projectId?: string | undefined;
|
|
1857
|
-
taskId?: string | undefined;
|
|
1858
1723
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
1859
1724
|
objectId?: string | undefined;
|
|
1860
1725
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1861
1726
|
initiatorId?: string | undefined;
|
|
1862
1727
|
cursor?: string | undefined;
|
|
1728
|
+
taskId?: string | undefined;
|
|
1863
1729
|
};
|
|
1864
1730
|
};
|
|
1865
|
-
} | {
|
|
1866
|
-
content: ({
|
|
1867
|
-
type: "text";
|
|
1868
|
-
text: string;
|
|
1869
|
-
mimeType?: undefined;
|
|
1870
|
-
} | {
|
|
1871
|
-
type: "text";
|
|
1872
|
-
mimeType: string;
|
|
1873
|
-
text: string;
|
|
1874
|
-
})[];
|
|
1875
|
-
structuredContent?: undefined;
|
|
1876
1731
|
}>;
|
|
1877
1732
|
};
|
|
1878
1733
|
getOverview: {
|
|
@@ -1884,7 +1739,7 @@ declare const tools: {
|
|
|
1884
1739
|
outputSchema: {
|
|
1885
1740
|
type: import('zod').ZodEnum<["account_overview", "project_overview"]>;
|
|
1886
1741
|
totalProjects: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1887
|
-
totalTasks: import('zod').ZodNumber
|
|
1742
|
+
totalTasks: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1888
1743
|
totalSections: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1889
1744
|
tasksWithoutSection: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1890
1745
|
projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
@@ -1903,26 +1758,19 @@ declare const tools: {
|
|
|
1903
1758
|
isFavorite: boolean;
|
|
1904
1759
|
isShared: boolean;
|
|
1905
1760
|
}>>;
|
|
1761
|
+
hasNestedProjects: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1762
|
+
inbox: import('zod').ZodOptional<import('zod').ZodAny>;
|
|
1763
|
+
projects: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
|
|
1764
|
+
project: import('zod').ZodOptional<import('zod').ZodAny>;
|
|
1765
|
+
sections: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
|
|
1766
|
+
tasks: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodAny, "many">>;
|
|
1767
|
+
stats: import('zod').ZodOptional<import('zod').ZodAny>;
|
|
1906
1768
|
};
|
|
1907
1769
|
execute(args: {
|
|
1908
1770
|
projectId?: string | undefined;
|
|
1909
1771
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1910
|
-
|
|
1911
|
-
type: "text";
|
|
1912
|
-
text: string;
|
|
1913
|
-
}[];
|
|
1772
|
+
textContent: string;
|
|
1914
1773
|
structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
|
|
1915
|
-
} | {
|
|
1916
|
-
content: ({
|
|
1917
|
-
type: "text";
|
|
1918
|
-
text: string;
|
|
1919
|
-
mimeType?: undefined;
|
|
1920
|
-
} | {
|
|
1921
|
-
type: "text";
|
|
1922
|
-
mimeType: string;
|
|
1923
|
-
text: string;
|
|
1924
|
-
})[];
|
|
1925
|
-
structuredContent?: undefined;
|
|
1926
1774
|
}>;
|
|
1927
1775
|
};
|
|
1928
1776
|
deleteObject: {
|
|
@@ -1949,28 +1797,14 @@ declare const tools: {
|
|
|
1949
1797
|
type: "comment" | "task" | "project" | "section";
|
|
1950
1798
|
id: string;
|
|
1951
1799
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1952
|
-
|
|
1953
|
-
type: "text";
|
|
1954
|
-
text: string;
|
|
1955
|
-
}[];
|
|
1800
|
+
textContent: string;
|
|
1956
1801
|
structuredContent: {
|
|
1957
1802
|
deletedEntity: {
|
|
1958
1803
|
type: "comment" | "task" | "project" | "section";
|
|
1959
1804
|
id: string;
|
|
1960
1805
|
};
|
|
1961
|
-
success:
|
|
1806
|
+
success: true;
|
|
1962
1807
|
};
|
|
1963
|
-
} | {
|
|
1964
|
-
content: ({
|
|
1965
|
-
type: "text";
|
|
1966
|
-
text: string;
|
|
1967
|
-
mimeType?: undefined;
|
|
1968
|
-
} | {
|
|
1969
|
-
type: "text";
|
|
1970
|
-
mimeType: string;
|
|
1971
|
-
text: string;
|
|
1972
|
-
})[];
|
|
1973
|
-
structuredContent?: undefined;
|
|
1974
1808
|
}>;
|
|
1975
1809
|
};
|
|
1976
1810
|
userInfo: {
|
|
@@ -1995,22 +1829,8 @@ declare const tools: {
|
|
|
1995
1829
|
plan: import('zod').ZodEnum<["Todoist Free", "Todoist Pro", "Todoist Business"]>;
|
|
1996
1830
|
};
|
|
1997
1831
|
execute(_args: {}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1998
|
-
|
|
1999
|
-
type: "text";
|
|
2000
|
-
text: string;
|
|
2001
|
-
}[];
|
|
1832
|
+
textContent: string;
|
|
2002
1833
|
structuredContent: import('./tools/user-info.js').UserInfoStructured;
|
|
2003
|
-
} | {
|
|
2004
|
-
content: ({
|
|
2005
|
-
type: "text";
|
|
2006
|
-
text: string;
|
|
2007
|
-
mimeType?: undefined;
|
|
2008
|
-
} | {
|
|
2009
|
-
type: "text";
|
|
2010
|
-
mimeType: string;
|
|
2011
|
-
text: string;
|
|
2012
|
-
})[];
|
|
2013
|
-
structuredContent?: undefined;
|
|
2014
1834
|
}>;
|
|
2015
1835
|
};
|
|
2016
1836
|
findProjectCollaborators: {
|
|
@@ -2055,45 +1875,45 @@ declare const tools: {
|
|
|
2055
1875
|
projectId: string;
|
|
2056
1876
|
searchTerm?: string | undefined;
|
|
2057
1877
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
2058
|
-
|
|
2059
|
-
type: "text";
|
|
2060
|
-
text: string;
|
|
2061
|
-
}[];
|
|
1878
|
+
textContent: string;
|
|
2062
1879
|
structuredContent: {
|
|
2063
1880
|
collaborators: never[];
|
|
2064
1881
|
projectInfo: {
|
|
2065
1882
|
id: string;
|
|
2066
1883
|
name: string;
|
|
2067
|
-
isShared:
|
|
1884
|
+
isShared: false;
|
|
2068
1885
|
};
|
|
2069
1886
|
totalCount: number;
|
|
2070
1887
|
appliedFilters: {
|
|
2071
1888
|
projectId: string;
|
|
2072
1889
|
searchTerm?: string | undefined;
|
|
2073
1890
|
};
|
|
1891
|
+
totalAvailable?: undefined;
|
|
2074
1892
|
};
|
|
2075
1893
|
} | {
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1894
|
+
textContent: string;
|
|
1895
|
+
structuredContent: {
|
|
1896
|
+
collaborators: never[];
|
|
1897
|
+
projectInfo: {
|
|
1898
|
+
id: string;
|
|
1899
|
+
name: string;
|
|
1900
|
+
isShared: true;
|
|
1901
|
+
};
|
|
1902
|
+
totalCount: number;
|
|
1903
|
+
appliedFilters: {
|
|
1904
|
+
projectId: string;
|
|
1905
|
+
searchTerm?: string | undefined;
|
|
1906
|
+
};
|
|
1907
|
+
totalAvailable?: undefined;
|
|
1908
|
+
};
|
|
2086
1909
|
} | {
|
|
2087
|
-
|
|
2088
|
-
type: "text";
|
|
2089
|
-
text: string;
|
|
2090
|
-
}[];
|
|
1910
|
+
textContent: string;
|
|
2091
1911
|
structuredContent: {
|
|
2092
1912
|
collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
|
|
2093
1913
|
projectInfo: {
|
|
2094
1914
|
id: string;
|
|
2095
1915
|
name: string;
|
|
2096
|
-
isShared:
|
|
1916
|
+
isShared: true;
|
|
2097
1917
|
};
|
|
2098
1918
|
totalCount: number;
|
|
2099
1919
|
totalAvailable: number;
|
|
@@ -2134,7 +1954,7 @@ declare const tools: {
|
|
|
2134
1954
|
originalAssigneeId?: string | undefined;
|
|
2135
1955
|
newAssigneeId?: string | undefined;
|
|
2136
1956
|
}>, "many">;
|
|
2137
|
-
summary: import('zod').ZodObject<{
|
|
1957
|
+
summary: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
2138
1958
|
total: import('zod').ZodNumber;
|
|
2139
1959
|
succeeded: import('zod').ZodNumber;
|
|
2140
1960
|
failed: import('zod').ZodNumber;
|
|
@@ -2149,7 +1969,7 @@ declare const tools: {
|
|
|
2149
1969
|
succeeded: number;
|
|
2150
1970
|
failed: number;
|
|
2151
1971
|
dryRun: boolean;
|
|
2152
|
-
}
|
|
1972
|
+
}>>;
|
|
2153
1973
|
};
|
|
2154
1974
|
execute(args: {
|
|
2155
1975
|
dryRun: boolean;
|
|
@@ -2158,10 +1978,7 @@ declare const tools: {
|
|
|
2158
1978
|
responsibleUser?: string | undefined;
|
|
2159
1979
|
fromAssigneeUser?: string | undefined;
|
|
2160
1980
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
2161
|
-
|
|
2162
|
-
type: "text";
|
|
2163
|
-
text: string;
|
|
2164
|
-
}[];
|
|
1981
|
+
textContent: string;
|
|
2165
1982
|
structuredContent: {
|
|
2166
1983
|
operation: "assign" | "unassign" | "reassign";
|
|
2167
1984
|
results: import('./tools/manage-assignments.js').OperationResult[];
|
|
@@ -2170,17 +1987,6 @@ declare const tools: {
|
|
|
2170
1987
|
failed: number;
|
|
2171
1988
|
dryRun: boolean;
|
|
2172
1989
|
};
|
|
2173
|
-
} | {
|
|
2174
|
-
content: ({
|
|
2175
|
-
type: "text";
|
|
2176
|
-
text: string;
|
|
2177
|
-
mimeType?: undefined;
|
|
2178
|
-
} | {
|
|
2179
|
-
type: "text";
|
|
2180
|
-
mimeType: string;
|
|
2181
|
-
text: string;
|
|
2182
|
-
})[];
|
|
2183
|
-
structuredContent?: undefined;
|
|
2184
1990
|
}>;
|
|
2185
1991
|
};
|
|
2186
1992
|
search: {
|
|
@@ -2208,11 +2014,15 @@ declare const tools: {
|
|
|
2208
2014
|
execute(args: {
|
|
2209
2015
|
query: string;
|
|
2210
2016
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2017
|
+
textContent: string;
|
|
2018
|
+
structuredContent: {
|
|
2019
|
+
results: {
|
|
2020
|
+
id: string;
|
|
2021
|
+
title: string;
|
|
2022
|
+
url: string;
|
|
2023
|
+
}[];
|
|
2024
|
+
totalCount: number;
|
|
2025
|
+
};
|
|
2216
2026
|
}>;
|
|
2217
2027
|
};
|
|
2218
2028
|
fetch: {
|
|
@@ -2231,11 +2041,7 @@ declare const tools: {
|
|
|
2231
2041
|
execute(args: {
|
|
2232
2042
|
id: string;
|
|
2233
2043
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
2234
|
-
|
|
2235
|
-
type: "text";
|
|
2236
|
-
text: string;
|
|
2237
|
-
}[];
|
|
2238
|
-
isError?: boolean;
|
|
2044
|
+
textContent: string;
|
|
2239
2045
|
}>;
|
|
2240
2046
|
};
|
|
2241
2047
|
};
|