@todoist/mcp 17.4.1 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -8
- package/dist/index.d.ts +615 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -52
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-apps/index.html +1 -1
- package/dist/{mcp-server-C7dCGLGm.js → mcp-server-CAqylT3d.js} +3054 -2328
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-DSS0GICs.js → require-valid-todoist-token-FTt0ckSw.js} +1 -1
- package/dist/tool-execution-error.d.ts +10 -0
- package/dist/tool-execution-error.d.ts.map +1 -1
- package/dist/tool-registry.d.ts +609 -11
- package/dist/tool-registry.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +6 -2
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-template.d.ts +252 -0
- package/dist/tools/add-template.d.ts.map +1 -0
- package/dist/tools/delete-object.d.ts +4 -4
- package/dist/tools/{export-project-template.d.ts → export-project.d.ts} +4 -4
- package/dist/tools/export-project.d.ts.map +1 -0
- package/dist/tools/fetch-object.d.ts +108 -1
- package/dist/tools/fetch-object.d.ts.map +1 -1
- package/dist/tools/find-templates.d.ts +56 -0
- package/dist/tools/find-templates.d.ts.map +1 -0
- package/dist/tools/{import-project-template.d.ts → import-into-project.d.ts} +4 -13
- package/dist/tools/import-into-project.d.ts.map +1 -0
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/update-template.d.ts +190 -0
- package/dist/tools/update-template.d.ts.map +1 -0
- package/dist/utils/colors.d.ts +26 -0
- package/dist/utils/colors.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +16 -0
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/date.d.ts +5 -0
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +9 -1
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/template-content.d.ts +97 -0
- package/dist/utils/template-content.d.ts.map +1 -0
- package/dist/utils/template-ids.d.ts +21 -0
- package/dist/utils/template-ids.d.ts.map +1 -0
- package/dist/utils/test-helpers.d.ts +5 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/tool-names.d.ts +5 -2
- package/dist/utils/tool-names.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/tools/export-project-template.d.ts.map +0 -1
- package/dist/tools/import-project-template.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,10 +10,11 @@ import { addProjects } from './tools/add-projects.js';
|
|
|
10
10
|
import { addReminders } from './tools/add-reminders.js';
|
|
11
11
|
import { addSections } from './tools/add-sections.js';
|
|
12
12
|
import { addTasks } from './tools/add-tasks.js';
|
|
13
|
+
import { addTemplate } from './tools/add-template.js';
|
|
13
14
|
import { analyzeProjectHealth } from './tools/analyze-project-health.js';
|
|
14
15
|
import { completeTasks } from './tools/complete-tasks.js';
|
|
15
16
|
import { deleteObject } from './tools/delete-object.js';
|
|
16
|
-
import {
|
|
17
|
+
import { exportProject } from './tools/export-project.js';
|
|
17
18
|
import { fetchObject } from './tools/fetch-object.js';
|
|
18
19
|
import { fetch } from './tools/fetch.js';
|
|
19
20
|
import { findActivity } from './tools/find-activity.js';
|
|
@@ -28,13 +29,14 @@ import { findReminders } from './tools/find-reminders.js';
|
|
|
28
29
|
import { findSections } from './tools/find-sections.js';
|
|
29
30
|
import { findTasksByDate } from './tools/find-tasks-by-date.js';
|
|
30
31
|
import { findTasks } from './tools/find-tasks.js';
|
|
32
|
+
import { findTemplates } from './tools/find-templates.js';
|
|
31
33
|
import { getOverview } from './tools/get-overview.js';
|
|
32
34
|
import { getProductivityStats } from './tools/get-productivity-stats.js';
|
|
33
35
|
import { getProjectActivityStats } from './tools/get-project-activity-stats.js';
|
|
34
36
|
import { getProjectHealth } from './tools/get-project-health.js';
|
|
35
37
|
import { getUserStatus } from './tools/get-user-status.js';
|
|
36
38
|
import { getWorkspaceInsights } from './tools/get-workspace-insights.js';
|
|
37
|
-
import {
|
|
39
|
+
import { importIntoProject } from './tools/import-into-project.js';
|
|
38
40
|
import { listWorkspaces } from './tools/list-workspaces.js';
|
|
39
41
|
import { manageAssignments } from './tools/manage-assignments.js';
|
|
40
42
|
import { projectManagement } from './tools/project-management.js';
|
|
@@ -52,6 +54,7 @@ import { updateProjects } from './tools/update-projects.js';
|
|
|
52
54
|
import { updateReminders } from './tools/update-reminders.js';
|
|
53
55
|
import { updateSections } from './tools/update-sections.js';
|
|
54
56
|
import { updateTasks } from './tools/update-tasks.js';
|
|
57
|
+
import { updateTemplate } from './tools/update-template.js';
|
|
55
58
|
import { userInfo } from './tools/user-info.js';
|
|
56
59
|
import { viewAttachment } from './tools/view-attachment.js';
|
|
57
60
|
import { validateTodoistToken } from './utils/validate-todoist-token.js';
|
|
@@ -844,7 +847,8 @@ declare const tools: {
|
|
|
844
847
|
description: string;
|
|
845
848
|
parameters: {
|
|
846
849
|
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
847
|
-
name: import('zod').ZodString
|
|
850
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
851
|
+
templateId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
848
852
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
849
853
|
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
850
854
|
viewStyle: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
@@ -929,6 +933,7 @@ declare const tools: {
|
|
|
929
933
|
}>>;
|
|
930
934
|
workspace: import('zod').ZodOptional<import('zod').ZodString>;
|
|
931
935
|
folderId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
936
|
+
locale: import('zod').ZodOptional<import('zod').ZodString>;
|
|
932
937
|
}, import('zod/v4/core').$strip>>;
|
|
933
938
|
};
|
|
934
939
|
outputSchema: {
|
|
@@ -987,7 +992,8 @@ declare const tools: {
|
|
|
987
992
|
};
|
|
988
993
|
execute({ projects }: {
|
|
989
994
|
projects: {
|
|
990
|
-
name
|
|
995
|
+
name?: string | undefined;
|
|
996
|
+
templateId?: string | undefined;
|
|
991
997
|
parentId?: string | undefined;
|
|
992
998
|
isFavorite?: boolean | undefined;
|
|
993
999
|
viewStyle?: "list" | "calendar" | "board" | "table" | undefined;
|
|
@@ -996,6 +1002,7 @@ declare const tools: {
|
|
|
996
1002
|
icon?: "apple" | "briefcase" | "folder" | "diagram" | "headset" | "microphone" | "flag" | "bullseye" | "house" | "heart" | "airplane" | "gift" | "pin" | "school_cap" | "lightbulb" | "star" | "command_prompt" | "laptop" | "envelope" | "calendar" | "person" | "sofa" | "cup_and_heat_waves" | "paintpalette" | "broom" | "sun_max" | "moon" | "beach_umbrella" | "pizza" | "checkmark_line_3" | "basketball" | "face_smiling" | "dog" | "dollarsign" | "smartphone" | "person_2" | "chart_line_uptrend_xyaxis_in_square" | "laboratory_flask" | "telescope" | "book" | "document" | "sparkles" | "video" | "paintbrush" | "puzzlepiece_extension" | "clock" | "pills" | "birthday_cake" | "stethoscope" | undefined;
|
|
997
1003
|
workspace?: string | undefined;
|
|
998
1004
|
folderId?: string | undefined;
|
|
1005
|
+
locale?: string | undefined;
|
|
999
1006
|
}[];
|
|
1000
1007
|
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1001
1008
|
textContent: string;
|
|
@@ -3739,8 +3746,8 @@ declare const tools: {
|
|
|
3739
3746
|
comment: "comment";
|
|
3740
3747
|
folder: "folder";
|
|
3741
3748
|
project: "project";
|
|
3742
|
-
reminder: "reminder";
|
|
3743
3749
|
section: "section";
|
|
3750
|
+
reminder: "reminder";
|
|
3744
3751
|
location_reminder: "location_reminder";
|
|
3745
3752
|
}>;
|
|
3746
3753
|
id: import('zod').ZodString;
|
|
@@ -3754,8 +3761,8 @@ declare const tools: {
|
|
|
3754
3761
|
comment: "comment";
|
|
3755
3762
|
folder: "folder";
|
|
3756
3763
|
project: "project";
|
|
3757
|
-
reminder: "reminder";
|
|
3758
3764
|
section: "section";
|
|
3765
|
+
reminder: "reminder";
|
|
3759
3766
|
location_reminder: "location_reminder";
|
|
3760
3767
|
}>;
|
|
3761
3768
|
id: import('zod').ZodString;
|
|
@@ -3768,13 +3775,13 @@ declare const tools: {
|
|
|
3768
3775
|
idempotentHint: true;
|
|
3769
3776
|
};
|
|
3770
3777
|
execute(args: {
|
|
3771
|
-
type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "
|
|
3778
|
+
type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "section" | "reminder" | "location_reminder";
|
|
3772
3779
|
id: string;
|
|
3773
3780
|
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3774
3781
|
textContent: string;
|
|
3775
3782
|
structuredContent: {
|
|
3776
3783
|
deletedEntity: {
|
|
3777
|
-
type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "
|
|
3784
|
+
type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "section" | "reminder" | "location_reminder";
|
|
3778
3785
|
id: string;
|
|
3779
3786
|
};
|
|
3780
3787
|
success: true;
|
|
@@ -3790,6 +3797,7 @@ declare const tools: {
|
|
|
3790
3797
|
comment: "comment";
|
|
3791
3798
|
project: "project";
|
|
3792
3799
|
section: "section";
|
|
3800
|
+
template: "template";
|
|
3793
3801
|
}>;
|
|
3794
3802
|
id: import('zod').ZodString;
|
|
3795
3803
|
includeChildren: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
@@ -3814,6 +3822,7 @@ declare const tools: {
|
|
|
3814
3822
|
comment: "comment";
|
|
3815
3823
|
project: "project";
|
|
3816
3824
|
section: "section";
|
|
3825
|
+
template: "template";
|
|
3817
3826
|
}>;
|
|
3818
3827
|
id: import('zod').ZodString;
|
|
3819
3828
|
object: import('zod').ZodUnion<readonly [import('zod').ZodObject<{
|
|
@@ -3907,6 +3916,40 @@ declare const tools: {
|
|
|
3907
3916
|
name: import('zod').ZodString;
|
|
3908
3917
|
sectionOrder: import('zod').ZodNumber;
|
|
3909
3918
|
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3919
|
+
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
3920
|
+
sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
3921
|
+
canEdit: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
3922
|
+
content: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
3923
|
+
source: import('zod').ZodEnum<{
|
|
3924
|
+
user: "user";
|
|
3925
|
+
todoist: "todoist";
|
|
3926
|
+
}>;
|
|
3927
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3928
|
+
id: import('zod').ZodString;
|
|
3929
|
+
name: import('zod').ZodString;
|
|
3930
|
+
description: import('zod').ZodString;
|
|
3931
|
+
color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
3932
|
+
berry_red: "berry_red";
|
|
3933
|
+
red: "red";
|
|
3934
|
+
orange: "orange";
|
|
3935
|
+
yellow: "yellow";
|
|
3936
|
+
olive_green: "olive_green";
|
|
3937
|
+
lime_green: "lime_green";
|
|
3938
|
+
green: "green";
|
|
3939
|
+
mint_green: "mint_green";
|
|
3940
|
+
teal: "teal";
|
|
3941
|
+
sky_blue: "sky_blue";
|
|
3942
|
+
light_blue: "light_blue";
|
|
3943
|
+
blue: "blue";
|
|
3944
|
+
grape: "grape";
|
|
3945
|
+
violet: "violet";
|
|
3946
|
+
lavender: "lavender";
|
|
3947
|
+
magenta: "magenta";
|
|
3948
|
+
salmon: "salmon";
|
|
3949
|
+
charcoal: "charcoal";
|
|
3950
|
+
grey: "grey";
|
|
3951
|
+
taupe: "taupe";
|
|
3952
|
+
}>>>;
|
|
3910
3953
|
}, import('zod/v4/core').$strip>]>;
|
|
3911
3954
|
};
|
|
3912
3955
|
annotations: {
|
|
@@ -3915,7 +3958,7 @@ declare const tools: {
|
|
|
3915
3958
|
idempotentHint: true;
|
|
3916
3959
|
};
|
|
3917
3960
|
execute(args: {
|
|
3918
|
-
type: "task" | "comment" | "project" | "section";
|
|
3961
|
+
type: "task" | "comment" | "project" | "section" | "template";
|
|
3919
3962
|
id: string;
|
|
3920
3963
|
includeChildren?: boolean | undefined;
|
|
3921
3964
|
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
@@ -4021,6 +4064,77 @@ declare const tools: {
|
|
|
4021
4064
|
description?: string | undefined;
|
|
4022
4065
|
};
|
|
4023
4066
|
};
|
|
4067
|
+
} | {
|
|
4068
|
+
textContent: string;
|
|
4069
|
+
structuredContent: {
|
|
4070
|
+
type: "template";
|
|
4071
|
+
id: string;
|
|
4072
|
+
object: {
|
|
4073
|
+
id: string;
|
|
4074
|
+
name: string;
|
|
4075
|
+
description: string;
|
|
4076
|
+
color: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
4077
|
+
source: "user" | "todoist";
|
|
4078
|
+
workspaceId: string | undefined;
|
|
4079
|
+
sharedWithWorkspaceMembers: boolean | undefined;
|
|
4080
|
+
canEdit: boolean | undefined;
|
|
4081
|
+
content: {
|
|
4082
|
+
projects: {
|
|
4083
|
+
viewStyle: "list" | "calendar" | "board" | "table";
|
|
4084
|
+
description?: string | undefined;
|
|
4085
|
+
icon?: string | undefined;
|
|
4086
|
+
}[];
|
|
4087
|
+
sections: {
|
|
4088
|
+
id: string;
|
|
4089
|
+
name: string;
|
|
4090
|
+
description?: string | undefined;
|
|
4091
|
+
}[];
|
|
4092
|
+
tasks: {
|
|
4093
|
+
id: string;
|
|
4094
|
+
content: string;
|
|
4095
|
+
description?: string | undefined;
|
|
4096
|
+
sectionId?: string | undefined;
|
|
4097
|
+
parentId?: string | undefined;
|
|
4098
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
4099
|
+
labels?: string[] | undefined;
|
|
4100
|
+
due?: {
|
|
4101
|
+
date?: string | undefined;
|
|
4102
|
+
string?: string | undefined;
|
|
4103
|
+
lang?: string | undefined;
|
|
4104
|
+
isRecurring?: boolean | undefined;
|
|
4105
|
+
timezone?: string | undefined;
|
|
4106
|
+
} | undefined;
|
|
4107
|
+
deadline?: {
|
|
4108
|
+
date?: string | undefined;
|
|
4109
|
+
string?: string | undefined;
|
|
4110
|
+
lang?: string | undefined;
|
|
4111
|
+
isRecurring?: boolean | undefined;
|
|
4112
|
+
timezone?: string | undefined;
|
|
4113
|
+
} | undefined;
|
|
4114
|
+
duration?: {
|
|
4115
|
+
amount: number;
|
|
4116
|
+
unit: "day" | "minute";
|
|
4117
|
+
} | undefined;
|
|
4118
|
+
responsibleUid?: string | undefined;
|
|
4119
|
+
assignedByUid?: string | undefined;
|
|
4120
|
+
}[];
|
|
4121
|
+
comments: {
|
|
4122
|
+
content: string;
|
|
4123
|
+
taskId: string;
|
|
4124
|
+
postedUid?: string | undefined;
|
|
4125
|
+
postedAt?: string | undefined;
|
|
4126
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4127
|
+
}[];
|
|
4128
|
+
projectComments: {
|
|
4129
|
+
content: string;
|
|
4130
|
+
postedUid?: string | undefined;
|
|
4131
|
+
postedAt?: string | undefined;
|
|
4132
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4133
|
+
}[];
|
|
4134
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4135
|
+
} | undefined;
|
|
4136
|
+
};
|
|
4137
|
+
};
|
|
4024
4138
|
}>;
|
|
4025
4139
|
};
|
|
4026
4140
|
reorderObjects: {
|
|
@@ -4350,8 +4464,8 @@ declare const tools: {
|
|
|
4350
4464
|
};
|
|
4351
4465
|
}>;
|
|
4352
4466
|
};
|
|
4353
|
-
|
|
4354
|
-
name: "export-project
|
|
4467
|
+
exportProject: {
|
|
4468
|
+
name: "export-project";
|
|
4355
4469
|
description: string;
|
|
4356
4470
|
parameters: {
|
|
4357
4471
|
projectId: import('zod').ZodString;
|
|
@@ -4401,8 +4515,8 @@ declare const tools: {
|
|
|
4401
4515
|
};
|
|
4402
4516
|
}>;
|
|
4403
4517
|
};
|
|
4404
|
-
|
|
4405
|
-
name: "import-project
|
|
4518
|
+
importIntoProject: {
|
|
4519
|
+
name: "import-into-project";
|
|
4406
4520
|
description: string;
|
|
4407
4521
|
parameters: {
|
|
4408
4522
|
projectId: import('zod').ZodString;
|
|
@@ -4537,6 +4651,493 @@ declare const tools: {
|
|
|
4537
4651
|
};
|
|
4538
4652
|
}>;
|
|
4539
4653
|
};
|
|
4654
|
+
addTemplate: {
|
|
4655
|
+
name: "add-template";
|
|
4656
|
+
description: string;
|
|
4657
|
+
parameters: {
|
|
4658
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4659
|
+
csvFileContent: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4660
|
+
preview: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
4661
|
+
content: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
4662
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4663
|
+
viewStyle: import('zod').ZodEnum<{
|
|
4664
|
+
list: "list";
|
|
4665
|
+
calendar: "calendar";
|
|
4666
|
+
board: "board";
|
|
4667
|
+
table: "table";
|
|
4668
|
+
}>;
|
|
4669
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4670
|
+
icon: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4671
|
+
}, import('zod/v4/core').$strip>>;
|
|
4672
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4673
|
+
id: import('zod').ZodString;
|
|
4674
|
+
name: import('zod').ZodString;
|
|
4675
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4676
|
+
}, import('zod/v4/core').$strip>>;
|
|
4677
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4678
|
+
id: import('zod').ZodString;
|
|
4679
|
+
content: import('zod').ZodString;
|
|
4680
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4681
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4682
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4683
|
+
priority: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
4684
|
+
p1: "p1";
|
|
4685
|
+
p2: "p2";
|
|
4686
|
+
p3: "p3";
|
|
4687
|
+
p4: "p4";
|
|
4688
|
+
}>>;
|
|
4689
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
4690
|
+
due: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
4691
|
+
date: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4692
|
+
string: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4693
|
+
lang: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4694
|
+
isRecurring: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
4695
|
+
timezone: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4696
|
+
}, import('zod/v4/core').$strip>>;
|
|
4697
|
+
deadline: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
4698
|
+
date: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4699
|
+
string: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4700
|
+
lang: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4701
|
+
isRecurring: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
4702
|
+
timezone: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4703
|
+
}, import('zod/v4/core').$strip>>;
|
|
4704
|
+
duration: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
4705
|
+
amount: import('zod').ZodNumber;
|
|
4706
|
+
unit: import('zod').ZodEnum<{
|
|
4707
|
+
day: "day";
|
|
4708
|
+
minute: "minute";
|
|
4709
|
+
}>;
|
|
4710
|
+
}, import('zod/v4/core').$strip>>;
|
|
4711
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4712
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4713
|
+
}, import('zod/v4/core').$strip>>;
|
|
4714
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4715
|
+
content: import('zod').ZodString;
|
|
4716
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4717
|
+
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4718
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4719
|
+
taskId: import('zod').ZodString;
|
|
4720
|
+
}, import('zod/v4/core').$strip>>;
|
|
4721
|
+
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4722
|
+
content: import('zod').ZodString;
|
|
4723
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4724
|
+
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4725
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4726
|
+
}, import('zod/v4/core').$strip>>;
|
|
4727
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4728
|
+
}, import('zod/v4/core').$strip>>;
|
|
4729
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4730
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4731
|
+
color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
4732
|
+
berry_red: "berry_red";
|
|
4733
|
+
red: "red";
|
|
4734
|
+
orange: "orange";
|
|
4735
|
+
yellow: "yellow";
|
|
4736
|
+
olive_green: "olive_green";
|
|
4737
|
+
lime_green: "lime_green";
|
|
4738
|
+
green: "green";
|
|
4739
|
+
mint_green: "mint_green";
|
|
4740
|
+
teal: "teal";
|
|
4741
|
+
sky_blue: "sky_blue";
|
|
4742
|
+
light_blue: "light_blue";
|
|
4743
|
+
blue: "blue";
|
|
4744
|
+
grape: "grape";
|
|
4745
|
+
violet: "violet";
|
|
4746
|
+
lavender: "lavender";
|
|
4747
|
+
magenta: "magenta";
|
|
4748
|
+
salmon: "salmon";
|
|
4749
|
+
charcoal: "charcoal";
|
|
4750
|
+
grey: "grey";
|
|
4751
|
+
taupe: "taupe";
|
|
4752
|
+
}>>, unknown>;
|
|
4753
|
+
workspace: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4754
|
+
sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
4755
|
+
};
|
|
4756
|
+
outputSchema: {
|
|
4757
|
+
templateId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4758
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4759
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4760
|
+
workspaceError: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4761
|
+
content: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4762
|
+
};
|
|
4763
|
+
annotations: {
|
|
4764
|
+
readOnlyHint: false;
|
|
4765
|
+
destructiveHint: false;
|
|
4766
|
+
idempotentHint: false;
|
|
4767
|
+
openWorldHint: true;
|
|
4768
|
+
};
|
|
4769
|
+
execute(args: {
|
|
4770
|
+
projectId?: string | undefined;
|
|
4771
|
+
csvFileContent?: string | undefined;
|
|
4772
|
+
preview?: boolean | undefined;
|
|
4773
|
+
content?: {
|
|
4774
|
+
projects: {
|
|
4775
|
+
viewStyle: "list" | "calendar" | "board" | "table";
|
|
4776
|
+
description?: string | undefined;
|
|
4777
|
+
icon?: string | undefined;
|
|
4778
|
+
}[];
|
|
4779
|
+
sections: {
|
|
4780
|
+
id: string;
|
|
4781
|
+
name: string;
|
|
4782
|
+
description?: string | undefined;
|
|
4783
|
+
}[];
|
|
4784
|
+
tasks: {
|
|
4785
|
+
id: string;
|
|
4786
|
+
content: string;
|
|
4787
|
+
description?: string | undefined;
|
|
4788
|
+
sectionId?: string | undefined;
|
|
4789
|
+
parentId?: string | undefined;
|
|
4790
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
4791
|
+
labels?: string[] | undefined;
|
|
4792
|
+
due?: {
|
|
4793
|
+
date?: string | undefined;
|
|
4794
|
+
string?: string | undefined;
|
|
4795
|
+
lang?: string | undefined;
|
|
4796
|
+
isRecurring?: boolean | undefined;
|
|
4797
|
+
timezone?: string | undefined;
|
|
4798
|
+
} | undefined;
|
|
4799
|
+
deadline?: {
|
|
4800
|
+
date?: string | undefined;
|
|
4801
|
+
string?: string | undefined;
|
|
4802
|
+
lang?: string | undefined;
|
|
4803
|
+
isRecurring?: boolean | undefined;
|
|
4804
|
+
timezone?: string | undefined;
|
|
4805
|
+
} | undefined;
|
|
4806
|
+
duration?: {
|
|
4807
|
+
amount: number;
|
|
4808
|
+
unit: "day" | "minute";
|
|
4809
|
+
} | undefined;
|
|
4810
|
+
responsibleUid?: string | undefined;
|
|
4811
|
+
assignedByUid?: string | undefined;
|
|
4812
|
+
}[];
|
|
4813
|
+
comments: {
|
|
4814
|
+
content: string;
|
|
4815
|
+
taskId: string;
|
|
4816
|
+
postedUid?: string | undefined;
|
|
4817
|
+
postedAt?: string | undefined;
|
|
4818
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4819
|
+
}[];
|
|
4820
|
+
projectComments: {
|
|
4821
|
+
content: string;
|
|
4822
|
+
postedUid?: string | undefined;
|
|
4823
|
+
postedAt?: string | undefined;
|
|
4824
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4825
|
+
}[];
|
|
4826
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4827
|
+
} | undefined;
|
|
4828
|
+
name?: string | undefined;
|
|
4829
|
+
description?: string | undefined;
|
|
4830
|
+
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
4831
|
+
workspace?: string | undefined;
|
|
4832
|
+
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
4833
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4834
|
+
textContent: string;
|
|
4835
|
+
structuredContent: {
|
|
4836
|
+
content: {
|
|
4837
|
+
projects: {
|
|
4838
|
+
viewStyle: "list" | "calendar" | "board" | "table";
|
|
4839
|
+
description?: string | undefined;
|
|
4840
|
+
icon?: string | undefined;
|
|
4841
|
+
}[];
|
|
4842
|
+
sections: {
|
|
4843
|
+
id: string;
|
|
4844
|
+
name: string;
|
|
4845
|
+
description?: string | undefined;
|
|
4846
|
+
}[];
|
|
4847
|
+
tasks: {
|
|
4848
|
+
id: string;
|
|
4849
|
+
content: string;
|
|
4850
|
+
description?: string | undefined;
|
|
4851
|
+
sectionId?: string | undefined;
|
|
4852
|
+
parentId?: string | undefined;
|
|
4853
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
4854
|
+
labels?: string[] | undefined;
|
|
4855
|
+
due?: {
|
|
4856
|
+
date?: string | undefined;
|
|
4857
|
+
string?: string | undefined;
|
|
4858
|
+
lang?: string | undefined;
|
|
4859
|
+
isRecurring?: boolean | undefined;
|
|
4860
|
+
timezone?: string | undefined;
|
|
4861
|
+
} | undefined;
|
|
4862
|
+
deadline?: {
|
|
4863
|
+
date?: string | undefined;
|
|
4864
|
+
string?: string | undefined;
|
|
4865
|
+
lang?: string | undefined;
|
|
4866
|
+
isRecurring?: boolean | undefined;
|
|
4867
|
+
timezone?: string | undefined;
|
|
4868
|
+
} | undefined;
|
|
4869
|
+
duration?: {
|
|
4870
|
+
amount: number;
|
|
4871
|
+
unit: "day" | "minute";
|
|
4872
|
+
} | undefined;
|
|
4873
|
+
responsibleUid?: string | undefined;
|
|
4874
|
+
assignedByUid?: string | undefined;
|
|
4875
|
+
}[];
|
|
4876
|
+
comments: {
|
|
4877
|
+
content: string;
|
|
4878
|
+
taskId: string;
|
|
4879
|
+
postedUid?: string | undefined;
|
|
4880
|
+
postedAt?: string | undefined;
|
|
4881
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4882
|
+
}[];
|
|
4883
|
+
projectComments: {
|
|
4884
|
+
content: string;
|
|
4885
|
+
postedUid?: string | undefined;
|
|
4886
|
+
postedAt?: string | undefined;
|
|
4887
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4888
|
+
}[];
|
|
4889
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4890
|
+
};
|
|
4891
|
+
};
|
|
4892
|
+
} | {
|
|
4893
|
+
textContent: string;
|
|
4894
|
+
structuredContent: {
|
|
4895
|
+
templateId: string;
|
|
4896
|
+
name: string;
|
|
4897
|
+
workspaceId: string | undefined;
|
|
4898
|
+
workspaceError: string | undefined;
|
|
4899
|
+
};
|
|
4900
|
+
}>;
|
|
4901
|
+
};
|
|
4902
|
+
findTemplates: {
|
|
4903
|
+
name: "find-templates";
|
|
4904
|
+
description: string;
|
|
4905
|
+
parameters: {
|
|
4906
|
+
query: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4907
|
+
source: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
4908
|
+
user: "user";
|
|
4909
|
+
todoist: "todoist";
|
|
4910
|
+
all: "all";
|
|
4911
|
+
workspace: "workspace";
|
|
4912
|
+
}>>;
|
|
4913
|
+
locale: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4914
|
+
limit: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
4915
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4916
|
+
};
|
|
4917
|
+
outputSchema: {
|
|
4918
|
+
templates: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4919
|
+
source: import('zod').ZodEnum<{
|
|
4920
|
+
user: "user";
|
|
4921
|
+
todoist: "todoist";
|
|
4922
|
+
}>;
|
|
4923
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4924
|
+
templateId: import('zod').ZodString;
|
|
4925
|
+
name: import('zod').ZodString;
|
|
4926
|
+
description: import('zod').ZodString;
|
|
4927
|
+
}, import('zod/v4/core').$strip>>;
|
|
4928
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4929
|
+
};
|
|
4930
|
+
annotations: {
|
|
4931
|
+
readOnlyHint: true;
|
|
4932
|
+
destructiveHint: false;
|
|
4933
|
+
idempotentHint: true;
|
|
4934
|
+
};
|
|
4935
|
+
execute({ query, source, locale, limit, cursor }: {
|
|
4936
|
+
query?: string | undefined;
|
|
4937
|
+
source?: "user" | "todoist" | "all" | "workspace" | undefined;
|
|
4938
|
+
locale?: string | undefined;
|
|
4939
|
+
limit?: number | undefined;
|
|
4940
|
+
cursor?: string | undefined;
|
|
4941
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
4942
|
+
textContent: string;
|
|
4943
|
+
structuredContent: {
|
|
4944
|
+
templates: {
|
|
4945
|
+
templateId: string;
|
|
4946
|
+
name: string;
|
|
4947
|
+
description: string;
|
|
4948
|
+
source: "user" | "todoist";
|
|
4949
|
+
workspaceId: string | undefined;
|
|
4950
|
+
}[];
|
|
4951
|
+
nextCursor: string | undefined;
|
|
4952
|
+
};
|
|
4953
|
+
}>;
|
|
4954
|
+
};
|
|
4955
|
+
updateTemplate: {
|
|
4956
|
+
name: "update-template";
|
|
4957
|
+
description: string;
|
|
4958
|
+
parameters: {
|
|
4959
|
+
templateId: import('zod').ZodString;
|
|
4960
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4961
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4962
|
+
color: import('zod').ZodPreprocess<import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
4963
|
+
berry_red: "berry_red";
|
|
4964
|
+
red: "red";
|
|
4965
|
+
orange: "orange";
|
|
4966
|
+
yellow: "yellow";
|
|
4967
|
+
olive_green: "olive_green";
|
|
4968
|
+
lime_green: "lime_green";
|
|
4969
|
+
green: "green";
|
|
4970
|
+
mint_green: "mint_green";
|
|
4971
|
+
teal: "teal";
|
|
4972
|
+
sky_blue: "sky_blue";
|
|
4973
|
+
light_blue: "light_blue";
|
|
4974
|
+
blue: "blue";
|
|
4975
|
+
grape: "grape";
|
|
4976
|
+
violet: "violet";
|
|
4977
|
+
lavender: "lavender";
|
|
4978
|
+
magenta: "magenta";
|
|
4979
|
+
salmon: "salmon";
|
|
4980
|
+
charcoal: "charcoal";
|
|
4981
|
+
grey: "grey";
|
|
4982
|
+
taupe: "taupe";
|
|
4983
|
+
}>>, unknown>;
|
|
4984
|
+
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4985
|
+
content: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
4986
|
+
projects: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4987
|
+
viewStyle: import('zod').ZodEnum<{
|
|
4988
|
+
list: "list";
|
|
4989
|
+
calendar: "calendar";
|
|
4990
|
+
board: "board";
|
|
4991
|
+
table: "table";
|
|
4992
|
+
}>;
|
|
4993
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4994
|
+
icon: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4995
|
+
}, import('zod/v4/core').$strip>>;
|
|
4996
|
+
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4997
|
+
id: import('zod').ZodString;
|
|
4998
|
+
name: import('zod').ZodString;
|
|
4999
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5000
|
+
}, import('zod/v4/core').$strip>>;
|
|
5001
|
+
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5002
|
+
id: import('zod').ZodString;
|
|
5003
|
+
content: import('zod').ZodString;
|
|
5004
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5005
|
+
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5006
|
+
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5007
|
+
priority: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
5008
|
+
p1: "p1";
|
|
5009
|
+
p2: "p2";
|
|
5010
|
+
p3: "p3";
|
|
5011
|
+
p4: "p4";
|
|
5012
|
+
}>>;
|
|
5013
|
+
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
5014
|
+
due: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
5015
|
+
date: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5016
|
+
string: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5017
|
+
lang: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5018
|
+
isRecurring: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5019
|
+
timezone: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5020
|
+
}, import('zod/v4/core').$strip>>;
|
|
5021
|
+
deadline: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
5022
|
+
date: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5023
|
+
string: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5024
|
+
lang: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5025
|
+
isRecurring: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5026
|
+
timezone: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5027
|
+
}, import('zod/v4/core').$strip>>;
|
|
5028
|
+
duration: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
5029
|
+
amount: import('zod').ZodNumber;
|
|
5030
|
+
unit: import('zod').ZodEnum<{
|
|
5031
|
+
day: "day";
|
|
5032
|
+
minute: "minute";
|
|
5033
|
+
}>;
|
|
5034
|
+
}, import('zod/v4/core').$strip>>;
|
|
5035
|
+
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5036
|
+
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5037
|
+
}, import('zod/v4/core').$strip>>;
|
|
5038
|
+
comments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5039
|
+
content: import('zod').ZodString;
|
|
5040
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5041
|
+
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5042
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5043
|
+
taskId: import('zod').ZodString;
|
|
5044
|
+
}, import('zod/v4/core').$strip>>;
|
|
5045
|
+
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5046
|
+
content: import('zod').ZodString;
|
|
5047
|
+
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5048
|
+
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5049
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5050
|
+
}, import('zod/v4/core').$strip>>;
|
|
5051
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5052
|
+
}, import('zod/v4/core').$strip>>;
|
|
5053
|
+
workspace: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5054
|
+
sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5055
|
+
};
|
|
5056
|
+
outputSchema: {
|
|
5057
|
+
templateId: import('zod').ZodString;
|
|
5058
|
+
name: import('zod').ZodString;
|
|
5059
|
+
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5060
|
+
sharedWithWorkspaceMembers: import('zod').ZodBoolean;
|
|
5061
|
+
};
|
|
5062
|
+
annotations: {
|
|
5063
|
+
readOnlyHint: false;
|
|
5064
|
+
destructiveHint: true;
|
|
5065
|
+
idempotentHint: true;
|
|
5066
|
+
openWorldHint: true;
|
|
5067
|
+
};
|
|
5068
|
+
execute({ templateId, name, description, color, projectId, content, workspace, sharedWithWorkspaceMembers, }: {
|
|
5069
|
+
templateId: string;
|
|
5070
|
+
name?: string | undefined;
|
|
5071
|
+
description?: string | undefined;
|
|
5072
|
+
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
5073
|
+
projectId?: string | undefined;
|
|
5074
|
+
content?: {
|
|
5075
|
+
projects: {
|
|
5076
|
+
viewStyle: "list" | "calendar" | "board" | "table";
|
|
5077
|
+
description?: string | undefined;
|
|
5078
|
+
icon?: string | undefined;
|
|
5079
|
+
}[];
|
|
5080
|
+
sections: {
|
|
5081
|
+
id: string;
|
|
5082
|
+
name: string;
|
|
5083
|
+
description?: string | undefined;
|
|
5084
|
+
}[];
|
|
5085
|
+
tasks: {
|
|
5086
|
+
id: string;
|
|
5087
|
+
content: string;
|
|
5088
|
+
description?: string | undefined;
|
|
5089
|
+
sectionId?: string | undefined;
|
|
5090
|
+
parentId?: string | undefined;
|
|
5091
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
5092
|
+
labels?: string[] | undefined;
|
|
5093
|
+
due?: {
|
|
5094
|
+
date?: string | undefined;
|
|
5095
|
+
string?: string | undefined;
|
|
5096
|
+
lang?: string | undefined;
|
|
5097
|
+
isRecurring?: boolean | undefined;
|
|
5098
|
+
timezone?: string | undefined;
|
|
5099
|
+
} | undefined;
|
|
5100
|
+
deadline?: {
|
|
5101
|
+
date?: string | undefined;
|
|
5102
|
+
string?: string | undefined;
|
|
5103
|
+
lang?: string | undefined;
|
|
5104
|
+
isRecurring?: boolean | undefined;
|
|
5105
|
+
timezone?: string | undefined;
|
|
5106
|
+
} | undefined;
|
|
5107
|
+
duration?: {
|
|
5108
|
+
amount: number;
|
|
5109
|
+
unit: "day" | "minute";
|
|
5110
|
+
} | undefined;
|
|
5111
|
+
responsibleUid?: string | undefined;
|
|
5112
|
+
assignedByUid?: string | undefined;
|
|
5113
|
+
}[];
|
|
5114
|
+
comments: {
|
|
5115
|
+
content: string;
|
|
5116
|
+
taskId: string;
|
|
5117
|
+
postedUid?: string | undefined;
|
|
5118
|
+
postedAt?: string | undefined;
|
|
5119
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5120
|
+
}[];
|
|
5121
|
+
projectComments: {
|
|
5122
|
+
content: string;
|
|
5123
|
+
postedUid?: string | undefined;
|
|
5124
|
+
postedAt?: string | undefined;
|
|
5125
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5126
|
+
}[];
|
|
5127
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
5128
|
+
} | undefined;
|
|
5129
|
+
workspace?: string | undefined;
|
|
5130
|
+
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
5131
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
5132
|
+
textContent: string;
|
|
5133
|
+
structuredContent: {
|
|
5134
|
+
templateId: string;
|
|
5135
|
+
name: string;
|
|
5136
|
+
workspaceId: string | undefined;
|
|
5137
|
+
sharedWithWorkspaceMembers: boolean;
|
|
5138
|
+
};
|
|
5139
|
+
}>;
|
|
5140
|
+
};
|
|
4540
5141
|
listWorkspaces: {
|
|
4541
5142
|
name: "list-workspaces";
|
|
4542
5143
|
description: string;
|
|
@@ -4637,5 +5238,5 @@ declare const tools: {
|
|
|
4637
5238
|
}>;
|
|
4638
5239
|
};
|
|
4639
5240
|
};
|
|
4640
|
-
export { addTasks, completeTasks, findTasks, findTasksByDate, findCompletedTasks, rescheduleTasks, addProjects, findProjects, analyzeProjectHealth, projectManagement, projectMove, addFolders, findFolders, updateFolders, addSections, findSections, addComments, findComments, addReminders, findReminders, updateReminders, addLabels, findLabels, updateLabels, addFilters, findFilters, findActivity, getProductivityStats, getProjectHealth, getProjectActivityStats, getWorkspaceInsights, findProjectCollaborators, manageAssignments,
|
|
5241
|
+
export { addTasks, completeTasks, findTasks, findTasksByDate, findCompletedTasks, rescheduleTasks, addProjects, findProjects, analyzeProjectHealth, projectManagement, projectMove, addFolders, findFolders, updateFolders, addSections, findSections, addComments, findComments, addReminders, findReminders, updateReminders, addLabels, findLabels, updateLabels, addFilters, findFilters, findActivity, getProductivityStats, getProjectHealth, getProjectActivityStats, getWorkspaceInsights, findProjectCollaborators, manageAssignments, exportProject, importIntoProject, addTemplate, findTemplates, updateTemplate, listWorkspaces, viewAttachment, deleteObject, fetchObject, getOverview, reorderObjects, userInfo, getUserStatus, setUserStatus, uncompleteTasks, updateComments, updateFilters, updateProjects, updateSections, updateTasks, search, fetch, getMcpServer, tools, registeredTools, FEATURE_NAMES, type Feature, type FeatureName, type Features, requireValidTodoistToken, type RequireValidTodoistTokenOptions, validateTodoistToken, };
|
|
4641
5242
|
//# sourceMappingURL=index.d.ts.map
|