@doist/todoist-ai 5.1.0 → 5.1.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 +18 -18
- package/dist/tools/add-comments.d.ts +4 -4
- package/dist/tools/find-comments.d.ts +4 -4
- package/dist/tools/find-completed-tasks.d.ts +2 -2
- package/dist/tools/find-tasks-by-date.d.ts +2 -2
- package/dist/tools/find-tasks.d.ts +2 -2
- package/dist/tools/update-comments.d.ts +4 -4
- package/dist/utils/output-schemas.d.ts +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -447,7 +447,7 @@ declare const tools: {
|
|
|
447
447
|
sectionId?: string | undefined;
|
|
448
448
|
labels?: string[] | undefined;
|
|
449
449
|
responsibleUser?: string | undefined;
|
|
450
|
-
labelsOperator?: "
|
|
450
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
451
451
|
searchText?: string | undefined;
|
|
452
452
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
453
453
|
textContent: string;
|
|
@@ -482,7 +482,7 @@ declare const tools: {
|
|
|
482
482
|
sectionId?: string | undefined;
|
|
483
483
|
labels?: string[] | undefined;
|
|
484
484
|
responsibleUser?: string | undefined;
|
|
485
|
-
labelsOperator?: "
|
|
485
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
486
486
|
searchText?: string | undefined;
|
|
487
487
|
};
|
|
488
488
|
};
|
|
@@ -568,7 +568,7 @@ declare const tools: {
|
|
|
568
568
|
cursor?: string | undefined;
|
|
569
569
|
labels?: string[] | undefined;
|
|
570
570
|
responsibleUser?: string | undefined;
|
|
571
|
-
labelsOperator?: "
|
|
571
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
572
572
|
startDate?: string | undefined;
|
|
573
573
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
574
574
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
@@ -602,7 +602,7 @@ declare const tools: {
|
|
|
602
602
|
cursor?: string | undefined;
|
|
603
603
|
labels?: string[] | undefined;
|
|
604
604
|
responsibleUser?: string | undefined;
|
|
605
|
-
labelsOperator?: "
|
|
605
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
606
606
|
startDate?: string | undefined;
|
|
607
607
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
608
608
|
};
|
|
@@ -697,7 +697,7 @@ declare const tools: {
|
|
|
697
697
|
sectionId?: string | undefined;
|
|
698
698
|
labels?: string[] | undefined;
|
|
699
699
|
responsibleUser?: string | undefined;
|
|
700
|
-
labelsOperator?: "
|
|
700
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
701
701
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
702
702
|
textContent: string;
|
|
703
703
|
structuredContent: {
|
|
@@ -734,7 +734,7 @@ declare const tools: {
|
|
|
734
734
|
sectionId?: string | undefined;
|
|
735
735
|
labels?: string[] | undefined;
|
|
736
736
|
responsibleUser?: string | undefined;
|
|
737
|
-
labelsOperator?: "
|
|
737
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
738
738
|
};
|
|
739
739
|
};
|
|
740
740
|
}>;
|
|
@@ -1249,7 +1249,6 @@ declare const tools: {
|
|
|
1249
1249
|
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1250
1250
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1251
1251
|
resourceType: string;
|
|
1252
|
-
image?: string | undefined;
|
|
1253
1252
|
title?: string | undefined;
|
|
1254
1253
|
fileName?: string | undefined;
|
|
1255
1254
|
fileSize?: number | undefined;
|
|
@@ -1257,12 +1256,12 @@ declare const tools: {
|
|
|
1257
1256
|
fileUrl?: string | undefined;
|
|
1258
1257
|
fileDuration?: number | undefined;
|
|
1259
1258
|
uploadState?: "pending" | "completed" | undefined;
|
|
1259
|
+
image?: string | undefined;
|
|
1260
1260
|
imageWidth?: number | undefined;
|
|
1261
1261
|
imageHeight?: number | undefined;
|
|
1262
1262
|
url?: string | undefined;
|
|
1263
1263
|
}, {
|
|
1264
1264
|
resourceType: string;
|
|
1265
|
-
image?: string | undefined;
|
|
1266
1265
|
title?: string | undefined;
|
|
1267
1266
|
fileName?: string | undefined;
|
|
1268
1267
|
fileSize?: number | undefined;
|
|
@@ -1270,6 +1269,7 @@ declare const tools: {
|
|
|
1270
1269
|
fileUrl?: string | undefined;
|
|
1271
1270
|
fileDuration?: number | undefined;
|
|
1272
1271
|
uploadState?: "pending" | "completed" | undefined;
|
|
1272
|
+
image?: string | undefined;
|
|
1273
1273
|
imageWidth?: number | undefined;
|
|
1274
1274
|
imageHeight?: number | undefined;
|
|
1275
1275
|
url?: string | undefined;
|
|
@@ -1281,7 +1281,6 @@ declare const tools: {
|
|
|
1281
1281
|
projectId?: string | undefined;
|
|
1282
1282
|
fileAttachment?: {
|
|
1283
1283
|
resourceType: string;
|
|
1284
|
-
image?: string | undefined;
|
|
1285
1284
|
title?: string | undefined;
|
|
1286
1285
|
fileName?: string | undefined;
|
|
1287
1286
|
fileSize?: number | undefined;
|
|
@@ -1289,6 +1288,7 @@ declare const tools: {
|
|
|
1289
1288
|
fileUrl?: string | undefined;
|
|
1290
1289
|
fileDuration?: number | undefined;
|
|
1291
1290
|
uploadState?: "pending" | "completed" | undefined;
|
|
1291
|
+
image?: string | undefined;
|
|
1292
1292
|
imageWidth?: number | undefined;
|
|
1293
1293
|
imageHeight?: number | undefined;
|
|
1294
1294
|
url?: string | undefined;
|
|
@@ -1302,7 +1302,6 @@ declare const tools: {
|
|
|
1302
1302
|
projectId?: string | undefined;
|
|
1303
1303
|
fileAttachment?: {
|
|
1304
1304
|
resourceType: string;
|
|
1305
|
-
image?: string | undefined;
|
|
1306
1305
|
title?: string | undefined;
|
|
1307
1306
|
fileName?: string | undefined;
|
|
1308
1307
|
fileSize?: number | undefined;
|
|
@@ -1310,6 +1309,7 @@ declare const tools: {
|
|
|
1310
1309
|
fileUrl?: string | undefined;
|
|
1311
1310
|
fileDuration?: number | undefined;
|
|
1312
1311
|
uploadState?: "pending" | "completed" | undefined;
|
|
1312
|
+
image?: string | undefined;
|
|
1313
1313
|
imageWidth?: number | undefined;
|
|
1314
1314
|
imageHeight?: number | undefined;
|
|
1315
1315
|
url?: string | undefined;
|
|
@@ -1395,7 +1395,6 @@ declare const tools: {
|
|
|
1395
1395
|
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1396
1396
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1397
1397
|
resourceType: string;
|
|
1398
|
-
image?: string | undefined;
|
|
1399
1398
|
title?: string | undefined;
|
|
1400
1399
|
fileName?: string | undefined;
|
|
1401
1400
|
fileSize?: number | undefined;
|
|
@@ -1403,12 +1402,12 @@ declare const tools: {
|
|
|
1403
1402
|
fileUrl?: string | undefined;
|
|
1404
1403
|
fileDuration?: number | undefined;
|
|
1405
1404
|
uploadState?: "pending" | "completed" | undefined;
|
|
1405
|
+
image?: string | undefined;
|
|
1406
1406
|
imageWidth?: number | undefined;
|
|
1407
1407
|
imageHeight?: number | undefined;
|
|
1408
1408
|
url?: string | undefined;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
resourceType: string;
|
|
1411
|
-
image?: string | undefined;
|
|
1412
1411
|
title?: string | undefined;
|
|
1413
1412
|
fileName?: string | undefined;
|
|
1414
1413
|
fileSize?: number | undefined;
|
|
@@ -1416,6 +1415,7 @@ declare const tools: {
|
|
|
1416
1415
|
fileUrl?: string | undefined;
|
|
1417
1416
|
fileDuration?: number | undefined;
|
|
1418
1417
|
uploadState?: "pending" | "completed" | undefined;
|
|
1418
|
+
image?: string | undefined;
|
|
1419
1419
|
imageWidth?: number | undefined;
|
|
1420
1420
|
imageHeight?: number | undefined;
|
|
1421
1421
|
url?: string | undefined;
|
|
@@ -1427,7 +1427,6 @@ declare const tools: {
|
|
|
1427
1427
|
projectId?: string | undefined;
|
|
1428
1428
|
fileAttachment?: {
|
|
1429
1429
|
resourceType: string;
|
|
1430
|
-
image?: string | undefined;
|
|
1431
1430
|
title?: string | undefined;
|
|
1432
1431
|
fileName?: string | undefined;
|
|
1433
1432
|
fileSize?: number | undefined;
|
|
@@ -1435,6 +1434,7 @@ declare const tools: {
|
|
|
1435
1434
|
fileUrl?: string | undefined;
|
|
1436
1435
|
fileDuration?: number | undefined;
|
|
1437
1436
|
uploadState?: "pending" | "completed" | undefined;
|
|
1437
|
+
image?: string | undefined;
|
|
1438
1438
|
imageWidth?: number | undefined;
|
|
1439
1439
|
imageHeight?: number | undefined;
|
|
1440
1440
|
url?: string | undefined;
|
|
@@ -1448,7 +1448,6 @@ declare const tools: {
|
|
|
1448
1448
|
projectId?: string | undefined;
|
|
1449
1449
|
fileAttachment?: {
|
|
1450
1450
|
resourceType: string;
|
|
1451
|
-
image?: string | undefined;
|
|
1452
1451
|
title?: string | undefined;
|
|
1453
1452
|
fileName?: string | undefined;
|
|
1454
1453
|
fileSize?: number | undefined;
|
|
@@ -1456,6 +1455,7 @@ declare const tools: {
|
|
|
1456
1455
|
fileUrl?: string | undefined;
|
|
1457
1456
|
fileDuration?: number | undefined;
|
|
1458
1457
|
uploadState?: "pending" | "completed" | undefined;
|
|
1458
|
+
image?: string | undefined;
|
|
1459
1459
|
imageWidth?: number | undefined;
|
|
1460
1460
|
imageHeight?: number | undefined;
|
|
1461
1461
|
url?: string | undefined;
|
|
@@ -1545,7 +1545,6 @@ declare const tools: {
|
|
|
1545
1545
|
imageHeight: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1546
1546
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1547
1547
|
resourceType: string;
|
|
1548
|
-
image?: string | undefined;
|
|
1549
1548
|
title?: string | undefined;
|
|
1550
1549
|
fileName?: string | undefined;
|
|
1551
1550
|
fileSize?: number | undefined;
|
|
@@ -1553,12 +1552,12 @@ declare const tools: {
|
|
|
1553
1552
|
fileUrl?: string | undefined;
|
|
1554
1553
|
fileDuration?: number | undefined;
|
|
1555
1554
|
uploadState?: "pending" | "completed" | undefined;
|
|
1555
|
+
image?: string | undefined;
|
|
1556
1556
|
imageWidth?: number | undefined;
|
|
1557
1557
|
imageHeight?: number | undefined;
|
|
1558
1558
|
url?: string | undefined;
|
|
1559
1559
|
}, {
|
|
1560
1560
|
resourceType: string;
|
|
1561
|
-
image?: string | undefined;
|
|
1562
1561
|
title?: string | undefined;
|
|
1563
1562
|
fileName?: string | undefined;
|
|
1564
1563
|
fileSize?: number | undefined;
|
|
@@ -1566,6 +1565,7 @@ declare const tools: {
|
|
|
1566
1565
|
fileUrl?: string | undefined;
|
|
1567
1566
|
fileDuration?: number | undefined;
|
|
1568
1567
|
uploadState?: "pending" | "completed" | undefined;
|
|
1568
|
+
image?: string | undefined;
|
|
1569
1569
|
imageWidth?: number | undefined;
|
|
1570
1570
|
imageHeight?: number | undefined;
|
|
1571
1571
|
url?: string | undefined;
|
|
@@ -1577,7 +1577,6 @@ declare const tools: {
|
|
|
1577
1577
|
projectId?: string | undefined;
|
|
1578
1578
|
fileAttachment?: {
|
|
1579
1579
|
resourceType: string;
|
|
1580
|
-
image?: string | undefined;
|
|
1581
1580
|
title?: string | undefined;
|
|
1582
1581
|
fileName?: string | undefined;
|
|
1583
1582
|
fileSize?: number | undefined;
|
|
@@ -1585,6 +1584,7 @@ declare const tools: {
|
|
|
1585
1584
|
fileUrl?: string | undefined;
|
|
1586
1585
|
fileDuration?: number | undefined;
|
|
1587
1586
|
uploadState?: "pending" | "completed" | undefined;
|
|
1587
|
+
image?: string | undefined;
|
|
1588
1588
|
imageWidth?: number | undefined;
|
|
1589
1589
|
imageHeight?: number | undefined;
|
|
1590
1590
|
url?: string | undefined;
|
|
@@ -1598,7 +1598,6 @@ declare const tools: {
|
|
|
1598
1598
|
projectId?: string | undefined;
|
|
1599
1599
|
fileAttachment?: {
|
|
1600
1600
|
resourceType: string;
|
|
1601
|
-
image?: string | undefined;
|
|
1602
1601
|
title?: string | undefined;
|
|
1603
1602
|
fileName?: string | undefined;
|
|
1604
1603
|
fileSize?: number | undefined;
|
|
@@ -1606,6 +1605,7 @@ declare const tools: {
|
|
|
1606
1605
|
fileUrl?: string | undefined;
|
|
1607
1606
|
fileDuration?: number | undefined;
|
|
1608
1607
|
uploadState?: "pending" | "completed" | undefined;
|
|
1608
|
+
image?: string | undefined;
|
|
1609
1609
|
imageWidth?: number | undefined;
|
|
1610
1610
|
imageHeight?: number | undefined;
|
|
1611
1611
|
url?: string | undefined;
|
|
@@ -40,7 +40,6 @@ declare const addComments: {
|
|
|
40
40
|
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
resourceType: string;
|
|
43
|
-
image?: string | undefined;
|
|
44
43
|
title?: string | undefined;
|
|
45
44
|
fileName?: string | undefined;
|
|
46
45
|
fileSize?: number | undefined;
|
|
@@ -48,12 +47,12 @@ declare const addComments: {
|
|
|
48
47
|
fileUrl?: string | undefined;
|
|
49
48
|
fileDuration?: number | undefined;
|
|
50
49
|
uploadState?: "pending" | "completed" | undefined;
|
|
50
|
+
image?: string | undefined;
|
|
51
51
|
imageWidth?: number | undefined;
|
|
52
52
|
imageHeight?: number | undefined;
|
|
53
53
|
url?: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
resourceType: string;
|
|
56
|
-
image?: string | undefined;
|
|
57
56
|
title?: string | undefined;
|
|
58
57
|
fileName?: string | undefined;
|
|
59
58
|
fileSize?: number | undefined;
|
|
@@ -61,6 +60,7 @@ declare const addComments: {
|
|
|
61
60
|
fileUrl?: string | undefined;
|
|
62
61
|
fileDuration?: number | undefined;
|
|
63
62
|
uploadState?: "pending" | "completed" | undefined;
|
|
63
|
+
image?: string | undefined;
|
|
64
64
|
imageWidth?: number | undefined;
|
|
65
65
|
imageHeight?: number | undefined;
|
|
66
66
|
url?: string | undefined;
|
|
@@ -72,7 +72,6 @@ declare const addComments: {
|
|
|
72
72
|
projectId?: string | undefined;
|
|
73
73
|
fileAttachment?: {
|
|
74
74
|
resourceType: string;
|
|
75
|
-
image?: string | undefined;
|
|
76
75
|
title?: string | undefined;
|
|
77
76
|
fileName?: string | undefined;
|
|
78
77
|
fileSize?: number | undefined;
|
|
@@ -80,6 +79,7 @@ declare const addComments: {
|
|
|
80
79
|
fileUrl?: string | undefined;
|
|
81
80
|
fileDuration?: number | undefined;
|
|
82
81
|
uploadState?: "pending" | "completed" | undefined;
|
|
82
|
+
image?: string | undefined;
|
|
83
83
|
imageWidth?: number | undefined;
|
|
84
84
|
imageHeight?: number | undefined;
|
|
85
85
|
url?: string | undefined;
|
|
@@ -93,7 +93,6 @@ declare const addComments: {
|
|
|
93
93
|
projectId?: string | undefined;
|
|
94
94
|
fileAttachment?: {
|
|
95
95
|
resourceType: string;
|
|
96
|
-
image?: string | undefined;
|
|
97
96
|
title?: string | undefined;
|
|
98
97
|
fileName?: string | undefined;
|
|
99
98
|
fileSize?: number | undefined;
|
|
@@ -101,6 +100,7 @@ declare const addComments: {
|
|
|
101
100
|
fileUrl?: string | undefined;
|
|
102
101
|
fileDuration?: number | undefined;
|
|
103
102
|
uploadState?: "pending" | "completed" | undefined;
|
|
103
|
+
image?: string | undefined;
|
|
104
104
|
imageWidth?: number | undefined;
|
|
105
105
|
imageHeight?: number | undefined;
|
|
106
106
|
url?: string | undefined;
|
|
@@ -32,7 +32,6 @@ declare const findComments: {
|
|
|
32
32
|
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
resourceType: string;
|
|
35
|
-
image?: string | undefined;
|
|
36
35
|
title?: string | undefined;
|
|
37
36
|
fileName?: string | undefined;
|
|
38
37
|
fileSize?: number | undefined;
|
|
@@ -40,12 +39,12 @@ declare const findComments: {
|
|
|
40
39
|
fileUrl?: string | undefined;
|
|
41
40
|
fileDuration?: number | undefined;
|
|
42
41
|
uploadState?: "pending" | "completed" | undefined;
|
|
42
|
+
image?: string | undefined;
|
|
43
43
|
imageWidth?: number | undefined;
|
|
44
44
|
imageHeight?: number | undefined;
|
|
45
45
|
url?: string | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
resourceType: string;
|
|
48
|
-
image?: string | undefined;
|
|
49
48
|
title?: string | undefined;
|
|
50
49
|
fileName?: string | undefined;
|
|
51
50
|
fileSize?: number | undefined;
|
|
@@ -53,6 +52,7 @@ declare const findComments: {
|
|
|
53
52
|
fileUrl?: string | undefined;
|
|
54
53
|
fileDuration?: number | undefined;
|
|
55
54
|
uploadState?: "pending" | "completed" | undefined;
|
|
55
|
+
image?: string | undefined;
|
|
56
56
|
imageWidth?: number | undefined;
|
|
57
57
|
imageHeight?: number | undefined;
|
|
58
58
|
url?: string | undefined;
|
|
@@ -64,7 +64,6 @@ declare const findComments: {
|
|
|
64
64
|
projectId?: string | undefined;
|
|
65
65
|
fileAttachment?: {
|
|
66
66
|
resourceType: string;
|
|
67
|
-
image?: string | undefined;
|
|
68
67
|
title?: string | undefined;
|
|
69
68
|
fileName?: string | undefined;
|
|
70
69
|
fileSize?: number | undefined;
|
|
@@ -72,6 +71,7 @@ declare const findComments: {
|
|
|
72
71
|
fileUrl?: string | undefined;
|
|
73
72
|
fileDuration?: number | undefined;
|
|
74
73
|
uploadState?: "pending" | "completed" | undefined;
|
|
74
|
+
image?: string | undefined;
|
|
75
75
|
imageWidth?: number | undefined;
|
|
76
76
|
imageHeight?: number | undefined;
|
|
77
77
|
url?: string | undefined;
|
|
@@ -85,7 +85,6 @@ declare const findComments: {
|
|
|
85
85
|
projectId?: string | undefined;
|
|
86
86
|
fileAttachment?: {
|
|
87
87
|
resourceType: string;
|
|
88
|
-
image?: string | undefined;
|
|
89
88
|
title?: string | undefined;
|
|
90
89
|
fileName?: string | undefined;
|
|
91
90
|
fileSize?: number | undefined;
|
|
@@ -93,6 +92,7 @@ declare const findComments: {
|
|
|
93
92
|
fileUrl?: string | undefined;
|
|
94
93
|
fileDuration?: number | undefined;
|
|
95
94
|
uploadState?: "pending" | "completed" | undefined;
|
|
95
|
+
image?: string | undefined;
|
|
96
96
|
imageWidth?: number | undefined;
|
|
97
97
|
imageHeight?: number | undefined;
|
|
98
98
|
url?: string | undefined;
|
|
@@ -87,7 +87,7 @@ declare const findCompletedTasks: {
|
|
|
87
87
|
sectionId?: string | undefined;
|
|
88
88
|
labels?: string[] | undefined;
|
|
89
89
|
responsibleUser?: string | undefined;
|
|
90
|
-
labelsOperator?: "
|
|
90
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
91
91
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
92
92
|
textContent: string;
|
|
93
93
|
structuredContent: {
|
|
@@ -124,7 +124,7 @@ declare const findCompletedTasks: {
|
|
|
124
124
|
sectionId?: string | undefined;
|
|
125
125
|
labels?: string[] | undefined;
|
|
126
126
|
responsibleUser?: string | undefined;
|
|
127
|
-
labelsOperator?: "
|
|
127
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}>;
|
|
@@ -79,7 +79,7 @@ declare const findTasksByDate: {
|
|
|
79
79
|
cursor?: string | undefined;
|
|
80
80
|
labels?: string[] | undefined;
|
|
81
81
|
responsibleUser?: string | undefined;
|
|
82
|
-
labelsOperator?: "
|
|
82
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
83
83
|
startDate?: string | undefined;
|
|
84
84
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
85
85
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
@@ -113,7 +113,7 @@ declare const findTasksByDate: {
|
|
|
113
113
|
cursor?: string | undefined;
|
|
114
114
|
labels?: string[] | undefined;
|
|
115
115
|
responsibleUser?: string | undefined;
|
|
116
|
-
labelsOperator?: "
|
|
116
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
117
117
|
startDate?: string | undefined;
|
|
118
118
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
119
119
|
};
|
|
@@ -82,7 +82,7 @@ declare const findTasks: {
|
|
|
82
82
|
sectionId?: string | undefined;
|
|
83
83
|
labels?: string[] | undefined;
|
|
84
84
|
responsibleUser?: string | undefined;
|
|
85
|
-
labelsOperator?: "
|
|
85
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
86
86
|
searchText?: string | undefined;
|
|
87
87
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
88
88
|
textContent: string;
|
|
@@ -117,7 +117,7 @@ declare const findTasks: {
|
|
|
117
117
|
sectionId?: string | undefined;
|
|
118
118
|
labels?: string[] | undefined;
|
|
119
119
|
responsibleUser?: string | undefined;
|
|
120
|
-
labelsOperator?: "
|
|
120
|
+
labelsOperator?: "or" | "and" | undefined;
|
|
121
121
|
searchText?: string | undefined;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
@@ -37,7 +37,6 @@ declare const updateComments: {
|
|
|
37
37
|
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
resourceType: string;
|
|
40
|
-
image?: string | undefined;
|
|
41
40
|
title?: string | undefined;
|
|
42
41
|
fileName?: string | undefined;
|
|
43
42
|
fileSize?: number | undefined;
|
|
@@ -45,12 +44,12 @@ declare const updateComments: {
|
|
|
45
44
|
fileUrl?: string | undefined;
|
|
46
45
|
fileDuration?: number | undefined;
|
|
47
46
|
uploadState?: "pending" | "completed" | undefined;
|
|
47
|
+
image?: string | undefined;
|
|
48
48
|
imageWidth?: number | undefined;
|
|
49
49
|
imageHeight?: number | undefined;
|
|
50
50
|
url?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
resourceType: string;
|
|
53
|
-
image?: string | undefined;
|
|
54
53
|
title?: string | undefined;
|
|
55
54
|
fileName?: string | undefined;
|
|
56
55
|
fileSize?: number | undefined;
|
|
@@ -58,6 +57,7 @@ declare const updateComments: {
|
|
|
58
57
|
fileUrl?: string | undefined;
|
|
59
58
|
fileDuration?: number | undefined;
|
|
60
59
|
uploadState?: "pending" | "completed" | undefined;
|
|
60
|
+
image?: string | undefined;
|
|
61
61
|
imageWidth?: number | undefined;
|
|
62
62
|
imageHeight?: number | undefined;
|
|
63
63
|
url?: string | undefined;
|
|
@@ -69,7 +69,6 @@ declare const updateComments: {
|
|
|
69
69
|
projectId?: string | undefined;
|
|
70
70
|
fileAttachment?: {
|
|
71
71
|
resourceType: string;
|
|
72
|
-
image?: string | undefined;
|
|
73
72
|
title?: string | undefined;
|
|
74
73
|
fileName?: string | undefined;
|
|
75
74
|
fileSize?: number | undefined;
|
|
@@ -77,6 +76,7 @@ declare const updateComments: {
|
|
|
77
76
|
fileUrl?: string | undefined;
|
|
78
77
|
fileDuration?: number | undefined;
|
|
79
78
|
uploadState?: "pending" | "completed" | undefined;
|
|
79
|
+
image?: string | undefined;
|
|
80
80
|
imageWidth?: number | undefined;
|
|
81
81
|
imageHeight?: number | undefined;
|
|
82
82
|
url?: string | undefined;
|
|
@@ -90,7 +90,6 @@ declare const updateComments: {
|
|
|
90
90
|
projectId?: string | undefined;
|
|
91
91
|
fileAttachment?: {
|
|
92
92
|
resourceType: string;
|
|
93
|
-
image?: string | undefined;
|
|
94
93
|
title?: string | undefined;
|
|
95
94
|
fileName?: string | undefined;
|
|
96
95
|
fileSize?: number | undefined;
|
|
@@ -98,6 +97,7 @@ declare const updateComments: {
|
|
|
98
97
|
fileUrl?: string | undefined;
|
|
99
98
|
fileDuration?: number | undefined;
|
|
100
99
|
uploadState?: "pending" | "completed" | undefined;
|
|
100
|
+
image?: string | undefined;
|
|
101
101
|
imageWidth?: number | undefined;
|
|
102
102
|
imageHeight?: number | undefined;
|
|
103
103
|
url?: string | undefined;
|
|
@@ -123,7 +123,6 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
123
123
|
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
resourceType: string;
|
|
126
|
-
image?: string | undefined;
|
|
127
126
|
title?: string | undefined;
|
|
128
127
|
fileName?: string | undefined;
|
|
129
128
|
fileSize?: number | undefined;
|
|
@@ -131,12 +130,12 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
131
130
|
fileUrl?: string | undefined;
|
|
132
131
|
fileDuration?: number | undefined;
|
|
133
132
|
uploadState?: "pending" | "completed" | undefined;
|
|
133
|
+
image?: string | undefined;
|
|
134
134
|
imageWidth?: number | undefined;
|
|
135
135
|
imageHeight?: number | undefined;
|
|
136
136
|
url?: string | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
resourceType: string;
|
|
139
|
-
image?: string | undefined;
|
|
140
139
|
title?: string | undefined;
|
|
141
140
|
fileName?: string | undefined;
|
|
142
141
|
fileSize?: number | undefined;
|
|
@@ -144,6 +143,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
144
143
|
fileUrl?: string | undefined;
|
|
145
144
|
fileDuration?: number | undefined;
|
|
146
145
|
uploadState?: "pending" | "completed" | undefined;
|
|
146
|
+
image?: string | undefined;
|
|
147
147
|
imageWidth?: number | undefined;
|
|
148
148
|
imageHeight?: number | undefined;
|
|
149
149
|
url?: string | undefined;
|
|
@@ -155,7 +155,6 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
155
155
|
projectId?: string | undefined;
|
|
156
156
|
fileAttachment?: {
|
|
157
157
|
resourceType: string;
|
|
158
|
-
image?: string | undefined;
|
|
159
158
|
title?: string | undefined;
|
|
160
159
|
fileName?: string | undefined;
|
|
161
160
|
fileSize?: number | undefined;
|
|
@@ -163,6 +162,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
163
162
|
fileUrl?: string | undefined;
|
|
164
163
|
fileDuration?: number | undefined;
|
|
165
164
|
uploadState?: "pending" | "completed" | undefined;
|
|
165
|
+
image?: string | undefined;
|
|
166
166
|
imageWidth?: number | undefined;
|
|
167
167
|
imageHeight?: number | undefined;
|
|
168
168
|
url?: string | undefined;
|
|
@@ -176,7 +176,6 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
176
176
|
projectId?: string | undefined;
|
|
177
177
|
fileAttachment?: {
|
|
178
178
|
resourceType: string;
|
|
179
|
-
image?: string | undefined;
|
|
180
179
|
title?: string | undefined;
|
|
181
180
|
fileName?: string | undefined;
|
|
182
181
|
fileSize?: number | undefined;
|
|
@@ -184,6 +183,7 @@ declare const CommentSchema: z.ZodObject<{
|
|
|
184
183
|
fileUrl?: string | undefined;
|
|
185
184
|
fileDuration?: number | undefined;
|
|
186
185
|
uploadState?: "pending" | "completed" | undefined;
|
|
186
|
+
image?: string | undefined;
|
|
187
187
|
imageWidth?: number | undefined;
|
|
188
188
|
imageHeight?: number | undefined;
|
|
189
189
|
url?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-ai",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"prepare": "husky"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@doist/todoist-api-typescript": "6.1.
|
|
52
|
-
"@modelcontextprotocol/sdk": "1.
|
|
51
|
+
"@doist/todoist-api-typescript": "6.1.12",
|
|
52
|
+
"@modelcontextprotocol/sdk": "1.22.0",
|
|
53
53
|
"date-fns": "4.1.0",
|
|
54
54
|
"dotenv": "17.2.3",
|
|
55
55
|
"zod": "3.25.76"
|