@doist/todoist-sdk 9.7.0 → 9.8.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.
@@ -14,6 +14,10 @@ import type { PersonalProject, ProjectViewStyle, ProjectVisibility, WorkspacePro
14
14
  * @see https://developer.todoist.com/api/v1/#tag/Projects/operation/get_projects_api_v1_projects_get
15
15
  */
16
16
  export type GetProjectsArgs = {
17
+ /** Filter projects to only those in this folder. If provided, workspaceId is ignored. */
18
+ folderId?: string | null;
19
+ /** Filter projects to only those in this workspace. Ignored if folderId is also provided. */
20
+ workspaceId?: string | null;
17
21
  cursor?: string | null;
18
22
  limit?: number;
19
23
  };
@@ -66,6 +70,11 @@ export type UpdateProjectArgs = {
66
70
  color?: ColorKey;
67
71
  isFavorite?: boolean;
68
72
  viewStyle?: ProjectViewStyle;
73
+ /**
74
+ * Folder to move the project into. Only supported for workspace projects.
75
+ * Pass `null` to clear the value. Omit this field to keep it unchanged.
76
+ */
77
+ folderId?: string | null;
69
78
  };
70
79
  /**
71
80
  * Arguments for retrieving project collaborators.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-sdk",
3
- "version": "9.7.0",
3
+ "version": "9.8.0",
4
4
  "description": "The official TypeScript SDK for the Todoist REST API.",
5
5
  "author": "Doist developers",
6
6
  "repository": "https://github.com/Doist/todoist-sdk-typescript",