diff --git a/components/google_sheets/actions/add-column/add-column.mjs b/components/google_sheets/actions/add-column/add-column.mjs index 7ce5679480cf8..37d6c10cac16b 100644 --- a/components/google_sheets/actions/add-column/add-column.mjs +++ b/components/google_sheets/actions/add-column/add-column.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-add-column", name: "Create Column", description: "Create a new column in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/add-conditional-format-rule/add-conditional-format-rule.mjs b/components/google_sheets/actions/add-conditional-format-rule/add-conditional-format-rule.mjs index 4abe7ae7d062a..0e9958e436163 100644 --- a/components/google_sheets/actions/add-conditional-format-rule/add-conditional-format-rule.mjs +++ b/components/google_sheets/actions/add-conditional-format-rule/add-conditional-format-rule.mjs @@ -5,7 +5,7 @@ export default { key: "google_sheets-add-conditional-format-rule", name: "Add Conditional Format Rule", description: "Create conditional formatting with color scales or custom formulas. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#AddConditionalFormatRuleRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: false, @@ -139,8 +139,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - 65, - endColumnIndex: endCol.charCodeAt(0) - 64, + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }, ], }; diff --git a/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs b/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs index e6f8c813773b4..2c8037ade49c5 100644 --- a/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs +++ b/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs @@ -11,7 +11,7 @@ export default { key: "google_sheets-add-multiple-rows", name: "Add Multiple Rows", description: "Add multiple rows of data to a Google Sheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)", - version: "0.2.18", + version: "0.2.19", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/add-protected-range/add-protected-range.mjs b/components/google_sheets/actions/add-protected-range/add-protected-range.mjs index 374cfe7a9ddb3..d47e001e05c08 100644 --- a/components/google_sheets/actions/add-protected-range/add-protected-range.mjs +++ b/components/google_sheets/actions/add-protected-range/add-protected-range.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-add-protected-range", name: "Add Protected Range", description: "Add edit protection to cell range with permissions. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#AddProtectedRangeRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: false, @@ -90,8 +90,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - 65, - endColumnIndex: endCol.charCodeAt(0) - 64, + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }, description: this.description, requestingUserCanEdit: this.requestingUserCanEdit, diff --git a/components/google_sheets/actions/add-single-row/add-single-row.mjs b/components/google_sheets/actions/add-single-row/add-single-row.mjs index 743ef504064c5..4ba113c69083e 100644 --- a/components/google_sheets/actions/add-single-row/add-single-row.mjs +++ b/components/google_sheets/actions/add-single-row/add-single-row.mjs @@ -10,7 +10,7 @@ export default { key: "google_sheets-add-single-row", name: "Add Single Row", description: "Add a single row of data to Google Sheets. Optionally insert the row at a specific index (e.g., row 2 to insert after headers, shifting existing data down). [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)", - version: "2.2.1", + version: "2.2.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/clear-cell/clear-cell.mjs b/components/google_sheets/actions/clear-cell/clear-cell.mjs index 46e9e708fd0c7..09ab9b1e5bab5 100644 --- a/components/google_sheets/actions/clear-cell/clear-cell.mjs +++ b/components/google_sheets/actions/clear-cell/clear-cell.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-clear-cell", name: "Clear Cell", description: "Delete the content of a specific cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear)", - version: "0.1.18", + version: "0.1.19", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/clear-rows/clear-rows.mjs b/components/google_sheets/actions/clear-rows/clear-rows.mjs index 4c66ee23e6f23..075c989e42edb 100644 --- a/components/google_sheets/actions/clear-rows/clear-rows.mjs +++ b/components/google_sheets/actions/clear-rows/clear-rows.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-clear-rows", name: "Clear Rows", description: "Delete the content of a row or rows in a spreadsheet. Deleted rows will appear as blank rows. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs b/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs index 14b145231032d..65ad148c9c5d8 100644 --- a/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs +++ b/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-copy-worksheet", name: "Copy Worksheet", description: "Copy an existing worksheet to another Google Sheets file. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs b/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs index c9c29fd1311eb..1081966081bf4 100644 --- a/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs +++ b/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-create-spreadsheet", name: "Create Spreadsheet", description: "Create a blank spreadsheet or duplicate an existing spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/create-worksheet/create-worksheet.mjs b/components/google_sheets/actions/create-worksheet/create-worksheet.mjs index 2afc98e6d1826..e7ca3ac7babff 100644 --- a/components/google_sheets/actions/create-worksheet/create-worksheet.mjs +++ b/components/google_sheets/actions/create-worksheet/create-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-create-worksheet", name: "Create Worksheet", description: "Create a blank worksheet with a title. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/delete-conditional-format-rule/delete-conditional-format-rule.mjs b/components/google_sheets/actions/delete-conditional-format-rule/delete-conditional-format-rule.mjs index 5fff05f0293e0..8b5f0bd0dd843 100644 --- a/components/google_sheets/actions/delete-conditional-format-rule/delete-conditional-format-rule.mjs +++ b/components/google_sheets/actions/delete-conditional-format-rule/delete-conditional-format-rule.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-delete-conditional-format-rule", name: "Delete Conditional Format Rule", description: "Remove conditional formatting rule by index. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#DeleteConditionalFormatRuleRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: true, diff --git a/components/google_sheets/actions/delete-rows/delete-rows.mjs b/components/google_sheets/actions/delete-rows/delete-rows.mjs index 30bd825175d1f..8976a773ae122 100644 --- a/components/google_sheets/actions/delete-rows/delete-rows.mjs +++ b/components/google_sheets/actions/delete-rows/delete-rows.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-delete-rows", name: "Delete Rows", description: "Deletes the specified rows from a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#deletedimensionrequest)", - version: "0.0.14", + version: "0.0.15", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs b/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs index 83bb254353d4f..92ec5017fb46c 100644 --- a/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs +++ b/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-delete-worksheet", name: "Delete Worksheet", description: "Delete a specific worksheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/find-row/find-row.mjs b/components/google_sheets/actions/find-row/find-row.mjs index dc8f0206bb3b1..8747939279ebb 100644 --- a/components/google_sheets/actions/find-row/find-row.mjs +++ b/components/google_sheets/actions/find-row/find-row.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-find-row", name: "Find Row", description: "Find one or more rows by a column and value. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)", - version: "0.2.17", + version: "0.2.18", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/get-cell/get-cell.mjs b/components/google_sheets/actions/get-cell/get-cell.mjs index 5581869bc38d1..ffb022bd5167b 100644 --- a/components/google_sheets/actions/get-cell/get-cell.mjs +++ b/components/google_sheets/actions/get-cell/get-cell.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-get-cell", name: "Get Cell", description: "Fetch the contents of a specific cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/get-current-user/get-current-user.mjs b/components/google_sheets/actions/get-current-user/get-current-user.mjs index 2165c1b6f0fdb..54dfe60b7fd33 100644 --- a/components/google_sheets/actions/get-current-user/get-current-user.mjs +++ b/components/google_sheets/actions/get-current-user/get-current-user.mjs @@ -6,7 +6,7 @@ export default { key: "google_sheets-get-current-user", name: "Get Current User", description: "Retrieve Google Sheets account metadata for the authenticated user by calling Drive's `about.get`, returning the user profile (display name, email, permission ID) and storage quota information. Helpful when you need to verify which Google account is active, tailor sheet operations to available storage, or give an LLM clear context about the user identity before composing read/write actions. [See the Drive API documentation](https://developers.google.com/drive/api/v3/reference/about/get).", - version: "0.0.2", + version: "0.0.3", type: "action", annotations: { destructiveHint: false, diff --git a/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs b/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs index 32364917934e7..85672f2df5c1e 100644 --- a/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs +++ b/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-get-spreadsheet-by-id", name: "Get Spreadsheet by ID", description: "Returns the spreadsheet at the given ID. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get) for more information", - version: "0.1.15", + version: "0.1.16", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs b/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs index b99e8f29b2aab..86b2e21c533e0 100644 --- a/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs +++ b/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-get-values-in-range", name: "Get Values in Range", description: "Get all values or values from a range of cells using A1 notation. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs b/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs index efe39b132f2b6..c011d85a47031 100644 --- a/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs +++ b/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs @@ -5,7 +5,7 @@ export default { key: "google_sheets-insert-anchored-note", name: "Insert an Anchored Note", description: "Insert a note on a spreadsheet cell. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/insert-comment/insert-comment.mjs b/components/google_sheets/actions/insert-comment/insert-comment.mjs index 250291fb68c6c..f2942543fcfc9 100644 --- a/components/google_sheets/actions/insert-comment/insert-comment.mjs +++ b/components/google_sheets/actions/insert-comment/insert-comment.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-insert-comment", name: "Insert Comment", description: "Insert a comment into a spreadsheet. [See the documentation](https://developers.google.com/drive/api/v3/reference/comments/create)", - version: "0.1.15", + version: "0.1.16", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/insert-dimension/insert-dimension.mjs b/components/google_sheets/actions/insert-dimension/insert-dimension.mjs index 5c663e44ab766..6f652e7d75d89 100644 --- a/components/google_sheets/actions/insert-dimension/insert-dimension.mjs +++ b/components/google_sheets/actions/insert-dimension/insert-dimension.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-insert-dimension", name: "Insert Dimension", description: "Insert a dimension into a spreadsheet. [See the documentation](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request#InsertDimensionRequest)", - version: "0.0.1", + version: "0.0.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/list-worksheets/list-worksheets.mjs b/components/google_sheets/actions/list-worksheets/list-worksheets.mjs index e9f7e541ddc29..5def218e8b06e 100644 --- a/components/google_sheets/actions/list-worksheets/list-worksheets.mjs +++ b/components/google_sheets/actions/list-worksheets/list-worksheets.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-list-worksheets", name: "List Worksheets", description: "Get a list of all worksheets in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get)", - version: "0.1.14", + version: "0.1.15", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/merge-cells/merge-cells.mjs b/components/google_sheets/actions/merge-cells/merge-cells.mjs index d4312f374856c..b63f6dfaafb21 100644 --- a/components/google_sheets/actions/merge-cells/merge-cells.mjs +++ b/components/google_sheets/actions/merge-cells/merge-cells.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-merge-cells", name: "Merge Cells", description: "Merge a range of cells into a single cell. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#MergeCellsRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: false, @@ -74,8 +74,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - 65, - endColumnIndex: endCol.charCodeAt(0) - 64, + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }, mergeType: this.mergeType, }, diff --git a/components/google_sheets/actions/move-dimension/move-dimension.mjs b/components/google_sheets/actions/move-dimension/move-dimension.mjs index 4ecc341501451..89dd0c2a7e65c 100644 --- a/components/google_sheets/actions/move-dimension/move-dimension.mjs +++ b/components/google_sheets/actions/move-dimension/move-dimension.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-move-dimension", name: "Move Dimension", description: "Move a dimension in a spreadsheet. [See the documentation](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request#MoveDimensionRequest)", - version: "0.0.1", + version: "0.0.2", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/google_sheets/actions/set-data-validation/set-data-validation.mjs b/components/google_sheets/actions/set-data-validation/set-data-validation.mjs index 00bae5364bb73..41a660605777e 100644 --- a/components/google_sheets/actions/set-data-validation/set-data-validation.mjs +++ b/components/google_sheets/actions/set-data-validation/set-data-validation.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-set-data-validation", name: "Set Data Validation", description: "Add data validation rules to cells (dropdowns, checkboxes, date/number validation). [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#SetDataValidationRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: false, @@ -97,8 +97,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - 65, - endColumnIndex: endCol.charCodeAt(0) - 64, + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }, rule: { condition: { diff --git a/components/google_sheets/actions/update-cell/update-cell.mjs b/components/google_sheets/actions/update-cell/update-cell.mjs index 3c5f0662f10bc..cfda9e8a1c391 100644 --- a/components/google_sheets/actions/update-cell/update-cell.mjs +++ b/components/google_sheets/actions/update-cell/update-cell.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-update-cell", name: "Update Cell", description: "Update a cell in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/update-conditional-format-rule/update-conditional-format-rule.mjs b/components/google_sheets/actions/update-conditional-format-rule/update-conditional-format-rule.mjs index ff8357f0df9a9..cdfc49e689fba 100644 --- a/components/google_sheets/actions/update-conditional-format-rule/update-conditional-format-rule.mjs +++ b/components/google_sheets/actions/update-conditional-format-rule/update-conditional-format-rule.mjs @@ -5,7 +5,7 @@ export default { key: "google_sheets-update-conditional-format-rule", name: "Update Conditional Format Rule", description: "Modify existing conditional formatting rule. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request#UpdateConditionalFormatRuleRequest)", - version: "0.0.1", + version: "0.0.2", type: "action", annotations: { destructiveHint: false, @@ -145,8 +145,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - 65, - endColumnIndex: endCol.charCodeAt(0) - 64, + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }, ], }; diff --git a/components/google_sheets/actions/update-formatting/update-formatting.mjs b/components/google_sheets/actions/update-formatting/update-formatting.mjs index 5662ea53b2f4e..62079e4ef4319 100644 --- a/components/google_sheets/actions/update-formatting/update-formatting.mjs +++ b/components/google_sheets/actions/update-formatting/update-formatting.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-update-formatting", name: "Update Formatting", description: "Update the formatting of a cell in a spreadsheet. [See the documentation](https://developers.google.com/workspace/sheets/api/samples/formatting)", - version: "0.0.2", + version: "0.0.3", type: "action", annotations: { destructiveHint: true, @@ -160,8 +160,6 @@ export default { }, }, async run({ $ }) { - const ASCII_A = 65; // Unicode (UTF-16) value for the character 'A' - const OFFSET_INCLUSIVE = -1; // For making the end column index inclusive const { startCol, endCol, @@ -173,8 +171,8 @@ export default { sheetId: this.worksheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - ASCII_A, - endColumnIndex: endCol.charCodeAt(0) - (ASCII_A + OFFSET_INCLUSIVE), + startColumnIndex: this.googleSheets._getColumnIndex(startCol) - 1, + endColumnIndex: this.googleSheets._getColumnIndex(endCol), // API end is exclusive }; const hasBorderStyles = this.topBorderStyle diff --git a/components/google_sheets/actions/update-multiple-rows/update-multiple-rows.mjs b/components/google_sheets/actions/update-multiple-rows/update-multiple-rows.mjs index a39fb143f98df..b085b5c32866f 100644 --- a/components/google_sheets/actions/update-multiple-rows/update-multiple-rows.mjs +++ b/components/google_sheets/actions/update-multiple-rows/update-multiple-rows.mjs @@ -9,7 +9,7 @@ export default { key: "google_sheets-update-multiple-rows", name: "Update Multiple Rows", description: "Update multiple rows in a spreadsheet defined by a range. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)", - version: "0.1.16", + version: "0.1.17", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/update-row/update-row.mjs b/components/google_sheets/actions/update-row/update-row.mjs index af5d198fa63b0..1c0b846971404 100644 --- a/components/google_sheets/actions/update-row/update-row.mjs +++ b/components/google_sheets/actions/update-row/update-row.mjs @@ -10,7 +10,7 @@ export default { key: "google_sheets-update-row", name: "Update Row", description: "Update a row in a spreadsheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)", - version: "0.1.18", + version: "0.1.19", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/actions/upsert-row/upsert-row.mjs b/components/google_sheets/actions/upsert-row/upsert-row.mjs index 54b5e9da21057..9a02daae9c768 100644 --- a/components/google_sheets/actions/upsert-row/upsert-row.mjs +++ b/components/google_sheets/actions/upsert-row/upsert-row.mjs @@ -24,7 +24,7 @@ export default { key: "google_sheets-upsert-row", name: "Upsert Row", description: "Upsert a row of data in a Google Sheet. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)", - version: "0.1.18", + version: "0.1.19", annotations: { destructiveHint: true, openWorldHint: true, diff --git a/components/google_sheets/google_sheets.app.mjs b/components/google_sheets/google_sheets.app.mjs index 3b719b08adb90..b2cdb8ae2fac1 100644 --- a/components/google_sheets/google_sheets.app.mjs +++ b/components/google_sheets/google_sheets.app.mjs @@ -662,9 +662,6 @@ export default { * @returns {Promise} The response data from the batchUpdate request. */ async resetRowFormat(spreadsheetId, rangeStr, opts = {}) { - const ASCII_A = 65; // Unicode (UTF-16) value for the character 'A' - const OFFSET_INCLUSIVE = -1; // For making the end column index inclusive - const { sheetName, startCol, @@ -681,8 +678,8 @@ export default { sheetId: sheetId, startRowIndex: startRow, endRowIndex: endRow, - startColumnIndex: startCol.charCodeAt(0) - ASCII_A, - endColumnIndex: endCol.charCodeAt(0) - (ASCII_A + OFFSET_INCLUSIVE), + startColumnIndex: this._getColumnIndex(startCol) - 1, + endColumnIndex: this._getColumnIndex(endCol), // API end is exclusive }; return (await sheets.spreadsheets.batchUpdate({ spreadsheetId, diff --git a/components/google_sheets/package.json b/components/google_sheets/package.json index 8935219c43a6d..c63129d742908 100644 --- a/components/google_sheets/package.json +++ b/components/google_sheets/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_sheets", - "version": "0.13.4", + "version": "0.13.5", "description": "Pipedream Google_sheets Components", "main": "google_sheets.app.mjs", "keywords": [ diff --git a/components/google_sheets/sources/new-comment-polling/new-comment-polling.mjs b/components/google_sheets/sources/new-comment-polling/new-comment-polling.mjs index 052836f47652d..0aca8de4a5f56 100644 --- a/components/google_sheets/sources/new-comment-polling/new-comment-polling.mjs +++ b/components/google_sheets/sources/new-comment-polling/new-comment-polling.mjs @@ -8,7 +8,7 @@ export default { key: "google_sheets-new-comment-polling", name: "New Comment", description: "Emit new event each time a comment is added to a spreadsheet.", - version: "0.0.2", + version: "0.0.3", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-comment/new-comment.mjs b/components/google_sheets/sources/new-comment/new-comment.mjs index 7b3d6f30df9a5..33df0faba6920 100644 --- a/components/google_sheets/sources/new-comment/new-comment.mjs +++ b/components/google_sheets/sources/new-comment/new-comment.mjs @@ -6,7 +6,7 @@ export default { key: "google_sheets-new-comment", name: "New Comment (Instant)", description: "Emit new event each time a comment is added to a spreadsheet.", - version: "0.1.4", + version: "0.1.5", dedupe: "unique", type: "source", methods: { diff --git a/components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs b/components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs index 531e54bbb2584..100b47f7ed77b 100644 --- a/components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs +++ b/components/google_sheets/sources/new-row-added-polling/new-row-added-polling.mjs @@ -8,7 +8,7 @@ export default { key: "google_sheets-new-row-added-polling", name: "New Row Added", description: "Emit new event each time a row or rows are added to the bottom of a spreadsheet.", - version: "0.1.4", + version: "0.1.5", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-row-added/new-row-added.mjs b/components/google_sheets/sources/new-row-added/new-row-added.mjs index e950c38b53d87..5f034f4cfc20e 100644 --- a/components/google_sheets/sources/new-row-added/new-row-added.mjs +++ b/components/google_sheets/sources/new-row-added/new-row-added.mjs @@ -8,7 +8,7 @@ export default { key: "google_sheets-new-row-added", name: "New Row Added (Instant)", description: "Emit new event each time a row or rows are added to the bottom of a spreadsheet.", - version: "0.2.4", + version: "0.2.5", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-updates-polling/new-updates-polling.mjs b/components/google_sheets/sources/new-updates-polling/new-updates-polling.mjs index 36506ab661f8e..b98c5f8daaf94 100644 --- a/components/google_sheets/sources/new-updates-polling/new-updates-polling.mjs +++ b/components/google_sheets/sources/new-updates-polling/new-updates-polling.mjs @@ -8,7 +8,7 @@ export default { key: "google_sheets-new-updates-polling", name: "New Updates", description: "Emit new event each time a row or cell is updated in a spreadsheet.", - version: "0.0.3", + version: "0.0.4", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-updates/new-updates.mjs b/components/google_sheets/sources/new-updates/new-updates.mjs index f190b548143e4..197d870b06f87 100644 --- a/components/google_sheets/sources/new-updates/new-updates.mjs +++ b/components/google_sheets/sources/new-updates/new-updates.mjs @@ -9,7 +9,7 @@ export default { type: "source", name: "New Updates (Instant)", description: "Emit new event each time a row or cell is updated in a spreadsheet.", - version: "0.3.5", + version: "0.3.6", dedupe: "unique", props: { ...httpBase.props, diff --git a/components/google_sheets/sources/new-worksheet-polling/new-worksheet-polling.mjs b/components/google_sheets/sources/new-worksheet-polling/new-worksheet-polling.mjs index 2efb27496d1bd..dafb9ccdafd0f 100644 --- a/components/google_sheets/sources/new-worksheet-polling/new-worksheet-polling.mjs +++ b/components/google_sheets/sources/new-worksheet-polling/new-worksheet-polling.mjs @@ -9,7 +9,7 @@ export default { key: "google_sheets-new-worksheet-polling", name: "New Worksheet (Polling)", description: "Emit new event each time a new worksheet is created in a spreadsheet.", - version: "0.0.2", + version: "0.0.3", dedupe: "unique", type: "source", hooks: { diff --git a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs index 9c045e76cb8b2..70623b7fc2ffd 100644 --- a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs +++ b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs @@ -9,7 +9,7 @@ export default { type: "source", name: "New Worksheet (Instant)", description: "Emit new event each time a new worksheet is created in a spreadsheet.", - version: "0.2.4", + version: "0.2.5", dedupe: "unique", hooks: { ...httpBase.hooks,