diff --git a/src/connectors/mod.ts b/src/connectors/mod.ts index cc89371..fa1781f 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 Mon Dec 09 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..70552e0 100644 --- a/src/connectors/salesforce/functions/create_record.ts +++ b/src/connectors/salesforce/functions/create_record.ts @@ -28,7 +28,7 @@ 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: undefined, 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..bda3e1e 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: undefined, description: "Ex: 1000000000Abcd", title: "Record ID", }, @@ -32,7 +32,7 @@ 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: undefined, title: "Record ID" }, }, required: [], }, diff --git a/src/connectors/salesforce/functions/read_record.ts b/src/connectors/salesforce/functions/read_record.ts index b639e84..41de8db 100644 --- a/src/connectors/salesforce/functions/read_record.ts +++ b/src/connectors/salesforce/functions/read_record.ts @@ -13,7 +13,7 @@ export default DefineConnector({ description: "Salesforce Object", title: "Salesforce object", }, - record_id: { type: Schema.types.string, title: "Record" }, + record_id: { type: undefined, 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..ee57f3d 100644 --- a/src/connectors/salesforce/functions/update_record.ts +++ b/src/connectors/salesforce/functions/update_record.ts @@ -13,7 +13,7 @@ export default DefineConnector({ description: "Select an option...", title: "Salesforce object", }, - record_id: { type: Schema.types.string, title: "Record" }, + record_id: { type: undefined, title: "Record" }, updates: { type: Schema.types.object, title: "Updates" }, salesforce_access_token: { type: Schema.slack.types.oauth2, @@ -30,7 +30,7 @@ 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: undefined, title: "Record ID" }, }, required: [], },