@doist/todoist-ai 4.17.4 → 5.0.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 CHANGED
@@ -73,7 +73,7 @@ declare const tools: {
73
73
  dueDate: import('zod').ZodOptional<import('zod').ZodString>;
74
74
  recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
75
75
  deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
76
- priority: import('zod').ZodNumber;
76
+ priority: import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>;
77
77
  projectId: import('zod').ZodString;
78
78
  sectionId: import('zod').ZodOptional<import('zod').ZodString>;
79
79
  parentId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -89,7 +89,7 @@ declare const tools: {
89
89
  id: string;
90
90
  projectId: string;
91
91
  checked: boolean;
92
- priority: number;
92
+ priority: "p1" | "p2" | "p3" | "p4";
93
93
  recurring: string | boolean;
94
94
  parentId?: string | undefined;
95
95
  sectionId?: string | undefined;
@@ -106,7 +106,7 @@ declare const tools: {
106
106
  id: string;
107
107
  projectId: string;
108
108
  checked: boolean;
109
- priority: number;
109
+ priority: "p1" | "p2" | "p3" | "p4";
110
110
  recurring: string | boolean;
111
111
  parentId?: string | undefined;
112
112
  sectionId?: string | undefined;
@@ -144,7 +144,7 @@ declare const tools: {
144
144
  dueDate: string | undefined;
145
145
  recurring: string | boolean;
146
146
  deadlineDate: string | undefined;
147
- priority: number;
147
+ priority: "p1" | "p2" | "p3" | "p4";
148
148
  projectId: string;
149
149
  sectionId: string | undefined;
150
150
  parentId: string | undefined;
@@ -257,7 +257,7 @@ declare const tools: {
257
257
  dueDate: import('zod').ZodOptional<import('zod').ZodString>;
258
258
  recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
259
259
  deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
260
- priority: import('zod').ZodNumber;
260
+ priority: import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>;
261
261
  projectId: import('zod').ZodString;
262
262
  sectionId: import('zod').ZodOptional<import('zod').ZodString>;
263
263
  parentId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -273,7 +273,7 @@ declare const tools: {
273
273
  id: string;
274
274
  projectId: string;
275
275
  checked: boolean;
276
- priority: number;
276
+ priority: "p1" | "p2" | "p3" | "p4";
277
277
  recurring: string | boolean;
278
278
  parentId?: string | undefined;
279
279
  sectionId?: string | undefined;
@@ -290,7 +290,7 @@ declare const tools: {
290
290
  id: string;
291
291
  projectId: string;
292
292
  checked: boolean;
293
- priority: number;
293
+ priority: "p1" | "p2" | "p3" | "p4";
294
294
  recurring: string | boolean;
295
295
  parentId?: string | undefined;
296
296
  sectionId?: string | undefined;
@@ -341,7 +341,7 @@ declare const tools: {
341
341
  dueDate: string | undefined;
342
342
  recurring: string | boolean;
343
343
  deadlineDate: string | undefined;
344
- priority: number;
344
+ priority: "p1" | "p2" | "p3" | "p4";
345
345
  projectId: string;
346
346
  sectionId: string | undefined;
347
347
  parentId: string | undefined;
@@ -384,7 +384,7 @@ declare const tools: {
384
384
  dueDate: import('zod').ZodOptional<import('zod').ZodString>;
385
385
  recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
386
386
  deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
387
- priority: import('zod').ZodNumber;
387
+ priority: import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>;
388
388
  projectId: import('zod').ZodString;
389
389
  sectionId: import('zod').ZodOptional<import('zod').ZodString>;
390
390
  parentId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -400,7 +400,7 @@ declare const tools: {
400
400
  id: string;
401
401
  projectId: string;
402
402
  checked: boolean;
403
- priority: number;
403
+ priority: "p1" | "p2" | "p3" | "p4";
404
404
  recurring: string | boolean;
405
405
  parentId?: string | undefined;
406
406
  sectionId?: string | undefined;
@@ -417,7 +417,7 @@ declare const tools: {
417
417
  id: string;
418
418
  projectId: string;
419
419
  checked: boolean;
420
- priority: number;
420
+ priority: "p1" | "p2" | "p3" | "p4";
421
421
  recurring: string | boolean;
422
422
  parentId?: string | undefined;
423
423
  sectionId?: string | undefined;
@@ -455,7 +455,7 @@ declare const tools: {
455
455
  dueDate: string | undefined;
456
456
  recurring: string | boolean;
457
457
  deadlineDate: string | undefined;
458
- priority: number;
458
+ priority: "p1" | "p2" | "p3" | "p4";
459
459
  projectId: string;
460
460
  sectionId: string | undefined;
461
461
  parentId: string | undefined;
@@ -506,7 +506,7 @@ declare const tools: {
506
506
  dueDate: import('zod').ZodOptional<import('zod').ZodString>;
507
507
  recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
508
508
  deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
509
- priority: import('zod').ZodNumber;
509
+ priority: import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>;
510
510
  projectId: import('zod').ZodString;
511
511
  sectionId: import('zod').ZodOptional<import('zod').ZodString>;
512
512
  parentId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -522,7 +522,7 @@ declare const tools: {
522
522
  id: string;
523
523
  projectId: string;
524
524
  checked: boolean;
525
- priority: number;
525
+ priority: "p1" | "p2" | "p3" | "p4";
526
526
  recurring: string | boolean;
527
527
  parentId?: string | undefined;
528
528
  sectionId?: string | undefined;
@@ -539,7 +539,7 @@ declare const tools: {
539
539
  id: string;
540
540
  projectId: string;
541
541
  checked: boolean;
542
- priority: number;
542
+ priority: "p1" | "p2" | "p3" | "p4";
543
543
  recurring: string | boolean;
544
544
  parentId?: string | undefined;
545
545
  sectionId?: string | undefined;
@@ -576,7 +576,7 @@ declare const tools: {
576
576
  dueDate: string | undefined;
577
577
  recurring: string | boolean;
578
578
  deadlineDate: string | undefined;
579
- priority: number;
579
+ priority: "p1" | "p2" | "p3" | "p4";
580
580
  projectId: string;
581
581
  sectionId: string | undefined;
582
582
  parentId: string | undefined;
@@ -629,7 +629,7 @@ declare const tools: {
629
629
  dueDate: import('zod').ZodOptional<import('zod').ZodString>;
630
630
  recurring: import('zod').ZodUnion<[import('zod').ZodBoolean, import('zod').ZodString]>;
631
631
  deadlineDate: import('zod').ZodOptional<import('zod').ZodString>;
632
- priority: import('zod').ZodNumber;
632
+ priority: import('zod').ZodEnum<["p1", "p2", "p3", "p4"]>;
633
633
  projectId: import('zod').ZodString;
634
634
  sectionId: import('zod').ZodOptional<import('zod').ZodString>;
635
635
  parentId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -645,7 +645,7 @@ declare const tools: {
645
645
  id: string;
646
646
  projectId: string;
647
647
  checked: boolean;
648
- priority: number;
648
+ priority: "p1" | "p2" | "p3" | "p4";
649
649
  recurring: string | boolean;
650
650
  parentId?: string | undefined;
651
651
  sectionId?: string | undefined;
@@ -662,7 +662,7 @@ declare const tools: {
662
662
  id: string;
663
663
  projectId: string;
664
664
  checked: boolean;
665
- priority: number;
665
+ priority: "p1" | "p2" | "p3" | "p4";
666
666
  recurring: string | boolean;
667
667
  parentId?: string | undefined;
668
668
  sectionId?: string | undefined;
@@ -702,7 +702,7 @@ declare const tools: {
702
702
  dueDate: string | undefined;
703
703
  recurring: string | boolean;
704
704
  deadlineDate: string | undefined;
705
- priority: number;
705
+ priority: "p1" | "p2" | "p3" | "p4";
706
706
  projectId: string;
707
707
  sectionId: string | undefined;
708
708
  parentId: string | undefined;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as s, s as a, m as e, a as t, u as o, d, b as n, c as i, e as r, h as c, i as m, j as f, k as p, l as k, n as l, o as j, p as u, q as T, r as g, t as v, v as C, w as P, x as S } from "./mcp-server-Dmes0pXt.js";
2
- import { g as y } from "./mcp-server-Dmes0pXt.js";
1
+ import { f as s, s as a, m as e, a as t, u as o, d, b as n, c as i, e as r, h as c, i as m, j as f, k as p, l as k, n as l, o as j, p as u, q as T, r as g, t as v, v as C, w as P, x as S } from "./mcp-server-CLyVslzE.js";
2
+ import { g as y } from "./mcp-server-CLyVslzE.js";
3
3
  const h = {
4
4
  // Task management tools
5
5
  addTasks: S,
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { StdioServerTransport as s } from "@modelcontextprotocol/sdk/server/stdio.js";
3
3
  import c from "dotenv";
4
- import { g as i } from "./mcp-server-Dmes0pXt.js";
4
+ import { g as i } from "./mcp-server-CLyVslzE.js";
5
5
  function p() {
6
6
  const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
7
7
  if (!r)