@doist/todoist-ai 4.17.1 → 4.17.3
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 +273 -198
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-BMGcSL1c.js → mcp-server-BSQxi0xQ.js} +627 -596
- package/dist/tool-helpers.d.ts +29 -2
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +48 -23
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +5 -5
- package/dist/tools/add-tasks.d.ts +26 -26
- package/dist/tools/complete-tasks.d.ts +2 -2
- package/dist/tools/find-activity.d.ts +2 -2
- package/dist/tools/find-comments.d.ts +49 -24
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +21 -21
- package/dist/tools/find-projects.d.ts +4 -4
- package/dist/tools/find-tasks-by-date.d.ts +19 -19
- package/dist/tools/find-tasks.d.ts +21 -21
- package/dist/tools/update-comments.d.ts +48 -23
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +2 -2
- package/dist/tools/update-tasks.d.ts +26 -26
- package/dist/utils/output-schemas.d.ts +54 -26
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/sanitize-data.d.ts +3 -2
- package/dist/utils/sanitize-data.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -22,18 +22,18 @@ declare const findProjects: {
|
|
|
22
22
|
id: string;
|
|
23
23
|
color: string;
|
|
24
24
|
isFavorite: boolean;
|
|
25
|
+
viewStyle: string;
|
|
25
26
|
isShared: boolean;
|
|
26
27
|
inboxProject: boolean;
|
|
27
|
-
viewStyle: string;
|
|
28
28
|
parentId?: string | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
name: string;
|
|
31
31
|
id: string;
|
|
32
32
|
color: string;
|
|
33
33
|
isFavorite: boolean;
|
|
34
|
+
viewStyle: string;
|
|
34
35
|
isShared: boolean;
|
|
35
36
|
inboxProject: boolean;
|
|
36
|
-
viewStyle: string;
|
|
37
37
|
parentId?: string | undefined;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
@@ -43,8 +43,8 @@ declare const findProjects: {
|
|
|
43
43
|
};
|
|
44
44
|
execute(args: {
|
|
45
45
|
limit: number;
|
|
46
|
-
search?: string | undefined;
|
|
47
46
|
cursor?: string | undefined;
|
|
47
|
+
search?: string | undefined;
|
|
48
48
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
49
49
|
textContent: string;
|
|
50
50
|
structuredContent: {
|
|
@@ -63,8 +63,8 @@ declare const findProjects: {
|
|
|
63
63
|
hasMore: boolean;
|
|
64
64
|
appliedFilters: {
|
|
65
65
|
limit: number;
|
|
66
|
-
search?: string | undefined;
|
|
67
66
|
cursor?: string | undefined;
|
|
67
|
+
search?: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
}>;
|
|
@@ -25,7 +25,7 @@ declare const findTasksByDate: {
|
|
|
25
25
|
projectId: z.ZodString;
|
|
26
26
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
27
27
|
parentId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
28
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
29
|
duration: z.ZodOptional<z.ZodString>;
|
|
30
30
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
31
31
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -35,36 +35,36 @@ declare const findTasksByDate: {
|
|
|
35
35
|
content: string;
|
|
36
36
|
description: string;
|
|
37
37
|
id: string;
|
|
38
|
-
recurring: string | boolean;
|
|
39
|
-
priority: number;
|
|
40
38
|
projectId: string;
|
|
41
|
-
labels: string[];
|
|
42
39
|
checked: boolean;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sectionId?: string | undefined;
|
|
40
|
+
priority: number;
|
|
41
|
+
recurring: string | boolean;
|
|
46
42
|
parentId?: string | undefined;
|
|
47
|
-
|
|
48
|
-
responsibleUid?: string | undefined;
|
|
43
|
+
sectionId?: string | undefined;
|
|
49
44
|
assignedByUid?: string | undefined;
|
|
45
|
+
responsibleUid?: string | undefined;
|
|
46
|
+
labels?: string[] | undefined;
|
|
47
|
+
duration?: string | undefined;
|
|
50
48
|
completedAt?: string | undefined;
|
|
49
|
+
dueDate?: string | undefined;
|
|
50
|
+
deadlineDate?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
content: string;
|
|
53
53
|
description: string;
|
|
54
54
|
id: string;
|
|
55
|
-
recurring: string | boolean;
|
|
56
|
-
priority: number;
|
|
57
55
|
projectId: string;
|
|
58
|
-
labels: string[];
|
|
59
56
|
checked: boolean;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
sectionId?: string | undefined;
|
|
57
|
+
priority: number;
|
|
58
|
+
recurring: string | boolean;
|
|
63
59
|
parentId?: string | undefined;
|
|
64
|
-
|
|
65
|
-
responsibleUid?: string | undefined;
|
|
60
|
+
sectionId?: string | undefined;
|
|
66
61
|
assignedByUid?: string | undefined;
|
|
62
|
+
responsibleUid?: string | undefined;
|
|
63
|
+
labels?: string[] | undefined;
|
|
64
|
+
duration?: string | undefined;
|
|
67
65
|
completedAt?: string | undefined;
|
|
66
|
+
dueDate?: string | undefined;
|
|
67
|
+
deadlineDate?: string | undefined;
|
|
68
68
|
}>, "many">;
|
|
69
69
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
70
70
|
totalCount: z.ZodNumber;
|
|
@@ -74,8 +74,8 @@ declare const findTasksByDate: {
|
|
|
74
74
|
execute(args: {
|
|
75
75
|
limit: number;
|
|
76
76
|
daysCount: number;
|
|
77
|
-
labels?: string[] | undefined;
|
|
78
77
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
78
|
+
labels?: string[] | undefined;
|
|
79
79
|
cursor?: string | undefined;
|
|
80
80
|
responsibleUser?: string | undefined;
|
|
81
81
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -108,8 +108,8 @@ declare const findTasksByDate: {
|
|
|
108
108
|
appliedFilters: {
|
|
109
109
|
limit: number;
|
|
110
110
|
daysCount: number;
|
|
111
|
-
labels?: string[] | undefined;
|
|
112
111
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
112
|
+
labels?: string[] | undefined;
|
|
113
113
|
cursor?: string | undefined;
|
|
114
114
|
responsibleUser?: string | undefined;
|
|
115
115
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -26,7 +26,7 @@ declare const findTasks: {
|
|
|
26
26
|
projectId: z.ZodString;
|
|
27
27
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
28
28
|
parentId: z.ZodOptional<z.ZodString>;
|
|
29
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
29
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
30
|
duration: z.ZodOptional<z.ZodString>;
|
|
31
31
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
32
32
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -36,36 +36,36 @@ declare const findTasks: {
|
|
|
36
36
|
content: string;
|
|
37
37
|
description: string;
|
|
38
38
|
id: string;
|
|
39
|
-
recurring: string | boolean;
|
|
40
|
-
priority: number;
|
|
41
39
|
projectId: string;
|
|
42
|
-
labels: string[];
|
|
43
40
|
checked: boolean;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
sectionId?: string | undefined;
|
|
41
|
+
priority: number;
|
|
42
|
+
recurring: string | boolean;
|
|
47
43
|
parentId?: string | undefined;
|
|
48
|
-
|
|
49
|
-
responsibleUid?: string | undefined;
|
|
44
|
+
sectionId?: string | undefined;
|
|
50
45
|
assignedByUid?: string | undefined;
|
|
46
|
+
responsibleUid?: string | undefined;
|
|
47
|
+
labels?: string[] | undefined;
|
|
48
|
+
duration?: string | undefined;
|
|
51
49
|
completedAt?: string | undefined;
|
|
50
|
+
dueDate?: string | undefined;
|
|
51
|
+
deadlineDate?: string | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
content: string;
|
|
54
54
|
description: string;
|
|
55
55
|
id: string;
|
|
56
|
-
recurring: string | boolean;
|
|
57
|
-
priority: number;
|
|
58
56
|
projectId: string;
|
|
59
|
-
labels: string[];
|
|
60
57
|
checked: boolean;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
sectionId?: string | undefined;
|
|
58
|
+
priority: number;
|
|
59
|
+
recurring: string | boolean;
|
|
64
60
|
parentId?: string | undefined;
|
|
65
|
-
|
|
66
|
-
responsibleUid?: string | undefined;
|
|
61
|
+
sectionId?: string | undefined;
|
|
67
62
|
assignedByUid?: string | undefined;
|
|
63
|
+
responsibleUid?: string | undefined;
|
|
64
|
+
labels?: string[] | undefined;
|
|
65
|
+
duration?: string | undefined;
|
|
68
66
|
completedAt?: string | undefined;
|
|
67
|
+
dueDate?: string | undefined;
|
|
68
|
+
deadlineDate?: string | undefined;
|
|
69
69
|
}>, "many">;
|
|
70
70
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
71
71
|
totalCount: z.ZodNumber;
|
|
@@ -74,11 +74,11 @@ declare const findTasks: {
|
|
|
74
74
|
};
|
|
75
75
|
execute(args: {
|
|
76
76
|
limit: number;
|
|
77
|
+
parentId?: string | undefined;
|
|
78
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
77
79
|
projectId?: string | undefined;
|
|
78
80
|
sectionId?: string | undefined;
|
|
79
|
-
parentId?: string | undefined;
|
|
80
81
|
labels?: string[] | undefined;
|
|
81
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
82
82
|
cursor?: string | undefined;
|
|
83
83
|
responsibleUser?: string | undefined;
|
|
84
84
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -109,11 +109,11 @@ declare const findTasks: {
|
|
|
109
109
|
hasMore: boolean;
|
|
110
110
|
appliedFilters: {
|
|
111
111
|
limit: number;
|
|
112
|
+
parentId?: string | undefined;
|
|
113
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
112
114
|
projectId?: string | undefined;
|
|
113
115
|
sectionId?: string | undefined;
|
|
114
|
-
parentId?: string | undefined;
|
|
115
116
|
labels?: string[] | undefined;
|
|
116
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
117
117
|
cursor?: string | undefined;
|
|
118
118
|
responsibleUser?: string | undefined;
|
|
119
119
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -21,7 +21,8 @@ declare const updateComments: {
|
|
|
21
21
|
projectId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
content: z.ZodString;
|
|
23
23
|
postedAt: z.ZodString;
|
|
24
|
-
|
|
24
|
+
postedUid: z.ZodOptional<z.ZodString>;
|
|
25
|
+
fileAttachment: z.ZodOptional<z.ZodObject<{
|
|
25
26
|
resourceType: z.ZodString;
|
|
26
27
|
fileName: z.ZodOptional<z.ZodString>;
|
|
27
28
|
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -29,53 +30,80 @@ declare const updateComments: {
|
|
|
29
30
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
30
31
|
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
31
32
|
uploadState: z.ZodOptional<z.ZodEnum<["pending", "completed"]>>;
|
|
33
|
+
url: z.ZodOptional<z.ZodString>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
image: z.ZodOptional<z.ZodString>;
|
|
36
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
32
38
|
}, "strip", z.ZodTypeAny, {
|
|
33
39
|
resourceType: string;
|
|
40
|
+
image?: string | undefined;
|
|
41
|
+
title?: string | undefined;
|
|
34
42
|
fileName?: string | undefined;
|
|
35
43
|
fileSize?: number | undefined;
|
|
36
44
|
fileType?: string | undefined;
|
|
37
45
|
fileUrl?: string | undefined;
|
|
38
46
|
fileDuration?: number | undefined;
|
|
39
47
|
uploadState?: "pending" | "completed" | undefined;
|
|
48
|
+
imageWidth?: number | undefined;
|
|
49
|
+
imageHeight?: number | undefined;
|
|
50
|
+
url?: string | undefined;
|
|
40
51
|
}, {
|
|
41
52
|
resourceType: string;
|
|
53
|
+
image?: string | undefined;
|
|
54
|
+
title?: string | undefined;
|
|
42
55
|
fileName?: string | undefined;
|
|
43
56
|
fileSize?: number | undefined;
|
|
44
57
|
fileType?: string | undefined;
|
|
45
58
|
fileUrl?: string | undefined;
|
|
46
59
|
fileDuration?: number | undefined;
|
|
47
60
|
uploadState?: "pending" | "completed" | undefined;
|
|
61
|
+
imageWidth?: number | undefined;
|
|
62
|
+
imageHeight?: number | undefined;
|
|
63
|
+
url?: string | undefined;
|
|
48
64
|
}>>;
|
|
49
65
|
}, "strip", z.ZodTypeAny, {
|
|
50
66
|
content: string;
|
|
51
67
|
id: string;
|
|
52
68
|
postedAt: string;
|
|
53
69
|
projectId?: string | undefined;
|
|
54
|
-
|
|
55
|
-
attachment?: {
|
|
70
|
+
fileAttachment?: {
|
|
56
71
|
resourceType: string;
|
|
72
|
+
image?: string | undefined;
|
|
73
|
+
title?: string | undefined;
|
|
57
74
|
fileName?: string | undefined;
|
|
58
75
|
fileSize?: number | undefined;
|
|
59
76
|
fileType?: string | undefined;
|
|
60
77
|
fileUrl?: string | undefined;
|
|
61
78
|
fileDuration?: number | undefined;
|
|
62
79
|
uploadState?: "pending" | "completed" | undefined;
|
|
80
|
+
imageWidth?: number | undefined;
|
|
81
|
+
imageHeight?: number | undefined;
|
|
82
|
+
url?: string | undefined;
|
|
63
83
|
} | undefined;
|
|
84
|
+
postedUid?: string | undefined;
|
|
85
|
+
taskId?: string | undefined;
|
|
64
86
|
}, {
|
|
65
87
|
content: string;
|
|
66
88
|
id: string;
|
|
67
89
|
postedAt: string;
|
|
68
90
|
projectId?: string | undefined;
|
|
69
|
-
|
|
70
|
-
attachment?: {
|
|
91
|
+
fileAttachment?: {
|
|
71
92
|
resourceType: string;
|
|
93
|
+
image?: string | undefined;
|
|
94
|
+
title?: string | undefined;
|
|
72
95
|
fileName?: string | undefined;
|
|
73
96
|
fileSize?: number | undefined;
|
|
74
97
|
fileType?: string | undefined;
|
|
75
98
|
fileUrl?: string | undefined;
|
|
76
99
|
fileDuration?: number | undefined;
|
|
77
100
|
uploadState?: "pending" | "completed" | undefined;
|
|
101
|
+
imageWidth?: number | undefined;
|
|
102
|
+
imageHeight?: number | undefined;
|
|
103
|
+
url?: string | undefined;
|
|
78
104
|
} | undefined;
|
|
105
|
+
postedUid?: string | undefined;
|
|
106
|
+
taskId?: string | undefined;
|
|
79
107
|
}>, "many">;
|
|
80
108
|
totalCount: z.ZodNumber;
|
|
81
109
|
updatedCommentIds: z.ZodArray<z.ZodString, "many">;
|
|
@@ -96,29 +124,26 @@ declare const updateComments: {
|
|
|
96
124
|
textContent: string;
|
|
97
125
|
structuredContent: {
|
|
98
126
|
comments: {
|
|
99
|
-
taskId: string | undefined;
|
|
100
127
|
id: string;
|
|
128
|
+
taskId: string | undefined;
|
|
129
|
+
projectId: string | undefined;
|
|
101
130
|
content: string;
|
|
102
131
|
postedAt: string;
|
|
132
|
+
postedUid: string;
|
|
103
133
|
fileAttachment: {
|
|
104
134
|
resourceType: string;
|
|
105
|
-
fileName
|
|
106
|
-
fileSize
|
|
107
|
-
fileType
|
|
108
|
-
fileUrl
|
|
109
|
-
fileDuration
|
|
110
|
-
uploadState
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
} |
|
|
117
|
-
postedUid: string;
|
|
118
|
-
uidsToNotify: string[] | null;
|
|
119
|
-
reactions: Record<string, string[]> | null;
|
|
120
|
-
isDeleted: boolean;
|
|
121
|
-
projectId?: string | undefined;
|
|
135
|
+
fileName: string | undefined;
|
|
136
|
+
fileSize: number | undefined;
|
|
137
|
+
fileType: string | undefined;
|
|
138
|
+
fileUrl: string | undefined;
|
|
139
|
+
fileDuration: number | undefined;
|
|
140
|
+
uploadState: "pending" | "completed" | undefined;
|
|
141
|
+
url: string | undefined;
|
|
142
|
+
title: string | undefined;
|
|
143
|
+
image: string | undefined;
|
|
144
|
+
imageWidth: number | undefined;
|
|
145
|
+
imageHeight: number | undefined;
|
|
146
|
+
} | undefined;
|
|
122
147
|
}[];
|
|
123
148
|
totalCount: number;
|
|
124
149
|
updatedCommentIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0BvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B2C,CAAA;AAqB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -35,18 +35,18 @@ declare const updateProjects: {
|
|
|
35
35
|
id: string;
|
|
36
36
|
color: string;
|
|
37
37
|
isFavorite: boolean;
|
|
38
|
+
viewStyle: string;
|
|
38
39
|
isShared: boolean;
|
|
39
40
|
inboxProject: boolean;
|
|
40
|
-
viewStyle: string;
|
|
41
41
|
parentId?: string | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
name: string;
|
|
44
44
|
id: string;
|
|
45
45
|
color: string;
|
|
46
46
|
isFavorite: boolean;
|
|
47
|
+
viewStyle: string;
|
|
47
48
|
isShared: boolean;
|
|
48
49
|
inboxProject: boolean;
|
|
49
|
-
viewStyle: string;
|
|
50
50
|
parentId?: string | undefined;
|
|
51
51
|
}>, "many">;
|
|
52
52
|
totalCount: z.ZodNumber;
|
|
@@ -21,13 +21,13 @@ declare const updateTasks: {
|
|
|
21
21
|
id: string;
|
|
22
22
|
content?: string | undefined;
|
|
23
23
|
description?: string | undefined;
|
|
24
|
-
|
|
25
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
24
|
+
parentId?: string | undefined;
|
|
26
25
|
projectId?: string | undefined;
|
|
27
26
|
sectionId?: string | undefined;
|
|
28
|
-
parentId?: string | undefined;
|
|
29
27
|
labels?: string[] | undefined;
|
|
30
28
|
duration?: string | undefined;
|
|
29
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
30
|
+
deadlineDate?: string | undefined;
|
|
31
31
|
dueString?: string | undefined;
|
|
32
32
|
responsibleUser?: string | undefined;
|
|
33
33
|
order?: number | undefined;
|
|
@@ -35,13 +35,13 @@ declare const updateTasks: {
|
|
|
35
35
|
id: string;
|
|
36
36
|
content?: string | undefined;
|
|
37
37
|
description?: string | undefined;
|
|
38
|
-
|
|
39
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
38
|
+
parentId?: string | undefined;
|
|
40
39
|
projectId?: string | undefined;
|
|
41
40
|
sectionId?: string | undefined;
|
|
42
|
-
parentId?: string | undefined;
|
|
43
41
|
labels?: string[] | undefined;
|
|
44
42
|
duration?: string | undefined;
|
|
43
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
44
|
+
deadlineDate?: string | undefined;
|
|
45
45
|
dueString?: string | undefined;
|
|
46
46
|
responsibleUser?: string | undefined;
|
|
47
47
|
order?: number | undefined;
|
|
@@ -59,7 +59,7 @@ declare const updateTasks: {
|
|
|
59
59
|
projectId: z.ZodString;
|
|
60
60
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
61
61
|
parentId: z.ZodOptional<z.ZodString>;
|
|
62
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
62
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
63
|
duration: z.ZodOptional<z.ZodString>;
|
|
64
64
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
65
65
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -69,36 +69,36 @@ declare const updateTasks: {
|
|
|
69
69
|
content: string;
|
|
70
70
|
description: string;
|
|
71
71
|
id: string;
|
|
72
|
-
recurring: string | boolean;
|
|
73
|
-
priority: number;
|
|
74
72
|
projectId: string;
|
|
75
|
-
labels: string[];
|
|
76
73
|
checked: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
sectionId?: string | undefined;
|
|
74
|
+
priority: number;
|
|
75
|
+
recurring: string | boolean;
|
|
80
76
|
parentId?: string | undefined;
|
|
81
|
-
|
|
82
|
-
responsibleUid?: string | undefined;
|
|
77
|
+
sectionId?: string | undefined;
|
|
83
78
|
assignedByUid?: string | undefined;
|
|
79
|
+
responsibleUid?: string | undefined;
|
|
80
|
+
labels?: string[] | undefined;
|
|
81
|
+
duration?: string | undefined;
|
|
84
82
|
completedAt?: string | undefined;
|
|
83
|
+
dueDate?: string | undefined;
|
|
84
|
+
deadlineDate?: string | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
content: string;
|
|
87
87
|
description: string;
|
|
88
88
|
id: string;
|
|
89
|
-
recurring: string | boolean;
|
|
90
|
-
priority: number;
|
|
91
89
|
projectId: string;
|
|
92
|
-
labels: string[];
|
|
93
90
|
checked: boolean;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
sectionId?: string | undefined;
|
|
91
|
+
priority: number;
|
|
92
|
+
recurring: string | boolean;
|
|
97
93
|
parentId?: string | undefined;
|
|
98
|
-
|
|
99
|
-
responsibleUid?: string | undefined;
|
|
94
|
+
sectionId?: string | undefined;
|
|
100
95
|
assignedByUid?: string | undefined;
|
|
96
|
+
responsibleUid?: string | undefined;
|
|
97
|
+
labels?: string[] | undefined;
|
|
98
|
+
duration?: string | undefined;
|
|
101
99
|
completedAt?: string | undefined;
|
|
100
|
+
dueDate?: string | undefined;
|
|
101
|
+
deadlineDate?: string | undefined;
|
|
102
102
|
}>, "many">;
|
|
103
103
|
totalCount: z.ZodNumber;
|
|
104
104
|
updatedTaskIds: z.ZodArray<z.ZodString, "many">;
|
|
@@ -118,13 +118,13 @@ declare const updateTasks: {
|
|
|
118
118
|
id: string;
|
|
119
119
|
content?: string | undefined;
|
|
120
120
|
description?: string | undefined;
|
|
121
|
-
|
|
122
|
-
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
121
|
+
parentId?: string | undefined;
|
|
123
122
|
projectId?: string | undefined;
|
|
124
123
|
sectionId?: string | undefined;
|
|
125
|
-
parentId?: string | undefined;
|
|
126
124
|
labels?: string[] | undefined;
|
|
127
125
|
duration?: string | undefined;
|
|
126
|
+
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
127
|
+
deadlineDate?: string | undefined;
|
|
128
128
|
dueString?: string | undefined;
|
|
129
129
|
responsibleUser?: string | undefined;
|
|
130
130
|
order?: number | undefined;
|