@pipedream/todoist 0.0.2 → 0.0.4
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/README.md +11 -0
- package/actions/create-filter/create-filter.mjs +2 -2
- package/actions/create-label/create-label.mjs +2 -2
- package/actions/create-project/create-project.mjs +2 -2
- package/actions/create-project-comment/create-project-comment.mjs +4 -2
- package/actions/create-section/create-section.mjs +2 -2
- package/actions/create-task/create-task.mjs +2 -2
- package/actions/create-task-comment/create-task-comment.mjs +4 -2
- package/actions/delete-comment/delete-comment.mjs +3 -2
- package/actions/delete-filter/delete-filter.mjs +2 -2
- package/actions/delete-label/delete-label.mjs +3 -2
- package/actions/delete-project/delete-project.mjs +3 -2
- package/actions/delete-section/delete-section.mjs +2 -2
- package/actions/delete-task/delete-task.mjs +2 -2
- package/actions/export-tasks/export-tasks.mjs +5 -3
- package/actions/find-project/find-project.mjs +2 -2
- package/actions/find-task/find-task.mjs +2 -2
- package/actions/find-user/find-user.mjs +2 -2
- package/actions/get-label/get-label.mjs +2 -2
- package/actions/get-project/get-project.mjs +2 -2
- package/actions/get-project-comment/get-project-comment.mjs +3 -2
- package/actions/get-section/get-section.mjs +2 -2
- package/actions/get-task/get-task.mjs +2 -2
- package/actions/get-task-comment/get-task-comment.mjs +2 -3
- package/actions/import-tasks/import-tasks.mjs +2 -2
- package/actions/invite-user-to-project/invite-user-to-project.mjs +2 -2
- package/actions/list-filters/list-filters.mjs +2 -2
- package/actions/list-labels/list-labels.mjs +2 -2
- package/actions/list-project-comments/list-project-comments.mjs +2 -2
- package/actions/list-projects/list-projects.mjs +2 -2
- package/actions/list-sections/list-sections.mjs +2 -2
- package/actions/list-task-comments/list-task-comments.mjs +2 -2
- package/actions/list-uncompleted-tasks/list-uncompleted-tasks.mjs +2 -2
- package/actions/mark-task-completed/mark-task-completed.mjs +2 -2
- package/actions/move-task-to-section/move-task-to-section.mjs +2 -2
- package/actions/uncomplete-task/uncomplete-task.mjs +2 -2
- package/actions/update-comment/update-comment.mjs +3 -2
- package/actions/update-filter/update-filter.mjs +2 -2
- package/actions/update-label/update-label.mjs +2 -2
- package/actions/update-project/update-project.mjs +2 -2
- package/actions/update-section/update-section.mjs +3 -2
- package/actions/update-task/update-task.mjs +2 -2
- package/{colors.mjs → common/colors.mjs} +0 -0
- package/common/resource-types.mjs +15 -0
- package/package.json +5 -4
- package/sources/common.mjs +2 -1
- package/sources/completed-task/completed-task.mjs +3 -3
- package/sources/incomplete-task/incomplete-task.mjs +3 -3
- package/sources/new-or-modified-project/new-or-modified-project.mjs +1 -1
- package/sources/new-or-modified-task/new-or-modified-task.mjs +1 -1
- package/sources/new-project/new-project.mjs +1 -1
- package/sources/new-section/new-section.mjs +1 -1
- package/sources/new-task/new-task.mjs +1 -1
- package/sources/sync-resources/sync-resources.mjs +2 -2
- package/todoist.app.mjs +18 -18
- package/resource-types.mjs +0 -15
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
With the Todoist API, you can build a variety of applications and tools to help
|
|
4
|
+
you manage your to-do lists and tasks. Here are just a few examples of what you
|
|
5
|
+
can build:
|
|
6
|
+
|
|
7
|
+
- A to-do list application that allows you to manage your tasks and to-dos in
|
|
8
|
+
one place.
|
|
9
|
+
- A task management tool that helps you keep track of your tasks and to-dos.
|
|
10
|
+
- A tool that helps you prioritize your tasks and to-dos.
|
|
11
|
+
- A tool that helps you track your progress on your tasks and to-dos.
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-filter",
|
|
5
5
|
name: "Create Filter",
|
|
6
|
-
description: "Creates a filter. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Creates a filter. [See the docs here](https://developer.todoist.com/sync/v9/#add-a-filter)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-label",
|
|
5
5
|
name: "Create Label",
|
|
6
|
-
description: "Creates a label. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Creates a label. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-personal-label)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-project",
|
|
5
5
|
name: "Create Project",
|
|
6
|
-
description: "Creates a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Creates a project. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-project)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-project-comment",
|
|
5
5
|
name: "Create Project Comment",
|
|
6
|
-
description: "Adds a comment to a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -21,6 +21,8 @@ export default {
|
|
|
21
21
|
todoist,
|
|
22
22
|
"content",
|
|
23
23
|
],
|
|
24
|
+
label: "Comment",
|
|
25
|
+
optional: false,
|
|
24
26
|
},
|
|
25
27
|
},
|
|
26
28
|
async run ({ $ }) {
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-section",
|
|
5
5
|
name: "Create Section",
|
|
6
|
-
description: "Creates a section. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Creates a section. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-section)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-task",
|
|
5
5
|
name: "Create Task",
|
|
6
|
-
description: "Creates a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Creates a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-task)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-create-task-comment",
|
|
5
5
|
name: "Create Task Comment",
|
|
6
|
-
description: "Adds a comment to a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -30,6 +30,8 @@ export default {
|
|
|
30
30
|
todoist,
|
|
31
31
|
"content",
|
|
32
32
|
],
|
|
33
|
+
label: "Comment",
|
|
34
|
+
optional: false,
|
|
33
35
|
},
|
|
34
36
|
},
|
|
35
37
|
async run ({ $ }) {
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-comment",
|
|
5
5
|
name: "Delete Comment",
|
|
6
|
-
description: "Deletes a comment. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a comment. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-comment)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
"project",
|
|
15
15
|
],
|
|
16
16
|
description: "Project containing the comment to delete",
|
|
17
|
+
optional: false,
|
|
17
18
|
},
|
|
18
19
|
task: {
|
|
19
20
|
propDefinition: [
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-filter",
|
|
5
5
|
name: "Delete Filter",
|
|
6
|
-
description: "Deletes a filter. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a filter. [See the docs here](https://developer.todoist.com/sync/v9/#delete-a-filter)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-label",
|
|
5
5
|
name: "Delete Label",
|
|
6
|
-
description: "Deletes a label. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a label. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-personal-label)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
todoist,
|
|
14
14
|
"label",
|
|
15
15
|
],
|
|
16
|
+
optional: false,
|
|
16
17
|
},
|
|
17
18
|
},
|
|
18
19
|
async run ({ $ }) {
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-project",
|
|
5
5
|
name: "Delete Project",
|
|
6
|
-
description: "Deletes a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a project. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-project)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
todoist,
|
|
14
14
|
"project",
|
|
15
15
|
],
|
|
16
|
+
optional: false,
|
|
16
17
|
},
|
|
17
18
|
},
|
|
18
19
|
async run ({ $ }) {
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-section",
|
|
5
5
|
name: "Delete Section",
|
|
6
|
-
description: "Deletes a section. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a section. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-section)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-delete-task",
|
|
5
5
|
name: "Delete Task",
|
|
6
|
-
description: "Deletes a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Deletes a task. [See the docs here](https://developer.todoist.com/rest/v2/#delete-a-task)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -6,8 +6,8 @@ import converter from "json-2-csv";
|
|
|
6
6
|
export default {
|
|
7
7
|
key: "todoist-export-tasks",
|
|
8
8
|
name: "Export Tasks",
|
|
9
|
-
description: "Export project task names as comma separated file. Returns path to new file. [See Docs](https://developer.todoist.com/rest/
|
|
10
|
-
version: "0.0.
|
|
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.0.2",
|
|
11
11
|
type: "action",
|
|
12
12
|
props: {
|
|
13
13
|
todoist,
|
|
@@ -29,7 +29,9 @@ export default {
|
|
|
29
29
|
});
|
|
30
30
|
const csv = await converter.json2csvAsync(tasks);
|
|
31
31
|
|
|
32
|
-
const { path } = await file(
|
|
32
|
+
const { path } = await file({
|
|
33
|
+
postfix: ".csv",
|
|
34
|
+
});
|
|
33
35
|
await fs.promises.appendFile(path, Buffer.from(csv));
|
|
34
36
|
|
|
35
37
|
$.export("$summary", `Successfully exported ${tasks.length} task${tasks.length === 1
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-find-project",
|
|
5
5
|
name: "Find Project",
|
|
6
|
-
description: "Finds a project (by name/title). [See Docs](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-find-task",
|
|
5
5
|
name: "Find Task",
|
|
6
|
-
description: "Finds a task by name. [See Docs](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-find-user",
|
|
5
5
|
name: "Find User",
|
|
6
|
-
description: "Searches by email for a user who is connected/shared with your account. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-label",
|
|
5
5
|
name: "Get Label",
|
|
6
|
-
description: "Returns info about a label. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-project",
|
|
5
5
|
name: "Get Project",
|
|
6
|
-
description: "Returns info about a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Returns info about a project. [See the docs here](https://developer.todoist.com/rest/v2/#get-a-project)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-project-comment",
|
|
5
5
|
name: "Get Project Comment",
|
|
6
|
-
description: "Returns info about a project comment. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
"project",
|
|
15
15
|
],
|
|
16
16
|
description: "Project containing the comment",
|
|
17
|
+
optional: false,
|
|
17
18
|
},
|
|
18
19
|
commentId: {
|
|
19
20
|
propDefinition: [
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-section",
|
|
5
5
|
name: "Get Section",
|
|
6
|
-
description: "Returns info about a section. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-task",
|
|
5
5
|
name: "Get Task",
|
|
6
|
-
description: "Returns info about a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-get-task-comment",
|
|
5
5
|
name: "Get Task Comment",
|
|
6
|
-
description: "Returns info about a task comment. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -22,7 +22,6 @@ export default {
|
|
|
22
22
|
project: c.project,
|
|
23
23
|
}),
|
|
24
24
|
],
|
|
25
|
-
optional: true,
|
|
26
25
|
},
|
|
27
26
|
commentId: {
|
|
28
27
|
propDefinition: [
|
|
@@ -5,8 +5,8 @@ import converter from "json-2-csv";
|
|
|
5
5
|
export default {
|
|
6
6
|
key: "todoist-import-tasks",
|
|
7
7
|
name: "Import Tasks",
|
|
8
|
-
description: "Import tasks into a selected project. [See Docs](https://developer.todoist.com/sync/
|
|
9
|
-
version: "0.0.
|
|
8
|
+
description: "Import tasks into a selected project. [See Docs](https://developer.todoist.com/sync/v9/#add-an-item)",
|
|
9
|
+
version: "0.0.2",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-invite-user-to-project",
|
|
5
5
|
name: "Invite User To Project",
|
|
6
|
-
description: "Sends email to a person, inviting them to use one of your projects. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-filters",
|
|
5
5
|
name: "List Filters",
|
|
6
|
-
description: "Returns a list of all filters. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Returns a list of all filters. [See the docs here](https://developer.todoist.com/sync/v9/#read-resources)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-labels",
|
|
5
5
|
name: "List Labels",
|
|
6
|
-
description: "Returns a list of all labels. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-project-comments",
|
|
5
5
|
name: "List Project Comments",
|
|
6
|
-
description: "Returns a list of comments for a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-projects",
|
|
5
5
|
name: "List Projects",
|
|
6
|
-
description: "Returns a list of all projects. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-sections",
|
|
5
5
|
name: "List Sections",
|
|
6
|
-
description: "Returns a list of all sections. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-task-comments",
|
|
5
5
|
name: "List Task Comments",
|
|
6
|
-
description: "Returns a list of comments for a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-list-uncompleted-tasks",
|
|
5
5
|
name: "List Uncompleted Tasks",
|
|
6
|
-
description: "Returns a list of uncompleted tasks by project, section, and/or label. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-mark-task-completed",
|
|
5
5
|
name: "Mark Task as Completed",
|
|
6
|
-
description: "Marks a task as being completed. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-move-task-to-section",
|
|
5
5
|
name: "Move Task To Section",
|
|
6
|
-
description: "Move a Task to a different section within the same project. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
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.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-uncomplete-task",
|
|
5
5
|
name: "Uncomplete Task",
|
|
6
|
-
description: "Uncompletes a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Uncompletes a task. [See the docs here](https://developer.todoist.com/rest/v2/#reopen-a-task)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-comment",
|
|
5
5
|
name: "Update Comment",
|
|
6
|
-
description: "Updates a comment. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a comment. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-comment)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -14,6 +14,7 @@ export default {
|
|
|
14
14
|
"project",
|
|
15
15
|
],
|
|
16
16
|
description: "Project containing the comment to update",
|
|
17
|
+
optional: false,
|
|
17
18
|
},
|
|
18
19
|
task: {
|
|
19
20
|
propDefinition: [
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-filter",
|
|
5
5
|
name: "Update Filter",
|
|
6
|
-
description: "Updates a filter. [See the docs here](https://developer.todoist.com/sync/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a filter. [See the docs here](https://developer.todoist.com/sync/v9/#update-a-filter)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-label",
|
|
5
5
|
name: "Update Label",
|
|
6
|
-
description: "Updates a label. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a label. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-personal-label)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-project",
|
|
5
5
|
name: "Update Project",
|
|
6
|
-
description: "Updates a project. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a project. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-project)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-section",
|
|
5
5
|
name: "Update Section",
|
|
6
|
-
description: "Updates a section. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a section. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-section)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
@@ -23,6 +23,7 @@ export default {
|
|
|
23
23
|
}),
|
|
24
24
|
],
|
|
25
25
|
description: "The section to update",
|
|
26
|
+
optional: false,
|
|
26
27
|
},
|
|
27
28
|
name: {
|
|
28
29
|
propDefinition: [
|
|
@@ -3,8 +3,8 @@ import todoist from "../../todoist.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "todoist-update-task",
|
|
5
5
|
name: "Update Task",
|
|
6
|
-
description: "Updates a task. [See the docs here](https://developer.todoist.com/rest/
|
|
7
|
-
version: "0.0.
|
|
6
|
+
description: "Updates a task. [See the docs here](https://developer.todoist.com/rest/v2/#update-a-task)",
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
todoist,
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/todoist",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Pipedream Todoist Components",
|
|
5
5
|
"main": "todoist.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"@pipedream/platform": "^1.2.1",
|
|
15
|
+
"json-2-csv": "^3.15.1",
|
|
16
|
+
"query-string": "^7.1.3",
|
|
16
17
|
"tmp-promise": "^3.0.3",
|
|
17
|
-
"
|
|
18
|
+
"uuid": "^8.3.2"
|
|
18
19
|
},
|
|
19
20
|
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
|
|
20
21
|
"publishConfig": {
|
package/sources/common.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import todoist from "../todoist.app.mjs";
|
|
2
|
+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
props: {
|
|
@@ -8,7 +9,7 @@ export default {
|
|
|
8
9
|
label: "Polling Interval",
|
|
9
10
|
description: "Pipedream will poll the Todoist API on this schedule",
|
|
10
11
|
default: {
|
|
11
|
-
intervalSeconds:
|
|
12
|
+
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
12
13
|
},
|
|
13
14
|
},
|
|
14
15
|
db: "$.service.db",
|
|
@@ -3,15 +3,15 @@ import common from "../common-task.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "todoist-completed-task",
|
|
6
|
-
name: "Completed Task",
|
|
6
|
+
name: "New Completed Task",
|
|
7
7
|
description: "Emit new event for each completed task. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
methods: {
|
|
12
12
|
...common.methods,
|
|
13
13
|
isElementRelevant(element) {
|
|
14
|
-
return element.checked
|
|
14
|
+
return element.checked;
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
};
|
|
@@ -3,15 +3,15 @@ import common from "../common-task.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "todoist-incomplete-task",
|
|
6
|
-
name: "Incomplete Task",
|
|
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.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
methods: {
|
|
12
12
|
...common.methods,
|
|
13
13
|
isElementRelevant(element) {
|
|
14
|
-
return element.checked
|
|
14
|
+
return !element.checked;
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
};
|
|
@@ -5,6 +5,6 @@ export default {
|
|
|
5
5
|
key: "todoist-new-or-modified-project",
|
|
6
6
|
name: "New or Modified Project",
|
|
7
7
|
description: "Emit new event for each new or modified project. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
};
|
|
@@ -5,6 +5,6 @@ export default {
|
|
|
5
5
|
key: "todoist-new-or-modified-task",
|
|
6
6
|
name: "New or Modified Task",
|
|
7
7
|
description: "Emit new event for each new or modified task. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "todoist-new-project",
|
|
6
6
|
name: "New Project",
|
|
7
7
|
description: "Emit new event for each new project. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "greatest",
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "todoist-new-section",
|
|
6
6
|
name: "New Section",
|
|
7
7
|
description: "Emit new event for each new section added. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "greatest",
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "todoist-new-task",
|
|
6
6
|
name: "New Task",
|
|
7
7
|
description: "Emit new event for each new task. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "greatest",
|
|
11
11
|
};
|
|
@@ -3,9 +3,9 @@ import common from "../common.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "todoist-sync-resources",
|
|
6
|
-
name: "Sync Resources",
|
|
6
|
+
name: "New Sync Resources",
|
|
7
7
|
description: "Emit new updates for your selected resources. [See the docs here](https://developer.todoist.com/sync/v8/#read-resources)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
package/todoist.app.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { axios } from "@pipedream/platform";
|
|
2
|
-
import querystring from "
|
|
3
|
-
import resourceTypes from "./resource-types.mjs";
|
|
4
|
-
import colors from "./colors.mjs";
|
|
2
|
+
import querystring from "query-string";
|
|
3
|
+
import resourceTypes from "./common/resource-types.mjs";
|
|
4
|
+
import colors from "./common/colors.mjs";
|
|
5
5
|
import { v4 as uuid } from "uuid";
|
|
6
6
|
|
|
7
7
|
export default {
|
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
selectProjects: {
|
|
21
|
-
type: "
|
|
21
|
+
type: "string[]",
|
|
22
22
|
label: "Select Projects",
|
|
23
23
|
description:
|
|
24
24
|
"Filter for events that match one or more projects. Leave this blank to emit results for any project.",
|
|
@@ -31,7 +31,7 @@ export default {
|
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
project: {
|
|
34
|
-
type: "
|
|
34
|
+
type: "string",
|
|
35
35
|
label: "Project",
|
|
36
36
|
description: "Select a project to filter results by",
|
|
37
37
|
optional: true,
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
section: {
|
|
46
|
-
type: "
|
|
46
|
+
type: "string",
|
|
47
47
|
label: "Section",
|
|
48
48
|
description: "Select a section to filter results by",
|
|
49
49
|
optional: true,
|
|
@@ -59,7 +59,7 @@ export default {
|
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
label: {
|
|
62
|
-
type: "
|
|
62
|
+
type: "string",
|
|
63
63
|
label: "Label",
|
|
64
64
|
description: "Select a label to filter results by",
|
|
65
65
|
optional: true,
|
|
@@ -71,7 +71,7 @@ export default {
|
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
73
|
task: {
|
|
74
|
-
type: "
|
|
74
|
+
type: "string",
|
|
75
75
|
label: "Task",
|
|
76
76
|
description: "Select a task to filter results by",
|
|
77
77
|
async options({
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
},
|
|
90
90
|
},
|
|
91
91
|
completedTask: {
|
|
92
|
-
type: "
|
|
92
|
+
type: "string",
|
|
93
93
|
label: "Completed Task",
|
|
94
94
|
description: "Select the task to reopen",
|
|
95
95
|
async options({
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
121
|
assignee: {
|
|
122
|
-
type: "
|
|
122
|
+
type: "string",
|
|
123
123
|
label: "Assignee",
|
|
124
124
|
description: "The responsible user (if set, and only for shared tasks)",
|
|
125
125
|
async options({ project }) {
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
131
131
|
optional: true,
|
|
132
132
|
},
|
|
133
133
|
filter: {
|
|
134
|
-
type: "
|
|
134
|
+
type: "string",
|
|
135
135
|
label: "Filter",
|
|
136
136
|
description: "Select the filter to update",
|
|
137
137
|
async options() {
|
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
description: "Enter the new name",
|
|
148
148
|
},
|
|
149
149
|
commentId: {
|
|
150
|
-
type: "
|
|
150
|
+
type: "string",
|
|
151
151
|
label: "Comment ID",
|
|
152
152
|
description: "Select a comment",
|
|
153
153
|
async options({
|
|
@@ -254,7 +254,7 @@ export default {
|
|
|
254
254
|
/**
|
|
255
255
|
* Make a request to Todoist's sync API.
|
|
256
256
|
* @params {Object} opts - An object representing the configuration options for this method
|
|
257
|
-
* @params {String} [opts.path=/sync/
|
|
257
|
+
* @params {String} [opts.path=/sync/v9/sync] - The path for the sync request
|
|
258
258
|
* @params {String} opts.payload - The data to send in the API request at the POST body.
|
|
259
259
|
* This data will converted to `application/x-www-form-urlencoded`
|
|
260
260
|
* @returns {Object} When the request succeeds, an HTTP 200 response with
|
|
@@ -263,7 +263,7 @@ export default {
|
|
|
263
263
|
async _makeSyncRequest(opts) {
|
|
264
264
|
const {
|
|
265
265
|
$,
|
|
266
|
-
path = "/sync/
|
|
266
|
+
path = "/sync/v9/sync",
|
|
267
267
|
} = opts;
|
|
268
268
|
delete opts.path;
|
|
269
269
|
delete opts.$;
|
|
@@ -293,7 +293,7 @@ export default {
|
|
|
293
293
|
} = opts;
|
|
294
294
|
delete opts.path;
|
|
295
295
|
delete opts.$;
|
|
296
|
-
opts.url = `https://api.todoist.com/rest/
|
|
296
|
+
opts.url = `https://api.todoist.com/rest/v2${path[0] === "/"
|
|
297
297
|
? ""
|
|
298
298
|
: "/"}${path}`;
|
|
299
299
|
opts.headers = {
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
328
328
|
isProjectInList(projectId, selectedProjectIds) {
|
|
329
329
|
return (
|
|
330
330
|
selectedProjectIds.length === 0 ||
|
|
331
|
-
selectedProjectIds.includes(projectId)
|
|
331
|
+
selectedProjectIds.map((pId) => pId.toString()).includes(projectId)
|
|
332
332
|
);
|
|
333
333
|
},
|
|
334
334
|
/**
|
|
@@ -342,7 +342,7 @@ export default {
|
|
|
342
342
|
}) {
|
|
343
343
|
return this._makeSyncRequest({
|
|
344
344
|
$,
|
|
345
|
-
path: "/sync/
|
|
345
|
+
path: "/sync/v9/sync",
|
|
346
346
|
method: "POST",
|
|
347
347
|
payload: opts,
|
|
348
348
|
});
|
|
@@ -766,7 +766,7 @@ export default {
|
|
|
766
766
|
} = opts;
|
|
767
767
|
return (await this._makeSyncRequest({
|
|
768
768
|
$,
|
|
769
|
-
path: "/sync/
|
|
769
|
+
path: "/sync/v9/completed/get_all",
|
|
770
770
|
method: "POST",
|
|
771
771
|
payload: params,
|
|
772
772
|
})).items;
|
package/resource-types.mjs
DELETED