@pipedream/asana 1.1.1 → 3.0.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.
Files changed (43) hide show
  1. package/actions/add-task-to-section/add-task-to-section.mjs +4 -16
  2. package/actions/common/common.mjs +3 -6
  3. package/actions/create-project/create-project.mjs +8 -16
  4. package/actions/create-subtask/create-subtask.mjs +9 -23
  5. package/actions/create-task/create-task.mjs +9 -23
  6. package/actions/create-task-comment/create-task-comment.mjs +5 -7
  7. package/actions/create-task-from-template/create-task-from-template.mjs +4 -6
  8. package/actions/delete-task/delete-task.mjs +4 -6
  9. package/actions/find-task-by-id/find-task-by-id.mjs +5 -7
  10. package/actions/get-portfolio/get-portfolio.mjs +2 -2
  11. package/actions/get-tasks-from-task-list/get-tasks-from-task-list.mjs +2 -2
  12. package/actions/list-organizations-options/list-organizations-options.mjs +10 -3
  13. package/actions/list-portfolio-items/list-portfolio-items.mjs +2 -2
  14. package/actions/list-portfolios/list-portfolios.mjs +3 -3
  15. package/actions/list-tags/list-tags.mjs +69 -0
  16. package/actions/list-task-stories/list-task-stories.mjs +28 -17
  17. package/actions/list-task-templates/list-task-templates.mjs +61 -0
  18. package/actions/list-teams/list-teams.mjs +3 -3
  19. package/actions/list-users/list-users.mjs +3 -3
  20. package/actions/list-workspaces/list-workspaces.mjs +2 -2
  21. package/actions/search-projects/search-projects.mjs +143 -36
  22. package/actions/search-sections/search-sections.mjs +9 -6
  23. package/actions/search-tasks/search-tasks.mjs +9 -14
  24. package/actions/search-tasks-premium/search-tasks-premium.mjs +9 -13
  25. package/actions/search-user-projects/search-user-projects.mjs +16 -9
  26. package/actions/update-task/update-task.mjs +6 -13
  27. package/asana.app.mjs +121 -90
  28. package/package.json +1 -1
  29. package/sources/common/common.mjs +1 -1
  30. package/sources/new-completed-task/new-completed-task.mjs +2 -2
  31. package/sources/new-project/new-project.mjs +1 -1
  32. package/sources/new-story/new-story.mjs +2 -2
  33. package/sources/new-subtask/new-subtask.mjs +3 -3
  34. package/sources/new-tag/new-tag.mjs +2 -2
  35. package/sources/new-task/new-task.mjs +2 -2
  36. package/sources/new-team/new-team.mjs +1 -1
  37. package/sources/new-user/new-user.mjs +1 -1
  38. package/sources/new-workspace/new-workspace.mjs +1 -1
  39. package/sources/tag-added-to-task/tag-added-to-task.mjs +3 -3
  40. package/sources/tags-added-to-any-task/tags-added-to-any-task.mjs +3 -3
  41. package/sources/task-assigned-in-project/task-assigned-in-project.mjs +3 -3
  42. package/sources/task-field-updated-in-project/task-field-updated-in-project.mjs +2 -5
  43. package/sources/task-updated-in-project/task-updated-in-project.mjs +4 -4
