@pipedream/asana 0.6.4 → 0.7.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.
- package/actions/add-task-to-section/add-task-to-section.mjs +1 -1
- package/actions/create-project/create-project.mjs +7 -1
- package/actions/create-subtask/create-subtask.mjs +7 -1
- package/actions/create-task/create-task.mjs +7 -1
- package/actions/create-task-comment/create-task-comment.mjs +1 -1
- package/actions/create-task-from-template/create-task-from-template.mjs +1 -1
- package/actions/delete-task/delete-task.mjs +1 -1
- package/actions/find-task-by-id/find-task-by-id.mjs +1 -1
- package/actions/get-tasks-from-task-list/get-tasks-from-task-list.mjs +1 -1
- package/actions/search-projects/search-projects.mjs +1 -1
- package/actions/search-sections/search-sections.mjs +1 -1
- package/actions/search-tasks/search-tasks.mjs +4 -1
- package/actions/search-user-projects/search-user-projects.mjs +5 -3
- package/actions/update-task/update-task.mjs +4 -1
- package/asana.app.mjs +4 -1
- package/package.json +2 -2
- package/sources/new-completed-task/new-completed-task.mjs +1 -1
- package/sources/new-project/new-project.mjs +1 -1
- package/sources/new-story/new-story.mjs +1 -1
- package/sources/new-subtask/new-subtask.mjs +1 -1
- package/sources/new-tag/new-tag.mjs +2 -2
- package/sources/new-task/new-task.mjs +1 -1
- package/sources/new-team/new-team.mjs +3 -3
- package/sources/new-user/new-user.mjs +1 -1
- package/sources/new-workspace/new-workspace.mjs +2 -2
- package/sources/tag-added-to-task/tag-added-to-task.mjs +1 -1
- package/sources/tags-added-to-any-task/tags-added-to-any-task.mjs +2 -2
- package/sources/task-assigned-in-project/task-assigned-in-project.mjs +5 -2
- package/sources/task-field-updated-in-project/task-field-updated-in-project.mjs +2 -2
- package/sources/task-updated-in-project/task-updated-in-project.mjs +5 -2
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
name: "Add Task To Section",
|
|
6
6
|
description: "Add a task to a specific, existing section. This will remove the task from other sections of the project. [See the documentation](https://developers.asana.com/docs/add-task-to-section)",
|
|
7
7
|
key: "asana-add-task-to-section",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.7",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-create-project",
|
|
6
6
|
name: "Create Project",
|
|
7
7
|
description: "Create a new project in a workspace or team. [See the documentation](https://developers.asana.com/docs/create-a-project)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.10.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
asana,
|
|
@@ -93,6 +93,9 @@ export default {
|
|
|
93
93
|
propDefinition: [
|
|
94
94
|
asana,
|
|
95
95
|
"users",
|
|
96
|
+
({ workspace }) => ({
|
|
97
|
+
workspace,
|
|
98
|
+
}),
|
|
96
99
|
],
|
|
97
100
|
},
|
|
98
101
|
html_notes: {
|
|
@@ -109,6 +112,9 @@ export default {
|
|
|
109
112
|
propDefinition: [
|
|
110
113
|
asana,
|
|
111
114
|
"users",
|
|
115
|
+
({ workspace }) => ({
|
|
116
|
+
workspace,
|
|
117
|
+
}),
|
|
112
118
|
],
|
|
113
119
|
},
|
|
114
120
|
},
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-create-subtask",
|
|
6
6
|
name: "Create Subtask",
|
|
7
7
|
description: "Creates a new subtask and adds it to the parent task. [See the documentation](https://developers.asana.com/docs/create-a-subtask)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.4.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -34,6 +34,9 @@ export default {
|
|
|
34
34
|
propDefinition: [
|
|
35
35
|
asana,
|
|
36
36
|
"users",
|
|
37
|
+
({ workspace }) => ({
|
|
38
|
+
workspace,
|
|
39
|
+
}),
|
|
37
40
|
],
|
|
38
41
|
},
|
|
39
42
|
assignee_section: {
|
|
@@ -75,6 +78,9 @@ export default {
|
|
|
75
78
|
propDefinition: [
|
|
76
79
|
asana,
|
|
77
80
|
"users",
|
|
81
|
+
({ workspace }) => ({
|
|
82
|
+
workspace,
|
|
83
|
+
}),
|
|
78
84
|
],
|
|
79
85
|
},
|
|
80
86
|
html_notes: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-create-task",
|
|
6
6
|
name: "Create Task",
|
|
7
7
|
description: "Creates a new task. [See the documentation](https://developers.asana.com/docs/create-a-task)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.4.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -29,6 +29,9 @@ export default {
|
|
|
29
29
|
propDefinition: [
|
|
30
30
|
asana,
|
|
31
31
|
"users",
|
|
32
|
+
({ workspace }) => ({
|
|
33
|
+
workspace,
|
|
34
|
+
}),
|
|
32
35
|
],
|
|
33
36
|
},
|
|
34
37
|
assignee_section: {
|
|
@@ -70,6 +73,9 @@ export default {
|
|
|
70
73
|
propDefinition: [
|
|
71
74
|
asana,
|
|
72
75
|
"users",
|
|
76
|
+
({ workspace }) => ({
|
|
77
|
+
workspace,
|
|
78
|
+
}),
|
|
73
79
|
],
|
|
74
80
|
},
|
|
75
81
|
html_notes: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-create-task-comment",
|
|
6
6
|
name: "Create Task Comment",
|
|
7
7
|
description: "Adds a comment to a task. [See the documentation](https://developers.asana.com/docs/create-a-story-on-a-task)",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.7",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
name: "Create Task from Template",
|
|
5
5
|
key: "asana-create-task-from-template",
|
|
6
6
|
description: "Creates a new task from a task template. [See the documentation](https://developers.asana.com/reference/instantiatetask)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-delete-task",
|
|
6
6
|
name: "Delete Task",
|
|
7
7
|
description: "Deletes a specific and existing task. [See the documentation](https://developers.asana.com/docs/delete-a-task)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.8",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-find-task-by-id",
|
|
6
6
|
name: "Find Task by ID",
|
|
7
7
|
description: "Searches for a task by id. Returns the complete task record for a single task. [See the documentation](https://developers.asana.com/docs/get-a-task)",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.7",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "asana-get-tasks-from-task-list",
|
|
5
5
|
name: "Get Tasks From Task List",
|
|
6
6
|
description: "Returns the compact list of tasks in a user’s My Tasks list. [See the documentation](https://developers.asana.com/reference/gettasksforusertasklist)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.5",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
...common.props,
|
|
@@ -3,7 +3,7 @@ import asana from "../../asana.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
type: "action",
|
|
5
5
|
key: "asana-search-projects",
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.7",
|
|
7
7
|
name: "Search Projects",
|
|
8
8
|
description: "Finds an existing project. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
|
|
9
9
|
props: {
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "asana-search-sections",
|
|
5
5
|
name: "Search Sections",
|
|
6
6
|
description: "Searches for a section by name within a particular project. [See the documentation](https://developers.asana.com/docs/get-sections-in-a-project)",
|
|
7
|
-
version: "0.2.
|
|
7
|
+
version: "0.2.7",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-search-tasks",
|
|
6
6
|
name: "Search Tasks",
|
|
7
7
|
description: "Searches for a Task by name within a Project. [See the documentation](https://developers.asana.com/docs/get-multiple-tasks)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.3.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -22,6 +22,9 @@ export default {
|
|
|
22
22
|
propDefinition: [
|
|
23
23
|
asana,
|
|
24
24
|
"users",
|
|
25
|
+
({ workspace }) => ({
|
|
26
|
+
workspace,
|
|
27
|
+
}),
|
|
25
28
|
],
|
|
26
29
|
},
|
|
27
30
|
section: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import asana from "../../asana.app.mjs";
|
|
2
1
|
import _ from "lodash";
|
|
2
|
+
import asana from "../../asana.app.mjs";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "asana-search-user-projects",
|
|
6
6
|
name: "Get list of user projects",
|
|
7
7
|
description: "Return list of projects given the user and workspace gid. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.5.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
asana,
|
|
@@ -17,7 +17,6 @@ export default {
|
|
|
17
17
|
asana,
|
|
18
18
|
"workspaces",
|
|
19
19
|
],
|
|
20
|
-
optional: true,
|
|
21
20
|
},
|
|
22
21
|
user: {
|
|
23
22
|
label: "User",
|
|
@@ -26,6 +25,9 @@ export default {
|
|
|
26
25
|
propDefinition: [
|
|
27
26
|
asana,
|
|
28
27
|
"users",
|
|
28
|
+
({ workspace }) => ({
|
|
29
|
+
workspace,
|
|
30
|
+
}),
|
|
29
31
|
],
|
|
30
32
|
},
|
|
31
33
|
},
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "asana-update-task",
|
|
6
6
|
name: "Update Task",
|
|
7
7
|
description: "Updates a specific and existing task. [See the documentation](https://developers.asana.com/docs/update-a-task)",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.4.0",
|
|
9
9
|
type: "action",
|
|
10
10
|
props: {
|
|
11
11
|
...common.props,
|
|
@@ -34,6 +34,9 @@ export default {
|
|
|
34
34
|
propDefinition: [
|
|
35
35
|
asana,
|
|
36
36
|
"users",
|
|
37
|
+
({ workspace }) => ({
|
|
38
|
+
workspace,
|
|
39
|
+
}),
|
|
37
40
|
],
|
|
38
41
|
},
|
|
39
42
|
assignee_section: {
|
package/asana.app.mjs
CHANGED
|
@@ -120,9 +120,12 @@ export default {
|
|
|
120
120
|
label: "Users",
|
|
121
121
|
description: "List of users. This field uses the user GID.",
|
|
122
122
|
type: "string[]",
|
|
123
|
-
async options({
|
|
123
|
+
async options({
|
|
124
|
+
prevContext, workspace,
|
|
125
|
+
}) {
|
|
124
126
|
const params = {
|
|
125
127
|
limit: DEFAULT_LIMIT,
|
|
128
|
+
workspace,
|
|
126
129
|
};
|
|
127
130
|
if (prevContext?.offset) {
|
|
128
131
|
params.offset = prevContext.offset;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/asana",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Pipedream Asana Components",
|
|
5
5
|
"main": "asana.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"homepage": "https://pipedream.com/apps/asana",
|
|
11
11
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@pipedream/platform": "^
|
|
13
|
+
"@pipedream/platform": "^3.0.3",
|
|
14
14
|
"lodash": "^4.17.21"
|
|
15
15
|
},
|
|
16
16
|
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "asana-new-project",
|
|
7
7
|
name: "New Project Added To Workspace (Instant)",
|
|
8
8
|
description: "Emit new event for each new project added to a workspace.",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.7",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
12
12
|
...common.props,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import asana from "../../asana.app.mjs";
|
|
2
1
|
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
|
+
import asana from "../../asana.app.mjs";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "asana-new-tag",
|
|
6
6
|
type: "source",
|
|
7
7
|
name: "New Tag",
|
|
8
8
|
description: "Emit new event for each tag created in a workspace.",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.9",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
12
12
|
asana,
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
type: "source",
|
|
8
8
|
name: "New Task (Instant)",
|
|
9
9
|
description: "Emit new event for each task added to a project. [See docs here](https://developers.asana.com/docs/establish-a-webhook)",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.7",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import asana from "../../asana.app.mjs";
|
|
2
1
|
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
|
+
import asana from "../../asana.app.mjs";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "asana-new-team",
|
|
6
6
|
type: "source",
|
|
7
7
|
name: "New Team",
|
|
8
|
-
description: "Emit new event for each
|
|
9
|
-
version: "0.1.
|
|
8
|
+
description: "Emit new event for each team added to an organization.",
|
|
9
|
+
version: "0.1.8",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
12
12
|
asana,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import asana from "../../asana.app.mjs";
|
|
2
1
|
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
|
+
import asana from "../../asana.app.mjs";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
type: "source",
|
|
6
6
|
key: "asana-new-workspace",
|
|
7
7
|
name: "New Workspace Added",
|
|
8
8
|
description: "Emit new event each time you add a new workspace/organization.",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.8",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
12
12
|
asana,
|
|
@@ -5,9 +5,9 @@ export default {
|
|
|
5
5
|
...common,
|
|
6
6
|
key: "asana-tags-added-to-any-task",
|
|
7
7
|
type: "source",
|
|
8
|
-
name: "Tags added to any task (Instant)",
|
|
8
|
+
name: "New Tags added to any task (Instant)",
|
|
9
9
|
description: "Emit new event each time a tag is added to any task, optionally filtering by a given set of tags.",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.6",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -5,9 +5,9 @@ export default {
|
|
|
5
5
|
...common,
|
|
6
6
|
key: "asana-task-assigned-in-project",
|
|
7
7
|
type: "source",
|
|
8
|
-
name: "Task Assigned in Project (Instant)",
|
|
8
|
+
name: "New Task Assigned in Project (Instant)",
|
|
9
9
|
description: "Emit new event each time a task is assigned, reassigned or unassigned.",
|
|
10
|
-
version: "0.0
|
|
10
|
+
version: "0.1.0",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -30,6 +30,9 @@ export default {
|
|
|
30
30
|
propDefinition: [
|
|
31
31
|
asana,
|
|
32
32
|
"users",
|
|
33
|
+
({ workspace }) => ({
|
|
34
|
+
workspace,
|
|
35
|
+
}),
|
|
33
36
|
],
|
|
34
37
|
},
|
|
35
38
|
},
|
|
@@ -5,9 +5,9 @@ export default {
|
|
|
5
5
|
...common,
|
|
6
6
|
key: "asana-task-field-updated-in-project",
|
|
7
7
|
type: "source",
|
|
8
|
-
name: "Task Field Updated In Project (Instant)",
|
|
8
|
+
name: "New Task Field Updated In Project (Instant)",
|
|
9
9
|
description: "Emit new event whenever given task fields are updated.",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.6",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -5,9 +5,9 @@ export default {
|
|
|
5
5
|
...common,
|
|
6
6
|
key: "asana-task-updated-in-project",
|
|
7
7
|
type: "source",
|
|
8
|
-
name: "Task Updated In Project (Instant)",
|
|
8
|
+
name: "New Task Updated In Project (Instant)",
|
|
9
9
|
description: "Emit new event for each update to a task.",
|
|
10
|
-
version: "1.1.
|
|
10
|
+
version: "1.1.6",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -41,6 +41,9 @@ export default {
|
|
|
41
41
|
propDefinition: [
|
|
42
42
|
asana,
|
|
43
43
|
"users",
|
|
44
|
+
({ workspace }) => ({
|
|
45
|
+
workspace,
|
|
46
|
+
}),
|
|
44
47
|
],
|
|
45
48
|
},
|
|
46
49
|
delay: {
|