@doist/todoist-ai 0.1.1 → 0.1.3

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.
Files changed (85) hide show
  1. package/dist/cjs/index.js +72 -47
  2. package/dist/cjs/main.js +11 -6
  3. package/dist/cjs/mcp-helpers.js +3 -1
  4. package/dist/cjs/mcp-server.js +52 -50
  5. package/dist/cjs/todoist-tool.js +2 -1
  6. package/dist/cjs/tools/account-overview.js +4 -1
  7. package/dist/cjs/tools/project-overview.js +8 -5
  8. package/dist/cjs/tools/projects-add-one.js +8 -5
  9. package/dist/cjs/tools/projects-delete-one.js +6 -3
  10. package/dist/cjs/tools/projects-list.js +7 -4
  11. package/dist/cjs/tools/projects-search.js +10 -7
  12. package/dist/cjs/tools/projects-update-one.js +7 -4
  13. package/dist/cjs/tools/sections-add-one.js +7 -4
  14. package/dist/cjs/tools/sections-delete-one.js +6 -3
  15. package/dist/cjs/tools/sections-search.js +7 -4
  16. package/dist/cjs/tools/sections-update-one.js +7 -4
  17. package/dist/cjs/tools/shared.js +18 -11
  18. package/dist/cjs/tools/subtasks-list-for-parent-task.js +10 -7
  19. package/dist/cjs/tools/tasks-add-multiple.js +16 -13
  20. package/dist/cjs/tools/tasks-by-date-range.js +15 -12
  21. package/dist/cjs/tools/tasks-by-project.js +10 -7
  22. package/dist/cjs/tools/tasks-complete-multiple.js +7 -4
  23. package/dist/cjs/tools/tasks-delete-one.js +6 -3
  24. package/dist/cjs/tools/tasks-list-for-section.js +10 -7
  25. package/dist/cjs/tools/tasks-list-overdue.js +9 -6
  26. package/dist/cjs/tools/tasks-organize-multiple.js +12 -9
  27. package/dist/cjs/tools/tasks-search.js +10 -7
  28. package/dist/cjs/tools/tasks-update-one.js +13 -10
  29. package/package.json +6 -1
  30. package/dist/cjs/index.d.ts +0 -477
  31. package/dist/cjs/index.d.ts.map +0 -1
  32. package/dist/cjs/main.d.ts +0 -2
  33. package/dist/cjs/main.d.ts.map +0 -1
  34. package/dist/cjs/mcp-helpers.d.ts +0 -13
  35. package/dist/cjs/mcp-helpers.d.ts.map +0 -1
  36. package/dist/cjs/mcp-server.d.ts +0 -11
  37. package/dist/cjs/mcp-server.d.ts.map +0 -1
  38. package/dist/cjs/todoist-tool.d.ts +0 -35
  39. package/dist/cjs/todoist-tool.d.ts.map +0 -1
  40. package/dist/cjs/tools/account-overview.d.ts +0 -9
  41. package/dist/cjs/tools/account-overview.d.ts.map +0 -1
  42. package/dist/cjs/tools/project-overview.d.ts +0 -14
  43. package/dist/cjs/tools/project-overview.d.ts.map +0 -1
  44. package/dist/cjs/tools/projects-add-one.d.ts +0 -22
  45. package/dist/cjs/tools/projects-add-one.d.ts.map +0 -1
  46. package/dist/cjs/tools/projects-delete-one.d.ts +0 -15
  47. package/dist/cjs/tools/projects-delete-one.d.ts.map +0 -1
  48. package/dist/cjs/tools/projects-list.d.ts +0 -18
  49. package/dist/cjs/tools/projects-list.d.ts.map +0 -1
  50. package/dist/cjs/tools/projects-search.d.ts +0 -29
  51. package/dist/cjs/tools/projects-search.d.ts.map +0 -1
  52. package/dist/cjs/tools/projects-update-one.d.ts +0 -15
  53. package/dist/cjs/tools/projects-update-one.d.ts.map +0 -1
  54. package/dist/cjs/tools/sections-add-one.d.ts +0 -15
  55. package/dist/cjs/tools/sections-add-one.d.ts.map +0 -1
  56. package/dist/cjs/tools/sections-delete-one.d.ts +0 -15
  57. package/dist/cjs/tools/sections-delete-one.d.ts.map +0 -1
  58. package/dist/cjs/tools/sections-search.d.ts +0 -18
  59. package/dist/cjs/tools/sections-search.d.ts.map +0 -1
  60. package/dist/cjs/tools/sections-update-one.d.ts +0 -15
  61. package/dist/cjs/tools/sections-update-one.d.ts.map +0 -1
  62. package/dist/cjs/tools/shared.d.ts +0 -55
  63. package/dist/cjs/tools/shared.d.ts.map +0 -1
  64. package/dist/cjs/tools/subtasks-list-for-parent-task.d.ts +0 -31
  65. package/dist/cjs/tools/subtasks-list-for-parent-task.d.ts.map +0 -1
  66. package/dist/cjs/tools/tasks-add-multiple.d.ts +0 -50
  67. package/dist/cjs/tools/tasks-add-multiple.d.ts.map +0 -1
  68. package/dist/cjs/tools/tasks-by-date-range.d.ts +0 -33
  69. package/dist/cjs/tools/tasks-by-date-range.d.ts.map +0 -1
  70. package/dist/cjs/tools/tasks-by-project.d.ts +0 -31
  71. package/dist/cjs/tools/tasks-by-project.d.ts.map +0 -1
  72. package/dist/cjs/tools/tasks-complete-multiple.d.ts +0 -16
  73. package/dist/cjs/tools/tasks-complete-multiple.d.ts.map +0 -1
  74. package/dist/cjs/tools/tasks-delete-one.d.ts +0 -15
  75. package/dist/cjs/tools/tasks-delete-one.d.ts.map +0 -1
  76. package/dist/cjs/tools/tasks-list-for-section.d.ts +0 -31
  77. package/dist/cjs/tools/tasks-list-for-section.d.ts.map +0 -1
  78. package/dist/cjs/tools/tasks-list-overdue.d.ts +0 -29
  79. package/dist/cjs/tools/tasks-list-overdue.d.ts.map +0 -1
  80. package/dist/cjs/tools/tasks-organize-multiple.d.ts +0 -37
  81. package/dist/cjs/tools/tasks-organize-multiple.d.ts.map +0 -1
  82. package/dist/cjs/tools/tasks-search.d.ts +0 -31
  83. package/dist/cjs/tools/tasks-search.d.ts.map +0 -1
  84. package/dist/cjs/tools/tasks-update-one.d.ts +0 -27
  85. package/dist/cjs/tools/tasks-update-one.d.ts.map +0 -1
