integrate-sdk 0.8.80-dev.0 → 0.9.0-dev.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/adapters/auto-routes.js +68 -73
- package/dist/adapters/index.js +68 -73
- package/dist/adapters/nextjs.js +68 -73
- package/dist/adapters/node.js +68 -73
- package/dist/adapters/svelte-kit.js +68 -73
- package/dist/adapters/tanstack-start.js +68 -73
- package/dist/index.js +68 -73
- package/dist/oauth.js +68 -73
- package/dist/server.js +68 -73
- package/dist/src/integrations/airtable.d.ts.map +1 -1
- package/dist/src/integrations/gmail.d.ts.map +1 -1
- package/dist/src/integrations/gworkspace.d.ts.map +1 -1
- package/dist/src/integrations/hubspot.d.ts.map +1 -1
- package/dist/src/integrations/polar.d.ts.map +1 -1
- package/dist/src/integrations/slack-client.d.ts +346 -57
- package/dist/src/integrations/slack-client.d.ts.map +1 -1
- package/dist/src/integrations/slack.d.ts +1 -1
- package/dist/src/integrations/slack.d.ts.map +1 -1
- package/dist/src/integrations/todoist-client.d.ts +458 -49
- package/dist/src/integrations/todoist-client.d.ts.map +1 -1
- package/dist/src/integrations/todoist.d.ts +1 -1
- package/dist/src/integrations/todoist.d.ts.map +1 -1
- package/dist/src/integrations/types.d.ts +2 -2
- package/dist/src/integrations/types.d.ts.map +1 -1
- package/dist/src/server.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -72,6 +72,31 @@ export interface TodoistSection {
|
|
|
72
72
|
order: number;
|
|
73
73
|
name: string;
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Todoist Comment
|
|
77
|
+
*/
|
|
78
|
+
export interface TodoistComment {
|
|
79
|
+
id: string;
|
|
80
|
+
task_id?: string;
|
|
81
|
+
project_id?: string;
|
|
82
|
+
content: string;
|
|
83
|
+
posted_at: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Todoist Reminder
|
|
87
|
+
*/
|
|
88
|
+
export interface TodoistReminder {
|
|
89
|
+
id: string;
|
|
90
|
+
task_id: string;
|
|
91
|
+
due?: {
|
|
92
|
+
date: string;
|
|
93
|
+
string: string;
|
|
94
|
+
lang: string;
|
|
95
|
+
is_recurring: boolean;
|
|
96
|
+
datetime?: string;
|
|
97
|
+
timezone?: string;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
75
100
|
/**
|
|
76
101
|
* Todoist Integration Client Interface
|
|
77
102
|
* Provides type-safe methods for all Todoist operations
|
|
@@ -87,18 +112,18 @@ export interface TodoistIntegrationClient {
|
|
|
87
112
|
*/
|
|
88
113
|
listProjects(params?: Record<string, never>): Promise<MCPToolCallResponse>;
|
|
89
114
|
/**
|
|
90
|
-
* Get a specific project
|
|
115
|
+
* Get details of a specific project
|
|
91
116
|
*
|
|
92
117
|
* @example
|
|
93
118
|
* ```typescript
|
|
94
119
|
* const project = await client.todoist.getProject({
|
|
95
|
-
*
|
|
120
|
+
* project_id: "2203306141"
|
|
96
121
|
* });
|
|
97
122
|
* ```
|
|
98
123
|
*/
|
|
99
124
|
getProject(params: {
|
|
100
125
|
/** Project ID */
|
|
101
|
-
|
|
126
|
+
project_id: string;
|
|
102
127
|
}): Promise<MCPToolCallResponse>;
|
|
103
128
|
/**
|
|
104
129
|
* Create a new project
|
|
@@ -114,52 +139,95 @@ export interface TodoistIntegrationClient {
|
|
|
114
139
|
createProject(params: {
|
|
115
140
|
/** Project name */
|
|
116
141
|
name: string;
|
|
117
|
-
/**
|
|
142
|
+
/** Color (e.g., berry_red, blue, green) */
|
|
143
|
+
color?: string;
|
|
144
|
+
/** Parent project ID for sub-projects */
|
|
118
145
|
parent_id?: string;
|
|
119
|
-
/**
|
|
146
|
+
/** Mark as favorite */
|
|
147
|
+
is_favorite?: boolean;
|
|
148
|
+
}): Promise<MCPToolCallResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Update an existing project
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```typescript
|
|
154
|
+
* const project = await client.todoist.updateProject({
|
|
155
|
+
* project_id: "2203306141",
|
|
156
|
+
* name: "Renamed Project"
|
|
157
|
+
* });
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
updateProject(params: {
|
|
161
|
+
/** Project ID */
|
|
162
|
+
project_id: string;
|
|
163
|
+
/** New project name */
|
|
164
|
+
name?: string;
|
|
165
|
+
/** New color */
|
|
120
166
|
color?: string;
|
|
121
|
-
/**
|
|
167
|
+
/** Mark as favorite */
|
|
122
168
|
is_favorite?: boolean;
|
|
123
|
-
/** View style */
|
|
124
|
-
view_style?: "list" | "board";
|
|
125
169
|
}): Promise<MCPToolCallResponse>;
|
|
126
170
|
/**
|
|
127
|
-
*
|
|
171
|
+
* Delete a project
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```typescript
|
|
175
|
+
* await client.todoist.deleteProject({
|
|
176
|
+
* project_id: "2203306141"
|
|
177
|
+
* });
|
|
178
|
+
* ```
|
|
179
|
+
*/
|
|
180
|
+
deleteProject(params: {
|
|
181
|
+
/** Project ID */
|
|
182
|
+
project_id: string;
|
|
183
|
+
}): Promise<MCPToolCallResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* Archive a project
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* ```typescript
|
|
189
|
+
* await client.todoist.archiveProject({
|
|
190
|
+
* project_id: "2203306141"
|
|
191
|
+
* });
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
archiveProject(params: {
|
|
195
|
+
/** Project ID */
|
|
196
|
+
project_id: string;
|
|
197
|
+
}): Promise<MCPToolCallResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* List active tasks with optional filters
|
|
128
200
|
*
|
|
129
201
|
* @example
|
|
130
202
|
* ```typescript
|
|
131
203
|
* const tasks = await client.todoist.listTasks({
|
|
132
|
-
*
|
|
204
|
+
* project_id: "2203306141"
|
|
133
205
|
* });
|
|
134
206
|
* ```
|
|
135
207
|
*/
|
|
136
208
|
listTasks(params?: {
|
|
137
209
|
/** Filter by project ID */
|
|
138
|
-
|
|
210
|
+
project_id?: string;
|
|
139
211
|
/** Filter by section ID */
|
|
140
|
-
|
|
141
|
-
/** Filter by label */
|
|
212
|
+
section_id?: string;
|
|
213
|
+
/** Filter by label name */
|
|
142
214
|
label?: string;
|
|
143
|
-
/**
|
|
215
|
+
/** Todoist filter string (e.g., today, p1, overdue) */
|
|
144
216
|
filter?: string;
|
|
145
|
-
/** Language for filter parsing */
|
|
146
|
-
lang?: string;
|
|
147
|
-
/** List of task IDs to retrieve */
|
|
148
|
-
ids?: string[];
|
|
149
217
|
}): Promise<MCPToolCallResponse>;
|
|
150
218
|
/**
|
|
151
|
-
* Get a specific task
|
|
219
|
+
* Get details of a specific task
|
|
152
220
|
*
|
|
153
221
|
* @example
|
|
154
222
|
* ```typescript
|
|
155
223
|
* const task = await client.todoist.getTask({
|
|
156
|
-
*
|
|
224
|
+
* task_id: "2995104339"
|
|
157
225
|
* });
|
|
158
226
|
* ```
|
|
159
227
|
*/
|
|
160
228
|
getTask(params: {
|
|
161
229
|
/** Task ID */
|
|
162
|
-
|
|
230
|
+
task_id: string;
|
|
163
231
|
}): Promise<MCPToolCallResponse>;
|
|
164
232
|
/**
|
|
165
233
|
* Create a new task
|
|
@@ -174,53 +242,327 @@ export interface TodoistIntegrationClient {
|
|
|
174
242
|
* ```
|
|
175
243
|
*/
|
|
176
244
|
createTask(params: {
|
|
177
|
-
/** Task content
|
|
245
|
+
/** Task title/content */
|
|
178
246
|
content: string;
|
|
179
247
|
/** Task description */
|
|
180
248
|
description?: string;
|
|
181
|
-
/** Project
|
|
249
|
+
/** Project to add task to */
|
|
182
250
|
project_id?: string;
|
|
183
|
-
/** Section
|
|
251
|
+
/** Section within project */
|
|
184
252
|
section_id?: string;
|
|
185
|
-
/** Parent task ID */
|
|
253
|
+
/** Parent task ID (to create a subtask) */
|
|
186
254
|
parent_id?: string;
|
|
187
|
-
/**
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
labels?: string[];
|
|
191
|
-
/** Priority (1-4, 4 is highest) */
|
|
192
|
-
priority?: 1 | 2 | 3 | 4;
|
|
193
|
-
/** Due date string (natural language) */
|
|
255
|
+
/** Priority: 1 (normal) to 4 (urgent) */
|
|
256
|
+
priority?: number;
|
|
257
|
+
/** Natural language due date (e.g., tomorrow, next monday) */
|
|
194
258
|
due_string?: string;
|
|
195
|
-
/** Due date
|
|
259
|
+
/** Due date in YYYY-MM-DD format */
|
|
196
260
|
due_date?: string;
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
due_lang?: string;
|
|
201
|
-
/** Assignee ID */
|
|
261
|
+
/** Comma-separated label names */
|
|
262
|
+
labels?: string;
|
|
263
|
+
/** User ID to assign task to (shared projects) */
|
|
202
264
|
assignee_id?: string;
|
|
203
|
-
/** Duration */
|
|
204
|
-
duration?: number;
|
|
205
|
-
/** Duration unit */
|
|
206
|
-
duration_unit?: "minute" | "day";
|
|
207
265
|
}): Promise<MCPToolCallResponse>;
|
|
208
266
|
/**
|
|
209
|
-
*
|
|
267
|
+
* Update an existing task
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* ```typescript
|
|
271
|
+
* const task = await client.todoist.updateTask({
|
|
272
|
+
* task_id: "2995104339",
|
|
273
|
+
* content: "Updated task title",
|
|
274
|
+
* priority: 3
|
|
275
|
+
* });
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
updateTask(params: {
|
|
279
|
+
/** Task ID */
|
|
280
|
+
task_id: string;
|
|
281
|
+
/** New title/content */
|
|
282
|
+
content?: string;
|
|
283
|
+
/** New description */
|
|
284
|
+
description?: string;
|
|
285
|
+
/** Priority: 1–4 */
|
|
286
|
+
priority?: number;
|
|
287
|
+
/** Natural language due date */
|
|
288
|
+
due_string?: string;
|
|
289
|
+
/** Due date in YYYY-MM-DD format */
|
|
290
|
+
due_date?: string;
|
|
291
|
+
/** Comma-separated label names (replaces existing) */
|
|
292
|
+
labels?: string;
|
|
293
|
+
}): Promise<MCPToolCallResponse>;
|
|
294
|
+
/**
|
|
295
|
+
* Mark a task as complete
|
|
210
296
|
*
|
|
211
297
|
* @example
|
|
212
298
|
* ```typescript
|
|
213
299
|
* await client.todoist.completeTask({
|
|
214
|
-
*
|
|
300
|
+
* task_id: "2995104339"
|
|
215
301
|
* });
|
|
216
302
|
* ```
|
|
217
303
|
*/
|
|
218
304
|
completeTask(params: {
|
|
219
|
-
/** Task ID
|
|
220
|
-
|
|
305
|
+
/** Task ID */
|
|
306
|
+
task_id: string;
|
|
307
|
+
}): Promise<MCPToolCallResponse>;
|
|
308
|
+
/**
|
|
309
|
+
* Delete a task permanently
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* ```typescript
|
|
313
|
+
* await client.todoist.deleteTask({
|
|
314
|
+
* task_id: "2995104339"
|
|
315
|
+
* });
|
|
316
|
+
* ```
|
|
317
|
+
*/
|
|
318
|
+
deleteTask(params: {
|
|
319
|
+
/** Task ID */
|
|
320
|
+
task_id: string;
|
|
321
|
+
}): Promise<MCPToolCallResponse>;
|
|
322
|
+
/**
|
|
323
|
+
* Reopen a completed task
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
* ```typescript
|
|
327
|
+
* await client.todoist.reopenTask({
|
|
328
|
+
* task_id: "2995104339"
|
|
329
|
+
* });
|
|
330
|
+
* ```
|
|
331
|
+
*/
|
|
332
|
+
reopenTask(params: {
|
|
333
|
+
/** Task ID */
|
|
334
|
+
task_id: string;
|
|
335
|
+
}): Promise<MCPToolCallResponse>;
|
|
336
|
+
/**
|
|
337
|
+
* Move a task to a different project, section, or parent
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* ```typescript
|
|
341
|
+
* const task = await client.todoist.moveTask({
|
|
342
|
+
* task_id: "2995104339",
|
|
343
|
+
* project_id: "2203306142"
|
|
344
|
+
* });
|
|
345
|
+
* ```
|
|
346
|
+
*/
|
|
347
|
+
moveTask(params: {
|
|
348
|
+
/** Task ID */
|
|
349
|
+
task_id: string;
|
|
350
|
+
/** Target project ID */
|
|
351
|
+
project_id?: string;
|
|
352
|
+
/** Target section ID */
|
|
353
|
+
section_id?: string;
|
|
354
|
+
/** Target parent task ID (to nest as subtask) */
|
|
355
|
+
parent_id?: string;
|
|
356
|
+
}): Promise<MCPToolCallResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* Add a task using natural language
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* ```typescript
|
|
362
|
+
* const task = await client.todoist.quickAddTask({
|
|
363
|
+
* text: "Buy milk tomorrow p1 #Shopping @errands"
|
|
364
|
+
* });
|
|
365
|
+
* ```
|
|
366
|
+
*/
|
|
367
|
+
quickAddTask(params: {
|
|
368
|
+
/** Full task string with natural language parsing */
|
|
369
|
+
text: string;
|
|
370
|
+
}): Promise<MCPToolCallResponse>;
|
|
371
|
+
/**
|
|
372
|
+
* Get completed tasks
|
|
373
|
+
*
|
|
374
|
+
* @example
|
|
375
|
+
* ```typescript
|
|
376
|
+
* const tasks = await client.todoist.getCompletedTasks({
|
|
377
|
+
* project_id: "2203306141",
|
|
378
|
+
* limit: 50
|
|
379
|
+
* });
|
|
380
|
+
* ```
|
|
381
|
+
*/
|
|
382
|
+
getCompletedTasks(params?: {
|
|
383
|
+
/** Filter by project ID */
|
|
384
|
+
project_id?: string;
|
|
385
|
+
/** Return tasks completed after this date (RFC3339 or YYYY-MM-DD) */
|
|
386
|
+
since?: string;
|
|
387
|
+
/** Return tasks completed before this date */
|
|
388
|
+
until?: string;
|
|
389
|
+
/** Max tasks to return */
|
|
390
|
+
limit?: number;
|
|
391
|
+
}): Promise<MCPToolCallResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Get tasks matching a Todoist filter expression
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* ```typescript
|
|
397
|
+
* const tasks = await client.todoist.filterTasks({
|
|
398
|
+
* query: "p1 & overdue"
|
|
399
|
+
* });
|
|
400
|
+
* ```
|
|
401
|
+
*/
|
|
402
|
+
filterTasks(params: {
|
|
403
|
+
/** Filter query (e.g., today, p1 & overdue, #Work & @waiting) */
|
|
404
|
+
query: string;
|
|
405
|
+
}): Promise<MCPToolCallResponse>;
|
|
406
|
+
/**
|
|
407
|
+
* List sections, optionally filtered by project
|
|
408
|
+
*
|
|
409
|
+
* @example
|
|
410
|
+
* ```typescript
|
|
411
|
+
* const sections = await client.todoist.listSections({
|
|
412
|
+
* project_id: "2203306141"
|
|
413
|
+
* });
|
|
414
|
+
* ```
|
|
415
|
+
*/
|
|
416
|
+
listSections(params?: {
|
|
417
|
+
/** Filter by project ID */
|
|
418
|
+
project_id?: string;
|
|
419
|
+
}): Promise<MCPToolCallResponse>;
|
|
420
|
+
/**
|
|
421
|
+
* Create a new section in a project
|
|
422
|
+
*
|
|
423
|
+
* @example
|
|
424
|
+
* ```typescript
|
|
425
|
+
* const section = await client.todoist.createSection({
|
|
426
|
+
* name: "In Progress",
|
|
427
|
+
* project_id: "2203306141"
|
|
428
|
+
* });
|
|
429
|
+
* ```
|
|
430
|
+
*/
|
|
431
|
+
createSection(params: {
|
|
432
|
+
/** Section name */
|
|
433
|
+
name: string;
|
|
434
|
+
/** Project to add section to */
|
|
435
|
+
project_id: string;
|
|
436
|
+
/** Position order within the project */
|
|
437
|
+
order?: number;
|
|
438
|
+
}): Promise<MCPToolCallResponse>;
|
|
439
|
+
/**
|
|
440
|
+
* Get details of a specific section
|
|
441
|
+
*
|
|
442
|
+
* @example
|
|
443
|
+
* ```typescript
|
|
444
|
+
* const section = await client.todoist.getSection({
|
|
445
|
+
* section_id: "7025"
|
|
446
|
+
* });
|
|
447
|
+
* ```
|
|
448
|
+
*/
|
|
449
|
+
getSection(params: {
|
|
450
|
+
/** Section ID */
|
|
451
|
+
section_id: string;
|
|
452
|
+
}): Promise<MCPToolCallResponse>;
|
|
453
|
+
/**
|
|
454
|
+
* Rename a section
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* ```typescript
|
|
458
|
+
* const section = await client.todoist.updateSection({
|
|
459
|
+
* section_id: "7025",
|
|
460
|
+
* name: "Done"
|
|
461
|
+
* });
|
|
462
|
+
* ```
|
|
463
|
+
*/
|
|
464
|
+
updateSection(params: {
|
|
465
|
+
/** Section ID */
|
|
466
|
+
section_id: string;
|
|
467
|
+
/** New section name */
|
|
468
|
+
name: string;
|
|
469
|
+
}): Promise<MCPToolCallResponse>;
|
|
470
|
+
/**
|
|
471
|
+
* Delete a section (and all tasks in it)
|
|
472
|
+
*
|
|
473
|
+
* @example
|
|
474
|
+
* ```typescript
|
|
475
|
+
* await client.todoist.deleteSection({
|
|
476
|
+
* section_id: "7025"
|
|
477
|
+
* });
|
|
478
|
+
* ```
|
|
479
|
+
*/
|
|
480
|
+
deleteSection(params: {
|
|
481
|
+
/** Section ID */
|
|
482
|
+
section_id: string;
|
|
483
|
+
}): Promise<MCPToolCallResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* List comments on a task or project
|
|
486
|
+
*
|
|
487
|
+
* @example
|
|
488
|
+
* ```typescript
|
|
489
|
+
* const comments = await client.todoist.listComments({
|
|
490
|
+
* task_id: "2995104339"
|
|
491
|
+
* });
|
|
492
|
+
* ```
|
|
493
|
+
*/
|
|
494
|
+
listComments(params: {
|
|
495
|
+
/** Task ID (provide either task_id or project_id) */
|
|
496
|
+
task_id?: string;
|
|
497
|
+
/** Project ID */
|
|
498
|
+
project_id?: string;
|
|
499
|
+
}): Promise<MCPToolCallResponse>;
|
|
500
|
+
/**
|
|
501
|
+
* Add a comment to a task or project
|
|
502
|
+
*
|
|
503
|
+
* @example
|
|
504
|
+
* ```typescript
|
|
505
|
+
* const comment = await client.todoist.createComment({
|
|
506
|
+
* content: "This is a comment",
|
|
507
|
+
* task_id: "2995104339"
|
|
508
|
+
* });
|
|
509
|
+
* ```
|
|
510
|
+
*/
|
|
511
|
+
createComment(params: {
|
|
512
|
+
/** Comment text (supports Markdown) */
|
|
513
|
+
content: string;
|
|
514
|
+
/** Task ID (provide either task_id or project_id) */
|
|
515
|
+
task_id?: string;
|
|
516
|
+
/** Project ID */
|
|
517
|
+
project_id?: string;
|
|
518
|
+
}): Promise<MCPToolCallResponse>;
|
|
519
|
+
/**
|
|
520
|
+
* Get details of a specific comment
|
|
521
|
+
*
|
|
522
|
+
* @example
|
|
523
|
+
* ```typescript
|
|
524
|
+
* const comment = await client.todoist.getComment({
|
|
525
|
+
* comment_id: "2992679862"
|
|
526
|
+
* });
|
|
527
|
+
* ```
|
|
528
|
+
*/
|
|
529
|
+
getComment(params: {
|
|
530
|
+
/** Comment ID */
|
|
531
|
+
comment_id: string;
|
|
532
|
+
}): Promise<MCPToolCallResponse>;
|
|
533
|
+
/**
|
|
534
|
+
* Update a comment's text
|
|
535
|
+
*
|
|
536
|
+
* @example
|
|
537
|
+
* ```typescript
|
|
538
|
+
* const comment = await client.todoist.updateComment({
|
|
539
|
+
* comment_id: "2992679862",
|
|
540
|
+
* content: "Updated comment"
|
|
541
|
+
* });
|
|
542
|
+
* ```
|
|
543
|
+
*/
|
|
544
|
+
updateComment(params: {
|
|
545
|
+
/** Comment ID */
|
|
546
|
+
comment_id: string;
|
|
547
|
+
/** New comment text */
|
|
548
|
+
content: string;
|
|
549
|
+
}): Promise<MCPToolCallResponse>;
|
|
550
|
+
/**
|
|
551
|
+
* Delete a comment
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* ```typescript
|
|
555
|
+
* await client.todoist.deleteComment({
|
|
556
|
+
* comment_id: "2992679862"
|
|
557
|
+
* });
|
|
558
|
+
* ```
|
|
559
|
+
*/
|
|
560
|
+
deleteComment(params: {
|
|
561
|
+
/** Comment ID */
|
|
562
|
+
comment_id: string;
|
|
221
563
|
}): Promise<MCPToolCallResponse>;
|
|
222
564
|
/**
|
|
223
|
-
* List all labels
|
|
565
|
+
* List all personal labels
|
|
224
566
|
*
|
|
225
567
|
* @example
|
|
226
568
|
* ```typescript
|
|
@@ -244,10 +586,77 @@ export interface TodoistIntegrationClient {
|
|
|
244
586
|
name: string;
|
|
245
587
|
/** Label color */
|
|
246
588
|
color?: string;
|
|
247
|
-
/**
|
|
589
|
+
/** Display order */
|
|
248
590
|
order?: number;
|
|
249
|
-
/**
|
|
591
|
+
/** Mark as favorite */
|
|
250
592
|
is_favorite?: boolean;
|
|
251
593
|
}): Promise<MCPToolCallResponse>;
|
|
594
|
+
/**
|
|
595
|
+
* Update a label
|
|
596
|
+
*
|
|
597
|
+
* @example
|
|
598
|
+
* ```typescript
|
|
599
|
+
* const label = await client.todoist.updateLabel({
|
|
600
|
+
* label_id: "2156154810",
|
|
601
|
+
* name: "critical"
|
|
602
|
+
* });
|
|
603
|
+
* ```
|
|
604
|
+
*/
|
|
605
|
+
updateLabel(params: {
|
|
606
|
+
/** Label ID */
|
|
607
|
+
label_id: string;
|
|
608
|
+
/** New name */
|
|
609
|
+
name?: string;
|
|
610
|
+
/** New color */
|
|
611
|
+
color?: string;
|
|
612
|
+
/** New display order */
|
|
613
|
+
order?: number;
|
|
614
|
+
/** Mark as favorite */
|
|
615
|
+
is_favorite?: boolean;
|
|
616
|
+
}): Promise<MCPToolCallResponse>;
|
|
617
|
+
/**
|
|
618
|
+
* Delete a label
|
|
619
|
+
*
|
|
620
|
+
* @example
|
|
621
|
+
* ```typescript
|
|
622
|
+
* await client.todoist.deleteLabel({
|
|
623
|
+
* label_id: "2156154810"
|
|
624
|
+
* });
|
|
625
|
+
* ```
|
|
626
|
+
*/
|
|
627
|
+
deleteLabel(params: {
|
|
628
|
+
/** Label ID */
|
|
629
|
+
label_id: string;
|
|
630
|
+
}): Promise<MCPToolCallResponse>;
|
|
631
|
+
/**
|
|
632
|
+
* List all reminders
|
|
633
|
+
*
|
|
634
|
+
* @example
|
|
635
|
+
* ```typescript
|
|
636
|
+
* const reminders = await client.todoist.listReminders({});
|
|
637
|
+
* ```
|
|
638
|
+
*/
|
|
639
|
+
listReminders(params?: Record<string, never>): Promise<MCPToolCallResponse>;
|
|
640
|
+
/**
|
|
641
|
+
* Create a reminder for a task
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* ```typescript
|
|
645
|
+
* const reminder = await client.todoist.createReminder({
|
|
646
|
+
* task_id: "2995104339",
|
|
647
|
+
* due_string: "tomorrow at 9am"
|
|
648
|
+
* });
|
|
649
|
+
* ```
|
|
650
|
+
*/
|
|
651
|
+
createReminder(params: {
|
|
652
|
+
/** Task ID */
|
|
653
|
+
task_id: string;
|
|
654
|
+
/** Natural language due time (e.g., tomorrow at 9am) */
|
|
655
|
+
due_string?: string;
|
|
656
|
+
/** Due date in YYYY-MM-DD format */
|
|
657
|
+
due_date?: string;
|
|
658
|
+
/** Due datetime in RFC3339 format */
|
|
659
|
+
due_datetime?: string;
|
|
660
|
+
}): Promise<MCPToolCallResponse>;
|
|
252
661
|
}
|
|
253
662
|
//# sourceMappingURL=todoist-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todoist-client.d.ts","sourceRoot":"","sources":["../../../src/integrations/todoist-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAA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AAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAwB;
|
|
1
|
+
{"version":3,"file":"todoist-client.d.ts","sourceRoot":"","sources":["../../../src/integrations/todoist-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxB,GAAG,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,OAAO,CAAC;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM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,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,gBAAgB;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,wBAAwB;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,uBAAuB;QACvB,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEjC;;;;;;;;;OASG;IACH,WAAW,CAAC,MAAM,EAAE;QAClB,eAAe;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAIjC;;;;;;;OAOG;IACH,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAE5E;;;;;;;;;;OAUG;IACH,cAAc,CAAC,MAAM,EAAE;QACrB,cAAc;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,wDAAwD;QACxD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,oCAAoC;QACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,qCAAqC;QACrC,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;CAClC"}
|
|
@@ -26,7 +26,7 @@ export interface TodoistIntegrationConfig {
|
|
|
26
26
|
* Default Todoist tools that this integration enables
|
|
27
27
|
* These should match the tool names exposed by your MCP server
|
|
28
28
|
*/
|
|
29
|
-
declare const TODOIST_TOOLS: readonly ["todoist_list_projects", "todoist_get_project", "todoist_create_project", "todoist_list_tasks", "todoist_get_task", "todoist_create_task", "todoist_complete_task", "todoist_list_labels", "todoist_create_label"];
|
|
29
|
+
declare const TODOIST_TOOLS: readonly ["todoist_list_projects", "todoist_get_project", "todoist_create_project", "todoist_update_project", "todoist_delete_project", "todoist_archive_project", "todoist_list_tasks", "todoist_get_task", "todoist_create_task", "todoist_update_task", "todoist_complete_task", "todoist_delete_task", "todoist_reopen_task", "todoist_move_task", "todoist_quick_add_task", "todoist_get_completed_tasks", "todoist_filter_tasks", "todoist_list_sections", "todoist_create_section", "todoist_get_section", "todoist_update_section", "todoist_delete_section", "todoist_list_comments", "todoist_create_comment", "todoist_get_comment", "todoist_update_comment", "todoist_delete_comment", "todoist_list_labels", "todoist_create_label", "todoist_update_label", "todoist_delete_label", "todoist_list_reminders", "todoist_create_reminder"];
|
|
30
30
|
export declare function todoistIntegration(config?: TodoistIntegrationConfig): MCPIntegration<"todoist">;
|
|
31
31
|
/**
|
|
32
32
|
* Export tool names for type inference
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todoist.d.ts","sourceRoot":"","sources":["../../../src/integrations/todoist.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,YAAY,CAAC;AAM9D;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"todoist.d.ts","sourceRoot":"","sources":["../../../src/integrations/todoist.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,YAAY,CAAC;AAM9D;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,QAAA,MAAM,aAAa,yzBAwCT,CAAC;AAGX,wBAAgB,kBAAkB,CAAC,MAAM,GAAE,wBAA6B,GAAG,cAAc,CAAC,SAAS,CAAC,CA4BnG;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAExD;;GAEG;AACH,YAAY,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -25,8 +25,8 @@ export interface OAuthConfig {
|
|
|
25
25
|
* @deprecated Keep client secret server-side in OAuth API route configuration
|
|
26
26
|
*/
|
|
27
27
|
clientSecret?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
scopes
|
|
28
|
+
/** OAuth scopes (optional - server provides defaults if not specified) */
|
|
29
|
+
scopes?: string[];
|
|
30
30
|
/** Optional OAuth scopes (user may choose to grant or deny) */
|
|
31
31
|
optionalScopes?: string[];
|
|
32
32
|
/** Redirect URI for OAuth flow */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/integrations/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot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