@doist/todoist-ai 5.2.0 → 6.0.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/index.d.ts +272 -901
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-D0ROki3I.js → mcp-server-BwerBJpX.js} +117 -127
- package/dist/tools/add-comments.d.ts +9 -82
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +11 -73
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +2 -14
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +24 -76
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +3 -11
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +15 -11
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +25 -31
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +9 -74
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +28 -53
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +2 -18
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +3 -21
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +1 -7
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +34 -54
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +31 -55
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +8 -15
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +9 -27
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +1 -9
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +10 -85
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +12 -80
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +4 -16
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +25 -87
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +6 -2
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/labels.d.ts +5 -2
- package/dist/utils/labels.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +20 -176
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/priorities.d.ts +6 -1
- package/dist/utils/priorities.d.ts.map +1 -1
- package/package.json +11 -11
- package/scripts/validate-schemas.ts +66 -65
|
@@ -24,92 +24,27 @@ declare const findComments: {
|
|
|
24
24
|
fileType: z.ZodOptional<z.ZodString>;
|
|
25
25
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
26
26
|
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
uploadState: z.ZodOptional<z.ZodEnum<
|
|
27
|
+
uploadState: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
pending: "pending";
|
|
29
|
+
completed: "completed";
|
|
30
|
+
}>>;
|
|
28
31
|
url: z.ZodOptional<z.ZodString>;
|
|
29
32
|
title: z.ZodOptional<z.ZodString>;
|
|
30
33
|
image: z.ZodOptional<z.ZodString>;
|
|
31
34
|
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
32
35
|
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
title?: string | undefined;
|
|
36
|
-
fileName?: string | undefined;
|
|
37
|
-
fileSize?: number | undefined;
|
|
38
|
-
fileType?: string | undefined;
|
|
39
|
-
fileUrl?: string | undefined;
|
|
40
|
-
fileDuration?: number | undefined;
|
|
41
|
-
uploadState?: "pending" | "completed" | undefined;
|
|
42
|
-
image?: string | undefined;
|
|
43
|
-
imageWidth?: number | undefined;
|
|
44
|
-
imageHeight?: number | undefined;
|
|
45
|
-
url?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
resourceType: string;
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
fileName?: string | undefined;
|
|
50
|
-
fileSize?: number | undefined;
|
|
51
|
-
fileType?: string | undefined;
|
|
52
|
-
fileUrl?: string | undefined;
|
|
53
|
-
fileDuration?: number | undefined;
|
|
54
|
-
uploadState?: "pending" | "completed" | undefined;
|
|
55
|
-
image?: string | undefined;
|
|
56
|
-
imageWidth?: number | undefined;
|
|
57
|
-
imageHeight?: number | undefined;
|
|
58
|
-
url?: string | undefined;
|
|
59
|
-
}>>;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
content: string;
|
|
62
|
-
id: string;
|
|
63
|
-
postedAt: string;
|
|
64
|
-
projectId?: string | undefined;
|
|
65
|
-
fileAttachment?: {
|
|
66
|
-
resourceType: string;
|
|
67
|
-
title?: string | undefined;
|
|
68
|
-
fileName?: string | undefined;
|
|
69
|
-
fileSize?: number | undefined;
|
|
70
|
-
fileType?: string | undefined;
|
|
71
|
-
fileUrl?: string | undefined;
|
|
72
|
-
fileDuration?: number | undefined;
|
|
73
|
-
uploadState?: "pending" | "completed" | undefined;
|
|
74
|
-
image?: string | undefined;
|
|
75
|
-
imageWidth?: number | undefined;
|
|
76
|
-
imageHeight?: number | undefined;
|
|
77
|
-
url?: string | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
postedUid?: string | undefined;
|
|
80
|
-
taskId?: string | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
content: string;
|
|
83
|
-
id: string;
|
|
84
|
-
postedAt: string;
|
|
85
|
-
projectId?: string | undefined;
|
|
86
|
-
fileAttachment?: {
|
|
87
|
-
resourceType: string;
|
|
88
|
-
title?: string | undefined;
|
|
89
|
-
fileName?: string | undefined;
|
|
90
|
-
fileSize?: number | undefined;
|
|
91
|
-
fileType?: string | undefined;
|
|
92
|
-
fileUrl?: string | undefined;
|
|
93
|
-
fileDuration?: number | undefined;
|
|
94
|
-
uploadState?: "pending" | "completed" | undefined;
|
|
95
|
-
image?: string | undefined;
|
|
96
|
-
imageWidth?: number | undefined;
|
|
97
|
-
imageHeight?: number | undefined;
|
|
98
|
-
url?: string | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
postedUid?: string | undefined;
|
|
101
|
-
taskId?: string | undefined;
|
|
102
|
-
}>, "many">;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
103
38
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
104
39
|
totalCount: z.ZodNumber;
|
|
105
40
|
};
|
|
106
41
|
mutability: "readonly";
|
|
107
42
|
execute(args: {
|
|
108
|
-
cursor?: string | undefined;
|
|
109
|
-
limit?: number | undefined;
|
|
110
|
-
projectId?: string | undefined;
|
|
111
43
|
taskId?: string | undefined;
|
|
44
|
+
projectId?: string | undefined;
|
|
112
45
|
commentId?: string | undefined;
|
|
46
|
+
cursor?: string | undefined;
|
|
47
|
+
limit?: number | undefined;
|
|
113
48
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
114
49
|
textContent: string;
|
|
115
50
|
structuredContent: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-comments.d.ts","sourceRoot":"","sources":["../../src/tools/find-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiCvB,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"find-comments.d.ts","sourceRoot":"","sources":["../../src/tools/find-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8E6C,CAAA;AAmD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -3,9 +3,15 @@ declare const findCompletedTasks: {
|
|
|
3
3
|
name: "find-completed-tasks";
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
7
|
-
labelsOperator: z.ZodOptional<z.ZodEnum<
|
|
8
|
-
|
|
6
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
labelsOperator: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
and: "and";
|
|
9
|
+
or: "or";
|
|
10
|
+
}>>;
|
|
11
|
+
getBy: z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
due: "due";
|
|
13
|
+
completion: "completion";
|
|
14
|
+
}>>;
|
|
9
15
|
since: z.ZodString;
|
|
10
16
|
until: z.ZodString;
|
|
11
17
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
@@ -22,56 +28,25 @@ declare const findCompletedTasks: {
|
|
|
22
28
|
content: z.ZodString;
|
|
23
29
|
description: z.ZodString;
|
|
24
30
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
25
|
-
recurring: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
|
|
31
|
+
recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
26
32
|
deadlineDate: z.ZodOptional<z.ZodString>;
|
|
27
|
-
priority: z.ZodEnum<
|
|
33
|
+
priority: z.ZodEnum<{
|
|
34
|
+
p1: "p1";
|
|
35
|
+
p2: "p2";
|
|
36
|
+
p3: "p3";
|
|
37
|
+
p4: "p4";
|
|
38
|
+
}>;
|
|
28
39
|
projectId: z.ZodString;
|
|
29
40
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
30
41
|
parentId: z.ZodOptional<z.ZodString>;
|
|
31
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
42
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
43
|
duration: z.ZodOptional<z.ZodString>;
|
|
33
44
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
34
45
|
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
35
46
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
36
47
|
checked: z.ZodBoolean;
|
|
37
48
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
38
|
-
},
|
|
39
|
-
content: string;
|
|
40
|
-
description: string;
|
|
41
|
-
id: string;
|
|
42
|
-
projectId: string;
|
|
43
|
-
checked: boolean;
|
|
44
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
45
|
-
recurring: string | boolean;
|
|
46
|
-
parentId?: string | undefined;
|
|
47
|
-
sectionId?: string | undefined;
|
|
48
|
-
assignedByUid?: string | undefined;
|
|
49
|
-
responsibleUid?: string | undefined;
|
|
50
|
-
labels?: string[] | undefined;
|
|
51
|
-
duration?: string | undefined;
|
|
52
|
-
completedAt?: string | undefined;
|
|
53
|
-
isUncompletable?: boolean | undefined;
|
|
54
|
-
dueDate?: string | undefined;
|
|
55
|
-
deadlineDate?: string | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
content: string;
|
|
58
|
-
description: string;
|
|
59
|
-
id: string;
|
|
60
|
-
projectId: string;
|
|
61
|
-
checked: boolean;
|
|
62
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
63
|
-
recurring: string | boolean;
|
|
64
|
-
parentId?: string | undefined;
|
|
65
|
-
sectionId?: string | undefined;
|
|
66
|
-
assignedByUid?: string | undefined;
|
|
67
|
-
responsibleUid?: string | undefined;
|
|
68
|
-
labels?: string[] | undefined;
|
|
69
|
-
duration?: string | undefined;
|
|
70
|
-
completedAt?: string | undefined;
|
|
71
|
-
isUncompletable?: boolean | undefined;
|
|
72
|
-
dueDate?: string | undefined;
|
|
73
|
-
deadlineDate?: string | undefined;
|
|
74
|
-
}>, "many">;
|
|
49
|
+
}, z.core.$strip>>;
|
|
75
50
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
76
51
|
totalCount: z.ZodNumber;
|
|
77
52
|
hasMore: z.ZodBoolean;
|
|
@@ -79,18 +54,18 @@ declare const findCompletedTasks: {
|
|
|
79
54
|
};
|
|
80
55
|
mutability: "readonly";
|
|
81
56
|
execute(args: {
|
|
82
|
-
limit: number;
|
|
83
57
|
getBy: "due" | "completion";
|
|
84
58
|
since: string;
|
|
85
59
|
until: string;
|
|
86
|
-
|
|
60
|
+
limit: number;
|
|
61
|
+
labels?: string[] | undefined;
|
|
62
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
87
63
|
workspaceId?: string | undefined;
|
|
88
|
-
cursor?: string | undefined;
|
|
89
64
|
projectId?: string | undefined;
|
|
90
65
|
sectionId?: string | undefined;
|
|
91
|
-
|
|
66
|
+
parentId?: string | undefined;
|
|
92
67
|
responsibleUser?: string | undefined;
|
|
93
|
-
|
|
68
|
+
cursor?: string | undefined;
|
|
94
69
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
95
70
|
textContent: string;
|
|
96
71
|
structuredContent: {
|
|
@@ -116,18 +91,18 @@ declare const findCompletedTasks: {
|
|
|
116
91
|
totalCount: number;
|
|
117
92
|
hasMore: boolean;
|
|
118
93
|
appliedFilters: {
|
|
119
|
-
limit: number;
|
|
120
94
|
getBy: "due" | "completion";
|
|
121
95
|
since: string;
|
|
122
96
|
until: string;
|
|
123
|
-
|
|
97
|
+
limit: number;
|
|
98
|
+
labels?: string[] | undefined;
|
|
99
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
124
100
|
workspaceId?: string | undefined;
|
|
125
|
-
cursor?: string | undefined;
|
|
126
101
|
projectId?: string | undefined;
|
|
127
102
|
sectionId?: string | undefined;
|
|
128
|
-
|
|
103
|
+
parentId?: string | undefined;
|
|
129
104
|
responsibleUser?: string | undefined;
|
|
130
|
-
|
|
105
|
+
cursor?: string | undefined;
|
|
131
106
|
};
|
|
132
107
|
};
|
|
133
108
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuEvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EuC,CAAA;AA+D/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -12,28 +12,12 @@ declare const findProjectCollaborators: {
|
|
|
12
12
|
id: z.ZodString;
|
|
13
13
|
name: z.ZodString;
|
|
14
14
|
email: z.ZodString;
|
|
15
|
-
},
|
|
16
|
-
name: string;
|
|
17
|
-
id: string;
|
|
18
|
-
email: string;
|
|
19
|
-
}, {
|
|
20
|
-
name: string;
|
|
21
|
-
id: string;
|
|
22
|
-
email: string;
|
|
23
|
-
}>, "many">;
|
|
15
|
+
}, z.core.$strip>>;
|
|
24
16
|
projectInfo: z.ZodOptional<z.ZodObject<{
|
|
25
17
|
id: z.ZodString;
|
|
26
18
|
name: z.ZodString;
|
|
27
19
|
isShared: z.ZodBoolean;
|
|
28
|
-
},
|
|
29
|
-
name: string;
|
|
30
|
-
id: string;
|
|
31
|
-
isShared: boolean;
|
|
32
|
-
}, {
|
|
33
|
-
name: string;
|
|
34
|
-
id: string;
|
|
35
|
-
isShared: boolean;
|
|
36
|
-
}>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
37
21
|
totalCount: z.ZodNumber;
|
|
38
22
|
totalAvailable: z.ZodOptional<z.ZodNumber>;
|
|
39
23
|
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-project-collaborators.d.ts","sourceRoot":"","sources":["../../src/tools/find-project-collaborators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,EAAE,KAAK,mBAAmB,EAAgB,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"find-project-collaborators.d.ts","sourceRoot":"","sources":["../../src/tools/find-project-collaborators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,OAAO,EAAE,KAAK,mBAAmB,EAAgB,MAAM,2BAA2B,CAAA;AAkClF,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGiC,CAAA;AAwE/D,OAAO,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -17,25 +17,7 @@ declare const findProjects: {
|
|
|
17
17
|
parentId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
inboxProject: z.ZodBoolean;
|
|
19
19
|
viewStyle: z.ZodString;
|
|
20
|
-
},
|
|
21
|
-
name: string;
|
|
22
|
-
id: string;
|
|
23
|
-
color: string;
|
|
24
|
-
isFavorite: boolean;
|
|
25
|
-
viewStyle: string;
|
|
26
|
-
isShared: boolean;
|
|
27
|
-
inboxProject: boolean;
|
|
28
|
-
parentId?: string | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
name: string;
|
|
31
|
-
id: string;
|
|
32
|
-
color: string;
|
|
33
|
-
isFavorite: boolean;
|
|
34
|
-
viewStyle: string;
|
|
35
|
-
isShared: boolean;
|
|
36
|
-
inboxProject: boolean;
|
|
37
|
-
parentId?: string | undefined;
|
|
38
|
-
}>, "many">;
|
|
20
|
+
}, z.core.$strip>>;
|
|
39
21
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
40
22
|
totalCount: z.ZodNumber;
|
|
41
23
|
hasMore: z.ZodBoolean;
|
|
@@ -44,8 +26,8 @@ declare const findProjects: {
|
|
|
44
26
|
mutability: "readonly";
|
|
45
27
|
execute(args: {
|
|
46
28
|
limit: number;
|
|
47
|
-
cursor?: string | undefined;
|
|
48
29
|
search?: string | undefined;
|
|
30
|
+
cursor?: string | undefined;
|
|
49
31
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
50
32
|
textContent: string;
|
|
51
33
|
structuredContent: {
|
|
@@ -64,8 +46,8 @@ declare const findProjects: {
|
|
|
64
46
|
hasMore: boolean;
|
|
65
47
|
appliedFilters: {
|
|
66
48
|
limit: number;
|
|
67
|
-
cursor?: string | undefined;
|
|
68
49
|
search?: string | undefined;
|
|
50
|
+
cursor?: string | undefined;
|
|
69
51
|
};
|
|
70
52
|
};
|
|
71
53
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-projects.d.ts","sourceRoot":"","sources":["../../src/tools/find-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-projects.d.ts","sourceRoot":"","sources":["../../src/tools/find-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0CvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C6C,CAAA;AAoD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -10,13 +10,7 @@ declare const findSections: {
|
|
|
10
10
|
sections: z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodString;
|
|
12
12
|
name: z.ZodString;
|
|
13
|
-
},
|
|
14
|
-
name: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}, {
|
|
17
|
-
name: string;
|
|
18
|
-
id: string;
|
|
19
|
-
}>, "many">;
|
|
13
|
+
}, z.core.$strip>>;
|
|
20
14
|
totalCount: z.ZodNumber;
|
|
21
15
|
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C6C,CAAA;AAwC/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -3,15 +3,26 @@ declare const findTasksByDate: {
|
|
|
3
3
|
name: "find-tasks-by-date";
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
7
|
-
labelsOperator: z.ZodOptional<z.ZodEnum<
|
|
6
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
labelsOperator: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
and: "and";
|
|
9
|
+
or: "or";
|
|
10
|
+
}>>;
|
|
8
11
|
startDate: z.ZodOptional<z.ZodString>;
|
|
9
|
-
overdueOption: z.ZodOptional<z.ZodEnum<
|
|
12
|
+
overdueOption: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
"overdue-only": "overdue-only";
|
|
14
|
+
"include-overdue": "include-overdue";
|
|
15
|
+
"exclude-overdue": "exclude-overdue";
|
|
16
|
+
}>>;
|
|
10
17
|
daysCount: z.ZodDefault<z.ZodNumber>;
|
|
11
18
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
12
19
|
cursor: z.ZodOptional<z.ZodString>;
|
|
13
20
|
responsibleUser: z.ZodOptional<z.ZodString>;
|
|
14
|
-
responsibleUserFiltering: z.ZodOptional<z.ZodEnum<
|
|
21
|
+
responsibleUserFiltering: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
assigned: "assigned";
|
|
23
|
+
unassignedOrMe: "unassignedOrMe";
|
|
24
|
+
all: "all";
|
|
25
|
+
}>>;
|
|
15
26
|
};
|
|
16
27
|
outputSchema: {
|
|
17
28
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -19,56 +30,25 @@ declare const findTasksByDate: {
|
|
|
19
30
|
content: z.ZodString;
|
|
20
31
|
description: z.ZodString;
|
|
21
32
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
22
|
-
recurring: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
|
|
33
|
+
recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
23
34
|
deadlineDate: z.ZodOptional<z.ZodString>;
|
|
24
|
-
priority: z.ZodEnum<
|
|
35
|
+
priority: z.ZodEnum<{
|
|
36
|
+
p1: "p1";
|
|
37
|
+
p2: "p2";
|
|
38
|
+
p3: "p3";
|
|
39
|
+
p4: "p4";
|
|
40
|
+
}>;
|
|
25
41
|
projectId: z.ZodString;
|
|
26
42
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
27
43
|
parentId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
44
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
45
|
duration: z.ZodOptional<z.ZodString>;
|
|
30
46
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
31
47
|
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
32
48
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
33
49
|
checked: z.ZodBoolean;
|
|
34
50
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
35
|
-
},
|
|
36
|
-
content: string;
|
|
37
|
-
description: string;
|
|
38
|
-
id: string;
|
|
39
|
-
projectId: string;
|
|
40
|
-
checked: boolean;
|
|
41
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
42
|
-
recurring: string | boolean;
|
|
43
|
-
parentId?: string | undefined;
|
|
44
|
-
sectionId?: string | undefined;
|
|
45
|
-
assignedByUid?: string | undefined;
|
|
46
|
-
responsibleUid?: string | undefined;
|
|
47
|
-
labels?: string[] | undefined;
|
|
48
|
-
duration?: string | undefined;
|
|
49
|
-
completedAt?: string | undefined;
|
|
50
|
-
isUncompletable?: boolean | undefined;
|
|
51
|
-
dueDate?: string | undefined;
|
|
52
|
-
deadlineDate?: string | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
content: string;
|
|
55
|
-
description: string;
|
|
56
|
-
id: string;
|
|
57
|
-
projectId: string;
|
|
58
|
-
checked: boolean;
|
|
59
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
60
|
-
recurring: string | boolean;
|
|
61
|
-
parentId?: string | undefined;
|
|
62
|
-
sectionId?: string | undefined;
|
|
63
|
-
assignedByUid?: string | undefined;
|
|
64
|
-
responsibleUid?: string | undefined;
|
|
65
|
-
labels?: string[] | undefined;
|
|
66
|
-
duration?: string | undefined;
|
|
67
|
-
completedAt?: string | undefined;
|
|
68
|
-
isUncompletable?: boolean | undefined;
|
|
69
|
-
dueDate?: string | undefined;
|
|
70
|
-
deadlineDate?: string | undefined;
|
|
71
|
-
}>, "many">;
|
|
51
|
+
}, z.core.$strip>>;
|
|
72
52
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
73
53
|
totalCount: z.ZodNumber;
|
|
74
54
|
hasMore: z.ZodBoolean;
|
|
@@ -76,15 +56,15 @@ declare const findTasksByDate: {
|
|
|
76
56
|
};
|
|
77
57
|
mutability: "readonly";
|
|
78
58
|
execute(args: {
|
|
79
|
-
limit: number;
|
|
80
59
|
daysCount: number;
|
|
81
|
-
|
|
82
|
-
cursor?: string | undefined;
|
|
60
|
+
limit: number;
|
|
83
61
|
labels?: string[] | undefined;
|
|
84
|
-
|
|
85
|
-
labelsOperator?: "or" | "and" | undefined;
|
|
62
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
86
63
|
startDate?: string | undefined;
|
|
87
64
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
65
|
+
cursor?: string | undefined;
|
|
66
|
+
responsibleUser?: string | undefined;
|
|
67
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
88
68
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
89
69
|
textContent: string;
|
|
90
70
|
structuredContent: {
|
|
@@ -110,15 +90,15 @@ declare const findTasksByDate: {
|
|
|
110
90
|
totalCount: number;
|
|
111
91
|
hasMore: boolean;
|
|
112
92
|
appliedFilters: {
|
|
113
|
-
limit: number;
|
|
114
93
|
daysCount: number;
|
|
115
|
-
|
|
116
|
-
cursor?: string | undefined;
|
|
94
|
+
limit: number;
|
|
117
95
|
labels?: string[] | undefined;
|
|
118
|
-
|
|
119
|
-
labelsOperator?: "or" | "and" | undefined;
|
|
96
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
120
97
|
startDate?: string | undefined;
|
|
121
98
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
99
|
+
cursor?: string | undefined;
|
|
100
|
+
responsibleUser?: string | undefined;
|
|
101
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
122
102
|
};
|
|
123
103
|
};
|
|
124
104
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwEvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE0C,CAAA;AAyF/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -3,14 +3,21 @@ declare const findTasks: {
|
|
|
3
3
|
name: "find-tasks";
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
7
|
-
labelsOperator: z.ZodOptional<z.ZodEnum<
|
|
6
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
labelsOperator: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
and: "and";
|
|
9
|
+
or: "or";
|
|
10
|
+
}>>;
|
|
8
11
|
searchText: z.ZodOptional<z.ZodString>;
|
|
9
12
|
projectId: z.ZodOptional<z.ZodString>;
|
|
10
13
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
11
14
|
parentId: z.ZodOptional<z.ZodString>;
|
|
12
15
|
responsibleUser: z.ZodOptional<z.ZodString>;
|
|
13
|
-
responsibleUserFiltering: z.ZodOptional<z.ZodEnum<
|
|
16
|
+
responsibleUserFiltering: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
assigned: "assigned";
|
|
18
|
+
unassignedOrMe: "unassignedOrMe";
|
|
19
|
+
all: "all";
|
|
20
|
+
}>>;
|
|
14
21
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
15
22
|
cursor: z.ZodOptional<z.ZodString>;
|
|
16
23
|
};
|
|
@@ -20,56 +27,25 @@ declare const findTasks: {
|
|
|
20
27
|
content: z.ZodString;
|
|
21
28
|
description: z.ZodString;
|
|
22
29
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
23
|
-
recurring: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
|
|
30
|
+
recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
24
31
|
deadlineDate: z.ZodOptional<z.ZodString>;
|
|
25
|
-
priority: z.ZodEnum<
|
|
32
|
+
priority: z.ZodEnum<{
|
|
33
|
+
p1: "p1";
|
|
34
|
+
p2: "p2";
|
|
35
|
+
p3: "p3";
|
|
36
|
+
p4: "p4";
|
|
37
|
+
}>;
|
|
26
38
|
projectId: z.ZodString;
|
|
27
39
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
28
40
|
parentId: z.ZodOptional<z.ZodString>;
|
|
29
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
41
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
42
|
duration: z.ZodOptional<z.ZodString>;
|
|
31
43
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
32
44
|
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
33
45
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
34
46
|
checked: z.ZodBoolean;
|
|
35
47
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
36
|
-
},
|
|
37
|
-
content: string;
|
|
38
|
-
description: string;
|
|
39
|
-
id: string;
|
|
40
|
-
projectId: string;
|
|
41
|
-
checked: boolean;
|
|
42
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
43
|
-
recurring: string | boolean;
|
|
44
|
-
parentId?: string | undefined;
|
|
45
|
-
sectionId?: string | undefined;
|
|
46
|
-
assignedByUid?: string | undefined;
|
|
47
|
-
responsibleUid?: string | undefined;
|
|
48
|
-
labels?: string[] | undefined;
|
|
49
|
-
duration?: string | undefined;
|
|
50
|
-
completedAt?: string | undefined;
|
|
51
|
-
isUncompletable?: boolean | undefined;
|
|
52
|
-
dueDate?: string | undefined;
|
|
53
|
-
deadlineDate?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
content: string;
|
|
56
|
-
description: string;
|
|
57
|
-
id: string;
|
|
58
|
-
projectId: string;
|
|
59
|
-
checked: boolean;
|
|
60
|
-
priority: "p1" | "p2" | "p3" | "p4";
|
|
61
|
-
recurring: string | boolean;
|
|
62
|
-
parentId?: string | undefined;
|
|
63
|
-
sectionId?: string | undefined;
|
|
64
|
-
assignedByUid?: string | undefined;
|
|
65
|
-
responsibleUid?: string | undefined;
|
|
66
|
-
labels?: string[] | undefined;
|
|
67
|
-
duration?: string | undefined;
|
|
68
|
-
completedAt?: string | undefined;
|
|
69
|
-
isUncompletable?: boolean | undefined;
|
|
70
|
-
dueDate?: string | undefined;
|
|
71
|
-
deadlineDate?: string | undefined;
|
|
72
|
-
}>, "many">;
|
|
48
|
+
}, z.core.$strip>>;
|
|
73
49
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
74
50
|
totalCount: z.ZodNumber;
|
|
75
51
|
hasMore: z.ZodBoolean;
|
|
@@ -78,15 +54,15 @@ declare const findTasks: {
|
|
|
78
54
|
mutability: "readonly";
|
|
79
55
|
execute(args: {
|
|
80
56
|
limit: number;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
57
|
+
labels?: string[] | undefined;
|
|
58
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
59
|
+
searchText?: string | undefined;
|
|
84
60
|
projectId?: string | undefined;
|
|
85
61
|
sectionId?: string | undefined;
|
|
86
|
-
|
|
62
|
+
parentId?: string | undefined;
|
|
87
63
|
responsibleUser?: string | undefined;
|
|
88
|
-
|
|
89
|
-
|
|
64
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
65
|
+
cursor?: string | undefined;
|
|
90
66
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
91
67
|
textContent: string;
|
|
92
68
|
structuredContent: {
|
|
@@ -113,15 +89,15 @@ declare const findTasks: {
|
|
|
113
89
|
hasMore: boolean;
|
|
114
90
|
appliedFilters: {
|
|
115
91
|
limit: number;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
92
|
+
labels?: string[] | undefined;
|
|
93
|
+
labelsOperator?: "and" | "or" | undefined;
|
|
94
|
+
searchText?: string | undefined;
|
|
119
95
|
projectId?: string | undefined;
|
|
120
96
|
sectionId?: string | undefined;
|
|
121
|
-
|
|
97
|
+
parentId?: string | undefined;
|
|
122
98
|
responsibleUser?: string | undefined;
|
|
123
|
-
|
|
124
|
-
|
|
99
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
100
|
+
cursor?: string | undefined;
|
|
125
101
|
};
|
|
126
102
|
};
|
|
127
103
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+DvB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0LgD,CAAA;AAkK/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
|