@doist/todoist-ai 4.16.1 → 4.17.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 +882 -34
- 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 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/mcp-server-BADReNAy.js +3092 -0
- package/dist/todoist-tool.d.ts +7 -1
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +68 -2
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +31 -0
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +13 -0
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +64 -9
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +19 -0
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +13 -0
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +7 -0
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +39 -2
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +67 -1
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +62 -4
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +31 -0
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +34 -0
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +14 -0
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +60 -2
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +62 -4
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +23 -0
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +38 -1
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +16 -0
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +73 -0
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +42 -0
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +14 -0
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +75 -9
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +18 -0
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +233 -0
- package/dist/utils/output-schemas.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/mcp-server-6tm7Rhyz.js +0 -2840
package/dist/todoist-tool.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
/**
|
|
4
4
|
* A Todoist tool that can be used in an MCP server or other conversational AI interfaces.
|
|
5
5
|
*/
|
|
6
|
-
type TodoistTool<Params extends z.ZodRawShape> = {
|
|
6
|
+
type TodoistTool<Params extends z.ZodRawShape, Output extends z.ZodRawShape = z.ZodRawShape> = {
|
|
7
7
|
/**
|
|
8
8
|
* The name of the tool.
|
|
9
9
|
*/
|
|
@@ -20,6 +20,12 @@ type TodoistTool<Params extends z.ZodRawShape> = {
|
|
|
20
20
|
* parameters are.
|
|
21
21
|
*/
|
|
22
22
|
parameters: Params;
|
|
23
|
+
/**
|
|
24
|
+
* The schema of the output of the tool.
|
|
25
|
+
*
|
|
26
|
+
* This is used to describe the structured output format that the tool will return.
|
|
27
|
+
*/
|
|
28
|
+
outputSchema: Output;
|
|
23
29
|
/**
|
|
24
30
|
* The function that executes the tool.
|
|
25
31
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B;;GAEG;AACH,KAAK,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,IAAI;
|
|
1
|
+
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B;;GAEG;AACH,KAAK,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,WAAW,IAAI;IAC3F;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;;;;;;OAQG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CACxF,CAAA;AAED,YAAY,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -9,19 +9,85 @@ declare const addComments: {
|
|
|
9
9
|
content: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
content: string;
|
|
12
|
-
taskId?: string | undefined;
|
|
13
12
|
projectId?: string | undefined;
|
|
13
|
+
taskId?: string | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
content: string;
|
|
16
|
+
projectId?: string | undefined;
|
|
17
|
+
taskId?: string | undefined;
|
|
18
|
+
}>, "many">;
|
|
19
|
+
};
|
|
20
|
+
outputSchema: {
|
|
21
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
content: z.ZodString;
|
|
26
|
+
postedAt: z.ZodString;
|
|
27
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
resourceType: z.ZodString;
|
|
29
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
30
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
fileType: z.ZodOptional<z.ZodString>;
|
|
32
|
+
fileUrl: z.ZodOptional<z.ZodString>;
|
|
33
|
+
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
uploadState: z.ZodOptional<z.ZodEnum<["pending", "completed"]>>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
resourceType: string;
|
|
37
|
+
fileName?: string | undefined;
|
|
38
|
+
fileSize?: number | undefined;
|
|
39
|
+
fileType?: string | undefined;
|
|
40
|
+
fileUrl?: string | undefined;
|
|
41
|
+
fileDuration?: number | undefined;
|
|
42
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
resourceType: string;
|
|
45
|
+
fileName?: string | undefined;
|
|
46
|
+
fileSize?: number | undefined;
|
|
47
|
+
fileType?: string | undefined;
|
|
48
|
+
fileUrl?: string | undefined;
|
|
49
|
+
fileDuration?: number | undefined;
|
|
50
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
51
|
+
}>>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
content: string;
|
|
54
|
+
id: string;
|
|
55
|
+
postedAt: string;
|
|
56
|
+
projectId?: string | undefined;
|
|
16
57
|
taskId?: string | undefined;
|
|
58
|
+
attachment?: {
|
|
59
|
+
resourceType: string;
|
|
60
|
+
fileName?: string | undefined;
|
|
61
|
+
fileSize?: number | undefined;
|
|
62
|
+
fileType?: string | undefined;
|
|
63
|
+
fileUrl?: string | undefined;
|
|
64
|
+
fileDuration?: number | undefined;
|
|
65
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
content: string;
|
|
69
|
+
id: string;
|
|
70
|
+
postedAt: string;
|
|
17
71
|
projectId?: string | undefined;
|
|
72
|
+
taskId?: string | undefined;
|
|
73
|
+
attachment?: {
|
|
74
|
+
resourceType: string;
|
|
75
|
+
fileName?: string | undefined;
|
|
76
|
+
fileSize?: number | undefined;
|
|
77
|
+
fileType?: string | undefined;
|
|
78
|
+
fileUrl?: string | undefined;
|
|
79
|
+
fileDuration?: number | undefined;
|
|
80
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
81
|
+
} | undefined;
|
|
18
82
|
}>, "many">;
|
|
83
|
+
totalCount: z.ZodNumber;
|
|
84
|
+
addedCommentIds: z.ZodArray<z.ZodString, "many">;
|
|
19
85
|
};
|
|
20
86
|
execute(args: {
|
|
21
87
|
comments: {
|
|
22
88
|
content: string;
|
|
23
|
-
taskId?: string | undefined;
|
|
24
89
|
projectId?: string | undefined;
|
|
90
|
+
taskId?: string | undefined;
|
|
25
91
|
}[];
|
|
26
92
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
27
93
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2BvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAyEwmV,CAAC;4BAA6C,CAAC;4BAA6C,CAAC;2BAA4C,CAAC;gCAAiD,CAAC;+BAAgD,CAAC;yBAA2D,CAAC;8BAA+C,CAAC;+BAAgD,CAAC;uBAAwC,CAAC;yBAA0C,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAvB7iW,CAAA;AAsB1C,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -20,6 +20,37 @@ declare const addProjects: {
|
|
|
20
20
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
};
|
|
23
|
+
outputSchema: {
|
|
24
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
color: z.ZodString;
|
|
28
|
+
isFavorite: z.ZodBoolean;
|
|
29
|
+
isShared: z.ZodBoolean;
|
|
30
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
inboxProject: z.ZodBoolean;
|
|
32
|
+
viewStyle: z.ZodString;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
name: string;
|
|
35
|
+
id: string;
|
|
36
|
+
color: string;
|
|
37
|
+
isFavorite: boolean;
|
|
38
|
+
isShared: boolean;
|
|
39
|
+
inboxProject: boolean;
|
|
40
|
+
viewStyle: string;
|
|
41
|
+
parentId?: string | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
name: string;
|
|
44
|
+
id: string;
|
|
45
|
+
color: string;
|
|
46
|
+
isFavorite: boolean;
|
|
47
|
+
isShared: boolean;
|
|
48
|
+
inboxProject: boolean;
|
|
49
|
+
viewStyle: string;
|
|
50
|
+
parentId?: string | undefined;
|
|
51
|
+
}>, "many">;
|
|
52
|
+
totalCount: z.ZodNumber;
|
|
53
|
+
};
|
|
23
54
|
execute({ projects }: {
|
|
24
55
|
projects: {
|
|
25
56
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiByB,CAAA;AAW1C,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -14,6 +14,19 @@ declare const addSections: {
|
|
|
14
14
|
projectId: string;
|
|
15
15
|
}>, "many">;
|
|
16
16
|
};
|
|
17
|
+
outputSchema: {
|
|
18
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
name: string;
|
|
23
|
+
id: string;
|
|
24
|
+
}, {
|
|
25
|
+
name: string;
|
|
26
|
+
id: string;
|
|
27
|
+
}>, "many">;
|
|
28
|
+
totalCount: z.ZodNumber;
|
|
29
|
+
};
|
|
17
30
|
execute({ sections }: {
|
|
18
31
|
sections: {
|
|
19
32
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-sections.d.ts","sourceRoot":"","sources":["../../src/tools/add-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-sections.d.ts","sourceRoot":"","sources":["../../src/tools/add-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCyB,CAAA;AAa1C,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -19,41 +19,96 @@ declare const addTasks: {
|
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
content: string;
|
|
21
21
|
description?: string | undefined;
|
|
22
|
+
deadlineDate?: string | undefined;
|
|
23
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
22
24
|
projectId?: string | undefined;
|
|
23
|
-
parentId?: string | undefined;
|
|
24
25
|
sectionId?: string | undefined;
|
|
26
|
+
parentId?: string | undefined;
|
|
25
27
|
labels?: string[] | undefined;
|
|
26
28
|
duration?: string | undefined;
|
|
27
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
28
29
|
dueString?: string | undefined;
|
|
29
|
-
deadlineDate?: string | undefined;
|
|
30
30
|
responsibleUser?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
content: string;
|
|
33
33
|
description?: string | undefined;
|
|
34
|
+
deadlineDate?: string | undefined;
|
|
35
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
34
36
|
projectId?: string | undefined;
|
|
35
|
-
parentId?: string | undefined;
|
|
36
37
|
sectionId?: string | undefined;
|
|
38
|
+
parentId?: string | undefined;
|
|
37
39
|
labels?: string[] | undefined;
|
|
38
40
|
duration?: string | undefined;
|
|
39
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
40
41
|
dueString?: string | undefined;
|
|
41
|
-
deadlineDate?: string | undefined;
|
|
42
42
|
responsibleUser?: string | undefined;
|
|
43
43
|
}>, "many">;
|
|
44
44
|
};
|
|
45
|
+
outputSchema: {
|
|
46
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
content: z.ZodString;
|
|
49
|
+
description: z.ZodString;
|
|
50
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
51
|
+
recurring: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
|
|
52
|
+
deadlineDate: z.ZodOptional<z.ZodString>;
|
|
53
|
+
priority: z.ZodNumber;
|
|
54
|
+
projectId: z.ZodString;
|
|
55
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
57
|
+
labels: z.ZodArray<z.ZodString, "many">;
|
|
58
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
59
|
+
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
60
|
+
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
61
|
+
checked: z.ZodBoolean;
|
|
62
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
content: string;
|
|
65
|
+
description: string;
|
|
66
|
+
id: string;
|
|
67
|
+
recurring: string | boolean;
|
|
68
|
+
priority: number;
|
|
69
|
+
projectId: string;
|
|
70
|
+
labels: string[];
|
|
71
|
+
checked: boolean;
|
|
72
|
+
dueDate?: string | undefined;
|
|
73
|
+
deadlineDate?: string | undefined;
|
|
74
|
+
sectionId?: string | undefined;
|
|
75
|
+
parentId?: string | undefined;
|
|
76
|
+
duration?: string | undefined;
|
|
77
|
+
responsibleUid?: string | undefined;
|
|
78
|
+
assignedByUid?: string | undefined;
|
|
79
|
+
completedAt?: string | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
content: string;
|
|
82
|
+
description: string;
|
|
83
|
+
id: string;
|
|
84
|
+
recurring: string | boolean;
|
|
85
|
+
priority: number;
|
|
86
|
+
projectId: string;
|
|
87
|
+
labels: string[];
|
|
88
|
+
checked: boolean;
|
|
89
|
+
dueDate?: string | undefined;
|
|
90
|
+
deadlineDate?: string | undefined;
|
|
91
|
+
sectionId?: string | undefined;
|
|
92
|
+
parentId?: string | undefined;
|
|
93
|
+
duration?: string | undefined;
|
|
94
|
+
responsibleUid?: string | undefined;
|
|
95
|
+
assignedByUid?: string | undefined;
|
|
96
|
+
completedAt?: string | undefined;
|
|
97
|
+
}>, "many">;
|
|
98
|
+
totalCount: z.ZodNumber;
|
|
99
|
+
};
|
|
45
100
|
execute({ tasks }: {
|
|
46
101
|
tasks: {
|
|
47
102
|
content: string;
|
|
48
103
|
description?: string | undefined;
|
|
104
|
+
deadlineDate?: string | undefined;
|
|
105
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
49
106
|
projectId?: string | undefined;
|
|
50
|
-
parentId?: string | undefined;
|
|
51
107
|
sectionId?: string | undefined;
|
|
108
|
+
parentId?: string | undefined;
|
|
52
109
|
labels?: string[] | undefined;
|
|
53
110
|
duration?: string | undefined;
|
|
54
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
55
111
|
dueString?: string | undefined;
|
|
56
|
-
deadlineDate?: string | undefined;
|
|
57
112
|
responsibleUser?: string | undefined;
|
|
58
113
|
}[];
|
|
59
114
|
}, client: TodoistApi): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkEvB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB4B,CAAA;AA0I1C,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -5,6 +5,25 @@ declare const completeTasks: {
|
|
|
5
5
|
parameters: {
|
|
6
6
|
ids: z.ZodArray<z.ZodString, "many">;
|
|
7
7
|
};
|
|
8
|
+
outputSchema: {
|
|
9
|
+
completed: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
11
|
+
item: z.ZodString;
|
|
12
|
+
error: z.ZodString;
|
|
13
|
+
code: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
item: string;
|
|
16
|
+
error: string;
|
|
17
|
+
code?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
item: string;
|
|
20
|
+
error: string;
|
|
21
|
+
code?: string | undefined;
|
|
22
|
+
}>, "many">;
|
|
23
|
+
totalRequested: z.ZodNumber;
|
|
24
|
+
successCount: z.ZodNumber;
|
|
25
|
+
failureCount: z.ZodNumber;
|
|
26
|
+
};
|
|
8
27
|
execute(args: {
|
|
9
28
|
ids: string[];
|
|
10
29
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAOmB,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;;;;;;;;;;;;CAgChC,CAAA;AAoB1C,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -6,6 +6,19 @@ declare const deleteObject: {
|
|
|
6
6
|
type: z.ZodEnum<["project", "section", "task", "comment"]>;
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
};
|
|
9
|
+
outputSchema: {
|
|
10
|
+
deletedEntity: z.ZodObject<{
|
|
11
|
+
type: z.ZodEnum<["project", "section", "task", "comment"]>;
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
type: "comment" | "task" | "project" | "section";
|
|
15
|
+
id: string;
|
|
16
|
+
}, {
|
|
17
|
+
type: "comment" | "task" | "project" | "section";
|
|
18
|
+
id: string;
|
|
19
|
+
}>;
|
|
20
|
+
success: z.ZodBoolean;
|
|
21
|
+
};
|
|
9
22
|
execute(args: {
|
|
10
23
|
type: "comment" | "task" | "project" | "section";
|
|
11
24
|
id: string;
|
|
@@ -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;AAwBvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCwB,CAAA;AAc1C,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/tools/fetch.d.ts
CHANGED
|
@@ -18,6 +18,13 @@ declare const fetch: {
|
|
|
18
18
|
parameters: {
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
};
|
|
21
|
+
outputSchema: {
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
text: z.ZodString;
|
|
25
|
+
url: z.ZodString;
|
|
26
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
27
|
+
};
|
|
21
28
|
execute(args: {
|
|
22
29
|
id: string;
|
|
23
30
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<FetchToolOutput>;
|
|
@@ -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;AAuBvB,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/tools/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuBvB,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAUD;;;;;GAKG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;oEAMsB,OAAO,CAAC,eAAe,CAAC;CAwFf,CAAA;AAE1C,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -12,10 +12,47 @@ declare const findActivity: {
|
|
|
12
12
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
cursor: z.ZodOptional<z.ZodString>;
|
|
14
14
|
};
|
|
15
|
+
outputSchema: {
|
|
16
|
+
events: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
objectType: z.ZodString;
|
|
19
|
+
objectId: z.ZodString;
|
|
20
|
+
eventType: z.ZodString;
|
|
21
|
+
eventDate: z.ZodString;
|
|
22
|
+
parentProjectId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
parentItemId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
initiatorId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
extraData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
id: string;
|
|
28
|
+
objectType: string;
|
|
29
|
+
objectId: string;
|
|
30
|
+
eventType: string;
|
|
31
|
+
eventDate: string;
|
|
32
|
+
extraData: Record<string, unknown>;
|
|
33
|
+
parentProjectId?: string | undefined;
|
|
34
|
+
parentItemId?: string | undefined;
|
|
35
|
+
initiatorId?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
id: string;
|
|
38
|
+
objectType: string;
|
|
39
|
+
objectId: string;
|
|
40
|
+
eventType: string;
|
|
41
|
+
eventDate: string;
|
|
42
|
+
extraData: Record<string, unknown>;
|
|
43
|
+
parentProjectId?: string | undefined;
|
|
44
|
+
parentItemId?: string | undefined;
|
|
45
|
+
initiatorId?: string | undefined;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
48
|
+
totalCount: z.ZodNumber;
|
|
49
|
+
hasMore: z.ZodBoolean;
|
|
50
|
+
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
51
|
+
};
|
|
15
52
|
execute(args: {
|
|
16
53
|
limit: number;
|
|
17
|
-
taskId?: string | undefined;
|
|
18
54
|
projectId?: string | undefined;
|
|
55
|
+
taskId?: string | undefined;
|
|
19
56
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
20
57
|
objectId?: string | undefined;
|
|
21
58
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
@@ -43,8 +80,8 @@ declare const findActivity: {
|
|
|
43
80
|
hasMore: boolean;
|
|
44
81
|
appliedFilters: {
|
|
45
82
|
limit: number;
|
|
46
|
-
taskId?: string | undefined;
|
|
47
83
|
projectId?: string | undefined;
|
|
84
|
+
taskId?: string | undefined;
|
|
48
85
|
objectType?: "comment" | "task" | "project" | undefined;
|
|
49
86
|
objectId?: string | undefined;
|
|
50
87
|
eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
|
|
@@ -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;AA+DvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CwB,CAAA;AAuI1C,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -9,9 +9,75 @@ declare const findComments: {
|
|
|
9
9
|
cursor: z.ZodOptional<z.ZodString>;
|
|
10
10
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
};
|
|
12
|
+
outputSchema: {
|
|
13
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
content: z.ZodString;
|
|
18
|
+
postedAt: z.ZodString;
|
|
19
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
resourceType: z.ZodString;
|
|
21
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
22
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
fileType: z.ZodOptional<z.ZodString>;
|
|
24
|
+
fileUrl: z.ZodOptional<z.ZodString>;
|
|
25
|
+
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
uploadState: z.ZodOptional<z.ZodEnum<["pending", "completed"]>>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
resourceType: string;
|
|
29
|
+
fileName?: string | undefined;
|
|
30
|
+
fileSize?: number | undefined;
|
|
31
|
+
fileType?: string | undefined;
|
|
32
|
+
fileUrl?: string | undefined;
|
|
33
|
+
fileDuration?: number | undefined;
|
|
34
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
resourceType: string;
|
|
37
|
+
fileName?: string | undefined;
|
|
38
|
+
fileSize?: number | undefined;
|
|
39
|
+
fileType?: string | undefined;
|
|
40
|
+
fileUrl?: string | undefined;
|
|
41
|
+
fileDuration?: number | undefined;
|
|
42
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
43
|
+
}>>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
content: string;
|
|
46
|
+
id: string;
|
|
47
|
+
postedAt: string;
|
|
48
|
+
projectId?: string | undefined;
|
|
49
|
+
taskId?: string | undefined;
|
|
50
|
+
attachment?: {
|
|
51
|
+
resourceType: string;
|
|
52
|
+
fileName?: string | undefined;
|
|
53
|
+
fileSize?: number | undefined;
|
|
54
|
+
fileType?: string | undefined;
|
|
55
|
+
fileUrl?: string | undefined;
|
|
56
|
+
fileDuration?: number | undefined;
|
|
57
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
content: string;
|
|
61
|
+
id: string;
|
|
62
|
+
postedAt: string;
|
|
63
|
+
projectId?: string | undefined;
|
|
64
|
+
taskId?: string | undefined;
|
|
65
|
+
attachment?: {
|
|
66
|
+
resourceType: string;
|
|
67
|
+
fileName?: string | undefined;
|
|
68
|
+
fileSize?: number | undefined;
|
|
69
|
+
fileType?: string | undefined;
|
|
70
|
+
fileUrl?: string | undefined;
|
|
71
|
+
fileDuration?: number | undefined;
|
|
72
|
+
uploadState?: "pending" | "completed" | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
}>, "many">;
|
|
75
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
76
|
+
totalCount: z.ZodNumber;
|
|
77
|
+
};
|
|
12
78
|
execute(args: {
|
|
13
|
-
taskId?: string | undefined;
|
|
14
79
|
projectId?: string | undefined;
|
|
80
|
+
taskId?: string | undefined;
|
|
15
81
|
limit?: number | undefined;
|
|
16
82
|
cursor?: string | undefined;
|
|
17
83
|
commentId?: string | undefined;
|
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA+H6kR,CAAC;4BAA6C,CAAC;4BAA6C,CAAC;2BAA4C,CAAC;gCAAiD,CAAC;+BAAgD,CAAC;yBAA2D,CAAC;8BAA+C,CAAC;+BAAgD,CAAC;uBAAwC,CAAC;yBAA0C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CApDnhS,CAAA;AAmD1C,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -16,16 +16,74 @@ declare const findCompletedTasks: {
|
|
|
16
16
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
17
17
|
cursor: z.ZodOptional<z.ZodString>;
|
|
18
18
|
};
|
|
19
|
+
outputSchema: {
|
|
20
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
content: z.ZodString;
|
|
23
|
+
description: z.ZodString;
|
|
24
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
25
|
+
recurring: z.ZodUnion<[z.ZodBoolean, z.ZodString]>;
|
|
26
|
+
deadlineDate: z.ZodOptional<z.ZodString>;
|
|
27
|
+
priority: z.ZodNumber;
|
|
28
|
+
projectId: z.ZodString;
|
|
29
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
labels: z.ZodArray<z.ZodString, "many">;
|
|
32
|
+
duration: z.ZodOptional<z.ZodString>;
|
|
33
|
+
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
34
|
+
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
35
|
+
checked: z.ZodBoolean;
|
|
36
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
content: string;
|
|
39
|
+
description: string;
|
|
40
|
+
id: string;
|
|
41
|
+
recurring: string | boolean;
|
|
42
|
+
priority: number;
|
|
43
|
+
projectId: string;
|
|
44
|
+
labels: string[];
|
|
45
|
+
checked: boolean;
|
|
46
|
+
dueDate?: string | undefined;
|
|
47
|
+
deadlineDate?: string | undefined;
|
|
48
|
+
sectionId?: string | undefined;
|
|
49
|
+
parentId?: string | undefined;
|
|
50
|
+
duration?: string | undefined;
|
|
51
|
+
responsibleUid?: string | undefined;
|
|
52
|
+
assignedByUid?: string | undefined;
|
|
53
|
+
completedAt?: string | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
content: string;
|
|
56
|
+
description: string;
|
|
57
|
+
id: string;
|
|
58
|
+
recurring: string | boolean;
|
|
59
|
+
priority: number;
|
|
60
|
+
projectId: string;
|
|
61
|
+
labels: string[];
|
|
62
|
+
checked: boolean;
|
|
63
|
+
dueDate?: string | undefined;
|
|
64
|
+
deadlineDate?: string | undefined;
|
|
65
|
+
sectionId?: string | undefined;
|
|
66
|
+
parentId?: string | undefined;
|
|
67
|
+
duration?: string | undefined;
|
|
68
|
+
responsibleUid?: string | undefined;
|
|
69
|
+
assignedByUid?: string | undefined;
|
|
70
|
+
completedAt?: string | undefined;
|
|
71
|
+
}>, "many">;
|
|
72
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
73
|
+
totalCount: z.ZodNumber;
|
|
74
|
+
hasMore: z.ZodBoolean;
|
|
75
|
+
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76
|
+
};
|
|
19
77
|
execute(args: {
|
|
20
78
|
limit: number;
|
|
21
79
|
getBy: "due" | "completion";
|
|
22
80
|
since: string;
|
|
23
81
|
until: string;
|
|
24
82
|
projectId?: string | undefined;
|
|
25
|
-
parentId?: string | undefined;
|
|
26
|
-
workspaceId?: string | undefined;
|
|
27
83
|
sectionId?: string | undefined;
|
|
84
|
+
parentId?: string | undefined;
|
|
28
85
|
labels?: string[] | undefined;
|
|
86
|
+
workspaceId?: string | undefined;
|
|
29
87
|
cursor?: string | undefined;
|
|
30
88
|
responsibleUser?: string | undefined;
|
|
31
89
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -62,10 +120,10 @@ declare const findCompletedTasks: {
|
|
|
62
120
|
since: string;
|
|
63
121
|
until: string;
|
|
64
122
|
projectId?: string | undefined;
|
|
65
|
-
parentId?: string | undefined;
|
|
66
|
-
workspaceId?: string | undefined;
|
|
67
123
|
sectionId?: string | undefined;
|
|
124
|
+
parentId?: string | undefined;
|
|
68
125
|
labels?: string[] | undefined;
|
|
126
|
+
workspaceId?: string | undefined;
|
|
69
127
|
cursor?: string | undefined;
|
|
70
128
|
responsibleUser?: string | undefined;
|
|
71
129
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -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;AAsEvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0EkB,CAAA;AA+D1C,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -7,6 +7,37 @@ declare const findProjectCollaborators: {
|
|
|
7
7
|
projectId: z.ZodString;
|
|
8
8
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
9
9
|
};
|
|
10
|
+
outputSchema: {
|
|
11
|
+
collaborators: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
email: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
name: string;
|
|
17
|
+
id: string;
|
|
18
|
+
email: string;
|
|
19
|
+
}, {
|
|
20
|
+
name: string;
|
|
21
|
+
id: string;
|
|
22
|
+
email: string;
|
|
23
|
+
}>, "many">;
|
|
24
|
+
projectInfo: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
isShared: z.ZodBoolean;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
name: string;
|
|
30
|
+
id: string;
|
|
31
|
+
isShared: boolean;
|
|
32
|
+
}, {
|
|
33
|
+
name: string;
|
|
34
|
+
id: string;
|
|
35
|
+
isShared: boolean;
|
|
36
|
+
}>>;
|
|
37
|
+
totalCount: z.ZodNumber;
|
|
38
|
+
totalAvailable: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
40
|
+
};
|
|
10
41
|
execute(args: {
|
|
11
42
|
projectId: string;
|
|
12
43
|
searchTerm?: string | undefined;
|