diff --git a/src/connectors/asana/functions/create_task.ts b/src/connectors/asana/functions/create_task.ts index 208c31d..04a5656 100644 --- a/src/connectors/asana/functions/create_task.ts +++ b/src/connectors/asana/functions/create_task.ts @@ -9,7 +9,6 @@ export default DefineConnector({ properties: { workspace_gid: { type: Schema.types.string, title: "Workspace" }, project: { type: Schema.types.string, title: "Project" }, - assignee_section: { type: Schema.types.string, title: "Section" }, assignee: { type: Schema.slack.types.user_id, description: "Select a user", @@ -43,13 +42,7 @@ export default DefineConnector({ title: "Asana Access Token", }, }, - required: [ - "workspace_gid", - "project", - "assignee", - "name", - "asana_access_token", - ], + required: ["workspace_gid", "project", "name", "asana_access_token"], }, output_parameters: { properties: { diff --git a/src/connectors/asana/functions/create_task_test.ts b/src/connectors/asana/functions/create_task_test.ts index ddc16fa..8612405 100644 --- a/src/connectors/asana/functions/create_task_test.ts +++ b/src/connectors/asana/functions/create_task_test.ts @@ -12,7 +12,6 @@ Deno.test("CreateTask can be used as a Slack function in a workflow step", () => testWorkflow.addStep(CreateTask, { workspace_gid: "test", project: "test", - assignee: "test", name: "test", asana_access_token: "test", }); @@ -22,7 +21,6 @@ Deno.test("CreateTask can be used as a Slack function in a workflow step", () => assertEquals(actual.inputs, { workspace_gid: "test", project: "test", - assignee: "test", name: "test", asana_access_token: "test", }); @@ -37,7 +35,6 @@ Deno.test("All outputs of Slack function CreateTask should exist", () => { const step = testWorkflow.addStep(CreateTask, { workspace_gid: "test", project: "test", - assignee: "test", name: "test", asana_access_token: "test", }); diff --git a/src/connectors/launchdarkly/functions/create_approval_request_update_flag.ts b/src/connectors/launchdarkly/functions/create_approval_request_update_flag.ts index 8b219a1..df6c632 100644 --- a/src/connectors/launchdarkly/functions/create_approval_request_update_flag.ts +++ b/src/connectors/launchdarkly/functions/create_approval_request_update_flag.ts @@ -35,13 +35,13 @@ export default DefineConnector({ }, notify_teams: { type: Schema.types.array, - description: "Please select an option", + description: "Please select one or many teams", title: "Notify team", items: { type: Schema.types.string }, }, notify_members: { type: Schema.types.array, - description: "Enter user IDs", + description: "Please select one or many members", title: "Notify reviewers", items: { type: Schema.types.string }, }, diff --git a/src/connectors/launchdarkly/functions/create_feature_flag.ts b/src/connectors/launchdarkly/functions/create_feature_flag.ts index b9e7cee..a46650d 100644 --- a/src/connectors/launchdarkly/functions/create_feature_flag.ts +++ b/src/connectors/launchdarkly/functions/create_feature_flag.ts @@ -4,7 +4,7 @@ import { Schema } from "../../../deps.ts"; export default DefineConnector({ callback_id: "A05RF94AFB3#/functions/create_feature_flag", - title: "Create a feature flag", + title: "Create a boolean feature flag", input_parameters: { properties: { project_key: { diff --git a/src/connectors/launchdarkly/functions/update_target_segment.ts b/src/connectors/launchdarkly/functions/update_target_segment.ts index 859ca42..7fb2fb3 100644 --- a/src/connectors/launchdarkly/functions/update_target_segment.ts +++ b/src/connectors/launchdarkly/functions/update_target_segment.ts @@ -41,7 +41,7 @@ export default DefineConnector({ }, target_key: { type: Schema.types.array, - description: "Enter text", + description: "Please add one or more target keys", title: "Target key", items: { type: Schema.types.string }, }, diff --git a/src/connectors/loopio/functions/create_project.ts b/src/connectors/loopio/functions/create_project.ts index 6e0d6f9..4d5ee37 100644 --- a/src/connectors/loopio/functions/create_project.ts +++ b/src/connectors/loopio/functions/create_project.ts @@ -34,7 +34,13 @@ export default DefineConnector({ enum: ["RFP", "RFI", "DDQ", "SQ", "PP", "OTHER"], }, }, - required: ["project_name", "company_name", "due_date", "project_type"], + required: [ + "project_name", + "company_name", + "owner", + "due_date", + "project_type", + ], }, output_parameters: { properties: { diff --git a/src/connectors/loopio/functions/create_project_test.ts b/src/connectors/loopio/functions/create_project_test.ts index 64b198b..8ec7ef1 100644 --- a/src/connectors/loopio/functions/create_project_test.ts +++ b/src/connectors/loopio/functions/create_project_test.ts @@ -12,6 +12,7 @@ Deno.test("CreateProject can be used as a Slack function in a workflow step", () testWorkflow.addStep(CreateProject, { project_name: "test", company_name: "test", + owner: "test", due_date: "test", project_type: "test", }); @@ -21,6 +22,7 @@ Deno.test("CreateProject can be used as a Slack function in a workflow step", () assertEquals(actual.inputs, { project_name: "test", company_name: "test", + owner: "test", due_date: "test", project_type: "test", }); @@ -35,6 +37,7 @@ Deno.test("All outputs of Slack function CreateProject should exist", () => { const step = testWorkflow.addStep(CreateProject, { project_name: "test", company_name: "test", + owner: "test", due_date: "test", project_type: "test", }); diff --git a/src/connectors/mod.ts b/src/connectors/mod.ts index 64b5f92..8879e71 100644 --- a/src/connectors/mod.ts +++ b/src/connectors/mod.ts @@ -1,4 +1,4 @@ -/** This file was autogenerated on Mon Jun 17 2024. Follow the steps in src/schema/slack/functions/README.md to rebuild **/ +/** This file was autogenerated on Mon Jun 24 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";