@@ -3,8 +3,9 @@ import asana from "../../asana.app.mjs";
3
3
  export default {
4
4
  key: "asana-search-user-projects",
5
5
  name: "Get list of user projects",
6
- description: "Return list of projects given the user and workspace gid. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
7
- version: "0.6.0",
6
+ description: "Returns all projects in an Asana workspace where the specified user is a member. Omit `user` (or pass `\"me\"`) for the authenticated user's own projects — don't guess a GID from **List Users** when the request is about \"my\" projects. Results are workspace-wide and not scoped to any portfolio; archived projects may be included. If you need portfolio-scoped results, use **List Portfolios** and **List Portfolio Items** instead. Example: call with `workspace: '1200123456789012'` (no `user`) → returns `[{gid: '1204567890123456', name: 'Website Redesign'}, ...]` for projects the authenticated user is a member of. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
7
+ version: "0.7.1",
8
+ ai: "optimized",
8
9
  annotations: {
9
10
  destructiveHint: false,
10
11
  openWorldHint: true,
@@ -15,7 +16,7 @@ export default {
15
16
  asana,
16
17
  workspace: {
17
18
  label: "Workspace",
18
- description: "The workspace GID. Use the **List Workspaces** action to find available workspace GIDs.",
19
+ description: "The workspace GID, e.g. `1201234567890123`. Use the **List Workspaces** action to find available workspace GIDs.",
19
20
  type: "string",
20
21
  propDefinition: [
21
22
  asana,
@@ -25,13 +26,11 @@ export default {
25
26
  user: {
26
27
  label: "User",
27
28
  type: "string",
28
- description: "GID of a user",
29
+ description: "GID of a user, e.g. `1198765432109876`, or `\"me\"` for the authenticated user. Defaults to `\"me\"` if omitted. Use the **List Users** action to find another user's GID.",
30
+ optional: true,
29
31
  propDefinition: [
30
32
  asana,
31
33
  "users",
32
- ({ workspace }) => ({
33
- workspace,
34
- }),
35
34
  ],
36
35
  },
37
36
  optFields: {
@@ -39,7 +38,7 @@ export default {
39
38
  asana,
40
39
  "optFields",
41
40
  ],
42
- description: "Optional project properties to include in the response (e.g. `created_at`, `start_on`, `due_on`, `archived`, `custom_fields`). Nested paths are allowed; `gid` is always returned. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
41
+ description: "Optional project properties to include in the response (e.g. `created_at`, `start_on`, `due_on`, `archived`, `custom_fields`). Nested paths are allowed; `gid` is always returned.",
43
42
  optional: true,
44
43
  },
45
44
  maxResults: {
@@ -47,6 +46,7 @@ export default {
47
46
  asana,
48
47
  "maxResults",
49
48
  ],
49
+ description: "Maximum number of projects to return (min 1, max 9999), e.g. `100`.",
50
50
  },
51
51
  },
52
52
  async run({ $ }) {
@@ -64,6 +64,13 @@ export default {
64
64
  }
65
65
  }
66
66
 
67
+ const userId = (!this.user || this.user === "me")
68
+ ? (await this.asana.getUser({
69
+ userId: "me",
70
+ $,
71
+ })).data.gid
72
+ : this.user;
73
+
67
74
  let hasMore, count = 0;
68
75
  const params = {
69
76
  workspace: this.workspace,
@@ -88,7 +95,7 @@ export default {
88
95
  if (data.length === 0) break;
89
96
 
90
97
  for (const project of data) {
91
- const isMember = project.members && project.members.some((m) => m.gid === this.user);
98
+ const isMember = project.members && project.members.some((m) => m.gid === userId);
92
99
  if (!isMember) continue;
93
100
  allProjects.push(project);
94
101
  if (++count >= this.maxResults) {
@@ -4,8 +4,9 @@ import common from "../common/common.mjs";
4
4
  export default {
5
5
  key: "asana-update-task",
6
6
  name: "Update Task",
7
- description: "Updates a specific and existing task. [See the documentation](https://developers.asana.com/docs/update-a-task)",
8
- version: "0.4.8",
7
+ description: "Updates one or more fields on an existing Asana task (name, assignee, due date, completion status, notes, custom fields, etc.). All fields are optional — supply only the ones you want to change; unchanged fields retain their current values. Use **Find Task by ID** or **Search Tasks** to obtain the task GID first. Returns the updated task record. Example: call with `task_gid: '1202345678901234'`, `completed: true` → marks the task complete and returns the updated record. [See the documentation](https://developers.asana.com/docs/update-a-task)",
8
+ version: "0.4.10",
9
+ ai: "optimized",
9
10
  annotations: {
10
11
  destructiveHint: false,
11
12
  openWorldHint: true,
@@ -21,40 +22,32 @@ export default {
21
22
  propDefinition: [
22
23
  asana,
23
24
  "tasks",
24
- (c) => ({
25
- project: c.project,
26
- }),
27
25
  ],
28
26
  },
29
27
  name: {
30
28
  label: "Name",
31
29
  description: "Name of the task. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.",
32
30
  type: "string",
31
+ optional: true,
33
32
  },
34
33
  assignee: {
35
34
  label: "Assignee",
36
- description: "Gid of a user.",
35
+ description: "Gid of a user. Use **List Users** to find available user GIDs.",
37
36
  type: "string",
38
37
  optional: true,
39
38
  propDefinition: [
40
39
  asana,
41
40
  "users",
42
- ({ workspace }) => ({
43
- workspace,
44
- }),
45
41
  ],
46
42
  },
47
43
  assignee_section: {
48
44
  label: "Assignee Section",
49
- description: "The assignee section is a subdivision of a project that groups tasks together in the assignee's \"My Tasks\" list.",
45
+ description: "The assignee section is a subdivision of a project that groups tasks together in the assignee's \"My Tasks\" list (a section GID, e.g. `1203456789012345`). Use **Get Tasks From Task List** with `optFields` including `assignee_section` to retrieve the authenticated user's own My Tasks section GIDs. GIDs for another assignee's sections must come from that person's own My Tasks list, not from this account.",
50
46
  type: "string",
51
47
  optional: true,
52
48
  propDefinition: [
53
49
  asana,
54
50
  "sections",
55
- (c) => ({
56
- project: c.project,
57
- }),
58
51
  ],
59
52
  },
60
53
  completed: {
package/asana.app.mjs CHANGED
@@ -1,5 +1,12 @@
1
1
  import { axios } from "@pipedream/platform";
2
+
3
+ // Sources run in Pipedream's workflow builder (not MCP), so they keep
4
+ // auto-populating dropdowns via async `options()`. Their propDefinitions are
5
+ // suffixed `Async` and kept separate from the static, MCP-safe ones actions use.
2
6
  const DEFAULT_LIMIT = 25;
7
+ // Longest `Retry-After` (seconds) we'll wait out before retrying a 429. Three
8
+ // waits of this length stay well inside the 60s tool timeout.
9
+ const MAX_RETRY_AFTER_SECONDS = 10;
3
10
 
4
11
  export default {
5
12
  type: "app",
@@ -9,6 +16,8 @@ export default {
9
16
  label: "Organizations",
10
17
  description: "List of organizations. This field uses the organization GID.",
11
18
  type: "string[]",
19
+ // Only used by sources (workflow builder), never by MCP actions, so an
20
+ // auto-populating dropdown is safe here.
12
21
  async options() {
13
22
  const organizations = await this.getOrganizations();
14
23
  return organizations?.map((organization) => ({
@@ -19,7 +28,12 @@ export default {
19
28
  },
20
29
  workspaces: {
21
30
  label: "Workspaces",
22
- description: "List of workspaces. Use the **List Workspaces** action to retrieve available workspace GIDs.",
31
+ description: "List of workspaces. This field uses the workspace GID (e.g. `1200123456789012`). Use the **List Workspaces** action to retrieve available workspace GIDs.",
32
+ type: "string[]",
33
+ },
34
+ workspacesAsync: {
35
+ label: "Workspaces",
36
+ description: "List of workspaces. This field uses the workspace GID (e.g. `1200123456789012`).",
23
37
  type: "string[]",
24
38
  async options({ prevContext }) {
25
39
  const params = {
@@ -49,17 +63,15 @@ export default {
49
63
  label: "Teams",
50
64
  description: "List of teams. Use the **List Teams** action to retrieve available team GIDs.",
51
65
  type: "string[]",
52
- async options({ workspace }) {
53
- const teams = await this.getTeams(workspace);
54
- return teams?.map((team) => ({
55
- label: team.name,
56
- value: team.gid,
57
- })) || [];
58
- },
59
66
  },
60
67
  projects: {
61
68
  label: "Projects",
62
- description: "List of projects. This field uses the project GID.",
69
+ description: "List of projects. This field uses the project GID (e.g. `1204567890123456`). Use **Search Projects** to find available project GIDs (the `gid` field).",
70
+ type: "string[]",
71
+ },
72
+ projectsAsync: {
73
+ label: "Projects",
74
+ description: "List of projects. This field uses the project GID (e.g. `1204567890123456`).",
63
75
  type: "string[]",
64
76
  async options({
65
77
  workspace, prevContext,
@@ -90,7 +102,12 @@ export default {
90
102
  },
91
103
  tags: {
92
104
  label: "Tags",
93
- description: "List of tags. This field uses the tag GID.",
105
+ description: "List of tags. This field uses the tag GID (e.g. `1202345678901234`). Use **List Tags** to find available tag GIDs (the `gid` field).",
106
+ type: "string[]",
107
+ },
108
+ tagsAsync: {
109
+ label: "Tags",
110
+ description: "List of tags. This field uses the tag GID (e.g. `1202345678901234`).",
94
111
  type: "string[]",
95
112
  async options({
96
113
  prevContext, workspace,
@@ -121,7 +138,12 @@ export default {
121
138
  },
122
139
  users: {
123
140
  label: "Users",
124
- description: "List of users. Use the **List Users** action to retrieve available user GIDs.",
141
+ description: "List of users. This field uses the user `gid` (e.g. `1198765432109876`). Use the **List Users** action to retrieve available user GIDs.",
142
+ type: "string[]",
143
+ },
144
+ usersAsync: {
145
+ label: "Users",
146
+ description: "List of users. This field uses the user `gid` (e.g. `1198765432109876`).",
125
147
  type: "string[]",
126
148
  async options({
127
149
  prevContext, workspace,
@@ -152,7 +174,12 @@ export default {
152
174
  },
153
175
  tasks: {
154
176
  label: "Tasks",
155
- description: "List of tasks. This field uses the task GID.",
177
+ description: "List of tasks. This field uses the task GID (e.g. `1202345678901234`). Use **Search Tasks** to find available task GIDs (the `gid` field). Requires a project GID from **Search Projects**.",
178
+ type: "string[]",
179
+ },
180
+ tasksAsync: {
181
+ label: "Tasks",
182
+ description: "List of tasks. This field uses the task GID (e.g. `1202345678901234`).",
156
183
  type: "string[]",
157
184
  async options({
158
185
  project, prevContext,
@@ -188,89 +215,53 @@ export default {
188
215
  },
189
216
  sections: {
190
217
  label: "Sections",
191
- description: "List of sections. This field uses the section GID.",
218
+ description: "List of sections. This field uses the section GID (e.g. `1203456789012345`). Use **Search Sections** to find available section GIDs (the `gid` field). Requires a project GID from **Search Projects**.",
192
219
  type: "string[]",
193
- async options({
194
- project, prevContext,
195
- }) {
196
- if (!project) {
197
- return [];
198
- }
199
- const params = {
200
- limit: DEFAULT_LIMIT,
201
- };
202
- if (prevContext?.offset) {
203
- params.offset = prevContext.offset;
204
- }
205
- const {
206
- data: sections, next_page: next,
207
- } = await this.getSections({
208
- project,
209
- params,
210
- });
211
- const options = sections?.map((section) => ({
212
- label: section.name,
213
- value: section.gid,
214
- })) || [];
215
- return {
216
- options,
217
- context: {
218
- offset: next?.offset,
219
- },
220
- };
221
- },
222
220
  },
223
221
  taskFields: {
224
222
  label: "Task Fields",
225
- description: "List of task fields that will emit events when updated. This field uses the field code.",
223
+ description: "List of task fields that will emit events when updated.",
226
224
  type: "string[]",
227
- async options({ project }) {
228
- const { data: tasks } = await this.getTasks({
229
- params: {
230
- project,
231
- limit: 1,
232
- },
233
- });
234
- if (!tasks || tasks.length === 0) {
235
- return [];
236
- }
237
- const { data: task } = await this.getTask({
238
- taskId: tasks[0].gid,
239
- });
240
- return Object.keys(task);
241
- },
225
+ // Asana task fields that can be reported as changed by a webhook event
226
+ // (developers.asana.com/reference/task). Many of these — custom_fields,
227
+ // tags, followers, dependencies, dependents, parent, memberships — are
228
+ // omitted from a task's default GET response unless explicitly
229
+ // requested via opt_fields, so this is a fixed catalog rather than
230
+ // anything derived from a live task sample.
231
+ options: [
232
+ "approval_status",
233
+ "assignee",
234
+ "assignee_section",
235
+ "assignee_status",
236
+ "actual_time_minutes",
237
+ "completed",
238
+ "completed_at",
239
+ "custom_fields",
240
+ "dependencies",
241
+ "dependents",
242
+ "due_at",
243
+ "due_on",
244
+ "external",
245
+ "followers",
246
+ "html_notes",
247
+ "is_rendered_as_separator",
248
+ "liked",
249
+ "memberships",
250
+ "name",
251
+ "notes",
252
+ "num_subtasks",
253
+ "parent",
254
+ "projects",
255
+ "start_at",
256
+ "start_on",
257
+ "tags",
258
+ "workspace",
259
+ ],
242
260
  },
243
261
  taskTemplate: {
244
262
  type: "string",
245
263
  label: "Task Template",
246
- description: "The identifier of a task template",
247
- async options({
248
- project, prevContext,
249
- }) {
250
- const params = {
251
- project,
252
- limit: DEFAULT_LIMIT,
253
- };
254
- if (prevContext?.offset) {
255
- params.offset = prevContext.offset;
256
- }
257
- const {
258
- data, next_page: next,
259
- } = await this.listTaskTemplates({
260
- params,
261
- });
262
- return {
263
- options: data?.map(({
264
- gid: value, name: label,
265
- }) => ({
266
- value,
267
- label,
268
- })) || [],
269
- context: {
270
- offset: next?.offset,
271
- },
272
- };
273
- },
264
+ description: "The GID of a task template, e.g. `1205678901234567`. Use **List Task Templates** to find available template GIDs (the `gid` field).",
274
265
  },
275
266
  maxResults: {
276
267
  type: "integer",
@@ -324,7 +315,7 @@ export default {
324
315
  *
325
316
  * @returns {string} The request result data.
326
317
  */
327
- _makeRequest({
318
+ async _makeRequest({
328
319
  path, $ = this, ...opts
329
320
  }) {
330
321
  const config = {
@@ -332,7 +323,30 @@ export default {
332
323
  headers: this._headers(),
333
324
  ...opts,
334
325
  };
335
- return axios($, config);
326
+ // Asana rate-limits per user and answers 429 with a `Retry-After` (seconds).
327
+ // Wait exactly that long and retry a few times instead of failing the whole
328
+ // action. Never retry before it elapses: that fails again and can use up more
329
+ // quota. If it's longer than we can wait within the tool timeout, surface the
330
+ // 429 right away rather than retrying early.
331
+ const maxRetries = 3;
332
+ for (let attempt = 0; ; attempt++) {
333
+ try {
334
+ return await axios($, config);
335
+ } catch (err) {
336
+ if (err?.response?.status !== 429 || attempt >= maxRetries) {
337
+ throw err;
338
+ }
339
+ const retryAfter = Number(err.response.headers?.["retry-after"]);
340
+ const hasRetryAfter = Number.isFinite(retryAfter) && retryAfter >= 0;
341
+ if (hasRetryAfter && retryAfter > MAX_RETRY_AFTER_SECONDS) {
342
+ throw err;
343
+ }
344
+ const delayMs = hasRetryAfter
345
+ ? retryAfter * 1000
346
+ : (2 ** attempt) * 1000 + Math.floor(Math.random() * 500);
347
+ await new Promise((resolve) => setTimeout(resolve, delayMs));
348
+ }
349
+ }
336
350
  },
337
351
  /**
338
352
  * Create a webhook
@@ -390,9 +404,9 @@ export default {
390
404
  *
391
405
  * @returns {string} An Asana Organizations list.
392
406
  */
393
- async getOrganizations() {
407
+ async getOrganizations({ $ } = {}) {
394
408
  const params = {
395
- opt_fields: "is_organization",
409
+ opt_fields: "is_organization,name",
396
410
  };
397
411
  const workspaces = [];
398
412
  do {
@@ -400,6 +414,7 @@ export default {
400
414
  data, next_page: next,
401
415
  } = await this.getWorkspaces({
402
416
  params,
417
+ $,
403
418
  });
404
419
  workspaces.push(...data);
405
420
  params.offset = next?.offset;
@@ -433,6 +448,22 @@ export default {
433
448
  ...opts,
434
449
  });
435
450
  },
451
+ /**
452
+ * Search a workspace with Asana's typeahead (one request, not paginated).
453
+ * Matches the start of words, case-insensitively, and returns the top results.
454
+ *
455
+ * @param {string} workspaceId - The workspace GID.
456
+ *
457
+ * @returns {object} Typeahead results in `data`.
458
+ */
459
+ getTypeahead({
460
+ workspaceId, ...opts
461
+ }) {
462
+ return this._makeRequest({
463
+ path: `workspaces/${workspaceId}/typeahead`,
464
+ ...opts,
465
+ });
466
+ },
436
467
  /**
437
468
  * Get an Asana Portfolio.
438
469
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/asana",
3
- "version": "1.1.1",
3
+ "version": "3.0.0",
4
4
  "description": "Pipedream Asana Components",
5
5
  "main": "asana.app.mjs",
6
6
  "keywords": [
@@ -14,7 +14,7 @@ export default {
14
14
  type: "string",
15
15
  propDefinition: [
16
16
  asana,
17
- "workspaces",
17
+ "workspacesAsync",
18
18
  ],
19
19
  },
20
20
  },
@@ -7,7 +7,7 @@ export default {
7
7
  type: "source",
8
8
  name: "New Completed Task (Instant)",
9
9
  description: "Emit new event for each task completed in a project.",
10
- version: "0.1.14",
10
+ version: "0.1.16",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -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.14",
9
+ version: "0.1.16",
10
10
  dedupe: "unique",
11
11
  props: {
12
12
  ...common.props,
@@ -7,7 +7,7 @@ export default {
7
7
  type: "source",
8
8
  name: "New Story Added To Project (Instant)",
9
9
  description: "Emit new event for each story added to a project.",
10
- version: "0.1.14",
10
+ version: "0.1.16",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -7,7 +7,7 @@ export default {
7
7
  type: "source",
8
8
  name: "New Subtask (Instant)",
9
9
  description: "Emit new event for each subtask added to a project.",
10
- version: "1.0.14",
10
+ version: "1.0.16",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -27,7 +27,7 @@ export default {
27
27
  optional: true,
28
28
  propDefinition: [
29
29
  asana,
30
- "tasks",
30
+ "tasksAsync",
31
31
  (c) => ({
32
32
  project: c.project,
33
33
  }),
@@ -6,7 +6,7 @@ export default {
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.16",
9
+ version: "0.0.18",
10
10
  dedupe: "unique",
11
11
  props: {
12
12
  asana,
@@ -16,7 +16,7 @@ export default {
16
16
  type: "string",
17
17
  propDefinition: [
18
18
  asana,
19
- "workspaces",
19
+ "workspacesAsync",
20
20
  ],
21
21
  optional: true,
22
22
  },
@@ -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.14",
10
+ version: "0.1.16",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  name: "New Team",
8
8
  description: "Emit new event for each team added to an organization.",
9
- version: "0.1.15",
9
+ version: "0.1.17",
10
10
  dedupe: "unique",
11
11
  props: {
12
12
  asana,
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  name: "New User (Instant)",
8
8
  description: "Emit new event for each user added to a workspace.",
9
- version: "0.1.14",
9
+ version: "0.1.16",
10
10
  dedupe: "unique",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
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.15",
9
+ version: "0.1.17",
10
10
  dedupe: "unique",
11
11
  props: {
12
12
  asana,
@@ -7,7 +7,7 @@ export default {
7
7
  type: "source",
8
8
  name: "New Tag Added To Task (Instant)",
9
9
  description: "Emit new event for each new tag added to a task.",
10
- version: "0.1.14",
10
+ version: "0.1.16",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -27,7 +27,7 @@ export default {
27
27
  optional: true,
28
28
  propDefinition: [
29
29
  asana,
30
- "tasks",
30
+ "tasksAsync",
31
31
  (c) => ({
32
32
  project: c.project,
33
33
  }),
@@ -7,7 +7,7 @@ export default {
7
7
  type: "source",
8
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.13",
10
+ version: "0.0.15",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -17,7 +17,7 @@ export default {
17
17
  type: "string",
18
18
  propDefinition: [
19
19
  asana,
20
- "projects",
20
+ "projectsAsync",
21
21
  (c) => ({
22
22
  workspace: c.workspace,
23
23
  }),
@@ -27,7 +27,7 @@ export default {
27
27
  optional: true,
28
28
  propDefinition: [
29
29
  asana,
30
- "tags",
30
+ "tagsAsync",
31
31
  (c) => ({
32
32
  workspace: c.workspace,
33
33
  }),