@pipedream/todoist 0.2.1 → 0.2.2

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.
Files changed (44) hide show
  1. package/actions/create-filter/create-filter.mjs +6 -1
  2. package/actions/create-label/create-label.mjs +6 -1
  3. package/actions/create-project/create-project.mjs +6 -1
  4. package/actions/create-project-comment/create-project-comment.mjs +6 -1
  5. package/actions/create-section/create-section.mjs +6 -1
  6. package/actions/create-task/create-task.mjs +6 -1
  7. package/actions/create-task-comment/create-task-comment.mjs +6 -1
  8. package/actions/delete-comment/delete-comment.mjs +6 -1
  9. package/actions/delete-filter/delete-filter.mjs +6 -1
  10. package/actions/delete-label/delete-label.mjs +6 -1
  11. package/actions/delete-project/delete-project.mjs +6 -1
  12. package/actions/delete-section/delete-section.mjs +6 -1
  13. package/actions/delete-task/delete-task.mjs +6 -1
  14. package/actions/export-tasks/export-tasks.mjs +6 -1
  15. package/actions/find-project/find-project.mjs +6 -1
  16. package/actions/find-task/find-task.mjs +6 -1
  17. package/actions/find-user/find-user.mjs +6 -1
  18. package/actions/get-label/get-label.mjs +6 -1
  19. package/actions/get-project/get-project.mjs +6 -1
  20. package/actions/get-project-comment/get-project-comment.mjs +6 -1
  21. package/actions/get-section/get-section.mjs +6 -1
  22. package/actions/get-task/get-task.mjs +6 -1
  23. package/actions/get-task-comment/get-task-comment.mjs +6 -1
  24. package/actions/import-tasks/import-tasks.mjs +6 -1
  25. package/actions/invite-user-to-project/invite-user-to-project.mjs +6 -1
  26. package/actions/list-filters/list-filters.mjs +6 -1
  27. package/actions/list-labels/list-labels.mjs +6 -1
  28. package/actions/list-project-comments/list-project-comments.mjs +6 -1
  29. package/actions/list-projects/list-projects.mjs +6 -1
  30. package/actions/list-sections/list-sections.mjs +6 -1
  31. package/actions/list-task-comments/list-task-comments.mjs +6 -1
  32. package/actions/list-uncompleted-tasks/list-uncompleted-tasks.mjs +6 -1
  33. package/actions/mark-task-completed/mark-task-completed.mjs +6 -1
  34. package/actions/move-task-to-section/move-task-to-section.mjs +6 -1
  35. package/actions/search-tasks/search-tasks.mjs +6 -1
  36. package/actions/uncomplete-task/uncomplete-task.mjs +6 -1
  37. package/actions/update-comment/update-comment.mjs +6 -1
  38. package/actions/update-filter/update-filter.mjs +6 -1
  39. package/actions/update-label/update-label.mjs +6 -1
  40. package/actions/update-project/update-project.mjs +6 -1
  41. package/actions/update-section/update-section.mjs +6 -1
  42. package/actions/update-task/update-task.mjs +6 -1
  43. package/package.json +2 -2
  44. package/sources/incomplete-task/incomplete-task.mjs +13 -2
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-filter",
5
5
  name: "Create Filter",
6
6
  description: "Creates a filter. [See the docs here](https://developer.todoist.com/sync/v9/#add-a-filter)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-label",
5
5
  name: "Create Label",
6
6
  description: "Creates a label. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-personal-label)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-project",
5
5
  name: "Create Project",
6
6
  description: "Creates a project. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-project-comment",
5
5
  name: "Create Project Comment",
6
6
  description: "Adds a comment to a project. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-section",
5
5
  name: "Create Section",
6
6
  description: "Creates a section. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-section)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-task",
5
5
  name: "Create Task",
6
6
  description: "Creates a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-task)",
7
- version: "0.0.5",
7
+ version: "0.0.6",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-create-task-comment",
5
5
  name: "Create Task Comment",
6
6
  description: "Adds a comment to a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-comment",
5
5
  name: "Delete Comment",
6
6
  description: "Deletes a comment. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-filter",
5
5
  name: "Delete Filter",
6
6
  description: "Deletes a filter. [See the docs here](https://developer.todoist.com/sync/v9/#delete-a-filter)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-label",
5
5
  name: "Delete Label",
6
6
  description: "Deletes a label. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-personal-label)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-project",
5
5
  name: "Delete Project",
6
6
  description: "Deletes a project. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-section",
5
5
  name: "Delete Section",
6
6
  description: "Deletes a section. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-section)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-delete-task",
5
5
  name: "Delete Task",
6
6
  description: "Deletes a task. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -7,7 +7,12 @@ export default {
7
7
  key: "todoist-export-tasks",
8
8
  name: "Export Tasks",
9
9
  description: "Export project task names as comma separated file. Returns path to new file. [See Docs](https://developer.todoist.com/rest/v2/#get-active-tasks)",
10
- version: "0.1.1",
10
+ version: "0.1.2",
11
+ annotations: {
12
+ destructiveHint: false,
13
+ openWorldHint: true,
14
+ readOnlyHint: true,
15
+ },
11
16
  type: "action",
