@doist/todoist-ai 8.8.0 → 8.8.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/README.md +2 -2
- package/dist/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +41 -41
- package/dist/index.js +2 -2
- package/dist/main-http.js +1 -1
- 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-C8iKL_qZ.js → mcp-server-B55_qbq4.js} +1153 -1134
- package/dist/prompts/productivity-analysis.d.ts +1 -1
- package/dist/prompts/productivity-analysis.d.ts.map +1 -1
- package/dist/todoist-tool.d.ts +1 -1
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +1 -1
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +1 -1
- package/dist/tools/add-filters.d.ts +1 -1
- package/dist/tools/add-labels.d.ts +1 -1
- package/dist/tools/add-projects.d.ts +2 -2
- package/dist/tools/add-reminders.d.ts +1 -1
- package/dist/tools/add-sections.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/analyze-project-health.d.ts +1 -1
- package/dist/tools/complete-tasks.d.ts +1 -1
- package/dist/tools/delete-object.d.ts +1 -1
- package/dist/tools/fetch-object.d.ts +2 -2
- package/dist/tools/fetch.d.ts +1 -1
- package/dist/tools/find-activity.d.ts +1 -1
- package/dist/tools/find-comments.d.ts +1 -1
- package/dist/tools/find-completed-tasks.d.ts +1 -1
- package/dist/tools/find-filters.d.ts +2 -2
- package/dist/tools/find-filters.d.ts.map +1 -1
- package/dist/tools/find-labels.d.ts +1 -1
- package/dist/tools/find-project-collaborators.d.ts +1 -1
- package/dist/tools/find-projects.d.ts +2 -2
- package/dist/tools/find-reminders.d.ts +1 -1
- package/dist/tools/find-sections.d.ts +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +1 -1
- package/dist/tools/find-tasks.d.ts +1 -1
- package/dist/tools/get-overview.d.ts +2 -2
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/get-productivity-stats.d.ts +1 -1
- package/dist/tools/get-productivity-stats.d.ts.map +1 -1
- package/dist/tools/get-project-activity-stats.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts.map +1 -1
- package/dist/tools/get-workspace-insights.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +1 -1
- package/dist/tools/project-management.d.ts +2 -2
- package/dist/tools/project-move.d.ts +2 -2
- package/dist/tools/reorder-objects.d.ts +1 -1
- package/dist/tools/reschedule-tasks.d.ts +2 -2
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/uncomplete-tasks.d.ts +1 -1
- package/dist/tools/update-comments.d.ts +1 -1
- package/dist/tools/update-filters.d.ts +1 -1
- package/dist/tools/update-projects.d.ts +2 -2
- package/dist/tools/update-reminders.d.ts +1 -1
- package/dist/tools/update-sections.d.ts +1 -1
- package/dist/tools/update-tasks.d.ts +1 -1
- package/dist/tools/user-info.d.ts +2 -2
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/tools/view-attachment.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts.map +1 -1
- package/dist/utils/filter-resolver.d.ts +1 -1
- package/dist/utils/filter-resolver.d.ts.map +1 -1
- package/dist/utils/response-builders.d.ts +1 -1
- package/dist/utils/response-builders.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/user-resolver.d.ts +1 -1
- package/dist/utils/user-resolver.d.ts.map +1 -1
- package/dist/utils/workspace-resolver.d.ts +1 -1
- package/dist/utils/workspace-resolver.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/run-tool.ts +1 -1
- package/scripts/validate-schemas.ts +1 -1
|
@@ -54,5 +54,5 @@ declare const productivityAnalysis: {
|
|
|
54
54
|
};
|
|
55
55
|
callback: typeof callback;
|
|
56
56
|
};
|
|
57
|
-
export {
|
|
57
|
+
export { buildPromptText, computeDateRange, productivityAnalysis };
|
|
58
58
|
//# sourceMappingURL=productivity-analysis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productivity-analysis.d.ts","sourceRoot":"","sources":["../../src/prompts/productivity-analysis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBf,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA;AAEzD;;;GAGG;AACH,iBAAS,gBAAgB,CACrB,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,EAC5B,GAAG,GAAE,IAAiB,GACvB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,CA0D7D;AAwCD,iBAAS,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAkCjD;AAED,iBAAS,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAYnD;AAED,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;CAOzB,CAAA;AAED,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"productivity-analysis.d.ts","sourceRoot":"","sources":["../../src/prompts/productivity-analysis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBf,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA;AAEzD;;;GAGG;AACH,iBAAS,gBAAgB,CACrB,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,EAC5B,GAAG,GAAE,IAAiB,GACvB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,CA0D7D;AAwCD,iBAAS,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAkCjD;AAED,iBAAS,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAYnD;AAED,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;CAOzB,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAA"}
|
package/dist/todoist-tool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { ContentBlock, ToolAnnotations } from '@modelcontextprotocol/sdk/types.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
type ExecuteResult<Output extends z.ZodRawShape> = Promise<{
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],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BAAuB,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-
|
|
1
|
+
import { ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-sdk';
|
|
2
2
|
export { appendToQuery, buildResponsibleUserQueryFilter, filterTasksByResponsibleUser, RESPONSIBLE_USER_FILTERING, type ResponsibleUserFiltering, resolveResponsibleUser, } from './filter-helpers.js';
|
|
3
3
|
export type Project = PersonalProject | WorkspaceProject;
|
|
4
4
|
export declare function isPersonalProject(project: Project): project is PersonalProject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EACnB,MAAM
|
|
1
|
+
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EACnB,MAAM,oBAAoB,CAAA;AAO3B,OAAO,EACH,aAAa,EACb,+BAA+B,EAC/B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,OAAO,GAA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;;;;GAkBA;AAqBD;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BtC;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE;;;EAM1D;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAO,GACV,CAAA"}
|
|
@@ -49,7 +49,7 @@ declare const addComments: {
|
|
|
49
49
|
taskId?: string | undefined;
|
|
50
50
|
projectId?: string | undefined;
|
|
51
51
|
}[];
|
|
52
|
-
}, client: import('@doist/todoist-
|
|
52
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
53
53
|
textContent: string;
|
|
54
54
|
structuredContent: {
|
|
55
55
|
comments: {
|
|
@@ -75,7 +75,7 @@ declare const addFilters: {
|
|
|
75
75
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
76
76
|
isFavorite?: boolean | undefined;
|
|
77
77
|
}[];
|
|
78
|
-
}, client: import('@doist/todoist-
|
|
78
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
79
79
|
textContent: string;
|
|
80
80
|
structuredContent: {
|
|
81
81
|
filters: {
|
|
@@ -74,7 +74,7 @@ declare const addLabels: {
|
|
|
74
74
|
order?: number | undefined;
|
|
75
75
|
isFavorite?: boolean | undefined;
|
|
76
76
|
}[];
|
|
77
|
-
}, client: import('@doist/todoist-
|
|
77
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
78
78
|
textContent: string;
|
|
79
79
|
structuredContent: {
|
|
80
80
|
labels: {
|
|
@@ -88,13 +88,13 @@ declare const addProjects: {
|
|
|
88
88
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
89
89
|
workspace?: string | undefined;
|
|
90
90
|
}[];
|
|
91
|
-
}, client: import('@doist/todoist-
|
|
91
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
92
92
|
textContent: string;
|
|
93
93
|
structuredContent: {
|
|
94
94
|
projects: {
|
|
95
95
|
id: string;
|
|
96
96
|
name: string;
|
|
97
|
-
color: import('@doist/todoist-
|
|
97
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
98
98
|
isFavorite: boolean;
|
|
99
99
|
isShared: boolean;
|
|
100
100
|
parentId: string | undefined;
|
|
@@ -101,7 +101,7 @@ declare const addReminders: {
|
|
|
101
101
|
locTrigger: "on_enter" | "on_leave";
|
|
102
102
|
radius?: number | undefined;
|
|
103
103
|
})[];
|
|
104
|
-
}, client: import('@doist/todoist-
|
|
104
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
105
105
|
textContent: string;
|
|
106
106
|
structuredContent: {
|
|
107
107
|
reminders: ({
|
|
@@ -25,7 +25,7 @@ declare const addSections: {
|
|
|
25
25
|
name: string;
|
|
26
26
|
projectId: string;
|
|
27
27
|
}[];
|
|
28
|
-
}, client: import('@doist/todoist-
|
|
28
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
29
29
|
textContent: string;
|
|
30
30
|
structuredContent: {
|
|
31
31
|
sections: {
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,QAAA,MAAM,uBAAuB,KAAK,CAAA;AAyElC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA6CwB,MAAM;uBAAS,MAAM;;;;;;;CA0CI,CAAA;AAwK/D,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -28,7 +28,7 @@ declare const analyzeProjectHealth: {
|
|
|
28
28
|
};
|
|
29
29
|
execute(args: {
|
|
30
30
|
projectId: string;
|
|
31
|
-
}, client: import('@doist/todoist-
|
|
31
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
32
32
|
textContent: string;
|
|
33
33
|
structuredContent: {
|
|
34
34
|
projectId: string;
|
|
@@ -23,7 +23,7 @@ declare const completeTasks: {
|
|
|
23
23
|
};
|
|
24
24
|
execute(args: {
|
|
25
25
|
ids: string[];
|
|
26
|
-
}, client: import('@doist/todoist-
|
|
26
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
27
27
|
textContent: string;
|
|
28
28
|
structuredContent: {
|
|
29
29
|
completed: string[];
|
|
@@ -39,7 +39,7 @@ declare const deleteObject: {
|
|
|
39
39
|
execute(args: {
|
|
40
40
|
type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "label" | "location_reminder";
|
|
41
41
|
id: string;
|
|
42
|
-
}, client: import('@doist/todoist-
|
|
42
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
43
43
|
textContent: string;
|
|
44
44
|
structuredContent: {
|
|
45
45
|
deletedEntity: {
|
|
@@ -112,7 +112,7 @@ declare const fetchObject: {
|
|
|
112
112
|
execute(args: {
|
|
113
113
|
type: "comment" | "task" | "project" | "section";
|
|
114
114
|
id: string;
|
|
115
|
-
}, client: import('@doist/todoist-
|
|
115
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
116
116
|
textContent: string;
|
|
117
117
|
structuredContent: {
|
|
118
118
|
type: "task";
|
|
@@ -144,7 +144,7 @@ declare const fetchObject: {
|
|
|
144
144
|
object: {
|
|
145
145
|
id: string;
|
|
146
146
|
name: string;
|
|
147
|
-
color: import('@doist/todoist-
|
|
147
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
148
148
|
isFavorite: boolean;
|
|
149
149
|
isShared: boolean;
|
|
150
150
|
parentId: string | undefined;
|
package/dist/tools/fetch.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const fetch: {
|
|
|
32
32
|
};
|
|
33
33
|
execute(args: {
|
|
34
34
|
id: string;
|
|
35
|
-
}, client: import('@doist/todoist-
|
|
35
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
36
36
|
textContent: string;
|
|
37
37
|
structuredContent: FetchResult;
|
|
38
38
|
}>;
|
|
@@ -57,7 +57,7 @@ declare const findActivity: {
|
|
|
57
57
|
taskId?: string | undefined;
|
|
58
58
|
initiatorId?: string | undefined;
|
|
59
59
|
cursor?: string | undefined;
|
|
60
|
-
}, client: import('@doist/todoist-
|
|
60
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
61
61
|
textContent: string;
|
|
62
62
|
structuredContent: {
|
|
63
63
|
events: {
|
|
@@ -52,7 +52,7 @@ declare const findComments: {
|
|
|
52
52
|
commentId?: string | undefined;
|
|
53
53
|
cursor?: string | undefined;
|
|
54
54
|
limit?: number | undefined;
|
|
55
|
-
}, client: import('@doist/todoist-
|
|
55
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
56
56
|
textContent: string;
|
|
57
57
|
structuredContent: {
|
|
58
58
|
comments: {
|
|
@@ -70,7 +70,7 @@ declare const findCompletedTasks: {
|
|
|
70
70
|
parentId?: string | undefined;
|
|
71
71
|
responsibleUser?: string | undefined;
|
|
72
72
|
cursor?: string | undefined;
|
|
73
|
-
}, client: import('@doist/todoist-
|
|
73
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
74
74
|
textContent: string;
|
|
75
75
|
structuredContent: {
|
|
76
76
|
tasks: {
|
|
@@ -73,7 +73,7 @@ declare const findFilters: {
|
|
|
73
73
|
};
|
|
74
74
|
execute(args: {
|
|
75
75
|
search?: string | undefined;
|
|
76
|
-
}, client: import('@doist/todoist-
|
|
76
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
77
77
|
textContent: string;
|
|
78
78
|
structuredContent: {
|
|
79
79
|
filters: {
|
|
@@ -88,5 +88,5 @@ declare const findFilters: {
|
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
90
|
};
|
|
91
|
-
export {
|
|
91
|
+
export { FilterOutputSchema, findFilters };
|
|
92
92
|
//# sourceMappingURL=find-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-filters.d.ts","sourceRoot":"","sources":["../../src/tools/find-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtB,CAAA;AAOF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AA2B/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"find-filters.d.ts","sourceRoot":"","sources":["../../src/tools/find-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtB,CAAA;AAOF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AA2B/D,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -51,7 +51,7 @@ declare const findLabels: {
|
|
|
51
51
|
limit: number;
|
|
52
52
|
searchText?: string | undefined;
|
|
53
53
|
cursor?: string | undefined;
|
|
54
|
-
}, client: import('@doist/todoist-
|
|
54
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
55
55
|
textContent: string;
|
|
56
56
|
structuredContent: {
|
|
57
57
|
labels: {
|
|
@@ -30,7 +30,7 @@ declare const findProjectCollaborators: {
|
|
|
30
30
|
execute(args: {
|
|
31
31
|
projectId: string;
|
|
32
32
|
searchTerm?: string | undefined;
|
|
33
|
-
}, client: import('@doist/todoist-
|
|
33
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
34
34
|
textContent: string;
|
|
35
35
|
structuredContent: {
|
|
36
36
|
collaborators: never[];
|
|
@@ -56,13 +56,13 @@ declare const findProjects: {
|
|
|
56
56
|
limit: number;
|
|
57
57
|
searchText?: string | undefined;
|
|
58
58
|
cursor?: string | undefined;
|
|
59
|
-
}, client: import('@doist/todoist-
|
|
59
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
60
60
|
textContent: string;
|
|
61
61
|
structuredContent: {
|
|
62
62
|
projects: {
|
|
63
63
|
id: string;
|
|
64
64
|
name: string;
|
|
65
|
-
color: import('@doist/todoist-
|
|
65
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
66
66
|
isFavorite: boolean;
|
|
67
67
|
isShared: boolean;
|
|
68
68
|
parentId: string | undefined;
|
|
@@ -47,7 +47,7 @@ declare const findReminders: {
|
|
|
47
47
|
taskId?: string | undefined;
|
|
48
48
|
reminderId?: string | undefined;
|
|
49
49
|
locationReminderId?: string | undefined;
|
|
50
|
-
}, client: import('@doist/todoist-
|
|
50
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
51
51
|
textContent: string;
|
|
52
52
|
structuredContent: {
|
|
53
53
|
reminders: ({
|
|
@@ -22,7 +22,7 @@ declare const findSections: {
|
|
|
22
22
|
execute(args: {
|
|
23
23
|
projectId: string;
|
|
24
24
|
searchText?: string | undefined;
|
|
25
|
-
}, client: import('@doist/todoist-
|
|
25
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
26
26
|
textContent: string;
|
|
27
27
|
structuredContent: {
|
|
28
28
|
sections: {
|
|
@@ -91,7 +91,7 @@ declare const findTasksByDate: {
|
|
|
91
91
|
cursor?: string | undefined;
|
|
92
92
|
responsibleUser?: string | undefined;
|
|
93
93
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
94
|
-
}, client: import('@doist/todoist-
|
|
94
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
95
95
|
textContent: string;
|
|
96
96
|
structuredContent: {
|
|
97
97
|
tasks: {
|
|
@@ -71,7 +71,7 @@ declare const findTasks: {
|
|
|
71
71
|
cursor?: string | undefined;
|
|
72
72
|
filter?: string | undefined;
|
|
73
73
|
filterIdOrName?: string | undefined;
|
|
74
|
-
}, client: import('@doist/todoist-
|
|
74
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
75
75
|
textContent: string;
|
|
76
76
|
structuredContent: {
|
|
77
77
|
tasks: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Section, TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { Section, TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { mapTask } from '../tool-helpers.js';
|
|
4
4
|
type ProjectStructure = {
|
|
@@ -118,5 +118,5 @@ declare const getOverview: {
|
|
|
118
118
|
structuredContent: AccountOverviewStructured | ProjectOverviewStructured;
|
|
119
119
|
}>;
|
|
120
120
|
};
|
|
121
|
-
export {
|
|
121
|
+
export { type AccountOverviewStructured, getOverview, type ProjectOverviewStructured };
|
|
122
122
|
//# sourceMappingURL=get-overview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAyC,OAAO,EAAgB,MAAM,oBAAoB,CAAA;AA+OjG,KAAK,gBAAgB,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC/B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,EAAE;QACH,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,OAAO,EAAE,CAAA;KACtB,GAAG,IAAI,CAAA;IACR,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,OAAO,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;KACf,CAAA;IACD,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,GAAG;QAAE,QAAQ,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC,CAAA;IAChE,KAAK,EAAE;QACH,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,mBAAmB,EAAE,MAAM,CAAA;KAC9B,CAAA;CACJ,CAAA;AAiKD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAraT,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE;sBAC9B,OAAO,EAAE;;gBANf,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE;sBAC9B,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgbwC,CAAA;AAE/D,OAAO,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,CAAA"}
|
|
@@ -80,7 +80,7 @@ declare const getProductivityStats: {
|
|
|
80
80
|
destructiveHint: false;
|
|
81
81
|
idempotentHint: true;
|
|
82
82
|
};
|
|
83
|
-
execute(_args: Record<string, never>, client: import('@doist/todoist-
|
|
83
|
+
execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
84
84
|
textContent: string;
|
|
85
85
|
structuredContent: {
|
|
86
86
|
completedCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-productivity-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-productivity-stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkFvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CqC,CAAA;
|
|
1
|
+
{"version":3,"file":"get-productivity-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-productivity-stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkFvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CqC,CAAA;AAyC/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -28,7 +28,7 @@ declare const getProjectActivityStats: {
|
|
|
28
28
|
projectId: string;
|
|
29
29
|
weeks?: number | undefined;
|
|
30
30
|
includeWeeklyCounts?: boolean | undefined;
|
|
31
|
-
}, client: import('@doist/todoist-
|
|
31
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
32
32
|
textContent: string;
|
|
33
33
|
structuredContent: {
|
|
34
34
|
projectId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM
|
|
1
|
+
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkMvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -39,7 +39,7 @@ declare const getWorkspaceInsights: {
|
|
|
39
39
|
execute(args: {
|
|
40
40
|
workspaceIdOrName: string;
|
|
41
41
|
projectIds?: string[] | undefined;
|
|
42
|
-
}, client: import('@doist/todoist-
|
|
42
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
43
43
|
textContent: string;
|
|
44
44
|
structuredContent: {
|
|
45
45
|
workspaceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.ts","sourceRoot":"","sources":["../../src/tools/list-workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,UAAU,EAGf,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.ts","sourceRoot":"","sources":["../../src/tools/list-workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,UAAU,EAGf,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,KAAK,eAAe,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAClD,IAAI,EAAE,YAAY,CAAA;IAClB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AA2DD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe2C,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAE,CAAA"}
|
|
@@ -46,7 +46,7 @@ declare const manageAssignments: {
|
|
|
46
46
|
dryRun: boolean;
|
|
47
47
|
responsibleUser?: string | undefined;
|
|
48
48
|
fromAssigneeUser?: string | undefined;
|
|
49
|
-
}, client: import('@doist/todoist-
|
|
49
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
50
50
|
textContent: string;
|
|
51
51
|
structuredContent: {
|
|
52
52
|
operation: "unassign";
|
|
@@ -54,13 +54,13 @@ declare const projectManagement: {
|
|
|
54
54
|
execute(args: {
|
|
55
55
|
action: "archive" | "unarchive";
|
|
56
56
|
projectId: string;
|
|
57
|
-
}, client: import('@doist/todoist-
|
|
57
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
58
58
|
textContent: string;
|
|
59
59
|
structuredContent: {
|
|
60
60
|
project: {
|
|
61
61
|
id: string;
|
|
62
62
|
name: string;
|
|
63
|
-
color: import('@doist/todoist-
|
|
63
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
64
64
|
isFavorite: boolean;
|
|
65
65
|
isShared: boolean;
|
|
66
66
|
parentId: string | undefined;
|
|
@@ -64,13 +64,13 @@ declare const projectMove: {
|
|
|
64
64
|
workspaceId?: string | undefined;
|
|
65
65
|
folderId?: string | undefined;
|
|
66
66
|
visibility?: "restricted" | "team" | "public" | undefined;
|
|
67
|
-
}, client: import('@doist/todoist-
|
|
67
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
68
68
|
textContent: string;
|
|
69
69
|
structuredContent: {
|
|
70
70
|
project: {
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
|
-
color: import('@doist/todoist-
|
|
73
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
74
74
|
isFavorite: boolean;
|
|
75
75
|
isShared: boolean;
|
|
76
76
|
parentId: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare const reorderObjects: {
|
|
|
35
35
|
order?: number | undefined;
|
|
36
36
|
parentId?: string | undefined;
|
|
37
37
|
}[];
|
|
38
|
-
}, client: import('@doist/todoist-
|
|
38
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
39
39
|
textContent: string;
|
|
40
40
|
structuredContent: {
|
|
41
41
|
type: "project" | "section";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Task } from '@doist/todoist-
|
|
1
|
+
import { Task } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
declare const rescheduleTasks: {
|
|
4
4
|
name: "reschedule-tasks";
|
|
@@ -47,7 +47,7 @@ declare const rescheduleTasks: {
|
|
|
47
47
|
id: string;
|
|
48
48
|
date: string;
|
|
49
49
|
}[];
|
|
50
|
-
}, client: import('@doist/todoist-
|
|
50
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
51
51
|
textContent: string;
|
|
52
52
|
structuredContent: {
|
|
53
53
|
tasks: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE0C,CAAA;AAE/D,iBAAS,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAU7F;AAED,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAA"}
|
package/dist/tools/search.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const search: {
|
|
|
31
31
|
};
|
|
32
32
|
execute(args: {
|
|
33
33
|
query: string;
|
|
34
|
-
}, client: import('@doist/todoist-
|
|
34
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
35
35
|
textContent: string;
|
|
36
36
|
structuredContent: {
|
|
37
37
|
results: SearchResult[];
|
|
@@ -23,7 +23,7 @@ declare const uncompleteTasks: {
|
|
|
23
23
|
};
|
|
24
24
|
execute(args: {
|
|
25
25
|
ids: string[];
|
|
26
|
-
}, client: import('@doist/todoist-
|
|
26
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
27
27
|
textContent: string;
|
|
28
28
|
structuredContent: {
|
|
29
29
|
uncompleted: string[];
|
|
@@ -50,7 +50,7 @@ declare const updateComments: {
|
|
|
50
50
|
id: string;
|
|
51
51
|
content: string;
|
|
52
52
|
}[];
|
|
53
|
-
}, client: import('@doist/todoist-
|
|
53
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
54
54
|
textContent: string;
|
|
55
55
|
structuredContent: {
|
|
56
56
|
comments: {
|
|
@@ -82,7 +82,7 @@ declare const updateFilters: {
|
|
|
82
82
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
83
83
|
isFavorite?: boolean | undefined;
|
|
84
84
|
}[];
|
|
85
|
-
}, client: import('@doist/todoist-
|
|
85
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
86
86
|
textContent: string;
|
|
87
87
|
structuredContent: {
|
|
88
88
|
filters: {
|
|
@@ -91,13 +91,13 @@ declare const updateProjects: {
|
|
|
91
91
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
92
92
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
93
93
|
}[];
|
|
94
|
-
}, client: import('@doist/todoist-
|
|
94
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
95
95
|
textContent: string;
|
|
96
96
|
structuredContent: {
|
|
97
97
|
projects: {
|
|
98
98
|
id: string;
|
|
99
99
|
name: string;
|
|
100
|
-
color: import('@doist/todoist-
|
|
100
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
101
101
|
isFavorite: boolean;
|
|
102
102
|
isShared: boolean;
|
|
103
103
|
parentId: string | undefined;
|
|
@@ -101,7 +101,7 @@ declare const updateReminders: {
|
|
|
101
101
|
locTrigger?: "on_enter" | "on_leave" | undefined;
|
|
102
102
|
radius?: number | undefined;
|
|
103
103
|
})[];
|
|
104
|
-
}, client: import('@doist/todoist-
|
|
104
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
105
105
|
textContent: string;
|
|
106
106
|
structuredContent: {
|
|
107
107
|
reminders: ({
|
|
@@ -26,7 +26,7 @@ declare const updateSections: {
|
|
|
26
26
|
id: string;
|
|
27
27
|
name: string;
|
|
28
28
|
}[];
|
|
29
|
-
}, client: import('@doist/todoist-
|
|
29
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
30
30
|
textContent: string;
|
|
31
31
|
structuredContent: {
|
|
32
32
|
sections: {
|
|
@@ -79,7 +79,7 @@ declare const updateTasks: {
|
|
|
79
79
|
labels?: string[] | undefined;
|
|
80
80
|
isUncompletable?: boolean | undefined;
|
|
81
81
|
}[];
|
|
82
|
-
}, client: import('@doist/todoist-
|
|
82
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
83
83
|
textContent: string;
|
|
84
84
|
structuredContent: {
|
|
85
85
|
tasks: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
type UserPlan = 'Todoist Free' | 'Todoist Pro' | 'Todoist Business';
|
|
4
4
|
type UserInfoStructured = Record<string, unknown> & {
|
|
@@ -53,5 +53,5 @@ declare const userInfo: {
|
|
|
53
53
|
structuredContent: UserInfoStructured;
|
|
54
54
|
}>;
|
|
55
55
|
};
|
|
56
|
-
export {
|
|
56
|
+
export { type UserInfoStructured, userInfo };
|
|
57
57
|
//# sourceMappingURL=user-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-info.d.ts","sourceRoot":"","sources":["../../src/tools/user-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"user-info.d.ts","sourceRoot":"","sources":["../../src/tools/user-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,KAAK,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,kBAAkB,CAAA;AAEnE,KAAK,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAChD,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;CACjB,CAAA;AAgJD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeiD,CAAA;AAE/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,QAAQ,EAAE,CAAA"}
|