diff --git a/src/connectors/asana/functions/update_task.ts b/src/connectors/asana/functions/update_task.ts index e14e4b6..dac17d1 100644 --- a/src/connectors/asana/functions/update_task.ts +++ b/src/connectors/asana/functions/update_task.ts @@ -33,6 +33,7 @@ export default DefineConnector({ description: "Enter text", title: "New description", }, + completed: { type: Schema.types.boolean, title: "Mark complete" }, asana_access_token: { type: Schema.slack.types.oauth2, description: "Asana credential to use", @@ -73,6 +74,11 @@ export default DefineConnector({ description: "The datetime the task was created at", title: "Created at", }, + completed: { + type: Schema.types.boolean, + description: "Indicates task completion status", + title: "Is Task Completed", + }, permalink_url: { type: Schema.types.string, description: "Link for the created Task", diff --git a/src/connectors/asana/functions/update_task_test.ts b/src/connectors/asana/functions/update_task_test.ts index 620a889..0d47a6a 100644 --- a/src/connectors/asana/functions/update_task_test.ts +++ b/src/connectors/asana/functions/update_task_test.ts @@ -41,5 +41,6 @@ Deno.test("All outputs of Slack function UpdateTask should exist", () => { assertExists(step.outputs.due_at); assertExists(step.outputs.description); assertExists(step.outputs.created_at); + assertExists(step.outputs.completed); assertExists(step.outputs.permalink_url); }); diff --git a/src/connectors/google.sheets/functions/add_spreadsheet_row.ts b/src/connectors/google.sheets/functions/add_spreadsheet_row.ts index 585d112..f0d210a 100644 --- a/src/connectors/google.sheets/functions/add_spreadsheet_row.ts +++ b/src/connectors/google.sheets/functions/add_spreadsheet_row.ts @@ -58,6 +58,7 @@ export default DefineConnector({ description: "Time when step ended", title: "Time when step ended", }, + column_values: { type: Schema.types.object, title: "Column values" }, }, required: [ "spreadsheet_url", diff --git a/src/connectors/google.sheets/functions/add_spreadsheet_row_test.ts b/src/connectors/google.sheets/functions/add_spreadsheet_row_test.ts index 0358204..ab511ef 100644 --- a/src/connectors/google.sheets/functions/add_spreadsheet_row_test.ts +++ b/src/connectors/google.sheets/functions/add_spreadsheet_row_test.ts @@ -45,4 +45,5 @@ Deno.test("All outputs of Slack function AddSpreadsheetRow should exist", () => assertExists(step.outputs.spreadsheet_id); assertExists(step.outputs.timestamp_started); assertExists(step.outputs.timestamp_completed); + assertExists(step.outputs.column_values); }); diff --git a/src/connectors/google.sheets/functions/delete_spreadsheet_row.ts b/src/connectors/google.sheets/functions/delete_spreadsheet_row.ts index 5e128d5..c99e377 100644 --- a/src/connectors/google.sheets/functions/delete_spreadsheet_row.ts +++ b/src/connectors/google.sheets/functions/delete_spreadsheet_row.ts @@ -34,13 +34,7 @@ export default DefineConnector({ title: "Google Access Token", }, }, - required: [ - "spreadsheet_id", - "sheet", - "column_name", - "cell_value", - "google_access_token", - ], + required: ["spreadsheet_id", "sheet", "column_name", "google_access_token"], }, output_parameters: { properties: {}, required: [] }, }); diff --git a/src/connectors/google.sheets/functions/delete_spreadsheet_row_test.ts b/src/connectors/google.sheets/functions/delete_spreadsheet_row_test.ts index b4880b7..2ca1ae5 100644 --- a/src/connectors/google.sheets/functions/delete_spreadsheet_row_test.ts +++ b/src/connectors/google.sheets/functions/delete_spreadsheet_row_test.ts @@ -13,7 +13,6 @@ Deno.test("DeleteSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet: "test", column_name: "test", - cell_value: "test", google_access_token: "test", }); const actual = testWorkflow.steps[0].export(); @@ -26,7 +25,6 @@ Deno.test("DeleteSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet: "test", column_name: "test", - cell_value: "test", google_access_token: "test", }); }); diff --git a/src/connectors/google.sheets/functions/select_spreadsheet_row.ts b/src/connectors/google.sheets/functions/select_spreadsheet_row.ts index 5b8f820..10c0aab 100644 --- a/src/connectors/google.sheets/functions/select_spreadsheet_row.ts +++ b/src/connectors/google.sheets/functions/select_spreadsheet_row.ts @@ -38,7 +38,6 @@ export default DefineConnector({ "spreadsheet_id", "sheet_title", "column_name", - "cell_value", "google_access_token", ], }, diff --git a/src/connectors/google.sheets/functions/select_spreadsheet_row_test.ts b/src/connectors/google.sheets/functions/select_spreadsheet_row_test.ts index 11203ae..215fed7 100644 --- a/src/connectors/google.sheets/functions/select_spreadsheet_row_test.ts +++ b/src/connectors/google.sheets/functions/select_spreadsheet_row_test.ts @@ -13,7 +13,6 @@ Deno.test("SelectSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", google_access_token: "test", }); const actual = testWorkflow.steps[0].export(); @@ -26,7 +25,6 @@ Deno.test("SelectSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", google_access_token: "test", }); }); @@ -41,7 +39,6 @@ Deno.test("All outputs of Slack function SelectSpreadsheetRow should exist", () spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", google_access_token: "test", }); assertExists(step.outputs.column_values); diff --git a/src/connectors/google.sheets/functions/update_spreadsheet_row.ts b/src/connectors/google.sheets/functions/update_spreadsheet_row.ts index 74b35bf..d890d0f 100644 --- a/src/connectors/google.sheets/functions/update_spreadsheet_row.ts +++ b/src/connectors/google.sheets/functions/update_spreadsheet_row.ts @@ -39,7 +39,6 @@ export default DefineConnector({ "spreadsheet_id", "sheet_title", "column_name", - "cell_value", "updated_values", "google_access_token", ], diff --git a/src/connectors/google.sheets/functions/update_spreadsheet_row_test.ts b/src/connectors/google.sheets/functions/update_spreadsheet_row_test.ts index 46f5c4e..ed4dbd6 100644 --- a/src/connectors/google.sheets/functions/update_spreadsheet_row_test.ts +++ b/src/connectors/google.sheets/functions/update_spreadsheet_row_test.ts @@ -13,7 +13,6 @@ Deno.test("UpdateSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", updated_values: "test", google_access_token: "test", }); @@ -27,7 +26,6 @@ Deno.test("UpdateSpreadsheetRow can be used as a Slack function in a workflow st spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", updated_values: "test", google_access_token: "test", }); @@ -43,7 +41,6 @@ Deno.test("All outputs of Slack function UpdateSpreadsheetRow should exist", () spreadsheet_id: "test", sheet_title: "test", column_name: "test", - cell_value: "test", updated_values: "test", google_access_token: "test", }); diff --git a/src/connectors/mod.ts b/src/connectors/mod.ts index acdbd1e..12a9fae 100644 --- a/src/connectors/mod.ts +++ b/src/connectors/mod.ts @@ -1,4 +1,4 @@ -/** This file was autogenerated on Mon May 13 2024. Follow the steps in src/schema/slack/functions/README.md to rebuild **/ +/** This file was autogenerated on Mon May 27 2024. Follow the steps in src/schema/slack/functions/README.md to rebuild **/ import AdobeSign from "./adobe.sign/mod.ts"; import Airtable from "./airtable/mod.ts"; import Asana from "./asana/mod.ts";