@doist/todoist-ai 4.17.0 → 4.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +390 -584
- 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 +1 -37
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-BADReNAy.js → mcp-server-BSQxi0xQ.js} +1067 -1070
- package/dist/todoist-tool.d.ts +6 -2
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +49 -20
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +49 -38
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +10 -22
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +1 -15
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +33 -47
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +3 -17
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +2 -16
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +3 -8
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +15 -29
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +51 -40
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +29 -43
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +20 -20
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +7 -21
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +1 -15
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +27 -41
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +29 -43
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +9 -16
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +5 -19
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +11 -7
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +49 -38
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +7 -19
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +1 -15
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +33 -47
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +1 -15
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +60 -32
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/sanitize-data.d.ts +3 -2
- package/dist/utils/sanitize-data.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -33
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/package.json +13 -13
|
@@ -23,28 +23,14 @@ declare const deleteObject: {
|
|
|
23
23
|
type: "comment" | "task" | "project" | "section";
|
|
24
24
|
id: string;
|
|
25
25
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
26
|
-
|
|
27
|
-
type: "text";
|
|
28
|
-
text: string;
|
|
29
|
-
}[];
|
|
26
|
+
textContent: string;
|
|
30
27
|
structuredContent: {
|
|
31
28
|
deletedEntity: {
|
|
32
29
|
type: "comment" | "task" | "project" | "section";
|
|
33
30
|
id: string;
|
|
34
31
|
};
|
|
35
|
-
success:
|
|
32
|
+
success: true;
|
|
36
33
|
};
|
|
37
|
-
} | {
|
|
38
|
-
content: ({
|
|
39
|
-
type: "text";
|
|
40
|
-
text: string;
|
|
41
|
-
mimeType?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
type: "text";
|
|
44
|
-
mimeType: string;
|
|
45
|
-
text: string;
|
|
46
|
-
})[];
|
|
47
|
-
structuredContent?: undefined;
|
|
48
34
|
}>;
|
|
49
35
|
};
|
|
50
36
|
export { deleteObject };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuBvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/tools/fetch.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
type FetchToolOutput = {
|
|
3
|
-
content: {
|
|
4
|
-
type: 'text';
|
|
5
|
-
text: string;
|
|
6
|
-
}[];
|
|
7
|
-
isError?: boolean;
|
|
8
|
-
};
|
|
9
2
|
/**
|
|
10
3
|
* OpenAI MCP fetch tool - retrieves the full contents of a task or project by ID.
|
|
11
4
|
*
|
|
@@ -27,7 +20,9 @@ declare const fetch: {
|
|
|
27
20
|
};
|
|
28
21
|
execute(args: {
|
|
29
22
|
id: string;
|
|
30
|
-
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<
|
|
23
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
24
|
+
textContent: string;
|
|
25
|
+
}>;
|
|
31
26
|
};
|
|
32
27
|
export { fetch };
|
|
33
28
|
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/tools/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/tools/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB;;;;;GAKG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;CAuFoD,CAAA;AAE/D,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -14,7 +14,7 @@ declare const findActivity: {
|
|
|
14
14
|
};
|
|
15
15
|
outputSchema: {
|
|
16
16
|
events: z.ZodArray<z.ZodObject<{
|
|
17
|
-
id: z.ZodString
|
|
17
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18
18
|
objectType: z.ZodString;
|
|
19
19
|
objectId: z.ZodString;
|
|
20
20
|
eventType: z.ZodString;
|
|
@@ -22,27 +22,27 @@ declare const findActivity: {
|
|
|
22
22
|
parentProjectId: z.ZodOptional<z.ZodString>;
|
|
23
23
|
parentItemId: z.ZodOptional<z.ZodString>;
|
|
24
24
|
initiatorId: z.ZodOptional<z.ZodString>;
|
|
25
|
-
extraData: z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
25
|
+
extraData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
id: string;
|
|
28
27
|
objectType: string;
|
|
29
28
|
objectId: string;
|
|
30
29
|
eventType: string;
|
|
31
30
|
eventDate: string;
|
|
32
|
-
|
|
31
|
+
id?: string | undefined;
|
|
33
32
|
parentProjectId?: string | undefined;
|
|
34
33
|
parentItemId?: string | undefined;
|
|
35
34
|
initiatorId?: string | undefined;
|
|
35
|
+
extraData?: Record<string, unknown> | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
id: string;
|
|
38
37
|
objectType: string;
|
|
39
38
|
objectId: string;
|
|
40
39
|
eventType: string;
|
|
41
40
|
eventDate: string;
|
|
42
|
-
|
|
41
|
+
id?: string | undefined;
|
|
43
42
|
parentProjectId?: string | undefined;
|
|
44
43
|
parentItemId?: string | undefined;
|
|
45
44
|
initiatorId?: string | undefined;
|
|
45
|
+
extraData?: Record<string, unknown> | undefined;
|
|
46
46
|
}>, "many">;
|
|
47
47
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
48
48
|
totalCount: z.ZodNumber;
|
|
@@ -52,54 +52,40 @@ declare const findActivity: {
|
|
|
52
52
|
execute(args: {
|
|
53
53
|
limit: number;
|
|
54
54
|
projectId?: string | undefined;
|
|
55
|
-
taskId?: string | undefined;
|
|
56
55
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
57
56
|
objectId?: string | undefined;
|
|
58
57
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
59
58
|
initiatorId?: string | undefined;
|
|
60
59
|
cursor?: string | undefined;
|
|
60
|
+
taskId?: string | undefined;
|
|
61
61
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
62
|
-
|
|
63
|
-
type: "text";
|
|
64
|
-
text: string;
|
|
65
|
-
}[];
|
|
62
|
+
textContent: string;
|
|
66
63
|
structuredContent: {
|
|
67
64
|
events: {
|
|
68
|
-
id: string |
|
|
65
|
+
id: string | undefined;
|
|
69
66
|
objectType: string;
|
|
70
67
|
objectId: string;
|
|
71
68
|
eventType: string;
|
|
72
69
|
eventDate: string;
|
|
73
|
-
parentProjectId: string |
|
|
74
|
-
parentItemId: string |
|
|
75
|
-
initiatorId: string |
|
|
76
|
-
extraData: Record<string, any> |
|
|
70
|
+
parentProjectId: string | undefined;
|
|
71
|
+
parentItemId: string | undefined;
|
|
72
|
+
initiatorId: string | undefined;
|
|
73
|
+
extraData: Record<string, any> | undefined;
|
|
77
74
|
}[];
|
|
78
|
-
nextCursor: string |
|
|
75
|
+
nextCursor: string | undefined;
|
|
79
76
|
totalCount: number;
|
|
80
77
|
hasMore: boolean;
|
|
81
78
|
appliedFilters: {
|
|
82
79
|
limit: number;
|
|
83
80
|
projectId?: string | undefined;
|
|
84
|
-
taskId?: string | undefined;
|
|
85
81
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
86
82
|
objectId?: string | undefined;
|
|
87
83
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
88
84
|
initiatorId?: string | undefined;
|
|
89
85
|
cursor?: string | undefined;
|
|
86
|
+
taskId?: string | undefined;
|
|
90
87
|
};
|
|
91
88
|
};
|
|
92
|
-
} | {
|
|
93
|
-
content: ({
|
|
94
|
-
type: "text";
|
|
95
|
-
text: string;
|
|
96
|
-
mimeType?: undefined;
|
|
97
|
-
} | {
|
|
98
|
-
type: "text";
|
|
99
|
-
mimeType: string;
|
|
100
|
-
text: string;
|
|
101
|
-
})[];
|
|
102
|
-
structuredContent?: undefined;
|
|
103
89
|
}>;
|
|
104
90
|
};
|
|
105
91
|
export { findActivity };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8DvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC6C,CAAA;AAuI/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -16,7 +16,8 @@ declare const findComments: {
|
|
|
16
16
|
projectId: z.ZodOptional<z.ZodString>;
|
|
17
17
|
content: z.ZodString;
|
|
18
18
|
postedAt: z.ZodString;
|
|
19
|
-
|
|
19
|
+
postedUid: z.ZodOptional<z.ZodString>;
|
|
20
|
+
fileAttachment: z.ZodOptional<z.ZodObject<{
|
|
20
21
|
resourceType: z.ZodString;
|
|
21
22
|
fileName: z.ZodOptional<z.ZodString>;
|
|
22
23
|
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -24,111 +25,121 @@ declare const findComments: {
|
|
|
24
25
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
25
26
|
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
26
27
|
uploadState: z.ZodOptional<z.ZodEnum<["pending", "completed"]>>;
|
|
28
|
+
url: z.ZodOptional<z.ZodString>;
|
|
29
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30
|
+
image: z.ZodOptional<z.ZodString>;
|
|
31
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
27
33
|
}, "strip", z.ZodTypeAny, {
|
|
28
34
|
resourceType: string;
|
|
35
|
+
image?: string | undefined;
|
|
36
|
+
title?: string | undefined;
|
|
29
37
|
fileName?: string | undefined;
|
|
30
38
|
fileSize?: number | undefined;
|
|
31
39
|
fileType?: string | undefined;
|
|
32
40
|
fileUrl?: string | undefined;
|
|
33
41
|
fileDuration?: number | undefined;
|
|
34
42
|
uploadState?: "pending" | "completed" | undefined;
|
|
43
|
+
imageWidth?: number | undefined;
|
|
44
|
+
imageHeight?: number | undefined;
|
|
45
|
+
url?: string | undefined;
|
|
35
46
|
}, {
|
|
36
47
|
resourceType: string;
|
|
48
|
+
image?: string | undefined;
|
|
49
|
+
title?: string | undefined;
|
|
37
50
|
fileName?: string | undefined;
|
|
38
51
|
fileSize?: number | undefined;
|
|
39
52
|
fileType?: string | undefined;
|
|
40
53
|
fileUrl?: string | undefined;
|
|
41
54
|
fileDuration?: number | undefined;
|
|
42
55
|
uploadState?: "pending" | "completed" | undefined;
|
|
56
|
+
imageWidth?: number | undefined;
|
|
57
|
+
imageHeight?: number | undefined;
|
|
58
|
+
url?: string | undefined;
|
|
43
59
|
}>>;
|
|
44
60
|
}, "strip", z.ZodTypeAny, {
|
|
45
61
|
content: string;
|
|
46
62
|
id: string;
|
|
47
63
|
postedAt: string;
|
|
48
64
|
projectId?: string | undefined;
|
|
49
|
-
|
|
50
|
-
attachment?: {
|
|
65
|
+
fileAttachment?: {
|
|
51
66
|
resourceType: string;
|
|
67
|
+
image?: string | undefined;
|
|
68
|
+
title?: string | undefined;
|
|
52
69
|
fileName?: string | undefined;
|
|
53
70
|
fileSize?: number | undefined;
|
|
54
71
|
fileType?: string | undefined;
|
|
55
72
|
fileUrl?: string | undefined;
|
|
56
73
|
fileDuration?: number | undefined;
|
|
57
74
|
uploadState?: "pending" | "completed" | undefined;
|
|
75
|
+
imageWidth?: number | undefined;
|
|
76
|
+
imageHeight?: number | undefined;
|
|
77
|
+
url?: string | undefined;
|
|
58
78
|
} | undefined;
|
|
79
|
+
postedUid?: string | undefined;
|
|
80
|
+
taskId?: string | undefined;
|
|
59
81
|
}, {
|
|
60
82
|
content: string;
|
|
61
83
|
id: string;
|
|
62
84
|
postedAt: string;
|
|
63
85
|
projectId?: string | undefined;
|
|
64
|
-
|
|
65
|
-
attachment?: {
|
|
86
|
+
fileAttachment?: {
|
|
66
87
|
resourceType: string;
|
|
88
|
+
image?: string | undefined;
|
|
89
|
+
title?: string | undefined;
|
|
67
90
|
fileName?: string | undefined;
|
|
68
91
|
fileSize?: number | undefined;
|
|
69
92
|
fileType?: string | undefined;
|
|
70
93
|
fileUrl?: string | undefined;
|
|
71
94
|
fileDuration?: number | undefined;
|
|
72
95
|
uploadState?: "pending" | "completed" | undefined;
|
|
96
|
+
imageWidth?: number | undefined;
|
|
97
|
+
imageHeight?: number | undefined;
|
|
98
|
+
url?: string | undefined;
|
|
73
99
|
} | undefined;
|
|
100
|
+
postedUid?: string | undefined;
|
|
101
|
+
taskId?: string | undefined;
|
|
74
102
|
}>, "many">;
|
|
75
103
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
76
104
|
totalCount: z.ZodNumber;
|
|
77
105
|
};
|
|
78
106
|
execute(args: {
|
|
79
107
|
projectId?: string | undefined;
|
|
80
|
-
taskId?: string | undefined;
|
|
81
108
|
limit?: number | undefined;
|
|
82
109
|
cursor?: string | undefined;
|
|
110
|
+
taskId?: string | undefined;
|
|
83
111
|
commentId?: string | undefined;
|
|
84
112
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
85
|
-
|
|
86
|
-
type: "text";
|
|
87
|
-
text: string;
|
|
88
|
-
}[];
|
|
113
|
+
textContent: string;
|
|
89
114
|
structuredContent: {
|
|
90
115
|
comments: {
|
|
91
|
-
taskId: string | undefined;
|
|
92
116
|
id: string;
|
|
117
|
+
taskId: string | undefined;
|
|
118
|
+
projectId: string | undefined;
|
|
93
119
|
content: string;
|
|
94
120
|
postedAt: string;
|
|
121
|
+
postedUid: string;
|
|
95
122
|
fileAttachment: {
|
|
96
123
|
resourceType: string;
|
|
97
|
-
fileName
|
|
98
|
-
fileSize
|
|
99
|
-
fileType
|
|
100
|
-
fileUrl
|
|
101
|
-
fileDuration
|
|
102
|
-
uploadState
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} |
|
|
109
|
-
postedUid: string;
|
|
110
|
-
uidsToNotify: string[] | null;
|
|
111
|
-
reactions: Record<string, string[]> | null;
|
|
112
|
-
isDeleted: boolean;
|
|
113
|
-
projectId?: string | undefined;
|
|
124
|
+
fileName: string | undefined;
|
|
125
|
+
fileSize: number | undefined;
|
|
126
|
+
fileType: string | undefined;
|
|
127
|
+
fileUrl: string | undefined;
|
|
128
|
+
fileDuration: number | undefined;
|
|
129
|
+
uploadState: "pending" | "completed" | undefined;
|
|
130
|
+
url: string | undefined;
|
|
131
|
+
title: string | undefined;
|
|
132
|
+
image: string | undefined;
|
|
133
|
+
imageWidth: number | undefined;
|
|
134
|
+
imageHeight: number | undefined;
|
|
135
|
+
} | undefined;
|
|
114
136
|
}[];
|
|
115
137
|
searchType: string;
|
|
116
138
|
searchId: string;
|
|
117
139
|
hasMore: boolean;
|
|
118
|
-
nextCursor: string |
|
|
140
|
+
nextCursor: string | undefined;
|
|
119
141
|
totalCount: number;
|
|
120
142
|
};
|
|
121
|
-
} | {
|
|
122
|
-
content: ({
|
|
123
|
-
type: "text";
|
|
124
|
-
text: string;
|
|
125
|
-
mimeType?: undefined;
|
|
126
|
-
} | {
|
|
127
|
-
type: "text";
|
|
128
|
-
mimeType: string;
|
|
129
|
-
text: string;
|
|
130
|
-
})[];
|
|
131
|
-
structuredContent?: undefined;
|
|
132
143
|
}>;
|
|
133
144
|
};
|
|
134
145
|
export { findComments };
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E6C,CAAA;AAmD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -28,7 +28,7 @@ declare const findCompletedTasks: {
|
|
|
28
28
|
projectId: z.ZodString;
|
|
29
29
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
30
30
|
parentId: z.ZodOptional<z.ZodString>;
|
|
31
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
31
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
32
|
duration: z.ZodOptional<z.ZodString>;
|
|
33
33
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
34
34
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -38,36 +38,36 @@ declare const findCompletedTasks: {
|
|
|
38
38
|
content: string;
|
|
39
39
|
description: string;
|
|
40
40
|
id: string;
|
|
41
|
-
recurring: string | boolean;
|
|
42
|
-
priority: number;
|
|
43
41
|
projectId: string;
|
|
44
|
-
labels: string[];
|
|
45
42
|
checked: boolean;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
sectionId?: string | undefined;
|
|
43
|
+
priority: number;
|
|
44
|
+
recurring: string | boolean;
|
|
49
45
|
parentId?: string | undefined;
|
|
50
|
-
|
|
51
|
-
responsibleUid?: string | undefined;
|
|
46
|
+
sectionId?: string | undefined;
|
|
52
47
|
assignedByUid?: string | undefined;
|
|
48
|
+
responsibleUid?: string | undefined;
|
|
49
|
+
labels?: string[] | undefined;
|
|
50
|
+
duration?: string | undefined;
|
|
53
51
|
completedAt?: string | undefined;
|
|
52
|
+
dueDate?: string | undefined;
|
|
53
|
+
deadlineDate?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
content: string;
|
|
56
56
|
description: string;
|
|
57
57
|
id: string;
|
|
58
|
-
recurring: string | boolean;
|
|
59
|
-
priority: number;
|
|
60
58
|
projectId: string;
|
|
61
|
-
labels: string[];
|
|
62
59
|
checked: boolean;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
sectionId?: string | undefined;
|
|
60
|
+
priority: number;
|
|
61
|
+
recurring: string | boolean;
|
|
66
62
|
parentId?: string | undefined;
|
|
67
|
-
|
|
68
|
-
responsibleUid?: string | undefined;
|
|
63
|
+
sectionId?: string | undefined;
|
|
69
64
|
assignedByUid?: string | undefined;
|
|
65
|
+
responsibleUid?: string | undefined;
|
|
66
|
+
labels?: string[] | undefined;
|
|
67
|
+
duration?: string | undefined;
|
|
70
68
|
completedAt?: string | undefined;
|
|
69
|
+
dueDate?: string | undefined;
|
|
70
|
+
deadlineDate?: string | undefined;
|
|
71
71
|
}>, "many">;
|
|
72
72
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
73
73
|
totalCount: z.ZodNumber;
|
|
@@ -79,19 +79,16 @@ declare const findCompletedTasks: {
|
|
|
79
79
|
getBy: "due" | "completion";
|
|
80
80
|
since: string;
|
|
81
81
|
until: string;
|
|
82
|
+
parentId?: string | undefined;
|
|
83
|
+
workspaceId?: string | undefined;
|
|
82
84
|
projectId?: string | undefined;
|
|
83
85
|
sectionId?: string | undefined;
|
|
84
|
-
parentId?: string | undefined;
|
|
85
86
|
labels?: string[] | undefined;
|
|
86
|
-
workspaceId?: string | undefined;
|
|
87
87
|
cursor?: string | undefined;
|
|
88
88
|
responsibleUser?: string | undefined;
|
|
89
89
|
labelsOperator?: "and" | "or" | undefined;
|
|
90
90
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
91
|
-
|
|
92
|
-
type: "text";
|
|
93
|
-
text: string;
|
|
94
|
-
}[];
|
|
91
|
+
textContent: string;
|
|
95
92
|
structuredContent: {
|
|
96
93
|
tasks: {
|
|
97
94
|
id: string;
|
|
@@ -102,16 +99,16 @@ declare const findCompletedTasks: {
|
|
|
102
99
|
deadlineDate: string | undefined;
|
|
103
100
|
priority: number;
|
|
104
101
|
projectId: string;
|
|
105
|
-
sectionId: string |
|
|
106
|
-
parentId: string |
|
|
102
|
+
sectionId: string | undefined;
|
|
103
|
+
parentId: string | undefined;
|
|
107
104
|
labels: string[];
|
|
108
|
-
duration: string |
|
|
109
|
-
responsibleUid: string |
|
|
110
|
-
assignedByUid: string |
|
|
105
|
+
duration: string | undefined;
|
|
106
|
+
responsibleUid: string | undefined;
|
|
107
|
+
assignedByUid: string | undefined;
|
|
111
108
|
checked: boolean;
|
|
112
|
-
completedAt: string |
|
|
109
|
+
completedAt: string | undefined;
|
|
113
110
|
}[];
|
|
114
|
-
nextCursor: string |
|
|
111
|
+
nextCursor: string | undefined;
|
|
115
112
|
totalCount: number;
|
|
116
113
|
hasMore: boolean;
|
|
117
114
|
appliedFilters: {
|
|
@@ -119,27 +116,16 @@ declare const findCompletedTasks: {
|
|
|
119
116
|
getBy: "due" | "completion";
|
|
120
117
|
since: string;
|
|
121
118
|
until: string;
|
|
119
|
+
parentId?: string | undefined;
|
|
120
|
+
workspaceId?: string | undefined;
|
|
122
121
|
projectId?: string | undefined;
|
|
123
122
|
sectionId?: string | undefined;
|
|
124
|
-
parentId?: string | undefined;
|
|
125
123
|
labels?: string[] | undefined;
|
|
126
|
-
workspaceId?: string | undefined;
|
|
127
124
|
cursor?: string | undefined;
|
|
128
125
|
responsibleUser?: string | undefined;
|
|
129
126
|
labelsOperator?: "and" | "or" | undefined;
|
|
130
127
|
};
|
|
131
128
|
};
|
|
132
|
-
} | {
|
|
133
|
-
content: ({
|
|
134
|
-
type: "text";
|
|
135
|
-
text: string;
|
|
136
|
-
mimeType?: undefined;
|
|
137
|
-
} | {
|
|
138
|
-
type: "text";
|
|
139
|
-
mimeType: string;
|
|
140
|
-
text: string;
|
|
141
|
-
})[];
|
|
142
|
-
structuredContent?: undefined;
|
|
143
129
|
}>;
|
|
144
130
|
};
|
|
145
131
|
export { findCompletedTasks };
|
|
@@ -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;AAqEvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0EuC,CAAA;AA+D/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -42,45 +42,45 @@ declare const findProjectCollaborators: {
|
|
|
42
42
|
projectId: string;
|
|
43
43
|
searchTerm?: string | undefined;
|
|
44
44
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
45
|
-
|
|
46
|
-
type: "text";
|
|
47
|
-
text: string;
|
|
48
|
-
}[];
|
|
45
|
+
textContent: string;
|
|
49
46
|
structuredContent: {
|
|
50
47
|
collaborators: never[];
|
|
51
48
|
projectInfo: {
|
|
52
49
|
id: string;
|
|
53
50
|
name: string;
|
|
54
|
-
isShared:
|
|
51
|
+
isShared: false;
|
|
55
52
|
};
|
|
56
53
|
totalCount: number;
|
|
57
54
|
appliedFilters: {
|
|
58
55
|
projectId: string;
|
|
59
56
|
searchTerm?: string | undefined;
|
|
60
57
|
};
|
|
58
|
+
totalAvailable?: undefined;
|
|
61
59
|
};
|
|
62
60
|
} | {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
61
|
+
textContent: string;
|
|
62
|
+
structuredContent: {
|
|
63
|
+
collaborators: never[];
|
|
64
|
+
projectInfo: {
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
isShared: true;
|
|
68
|
+
};
|
|
69
|
+
totalCount: number;
|
|
70
|
+
appliedFilters: {
|
|
71
|
+
projectId: string;
|
|
72
|
+
searchTerm?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
totalAvailable?: undefined;
|
|
75
|
+
};
|
|
73
76
|
} | {
|
|
74
|
-
|
|
75
|
-
type: "text";
|
|
76
|
-
text: string;
|
|
77
|
-
}[];
|
|
77
|
+
textContent: string;
|
|
78
78
|
structuredContent: {
|
|
79
79
|
collaborators: ProjectCollaborator[];
|
|
80
80
|
projectInfo: {
|
|
81
81
|
id: string;
|
|
82
82
|
name: string;
|
|
83
|
-
isShared:
|
|
83
|
+
isShared: true;
|
|
84
84
|
};
|
|
85
85
|
totalCount: number;
|
|
86
86
|
totalAvailable: number;
|
|
@@ -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;
|
|
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;AAgClF,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FiC,CAAA;AAwE/D,OAAO,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -22,18 +22,18 @@ declare const findProjects: {
|
|
|
22
22
|
id: string;
|
|
23
23
|
color: string;
|
|
24
24
|
isFavorite: boolean;
|
|
25
|
+
viewStyle: string;
|
|
25
26
|
isShared: boolean;
|
|
26
27
|
inboxProject: boolean;
|
|
27
|
-
viewStyle: string;
|
|
28
28
|
parentId?: string | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
name: string;
|
|
31
31
|
id: string;
|
|
32
32
|
color: string;
|
|
33
33
|
isFavorite: boolean;
|
|
34
|
+
viewStyle: string;
|
|
34
35
|
isShared: boolean;
|
|
35
36
|
inboxProject: boolean;
|
|
36
|
-
viewStyle: string;
|
|
37
37
|
parentId?: string | undefined;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -43,13 +43,10 @@ declare const findProjects: {
|
|
|
43
43
|
};
|
|
44
44
|
execute(args: {
|
|
45
45
|
limit: number;
|
|
46
|
-
search?: string | undefined;
|
|
47
46
|
cursor?: string | undefined;
|
|
47
|
+
search?: string | undefined;
|
|
48
48
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
49
|
-
|
|
50
|
-
type: "text";
|
|
51
|
-
text: string;
|
|
52
|
-
}[];
|
|
49
|
+
textContent: string;
|
|
53
50
|
structuredContent: {
|
|
54
51
|
projects: {
|
|
55
52
|
id: string;
|
|
@@ -57,30 +54,19 @@ declare const findProjects: {
|
|
|
57
54
|
color: string;
|
|
58
55
|
isFavorite: boolean;
|
|
59
56
|
isShared: boolean;
|
|
60
|
-
parentId: string |
|
|
57
|
+
parentId: string | undefined;
|
|
61
58
|
inboxProject: boolean;
|
|
62
59
|
viewStyle: string;
|
|
63
60
|
}[];
|
|
64
|
-
nextCursor: string |
|
|
61
|
+
nextCursor: string | undefined;
|
|
65
62
|
totalCount: number;
|
|
66
63
|
hasMore: boolean;
|
|
67
64
|
appliedFilters: {
|
|
68
65
|
limit: number;
|
|
69
|
-
search?: string | undefined;
|
|
70
66
|
cursor?: string | undefined;
|
|
67
|
+
search?: string | undefined;
|
|
71
68
|
};
|
|
72
69
|
};
|
|
73
|
-
} | {
|
|
74
|
-
content: ({
|
|
75
|
-
type: "text";
|
|
76
|
-
text: string;
|
|
77
|
-
mimeType?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
type: "text";
|
|
80
|
-
mimeType: string;
|
|
81
|
-
text: string;
|
|
82
|
-
})[];
|
|
83
|
-
structuredContent?: undefined;
|
|
84
70
|
}>;
|
|
85
71
|
};
|
|
86
72
|
export { findProjects };
|
|
@@ -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;AAwCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B6C,CAAA;AAoD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|