12
17
  props: {
13
18
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-find-project",
5
5
  name: "Find Project",
6
6
  description: "Finds a project (by name/title). [See Docs](https://developer.todoist.com/rest/v2/#get-all-projects) Optionally, create one if none are found. [See Docs](https://developer.todoist.com/rest/v2/#create-a-new-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-find-task",
5
5
  name: "Find Task",
6
6
  description: "Finds a task by name. [See Docs](https://developer.todoist.com/rest/v2/#get-active-tasks) Optionally, create one if none are found. [See Docs](https://developer.todoist.com/rest/v2/#create-a-new-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-find-user",
5
5
  name: "Find User",
6
6
  description: "Searches by email for a user who is connected/shared with your account. [See the docs here](https://developer.todoist.com/sync/v9/#read-resources)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-label",
5
5
  name: "Get Label",
6
6
  description: "Returns info about a label. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-personal-label)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-project",
5
5
  name: "Get Project",
6
6
  description: "Returns info about a project. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-project-comment",
5
5
  name: "Get Project Comment",
6
6
  description: "Returns info about a project comment. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-section",
5
5
  name: "Get Section",
6
6
  description: "Returns info about a section. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-single-section)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-task",
5
5
  name: "Get Task",
6
6
  description: "Returns info about a task. [See the docs here](https://developer.todoist.com/rest/v2/#get-an-active-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-get-task-comment",
5
5
  name: "Get Task Comment",
6
6
  description: "Returns info about a task comment. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "todoist-import-tasks",
7
7
  name: "Import Tasks",
8
8
  description: "Import tasks into a selected project. [See Docs](https://developer.todoist.com/sync/v9/#add-an-item)",
9
- version: "0.1.1",
9
+ version: "0.1.2",
10
+ annotations: {
11
+ destructiveHint: true,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-invite-user-to-project",
5
5
  name: "Invite User To Project",
6
6
  description: "Sends email to a person, inviting them to use one of your projects. [See the docs here](https://developer.todoist.com/sync/v9/#share-a-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-filters",
5
5
  name: "List Filters",
6
6
  description: "Returns a list of all filters. [See the docs here](https://developer.todoist.com/sync/v9/#read-resources)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-labels",
5
5
  name: "List Labels",
6
6
  description: "Returns a list of all labels. [See the docs here](https://developer.todoist.com/rest/v2/#get-all-personal-labels)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-project-comments",
5
5
  name: "List Project Comments",
6
6
  description: "Returns a list of comments for a project. [See the docs here](https://developer.todoist.com/rest/v2/#get-all-comments)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-projects",
5
5
  name: "List Projects",
6
6
  description: "Returns a list of all projects. [See the docs here](https://developer.todoist.com/rest/v2/#get-all-projects)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-sections",
5
5
  name: "List Sections",
6
6
  description: "Returns a list of all sections. [See the docs here](https://developer.todoist.com/rest/v2/#get-all-sections)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-task-comments",
5
5
  name: "List Task Comments",
6
6
  description: "Returns a list of comments for a task. [See the docs here](https://developer.todoist.com/rest/v2/#get-all-comments)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-list-uncompleted-tasks",
5
5
  name: "List Uncompleted Tasks",
6
6
  description: "Returns a list of uncompleted tasks by project, section, and/or label. [See the docs here](https://developer.todoist.com/rest/v2/#get-active-tasks)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-mark-task-completed",
5
5
  name: "Mark Task as Completed",
6
6
  description: "Marks a task as being completed. [See the docs here](https://developer.todoist.com/rest/v2/#close-a-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-move-task-to-section",
5
5
  name: "Move Task To Section",
6
6
  description: "Move a Task to a different section within the same project. [See the docs here](https://developer.todoist.com/sync/v9/#move-an-item)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-search-tasks",
5
5
  name: "Search Tasks",
6
6
  description: "Search tasks by name, label, project and/or section. [See Docs](https://developer.todoist.com/rest/v2/#get-active-tasks)",
7
- version: "0.0.2",
7
+ version: "0.0.3",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-uncomplete-task",
5
5
  name: "Uncomplete Task",
6
6
  description: "Uncompletes a task. [See the docs here](https://developer.todoist.com/rest/v2/#reopen-a-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-comment",
5
5
  name: "Update Comment",
6
6
  description: "Updates a comment. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-comment)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-filter",
5
5
  name: "Update Filter",
6
6
  description: "Updates a filter. [See the docs here](https://developer.todoist.com/sync/v9/#update-a-filter)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-label",
5
5
  name: "Update Label",
6
6
  description: "Updates a label. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-personal-label)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-project",
5
5
  name: "Update Project",
6
6
  description: "Updates a project. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-project)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-section",
5
5
  name: "Update Section",
6
6
  description: "Updates a section. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-section)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "todoist-update-task",
5
5
  name: "Update Task",
6
6
  description: "Updates a task. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-task)",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  todoist,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/todoist",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Pipedream Todoist Components",
5
5
  "main": "todoist.app.mjs",
6
6
  "keywords": [
@@ -10,7 +10,7 @@
10
10
  "homepage": "https://pipedream.com/apps/todoist",
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
- "@pipedream/platform": "^3.1.0",
13
+ "@pipedream/platform": "^3.1.1",
14
14
  "json-2-csv": "^5.5.9",
15
15
  "query-string": "^7.1.3",
16
16
  "tmp-promise": "^3.0.3",
@@ -5,13 +5,24 @@ export default {
5
5
  key: "todoist-incomplete-task",
6
6
  name: "New Incomplete Task",
7
7
  description: "Emit new event for each new incomplete task. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
8
- version: "0.0.6",
8
+ version: "0.1.0",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
+ props: {
12
+ ...common.props,
13
+ onlyRootTasks: {
14
+ type: "boolean",
15
+ label: "Only Root Tasks",
16
+ description: "Only emit events for root tasks. If enabled, only tasks that have no parent will be emitted.",
17
+ default: false,
18
+ },
19
+ },
11
20
  methods: {
12
21
  ...common.methods,
13
22
  isElementRelevant(element) {
14
- return !element.checked;
23
+ return !element.checked && (this.onlyRootTasks
24
+ ? element.parent_id === null
25
+ : true);
15
26
  },
16
27
  },
17
28
  };