diff --git a/src/connectors/mod.ts b/src/connectors/mod.ts index cc89371..eef0c50 100644 --- a/src/connectors/mod.ts +++ b/src/connectors/mod.ts @@ -1,4 +1,4 @@ -/** This file was autogenerated on Mon Oct 28 2024. Follow the steps in src/schema/slack/functions/README.md to rebuild **/ +/** This file was autogenerated on Tue Dec 10 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/salesforce/functions/create_record.ts b/src/connectors/salesforce/functions/create_record.ts index 8078610..ea0dbc1 100644 --- a/src/connectors/salesforce/functions/create_record.ts +++ b/src/connectors/salesforce/functions/create_record.ts @@ -28,7 +28,10 @@ export default DefineConnector({ output_parameters: { properties: { success: { type: Schema.types.boolean, title: "Response" }, - record_id: { type: Schema.types.string, title: "Record ID" }, + record_id: { + type: Schema.slack.types.salesforce_record_id, + title: "Record ID", + }, record_url: { type: Schema.types.string, title: "Record URL" }, }, required: [], diff --git a/src/connectors/salesforce/functions/delete_record.ts b/src/connectors/salesforce/functions/delete_record.ts index 44d2ca5..9742209 100644 --- a/src/connectors/salesforce/functions/delete_record.ts +++ b/src/connectors/salesforce/functions/delete_record.ts @@ -14,7 +14,7 @@ export default DefineConnector({ title: "Salesforce object", }, record_id: { - type: Schema.types.string, + type: Schema.slack.types.salesforce_record_id, description: "Ex: 1000000000Abcd", title: "Record ID", }, @@ -32,7 +32,10 @@ export default DefineConnector({ output_parameters: { properties: { code: { type: Schema.types.integer, title: "Response" }, - record_id: { type: Schema.types.string, title: "Record ID" }, + record_id: { + type: Schema.slack.types.salesforce_record_id, + title: "Record ID", + }, }, required: [], }, diff --git a/src/connectors/salesforce/functions/read_record.ts b/src/connectors/salesforce/functions/read_record.ts index b639e84..7e29b85 100644 --- a/src/connectors/salesforce/functions/read_record.ts +++ b/src/connectors/salesforce/functions/read_record.ts @@ -13,7 +13,10 @@ export default DefineConnector({ description: "Salesforce Object", title: "Salesforce object", }, - record_id: { type: Schema.types.string, title: "Record" }, + record_id: { + type: Schema.slack.types.salesforce_record_id, + title: "Record", + }, salesforce_access_token: { type: Schema.slack.types.oauth2, title: "Salesforce Access Token", diff --git a/src/connectors/salesforce/functions/update_record.ts b/src/connectors/salesforce/functions/update_record.ts index b86ebbc..7d8b8d5 100644 --- a/src/connectors/salesforce/functions/update_record.ts +++ b/src/connectors/salesforce/functions/update_record.ts @@ -13,7 +13,10 @@ export default DefineConnector({ description: "Select an option...", title: "Salesforce object", }, - record_id: { type: Schema.types.string, title: "Record" }, + record_id: { + type: Schema.slack.types.salesforce_record_id, + title: "Record", + }, updates: { type: Schema.types.object, title: "Updates" }, salesforce_access_token: { type: Schema.slack.types.oauth2, @@ -30,7 +33,10 @@ export default DefineConnector({ properties: { code: { type: Schema.types.integer, title: "Response" }, record_url: { type: Schema.types.string, title: "Record URL" }, - record_id: { type: Schema.types.string, title: "Record ID" }, + record_id: { + type: Schema.slack.types.salesforce_record_id, + title: "Record ID", + }, }, required: [], },