@doist/todoist-mcp 13.6.4 → 13.7.1
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 +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-BStbvGrY.js → mcp-server-BicI89wv.js} +2490 -2418
- package/dist/{require-valid-todoist-token-q7qliHnD.js → require-valid-todoist-token-qKxFPNp7.js} +1 -1
- package/dist/tool-helpers.d.ts +3 -0
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tool-registry.d.ts +26 -0
- package/dist/tool-registry.d.ts.map +1 -1
- package/dist/tools/add-reminders.d.ts +11 -0
- package/dist/tools/add-reminders.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-reminders.d.ts +4 -0
- package/dist/tools/find-reminders.d.ts.map +1 -1
- package/dist/tools/update-reminders.d.ts +11 -0
- package/dist/tools/update-reminders.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +1 -0
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/reminder-recipients.d.ts +21 -0
- package/dist/utils/reminder-recipients.d.ts.map +1 -0
- package/dist/utils/reminder-schemas.d.ts +8 -0
- package/dist/utils/reminder-schemas.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -276,6 +276,7 @@ declare function mapReminder(reminder: Reminder): {
|
|
|
276
276
|
id: string;
|
|
277
277
|
taskId: string;
|
|
278
278
|
type: "location" | "absolute" | "relative";
|
|
279
|
+
notifyUid: string;
|
|
279
280
|
} | {
|
|
280
281
|
due: {
|
|
281
282
|
isRecurring: boolean;
|
|
@@ -288,6 +289,7 @@ declare function mapReminder(reminder: Reminder): {
|
|
|
288
289
|
id: string;
|
|
289
290
|
taskId: string;
|
|
290
291
|
type: "location" | "absolute" | "relative";
|
|
292
|
+
notifyUid: string;
|
|
291
293
|
} | {
|
|
292
294
|
name: string;
|
|
293
295
|
locLat: string;
|
|
@@ -297,6 +299,7 @@ declare function mapReminder(reminder: Reminder): {
|
|
|
297
299
|
id: string;
|
|
298
300
|
taskId: string;
|
|
299
301
|
type: "location" | "absolute" | "relative";
|
|
302
|
+
notifyUid: string;
|
|
300
303
|
};
|
|
301
304
|
/**
|
|
302
305
|
* Count reminders by category: time-based (relative/absolute) and location.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,gBAAgB,EACxB,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,GAAG,eAAe,GAAG,gBAAgB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAA;AAEhD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEvE;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAC9C,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,UAAU,CAAA;CACtB,GAAG,OAAO,CAAC,MAAM,GAAG,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M,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"}
|
package/dist/tool-registry.d.ts
CHANGED
|
@@ -1707,6 +1707,7 @@ declare const toolRegistry: {
|
|
|
1707
1707
|
email: "email";
|
|
1708
1708
|
}>>;
|
|
1709
1709
|
isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1710
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1710
1711
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
1711
1712
|
type: import('zod').ZodLiteral<"absolute">;
|
|
1712
1713
|
taskId: import('zod').ZodString;
|
|
@@ -1721,6 +1722,7 @@ declare const toolRegistry: {
|
|
|
1721
1722
|
email: "email";
|
|
1722
1723
|
}>>;
|
|
1723
1724
|
isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1725
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1724
1726
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
1725
1727
|
type: import('zod').ZodLiteral<"location">;
|
|
1726
1728
|
taskId: import('zod').ZodString;
|
|
@@ -1732,6 +1734,7 @@ declare const toolRegistry: {
|
|
|
1732
1734
|
on_leave: "on_leave";
|
|
1733
1735
|
}>;
|
|
1734
1736
|
radius: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1737
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1735
1738
|
}, import('zod/v4/core').$strip>], "type">>;
|
|
1736
1739
|
};
|
|
1737
1740
|
outputSchema: {
|
|
@@ -1743,6 +1746,7 @@ declare const toolRegistry: {
|
|
|
1743
1746
|
absolute: "absolute";
|
|
1744
1747
|
relative: "relative";
|
|
1745
1748
|
}>;
|
|
1749
|
+
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1746
1750
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1747
1751
|
due: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1748
1752
|
isRecurring: import('zod').ZodBoolean;
|
|
@@ -1768,6 +1772,7 @@ declare const toolRegistry: {
|
|
|
1768
1772
|
readOnlyHint: false;
|
|
1769
1773
|
destructiveHint: false;
|
|
1770
1774
|
idempotentHint: false;
|
|
1775
|
+
openWorldHint: true;
|
|
1771
1776
|
};
|
|
1772
1777
|
execute(args: {
|
|
1773
1778
|
reminders: ({
|
|
@@ -1776,6 +1781,7 @@ declare const toolRegistry: {
|
|
|
1776
1781
|
minuteOffset: number;
|
|
1777
1782
|
service?: "push" | "email" | undefined;
|
|
1778
1783
|
isUrgent?: boolean | undefined;
|
|
1784
|
+
notifyUser?: string | undefined;
|
|
1779
1785
|
} | {
|
|
1780
1786
|
type: "absolute";
|
|
1781
1787
|
taskId: string;
|
|
@@ -1787,6 +1793,7 @@ declare const toolRegistry: {
|
|
|
1787
1793
|
};
|
|
1788
1794
|
service?: "push" | "email" | undefined;
|
|
1789
1795
|
isUrgent?: boolean | undefined;
|
|
1796
|
+
notifyUser?: string | undefined;
|
|
1790
1797
|
} | {
|
|
1791
1798
|
type: "location";
|
|
1792
1799
|
taskId: string;
|
|
@@ -1795,6 +1802,7 @@ declare const toolRegistry: {
|
|
|
1795
1802
|
locLong: string;
|
|
1796
1803
|
locTrigger: "on_enter" | "on_leave";
|
|
1797
1804
|
radius?: number | undefined;
|
|
1805
|
+
notifyUser?: string | undefined;
|
|
1798
1806
|
})[];
|
|
1799
1807
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1800
1808
|
textContent: string;
|
|
@@ -1812,6 +1820,7 @@ declare const toolRegistry: {
|
|
|
1812
1820
|
id: string;
|
|
1813
1821
|
taskId: string;
|
|
1814
1822
|
type: "location" | "absolute" | "relative";
|
|
1823
|
+
notifyUid: string;
|
|
1815
1824
|
} | {
|
|
1816
1825
|
due: {
|
|
1817
1826
|
isRecurring: boolean;
|
|
@@ -1824,6 +1833,7 @@ declare const toolRegistry: {
|
|
|
1824
1833
|
id: string;
|
|
1825
1834
|
taskId: string;
|
|
1826
1835
|
type: "location" | "absolute" | "relative";
|
|
1836
|
+
notifyUid: string;
|
|
1827
1837
|
} | {
|
|
1828
1838
|
name: string;
|
|
1829
1839
|
locLat: string;
|
|
@@ -1833,6 +1843,7 @@ declare const toolRegistry: {
|
|
|
1833
1843
|
id: string;
|
|
1834
1844
|
taskId: string;
|
|
1835
1845
|
type: "location" | "absolute" | "relative";
|
|
1846
|
+
notifyUid: string;
|
|
1836
1847
|
})[];
|
|
1837
1848
|
totalCount: number;
|
|
1838
1849
|
addedReminderIds: string[];
|
|
@@ -1856,6 +1867,7 @@ declare const toolRegistry: {
|
|
|
1856
1867
|
absolute: "absolute";
|
|
1857
1868
|
relative: "relative";
|
|
1858
1869
|
}>;
|
|
1870
|
+
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1859
1871
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1860
1872
|
due: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1861
1873
|
isRecurring: import('zod').ZodBoolean;
|
|
@@ -1903,6 +1915,7 @@ declare const toolRegistry: {
|
|
|
1903
1915
|
id: string;
|
|
1904
1916
|
taskId: string;
|
|
1905
1917
|
type: "location" | "absolute" | "relative";
|
|
1918
|
+
notifyUid: string;
|
|
1906
1919
|
} | {
|
|
1907
1920
|
due: {
|
|
1908
1921
|
isRecurring: boolean;
|
|
@@ -1915,6 +1928,7 @@ declare const toolRegistry: {
|
|
|
1915
1928
|
id: string;
|
|
1916
1929
|
taskId: string;
|
|
1917
1930
|
type: "location" | "absolute" | "relative";
|
|
1931
|
+
notifyUid: string;
|
|
1918
1932
|
} | {
|
|
1919
1933
|
name: string;
|
|
1920
1934
|
locLat: string;
|
|
@@ -1924,6 +1938,7 @@ declare const toolRegistry: {
|
|
|
1924
1938
|
id: string;
|
|
1925
1939
|
taskId: string;
|
|
1926
1940
|
type: "location" | "absolute" | "relative";
|
|
1941
|
+
notifyUid: string;
|
|
1927
1942
|
})[];
|
|
1928
1943
|
searchType: string;
|
|
1929
1944
|
searchId: string;
|
|
@@ -1944,6 +1959,7 @@ declare const toolRegistry: {
|
|
|
1944
1959
|
email: "email";
|
|
1945
1960
|
}>>;
|
|
1946
1961
|
isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1962
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1947
1963
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
1948
1964
|
type: import('zod').ZodLiteral<"absolute">;
|
|
1949
1965
|
id: import('zod').ZodString;
|
|
@@ -1958,6 +1974,7 @@ declare const toolRegistry: {
|
|
|
1958
1974
|
email: "email";
|
|
1959
1975
|
}>>;
|
|
1960
1976
|
isUrgent: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1977
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1961
1978
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
1962
1979
|
type: import('zod').ZodLiteral<"location">;
|
|
1963
1980
|
id: import('zod').ZodString;
|
|
@@ -1969,6 +1986,7 @@ declare const toolRegistry: {
|
|
|
1969
1986
|
on_leave: "on_leave";
|
|
1970
1987
|
}>>;
|
|
1971
1988
|
radius: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1989
|
+
notifyUser: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodString, import('zod').ZodTransform<string | undefined, string>>>;
|
|
1972
1990
|
}, import('zod/v4/core').$strip>], "type">>;
|
|
1973
1991
|
};
|
|
1974
1992
|
outputSchema: {
|
|
@@ -1980,6 +1998,7 @@ declare const toolRegistry: {
|
|
|
1980
1998
|
absolute: "absolute";
|
|
1981
1999
|
relative: "relative";
|
|
1982
2000
|
}>;
|
|
2001
|
+
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1983
2002
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1984
2003
|
due: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1985
2004
|
isRecurring: import('zod').ZodBoolean;
|
|
@@ -2005,6 +2024,7 @@ declare const toolRegistry: {
|
|
|
2005
2024
|
readOnlyHint: false;
|
|
2006
2025
|
destructiveHint: true;
|
|
2007
2026
|
idempotentHint: true;
|
|
2027
|
+
openWorldHint: true;
|
|
2008
2028
|
};
|
|
2009
2029
|
execute(args: {
|
|
2010
2030
|
reminders: ({
|
|
@@ -2013,6 +2033,7 @@ declare const toolRegistry: {
|
|
|
2013
2033
|
minuteOffset?: number | undefined;
|
|
2014
2034
|
service?: "push" | "email" | undefined;
|
|
2015
2035
|
isUrgent?: boolean | undefined;
|
|
2036
|
+
notifyUser?: string | undefined;
|
|
2016
2037
|
} | {
|
|
2017
2038
|
type: "absolute";
|
|
2018
2039
|
id: string;
|
|
@@ -2024,6 +2045,7 @@ declare const toolRegistry: {
|
|
|
2024
2045
|
} | undefined;
|
|
2025
2046
|
service?: "push" | "email" | undefined;
|
|
2026
2047
|
isUrgent?: boolean | undefined;
|
|
2048
|
+
notifyUser?: string | undefined;
|
|
2027
2049
|
} | {
|
|
2028
2050
|
type: "location";
|
|
2029
2051
|
id: string;
|
|
@@ -2032,6 +2054,7 @@ declare const toolRegistry: {
|
|
|
2032
2054
|
locLong?: string | undefined;
|
|
2033
2055
|
locTrigger?: "on_enter" | "on_leave" | undefined;
|
|
2034
2056
|
radius?: number | undefined;
|
|
2057
|
+
notifyUser?: string | undefined;
|
|
2035
2058
|
})[];
|
|
2036
2059
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2037
2060
|
textContent: string;
|
|
@@ -2049,6 +2072,7 @@ declare const toolRegistry: {
|
|
|
2049
2072
|
id: string;
|
|
2050
2073
|
taskId: string;
|
|
2051
2074
|
type: "location" | "absolute" | "relative";
|
|
2075
|
+
notifyUid: string;
|
|
2052
2076
|
} | {
|
|
2053
2077
|
due: {
|
|
2054
2078
|
isRecurring: boolean;
|
|
@@ -2061,6 +2085,7 @@ declare const toolRegistry: {
|
|
|
2061
2085
|
id: string;
|
|
2062
2086
|
taskId: string;
|
|
2063
2087
|
type: "location" | "absolute" | "relative";
|
|
2088
|
+
notifyUid: string;
|
|
2064
2089
|
} | {
|
|
2065
2090
|
name: string;
|
|
2066
2091
|
locLat: string;
|
|
@@ -2070,6 +2095,7 @@ declare const toolRegistry: {
|
|
|
2070
2095
|
id: string;
|
|
2071
2096
|
taskId: string;
|
|
2072
2097
|
type: "location" | "absolute" | "relative";
|
|
2098
|
+
notifyUid: string;
|
|
2073
2099
|
})[];
|
|
2074
2100
|
totalCount: number;
|
|
2075
2101
|
updatedReminderIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAgEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAgEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
@@ -12,6 +12,7 @@ declare const addReminders: {
|
|
|
12
12
|
email: "email";
|
|
13
13
|
}>>;
|
|
14
14
|
isUrgent: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
15
16
|
}, z.core.$strip>, z.ZodObject<{
|
|
16
17
|
type: z.ZodLiteral<"absolute">;
|
|
17
18
|
taskId: z.ZodString;
|
|
@@ -26,6 +27,7 @@ declare const addReminders: {
|
|
|
26
27
|
email: "email";
|
|
27
28
|
}>>;
|
|
28
29
|
isUrgent: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
29
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
32
|
type: z.ZodLiteral<"location">;
|
|
31
33
|
taskId: z.ZodString;
|
|
@@ -37,6 +39,7 @@ declare const addReminders: {
|
|
|
37
39
|
on_leave: "on_leave";
|
|
38
40
|
}>;
|
|
39
41
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
40
43
|
}, z.core.$strip>], "type">>;
|
|
41
44
|
};
|
|
42
45
|
outputSchema: {
|
|
@@ -48,6 +51,7 @@ declare const addReminders: {
|
|
|
48
51
|
absolute: "absolute";
|
|
49
52
|
relative: "relative";
|
|
50
53
|
}>;
|
|
54
|
+
notifyUid: z.ZodOptional<z.ZodString>;
|
|
51
55
|
minuteOffset: z.ZodOptional<z.ZodNumber>;
|
|
52
56
|
due: z.ZodOptional<z.ZodObject<{
|
|
53
57
|
isRecurring: z.ZodBoolean;
|
|
@@ -73,6 +77,7 @@ declare const addReminders: {
|
|
|
73
77
|
readOnlyHint: false;
|
|
74
78
|
destructiveHint: false;
|
|
75
79
|
idempotentHint: false;
|
|
80
|
+
openWorldHint: true;
|
|
76
81
|
};
|
|
77
82
|
execute(args: {
|
|
78
83
|
reminders: ({
|
|
@@ -81,6 +86,7 @@ declare const addReminders: {
|
|
|
81
86
|
minuteOffset: number;
|
|
82
87
|
service?: "push" | "email" | undefined;
|
|
83
88
|
isUrgent?: boolean | undefined;
|
|
89
|
+
notifyUser?: string | undefined;
|
|
84
90
|
} | {
|
|
85
91
|
type: "absolute";
|
|
86
92
|
taskId: string;
|
|
@@ -92,6 +98,7 @@ declare const addReminders: {
|
|
|
92
98
|
};
|
|
93
99
|
service?: "push" | "email" | undefined;
|
|
94
100
|
isUrgent?: boolean | undefined;
|
|
101
|
+
notifyUser?: string | undefined;
|
|
95
102
|
} | {
|
|
96
103
|
type: "location";
|
|
97
104
|
taskId: string;
|
|
@@ -100,6 +107,7 @@ declare const addReminders: {
|
|
|
100
107
|
locLong: string;
|
|
101
108
|
locTrigger: "on_enter" | "on_leave";
|
|
102
109
|
radius?: number | undefined;
|
|
110
|
+
notifyUser?: string | undefined;
|
|
103
111
|
})[];
|
|
104
112
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
105
113
|
textContent: string;
|
|
@@ -117,6 +125,7 @@ declare const addReminders: {
|
|
|
117
125
|
id: string;
|
|
118
126
|
taskId: string;
|
|
119
127
|
type: "location" | "absolute" | "relative";
|
|
128
|
+
notifyUid: string;
|
|
120
129
|
} | {
|
|
121
130
|
due: {
|
|
122
131
|
isRecurring: boolean;
|
|
@@ -129,6 +138,7 @@ declare const addReminders: {
|
|
|
129
138
|
id: string;
|
|
130
139
|
taskId: string;
|
|
131
140
|
type: "location" | "absolute" | "relative";
|
|
141
|
+
notifyUid: string;
|
|
132
142
|
} | {
|
|
133
143
|
name: string;
|
|
134
144
|
locLat: string;
|
|
@@ -138,6 +148,7 @@ declare const addReminders: {
|
|
|
138
148
|
id: string;
|
|
139
149
|
taskId: string;
|
|
140
150
|
type: "location" | "absolute" | "relative";
|
|
151
|
+
notifyUid: string;
|
|
141
152
|
})[];
|
|
142
153
|
totalCount: number;
|
|
143
154
|
addedReminderIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/add-reminders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/add-reminders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqFvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsE6C,CAAA;AAkB/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkEvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkEvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D6C,CAAA;AA6I/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -16,6 +16,7 @@ declare const findReminders: {
|
|
|
16
16
|
absolute: "absolute";
|
|
17
17
|
relative: "relative";
|
|
18
18
|
}>;
|
|
19
|
+
notifyUid: z.ZodOptional<z.ZodString>;
|
|
19
20
|
minuteOffset: z.ZodOptional<z.ZodNumber>;
|
|
20
21
|
due: z.ZodOptional<z.ZodObject<{
|
|
21
22
|
isRecurring: z.ZodBoolean;
|
|
@@ -63,6 +64,7 @@ declare const findReminders: {
|
|
|
63
64
|
id: string;
|
|
64
65
|
taskId: string;
|
|
65
66
|
type: "location" | "absolute" | "relative";
|
|
67
|
+
notifyUid: string;
|
|
66
68
|
} | {
|
|
67
69
|
due: {
|
|
68
70
|
isRecurring: boolean;
|
|
@@ -75,6 +77,7 @@ declare const findReminders: {
|
|
|
75
77
|
id: string;
|
|
76
78
|
taskId: string;
|
|
77
79
|
type: "location" | "absolute" | "relative";
|
|
80
|
+
notifyUid: string;
|
|
78
81
|
} | {
|
|
79
82
|
name: string;
|
|
80
83
|
locLat: string;
|
|
@@ -84,6 +87,7 @@ declare const findReminders: {
|
|
|
84
87
|
id: string;
|
|
85
88
|
taskId: string;
|
|
86
89
|
type: "location" | "absolute" | "relative";
|
|
90
|
+
notifyUid: string;
|
|
87
91
|
})[];
|
|
88
92
|
searchType: string;
|
|
89
93
|
searchId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/find-reminders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkCvB,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"find-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/find-reminders.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkCvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF4C,CAAA;AAsB/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -12,6 +12,7 @@ declare const updateReminders: {
|
|
|
12
12
|
email: "email";
|
|
13
13
|
}>>;
|
|
14
14
|
isUrgent: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
15
16
|
}, z.core.$strip>, z.ZodObject<{
|
|
16
17
|
type: z.ZodLiteral<"absolute">;
|
|
17
18
|
id: z.ZodString;
|
|
@@ -26,6 +27,7 @@ declare const updateReminders: {
|
|
|
26
27
|
email: "email";
|
|
27
28
|
}>>;
|
|
28
29
|
isUrgent: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
29
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
32
|
type: z.ZodLiteral<"location">;
|
|
31
33
|
id: z.ZodString;
|
|
@@ -37,6 +39,7 @@ declare const updateReminders: {
|
|
|
37
39
|
on_leave: "on_leave";
|
|
38
40
|
}>>;
|
|
39
41
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
40
43
|
}, z.core.$strip>], "type">>;
|
|
41
44
|
};
|
|
42
45
|
outputSchema: {
|
|
@@ -48,6 +51,7 @@ declare const updateReminders: {
|
|
|
48
51
|
absolute: "absolute";
|
|
49
52
|
relative: "relative";
|
|
50
53
|
}>;
|
|
54
|
+
notifyUid: z.ZodOptional<z.ZodString>;
|
|
51
55
|
minuteOffset: z.ZodOptional<z.ZodNumber>;
|
|
52
56
|
due: z.ZodOptional<z.ZodObject<{
|
|
53
57
|
isRecurring: z.ZodBoolean;
|
|
@@ -73,6 +77,7 @@ declare const updateReminders: {
|
|
|
73
77
|
readOnlyHint: false;
|
|
74
78
|
destructiveHint: true;
|
|
75
79
|
idempotentHint: true;
|
|
80
|
+
openWorldHint: true;
|
|
76
81
|
};
|
|
77
82
|
execute(args: {
|
|
78
83
|
reminders: ({
|
|
@@ -81,6 +86,7 @@ declare const updateReminders: {
|
|
|
81
86
|
minuteOffset?: number | undefined;
|
|
82
87
|
service?: "push" | "email" | undefined;
|
|
83
88
|
isUrgent?: boolean | undefined;
|
|
89
|
+
notifyUser?: string | undefined;
|
|
84
90
|
} | {
|
|
85
91
|
type: "absolute";
|
|
86
92
|
id: string;
|
|
@@ -92,6 +98,7 @@ declare const updateReminders: {
|
|
|
92
98
|
} | undefined;
|
|
93
99
|
service?: "push" | "email" | undefined;
|
|
94
100
|
isUrgent?: boolean | undefined;
|
|
101
|
+
notifyUser?: string | undefined;
|
|
95
102
|
} | {
|
|
96
103
|
type: "location";
|
|
97
104
|
id: string;
|
|
@@ -100,6 +107,7 @@ declare const updateReminders: {
|
|
|
100
107
|
locLong?: string | undefined;
|
|
101
108
|
locTrigger?: "on_enter" | "on_leave" | undefined;
|
|
102
109
|
radius?: number | undefined;
|
|
110
|
+
notifyUser?: string | undefined;
|
|
103
111
|
})[];
|
|
104
112
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
105
113
|
textContent: string;
|
|
@@ -117,6 +125,7 @@ declare const updateReminders: {
|
|
|
117
125
|
id: string;
|
|
118
126
|
taskId: string;
|
|
119
127
|
type: "location" | "absolute" | "relative";
|
|
128
|
+
notifyUid: string;
|
|
120
129
|
} | {
|
|
121
130
|
due: {
|
|
122
131
|
isRecurring: boolean;
|
|
@@ -129,6 +138,7 @@ declare const updateReminders: {
|
|
|
129
138
|
id: string;
|
|
130
139
|
taskId: string;
|
|
131
140
|
type: "location" | "absolute" | "relative";
|
|
141
|
+
notifyUid: string;
|
|
132
142
|
} | {
|
|
133
143
|
name: string;
|
|
134
144
|
locLat: string;
|
|
@@ -138,6 +148,7 @@ declare const updateReminders: {
|
|
|
138
148
|
id: string;
|
|
139
149
|
taskId: string;
|
|
140
150
|
type: "location" | "absolute" | "relative";
|
|
151
|
+
notifyUid: string;
|
|
141
152
|
})[];
|
|
142
153
|
totalCount: number;
|
|
143
154
|
updatedReminderIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/update-reminders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/update-reminders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4EvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE0C,CAAA;AAE/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -178,6 +178,7 @@ declare const ReminderSchema: z.ZodObject<{
|
|
|
178
178
|
absolute: "absolute";
|
|
179
179
|
relative: "relative";
|
|
180
180
|
}>;
|
|
181
|
+
notifyUid: z.ZodOptional<z.ZodString>;
|
|
181
182
|
minuteOffset: z.ZodOptional<z.ZodNumber>;
|
|
182
183
|
due: z.ZodOptional<z.ZodObject<{
|
|
183
184
|
isRecurring: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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CAAC,CAAA;AAEnD;;;;;GAKG;AACH,iBAAS,gBAAgB,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,OAAO,GAAG,cAAc,CAE1F;AAoBD;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;iBAYjB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB;;;;;;;;;;iBAUvB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,kBAAkB;;;;iBAItB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMf,CAAA;AAaF;;GAEG;AACH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;iBAalB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,aAAa;;;;iBAIjB,CAAA;AAEF,OAAO,EACH,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,cAAc,EACd,aAAa,EACb,KAAK,cAAc,EACnB,UAAU,EACV,gBAAgB,GACnB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* Resolve each reminder's `notifyUser` reference to a user ID.
|
|
4
|
+
*
|
|
5
|
+
* The result lines up with the input, with `undefined` wherever no reference
|
|
6
|
+
* was given, so the reminder keeps Todoist's default of notifying its creator.
|
|
7
|
+
*
|
|
8
|
+
* @throws Error naming the first reference that could not be resolved
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveReminderRecipients(client: TodoistApi, notifyUsers: (string | undefined)[]): Promise<(string | undefined)[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Warn about every reminder that notifies someone other than the user it was
|
|
13
|
+
* meant for, which happens when Todoist does not apply the requested recipient.
|
|
14
|
+
* Without this, the tool would report success while the reminder silently
|
|
15
|
+
* reaches the wrong person.
|
|
16
|
+
*/
|
|
17
|
+
export declare function describeRecipientMismatches(reminders: {
|
|
18
|
+
id: string;
|
|
19
|
+
notifyUid?: string;
|
|
20
|
+
}[], requestedUserIds: (string | undefined)[]): string[];
|
|
21
|
+
//# sourceMappingURL=reminder-recipients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reminder-recipients.d.ts","sourceRoot":"","sources":["../../src/utils/reminder-recipients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAGpD;;;;;;;GAOG;AACH,wBAAsB,yBAAyB,CAC3C,MAAM,EAAE,UAAU,EAClB,WAAW,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACpC,OAAO,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAmBjC;AAMD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,SAAS,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EAC/C,gBAAgB,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACzC,MAAM,EAAE,CAQV"}
|
|
@@ -30,4 +30,12 @@ export declare const LocationTriggerSchema: z.ZodEnum<{
|
|
|
30
30
|
* Shared schema for the isUrgent flag on time-based reminders (relative and absolute).
|
|
31
31
|
*/
|
|
32
32
|
export declare const ReminderIsUrgentSchema: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
/**
|
|
34
|
+
* Shared schema for who receives a new reminder. Without it, Todoist reminds the user creating it.
|
|
35
|
+
*/
|
|
36
|
+
export declare const ReminderNotifyUserSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
37
|
+
/**
|
|
38
|
+
* Shared schema for a new recipient of an existing reminder. Without it, the recipient is kept.
|
|
39
|
+
*/
|
|
40
|
+
export declare const ReminderNotifyUserUpdateSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
33
41
|
//# sourceMappingURL=reminder-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminder-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/reminder-schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"reminder-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/reminder-schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;GAEG;AACH,eAAO,MAAM,2BAA2B,KAAK,CAAA;AAE7C;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;EAAqC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;iBAKjC,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;EAA4B,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,sBAAsB,6BAG6D,CAAA;AAKhG;;GAEG;AACH,eAAO,MAAM,wBAAwB,mFAEpC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,mFAE1C,CAAA"}
|