diff --git a/components/monday/actions/create-board/create-board.mjs b/components/monday/actions/create-board/create-board.mjs index e7703f2a48fa0..0411d7d08f33f 100644 --- a/components/monday/actions/create-board/create-board.mjs +++ b/components/monday/actions/create-board/create-board.mjs @@ -6,7 +6,7 @@ export default { name: "Create Board", description: "Creates a new board. [See the documentation](https://developer.monday.com/api-reference/reference/boards#create-a-board)", type: "action", - version: "0.0.9", + version: "0.0.10", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/create-column/create-column.mjs b/components/monday/actions/create-column/create-column.mjs index 67df59769bc09..a4a04e8472723 100644 --- a/components/monday/actions/create-column/create-column.mjs +++ b/components/monday/actions/create-column/create-column.mjs @@ -7,7 +7,7 @@ export default { name: "Create Column", description: "Creates a column. [See the documentation](https://developer.monday.com/api-reference/reference/columns#create-a-column)", type: "action", - version: "0.1.1", + version: "0.1.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/create-group/create-group.mjs b/components/monday/actions/create-group/create-group.mjs index e0a29b9f2af5c..ff00d4faa1113 100644 --- a/components/monday/actions/create-group/create-group.mjs +++ b/components/monday/actions/create-group/create-group.mjs @@ -5,7 +5,7 @@ export default { name: "Create Group", description: "Creates a new group in a specific board. [See the documentation](https://developer.monday.com/api-reference/reference/groups#create-a-group)", type: "action", - version: "0.0.10", + version: "0.0.11", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/create-item/create-item.mjs b/components/monday/actions/create-item/create-item.mjs index dc2f3895a9469..6ede204547b10 100644 --- a/components/monday/actions/create-item/create-item.mjs +++ b/components/monday/actions/create-item/create-item.mjs @@ -8,7 +8,7 @@ export default { name: "Create Item", description: "Creates an item. [See the documentation](https://developer.monday.com/api-reference/reference/items#create-an-item)", type: "action", - version: "0.1.1", + version: "0.1.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/create-subitem/create-subitem.mjs b/components/monday/actions/create-subitem/create-subitem.mjs index dc7038c2cbc70..bcb340a7fed49 100644 --- a/components/monday/actions/create-subitem/create-subitem.mjs +++ b/components/monday/actions/create-subitem/create-subitem.mjs @@ -8,7 +8,7 @@ export default { name: "Create Subitem", description: "Creates a subitem. [See the documentation](https://developer.monday.com/api-reference/reference/subitems#create-a-subitem)", type: "action", - version: "0.1.1", + version: "0.1.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/create-update/create-update.mjs b/components/monday/actions/create-update/create-update.mjs index 4cca1a12905ec..f3df0eb462268 100644 --- a/components/monday/actions/create-update/create-update.mjs +++ b/components/monday/actions/create-update/create-update.mjs @@ -6,7 +6,7 @@ export default { name: "Create an Update", description: "Creates a new update. [See the documentation](https://developer.monday.com/api-reference/reference/updates#create-an-update)", type: "action", - version: "0.0.12", + version: "0.0.13", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/monday/actions/get-column-values/get-column-values.mjs b/components/monday/actions/get-column-values/get-column-values.mjs index 50abd3f86f325..20e57cfb68d03 100644 --- a/components/monday/actions/get-column-values/get-column-values.mjs +++ b/components/monday/actions/get-column-values/get-column-values.mjs @@ -5,7 +5,7 @@ export default { key: "monday-get-column-values", name: "Get Column Values", description: "Return values of specific column(s) for a board item. [See the documentation](https://developer.monday.com/api-reference/reference/column-values-v2)", - version: "0.0.7", + version: "0.0.8", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs index 0728ac44b08ee..967d32ba02733 100644 --- a/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs +++ b/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs @@ -6,7 +6,7 @@ export default { key: "monday-get-items-by-column-value", name: "Get Items By Column Value", description: "Searches a column for items matching a value. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values)", - version: "0.1.1", + version: "0.1.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/monday/actions/update-column-values/update-column-values.mjs b/components/monday/actions/update-column-values/update-column-values.mjs index f74cdddd997a6..2e2b925c8e274 100644 --- a/components/monday/actions/update-column-values/update-column-values.mjs +++ b/components/monday/actions/update-column-values/update-column-values.mjs @@ -1,16 +1,18 @@ -import common from "../common/column-values.mjs"; import { - axios, getFileStreamAndMetadata, + axios, + ConfigurationError, + getFileStreamAndMetadata, } from "@pipedream/platform"; import FormData from "form-data"; import { getColumnOptions } from "../../common/utils.mjs"; +import common from "../common/column-values.mjs"; export default { ...common, key: "monday-update-column-values", name: "Update Column Values", description: "Update multiple column values of an item. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", - version: "0.2.2", + version: "0.2.3", annotations: { destructiveHint: true, openWorldHint: true, @@ -121,6 +123,10 @@ export default { columnValues: JSON.stringify(columnValues), }); + if (response.errors) { + throw new ConfigurationError(JSON.stringify(response.errors[0])); + } + if (response.error_message) { throw new Error(`${response.error_message} ${JSON.stringify(response.error_data)}`); } diff --git a/components/monday/actions/update-item-name/update-item-name.mjs b/components/monday/actions/update-item-name/update-item-name.mjs index 43a7d6237bcca..078ed44753741 100644 --- a/components/monday/actions/update-item-name/update-item-name.mjs +++ b/components/monday/actions/update-item-name/update-item-name.mjs @@ -5,7 +5,7 @@ export default { name: "Update Item Name", description: "Update an item's name. [See the documentation](https://developer.monday.com/api-reference/reference/columns#change-multiple-column-values)", type: "action", - version: "0.0.11", + version: "0.0.12", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/monday/package.json b/components/monday/package.json index 916dcfedd4b99..23054005ca782 100644 --- a/components/monday/package.json +++ b/components/monday/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/monday", - "version": "0.8.1", + "version": "0.8.2", "description": "Pipedream Monday Components", "main": "monday.app.mjs", "keywords": [ diff --git a/components/monday/sources/column-value-updated/column-value-updated.mjs b/components/monday/sources/column-value-updated/column-value-updated.mjs index b9c24655cc029..6c97f70ebbaa6 100644 --- a/components/monday/sources/column-value-updated/column-value-updated.mjs +++ b/components/monday/sources/column-value-updated/column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Column Value Updated (Instant)", description: "Emit new event when a column value is updated on a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/name-updated/name-updated.mjs b/components/monday/sources/name-updated/name-updated.mjs index bf276e44f5172..d1e53590e1475 100644 --- a/components/monday/sources/name-updated/name-updated.mjs +++ b/components/monday/sources/name-updated/name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Name Updated (Instant)", description: "Emit new event when an item's name is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-board/new-board.mjs b/components/monday/sources/new-board/new-board.mjs index 1b6b6ffc9a904..a9eba593ceceb 100644 --- a/components/monday/sources/new-board/new-board.mjs +++ b/components/monday/sources/new-board/new-board.mjs @@ -6,7 +6,7 @@ export default { name: "New Board Created", description: "Emit new event when a board is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.10", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-item/new-item.mjs b/components/monday/sources/new-item/new-item.mjs index 03e1b00613ca1..07595aea44777 100644 --- a/components/monday/sources/new-item/new-item.mjs +++ b/components/monday/sources/new-item/new-item.mjs @@ -6,7 +6,7 @@ export default { name: "New Item Created (Instant)", description: "Emit new event when a new item is added to a board. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/new-subitem-update/new-subitem-update.mjs b/components/monday/sources/new-subitem-update/new-subitem-update.mjs index 9fa17bc4c06c1..12af97682e5c0 100644 --- a/components/monday/sources/new-subitem-update/new-subitem-update.mjs +++ b/components/monday/sources/new-subitem-update/new-subitem-update.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Update (Instant)", description: "Emit new event when an update is posted in sub-items. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-subitem/new-subitem.mjs b/components/monday/sources/new-subitem/new-subitem.mjs index 26942653260b0..c595b8835d4a1 100644 --- a/components/monday/sources/new-subitem/new-subitem.mjs +++ b/components/monday/sources/new-subitem/new-subitem.mjs @@ -6,7 +6,7 @@ export default { name: "New Sub-Item Created (Instant)", description: "Emit new event when a sub-item is created. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/new-user/new-user.mjs b/components/monday/sources/new-user/new-user.mjs index 146b70e3e112f..876b0dc7a687d 100644 --- a/components/monday/sources/new-user/new-user.mjs +++ b/components/monday/sources/new-user/new-user.mjs @@ -6,7 +6,7 @@ export default { name: "New User Created", description: "Emit new event when a new user is created in Monday. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.9", + version: "0.0.10", dedupe: "unique", methods: { ...common.methods, diff --git a/components/monday/sources/specific-column-updated/specific-column-updated.mjs b/components/monday/sources/specific-column-updated/specific-column-updated.mjs index da0616a946429..89b50be969e45 100644 --- a/components/monday/sources/specific-column-updated/specific-column-updated.mjs +++ b/components/monday/sources/specific-column-updated/specific-column-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Specific Column Updated (Instant)", description: "Emit new event when a value in the specified column is updated. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", hooks: { ...common.hooks, diff --git a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs index 34c6191b80e34..03c3461ed48e4 100644 --- a/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs +++ b/components/monday/sources/subitem-column-value-updated/subitem-column-value-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Column Value Updated (Instant)", description: "Emit new event when any sub-item column changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.8", + version: "0.0.9", dedupe: "unique", props: { ...common.props, diff --git a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs index 39dc57d4ac159..28580e2b7325e 100644 --- a/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs +++ b/components/monday/sources/subitem-name-updated/subitem-name-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Sub-Item Name Updated (Instant)", description: "Emit new event when a sub-item name changes. [See the documentation](https://developer.monday.com/api-reference/reference/webhooks#sample-payload-for-webhook-events)", type: "source", - version: "0.0.7", + version: "0.0.8", dedupe: "unique", props: { ...common.props,