From cd500e2241e32dc1515220b8a86eed8a1ebac36a Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Fri, 27 Jun 2025 14:51:49 -0300 Subject: [PATCH 1/5] Update Trello component versions and add new features - Bump package version for @pipedream/trello to 1.1.0. - Update action versions to 1.0.1 for 'Add Attachment To Card' and 1.0.1 for 'Create Card'. - Increment action versions for 'Add Checklist', 'Add Comment', 'Add Existing Label to Card', 'Add Member to Card', 'Archive Card', 'Complete Checklist Item', 'Create Checklist Item', 'Create Label', 'Create List', 'Delete Checklist', 'Find Labels', 'Find List', 'Get Card', 'Get List', 'Move Card to List', 'Remove Label from Card', 'Rename List', 'Search Boards', 'Search Cards', 'Search Checklists', 'Search Members', 'Update Card' to 0.2.2 or 0.3.0 as appropriate. - Introduce new due date and reminder options in 'Create Checklist Item'. - Update constants to include due reminder options. - Update source versions to 0.1.2 for various sources including 'Card Archived', 'Card Due Date Reminder', 'Card Moved', and others. --- .../add-attachment-to-card.mjs | 2 +- .../actions/add-checklist/add-checklist.mjs | 2 +- .../actions/add-comment/add-comment.mjs | 2 +- .../add-existing-label-to-card.mjs | 2 +- .../add-member-to-card/add-member-to-card.mjs | 2 +- .../actions/archive-card/archive-card.mjs | 2 +- .../complete-checklist-item.mjs | 2 +- .../actions/create-board/create-board.mjs | 4 +- .../actions/create-card/create-card.mjs | 6 +-- .../create-checklist-item.mjs | 40 ++++++++++++++++++- .../actions/create-label/create-label.mjs | 4 +- .../actions/create-list/create-list.mjs | 2 +- .../delete-checklist/delete-checklist.mjs | 2 +- .../actions/find-labels/find-labels.mjs | 2 +- .../trello/actions/find-list/find-list.mjs | 2 +- .../trello/actions/get-card/get-card.mjs | 2 +- .../trello/actions/get-list/get-list.mjs | 2 +- .../move-card-to-list/move-card-to-list.mjs | 2 +- .../remove-label-from-card.mjs | 2 +- .../actions/rename-list/rename-list.mjs | 2 +- .../actions/search-boards/search-boards.mjs | 2 +- .../actions/search-cards/search-cards.mjs | 2 +- .../search-checklists/search-checklists.mjs | 2 +- .../actions/search-members/search-members.mjs | 2 +- .../actions/update-card/update-card.mjs | 6 +-- components/trello/common/constants.mjs | 40 +++++++++++++++++++ components/trello/package.json | 2 +- .../sources/card-archived/card-archived.mjs | 2 +- .../card-due-date-reminder.mjs | 6 +-- .../trello/sources/card-moved/card-moved.mjs | 2 +- .../sources/card-updates/card-updates.mjs | 2 +- .../custom-webhook-events.mjs | 2 +- .../sources/new-activity/new-activity.mjs | 4 +- .../sources/new-attachment/new-attachment.mjs | 2 +- .../trello/sources/new-board/new-board.mjs | 2 +- .../trello/sources/new-card/new-card.mjs | 2 +- .../sources/new-checklist/new-checklist.mjs | 2 +- .../new-comment-added-to-card.mjs | 2 +- .../new-label-added-to-card.mjs | 2 +- .../trello/sources/new-label/new-label.mjs | 2 +- .../new-member-on-card/new-member-on-card.mjs | 2 +- .../new-notification/new-notification.mjs | 2 +- 42 files changed, 128 insertions(+), 50 deletions(-) diff --git a/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs b/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs index 7ace43dd038f9..f71cf0dff157a 100644 --- a/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs +++ b/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-add-attachment-to-card", name: "Add Attachment To Card", description: "Adds a file attachment on a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { app, diff --git a/components/trello/actions/add-checklist/add-checklist.mjs b/components/trello/actions/add-checklist/add-checklist.mjs index 0b97164741e8f..0717e27558b93 100644 --- a/components/trello/actions/add-checklist/add-checklist.mjs +++ b/components/trello/actions/add-checklist/add-checklist.mjs @@ -4,7 +4,7 @@ export default { key: "trello-add-checklist", name: "Add Checklist", description: "Adds a new checklist to a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/add-comment/add-comment.mjs b/components/trello/actions/add-comment/add-comment.mjs index e9d15920e83b8..ef02b9b19aca0 100644 --- a/components/trello/actions/add-comment/add-comment.mjs +++ b/components/trello/actions/add-comment/add-comment.mjs @@ -4,7 +4,7 @@ export default { key: "trello-add-comment", name: "Add Comment", description: "Create a new comment on a specific card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-comments-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/add-existing-label-to-card/add-existing-label-to-card.mjs b/components/trello/actions/add-existing-label-to-card/add-existing-label-to-card.mjs index fce3990ac1825..5db6e36ca2ee7 100644 --- a/components/trello/actions/add-existing-label-to-card/add-existing-label-to-card.mjs +++ b/components/trello/actions/add-existing-label-to-card/add-existing-label-to-card.mjs @@ -4,7 +4,7 @@ export default { key: "trello-add-existing-label-to-card", name: "Add Existing Label to Card", description: "Adds an existing label to the specified card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-post).", - version: "0.1.1", + version: "0.1.2", type: "action", props: { app, diff --git a/components/trello/actions/add-member-to-card/add-member-to-card.mjs b/components/trello/actions/add-member-to-card/add-member-to-card.mjs index e70949454049a..c07a36bc4cca8 100644 --- a/components/trello/actions/add-member-to-card/add-member-to-card.mjs +++ b/components/trello/actions/add-member-to-card/add-member-to-card.mjs @@ -4,7 +4,7 @@ export default { key: "trello-add-member-to-card", name: "Add Member to Card", description: "Adds a member to the specified card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/archive-card/archive-card.mjs b/components/trello/actions/archive-card/archive-card.mjs index 678d67abd37a7..92ab878c61353 100644 --- a/components/trello/actions/archive-card/archive-card.mjs +++ b/components/trello/actions/archive-card/archive-card.mjs @@ -4,7 +4,7 @@ export default { key: "trello-archive-card", name: "Archive Card", description: "Archives a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/complete-checklist-item/complete-checklist-item.mjs b/components/trello/actions/complete-checklist-item/complete-checklist-item.mjs index 350fe5f55db69..fc29f3c8f1e66 100644 --- a/components/trello/actions/complete-checklist-item/complete-checklist-item.mjs +++ b/components/trello/actions/complete-checklist-item/complete-checklist-item.mjs @@ -4,7 +4,7 @@ export default { key: "trello-complete-checklist-item", name: "Complete a Checklist Item", description: "Completes an existing checklist item in a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-put).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/create-board/create-board.mjs b/components/trello/actions/create-board/create-board.mjs index bdd57b75bebc8..ab7c5c21c15ef 100644 --- a/components/trello/actions/create-board/create-board.mjs +++ b/components/trello/actions/create-board/create-board.mjs @@ -1,11 +1,11 @@ -import app from "../../trello.app.mjs"; import constants from "../../common/constants.mjs"; +import app from "../../trello.app.mjs"; export default { key: "trello-create-board", name: "Create a Board", description: "Create a new Trello board or copy from an existing one. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/create-card/create-card.mjs b/components/trello/actions/create-card/create-card.mjs index a5daef9ec2b84..718098cc54d8a 100644 --- a/components/trello/actions/create-card/create-card.mjs +++ b/components/trello/actions/create-card/create-card.mjs @@ -1,13 +1,13 @@ -import app from "../../trello.app.mjs"; -import FormData from "form-data"; import { getFileStreamAndMetadata } from "@pipedream/platform"; +import FormData from "form-data"; import constants from "../../common/constants.mjs"; +import app from "../../trello.app.mjs"; export default { key: "trello-create-card", name: "Create Card", description: "Creates a new card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post).", - version: "1.0.0", + version: "1.0.1", type: "action", props: { app, diff --git a/components/trello/actions/create-checklist-item/create-checklist-item.mjs b/components/trello/actions/create-checklist-item/create-checklist-item.mjs index cf8175c518072..c89d2e97e8b87 100644 --- a/components/trello/actions/create-checklist-item/create-checklist-item.mjs +++ b/components/trello/actions/create-checklist-item/create-checklist-item.mjs @@ -1,10 +1,11 @@ +import { DUE_REMINDER_OPTIONS } from "../../common/constants.mjs"; import app from "../../trello.app.mjs"; export default { key: "trello-create-checklist-item", name: "Create a Checklist Item", description: "Creates a new checklist item in a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-checklists/#api-checklists-id-checkitems-post).", - version: "0.2.1", + version: "0.3.0", type: "action", props: { app, @@ -56,6 +57,35 @@ export default { description: "Determines whether the check item is already checked when created.", optional: true, }, + due: { + type: "string", + label: "Due Date", + description: "A due date for the checkitem. **Format: YYYY-MM-DDThh:mm:ss.sssZ**", + optional: true, + }, + dueReminder: { + type: "string", + label: "Due Reminder", + description: "A dueReminder for the due date on the checkitem", + options: DUE_REMINDER_OPTIONS, + optional: true, + }, + idMember: { + propDefinition: [ + app, + "member", + ({ + board, card, + }) => ({ + board, + card, + excludeCardMembers: true, + }), + ], + label: "Id Member", + description: "An ID of a member resource", + optional: true, + }, }, async run({ $ }) { const { @@ -63,6 +93,9 @@ export default { name, pos, checked, + due, + dueReminder, + idMember, } = this; const response = await this.app.createChecklistItem({ @@ -72,6 +105,11 @@ export default { name, pos, checked, + due, + dueReminder: dueReminder + ? parseInt(dueReminder) + : undefined, + idMember, }, }); diff --git a/components/trello/actions/create-label/create-label.mjs b/components/trello/actions/create-label/create-label.mjs index 8e109639f8069..3cbec94bad26d 100644 --- a/components/trello/actions/create-label/create-label.mjs +++ b/components/trello/actions/create-label/create-label.mjs @@ -1,11 +1,11 @@ -import app from "../../trello.app.mjs"; import constants from "../../common/constants.mjs"; +import app from "../../trello.app.mjs"; export default { key: "trello-create-label", name: "Create Label", description: "Creates a new label on the specified board. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-labels/#api-labels-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/create-list/create-list.mjs b/components/trello/actions/create-list/create-list.mjs index b937590956ce0..cd8326fabbeaa 100644 --- a/components/trello/actions/create-list/create-list.mjs +++ b/components/trello/actions/create-list/create-list.mjs @@ -4,7 +4,7 @@ export default { key: "trello-create-list", name: "Create a List", description: "Creates a new list. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-post).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/delete-checklist/delete-checklist.mjs b/components/trello/actions/delete-checklist/delete-checklist.mjs index 582991e88559f..c305fa21516fa 100644 --- a/components/trello/actions/delete-checklist/delete-checklist.mjs +++ b/components/trello/actions/delete-checklist/delete-checklist.mjs @@ -4,7 +4,7 @@ export default { key: "trello-delete-checklist", name: "Delete Checklist", description: "Deletes the specified checklist. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-checklists/#api-checklists-id-delete).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/find-labels/find-labels.mjs b/components/trello/actions/find-labels/find-labels.mjs index 6964482a90056..a14f3e9353c65 100644 --- a/components/trello/actions/find-labels/find-labels.mjs +++ b/components/trello/actions/find-labels/find-labels.mjs @@ -5,7 +5,7 @@ export default { key: "trello-find-labels", name: "Find a Label", description: "Finds a label on a specific board by name. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-labels-get)", - version: "0.2.1", + version: "0.2.2", type: "action", props: { ...common.props, diff --git a/components/trello/actions/find-list/find-list.mjs b/components/trello/actions/find-list/find-list.mjs index 181941af53909..6fc3b1c883682 100644 --- a/components/trello/actions/find-list/find-list.mjs +++ b/components/trello/actions/find-list/find-list.mjs @@ -5,7 +5,7 @@ export default { key: "trello-find-list", name: "Find a List", description: "Finds a list on a specific board by name. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-lists-get).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { ...common.props, diff --git a/components/trello/actions/get-card/get-card.mjs b/components/trello/actions/get-card/get-card.mjs index 001a1cacab555..e45ed15db7405 100644 --- a/components/trello/actions/get-card/get-card.mjs +++ b/components/trello/actions/get-card/get-card.mjs @@ -5,7 +5,7 @@ export default { key: "trello-get-card", name: "Get Card", description: "Gets a card by its ID. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { ...common.props, diff --git a/components/trello/actions/get-list/get-list.mjs b/components/trello/actions/get-list/get-list.mjs index ba7e28c7dd569..ea1baa8427955 100644 --- a/components/trello/actions/get-list/get-list.mjs +++ b/components/trello/actions/get-list/get-list.mjs @@ -4,7 +4,7 @@ export default { key: "trello-get-list", name: "Get List", description: "Get information about a List. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-get).", - version: "0.1.1", + version: "0.1.2", type: "action", props: { app, diff --git a/components/trello/actions/move-card-to-list/move-card-to-list.mjs b/components/trello/actions/move-card-to-list/move-card-to-list.mjs index 955a81949c248..e596f220fe5ff 100644 --- a/components/trello/actions/move-card-to-list/move-card-to-list.mjs +++ b/components/trello/actions/move-card-to-list/move-card-to-list.mjs @@ -5,7 +5,7 @@ export default { key: "trello-move-card-to-list", name: "Move Card to List", description: "Moves a card to the specified board/list pair. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { ...common.props, diff --git a/components/trello/actions/remove-label-from-card/remove-label-from-card.mjs b/components/trello/actions/remove-label-from-card/remove-label-from-card.mjs index ed42c8ba921b5..58382a5e828b3 100644 --- a/components/trello/actions/remove-label-from-card/remove-label-from-card.mjs +++ b/components/trello/actions/remove-label-from-card/remove-label-from-card.mjs @@ -4,7 +4,7 @@ export default { key: "trello-remove-label-from-card", name: "Remove Card Label", description: "Removes label from card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-idlabel-delete).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/rename-list/rename-list.mjs b/components/trello/actions/rename-list/rename-list.mjs index dc2040505f735..438ad497b0e63 100644 --- a/components/trello/actions/rename-list/rename-list.mjs +++ b/components/trello/actions/rename-list/rename-list.mjs @@ -5,7 +5,7 @@ export default { key: "trello-rename-list", name: "Rename List", description: "Renames an existing list. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-put).", - version: "0.1.1", + version: "0.1.2", type: "action", props: { ...common.props, diff --git a/components/trello/actions/search-boards/search-boards.mjs b/components/trello/actions/search-boards/search-boards.mjs index abb6023e68dee..ceec3ad352122 100644 --- a/components/trello/actions/search-boards/search-boards.mjs +++ b/components/trello/actions/search-boards/search-boards.mjs @@ -4,7 +4,7 @@ export default { key: "trello-search-boards", name: "Search Boards", description: "Searches for boards matching the specified query. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-get).", - version: "0.3.1", + version: "0.3.2", type: "action", props: { app, diff --git a/components/trello/actions/search-cards/search-cards.mjs b/components/trello/actions/search-cards/search-cards.mjs index da542c35f787b..52ff70d3c8a4e 100644 --- a/components/trello/actions/search-cards/search-cards.mjs +++ b/components/trello/actions/search-cards/search-cards.mjs @@ -4,7 +4,7 @@ export default { key: "trello-search-cards", name: "Search Cards", description: "Searches for cards matching the specified query. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-get).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/search-checklists/search-checklists.mjs b/components/trello/actions/search-checklists/search-checklists.mjs index 7e8fac84be9b2..300c34f8bf488 100644 --- a/components/trello/actions/search-checklists/search-checklists.mjs +++ b/components/trello/actions/search-checklists/search-checklists.mjs @@ -4,7 +4,7 @@ export default { key: "trello-search-checklists", name: "Search Checklists", description: "Find a checklist on a particular board or card by name. [See the documentation here](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-checklists-get) and [here](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-get).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/search-members/search-members.mjs b/components/trello/actions/search-members/search-members.mjs index 8e8aeada74d78..0f04c1c56bd32 100644 --- a/components/trello/actions/search-members/search-members.mjs +++ b/components/trello/actions/search-members/search-members.mjs @@ -4,7 +4,7 @@ export default { key: "trello-search-members", name: "Search Members", description: "Search for Trello members. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-members-get).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/actions/update-card/update-card.mjs b/components/trello/actions/update-card/update-card.mjs index bc3a6e1f2a761..abb537e911612 100644 --- a/components/trello/actions/update-card/update-card.mjs +++ b/components/trello/actions/update-card/update-card.mjs @@ -1,12 +1,12 @@ -import app from "../../trello.app.mjs"; -import pickBy from "lodash-es/pickBy.js"; import pick from "lodash-es/pick.js"; +import pickBy from "lodash-es/pickBy.js"; +import app from "../../trello.app.mjs"; export default { key: "trello-update-card", name: "Update Card", description: "Updates a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).", - version: "0.2.1", + version: "0.2.2", type: "action", props: { app, diff --git a/components/trello/common/constants.mjs b/components/trello/common/constants.mjs index 3af98f23e14a2..72baf85ee9e99 100644 --- a/components/trello/common/constants.mjs +++ b/components/trello/common/constants.mjs @@ -111,6 +111,45 @@ const CARD_KEEP_FROM_SOURCE_PROPERTIES = [ "stickers", ]; +const DUE_REMINDER_OPTIONS = [ + { + label: "no reminder", + value: "-1", + }, + { + label: "At delivery time", + value: "0", + }, + { + label: "5 minutes before", + value: "5", + }, + { + label: "10 minutes before", + value: "10", + }, + { + label: "15 minutes before", + value: "15", + }, + { + label: "1 hour before", + value: "60", + }, + { + label: "2 hours before", + value: "120", + }, + { + label: "1 day before", + value: "1440", + }, + { + label: "2 days before", + value: "2880", + }, +]; + export default { POSITIONS, CARD_FILTERS, @@ -125,4 +164,5 @@ export default { LABEL_COLORS, NOTIFICATION_TIMES, CARD_KEEP_FROM_SOURCE_PROPERTIES, + DUE_REMINDER_OPTIONS, }; diff --git a/components/trello/package.json b/components/trello/package.json index e7d30e634563d..95c302d7923a9 100644 --- a/components/trello/package.json +++ b/components/trello/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/trello", - "version": "1.0.0", + "version": "1.1.0", "description": "Pipedream Trello Components", "main": "trello.app.mjs", "keywords": [ diff --git a/components/trello/sources/card-archived/card-archived.mjs b/components/trello/sources/card-archived/card-archived.mjs index f896f86c02785..2eff193d7b4d6 100644 --- a/components/trello/sources/card-archived/card-archived.mjs +++ b/components/trello/sources/card-archived/card-archived.mjs @@ -6,7 +6,7 @@ export default { key: "trello-card-archived", name: "Card Archived (Instant)", /* eslint-disable-line pipedream/source-name */ description: "Emit new event for each card archived.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/card-due-date-reminder/card-due-date-reminder.mjs b/components/trello/sources/card-due-date-reminder/card-due-date-reminder.mjs index 67dfa5eb90fb4..e49e6e1820e2d 100644 --- a/components/trello/sources/card-due-date-reminder/card-due-date-reminder.mjs +++ b/components/trello/sources/card-due-date-reminder/card-due-date-reminder.mjs @@ -1,14 +1,14 @@ -import taskScheduler from "../../../pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs"; -import trello from "../../trello.app.mjs"; import ms from "ms"; +import taskScheduler from "../../../pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs"; import constants from "../../common/constants.mjs"; +import trello from "../../trello.app.mjs"; import sampleEmit from "./test-event.mjs"; export default { key: "trello-card-due-date-reminder", name: "Card Due Date Reminder", /* eslint-disable-line pipedream/source-name */ description: "Emit new event at a specified time before a card is due.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", props: { diff --git a/components/trello/sources/card-moved/card-moved.mjs b/components/trello/sources/card-moved/card-moved.mjs index 39fa97d34d5e0..5a4edf4c8929a 100644 --- a/components/trello/sources/card-moved/card-moved.mjs +++ b/components/trello/sources/card-moved/card-moved.mjs @@ -6,7 +6,7 @@ export default { key: "trello-card-moved", name: "Card Moved (Instant)", /* eslint-disable-line pipedream/source-name */ description: "Emit new event each time a card is moved to a list.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/card-updates/card-updates.mjs b/components/trello/sources/card-updates/card-updates.mjs index f83712527f312..bb053d4f2088f 100644 --- a/components/trello/sources/card-updates/card-updates.mjs +++ b/components/trello/sources/card-updates/card-updates.mjs @@ -6,7 +6,7 @@ export default { key: "trello-card-updates", name: "Card Updated (Instant)", /* eslint-disable-line pipedream/source-name */ description: "Emit new event for each update to a Trello card.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/custom-webhook-events/custom-webhook-events.mjs b/components/trello/sources/custom-webhook-events/custom-webhook-events.mjs index 1ac3ca59b941e..6a61795381deb 100644 --- a/components/trello/sources/custom-webhook-events/custom-webhook-events.mjs +++ b/components/trello/sources/custom-webhook-events/custom-webhook-events.mjs @@ -6,7 +6,7 @@ export default { key: "trello-custom-webhook-events", name: "Custom Webhook Events (Instant)", /* eslint-disable-line pipedream/source-name */ description: "Emit new events for activity matching a board, event types, lists and/or cards.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/new-activity/new-activity.mjs b/components/trello/sources/new-activity/new-activity.mjs index 194c848dffdfe..8b30535d66b1f 100644 --- a/components/trello/sources/new-activity/new-activity.mjs +++ b/components/trello/sources/new-activity/new-activity.mjs @@ -1,12 +1,12 @@ -import common from "../common/common-webhook.mjs"; import actions from "../common/actions.mjs"; +import common from "../common/common-webhook.mjs"; export default { ...common, key: "trello-new-activity", name: "New Board Activity (Instant)", description: "Emit new event for new activity on a board.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/new-attachment/new-attachment.mjs b/components/trello/sources/new-attachment/new-attachment.mjs index ba77abdfe961c..52a57a64cf60f 100644 --- a/components/trello/sources/new-attachment/new-attachment.mjs +++ b/components/trello/sources/new-attachment/new-attachment.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-attachment", name: "New Attachment (Instant)", description: "Emit new event when a new attachment is added on a board.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/new-board/new-board.mjs b/components/trello/sources/new-board/new-board.mjs index 147da5547d22d..497c0a4a6b108 100644 --- a/components/trello/sources/new-board/new-board.mjs +++ b/components/trello/sources/new-board/new-board.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-board", name: "New Board (Instant)", description: "Emit new event for each new board added.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", methods: { diff --git a/components/trello/sources/new-card/new-card.mjs b/components/trello/sources/new-card/new-card.mjs index 5da07a2005014..ec86190a1c7c8 100644 --- a/components/trello/sources/new-card/new-card.mjs +++ b/components/trello/sources/new-card/new-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-card", name: "New Card (Instant)", description: "Emit new event for each new Trello card on a board.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", props: { diff --git a/components/trello/sources/new-checklist/new-checklist.mjs b/components/trello/sources/new-checklist/new-checklist.mjs index afc6291eac325..d6c5ae95cc079 100644 --- a/components/trello/sources/new-checklist/new-checklist.mjs +++ b/components/trello/sources/new-checklist/new-checklist.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-checklist", name: "New Checklist (Instant)", description: "Emit new event for each new checklist added to a board.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", props: { diff --git a/components/trello/sources/new-comment-added-to-card/new-comment-added-to-card.mjs b/components/trello/sources/new-comment-added-to-card/new-comment-added-to-card.mjs index 2debee96fde93..0f143a62d3575 100644 --- a/components/trello/sources/new-comment-added-to-card/new-comment-added-to-card.mjs +++ b/components/trello/sources/new-comment-added-to-card/new-comment-added-to-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-comment-added-to-card", name: "New Comment Added to Card (Instant)", description: "Emit new event for each new comment added to a card.", - version: "0.2.1", + version: "0.2.2", type: "source", dedupe: "unique", props: { diff --git a/components/trello/sources/new-label-added-to-card/new-label-added-to-card.mjs b/components/trello/sources/new-label-added-to-card/new-label-added-to-card.mjs index 8b8bebb76810d..01a287b96bb94 100644 --- a/components/trello/sources/new-label-added-to-card/new-label-added-to-card.mjs +++ b/components/trello/sources/new-label-added-to-card/new-label-added-to-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-label-added-to-card", name: "New Label Added To Card (Instant)", description: "Emit new event for each label added to a card.", - version: "0.1.1", + version: "0.1.2", type: "source", props: { ...common.props, diff --git a/components/trello/sources/new-label/new-label.mjs b/components/trello/sources/new-label/new-label.mjs index 6ce68168b1547..751bc111b13d1 100644 --- a/components/trello/sources/new-label/new-label.mjs +++ b/components/trello/sources/new-label/new-label.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-label", name: "New Label Created (Instant)", description: "Emit new event for each new label added to a board.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", methods: { diff --git a/components/trello/sources/new-member-on-card/new-member-on-card.mjs b/components/trello/sources/new-member-on-card/new-member-on-card.mjs index bd68eea59f5e8..7fec4ab41ae3e 100644 --- a/components/trello/sources/new-member-on-card/new-member-on-card.mjs +++ b/components/trello/sources/new-member-on-card/new-member-on-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-new-member-on-card", name: "New Member on Card (Instant)", description: "Emit new event for each member that join in a card.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", methods: { diff --git a/components/trello/sources/new-notification/new-notification.mjs b/components/trello/sources/new-notification/new-notification.mjs index 2d988e128fa71..9b4987faa31b7 100644 --- a/components/trello/sources/new-notification/new-notification.mjs +++ b/components/trello/sources/new-notification/new-notification.mjs @@ -5,7 +5,7 @@ export default { key: "trello-new-notification", name: "New Notification", description: "Emit new event for each new Trello notification for the authenticated user.", - version: "0.1.1", + version: "0.1.2", type: "source", dedupe: "unique", methods: { From 6661c9843de4fb827b1533498f6ed1fbbde34e63 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Fri, 27 Jun 2025 14:53:47 -0300 Subject: [PATCH 2/5] pnpm update --- pnpm-lock.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 184e08f3077e4..97d3af37a2151 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1575,8 +1575,7 @@ importers: specifier: ^3.0.3 version: 3.0.3 - components/bitget: - specifiers: {} + components/bitget: {} components/bitly: dependencies: @@ -6905,8 +6904,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/joggai: - specifiers: {} + components/joggai: {} components/join: {} From 657b79ff6ba68da7eea2b864a08119120bb2a434 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Fri, 27 Jun 2025 15:19:13 -0300 Subject: [PATCH 3/5] Refactor 'Create Checklist Item' action to use constants for due reminder options --- .../actions/create-checklist-item/create-checklist-item.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/trello/actions/create-checklist-item/create-checklist-item.mjs b/components/trello/actions/create-checklist-item/create-checklist-item.mjs index c89d2e97e8b87..ec41de4091a22 100644 --- a/components/trello/actions/create-checklist-item/create-checklist-item.mjs +++ b/components/trello/actions/create-checklist-item/create-checklist-item.mjs @@ -1,4 +1,4 @@ -import { DUE_REMINDER_OPTIONS } from "../../common/constants.mjs"; +import constants from "../../common/constants.mjs"; import app from "../../trello.app.mjs"; export default { @@ -67,7 +67,7 @@ export default { type: "string", label: "Due Reminder", description: "A dueReminder for the due date on the checkitem", - options: DUE_REMINDER_OPTIONS, + options: constants.DUE_REMINDER_OPTIONS, optional: true, }, idMember: { From 7ca2986582809a6501c7080b5cb15e568368e6e8 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Mon, 7 Jul 2025 15:04:31 -0300 Subject: [PATCH 4/5] Update add-attachment-to-card.mjs --- .../actions/add-attachment-to-card/add-attachment-to-card.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs b/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs index 1b36a2bcf4a37..b701e4f5cf203 100644 --- a/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs +++ b/components/trello/actions/add-attachment-to-card/add-attachment-to-card.mjs @@ -6,7 +6,7 @@ export default { key: "trello-add-attachment-to-card", name: "Add Attachment To Card", description: "Adds a file attachment on a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post)", - version: "1.0.1", + version: "1.0.2", type: "action", props: { app, From f6d3c8dbc63dbaf0fc80387f4858740bd595b766 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Mon, 7 Jul 2025 15:04:59 -0300 Subject: [PATCH 5/5] Update create-card.mjs --- components/trello/actions/create-card/create-card.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/trello/actions/create-card/create-card.mjs b/components/trello/actions/create-card/create-card.mjs index eae85cd1eb0c9..7958055a9cdfc 100644 --- a/components/trello/actions/create-card/create-card.mjs +++ b/components/trello/actions/create-card/create-card.mjs @@ -7,7 +7,7 @@ export default { key: "trello-create-card", name: "Create Card", description: "Creates a new card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post).", - version: "1.0.1", + version: "1.0.2", type: "action", props: { app,