@@ -1,29 +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 };
29
- //# sourceMappingURL=projects-search.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projects-search.d.ts","sourceRoot":"","sources":["../../../src/tools/projects-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0BxB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;CAoBsB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,15 +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 };
15
- //# sourceMappingURL=projects-update-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projects-update-one.d.ts","sourceRoot":"","sources":["../../../src/tools/projects-update-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,iBAAiB;;;;;;;;;;;CASmB,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,15 +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 };
15
- //# sourceMappingURL=sections-add-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections-add-one.d.ts","sourceRoot":"","sources":["../../../src/tools/sections-add-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,QAAA,MAAM,cAAc;;;;;;;;;;;CAWsB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,15 +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 };
15
- //# sourceMappingURL=sections-delete-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections-delete-one.d.ts","sourceRoot":"","sources":["../../../src/tools/sections-delete-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,iBAAiB;;;;;;;;;;;CAQmB,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,18 +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 };
18
- //# sourceMappingURL=sections-search.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections-search.d.ts","sourceRoot":"","sources":["../../../src/tools/sections-search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;CAmBsB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,15 +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 };
15
- //# sourceMappingURL=sections-update-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections-update-one.d.ts","sourceRoot":"","sources":["../../../src/tools/sections-update-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,QAAA,MAAM,iBAAiB;;;;;;;;;;;CASmB,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,55 +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 };
55
- //# sourceMappingURL=shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/tools/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EAEf,MAAM,+BAA+B,CAAC;AAGvC;;;;GAIG;AACH,iBAAS,OAAO,CAAC,IAAI,EAAE,IAAI;;;;;;;;;;;EAc1B;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,OAAO;;;;;;;;;EAWnC;AAWD,iBAAe,gBAAgB,CAAC,EAC/B,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,GACN,EAAE;IACF,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;;;;;;;;;;;;;;GAyBA;AAED,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,31 +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 };
31
- //# sourceMappingURL=subtasks-list-for-parent-task.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subtasks-list-for-parent-task.d.ts","sourceRoot":"","sources":["../../../src/tools/subtasks-list-for-parent-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBW,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1,50 +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 };
50
- //# sourceMappingURL=tasks-add-multiple.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-add-multiple.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-add-multiple.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoCxB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaoB,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,33 +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 };
33
- //# sourceMappingURL=tasks-by-date-range.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-by-date-range.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-by-date-range.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmCxB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBqB,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -1,31 +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 };
31
- //# sourceMappingURL=tasks-by-project.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-by-project.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-by-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBiB,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,16 +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 };
16
- //# sourceMappingURL=tasks-complete-multiple.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-complete-multiple.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-complete-multiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MAAM,qBAAqB;;;;;;;;;;;;CAgBe,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,15 +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 };
15
- //# sourceMappingURL=tasks-delete-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-delete-one.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-delete-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,cAAc;;;;;;;;;;;CAQsB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,31 +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 };
31
- //# sourceMappingURL=tasks-list-for-section.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-list-for-section.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-list-for-section.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBiB,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,29 +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 };
29
- //# sourceMappingURL=tasks-list-overdue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-list-overdue.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-list-overdue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;CAYoB,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,37 +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 };
37
- //# sourceMappingURL=tasks-organize-multiple.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-organize-multiple.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-organize-multiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8BxB,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYe,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,31 +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 };
31
- //# sourceMappingURL=tasks-search.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-search.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYyB,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,27 +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 };
27
- //# sourceMappingURL=tasks-update-one.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks-update-one.d.ts","sourceRoot":"","sources":["../../../src/tools/tasks-update-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqCxB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAQsB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,CAAC"}