From 71185865759d3b2b70fbb024140614c6bae82bf2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 8 Jul 2024 00:10:42 +0000 Subject: [PATCH] Automated commit: Latest generated changes from schedule action --- src/connectors/clickup/functions/create_task.ts | 10 +++++----- .../functions/hire_application.ts | 10 +++++----- .../functions/list_candidate_activity.ts | 2 +- .../functions/list_job_candidates.ts | 2 +- .../functions/reject_application.ts | 10 +++++----- src/connectors/mod.ts | 2 +- src/connectors/travisci/functions/cancel_build.ts | 4 ++-- src/connectors/travisci/functions/restart_build.ts | 4 ++-- src/connectors/zendesk/functions/create_ticket.ts | 4 ++-- src/connectors/zendesk/functions/update_ticket.ts | 4 ++-- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/connectors/clickup/functions/create_task.ts b/src/connectors/clickup/functions/create_task.ts index b2cad74..93d9f88 100644 --- a/src/connectors/clickup/functions/create_task.ts +++ b/src/connectors/clickup/functions/create_task.ts @@ -7,10 +7,10 @@ export default DefineConnector({ title: "Create a task in a folder", input_parameters: { properties: { - team_id: { type: Schema.types.string, title: "Team" }, - space_id: { type: Schema.types.string, title: "Space" }, - folder_id: { type: Schema.types.string, title: "Folder" }, - list_id: { type: Schema.types.string, title: "List" }, + team_id: { type: Schema.types.integer, title: "Team" }, + space_id: { type: Schema.types.integer, title: "Space" }, + folder_id: { type: Schema.types.integer, title: "Folder" }, + list_id: { type: Schema.types.integer, title: "List" }, name: { type: Schema.types.string, description: "Enter text", @@ -29,7 +29,7 @@ export default DefineConnector({ assignees: { type: Schema.types.array, title: "Assignee", - items: { type: Schema.types.string }, + items: { type: Schema.types.integer }, }, start_date: { type: Schema.slack.types.timestamp, title: "Start at" }, due_date: { type: Schema.slack.types.timestamp, title: "Due at" }, diff --git a/src/connectors/greenhouse.recruiting/functions/hire_application.ts b/src/connectors/greenhouse.recruiting/functions/hire_application.ts index 5963cbc..646624e 100644 --- a/src/connectors/greenhouse.recruiting/functions/hire_application.ts +++ b/src/connectors/greenhouse.recruiting/functions/hire_application.ts @@ -7,17 +7,17 @@ export default DefineConnector({ title: "Hire Application", input_parameters: { properties: { - candidate_id: { type: Schema.types.string, title: "Candidate email" }, - application_id: { type: Schema.types.string, title: "Application" }, - close_reason_id: { type: Schema.types.string, title: "Close reason" }, + candidate_id: { type: Schema.types.integer, title: "Candidate email" }, + application_id: { type: Schema.types.integer, title: "Application" }, + close_reason_id: { type: Schema.types.integer, title: "Close reason" }, }, required: ["candidate_id", "application_id", "close_reason_id"], }, output_parameters: { properties: { - id: { type: Schema.types.string, title: "Application ID" }, + id: { type: Schema.types.integer, title: "Application ID" }, status: { type: Schema.types.string, title: "Status" }, - candidate_id: { type: Schema.types.string, title: "Candidate ID" }, + candidate_id: { type: Schema.types.integer, title: "Candidate ID" }, }, required: [], }, diff --git a/src/connectors/greenhouse.recruiting/functions/list_candidate_activity.ts b/src/connectors/greenhouse.recruiting/functions/list_candidate_activity.ts index a1adf14..611cb47 100644 --- a/src/connectors/greenhouse.recruiting/functions/list_candidate_activity.ts +++ b/src/connectors/greenhouse.recruiting/functions/list_candidate_activity.ts @@ -8,7 +8,7 @@ export default DefineConnector({ description: "Retrieve a candidate activity feed", input_parameters: { properties: { - candidate_id: { type: Schema.types.string, title: "Candidate email" }, + candidate_id: { type: Schema.types.integer, title: "Candidate email" }, }, required: ["candidate_id"], }, diff --git a/src/connectors/greenhouse.recruiting/functions/list_job_candidates.ts b/src/connectors/greenhouse.recruiting/functions/list_job_candidates.ts index aaac4df..e1b2680 100644 --- a/src/connectors/greenhouse.recruiting/functions/list_job_candidates.ts +++ b/src/connectors/greenhouse.recruiting/functions/list_job_candidates.ts @@ -7,7 +7,7 @@ export default DefineConnector({ title: "List job candidates", description: "List all candidates for a job request", input_parameters: { - properties: { job_id: { type: Schema.types.string, title: "Job" } }, + properties: { job_id: { type: Schema.types.integer, title: "Job" } }, required: ["job_id"], }, output_parameters: { diff --git a/src/connectors/greenhouse.recruiting/functions/reject_application.ts b/src/connectors/greenhouse.recruiting/functions/reject_application.ts index 86fc373..0adea4d 100644 --- a/src/connectors/greenhouse.recruiting/functions/reject_application.ts +++ b/src/connectors/greenhouse.recruiting/functions/reject_application.ts @@ -7,10 +7,10 @@ export default DefineConnector({ title: "Reject Application", input_parameters: { properties: { - candidate_id: { type: Schema.types.string, title: "Candidate email" }, - application_id: { type: Schema.types.string, title: "Application" }, + candidate_id: { type: Schema.types.integer, title: "Candidate email" }, + application_id: { type: Schema.types.integer, title: "Application" }, rejection_reason_id: { - type: Schema.types.string, + type: Schema.types.integer, title: "Rejection reason", }, notes: { type: Schema.types.string, title: "Notes" }, @@ -19,9 +19,9 @@ export default DefineConnector({ }, output_parameters: { properties: { - id: { type: Schema.types.string, title: "Application ID" }, + id: { type: Schema.types.integer, title: "Application ID" }, status: { type: Schema.types.string, title: "Status" }, - candidate_id: { type: Schema.types.string, title: "Candidate ID" }, + candidate_id: { type: Schema.types.integer, title: "Candidate ID" }, }, required: [], }, diff --git a/src/connectors/mod.ts b/src/connectors/mod.ts index b88c0a8..d2b685f 100644 --- a/src/connectors/mod.ts +++ b/src/connectors/mod.ts @@ -1,4 +1,4 @@ -/** This file was autogenerated on Mon Jul 01 2024. Follow the steps in src/schema/slack/functions/README.md to rebuild **/ +/** This file was autogenerated on Mon Jul 08 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"; diff --git a/src/connectors/travisci/functions/cancel_build.ts b/src/connectors/travisci/functions/cancel_build.ts index 670ee5e..49093de 100644 --- a/src/connectors/travisci/functions/cancel_build.ts +++ b/src/connectors/travisci/functions/cancel_build.ts @@ -14,7 +14,7 @@ export default DefineConnector({ title: "Branch", }, build_id: { - type: Schema.types.string, + type: Schema.types.integer, description: "Select a build ID", title: "Build ID", }, @@ -23,7 +23,7 @@ export default DefineConnector({ }, output_parameters: { properties: { - build_id: { type: Schema.types.string, title: "Build ID" }, + build_id: { type: Schema.types.integer, title: "Build ID" }, branch: { type: Schema.types.string, title: "Branch" }, repository: { type: Schema.types.string, title: "Repository" }, build_url: { type: Schema.types.string, title: "Build URL" }, diff --git a/src/connectors/travisci/functions/restart_build.ts b/src/connectors/travisci/functions/restart_build.ts index ab9c591..003e62d 100644 --- a/src/connectors/travisci/functions/restart_build.ts +++ b/src/connectors/travisci/functions/restart_build.ts @@ -14,7 +14,7 @@ export default DefineConnector({ title: "Branch", }, build_id: { - type: Schema.types.string, + type: Schema.types.integer, description: "Select a build ID", title: "Build ID", }, @@ -23,7 +23,7 @@ export default DefineConnector({ }, output_parameters: { properties: { - build_id: { type: Schema.types.string, title: "Build ID" }, + build_id: { type: Schema.types.integer, title: "Build ID" }, branch: { type: Schema.types.string, title: "Branch" }, repository: { type: Schema.types.string, title: "Repository" }, build_url: { type: Schema.types.string, title: "Build URL" }, diff --git a/src/connectors/zendesk/functions/create_ticket.ts b/src/connectors/zendesk/functions/create_ticket.ts index 2751656..1bc8cc6 100644 --- a/src/connectors/zendesk/functions/create_ticket.ts +++ b/src/connectors/zendesk/functions/create_ticket.ts @@ -17,8 +17,8 @@ export default DefineConnector({ description: "Enter text", title: "Requester email", }, - assignee_id: { type: Schema.types.string, title: "Assignee" }, - group_id: { type: Schema.types.string, title: "Group" }, + assignee_id: { type: Schema.types.integer, title: "Assignee" }, + group_id: { type: Schema.types.integer, title: "Group" }, followers: { type: Schema.types.array, description: "Enter internal agent emails", diff --git a/src/connectors/zendesk/functions/update_ticket.ts b/src/connectors/zendesk/functions/update_ticket.ts index 3826a12..c403768 100644 --- a/src/connectors/zendesk/functions/update_ticket.ts +++ b/src/connectors/zendesk/functions/update_ticket.ts @@ -17,8 +17,8 @@ export default DefineConnector({ description: "Enter text", title: "New requester email", }, - assignee_id: { type: Schema.types.string, title: "New assignee" }, - group_id: { type: Schema.types.string, title: "New group" }, + assignee_id: { type: Schema.types.integer, title: "New assignee" }, + group_id: { type: Schema.types.integer, title: "New group" }, add_followers: { type: Schema.types.array, description: "Enter internal agent emails to be added",