@doist/todoist-ai 4.16.0 → 4.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/filter-helpers.d.ts +1 -1
- package/dist/index.d.ts +1044 -196
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +61 -81
- package/dist/main.js +15 -23
- package/dist/mcp-helpers.d.ts +5 -5
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/mcp-server-BADReNAy.js +3092 -0
- package/dist/todoist-tool.d.ts +9 -3
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +1 -1
- package/dist/tools/add-comments.d.ts +69 -3
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +34 -3
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +14 -1
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +65 -10
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +20 -1
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +16 -3
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +8 -1
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +44 -7
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +69 -3
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +63 -5
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +33 -2
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +35 -1
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +15 -1
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +61 -3
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +63 -5
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +24 -1
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +39 -2
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +17 -1
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +76 -3
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +43 -1
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +17 -3
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +79 -13
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +19 -1
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/assignment-validator.d.ts +2 -2
- package/dist/utils/output-schemas.d.ts +233 -0
- package/dist/utils/output-schemas.d.ts.map +1 -0
- 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,59 +27,114 @@ 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
|
-
|
|
45
|
+
deadlineDate?: string | undefined;
|
|
46
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
46
47
|
projectId?: string | undefined;
|
|
47
48
|
sectionId?: string | undefined;
|
|
49
|
+
parentId?: string | undefined;
|
|
48
50
|
labels?: string[] | undefined;
|
|
49
51
|
duration?: string | undefined;
|
|
50
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
51
52
|
dueString?: string | undefined;
|
|
52
|
-
deadlineDate?: string | undefined;
|
|
53
53
|
responsibleUser?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
content: string;
|
|
56
56
|
description?: string | undefined;
|
|
57
|
-
|
|
57
|
+
deadlineDate?: string | undefined;
|
|
58
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
58
59
|
projectId?: string | undefined;
|
|
59
60
|
sectionId?: string | undefined;
|
|
61
|
+
parentId?: string | undefined;
|
|
60
62
|
labels?: string[] | undefined;
|
|
61
63
|
duration?: string | undefined;
|
|
62
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
63
64
|
dueString?: string | undefined;
|
|
64
|
-
deadlineDate?: string | undefined;
|
|
65
65
|
responsibleUser?: string | undefined;
|
|
66
66
|
}>, "many">;
|
|
67
67
|
};
|
|
68
|
+
outputSchema: {
|
|
69
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
70
|
+
id: import('zod').ZodString;
|
|
71
|
+
content: import('zod').ZodString;
|
|
72
|
+
description: import('zod').ZodString;
|
|
73
|
+
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
74
|
+
recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
|
|
75
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
76
|
+
priority: import('zod').ZodNumber;
|
|
77
|
+
projectId: import('zod').ZodString;
|
|
78
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
79
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
80
|
+
labels: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
81
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
82
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
83
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
84
|
+
checked: import('zod').ZodBoolean;
|
|
85
|
+
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
86
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
87
|
+
content: string;
|
|
88
|
+
description: string;
|
|
89
|
+
id: string;
|
|
90
|
+
recurring: string | boolean;
|
|
91
|
+
priority: number;
|
|
92
|
+
projectId: string;
|
|
93
|
+
labels: string[];
|
|
94
|
+
checked: boolean;
|
|
95
|
+
dueDate?: string | undefined;
|
|
96
|
+
deadlineDate?: string | undefined;
|
|
97
|
+
sectionId?: string | undefined;
|
|
98
|
+
parentId?: string | undefined;
|
|
99
|
+
duration?: string | undefined;
|
|
100
|
+
responsibleUid?: string | undefined;
|
|
101
|
+
assignedByUid?: string | undefined;
|
|
102
|
+
completedAt?: string | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
content: string;
|
|
105
|
+
description: string;
|
|
106
|
+
id: string;
|
|
107
|
+
recurring: string | boolean;
|
|
108
|
+
priority: number;
|
|
109
|
+
projectId: string;
|
|
110
|
+
labels: string[];
|
|
111
|
+
checked: boolean;
|
|
112
|
+
dueDate?: string | undefined;
|
|
113
|
+
deadlineDate?: string | undefined;
|
|
114
|
+
sectionId?: string | undefined;
|
|
115
|
+
parentId?: string | undefined;
|
|
116
|
+
duration?: string | undefined;
|
|
117
|
+
responsibleUid?: string | undefined;
|
|
118
|
+
assignedByUid?: string | undefined;
|
|
119
|
+
completedAt?: string | undefined;
|
|
120
|
+
}>, "many">;
|
|
121
|
+
totalCount: import('zod').ZodNumber;
|
|
122
|
+
};
|
|
68
123
|
execute({ tasks }: {
|
|
69
124
|
tasks: {
|
|
70
125
|
content: string;
|
|
71
126
|
description?: string | undefined;
|
|
72
|
-
|
|
127
|
+
deadlineDate?: string | undefined;
|
|
128
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
73
129
|
projectId?: string | undefined;
|
|
74
130
|
sectionId?: string | undefined;
|
|
131
|
+
parentId?: string | undefined;
|
|
75
132
|
labels?: string[] | undefined;
|
|
76
133
|
duration?: string | undefined;
|
|
77
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
78
134
|
dueString?: string | undefined;
|
|
79
|
-
deadlineDate?: string | undefined;
|
|
80
135
|
responsibleUser?: string | undefined;
|
|
81
136
|
}[];
|
|
82
|
-
}, client: import(
|
|
137
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
83
138
|
content: {
|
|
84
139
|
type: "text";
|
|
85
140
|
text: string;
|
|
@@ -122,11 +177,30 @@ declare const tools: {
|
|
|
122
177
|
name: "complete-tasks";
|
|
123
178
|
description: string;
|
|
124
179
|
parameters: {
|
|
125
|
-
ids: import(
|
|
180
|
+
ids: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
181
|
+
};
|
|
182
|
+
outputSchema: {
|
|
183
|
+
completed: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
184
|
+
failures: import('zod').ZodArray<import('zod').ZodObject<{
|
|
185
|
+
item: import('zod').ZodString;
|
|
186
|
+
error: import('zod').ZodString;
|
|
187
|
+
code: import('zod').ZodOptional<import('zod').ZodString>;
|
|
188
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
189
|
+
item: string;
|
|
190
|
+
error: string;
|
|
191
|
+
code?: string | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
item: string;
|
|
194
|
+
error: string;
|
|
195
|
+
code?: string | undefined;
|
|
196
|
+
}>, "many">;
|
|
197
|
+
totalRequested: import('zod').ZodNumber;
|
|
198
|
+
successCount: import('zod').ZodNumber;
|
|
199
|
+
failureCount: import('zod').ZodNumber;
|
|
126
200
|
};
|
|
127
201
|
execute(args: {
|
|
128
202
|
ids: string[];
|
|
129
|
-
}, client: import(
|
|
203
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
130
204
|
content: {
|
|
131
205
|
type: "text";
|
|
132
206
|
text: string;
|
|
@@ -159,67 +233,133 @@ declare const tools: {
|
|
|
159
233
|
name: "update-tasks";
|
|
160
234
|
description: string;
|
|
161
235
|
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(
|
|
236
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
237
|
+
id: import('zod').ZodString;
|
|
238
|
+
content: import('zod').ZodOptional<import('zod').ZodString>;
|
|
239
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
240
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
241
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
242
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
243
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
244
|
+
priority: import('zod').ZodOptional<import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>>;
|
|
245
|
+
dueString: import('zod').ZodOptional<import('zod').ZodString>;
|
|
246
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
247
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
248
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
249
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
250
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
177
251
|
id: string;
|
|
178
|
-
description?: string | undefined;
|
|
179
|
-
parentId?: string | undefined;
|
|
180
252
|
content?: string | undefined;
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
deadlineDate?: string | undefined;
|
|
255
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
181
256
|
projectId?: string | undefined;
|
|
182
257
|
sectionId?: string | undefined;
|
|
258
|
+
parentId?: string | undefined;
|
|
183
259
|
labels?: string[] | undefined;
|
|
184
260
|
duration?: string | undefined;
|
|
185
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
186
261
|
dueString?: string | undefined;
|
|
187
|
-
deadlineDate?: string | undefined;
|
|
188
262
|
responsibleUser?: string | undefined;
|
|
189
263
|
order?: number | undefined;
|
|
190
264
|
}, {
|
|
191
265
|
id: string;
|
|
192
|
-
description?: string | undefined;
|
|
193
|
-
parentId?: string | undefined;
|
|
194
266
|
content?: string | undefined;
|
|
267
|
+
description?: string | undefined;
|
|
268
|
+
deadlineDate?: string | undefined;
|
|
269
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
195
270
|
projectId?: string | undefined;
|
|
196
271
|
sectionId?: string | undefined;
|
|
272
|
+
parentId?: string | undefined;
|
|
197
273
|
labels?: string[] | undefined;
|
|
198
274
|
duration?: string | undefined;
|
|
199
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
200
275
|
dueString?: string | undefined;
|
|
201
|
-
deadlineDate?: string | undefined;
|
|
202
276
|
responsibleUser?: string | undefined;
|
|
203
277
|
order?: number | undefined;
|
|
204
278
|
}>, "many">;
|
|
205
279
|
};
|
|
280
|
+
outputSchema: {
|
|
281
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
282
|
+
id: import('zod').ZodString;
|
|
283
|
+
content: import('zod').ZodString;
|
|
284
|
+
description: import('zod').ZodString;
|
|
285
|
+
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
286
|
+
recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
|
|
287
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
288
|
+
priority: import('zod').ZodNumber;
|
|
289
|
+
projectId: import('zod').ZodString;
|
|
290
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
291
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
292
|
+
labels: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
293
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
294
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
295
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
296
|
+
checked: import('zod').ZodBoolean;
|
|
297
|
+
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
298
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
299
|
+
content: string;
|
|
300
|
+
description: string;
|
|
301
|
+
id: string;
|
|
302
|
+
recurring: string | boolean;
|
|
303
|
+
priority: number;
|
|
304
|
+
projectId: string;
|
|
305
|
+
labels: string[];
|
|
306
|
+
checked: boolean;
|
|
307
|
+
dueDate?: string | undefined;
|
|
308
|
+
deadlineDate?: string | undefined;
|
|
309
|
+
sectionId?: string | undefined;
|
|
310
|
+
parentId?: string | undefined;
|
|
311
|
+
duration?: string | undefined;
|
|
312
|
+
responsibleUid?: string | undefined;
|
|
313
|
+
assignedByUid?: string | undefined;
|
|
314
|
+
completedAt?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
content: string;
|
|
317
|
+
description: string;
|
|
318
|
+
id: string;
|
|
319
|
+
recurring: string | boolean;
|
|
320
|
+
priority: number;
|
|
321
|
+
projectId: string;
|
|
322
|
+
labels: string[];
|
|
323
|
+
checked: boolean;
|
|
324
|
+
dueDate?: string | undefined;
|
|
325
|
+
deadlineDate?: string | undefined;
|
|
326
|
+
sectionId?: string | undefined;
|
|
327
|
+
parentId?: string | undefined;
|
|
328
|
+
duration?: string | undefined;
|
|
329
|
+
responsibleUid?: string | undefined;
|
|
330
|
+
assignedByUid?: string | undefined;
|
|
331
|
+
completedAt?: string | undefined;
|
|
332
|
+
}>, "many">;
|
|
333
|
+
totalCount: import('zod').ZodNumber;
|
|
334
|
+
updatedTaskIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
335
|
+
appliedOperations: import('zod').ZodObject<{
|
|
336
|
+
updateCount: import('zod').ZodNumber;
|
|
337
|
+
skippedCount: import('zod').ZodNumber;
|
|
338
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
339
|
+
updateCount: number;
|
|
340
|
+
skippedCount: number;
|
|
341
|
+
}, {
|
|
342
|
+
updateCount: number;
|
|
343
|
+
skippedCount: number;
|
|
344
|
+
}>;
|
|
345
|
+
};
|
|
206
346
|
execute(args: {
|
|
207
347
|
tasks: {
|
|
208
348
|
id: string;
|
|
209
|
-
description?: string | undefined;
|
|
210
|
-
parentId?: string | undefined;
|
|
211
349
|
content?: string | undefined;
|
|
350
|
+
description?: string | undefined;
|
|
351
|
+
deadlineDate?: string | undefined;
|
|
352
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
212
353
|
projectId?: string | undefined;
|
|
213
354
|
sectionId?: string | undefined;
|
|
355
|
+
parentId?: string | undefined;
|
|
214
356
|
labels?: string[] | undefined;
|
|
215
357
|
duration?: string | undefined;
|
|
216
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
217
358
|
dueString?: string | undefined;
|
|
218
|
-
deadlineDate?: string | undefined;
|
|
219
359
|
responsibleUser?: string | undefined;
|
|
220
360
|
order?: number | undefined;
|
|
221
361
|
}[];
|
|
222
|
-
}, client: import(
|
|
362
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
223
363
|
content: {
|
|
224
364
|
type: "text";
|
|
225
365
|
text: string;
|
|
@@ -267,29 +407,87 @@ declare const tools: {
|
|
|
267
407
|
name: "find-tasks";
|
|
268
408
|
description: string;
|
|
269
409
|
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(
|
|
410
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
411
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
412
|
+
searchText: import('zod').ZodOptional<import('zod').ZodString>;
|
|
413
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
414
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
415
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
416
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
417
|
+
responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<["assigned", "unassignedOrMe", "all"]>>;
|
|
418
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
419
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
420
|
+
};
|
|
421
|
+
outputSchema: {
|
|
422
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
423
|
+
id: import('zod').ZodString;
|
|
424
|
+
content: import('zod').ZodString;
|
|
425
|
+
description: import('zod').ZodString;
|
|
426
|
+
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
427
|
+
recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
|
|
428
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
429
|
+
priority: import('zod').ZodNumber;
|
|
430
|
+
projectId: import('zod').ZodString;
|
|
431
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
432
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
433
|
+
labels: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
434
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
435
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
436
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
437
|
+
checked: import('zod').ZodBoolean;
|
|
438
|
+
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
439
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
440
|
+
content: string;
|
|
441
|
+
description: string;
|
|
442
|
+
id: string;
|
|
443
|
+
recurring: string | boolean;
|
|
444
|
+
priority: number;
|
|
445
|
+
projectId: string;
|
|
446
|
+
labels: string[];
|
|
447
|
+
checked: boolean;
|
|
448
|
+
dueDate?: string | undefined;
|
|
449
|
+
deadlineDate?: string | undefined;
|
|
450
|
+
sectionId?: string | undefined;
|
|
451
|
+
parentId?: string | undefined;
|
|
452
|
+
duration?: string | undefined;
|
|
453
|
+
responsibleUid?: string | undefined;
|
|
454
|
+
assignedByUid?: string | undefined;
|
|
455
|
+
completedAt?: string | undefined;
|
|
456
|
+
}, {
|
|
457
|
+
content: string;
|
|
458
|
+
description: string;
|
|
459
|
+
id: string;
|
|
460
|
+
recurring: string | boolean;
|
|
461
|
+
priority: number;
|
|
462
|
+
projectId: string;
|
|
463
|
+
labels: string[];
|
|
464
|
+
checked: boolean;
|
|
465
|
+
dueDate?: string | undefined;
|
|
466
|
+
deadlineDate?: string | undefined;
|
|
467
|
+
sectionId?: string | undefined;
|
|
468
|
+
parentId?: string | undefined;
|
|
469
|
+
duration?: string | undefined;
|
|
470
|
+
responsibleUid?: string | undefined;
|
|
471
|
+
assignedByUid?: string | undefined;
|
|
472
|
+
completedAt?: string | undefined;
|
|
473
|
+
}>, "many">;
|
|
474
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
475
|
+
totalCount: import('zod').ZodNumber;
|
|
476
|
+
hasMore: import('zod').ZodBoolean;
|
|
477
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
280
478
|
};
|
|
281
479
|
execute(args: {
|
|
282
480
|
limit: number;
|
|
283
|
-
parentId?: string | undefined;
|
|
284
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
285
481
|
projectId?: string | undefined;
|
|
286
482
|
sectionId?: string | undefined;
|
|
483
|
+
parentId?: string | undefined;
|
|
287
484
|
labels?: string[] | undefined;
|
|
485
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
288
486
|
cursor?: string | undefined;
|
|
289
487
|
responsibleUser?: string | undefined;
|
|
290
488
|
labelsOperator?: "and" | "or" | undefined;
|
|
291
489
|
searchText?: string | undefined;
|
|
292
|
-
}, client: import(
|
|
490
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
293
491
|
content: {
|
|
294
492
|
type: "text";
|
|
295
493
|
text: string;
|
|
@@ -318,11 +516,11 @@ declare const tools: {
|
|
|
318
516
|
hasMore: boolean;
|
|
319
517
|
appliedFilters: {
|
|
320
518
|
limit: number;
|
|
321
|
-
parentId?: string | undefined;
|
|
322
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
323
519
|
projectId?: string | undefined;
|
|
324
520
|
sectionId?: string | undefined;
|
|
521
|
+
parentId?: string | undefined;
|
|
325
522
|
labels?: string[] | undefined;
|
|
523
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
326
524
|
cursor?: string | undefined;
|
|
327
525
|
responsibleUser?: string | undefined;
|
|
328
526
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -346,27 +544,85 @@ declare const tools: {
|
|
|
346
544
|
name: "find-tasks-by-date";
|
|
347
545
|
description: string;
|
|
348
546
|
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(
|
|
547
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
548
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
549
|
+
startDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
550
|
+
overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<["overdue-only", "include-overdue", "exclude-overdue"]>>;
|
|
551
|
+
daysCount: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
552
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
553
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
554
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
555
|
+
responsibleUserFiltering: import('zod').ZodOptional<import('zod').ZodEnum<["assigned", "unassignedOrMe", "all"]>>;
|
|
556
|
+
};
|
|
557
|
+
outputSchema: {
|
|
558
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
559
|
+
id: import('zod').ZodString;
|
|
560
|
+
content: import('zod').ZodString;
|
|
561
|
+
description: import('zod').ZodString;
|
|
562
|
+
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
563
|
+
recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
|
|
564
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
565
|
+
priority: import('zod').ZodNumber;
|
|
566
|
+
projectId: import('zod').ZodString;
|
|
567
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
568
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
569
|
+
labels: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
570
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
571
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
572
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
573
|
+
checked: import('zod').ZodBoolean;
|
|
574
|
+
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
575
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
576
|
+
content: string;
|
|
577
|
+
description: string;
|
|
578
|
+
id: string;
|
|
579
|
+
recurring: string | boolean;
|
|
580
|
+
priority: number;
|
|
581
|
+
projectId: string;
|
|
582
|
+
labels: string[];
|
|
583
|
+
checked: boolean;
|
|
584
|
+
dueDate?: string | undefined;
|
|
585
|
+
deadlineDate?: string | undefined;
|
|
586
|
+
sectionId?: string | undefined;
|
|
587
|
+
parentId?: string | undefined;
|
|
588
|
+
duration?: string | undefined;
|
|
589
|
+
responsibleUid?: string | undefined;
|
|
590
|
+
assignedByUid?: string | undefined;
|
|
591
|
+
completedAt?: string | undefined;
|
|
592
|
+
}, {
|
|
593
|
+
content: string;
|
|
594
|
+
description: string;
|
|
595
|
+
id: string;
|
|
596
|
+
recurring: string | boolean;
|
|
597
|
+
priority: number;
|
|
598
|
+
projectId: string;
|
|
599
|
+
labels: string[];
|
|
600
|
+
checked: boolean;
|
|
601
|
+
dueDate?: string | undefined;
|
|
602
|
+
deadlineDate?: string | undefined;
|
|
603
|
+
sectionId?: string | undefined;
|
|
604
|
+
parentId?: string | undefined;
|
|
605
|
+
duration?: string | undefined;
|
|
606
|
+
responsibleUid?: string | undefined;
|
|
607
|
+
assignedByUid?: string | undefined;
|
|
608
|
+
completedAt?: string | undefined;
|
|
609
|
+
}>, "many">;
|
|
610
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
611
|
+
totalCount: import('zod').ZodNumber;
|
|
612
|
+
hasMore: import('zod').ZodBoolean;
|
|
613
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
358
614
|
};
|
|
359
615
|
execute(args: {
|
|
360
616
|
limit: number;
|
|
361
617
|
daysCount: number;
|
|
362
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
363
618
|
labels?: string[] | undefined;
|
|
619
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
364
620
|
cursor?: string | undefined;
|
|
365
621
|
responsibleUser?: string | undefined;
|
|
366
622
|
labelsOperator?: "and" | "or" | undefined;
|
|
367
623
|
startDate?: string | undefined;
|
|
368
624
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
369
|
-
}, client: import(
|
|
625
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
370
626
|
content: {
|
|
371
627
|
type: "text";
|
|
372
628
|
text: string;
|
|
@@ -396,8 +652,8 @@ declare const tools: {
|
|
|
396
652
|
appliedFilters: {
|
|
397
653
|
limit: number;
|
|
398
654
|
daysCount: number;
|
|
399
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
400
655
|
labels?: string[] | undefined;
|
|
656
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
401
657
|
cursor?: string | undefined;
|
|
402
658
|
responsibleUser?: string | undefined;
|
|
403
659
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -422,33 +678,91 @@ declare const tools: {
|
|
|
422
678
|
name: "find-completed-tasks";
|
|
423
679
|
description: string;
|
|
424
680
|
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(
|
|
681
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
682
|
+
labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<["and", "or"]>>;
|
|
683
|
+
getBy: import('zod').ZodDefault<import('zod').ZodEnum<["completion", "due"]>>;
|
|
684
|
+
since: import('zod').ZodString;
|
|
685
|
+
until: import('zod').ZodString;
|
|
686
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
687
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
688
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
689
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
690
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
691
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
692
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
693
|
+
};
|
|
694
|
+
outputSchema: {
|
|
695
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
696
|
+
id: import('zod').ZodString;
|
|
697
|
+
content: import('zod').ZodString;
|
|
698
|
+
description: import('zod').ZodString;
|
|
699
|
+
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
700
|
+
recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
|
|
701
|
+
deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
702
|
+
priority: import('zod').ZodNumber;
|
|
703
|
+
projectId: import('zod').ZodString;
|
|
704
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
705
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
706
|
+
labels: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
707
|
+
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
708
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
709
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
710
|
+
checked: import('zod').ZodBoolean;
|
|
711
|
+
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
712
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
713
|
+
content: string;
|
|
714
|
+
description: string;
|
|
715
|
+
id: string;
|
|
716
|
+
recurring: string | boolean;
|
|
717
|
+
priority: number;
|
|
718
|
+
projectId: string;
|
|
719
|
+
labels: string[];
|
|
720
|
+
checked: boolean;
|
|
721
|
+
dueDate?: string | undefined;
|
|
722
|
+
deadlineDate?: string | undefined;
|
|
723
|
+
sectionId?: string | undefined;
|
|
724
|
+
parentId?: string | undefined;
|
|
725
|
+
duration?: string | undefined;
|
|
726
|
+
responsibleUid?: string | undefined;
|
|
727
|
+
assignedByUid?: string | undefined;
|
|
728
|
+
completedAt?: string | undefined;
|
|
729
|
+
}, {
|
|
730
|
+
content: string;
|
|
731
|
+
description: string;
|
|
732
|
+
id: string;
|
|
733
|
+
recurring: string | boolean;
|
|
734
|
+
priority: number;
|
|
735
|
+
projectId: string;
|
|
736
|
+
labels: string[];
|
|
737
|
+
checked: boolean;
|
|
738
|
+
dueDate?: string | undefined;
|
|
739
|
+
deadlineDate?: string | undefined;
|
|
740
|
+
sectionId?: string | undefined;
|
|
741
|
+
parentId?: string | undefined;
|
|
742
|
+
duration?: string | undefined;
|
|
743
|
+
responsibleUid?: string | undefined;
|
|
744
|
+
assignedByUid?: string | undefined;
|
|
745
|
+
completedAt?: string | undefined;
|
|
746
|
+
}>, "many">;
|
|
747
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
748
|
+
totalCount: import('zod').ZodNumber;
|
|
749
|
+
hasMore: import('zod').ZodBoolean;
|
|
750
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
437
751
|
};
|
|
438
752
|
execute(args: {
|
|
439
753
|
limit: number;
|
|
440
754
|
getBy: "due" | "completion";
|
|
441
755
|
since: string;
|
|
442
756
|
until: string;
|
|
443
|
-
parentId?: string | undefined;
|
|
444
|
-
workspaceId?: string | undefined;
|
|
445
757
|
projectId?: string | undefined;
|
|
446
758
|
sectionId?: string | undefined;
|
|
759
|
+
parentId?: string | undefined;
|
|
447
760
|
labels?: string[] | undefined;
|
|
761
|
+
workspaceId?: string | undefined;
|
|
448
762
|
cursor?: string | undefined;
|
|
449
763
|
responsibleUser?: string | undefined;
|
|
450
764
|
labelsOperator?: "and" | "or" | undefined;
|
|
451
|
-
}, client: import(
|
|
765
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
452
766
|
content: {
|
|
453
767
|
type: "text";
|
|
454
768
|
text: string;
|
|
@@ -480,11 +794,11 @@ declare const tools: {
|
|
|
480
794
|
getBy: "due" | "completion";
|
|
481
795
|
since: string;
|
|
482
796
|
until: string;
|
|
483
|
-
parentId?: string | undefined;
|
|
484
|
-
workspaceId?: string | undefined;
|
|
485
797
|
projectId?: string | undefined;
|
|
486
798
|
sectionId?: string | undefined;
|
|
799
|
+
parentId?: string | undefined;
|
|
487
800
|
labels?: string[] | undefined;
|
|
801
|
+
workspaceId?: string | undefined;
|
|
488
802
|
cursor?: string | undefined;
|
|
489
803
|
responsibleUser?: string | undefined;
|
|
490
804
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -507,31 +821,62 @@ declare const tools: {
|
|
|
507
821
|
name: "add-projects";
|
|
508
822
|
description: string;
|
|
509
823
|
parameters: {
|
|
510
|
-
projects: import(
|
|
511
|
-
name: import(
|
|
512
|
-
parentId: import(
|
|
513
|
-
isFavorite: import(
|
|
514
|
-
viewStyle: import(
|
|
515
|
-
}, "strip", import(
|
|
824
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
825
|
+
name: import('zod').ZodString;
|
|
826
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
827
|
+
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
828
|
+
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<["list", "board", "calendar"]>>;
|
|
829
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
516
830
|
name: string;
|
|
831
|
+
parentId?: string | undefined;
|
|
517
832
|
isFavorite?: boolean | undefined;
|
|
518
833
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
519
|
-
parentId?: string | undefined;
|
|
520
834
|
}, {
|
|
521
835
|
name: string;
|
|
836
|
+
parentId?: string | undefined;
|
|
522
837
|
isFavorite?: boolean | undefined;
|
|
523
838
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
839
|
+
}>, "many">;
|
|
840
|
+
};
|
|
841
|
+
outputSchema: {
|
|
842
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
843
|
+
id: import('zod').ZodString;
|
|
844
|
+
name: import('zod').ZodString;
|
|
845
|
+
color: import('zod').ZodString;
|
|
846
|
+
isFavorite: import('zod').ZodBoolean;
|
|
847
|
+
isShared: import('zod').ZodBoolean;
|
|
848
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
849
|
+
inboxProject: import('zod').ZodBoolean;
|
|
850
|
+
viewStyle: import('zod').ZodString;
|
|
851
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
852
|
+
name: string;
|
|
853
|
+
id: string;
|
|
854
|
+
color: string;
|
|
855
|
+
isFavorite: boolean;
|
|
856
|
+
isShared: boolean;
|
|
857
|
+
inboxProject: boolean;
|
|
858
|
+
viewStyle: string;
|
|
859
|
+
parentId?: string | undefined;
|
|
860
|
+
}, {
|
|
861
|
+
name: string;
|
|
862
|
+
id: string;
|
|
863
|
+
color: string;
|
|
864
|
+
isFavorite: boolean;
|
|
865
|
+
isShared: boolean;
|
|
866
|
+
inboxProject: boolean;
|
|
867
|
+
viewStyle: string;
|
|
524
868
|
parentId?: string | undefined;
|
|
525
869
|
}>, "many">;
|
|
870
|
+
totalCount: import('zod').ZodNumber;
|
|
526
871
|
};
|
|
527
872
|
execute({ projects }: {
|
|
528
873
|
projects: {
|
|
529
874
|
name: string;
|
|
875
|
+
parentId?: string | undefined;
|
|
530
876
|
isFavorite?: boolean | undefined;
|
|
531
877
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
532
|
-
parentId?: string | undefined;
|
|
533
878
|
}[];
|
|
534
|
-
}, client: import(
|
|
879
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
535
880
|
content: {
|
|
536
881
|
type: "text";
|
|
537
882
|
text: string;
|
|
@@ -602,12 +947,12 @@ declare const tools: {
|
|
|
602
947
|
name: "update-projects";
|
|
603
948
|
description: string;
|
|
604
949
|
parameters: {
|
|
605
|
-
projects: import(
|
|
606
|
-
id: import(
|
|
607
|
-
name: import(
|
|
608
|
-
isFavorite: import(
|
|
609
|
-
viewStyle: import(
|
|
610
|
-
}, "strip", import(
|
|
950
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
951
|
+
id: import('zod').ZodString;
|
|
952
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
953
|
+
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
954
|
+
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<["list", "board", "calendar"]>>;
|
|
955
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
611
956
|
id: string;
|
|
612
957
|
name?: string | undefined;
|
|
613
958
|
isFavorite?: boolean | undefined;
|
|
@@ -619,6 +964,48 @@ declare const tools: {
|
|
|
619
964
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
620
965
|
}>, "many">;
|
|
621
966
|
};
|
|
967
|
+
outputSchema: {
|
|
968
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
969
|
+
id: import('zod').ZodString;
|
|
970
|
+
name: import('zod').ZodString;
|
|
971
|
+
color: import('zod').ZodString;
|
|
972
|
+
isFavorite: import('zod').ZodBoolean;
|
|
973
|
+
isShared: import('zod').ZodBoolean;
|
|
974
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
975
|
+
inboxProject: import('zod').ZodBoolean;
|
|
976
|
+
viewStyle: import('zod').ZodString;
|
|
977
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
978
|
+
name: string;
|
|
979
|
+
id: string;
|
|
980
|
+
color: string;
|
|
981
|
+
isFavorite: boolean;
|
|
982
|
+
isShared: boolean;
|
|
983
|
+
inboxProject: boolean;
|
|
984
|
+
viewStyle: string;
|
|
985
|
+
parentId?: string | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
name: string;
|
|
988
|
+
id: string;
|
|
989
|
+
color: string;
|
|
990
|
+
isFavorite: boolean;
|
|
991
|
+
isShared: boolean;
|
|
992
|
+
inboxProject: boolean;
|
|
993
|
+
viewStyle: string;
|
|
994
|
+
parentId?: string | undefined;
|
|
995
|
+
}>, "many">;
|
|
996
|
+
totalCount: import('zod').ZodNumber;
|
|
997
|
+
updatedProjectIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
998
|
+
appliedOperations: import('zod').ZodObject<{
|
|
999
|
+
updateCount: import('zod').ZodNumber;
|
|
1000
|
+
skippedCount: import('zod').ZodNumber;
|
|
1001
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1002
|
+
updateCount: number;
|
|
1003
|
+
skippedCount: number;
|
|
1004
|
+
}, {
|
|
1005
|
+
updateCount: number;
|
|
1006
|
+
skippedCount: number;
|
|
1007
|
+
}>;
|
|
1008
|
+
};
|
|
622
1009
|
execute(args: {
|
|
623
1010
|
projects: {
|
|
624
1011
|
id: string;
|
|
@@ -626,7 +1013,7 @@ declare const tools: {
|
|
|
626
1013
|
isFavorite?: boolean | undefined;
|
|
627
1014
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
628
1015
|
}[];
|
|
629
|
-
}, client: import(
|
|
1016
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
630
1017
|
content: {
|
|
631
1018
|
type: "text";
|
|
632
1019
|
text: string;
|
|
@@ -702,15 +1089,49 @@ declare const tools: {
|
|
|
702
1089
|
name: "find-projects";
|
|
703
1090
|
description: string;
|
|
704
1091
|
parameters: {
|
|
705
|
-
search: import(
|
|
706
|
-
limit: import(
|
|
707
|
-
cursor: import(
|
|
1092
|
+
search: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1093
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
1094
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1095
|
+
};
|
|
1096
|
+
outputSchema: {
|
|
1097
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1098
|
+
id: import('zod').ZodString;
|
|
1099
|
+
name: import('zod').ZodString;
|
|
1100
|
+
color: import('zod').ZodString;
|
|
1101
|
+
isFavorite: import('zod').ZodBoolean;
|
|
1102
|
+
isShared: import('zod').ZodBoolean;
|
|
1103
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1104
|
+
inboxProject: import('zod').ZodBoolean;
|
|
1105
|
+
viewStyle: import('zod').ZodString;
|
|
1106
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1107
|
+
name: string;
|
|
1108
|
+
id: string;
|
|
1109
|
+
color: string;
|
|
1110
|
+
isFavorite: boolean;
|
|
1111
|
+
isShared: boolean;
|
|
1112
|
+
inboxProject: boolean;
|
|
1113
|
+
viewStyle: string;
|
|
1114
|
+
parentId?: string | undefined;
|
|
1115
|
+
}, {
|
|
1116
|
+
name: string;
|
|
1117
|
+
id: string;
|
|
1118
|
+
color: string;
|
|
1119
|
+
isFavorite: boolean;
|
|
1120
|
+
isShared: boolean;
|
|
1121
|
+
inboxProject: boolean;
|
|
1122
|
+
viewStyle: string;
|
|
1123
|
+
parentId?: string | undefined;
|
|
1124
|
+
}>, "many">;
|
|
1125
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1126
|
+
totalCount: import('zod').ZodNumber;
|
|
1127
|
+
hasMore: import('zod').ZodBoolean;
|
|
1128
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
708
1129
|
};
|
|
709
1130
|
execute(args: {
|
|
710
1131
|
limit: number;
|
|
711
1132
|
search?: string | undefined;
|
|
712
1133
|
cursor?: string | undefined;
|
|
713
|
-
}, client: import(
|
|
1134
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
714
1135
|
content: {
|
|
715
1136
|
type: "text";
|
|
716
1137
|
text: string;
|
|
@@ -752,10 +1173,10 @@ declare const tools: {
|
|
|
752
1173
|
name: "add-sections";
|
|
753
1174
|
description: string;
|
|
754
1175
|
parameters: {
|
|
755
|
-
sections: import(
|
|
756
|
-
name: import(
|
|
757
|
-
projectId: import(
|
|
758
|
-
}, "strip", import(
|
|
1176
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1177
|
+
name: import('zod').ZodString;
|
|
1178
|
+
projectId: import('zod').ZodString;
|
|
1179
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
759
1180
|
name: string;
|
|
760
1181
|
projectId: string;
|
|
761
1182
|
}, {
|
|
@@ -763,12 +1184,25 @@ declare const tools: {
|
|
|
763
1184
|
projectId: string;
|
|
764
1185
|
}>, "many">;
|
|
765
1186
|
};
|
|
1187
|
+
outputSchema: {
|
|
1188
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1189
|
+
id: import('zod').ZodString;
|
|
1190
|
+
name: import('zod').ZodString;
|
|
1191
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1192
|
+
name: string;
|
|
1193
|
+
id: string;
|
|
1194
|
+
}, {
|
|
1195
|
+
name: string;
|
|
1196
|
+
id: string;
|
|
1197
|
+
}>, "many">;
|
|
1198
|
+
totalCount: import('zod').ZodNumber;
|
|
1199
|
+
};
|
|
766
1200
|
execute({ sections }: {
|
|
767
1201
|
sections: {
|
|
768
1202
|
name: string;
|
|
769
1203
|
projectId: string;
|
|
770
1204
|
}[];
|
|
771
|
-
}, client: import(
|
|
1205
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
772
1206
|
content: {
|
|
773
1207
|
type: "text";
|
|
774
1208
|
text: string;
|
|
@@ -807,23 +1241,37 @@ declare const tools: {
|
|
|
807
1241
|
name: "update-sections";
|
|
808
1242
|
description: string;
|
|
809
1243
|
parameters: {
|
|
810
|
-
sections: import(
|
|
811
|
-
id: import(
|
|
812
|
-
name: import(
|
|
813
|
-
}, "strip", import(
|
|
814
|
-
id: string;
|
|
1244
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1245
|
+
id: import('zod').ZodString;
|
|
1246
|
+
name: import('zod').ZodString;
|
|
1247
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
815
1248
|
name: string;
|
|
1249
|
+
id: string;
|
|
816
1250
|
}, {
|
|
1251
|
+
name: string;
|
|
1252
|
+
id: string;
|
|
1253
|
+
}>, "many">;
|
|
1254
|
+
};
|
|
1255
|
+
outputSchema: {
|
|
1256
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1257
|
+
id: import('zod').ZodString;
|
|
1258
|
+
name: import('zod').ZodString;
|
|
1259
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1260
|
+
name: string;
|
|
817
1261
|
id: string;
|
|
1262
|
+
}, {
|
|
818
1263
|
name: string;
|
|
1264
|
+
id: string;
|
|
819
1265
|
}>, "many">;
|
|
1266
|
+
totalCount: import('zod').ZodNumber;
|
|
1267
|
+
updatedSectionIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
820
1268
|
};
|
|
821
1269
|
execute({ sections }: {
|
|
822
1270
|
sections: {
|
|
823
|
-
id: string;
|
|
824
1271
|
name: string;
|
|
1272
|
+
id: string;
|
|
825
1273
|
}[];
|
|
826
|
-
}, client: import(
|
|
1274
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
827
1275
|
content: {
|
|
828
1276
|
type: "text";
|
|
829
1277
|
text: string;
|
|
@@ -863,13 +1311,27 @@ declare const tools: {
|
|
|
863
1311
|
name: "find-sections";
|
|
864
1312
|
description: string;
|
|
865
1313
|
parameters: {
|
|
866
|
-
projectId: import(
|
|
867
|
-
search: import(
|
|
1314
|
+
projectId: import('zod').ZodString;
|
|
1315
|
+
search: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1316
|
+
};
|
|
1317
|
+
outputSchema: {
|
|
1318
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1319
|
+
id: import('zod').ZodString;
|
|
1320
|
+
name: import('zod').ZodString;
|
|
1321
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1322
|
+
name: string;
|
|
1323
|
+
id: string;
|
|
1324
|
+
}, {
|
|
1325
|
+
name: string;
|
|
1326
|
+
id: string;
|
|
1327
|
+
}>, "many">;
|
|
1328
|
+
totalCount: import('zod').ZodNumber;
|
|
1329
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
868
1330
|
};
|
|
869
1331
|
execute(args: {
|
|
870
1332
|
projectId: string;
|
|
871
1333
|
search?: string | undefined;
|
|
872
|
-
}, client: import(
|
|
1334
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
873
1335
|
content: {
|
|
874
1336
|
type: "text";
|
|
875
1337
|
text: string;
|
|
@@ -902,27 +1364,93 @@ declare const tools: {
|
|
|
902
1364
|
name: "add-comments";
|
|
903
1365
|
description: string;
|
|
904
1366
|
parameters: {
|
|
905
|
-
comments: import(
|
|
906
|
-
taskId: import(
|
|
907
|
-
projectId: import(
|
|
908
|
-
content: import(
|
|
909
|
-
}, "strip", import(
|
|
1367
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1368
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1369
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1370
|
+
content: import('zod').ZodString;
|
|
1371
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
910
1372
|
content: string;
|
|
911
|
-
taskId?: string | undefined;
|
|
912
1373
|
projectId?: string | undefined;
|
|
1374
|
+
taskId?: string | undefined;
|
|
913
1375
|
}, {
|
|
914
1376
|
content: string;
|
|
1377
|
+
projectId?: string | undefined;
|
|
915
1378
|
taskId?: string | undefined;
|
|
1379
|
+
}>, "many">;
|
|
1380
|
+
};
|
|
1381
|
+
outputSchema: {
|
|
1382
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1383
|
+
id: import('zod').ZodString;
|
|
1384
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1385
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1386
|
+
content: import('zod').ZodString;
|
|
1387
|
+
postedAt: import('zod').ZodString;
|
|
1388
|
+
attachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1389
|
+
resourceType: import('zod').ZodString;
|
|
1390
|
+
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1391
|
+
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1392
|
+
fileType: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1393
|
+
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1394
|
+
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1395
|
+
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1396
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1397
|
+
resourceType: string;
|
|
1398
|
+
fileName?: string | undefined;
|
|
1399
|
+
fileSize?: number | undefined;
|
|
1400
|
+
fileType?: string | undefined;
|
|
1401
|
+
fileUrl?: string | undefined;
|
|
1402
|
+
fileDuration?: number | undefined;
|
|
1403
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1404
|
+
}, {
|
|
1405
|
+
resourceType: string;
|
|
1406
|
+
fileName?: string | undefined;
|
|
1407
|
+
fileSize?: number | undefined;
|
|
1408
|
+
fileType?: string | undefined;
|
|
1409
|
+
fileUrl?: string | undefined;
|
|
1410
|
+
fileDuration?: number | undefined;
|
|
1411
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1412
|
+
}>>;
|
|
1413
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1414
|
+
content: string;
|
|
1415
|
+
id: string;
|
|
1416
|
+
postedAt: string;
|
|
916
1417
|
projectId?: string | undefined;
|
|
1418
|
+
taskId?: string | undefined;
|
|
1419
|
+
attachment?: {
|
|
1420
|
+
resourceType: string;
|
|
1421
|
+
fileName?: string | undefined;
|
|
1422
|
+
fileSize?: number | undefined;
|
|
1423
|
+
fileType?: string | undefined;
|
|
1424
|
+
fileUrl?: string | undefined;
|
|
1425
|
+
fileDuration?: number | undefined;
|
|
1426
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1427
|
+
} | undefined;
|
|
1428
|
+
}, {
|
|
1429
|
+
content: string;
|
|
1430
|
+
id: string;
|
|
1431
|
+
postedAt: string;
|
|
1432
|
+
projectId?: string | undefined;
|
|
1433
|
+
taskId?: string | undefined;
|
|
1434
|
+
attachment?: {
|
|
1435
|
+
resourceType: string;
|
|
1436
|
+
fileName?: string | undefined;
|
|
1437
|
+
fileSize?: number | undefined;
|
|
1438
|
+
fileType?: string | undefined;
|
|
1439
|
+
fileUrl?: string | undefined;
|
|
1440
|
+
fileDuration?: number | undefined;
|
|
1441
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1442
|
+
} | undefined;
|
|
917
1443
|
}>, "many">;
|
|
1444
|
+
totalCount: import('zod').ZodNumber;
|
|
1445
|
+
addedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
918
1446
|
};
|
|
919
1447
|
execute(args: {
|
|
920
1448
|
comments: {
|
|
921
1449
|
content: string;
|
|
922
|
-
taskId?: string | undefined;
|
|
923
1450
|
projectId?: string | undefined;
|
|
1451
|
+
taskId?: string | undefined;
|
|
924
1452
|
}[];
|
|
925
|
-
}, client: import(
|
|
1453
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
926
1454
|
content: {
|
|
927
1455
|
type: "text";
|
|
928
1456
|
text: string;
|
|
@@ -973,23 +1501,96 @@ declare const tools: {
|
|
|
973
1501
|
name: "update-comments";
|
|
974
1502
|
description: string;
|
|
975
1503
|
parameters: {
|
|
976
|
-
comments: import(
|
|
977
|
-
id: import(
|
|
978
|
-
content: import(
|
|
979
|
-
}, "strip", import(
|
|
980
|
-
id: string;
|
|
1504
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1505
|
+
id: import('zod').ZodString;
|
|
1506
|
+
content: import('zod').ZodString;
|
|
1507
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
981
1508
|
content: string;
|
|
1509
|
+
id: string;
|
|
982
1510
|
}, {
|
|
1511
|
+
content: string;
|
|
1512
|
+
id: string;
|
|
1513
|
+
}>, "many">;
|
|
1514
|
+
};
|
|
1515
|
+
outputSchema: {
|
|
1516
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1517
|
+
id: import('zod').ZodString;
|
|
1518
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1519
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1520
|
+
content: import('zod').ZodString;
|
|
1521
|
+
postedAt: import('zod').ZodString;
|
|
1522
|
+
attachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1523
|
+
resourceType: import('zod').ZodString;
|
|
1524
|
+
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1525
|
+
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1526
|
+
fileType: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1527
|
+
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1528
|
+
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1529
|
+
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1530
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1531
|
+
resourceType: string;
|
|
1532
|
+
fileName?: string | undefined;
|
|
1533
|
+
fileSize?: number | undefined;
|
|
1534
|
+
fileType?: string | undefined;
|
|
1535
|
+
fileUrl?: string | undefined;
|
|
1536
|
+
fileDuration?: number | undefined;
|
|
1537
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1538
|
+
}, {
|
|
1539
|
+
resourceType: string;
|
|
1540
|
+
fileName?: string | undefined;
|
|
1541
|
+
fileSize?: number | undefined;
|
|
1542
|
+
fileType?: string | undefined;
|
|
1543
|
+
fileUrl?: string | undefined;
|
|
1544
|
+
fileDuration?: number | undefined;
|
|
1545
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1546
|
+
}>>;
|
|
1547
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1548
|
+
content: string;
|
|
983
1549
|
id: string;
|
|
1550
|
+
postedAt: string;
|
|
1551
|
+
projectId?: string | undefined;
|
|
1552
|
+
taskId?: string | undefined;
|
|
1553
|
+
attachment?: {
|
|
1554
|
+
resourceType: string;
|
|
1555
|
+
fileName?: string | undefined;
|
|
1556
|
+
fileSize?: number | undefined;
|
|
1557
|
+
fileType?: string | undefined;
|
|
1558
|
+
fileUrl?: string | undefined;
|
|
1559
|
+
fileDuration?: number | undefined;
|
|
1560
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1561
|
+
} | undefined;
|
|
1562
|
+
}, {
|
|
984
1563
|
content: string;
|
|
1564
|
+
id: string;
|
|
1565
|
+
postedAt: string;
|
|
1566
|
+
projectId?: string | undefined;
|
|
1567
|
+
taskId?: string | undefined;
|
|
1568
|
+
attachment?: {
|
|
1569
|
+
resourceType: string;
|
|
1570
|
+
fileName?: string | undefined;
|
|
1571
|
+
fileSize?: number | undefined;
|
|
1572
|
+
fileType?: string | undefined;
|
|
1573
|
+
fileUrl?: string | undefined;
|
|
1574
|
+
fileDuration?: number | undefined;
|
|
1575
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1576
|
+
} | undefined;
|
|
985
1577
|
}>, "many">;
|
|
1578
|
+
totalCount: import('zod').ZodNumber;
|
|
1579
|
+
updatedCommentIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
1580
|
+
appliedOperations: import('zod').ZodObject<{
|
|
1581
|
+
updateCount: import('zod').ZodNumber;
|
|
1582
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1583
|
+
updateCount: number;
|
|
1584
|
+
}, {
|
|
1585
|
+
updateCount: number;
|
|
1586
|
+
}>;
|
|
986
1587
|
};
|
|
987
1588
|
execute(args: {
|
|
988
1589
|
comments: {
|
|
989
|
-
id: string;
|
|
990
1590
|
content: string;
|
|
1591
|
+
id: string;
|
|
991
1592
|
}[];
|
|
992
|
-
}, client: import(
|
|
1593
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
993
1594
|
content: {
|
|
994
1595
|
type: "text";
|
|
995
1596
|
text: string;
|
|
@@ -1043,19 +1644,85 @@ declare const tools: {
|
|
|
1043
1644
|
name: "find-comments";
|
|
1044
1645
|
description: string;
|
|
1045
1646
|
parameters: {
|
|
1046
|
-
taskId: import(
|
|
1047
|
-
projectId: import(
|
|
1048
|
-
commentId: import(
|
|
1049
|
-
cursor: import(
|
|
1050
|
-
limit: import(
|
|
1647
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1648
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1649
|
+
commentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1650
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1651
|
+
limit: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1652
|
+
};
|
|
1653
|
+
outputSchema: {
|
|
1654
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1655
|
+
id: import('zod').ZodString;
|
|
1656
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1657
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1658
|
+
content: import('zod').ZodString;
|
|
1659
|
+
postedAt: import('zod').ZodString;
|
|
1660
|
+
attachment: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1661
|
+
resourceType: import('zod').ZodString;
|
|
1662
|
+
fileName: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1663
|
+
fileSize: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1664
|
+
fileType: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1665
|
+
fileUrl: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1666
|
+
fileDuration: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1667
|
+
uploadState: import('zod').ZodOptional<import('zod').ZodEnum<["pending", "completed"]>>;
|
|
1668
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1669
|
+
resourceType: string;
|
|
1670
|
+
fileName?: string | undefined;
|
|
1671
|
+
fileSize?: number | undefined;
|
|
1672
|
+
fileType?: string | undefined;
|
|
1673
|
+
fileUrl?: string | undefined;
|
|
1674
|
+
fileDuration?: number | undefined;
|
|
1675
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1676
|
+
}, {
|
|
1677
|
+
resourceType: string;
|
|
1678
|
+
fileName?: string | undefined;
|
|
1679
|
+
fileSize?: number | undefined;
|
|
1680
|
+
fileType?: string | undefined;
|
|
1681
|
+
fileUrl?: string | undefined;
|
|
1682
|
+
fileDuration?: number | undefined;
|
|
1683
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1684
|
+
}>>;
|
|
1685
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1686
|
+
content: string;
|
|
1687
|
+
id: string;
|
|
1688
|
+
postedAt: string;
|
|
1689
|
+
projectId?: string | undefined;
|
|
1690
|
+
taskId?: string | undefined;
|
|
1691
|
+
attachment?: {
|
|
1692
|
+
resourceType: string;
|
|
1693
|
+
fileName?: string | undefined;
|
|
1694
|
+
fileSize?: number | undefined;
|
|
1695
|
+
fileType?: string | undefined;
|
|
1696
|
+
fileUrl?: string | undefined;
|
|
1697
|
+
fileDuration?: number | undefined;
|
|
1698
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1699
|
+
} | undefined;
|
|
1700
|
+
}, {
|
|
1701
|
+
content: string;
|
|
1702
|
+
id: string;
|
|
1703
|
+
postedAt: string;
|
|
1704
|
+
projectId?: string | undefined;
|
|
1705
|
+
taskId?: string | undefined;
|
|
1706
|
+
attachment?: {
|
|
1707
|
+
resourceType: string;
|
|
1708
|
+
fileName?: string | undefined;
|
|
1709
|
+
fileSize?: number | undefined;
|
|
1710
|
+
fileType?: string | undefined;
|
|
1711
|
+
fileUrl?: string | undefined;
|
|
1712
|
+
fileDuration?: number | undefined;
|
|
1713
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
1714
|
+
} | undefined;
|
|
1715
|
+
}>, "many">;
|
|
1716
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1717
|
+
totalCount: import('zod').ZodNumber;
|
|
1051
1718
|
};
|
|
1052
1719
|
execute(args: {
|
|
1053
|
-
limit?: number | undefined;
|
|
1054
|
-
taskId?: string | undefined;
|
|
1055
1720
|
projectId?: string | undefined;
|
|
1721
|
+
taskId?: string | undefined;
|
|
1722
|
+
limit?: number | undefined;
|
|
1056
1723
|
cursor?: string | undefined;
|
|
1057
1724
|
commentId?: string | undefined;
|
|
1058
|
-
}, client: import(
|
|
1725
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1059
1726
|
content: {
|
|
1060
1727
|
type: "text";
|
|
1061
1728
|
text: string;
|
|
@@ -1109,25 +1776,62 @@ declare const tools: {
|
|
|
1109
1776
|
name: "find-activity";
|
|
1110
1777
|
description: string;
|
|
1111
1778
|
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(
|
|
1779
|
+
objectType: import('zod').ZodOptional<import('zod').ZodEnum<["task", "project", "comment"]>>;
|
|
1780
|
+
objectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1781
|
+
eventType: import('zod').ZodOptional<import('zod').ZodEnum<["added", "updated", "deleted", "completed", "uncompleted", "archived", "unarchived", "shared", "left"]>>;
|
|
1782
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1783
|
+
taskId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1784
|
+
initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1785
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
1786
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1787
|
+
};
|
|
1788
|
+
outputSchema: {
|
|
1789
|
+
events: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1790
|
+
id: import('zod').ZodString;
|
|
1791
|
+
objectType: import('zod').ZodString;
|
|
1792
|
+
objectId: import('zod').ZodString;
|
|
1793
|
+
eventType: import('zod').ZodString;
|
|
1794
|
+
eventDate: import('zod').ZodString;
|
|
1795
|
+
parentProjectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1796
|
+
parentItemId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1797
|
+
initiatorId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1798
|
+
extraData: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
1799
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1800
|
+
id: string;
|
|
1801
|
+
objectType: string;
|
|
1802
|
+
objectId: string;
|
|
1803
|
+
eventType: string;
|
|
1804
|
+
eventDate: string;
|
|
1805
|
+
extraData: Record<string, unknown>;
|
|
1806
|
+
parentProjectId?: string | undefined;
|
|
1807
|
+
parentItemId?: string | undefined;
|
|
1808
|
+
initiatorId?: string | undefined;
|
|
1809
|
+
}, {
|
|
1810
|
+
id: string;
|
|
1811
|
+
objectType: string;
|
|
1812
|
+
objectId: string;
|
|
1813
|
+
eventType: string;
|
|
1814
|
+
eventDate: string;
|
|
1815
|
+
extraData: Record<string, unknown>;
|
|
1816
|
+
parentProjectId?: string | undefined;
|
|
1817
|
+
parentItemId?: string | undefined;
|
|
1818
|
+
initiatorId?: string | undefined;
|
|
1819
|
+
}>, "many">;
|
|
1820
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1821
|
+
totalCount: import('zod').ZodNumber;
|
|
1822
|
+
hasMore: import('zod').ZodBoolean;
|
|
1823
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
1120
1824
|
};
|
|
1121
1825
|
execute(args: {
|
|
1122
1826
|
limit: number;
|
|
1123
|
-
taskId?: string | undefined;
|
|
1124
1827
|
projectId?: string | undefined;
|
|
1125
|
-
|
|
1828
|
+
taskId?: string | undefined;
|
|
1829
|
+
objectType?: "comment" | "task" | "project" | undefined;
|
|
1126
1830
|
objectId?: string | undefined;
|
|
1127
|
-
eventType?: "
|
|
1831
|
+
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1128
1832
|
initiatorId?: string | undefined;
|
|
1129
1833
|
cursor?: string | undefined;
|
|
1130
|
-
}, client: import(
|
|
1834
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1131
1835
|
content: {
|
|
1132
1836
|
type: "text";
|
|
1133
1837
|
text: string;
|
|
@@ -1149,11 +1853,11 @@ declare const tools: {
|
|
|
1149
1853
|
hasMore: boolean;
|
|
1150
1854
|
appliedFilters: {
|
|
1151
1855
|
limit: number;
|
|
1152
|
-
taskId?: string | undefined;
|
|
1153
1856
|
projectId?: string | undefined;
|
|
1154
|
-
|
|
1857
|
+
taskId?: string | undefined;
|
|
1858
|
+
objectType?: "comment" | "task" | "project" | undefined;
|
|
1155
1859
|
objectId?: string | undefined;
|
|
1156
|
-
eventType?: "
|
|
1860
|
+
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
1157
1861
|
initiatorId?: string | undefined;
|
|
1158
1862
|
cursor?: string | undefined;
|
|
1159
1863
|
};
|
|
@@ -1175,16 +1879,39 @@ declare const tools: {
|
|
|
1175
1879
|
name: "get-overview";
|
|
1176
1880
|
description: string;
|
|
1177
1881
|
parameters: {
|
|
1178
|
-
projectId: import(
|
|
1882
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1883
|
+
};
|
|
1884
|
+
outputSchema: {
|
|
1885
|
+
type: import('zod').ZodEnum<["account_overview", "project_overview"]>;
|
|
1886
|
+
totalProjects: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1887
|
+
totalTasks: import('zod').ZodNumber;
|
|
1888
|
+
totalSections: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1889
|
+
tasksWithoutSection: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1890
|
+
projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1891
|
+
id: import('zod').ZodString;
|
|
1892
|
+
name: import('zod').ZodString;
|
|
1893
|
+
isShared: import('zod').ZodBoolean;
|
|
1894
|
+
isFavorite: import('zod').ZodBoolean;
|
|
1895
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1896
|
+
name: string;
|
|
1897
|
+
id: string;
|
|
1898
|
+
isFavorite: boolean;
|
|
1899
|
+
isShared: boolean;
|
|
1900
|
+
}, {
|
|
1901
|
+
name: string;
|
|
1902
|
+
id: string;
|
|
1903
|
+
isFavorite: boolean;
|
|
1904
|
+
isShared: boolean;
|
|
1905
|
+
}>>;
|
|
1179
1906
|
};
|
|
1180
1907
|
execute(args: {
|
|
1181
1908
|
projectId?: string | undefined;
|
|
1182
|
-
}, client: import(
|
|
1909
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1183
1910
|
content: {
|
|
1184
1911
|
type: "text";
|
|
1185
1912
|
text: string;
|
|
1186
1913
|
}[];
|
|
1187
|
-
structuredContent: import(
|
|
1914
|
+
structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
|
|
1188
1915
|
} | {
|
|
1189
1916
|
content: ({
|
|
1190
1917
|
type: "text";
|
|
@@ -1202,20 +1929,33 @@ declare const tools: {
|
|
|
1202
1929
|
name: "delete-object";
|
|
1203
1930
|
description: string;
|
|
1204
1931
|
parameters: {
|
|
1205
|
-
type: import(
|
|
1206
|
-
id: import(
|
|
1932
|
+
type: import('zod').ZodEnum<["project", "section", "task", "comment"]>;
|
|
1933
|
+
id: import('zod').ZodString;
|
|
1934
|
+
};
|
|
1935
|
+
outputSchema: {
|
|
1936
|
+
deletedEntity: import('zod').ZodObject<{
|
|
1937
|
+
type: import('zod').ZodEnum<["project", "section", "task", "comment"]>;
|
|
1938
|
+
id: import('zod').ZodString;
|
|
1939
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
1940
|
+
type: "comment" | "task" | "project" | "section";
|
|
1941
|
+
id: string;
|
|
1942
|
+
}, {
|
|
1943
|
+
type: "comment" | "task" | "project" | "section";
|
|
1944
|
+
id: string;
|
|
1945
|
+
}>;
|
|
1946
|
+
success: import('zod').ZodBoolean;
|
|
1207
1947
|
};
|
|
1208
1948
|
execute(args: {
|
|
1949
|
+
type: "comment" | "task" | "project" | "section";
|
|
1209
1950
|
id: string;
|
|
1210
|
-
|
|
1211
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
1951
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1212
1952
|
content: {
|
|
1213
1953
|
type: "text";
|
|
1214
1954
|
text: string;
|
|
1215
1955
|
}[];
|
|
1216
1956
|
structuredContent: {
|
|
1217
1957
|
deletedEntity: {
|
|
1218
|
-
type: "
|
|
1958
|
+
type: "comment" | "task" | "project" | "section";
|
|
1219
1959
|
id: string;
|
|
1220
1960
|
};
|
|
1221
1961
|
success: boolean;
|
|
@@ -1237,12 +1977,29 @@ declare const tools: {
|
|
|
1237
1977
|
name: "user-info";
|
|
1238
1978
|
description: string;
|
|
1239
1979
|
parameters: {};
|
|
1240
|
-
|
|
1980
|
+
outputSchema: {
|
|
1981
|
+
type: import('zod').ZodLiteral<"user_info">;
|
|
1982
|
+
userId: import('zod').ZodString;
|
|
1983
|
+
fullName: import('zod').ZodString;
|
|
1984
|
+
timezone: import('zod').ZodString;
|
|
1985
|
+
currentLocalTime: import('zod').ZodString;
|
|
1986
|
+
startDay: import('zod').ZodNumber;
|
|
1987
|
+
startDayName: import('zod').ZodString;
|
|
1988
|
+
weekStartDate: import('zod').ZodString;
|
|
1989
|
+
weekEndDate: import('zod').ZodString;
|
|
1990
|
+
currentWeekNumber: import('zod').ZodNumber;
|
|
1991
|
+
completedToday: import('zod').ZodNumber;
|
|
1992
|
+
dailyGoal: import('zod').ZodNumber;
|
|
1993
|
+
weeklyGoal: import('zod').ZodNumber;
|
|
1994
|
+
email: import('zod').ZodString;
|
|
1995
|
+
plan: import('zod').ZodEnum<["Todoist Free", "Todoist Pro", "Todoist Business"]>;
|
|
1996
|
+
};
|
|
1997
|
+
execute(_args: {}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1241
1998
|
content: {
|
|
1242
1999
|
type: "text";
|
|
1243
2000
|
text: string;
|
|
1244
2001
|
}[];
|
|
1245
|
-
structuredContent: import(
|
|
2002
|
+
structuredContent: import('./tools/user-info.js').UserInfoStructured;
|
|
1246
2003
|
} | {
|
|
1247
2004
|
content: ({
|
|
1248
2005
|
type: "text";
|
|
@@ -1260,13 +2017,44 @@ declare const tools: {
|
|
|
1260
2017
|
name: "find-project-collaborators";
|
|
1261
2018
|
description: string;
|
|
1262
2019
|
parameters: {
|
|
1263
|
-
projectId: import(
|
|
1264
|
-
searchTerm: import(
|
|
2020
|
+
projectId: import('zod').ZodString;
|
|
2021
|
+
searchTerm: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2022
|
+
};
|
|
2023
|
+
outputSchema: {
|
|
2024
|
+
collaborators: import('zod').ZodArray<import('zod').ZodObject<{
|
|
2025
|
+
id: import('zod').ZodString;
|
|
2026
|
+
name: import('zod').ZodString;
|
|
2027
|
+
email: import('zod').ZodString;
|
|
2028
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
2029
|
+
name: string;
|
|
2030
|
+
id: string;
|
|
2031
|
+
email: string;
|
|
2032
|
+
}, {
|
|
2033
|
+
name: string;
|
|
2034
|
+
id: string;
|
|
2035
|
+
email: string;
|
|
2036
|
+
}>, "many">;
|
|
2037
|
+
projectInfo: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
2038
|
+
id: import('zod').ZodString;
|
|
2039
|
+
name: import('zod').ZodString;
|
|
2040
|
+
isShared: import('zod').ZodBoolean;
|
|
2041
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
2042
|
+
name: string;
|
|
2043
|
+
id: string;
|
|
2044
|
+
isShared: boolean;
|
|
2045
|
+
}, {
|
|
2046
|
+
name: string;
|
|
2047
|
+
id: string;
|
|
2048
|
+
isShared: boolean;
|
|
2049
|
+
}>>;
|
|
2050
|
+
totalCount: import('zod').ZodNumber;
|
|
2051
|
+
totalAvailable: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
2052
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
1265
2053
|
};
|
|
1266
2054
|
execute(args: {
|
|
1267
2055
|
projectId: string;
|
|
1268
2056
|
searchTerm?: string | undefined;
|
|
1269
|
-
}, client: import(
|
|
2057
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1270
2058
|
content: {
|
|
1271
2059
|
type: "text";
|
|
1272
2060
|
text: string;
|
|
@@ -1301,7 +2089,7 @@ declare const tools: {
|
|
|
1301
2089
|
text: string;
|
|
1302
2090
|
}[];
|
|
1303
2091
|
structuredContent: {
|
|
1304
|
-
collaborators: import(
|
|
2092
|
+
collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
|
|
1305
2093
|
projectInfo: {
|
|
1306
2094
|
id: string;
|
|
1307
2095
|
name: string;
|
|
@@ -1320,26 +2108,63 @@ declare const tools: {
|
|
|
1320
2108
|
name: "manage-assignments";
|
|
1321
2109
|
description: string;
|
|
1322
2110
|
parameters: {
|
|
1323
|
-
operation: import(
|
|
1324
|
-
taskIds: import(
|
|
1325
|
-
responsibleUser: import(
|
|
1326
|
-
fromAssigneeUser: import(
|
|
1327
|
-
dryRun: import(
|
|
2111
|
+
operation: import('zod').ZodEnum<["assign", "unassign", "reassign"]>;
|
|
2112
|
+
taskIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
2113
|
+
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2114
|
+
fromAssigneeUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2115
|
+
dryRun: import('zod').ZodDefault<import('zod').ZodOptional<import('zod').ZodBoolean>>;
|
|
2116
|
+
};
|
|
2117
|
+
outputSchema: {
|
|
2118
|
+
results: import('zod').ZodArray<import('zod').ZodObject<{
|
|
2119
|
+
taskId: import('zod').ZodString;
|
|
2120
|
+
success: import('zod').ZodBoolean;
|
|
2121
|
+
error: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2122
|
+
originalAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2123
|
+
newAssigneeId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2124
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
2125
|
+
taskId: string;
|
|
2126
|
+
success: boolean;
|
|
2127
|
+
error?: string | undefined;
|
|
2128
|
+
originalAssigneeId?: string | undefined;
|
|
2129
|
+
newAssigneeId?: string | undefined;
|
|
2130
|
+
}, {
|
|
2131
|
+
taskId: string;
|
|
2132
|
+
success: boolean;
|
|
2133
|
+
error?: string | undefined;
|
|
2134
|
+
originalAssigneeId?: string | undefined;
|
|
2135
|
+
newAssigneeId?: string | undefined;
|
|
2136
|
+
}>, "many">;
|
|
2137
|
+
summary: import('zod').ZodObject<{
|
|
2138
|
+
total: import('zod').ZodNumber;
|
|
2139
|
+
succeeded: import('zod').ZodNumber;
|
|
2140
|
+
failed: import('zod').ZodNumber;
|
|
2141
|
+
dryRun: import('zod').ZodBoolean;
|
|
2142
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
2143
|
+
total: number;
|
|
2144
|
+
succeeded: number;
|
|
2145
|
+
failed: number;
|
|
2146
|
+
dryRun: boolean;
|
|
2147
|
+
}, {
|
|
2148
|
+
total: number;
|
|
2149
|
+
succeeded: number;
|
|
2150
|
+
failed: number;
|
|
2151
|
+
dryRun: boolean;
|
|
2152
|
+
}>;
|
|
1328
2153
|
};
|
|
1329
2154
|
execute(args: {
|
|
2155
|
+
dryRun: boolean;
|
|
1330
2156
|
operation: "assign" | "unassign" | "reassign";
|
|
1331
2157
|
taskIds: string[];
|
|
1332
|
-
dryRun: boolean;
|
|
1333
2158
|
responsibleUser?: string | undefined;
|
|
1334
2159
|
fromAssigneeUser?: string | undefined;
|
|
1335
|
-
}, client: import(
|
|
2160
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1336
2161
|
content: {
|
|
1337
2162
|
type: "text";
|
|
1338
2163
|
text: string;
|
|
1339
2164
|
}[];
|
|
1340
2165
|
structuredContent: {
|
|
1341
2166
|
operation: "assign" | "unassign" | "reassign";
|
|
1342
|
-
results: import(
|
|
2167
|
+
results: import('./tools/manage-assignments.js').OperationResult[];
|
|
1343
2168
|
totalRequested: number;
|
|
1344
2169
|
successful: number;
|
|
1345
2170
|
failed: number;
|
|
@@ -1362,11 +2187,27 @@ declare const tools: {
|
|
|
1362
2187
|
name: "search";
|
|
1363
2188
|
description: string;
|
|
1364
2189
|
parameters: {
|
|
1365
|
-
query: import(
|
|
2190
|
+
query: import('zod').ZodString;
|
|
2191
|
+
};
|
|
2192
|
+
outputSchema: {
|
|
2193
|
+
results: import('zod').ZodArray<import('zod').ZodObject<{
|
|
2194
|
+
id: import('zod').ZodString;
|
|
2195
|
+
title: import('zod').ZodString;
|
|
2196
|
+
url: import('zod').ZodString;
|
|
2197
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
2198
|
+
title: string;
|
|
2199
|
+
id: string;
|
|
2200
|
+
url: string;
|
|
2201
|
+
}, {
|
|
2202
|
+
title: string;
|
|
2203
|
+
id: string;
|
|
2204
|
+
url: string;
|
|
2205
|
+
}>, "many">;
|
|
2206
|
+
totalCount: import('zod').ZodNumber;
|
|
1366
2207
|
};
|
|
1367
2208
|
execute(args: {
|
|
1368
2209
|
query: string;
|
|
1369
|
-
}, client: import(
|
|
2210
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1370
2211
|
content: {
|
|
1371
2212
|
type: "text";
|
|
1372
2213
|
text: string;
|
|
@@ -1378,11 +2219,18 @@ declare const tools: {
|
|
|
1378
2219
|
name: "fetch";
|
|
1379
2220
|
description: string;
|
|
1380
2221
|
parameters: {
|
|
1381
|
-
id: import(
|
|
2222
|
+
id: import('zod').ZodString;
|
|
2223
|
+
};
|
|
2224
|
+
outputSchema: {
|
|
2225
|
+
id: import('zod').ZodString;
|
|
2226
|
+
title: import('zod').ZodString;
|
|
2227
|
+
text: import('zod').ZodString;
|
|
2228
|
+
url: import('zod').ZodString;
|
|
2229
|
+
metadata: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
1382
2230
|
};
|
|
1383
2231
|
execute(args: {
|
|
1384
2232
|
id: string;
|
|
1385
|
-
}, client: import(
|
|
2233
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1386
2234
|
content: {
|
|
1387
2235
|
type: "text";
|
|
1388
2236
|
text: string;
|