@doist/todoist-ai 0.1.2 → 0.1.4
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.map +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/mcp-helpers.d.ts.map +1 -0
- package/dist/mcp-server.d.ts.map +1 -0
- package/dist/todoist-tool.d.ts.map +1 -0
- package/dist/tools/account-overview.d.ts.map +1 -0
- package/dist/tools/project-overview.d.ts.map +1 -0
- package/dist/tools/projects-add-one.d.ts.map +1 -0
- package/dist/tools/projects-delete-one.d.ts.map +1 -0
- package/dist/tools/projects-list.d.ts.map +1 -0
- package/dist/tools/projects-search.d.ts.map +1 -0
- package/dist/tools/projects-update-one.d.ts.map +1 -0
- package/dist/tools/sections-add-one.d.ts.map +1 -0
- package/dist/tools/sections-delete-one.d.ts.map +1 -0
- package/dist/tools/sections-search.d.ts.map +1 -0
- package/dist/tools/sections-update-one.d.ts.map +1 -0
- package/dist/tools/shared.d.ts.map +1 -0
- package/dist/tools/subtasks-list-for-parent-task.d.ts.map +1 -0
- package/dist/tools/tasks-add-multiple.d.ts.map +1 -0
- package/dist/tools/tasks-by-date-range.d.ts.map +1 -0
- package/dist/tools/tasks-by-project.d.ts.map +1 -0
- package/dist/tools/tasks-complete-multiple.d.ts.map +1 -0
- package/dist/tools/tasks-delete-one.d.ts.map +1 -0
- package/dist/tools/tasks-list-for-section.d.ts.map +1 -0
- package/dist/tools/tasks-list-overdue.d.ts.map +1 -0
- package/dist/tools/tasks-organize-multiple.d.ts.map +1 -0
- package/dist/tools/tasks-search.d.ts.map +1 -0
- package/dist/tools/tasks-update-one.d.ts.map +1 -0
- package/package.json +7 -20
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -49
- package/dist/esm/main.d.ts.map +0 -1
- package/dist/esm/main.js +0 -23
- package/dist/esm/mcp-helpers.d.ts.map +0 -1
- package/dist/esm/mcp-helpers.js +0 -52
- package/dist/esm/mcp-server.d.ts.map +0 -1
- package/dist/esm/mcp-server.js +0 -66
- package/dist/esm/todoist-tool.d.ts.map +0 -1
- package/dist/esm/todoist-tool.js +0 -1
- package/dist/esm/tools/account-overview.d.ts.map +0 -1
- package/dist/esm/tools/account-overview.js +0 -94
- package/dist/esm/tools/project-overview.d.ts.map +0 -1
- package/dist/esm/tools/project-overview.js +0 -107
- package/dist/esm/tools/projects-add-one.d.ts.map +0 -1
- package/dist/esm/tools/projects-add-one.js +0 -15
- package/dist/esm/tools/projects-delete-one.d.ts.map +0 -1
- package/dist/esm/tools/projects-delete-one.js +0 -14
- package/dist/esm/tools/projects-list.d.ts.map +0 -1
- package/dist/esm/tools/projects-list.js +0 -30
- package/dist/esm/tools/projects-search.d.ts.map +0 -1
- package/dist/esm/tools/projects-search.js +0 -39
- package/dist/esm/tools/projects-update-one.d.ts.map +0 -1
- package/dist/esm/tools/projects-update-one.js +0 -16
- package/dist/esm/tools/sections-add-one.d.ts.map +0 -1
- package/dist/esm/tools/sections-add-one.js +0 -21
- package/dist/esm/tools/sections-delete-one.d.ts.map +0 -1
- package/dist/esm/tools/sections-delete-one.js +0 -14
- package/dist/esm/tools/sections-search.d.ts.map +0 -1
- package/dist/esm/tools/sections-search.js +0 -30
- package/dist/esm/tools/sections-update-one.d.ts.map +0 -1
- package/dist/esm/tools/sections-update-one.js +0 -16
- package/dist/esm/tools/shared.d.ts.map +0 -1
- package/dist/esm/tools/shared.js +0 -71
- package/dist/esm/tools/subtasks-list-for-parent-task.d.ts.map +0 -1
- package/dist/esm/tools/subtasks-list-for-parent-task.js +0 -37
- package/dist/esm/tools/tasks-add-multiple.d.ts.map +0 -1
- package/dist/esm/tools/tasks-add-multiple.js +0 -47
- package/dist/esm/tools/tasks-by-date-range.d.ts.map +0 -1
- package/dist/esm/tools/tasks-by-date-range.js +0 -47
- package/dist/esm/tools/tasks-by-project.d.ts.map +0 -1
- package/dist/esm/tools/tasks-by-project.js +0 -37
- package/dist/esm/tools/tasks-complete-multiple.d.ts.map +0 -1
- package/dist/esm/tools/tasks-complete-multiple.js +0 -26
- package/dist/esm/tools/tasks-delete-one.d.ts.map +0 -1
- package/dist/esm/tools/tasks-delete-one.js +0 -14
- package/dist/esm/tools/tasks-list-for-section.d.ts.map +0 -1
- package/dist/esm/tools/tasks-list-for-section.js +0 -37
- package/dist/esm/tools/tasks-list-overdue.d.ts.map +0 -1
- package/dist/esm/tools/tasks-list-overdue.js +0 -29
- package/dist/esm/tools/tasks-organize-multiple.d.ts.map +0 -1
- package/dist/esm/tools/tasks-organize-multiple.js +0 -40
- package/dist/esm/tools/tasks-search.d.ts.map +0 -1
- package/dist/esm/tools/tasks-search.js +0 -30
- package/dist/esm/tools/tasks-update-one.d.ts.map +0 -1
- package/dist/esm/tools/tasks-update-one.js +0 -42
- package/dist/types/index.d.ts +0 -476
- package/dist/types/main.d.ts +0 -1
- package/dist/types/mcp-helpers.d.ts +0 -12
- package/dist/types/mcp-server.d.ts +0 -10
- package/dist/types/todoist-tool.d.ts +0 -34
- package/dist/types/tools/account-overview.d.ts +0 -8
- package/dist/types/tools/project-overview.d.ts +0 -13
- package/dist/types/tools/projects-add-one.d.ts +0 -21
- package/dist/types/tools/projects-delete-one.d.ts +0 -14
- package/dist/types/tools/projects-list.d.ts +0 -17
- package/dist/types/tools/projects-search.d.ts +0 -28
- package/dist/types/tools/projects-update-one.d.ts +0 -14
- package/dist/types/tools/sections-add-one.d.ts +0 -14
- package/dist/types/tools/sections-delete-one.d.ts +0 -14
- package/dist/types/tools/sections-search.d.ts +0 -17
- package/dist/types/tools/sections-update-one.d.ts +0 -14
- package/dist/types/tools/shared.d.ts +0 -54
- package/dist/types/tools/subtasks-list-for-parent-task.d.ts +0 -30
- package/dist/types/tools/tasks-add-multiple.d.ts +0 -49
- package/dist/types/tools/tasks-by-date-range.d.ts +0 -32
- package/dist/types/tools/tasks-by-project.d.ts +0 -30
- package/dist/types/tools/tasks-complete-multiple.d.ts +0 -15
- package/dist/types/tools/tasks-delete-one.d.ts +0 -14
- package/dist/types/tools/tasks-list-for-section.d.ts +0 -30
- package/dist/types/tools/tasks-list-overdue.d.ts +0 -28
- package/dist/types/tools/tasks-organize-multiple.d.ts +0 -36
- package/dist/types/tools/tasks-search.d.ts +0 -30
- package/dist/types/tools/tasks-update-one.d.ts +0 -26
- /package/dist/{esm/index.d.ts → index.d.ts} +0 -0
- /package/dist/{cjs/index.js → index.js} +0 -0
- /package/dist/{esm/main.d.ts → main.d.ts} +0 -0
- /package/dist/{cjs/main.js → main.js} +0 -0
- /package/dist/{esm/mcp-helpers.d.ts → mcp-helpers.d.ts} +0 -0
- /package/dist/{cjs/mcp-helpers.js → mcp-helpers.js} +0 -0
- /package/dist/{esm/mcp-server.d.ts → mcp-server.d.ts} +0 -0
- /package/dist/{cjs/mcp-server.js → mcp-server.js} +0 -0
- /package/dist/{esm/todoist-tool.d.ts → todoist-tool.d.ts} +0 -0
- /package/dist/{cjs/todoist-tool.js → todoist-tool.js} +0 -0
- /package/dist/{esm/tools → tools}/account-overview.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/account-overview.js +0 -0
- /package/dist/{esm/tools → tools}/project-overview.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/project-overview.js +0 -0
- /package/dist/{esm/tools → tools}/projects-add-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/projects-add-one.js +0 -0
- /package/dist/{esm/tools → tools}/projects-delete-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/projects-delete-one.js +0 -0
- /package/dist/{esm/tools → tools}/projects-list.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/projects-list.js +0 -0
- /package/dist/{esm/tools → tools}/projects-search.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/projects-search.js +0 -0
- /package/dist/{esm/tools → tools}/projects-update-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/projects-update-one.js +0 -0
- /package/dist/{esm/tools → tools}/sections-add-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/sections-add-one.js +0 -0
- /package/dist/{esm/tools → tools}/sections-delete-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/sections-delete-one.js +0 -0
- /package/dist/{esm/tools → tools}/sections-search.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/sections-search.js +0 -0
- /package/dist/{esm/tools → tools}/sections-update-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/sections-update-one.js +0 -0
- /package/dist/{esm/tools → tools}/shared.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/shared.js +0 -0
- /package/dist/{esm/tools → tools}/subtasks-list-for-parent-task.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/subtasks-list-for-parent-task.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-add-multiple.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-add-multiple.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-by-date-range.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-by-date-range.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-by-project.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-by-project.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-complete-multiple.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-complete-multiple.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-delete-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-delete-one.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-list-for-section.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-list-for-section.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-list-overdue.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-list-overdue.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-organize-multiple.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-organize-multiple.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-search.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-search.js +0 -0
- /package/dist/{esm/tools → tools}/tasks-update-one.d.ts +0 -0
- /package/dist/{cjs/tools → tools}/tasks-update-one.js +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const projectsSearch: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
search: z.ZodOptional<z.ZodString>;
|
|
7
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
-
};
|
|
10
|
-
execute(args: {
|
|
11
|
-
limit: number;
|
|
12
|
-
cursor?: string | undefined;
|
|
13
|
-
search?: string | undefined;
|
|
14
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
15
|
-
projects: {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
color: string;
|
|
19
|
-
isFavorite: boolean;
|
|
20
|
-
isShared: boolean;
|
|
21
|
-
parentId: string | null;
|
|
22
|
-
inboxProject: boolean;
|
|
23
|
-
viewStyle: string;
|
|
24
|
-
}[];
|
|
25
|
-
nextCursor: string | null;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
export { projectsSearch };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const projectsUpdateOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
};
|
|
9
|
-
execute(args: {
|
|
10
|
-
name: string;
|
|
11
|
-
id: string;
|
|
12
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Project>;
|
|
13
|
-
};
|
|
14
|
-
export { projectsUpdateOne };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const sectionsAddOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
name: z.ZodString;
|
|
7
|
-
projectId: z.ZodString;
|
|
8
|
-
};
|
|
9
|
-
execute(args: {
|
|
10
|
-
name: string;
|
|
11
|
-
projectId: string;
|
|
12
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Section>;
|
|
13
|
-
};
|
|
14
|
-
export { sectionsAddOne };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const sectionsDeleteOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
};
|
|
8
|
-
execute(args: {
|
|
9
|
-
id: string;
|
|
10
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
11
|
-
success: boolean;
|
|
12
|
-
}>;
|
|
13
|
-
};
|
|
14
|
-
export { sectionsDeleteOne };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const sectionsSearch: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
projectId: z.ZodString;
|
|
7
|
-
search: z.ZodOptional<z.ZodString>;
|
|
8
|
-
};
|
|
9
|
-
execute(args: {
|
|
10
|
-
projectId: string;
|
|
11
|
-
search?: string | undefined;
|
|
12
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
}[]>;
|
|
16
|
-
};
|
|
17
|
-
export { sectionsSearch };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const sectionsUpdateOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
};
|
|
9
|
-
execute(args: {
|
|
10
|
-
name: string;
|
|
11
|
-
id: string;
|
|
12
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Section>;
|
|
13
|
-
};
|
|
14
|
-
export { sectionsUpdateOne };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { type Project, type Task, type TodoistApi } from "@doist/todoist-api-typescript";
|
|
2
|
-
/**
|
|
3
|
-
* Map a single Todoist task to a more structured format, for LLM consumption.
|
|
4
|
-
* @param task - The task to map.
|
|
5
|
-
* @returns The mapped task.
|
|
6
|
-
*/
|
|
7
|
-
declare function mapTask(task: Task): {
|
|
8
|
-
id: string;
|
|
9
|
-
content: string;
|
|
10
|
-
description: string;
|
|
11
|
-
dueDate: string | undefined;
|
|
12
|
-
recurring: string | boolean;
|
|
13
|
-
priority: number;
|
|
14
|
-
projectId: string;
|
|
15
|
-
sectionId: string | null;
|
|
16
|
-
parentId: string | null;
|
|
17
|
-
labels: string[];
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Map a single Todoist project to a more structured format, for LLM consumption.
|
|
21
|
-
* @param project - The project to map.
|
|
22
|
-
* @returns The mapped project.
|
|
23
|
-
*/
|
|
24
|
-
declare function mapProject(project: Project): {
|
|
25
|
-
id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
color: string;
|
|
28
|
-
isFavorite: boolean;
|
|
29
|
-
isShared: boolean;
|
|
30
|
-
parentId: string | null;
|
|
31
|
-
inboxProject: boolean;
|
|
32
|
-
viewStyle: string;
|
|
33
|
-
};
|
|
34
|
-
declare function getTasksByFilter({ client, query, limit, cursor, }: {
|
|
35
|
-
client: TodoistApi;
|
|
36
|
-
query: string;
|
|
37
|
-
limit: number | undefined;
|
|
38
|
-
cursor: string | undefined;
|
|
39
|
-
}): Promise<{
|
|
40
|
-
tasks: {
|
|
41
|
-
id: string;
|
|
42
|
-
content: string;
|
|
43
|
-
description: string;
|
|
44
|
-
dueDate: string | undefined;
|
|
45
|
-
recurring: string | boolean;
|
|
46
|
-
priority: number;
|
|
47
|
-
projectId: string;
|
|
48
|
-
sectionId: string | null;
|
|
49
|
-
parentId: string | null;
|
|
50
|
-
labels: string[];
|
|
51
|
-
}[];
|
|
52
|
-
nextCursor: string | null;
|
|
53
|
-
}>;
|
|
54
|
-
export { getTasksByFilter, mapTask, mapProject };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const subtasksListForParentTask: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
parentId: z.ZodString;
|
|
7
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
-
};
|
|
10
|
-
execute(args: {
|
|
11
|
-
limit: number;
|
|
12
|
-
parentId: string;
|
|
13
|
-
cursor?: string | undefined;
|
|
14
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
15
|
-
tasks: {
|
|
16
|
-
id: string;
|
|
17
|
-
content: string;
|
|
18
|
-
description: string;
|
|
19
|
-
dueDate: string | undefined;
|
|
20
|
-
recurring: string | boolean;
|
|
21
|
-
priority: number;
|
|
22
|
-
projectId: string;
|
|
23
|
-
sectionId: string | null;
|
|
24
|
-
parentId: string | null;
|
|
25
|
-
labels: string[];
|
|
26
|
-
}[];
|
|
27
|
-
nextCursor: string | null;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export { subtasksListForParentTask };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksAddMultiple: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
7
|
-
sectionId: z.ZodOptional<z.ZodString>;
|
|
8
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
10
|
-
content: z.ZodString;
|
|
11
|
-
description: z.ZodOptional<z.ZodString>;
|
|
12
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
dueString: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
content: string;
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
priority?: number | undefined;
|
|
18
|
-
dueString?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
content: string;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
priority?: number | undefined;
|
|
23
|
-
dueString?: string | undefined;
|
|
24
|
-
}>, "many">;
|
|
25
|
-
};
|
|
26
|
-
execute(args: {
|
|
27
|
-
tasks: {
|
|
28
|
-
content: string;
|
|
29
|
-
description?: string | undefined;
|
|
30
|
-
priority?: number | undefined;
|
|
31
|
-
dueString?: string | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
projectId?: string | undefined;
|
|
34
|
-
parentId?: string | undefined;
|
|
35
|
-
sectionId?: string | undefined;
|
|
36
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
37
|
-
id: string;
|
|
38
|
-
content: string;
|
|
39
|
-
description: string;
|
|
40
|
-
dueDate: string | undefined;
|
|
41
|
-
recurring: string | boolean;
|
|
42
|
-
priority: number;
|
|
43
|
-
projectId: string;
|
|
44
|
-
sectionId: string | null;
|
|
45
|
-
parentId: string | null;
|
|
46
|
-
labels: string[];
|
|
47
|
-
}[]>;
|
|
48
|
-
};
|
|
49
|
-
export { tasksAddMultiple };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksListByDate: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
startDate: z.ZodString;
|
|
7
|
-
daysCount: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
9
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
10
|
-
};
|
|
11
|
-
execute(args: {
|
|
12
|
-
limit: number;
|
|
13
|
-
startDate: string;
|
|
14
|
-
daysCount: number;
|
|
15
|
-
cursor?: string | undefined;
|
|
16
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
17
|
-
tasks: {
|
|
18
|
-
id: string;
|
|
19
|
-
content: string;
|
|
20
|
-
description: string;
|
|
21
|
-
dueDate: string | undefined;
|
|
22
|
-
recurring: string | boolean;
|
|
23
|
-
priority: number;
|
|
24
|
-
projectId: string;
|
|
25
|
-
sectionId: string | null;
|
|
26
|
-
parentId: string | null;
|
|
27
|
-
labels: string[];
|
|
28
|
-
}[];
|
|
29
|
-
nextCursor: string | null;
|
|
30
|
-
}>;
|
|
31
|
-
};
|
|
32
|
-
export { tasksListByDate };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksListForProject: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
projectId: z.ZodString;
|
|
7
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
-
};
|
|
10
|
-
execute(args: {
|
|
11
|
-
limit: number;
|
|
12
|
-
projectId: string;
|
|
13
|
-
cursor?: string | undefined;
|
|
14
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
15
|
-
tasks: {
|
|
16
|
-
id: string;
|
|
17
|
-
content: string;
|
|
18
|
-
description: string;
|
|
19
|
-
dueDate: string | undefined;
|
|
20
|
-
recurring: string | boolean;
|
|
21
|
-
priority: number;
|
|
22
|
-
projectId: string;
|
|
23
|
-
sectionId: string | null;
|
|
24
|
-
parentId: string | null;
|
|
25
|
-
labels: string[];
|
|
26
|
-
}[];
|
|
27
|
-
nextCursor: string | null;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export { tasksListForProject };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksCompleteMultiple: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
ids: z.ZodArray<z.ZodString, "many">;
|
|
7
|
-
};
|
|
8
|
-
execute(args: {
|
|
9
|
-
ids: string[];
|
|
10
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
11
|
-
success: boolean;
|
|
12
|
-
completed: string[];
|
|
13
|
-
}>;
|
|
14
|
-
};
|
|
15
|
-
export { tasksCompleteMultiple };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksDeleteOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
};
|
|
8
|
-
execute(args: {
|
|
9
|
-
id: string;
|
|
10
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
11
|
-
success: boolean;
|
|
12
|
-
}>;
|
|
13
|
-
};
|
|
14
|
-
export { tasksDeleteOne };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksListForSection: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
sectionId: z.ZodString;
|
|
7
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
-
};
|
|
10
|
-
execute(args: {
|
|
11
|
-
limit: number;
|
|
12
|
-
sectionId: string;
|
|
13
|
-
cursor?: string | undefined;
|
|
14
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
15
|
-
tasks: {
|
|
16
|
-
id: string;
|
|
17
|
-
content: string;
|
|
18
|
-
description: string;
|
|
19
|
-
dueDate: string | undefined;
|
|
20
|
-
recurring: string | boolean;
|
|
21
|
-
priority: number;
|
|
22
|
-
projectId: string;
|
|
23
|
-
sectionId: string | null;
|
|
24
|
-
parentId: string | null;
|
|
25
|
-
labels: string[];
|
|
26
|
-
}[];
|
|
27
|
-
nextCursor: string | null;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export { tasksListForSection };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksListOverdue: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
7
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
-
};
|
|
9
|
-
execute(args: {
|
|
10
|
-
limit: number;
|
|
11
|
-
cursor?: string | undefined;
|
|
12
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
13
|
-
tasks: {
|
|
14
|
-
id: string;
|
|
15
|
-
content: string;
|
|
16
|
-
description: string;
|
|
17
|
-
dueDate: string | undefined;
|
|
18
|
-
recurring: string | boolean;
|
|
19
|
-
priority: number;
|
|
20
|
-
projectId: string;
|
|
21
|
-
sectionId: string | null;
|
|
22
|
-
parentId: string | null;
|
|
23
|
-
labels: string[];
|
|
24
|
-
}[];
|
|
25
|
-
nextCursor: string | null;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
export { tasksListOverdue };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksOrganizeMultiple: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
sectionId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
11
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
id: string;
|
|
14
|
-
projectId?: string | undefined;
|
|
15
|
-
parentId?: string | undefined;
|
|
16
|
-
sectionId?: string | undefined;
|
|
17
|
-
order?: number | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
id: string;
|
|
20
|
-
projectId?: string | undefined;
|
|
21
|
-
parentId?: string | undefined;
|
|
22
|
-
sectionId?: string | undefined;
|
|
23
|
-
order?: number | undefined;
|
|
24
|
-
}>, "many">;
|
|
25
|
-
};
|
|
26
|
-
execute(args: {
|
|
27
|
-
tasks: {
|
|
28
|
-
id: string;
|
|
29
|
-
projectId?: string | undefined;
|
|
30
|
-
parentId?: string | undefined;
|
|
31
|
-
sectionId?: string | undefined;
|
|
32
|
-
order?: number | undefined;
|
|
33
|
-
}[];
|
|
34
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Task[]>;
|
|
35
|
-
};
|
|
36
|
-
export { tasksOrganizeMultiple };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksSearch: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
searchText: z.ZodString;
|
|
7
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
-
};
|
|
10
|
-
execute(args: {
|
|
11
|
-
limit: number;
|
|
12
|
-
searchText: string;
|
|
13
|
-
cursor?: string | undefined;
|
|
14
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
15
|
-
tasks: {
|
|
16
|
-
id: string;
|
|
17
|
-
content: string;
|
|
18
|
-
description: string;
|
|
19
|
-
dueDate: string | undefined;
|
|
20
|
-
recurring: string | boolean;
|
|
21
|
-
priority: number;
|
|
22
|
-
projectId: string;
|
|
23
|
-
sectionId: string | null;
|
|
24
|
-
parentId: string | null;
|
|
25
|
-
labels: string[];
|
|
26
|
-
}[];
|
|
27
|
-
nextCursor: string | null;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export { tasksSearch };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const tasksUpdateOne: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
content: z.ZodOptional<z.ZodString>;
|
|
8
|
-
description: z.ZodOptional<z.ZodString>;
|
|
9
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
sectionId: z.ZodOptional<z.ZodString>;
|
|
11
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
12
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
dueString: z.ZodOptional<z.ZodString>;
|
|
14
|
-
};
|
|
15
|
-
execute(args: {
|
|
16
|
-
id: string;
|
|
17
|
-
content?: string | undefined;
|
|
18
|
-
projectId?: string | undefined;
|
|
19
|
-
parentId?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
priority?: number | undefined;
|
|
22
|
-
dueString?: string | undefined;
|
|
23
|
-
sectionId?: string | undefined;
|
|
24
|
-
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Task>;
|
|
25
|
-
};
|
|
26
|
-
export { tasksUpdateOne };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|