@doist/todoist-ai 4.16.0 → 4.16.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/filter-helpers.d.ts +1 -1
- package/dist/index.d.ts +175 -175
- package/dist/index.js +61 -81
- package/dist/main.js +15 -23
- package/dist/mcp-helpers.d.ts +4 -4
- package/dist/mcp-server-6tm7Rhyz.js +2840 -0
- package/dist/todoist-tool.d.ts +2 -2
- package/dist/tool-helpers.d.ts +1 -1
- package/dist/tools/add-comments.d.ts +1 -1
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +4 -4
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +1 -1
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +4 -4
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +1 -1
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +3 -3
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +1 -1
- package/dist/tools/find-activity.d.ts +5 -5
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +2 -2
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +3 -3
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +2 -2
- package/dist/tools/find-projects.d.ts +1 -1
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +1 -1
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +1 -1
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +3 -3
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +1 -1
- package/dist/tools/manage-assignments.d.ts +1 -1
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/update-comments.d.ts +4 -4
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +1 -1
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +4 -4
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +7 -7
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts +2 -2
- package/dist/utils/response-builders.d.ts +1 -3
- package/dist/utils/response-builders.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -1
- package/dist/utils/user-resolver.d.ts +1 -1
- package/package.json +10 -8
- package/dist/filter-helpers.js +0 -79
- package/dist/mcp-helpers.js +0 -71
- package/dist/mcp-server.js +0 -142
- package/dist/todoist-tool.js +0 -1
- package/dist/tool-helpers.js +0 -125
- package/dist/tool-helpers.test.d.ts +0 -2
- package/dist/tool-helpers.test.d.ts.map +0 -1
- package/dist/tool-helpers.test.js +0 -223
- package/dist/tools/__tests__/add-comments.test.d.ts +0 -2
- package/dist/tools/__tests__/add-comments.test.d.ts.map +0 -1
- package/dist/tools/__tests__/add-comments.test.js +0 -241
- package/dist/tools/__tests__/add-projects.test.d.ts +0 -2
- package/dist/tools/__tests__/add-projects.test.d.ts.map +0 -1
- package/dist/tools/__tests__/add-projects.test.js +0 -174
- package/dist/tools/__tests__/add-sections.test.d.ts +0 -2
- package/dist/tools/__tests__/add-sections.test.d.ts.map +0 -1
- package/dist/tools/__tests__/add-sections.test.js +0 -185
- package/dist/tools/__tests__/add-tasks.test.d.ts +0 -2
- package/dist/tools/__tests__/add-tasks.test.d.ts.map +0 -1
- package/dist/tools/__tests__/add-tasks.test.js +0 -606
- package/dist/tools/__tests__/assignment-integration.test.d.ts +0 -2
- package/dist/tools/__tests__/assignment-integration.test.d.ts.map +0 -1
- package/dist/tools/__tests__/assignment-integration.test.js +0 -428
- package/dist/tools/__tests__/complete-tasks.test.d.ts +0 -2
- package/dist/tools/__tests__/complete-tasks.test.d.ts.map +0 -1
- package/dist/tools/__tests__/complete-tasks.test.js +0 -206
- package/dist/tools/__tests__/delete-object.test.d.ts +0 -2
- package/dist/tools/__tests__/delete-object.test.d.ts.map +0 -1
- package/dist/tools/__tests__/delete-object.test.js +0 -110
- package/dist/tools/__tests__/fetch.test.d.ts +0 -2
- package/dist/tools/__tests__/fetch.test.d.ts.map +0 -1
- package/dist/tools/__tests__/fetch.test.js +0 -279
- package/dist/tools/__tests__/find-activity.test.d.ts +0 -2
- package/dist/tools/__tests__/find-activity.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-activity.test.js +0 -229
- package/dist/tools/__tests__/find-comments.test.d.ts +0 -2
- package/dist/tools/__tests__/find-comments.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-comments.test.js +0 -236
- package/dist/tools/__tests__/find-completed-tasks.test.d.ts +0 -2
- package/dist/tools/__tests__/find-completed-tasks.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-completed-tasks.test.js +0 -423
- package/dist/tools/__tests__/find-projects.test.d.ts +0 -2
- package/dist/tools/__tests__/find-projects.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-projects.test.js +0 -154
- package/dist/tools/__tests__/find-sections.test.d.ts +0 -2
- package/dist/tools/__tests__/find-sections.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-sections.test.js +0 -313
- package/dist/tools/__tests__/find-tasks-by-date.test.d.ts +0 -2
- package/dist/tools/__tests__/find-tasks-by-date.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-tasks-by-date.test.js +0 -528
- package/dist/tools/__tests__/find-tasks.test.d.ts +0 -2
- package/dist/tools/__tests__/find-tasks.test.d.ts.map +0 -1
- package/dist/tools/__tests__/find-tasks.test.js +0 -771
- package/dist/tools/__tests__/get-overview.test.d.ts +0 -2
- package/dist/tools/__tests__/get-overview.test.d.ts.map +0 -1
- package/dist/tools/__tests__/get-overview.test.js +0 -225
- package/dist/tools/__tests__/search.test.d.ts +0 -2
- package/dist/tools/__tests__/search.test.d.ts.map +0 -1
- package/dist/tools/__tests__/search.test.js +0 -206
- package/dist/tools/__tests__/update-comments.test.d.ts +0 -2
- package/dist/tools/__tests__/update-comments.test.d.ts.map +0 -1
- package/dist/tools/__tests__/update-comments.test.js +0 -294
- package/dist/tools/__tests__/update-projects.test.d.ts +0 -2
- package/dist/tools/__tests__/update-projects.test.d.ts.map +0 -1
- package/dist/tools/__tests__/update-projects.test.js +0 -217
- package/dist/tools/__tests__/update-sections.test.d.ts +0 -2
- package/dist/tools/__tests__/update-sections.test.d.ts.map +0 -1
- package/dist/tools/__tests__/update-sections.test.js +0 -169
- package/dist/tools/__tests__/update-tasks.test.d.ts +0 -2
- package/dist/tools/__tests__/update-tasks.test.d.ts.map +0 -1
- package/dist/tools/__tests__/update-tasks.test.js +0 -788
- package/dist/tools/__tests__/user-info.test.d.ts +0 -2
- package/dist/tools/__tests__/user-info.test.d.ts.map +0 -1
- package/dist/tools/__tests__/user-info.test.js +0 -139
- package/dist/tools/add-comments.js +0 -89
- package/dist/tools/add-projects.js +0 -63
- package/dist/tools/add-sections.js +0 -74
- package/dist/tools/add-tasks.js +0 -169
- package/dist/tools/complete-tasks.js +0 -68
- package/dist/tools/delete-object.js +0 -79
- package/dist/tools/fetch.js +0 -102
- package/dist/tools/find-activity.js +0 -221
- package/dist/tools/find-comments.js +0 -148
- package/dist/tools/find-completed-tasks.js +0 -168
- package/dist/tools/find-project-collaborators.js +0 -151
- package/dist/tools/find-projects.js +0 -101
- package/dist/tools/find-sections.js +0 -101
- package/dist/tools/find-tasks-by-date.js +0 -198
- package/dist/tools/find-tasks.js +0 -329
- package/dist/tools/get-overview.js +0 -249
- package/dist/tools/manage-assignments.js +0 -337
- package/dist/tools/search.js +0 -65
- package/dist/tools/update-comments.js +0 -82
- package/dist/tools/update-projects.js +0 -84
- package/dist/tools/update-sections.js +0 -70
- package/dist/tools/update-tasks.js +0 -179
- package/dist/tools/user-info.js +0 -142
- package/dist/utils/assignment-validator.js +0 -253
- package/dist/utils/constants.js +0 -45
- package/dist/utils/duration-parser.js +0 -96
- package/dist/utils/duration-parser.test.d.ts +0 -2
- package/dist/utils/duration-parser.test.d.ts.map +0 -1
- package/dist/utils/duration-parser.test.js +0 -147
- package/dist/utils/labels.js +0 -18
- package/dist/utils/priorities.js +0 -20
- package/dist/utils/response-builders.js +0 -210
- package/dist/utils/sanitize-data.js +0 -37
- package/dist/utils/sanitize-data.test.d.ts +0 -2
- package/dist/utils/sanitize-data.test.d.ts.map +0 -1
- package/dist/utils/sanitize-data.test.js +0 -93
- package/dist/utils/test-helpers.js +0 -237
- package/dist/utils/tool-names.js +0 -40
- package/dist/utils/user-resolver.js +0 -179
package/dist/index.d.ts
CHANGED
|
@@ -27,23 +27,23 @@ declare const tools: {
|
|
|
27
27
|
name: "add-tasks";
|
|
28
28
|
description: string;
|
|
29
29
|
parameters: {
|
|
30
|
-
tasks: import(
|
|
31
|
-
content: import(
|
|
32
|
-
description: import(
|
|
33
|
-
priority: import(
|
|
34
|
-
dueString: import(
|
|
35
|
-
deadlineDate: import(
|
|
36
|
-
duration: import(
|
|
37
|
-
labels: import(
|
|
38
|
-
projectId: import(
|
|
39
|
-
sectionId: import(
|
|
40
|
-
parentId: import(
|
|
41
|
-
responsibleUser: import(
|
|
42
|
-
}, "strip", import(
|
|
30
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
31
|
+
content: import('zod').ZodString;
|
|
32
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
33
|
+
priority: import('zod').ZodOptional<import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>>;
|
|
34
|
+
dueString: import('zod').ZodOptional<import('zod').ZodString>;
|
|
35
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
36
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
37
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
38
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
39
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
40
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
41
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
42
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
43
43
|
content: string;
|
|
44
44
|
description?: string | undefined;
|
|
45
|
-
parentId?: string | undefined;
|
|
46
45
|
projectId?: string | undefined;
|
|
46
|
+
parentId?: string | undefined;
|
|
47
47
|
sectionId?: string | undefined;
|
|
48
48
|
labels?: string[] | undefined;
|
|
49
49
|
duration?: string | undefined;
|
|
@@ -54,8 +54,8 @@ declare const tools: {
|
|
|
54
54
|
}, {
|
|
55
55
|
content: string;
|
|
56
56
|
description?: string | undefined;
|
|
57
|
-
parentId?: string | undefined;
|
|
58
57
|
projectId?: string | undefined;
|
|
58
|
+
parentId?: string | undefined;
|
|
59
59
|
sectionId?: string | undefined;
|
|
60
60
|
labels?: string[] | undefined;
|
|
61
61
|
duration?: string | undefined;
|
|
@@ -69,8 +69,8 @@ declare const tools: {
|
|
|
69
69
|
tasks: {
|
|
70
70
|
content: string;
|
|
71
71
|
description?: string | undefined;
|
|
72
|
-
parentId?: string | undefined;
|
|
73
72
|
projectId?: string | undefined;
|
|
73
|
+
parentId?: string | undefined;
|
|
74
74
|
sectionId?: string | undefined;
|
|
75
75
|
labels?: string[] | undefined;
|
|
76
76
|
duration?: string | undefined;
|
|
@@ -79,7 +79,7 @@ declare const tools: {
|
|
|
79
79
|
deadlineDate?: string | undefined;
|
|
80
80
|
responsibleUser?: string | undefined;
|
|
81
81
|
}[];
|
|
82
|
-
}, client: import(
|
|
82
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
83
83
|
content: {
|
|
84
84
|
type: "text";
|
|
85
85
|
text: string;
|
|
@@ -122,11 +122,11 @@ declare const tools: {
|
|
|
122
122
|
name: "complete-tasks";
|
|
123
123
|
description: string;
|
|
124
124
|
parameters: {
|
|
125
|
-
ids: import(
|
|
125
|
+
ids: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
126
126
|
};
|
|
127
127
|
execute(args: {
|
|
128
128
|
ids: string[];
|
|
129
|
-
}, client: import(
|
|
129
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
130
130
|
content: {
|
|
131
131
|
type: "text";
|
|
132
132
|
text: string;
|
|
@@ -159,26 +159,26 @@ declare const tools: {
|
|
|
159
159
|
name: "update-tasks";
|
|
160
160
|
description: string;
|
|
161
161
|
parameters: {
|
|
162
|
-
tasks: import(
|
|
163
|
-
id: import(
|
|
164
|
-
content: import(
|
|
165
|
-
description: import(
|
|
166
|
-
projectId: import(
|
|
167
|
-
sectionId: import(
|
|
168
|
-
parentId: import(
|
|
169
|
-
order: import(
|
|
170
|
-
priority: import(
|
|
171
|
-
dueString: import(
|
|
172
|
-
deadlineDate: import(
|
|
173
|
-
duration: import(
|
|
174
|
-
responsibleUser: import(
|
|
175
|
-
labels: import(
|
|
176
|
-
}, "strip", import(
|
|
162
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
163
|
+
id: import('zod').ZodString;
|
|
164
|
+
content: import('zod').ZodOptional<import('zod').ZodString>;
|
|
165
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
166
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
167
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
168
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
169
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
170
|
+
priority: import('zod').ZodOptional<import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>>;
|
|
171
|
+
dueString: import('zod').ZodOptional<import('zod').ZodString>;
|
|
172
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
173
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
174
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
175
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
176
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
177
177
|
id: string;
|
|
178
|
-
description?: string | undefined;
|
|
179
|
-
parentId?: string | undefined;
|
|
180
178
|
content?: string | undefined;
|
|
179
|
+
description?: string | undefined;
|
|
181
180
|
projectId?: string | undefined;
|
|
181
|
+
parentId?: string | undefined;
|
|
182
182
|
sectionId?: string | undefined;
|
|
183
183
|
labels?: string[] | undefined;
|
|
184
184
|
duration?: string | undefined;
|
|
@@ -189,10 +189,10 @@ declare const tools: {
|
|
|
189
189
|
order?: number | undefined;
|
|
190
190
|
}, {
|
|
191
191
|
id: string;
|
|
192
|
-
description?: string | undefined;
|
|
193
|
-
parentId?: string | undefined;
|
|
194
192
|
content?: string | undefined;
|
|
193
|
+
description?: string | undefined;
|
|
195
194
|
projectId?: string | undefined;
|
|
195
|
+
parentId?: string | undefined;
|
|
196
196
|
sectionId?: string | undefined;
|
|
197
197
|
labels?: string[] | undefined;
|
|
198
198
|
duration?: string | undefined;
|
|
@@ -206,10 +206,10 @@ declare const tools: {
|
|
|
206
206
|
execute(args: {
|
|
207
207
|
tasks: {
|
|
208
208
|
id: string;
|
|
209
|
-
description?: string | undefined;
|
|
210
|
-
parentId?: string | undefined;
|
|
211
209
|
content?: string | undefined;
|
|
210
|
+
description?: string | undefined;
|
|
212
211
|
projectId?: string | undefined;
|
|
212
|
+
parentId?: string | undefined;
|
|
213
213
|
sectionId?: string | undefined;
|
|
214
214
|
labels?: string[] | undefined;
|
|
215
215
|
duration?: string | undefined;
|
|
@@ -219,7 +219,7 @@ declare const tools: {
|
|
|
219
219
|
responsibleUser?: string | undefined;
|
|
220
220
|
order?: number | undefined;
|
|
221
221
|
}[];
|
|
222
|
-
}, client: import(
|
|
222
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
223
223
|
content: {
|
|
224
224
|
type: "text";
|
|
225
225
|
text: string;
|
|
@@ -267,29 +267,29 @@ declare const tools: {
|
|
|
267
267
|
name: "find-tasks";
|
|
268
268
|
description: string;
|
|
269
269
|
parameters: {
|
|
270
|
-
labels: import(
|
|
271
|
-
labelsOperator: import(
|
|
272
|
-
searchText: import(
|
|
273
|
-
projectId: import(
|
|
274
|
-
sectionId: import(
|
|
275
|
-
parentId: import(
|
|
276
|
-
responsibleUser: import(
|
|
277
|
-
responsibleUserFiltering: import(
|
|
278
|
-
limit: import(
|
|
279
|
-
cursor: import(
|
|
270
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
271
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
272
|
+
searchText: import('zod').ZodOptional<import('zod').ZodString>;
|
|
273
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
274
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
275
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
276
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
277
|
+
responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<["assigned", "unassignedOrMe", "all"]>>;
|
|
278
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
279
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
280
280
|
};
|
|
281
281
|
execute(args: {
|
|
282
282
|
limit: number;
|
|
283
|
+
projectId?: string | undefined;
|
|
283
284
|
parentId?: string | undefined;
|
|
284
285
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
285
|
-
projectId?: string | undefined;
|
|
286
286
|
sectionId?: string | undefined;
|
|
287
287
|
labels?: string[] | undefined;
|
|
288
288
|
cursor?: string | undefined;
|
|
289
289
|
responsibleUser?: string | undefined;
|
|
290
290
|
labelsOperator?: "and" | "or" | undefined;
|
|
291
291
|
searchText?: string | undefined;
|
|
292
|
-
}, client: import(
|
|
292
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
293
293
|
content: {
|
|
294
294
|
type: "text";
|
|
295
295
|
text: string;
|
|
@@ -318,9 +318,9 @@ declare const tools: {
|
|
|
318
318
|
hasMore: boolean;
|
|
319
319
|
appliedFilters: {
|
|
320
320
|
limit: number;
|
|
321
|
+
projectId?: string | undefined;
|
|
321
322
|
parentId?: string | undefined;
|
|
322
323
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
323
|
-
projectId?: string | undefined;
|
|
324
324
|
sectionId?: string | undefined;
|
|
325
325
|
labels?: string[] | undefined;
|
|
326
326
|
cursor?: string | undefined;
|
|
@@ -346,15 +346,15 @@ declare const tools: {
|
|
|
346
346
|
name: "find-tasks-by-date";
|
|
347
347
|
description: string;
|
|
348
348
|
parameters: {
|
|
349
|
-
labels: import(
|
|
350
|
-
labelsOperator: import(
|
|
351
|
-
startDate: import(
|
|
352
|
-
overdueOption: import(
|
|
353
|
-
daysCount: import(
|
|
354
|
-
limit: import(
|
|
355
|
-
cursor: import(
|
|
356
|
-
responsibleUser: import(
|
|
357
|
-
responsibleUserFiltering: import(
|
|
349
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
350
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
351
|
+
startDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
352
|
+
overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<["overdue-only", "include-overdue", "exclude-overdue"]>>;
|
|
353
|
+
daysCount: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
354
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
355
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
356
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
357
|
+
responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<["assigned", "unassignedOrMe", "all"]>>;
|
|
358
358
|
};
|
|
359
359
|
execute(args: {
|
|
360
360
|
limit: number;
|
|
@@ -366,7 +366,7 @@ declare const tools: {
|
|
|
366
366
|
labelsOperator?: "and" | "or" | undefined;
|
|
367
367
|
startDate?: string | undefined;
|
|
368
368
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
369
|
-
}, client: import(
|
|
369
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
370
370
|
content: {
|
|
371
371
|
type: "text";
|
|
372
372
|
text: string;
|
|
@@ -422,33 +422,33 @@ declare const tools: {
|
|
|
422
422
|
name: "find-completed-tasks";
|
|
423
423
|
description: string;
|
|
424
424
|
parameters: {
|
|
425
|
-
labels: import(
|
|
426
|
-
labelsOperator: import(
|
|
427
|
-
getBy: import(
|
|
428
|
-
since: import(
|
|
429
|
-
until: import(
|
|
430
|
-
workspaceId: import(
|
|
431
|
-
projectId: import(
|
|
432
|
-
sectionId: import(
|
|
433
|
-
parentId: import(
|
|
434
|
-
responsibleUser: import(
|
|
435
|
-
limit: import(
|
|
436
|
-
cursor: import(
|
|
425
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
426
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
427
|
+
getBy: import('zod').ZodDefault<import('zod').ZodEnum<["completion", "due"]>>;
|
|
428
|
+
since: import('zod').ZodString;
|
|
429
|
+
until: import('zod').ZodString;
|
|
430
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
431
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
432
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
433
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
434
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
435
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
436
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
437
437
|
};
|
|
438
438
|
execute(args: {
|
|
439
439
|
limit: number;
|
|
440
440
|
getBy: "due" | "completion";
|
|
441
441
|
since: string;
|
|
442
442
|
until: string;
|
|
443
|
+
projectId?: string | undefined;
|
|
443
444
|
parentId?: string | undefined;
|
|
444
445
|
workspaceId?: string | undefined;
|
|
445
|
-
projectId?: string | undefined;
|
|
446
446
|
sectionId?: string | undefined;
|
|
447
447
|
labels?: string[] | undefined;
|
|
448
448
|
cursor?: string | undefined;
|
|
449
449
|
responsibleUser?: string | undefined;
|
|
450
450
|
labelsOperator?: "and" | "or" | undefined;
|
|
451
|
-
}, client: import(
|
|
451
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
452
452
|
content: {
|
|
453
453
|
type: "text";
|
|
454
454
|
text: string;
|
|
@@ -480,9 +480,9 @@ declare const tools: {
|
|
|
480
480
|
getBy: "due" | "completion";
|
|
481
481
|
since: string;
|
|
482
482
|
until: string;
|
|
483
|
+
projectId?: string | undefined;
|
|
483
484
|
parentId?: string | undefined;
|
|
484
485
|
workspaceId?: string | undefined;
|
|
485
|
-
projectId?: string | undefined;
|
|
486
486
|
sectionId?: string | undefined;
|
|
487
487
|
labels?: string[] | undefined;
|
|
488
488
|
cursor?: string | undefined;
|
|
@@ -507,31 +507,31 @@ declare const tools: {
|
|
|
507
507
|
name: "add-projects";
|
|
508
508
|
description: string;
|
|
509
509
|
parameters: {
|
|
510
|
-
projects: import(
|
|
511
|
-
name: import(
|
|
512
|
-
parentId: import(
|
|
513
|
-
isFavorite: import(
|
|
514
|
-
viewStyle: import(
|
|
515
|
-
}, "strip", import(
|
|
510
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
511
|
+
name: import('zod').ZodString;
|
|
512
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
513
|
+
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
514
|
+
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<["list", "board", "calendar"]>>;
|
|
515
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
516
516
|
name: string;
|
|
517
|
+
parentId?: string | undefined;
|
|
517
518
|
isFavorite?: boolean | undefined;
|
|
518
519
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
519
|
-
parentId?: string | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
name: string;
|
|
522
|
+
parentId?: string | undefined;
|
|
522
523
|
isFavorite?: boolean | undefined;
|
|
523
524
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
524
|
-
parentId?: string | undefined;
|
|
525
525
|
}>, "many">;
|
|
526
526
|
};
|
|
527
527
|
execute({ projects }: {
|
|
528
528
|
projects: {
|
|
529
529
|
name: string;
|
|
530
|
+
parentId?: string | undefined;
|
|
530
531
|
isFavorite?: boolean | undefined;
|
|
531
532
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
532
|
-
parentId?: string | undefined;
|
|
533
533
|
}[];
|
|
534
|
-
}, client: import(
|
|
534
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
535
535
|
content: {
|
|
536
536
|
type: "text";
|
|
537
537
|
text: string;
|
|
@@ -602,12 +602,12 @@ declare const tools: {
|
|
|
602
602
|
name: "update-projects";
|
|
603
603
|
description: string;
|
|
604
604
|
parameters: {
|
|
605
|
-
projects: import(
|
|
606
|
-
id: import(
|
|
607
|
-
name: import(
|
|
608
|
-
isFavorite: import(
|
|
609
|
-
viewStyle: import(
|
|
610
|
-
}, "strip", import(
|
|
605
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
606
|
+
id: import('zod').ZodString;
|
|
607
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
608
|
+
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
609
|
+
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<["list", "board", "calendar"]>>;
|
|
610
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
611
611
|
id: string;
|
|
612
612
|
name?: string | undefined;
|
|
613
613
|
isFavorite?: boolean | undefined;
|
|
@@ -626,7 +626,7 @@ declare const tools: {
|
|
|
626
626
|
isFavorite?: boolean | undefined;
|
|
627
627
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
628
628
|
}[];
|
|
629
|
-
}, client: import(
|
|
629
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
630
630
|
content: {
|
|
631
631
|
type: "text";
|
|
632
632
|
text: string;
|
|
@@ -702,15 +702,15 @@ declare const tools: {
|
|
|
702
702
|
name: "find-projects";
|
|
703
703
|
description: string;
|
|
704
704
|
parameters: {
|
|
705
|
-
search: import(
|
|
706
|
-
limit: import(
|
|
707
|
-
cursor: import(
|
|
705
|
+
search: import('zod').ZodOptional<import('zod').ZodString>;
|
|
706
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
707
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
708
708
|
};
|
|
709
709
|
execute(args: {
|
|
710
710
|
limit: number;
|
|
711
711
|
search?: string | undefined;
|
|
712
712
|
cursor?: string | undefined;
|
|
713
|
-
}, client: import(
|
|
713
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
714
714
|
content: {
|
|
715
715
|
type: "text";
|
|
716
716
|
text: string;
|
|
@@ -752,10 +752,10 @@ declare const tools: {
|
|
|
752
752
|
name: "add-sections";
|
|
753
753
|
description: string;
|
|
754
754
|
parameters: {
|
|
755
|
-
sections: import(
|
|
756
|
-
name: import(
|
|
757
|
-
projectId: import(
|
|
758
|
-
}, "strip", import(
|
|
755
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
756
|
+
name: import('zod').ZodString;
|
|
757
|
+
projectId: import('zod').ZodString;
|
|
758
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
759
759
|
name: string;
|
|
760
760
|
projectId: string;
|
|
761
761
|
}, {
|
|
@@ -768,7 +768,7 @@ declare const tools: {
|
|
|
768
768
|
name: string;
|
|
769
769
|
projectId: string;
|
|
770
770
|
}[];
|
|
771
|
-
}, client: import(
|
|
771
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
772
772
|
content: {
|
|
773
773
|
type: "text";
|
|
774
774
|
text: string;
|
|
@@ -807,23 +807,23 @@ declare const tools: {
|
|
|
807
807
|
name: "update-sections";
|
|
808
808
|
description: string;
|
|
809
809
|
parameters: {
|
|
810
|
-
sections: import(
|
|
811
|
-
id: import(
|
|
812
|
-
name: import(
|
|
813
|
-
}, "strip", import(
|
|
814
|
-
id: string;
|
|
810
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
811
|
+
id: import('zod').ZodString;
|
|
812
|
+
name: import('zod').ZodString;
|
|
813
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
815
814
|
name: string;
|
|
816
|
-
}, {
|
|
817
815
|
id: string;
|
|
816
|
+
}, {
|
|
818
817
|
name: string;
|
|
818
|
+
id: string;
|
|
819
819
|
}>, "many">;
|
|
820
820
|
};
|
|
821
821
|
execute({ sections }: {
|
|
822
822
|
sections: {
|
|
823
|
-
id: string;
|
|
824
823
|
name: string;
|
|
824
|
+
id: string;
|
|
825
825
|
}[];
|
|
826
|
-
}, client: import(
|
|
826
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
827
827
|
content: {
|
|
828
828
|
type: "text";
|
|
829
829
|
text: string;
|
|
@@ -863,13 +863,13 @@ declare const tools: {
|
|
|
863
863
|
name: "find-sections";
|
|
864
864
|
description: string;
|
|
865
865
|
parameters: {
|
|
866
|
-
projectId: import(
|
|
867
|
-
search: import(
|
|
866
|
+
projectId: import('zod').ZodString;
|
|
867
|
+
search: import('zod').ZodOptional<import('zod').ZodString>;
|
|
868
868
|
};
|
|
869
869
|
execute(args: {
|
|
870
870
|
projectId: string;
|
|
871
871
|
search?: string | undefined;
|
|
872
|
-
}, client: import(
|
|
872
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
873
873
|
content: {
|
|
874
874
|
type: "text";
|
|
875
875
|
text: string;
|
|
@@ -902,11 +902,11 @@ declare const tools: {
|
|
|
902
902
|
name: "add-comments";
|
|
903
903
|
description: string;
|
|
904
904
|
parameters: {
|
|
905
|
-
comments: import(
|
|
906
|
-
taskId: import(
|
|
907
|
-
projectId: import(
|
|
908
|
-
content: import(
|
|
909
|
-
}, "strip", import(
|
|
905
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
906
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
907
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
908
|
+
content: import('zod').ZodString;
|
|
909
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
910
910
|
content: string;
|
|
911
911
|
taskId?: string | undefined;
|
|
912
912
|
projectId?: string | undefined;
|
|
@@ -922,7 +922,7 @@ declare const tools: {
|
|
|
922
922
|
taskId?: string | undefined;
|
|
923
923
|
projectId?: string | undefined;
|
|
924
924
|
}[];
|
|
925
|
-
}, client: import(
|
|
925
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
926
926
|
content: {
|
|
927
927
|
type: "text";
|
|
928
928
|
text: string;
|
|
@@ -973,23 +973,23 @@ declare const tools: {
|
|
|
973
973
|
name: "update-comments";
|
|
974
974
|
description: string;
|
|
975
975
|
parameters: {
|
|
976
|
-
comments: import(
|
|
977
|
-
id: import(
|
|
978
|
-
content: import(
|
|
979
|
-
}, "strip", import(
|
|
980
|
-
id: string;
|
|
976
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
977
|
+
id: import('zod').ZodString;
|
|
978
|
+
content: import('zod').ZodString;
|
|
979
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
981
980
|
content: string;
|
|
982
|
-
}, {
|
|
983
981
|
id: string;
|
|
982
|
+
}, {
|
|
984
983
|
content: string;
|
|
984
|
+
id: string;
|
|
985
985
|
}>, "many">;
|
|
986
986
|
};
|
|
987
987
|
execute(args: {
|
|
988
988
|
comments: {
|
|
989
|
-
id: string;
|
|
990
989
|
content: string;
|
|
990
|
+
id: string;
|
|
991
991
|
}[];
|
|
992
|
-
}, client: import(
|
|
992
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
993
993
|
content: {
|
|
994
994
|
type: "text";
|
|
995
995
|
text: string;
|
|
@@ -1043,19 +1043,19 @@ declare const tools: {
|
|
|
1043
1043
|
name: "find-comments";
|
|
1044
1044
|
description: string;
|
|
1045
1045
|
parameters: {
|
|
1046
|
-
taskId: import(
|
|
1047
|
-
projectId: import(
|
|
1048
|
-
commentId: import(
|
|
1049
|
-
cursor: import(
|
|
1050
|
-
limit: import(
|
|
1046
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1047
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1048
|
+
commentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1049
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1050
|
+
limit: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1051
1051
|
};
|
|
1052
1052
|
execute(args: {
|
|
1053
|
-
limit?: number | undefined;
|
|
1054
1053
|
taskId?: string | undefined;
|
|
1055
1054
|
projectId?: string | undefined;
|
|
1055
|
+
limit?: number | undefined;
|
|
1056
1056
|
cursor?: string | undefined;
|
|
1057
1057
|
commentId?: string | undefined;
|
|
1058
|
-
}, client: import(
|
|
1058
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1059
1059
|
content: {
|
|
1060
1060
|
type: "text";
|
|
1061
1061
|
text: string;
|
|
@@ -1109,25 +1109,25 @@ declare const tools: {
|
|
|
1109
1109
|
name: "find-activity";
|
|
1110
1110
|
description: string;
|
|
1111
1111
|
parameters: {
|
|
1112
|
-
objectType: import(
|
|
1113
|
-
objectId: import(
|
|
1114
|
-
eventType: import(
|
|
1115
|
-
projectId: import(
|
|
1116
|
-
taskId: import(
|
|
1117
|
-
initiatorId: import(
|
|
1118
|
-
limit: import(
|
|
1119
|
-
cursor: import(
|
|
1112
|
+
objectType: import('zod').ZodOptional<import('zod').ZodEnum<["task", "project", "comment"]>>;
|
|
1113
|
+
objectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1114
|
+
eventType: import('zod').ZodOptional<import('zod').ZodEnum<["added", "updated", "deleted", "completed", "uncompleted", "archived", "unarchived", "shared", "left"]>>;
|
|
1115
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1116
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1117
|
+
initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1118
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
1119
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1120
1120
|
};
|
|
1121
1121
|
execute(args: {
|
|
1122
1122
|
limit: number;
|
|
1123
1123
|
taskId?: string | undefined;
|
|
1124
1124
|
projectId?: string | undefined;
|
|
1125
|
-
objectType?: "
|
|
1125
|
+
objectType?: "comment" | "task" | "project" | undefined;
|
|
1126
1126
|
objectId?: string | undefined;
|
|
1127
|
-
eventType?: "
|
|
1127
|
+
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1128
1128
|
initiatorId?: string | undefined;
|
|
1129
1129
|
cursor?: string | undefined;
|
|
1130
|
-
}, client: import(
|
|
1130
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1131
1131
|
content: {
|
|
1132
1132
|
type: "text";
|
|
1133
1133
|
text: string;
|
|
@@ -1151,9 +1151,9 @@ declare const tools: {
|
|
|
1151
1151
|
limit: number;
|
|
1152
1152
|
taskId?: string | undefined;
|
|
1153
1153
|
projectId?: string | undefined;
|
|
1154
|
-
objectType?: "
|
|
1154
|
+
objectType?: "comment" | "task" | "project" | undefined;
|
|
1155
1155
|
objectId?: string | undefined;
|
|
1156
|
-
eventType?: "
|
|
1156
|
+
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1157
1157
|
initiatorId?: string | undefined;
|
|
1158
1158
|
cursor?: string | undefined;
|
|
1159
1159
|
};
|
|
@@ -1175,16 +1175,16 @@ declare const tools: {
|
|
|
1175
1175
|
name: "get-overview";
|
|
1176
1176
|
description: string;
|
|
1177
1177
|
parameters: {
|
|
1178
|
-
projectId: import(
|
|
1178
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1179
1179
|
};
|
|
1180
1180
|
execute(args: {
|
|
1181
1181
|
projectId?: string | undefined;
|
|
1182
|
-
}, client: import(
|
|
1182
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1183
1183
|
content: {
|
|
1184
1184
|
type: "text";
|
|
1185
1185
|
text: string;
|
|
1186
1186
|
}[];
|
|
1187
|
-
structuredContent: import(
|
|
1187
|
+
structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
|
|
1188
1188
|
} | {
|
|
1189
1189
|
content: ({
|
|
1190
1190
|
type: "text";
|
|
@@ -1202,20 +1202,20 @@ declare const tools: {
|
|
|
1202
1202
|
name: "delete-object";
|
|
1203
1203
|
description: string;
|
|
1204
1204
|
parameters: {
|
|
1205
|
-
type: import(
|
|
1206
|
-
id: import(
|
|
1205
|
+
type: import('zod').ZodEnum<["project", "section", "task", "comment"]>;
|
|
1206
|
+
id: import('zod').ZodString;
|
|
1207
1207
|
};
|
|
1208
1208
|
execute(args: {
|
|
1209
|
+
type: "comment" | "task" | "project" | "section";
|
|
1209
1210
|
id: string;
|
|
1210
|
-
|
|
1211
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
1211
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1212
1212
|
content: {
|
|
1213
1213
|
type: "text";
|
|
1214
1214
|
text: string;
|
|
1215
1215
|
}[];
|
|
1216
1216
|
structuredContent: {
|
|
1217
1217
|
deletedEntity: {
|
|
1218
|
-
type: "
|
|
1218
|
+
type: "comment" | "task" | "project" | "section";
|
|
1219
1219
|
id: string;
|
|
1220
1220
|
};
|
|
1221
1221
|
success: boolean;
|
|
@@ -1237,12 +1237,12 @@ declare const tools: {
|
|
|
1237
1237
|
name: "user-info";
|
|
1238
1238
|
description: string;
|
|
1239
1239
|
parameters: {};
|
|
1240
|
-
execute(_args: {}, client: import(
|
|
1240
|
+
execute(_args: {}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1241
1241
|
content: {
|
|
1242
1242
|
type: "text";
|
|
1243
1243
|
text: string;
|
|
1244
1244
|
}[];
|
|
1245
|
-
structuredContent: import(
|
|
1245
|
+
structuredContent: import('./tools/user-info.js').UserInfoStructured;
|
|
1246
1246
|
} | {
|
|
1247
1247
|
content: ({
|
|
1248
1248
|
type: "text";
|
|
@@ -1260,13 +1260,13 @@ declare const tools: {
|
|
|
1260
1260
|
name: "find-project-collaborators";
|
|
1261
1261
|
description: string;
|
|
1262
1262
|
parameters: {
|
|
1263
|
-
projectId: import(
|
|
1264
|
-
searchTerm: import(
|
|
1263
|
+
projectId: import('zod').ZodString;
|
|
1264
|
+
searchTerm: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1265
1265
|
};
|
|
1266
1266
|
execute(args: {
|
|
1267
1267
|
projectId: string;
|
|
1268
1268
|
searchTerm?: string | undefined;
|
|
1269
|
-
}, client: import(
|
|
1269
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1270
1270
|
content: {
|
|
1271
1271
|
type: "text";
|
|
1272
1272
|
text: string;
|
|
@@ -1301,7 +1301,7 @@ declare const tools: {
|
|
|
1301
1301
|
text: string;
|
|
1302
1302
|
}[];
|
|
1303
1303
|
structuredContent: {
|
|
1304
|
-
collaborators: import(
|
|
1304
|
+
collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
|
|
1305
1305
|
projectInfo: {
|
|
1306
1306
|
id: string;
|
|
1307
1307
|
name: string;
|
|
@@ -1320,11 +1320,11 @@ declare const tools: {
|
|
|
1320
1320
|
name: "manage-assignments";
|
|
1321
1321
|
description: string;
|
|
1322
1322
|
parameters: {
|
|
1323
|
-
operation: import(
|
|
1324
|
-
taskIds: import(
|
|
1325
|
-
responsibleUser: import(
|
|
1326
|
-
fromAssigneeUser: import(
|
|
1327
|
-
dryRun: import(
|
|
1323
|
+
operation: import('zod').ZodEnum<["assign", "unassign", "reassign"]>;
|
|
1324
|
+
taskIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
1325
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1326
|
+
fromAssigneeUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1327
|
+
dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
|
|
1328
1328
|
};
|
|
1329
1329
|
execute(args: {
|
|
1330
1330
|
operation: "assign" | "unassign" | "reassign";
|
|
@@ -1332,14 +1332,14 @@ declare const tools: {
|
|
|
1332
1332
|
dryRun: boolean;
|
|
1333
1333
|
responsibleUser?: string | undefined;
|
|
1334
1334
|
fromAssigneeUser?: string | undefined;
|
|
1335
|
-
}, client: import(
|
|
1335
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1336
1336
|
content: {
|
|
1337
1337
|
type: "text";
|
|
1338
1338
|
text: string;
|
|
1339
1339
|
}[];
|
|
1340
1340
|
structuredContent: {
|
|
1341
1341
|
operation: "assign" | "unassign" | "reassign";
|
|
1342
|
-
results: import(
|
|
1342
|
+
results: import('./tools/manage-assignments.js').OperationResult[];
|
|
1343
1343
|
totalRequested: number;
|
|
1344
1344
|
successful: number;
|
|
1345
1345
|
failed: number;
|
|
@@ -1362,11 +1362,11 @@ declare const tools: {
|
|
|
1362
1362
|
name: "search";
|
|
1363
1363
|
description: string;
|
|
1364
1364
|
parameters: {
|
|
1365
|
-
query: import(
|
|
1365
|
+
query: import('zod').ZodString;
|
|
1366
1366
|
};
|
|
1367
1367
|
execute(args: {
|
|
1368
1368
|
query: string;
|
|
1369
|
-
}, client: import(
|
|
1369
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1370
1370
|
content: {
|
|
1371
1371
|
type: "text";
|
|
1372
1372
|
text: string;
|
|
@@ -1378,11 +1378,11 @@ declare const tools: {
|
|
|
1378
1378
|
name: "fetch";
|
|
1379
1379
|
description: string;
|
|
1380
1380
|
parameters: {
|
|
1381
|
-
id: import(
|
|
1381
|
+
id: import('zod').ZodString;
|
|
1382
1382
|
};
|
|
1383
1383
|
execute(args: {
|
|
1384
1384
|
id: string;
|
|
1385
|
-
}, client: import(
|
|
1385
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1386
1386
|
content: {
|
|
1387
1387
|
type: "text";
|
|
1388
1388
|
text: string;
|