Skip to content

Commit

Permalink
Automated commit: Latest generated changes from schedule action (#69)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
github-actions[bot] and WilliamBergamin authored Dec 10, 2024
1 parent ccf6fc7 commit b6302b5
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/connectors/mod.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
5 changes: 4 additions & 1 deletion src/connectors/salesforce/functions/create_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down
7 changes: 5 additions & 2 deletions src/connectors/salesforce/functions/delete_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand All @@ -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: [],
},
Expand Down
5 changes: 4 additions & 1 deletion src/connectors/salesforce/functions/read_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 8 additions & 2 deletions src/connectors/salesforce/functions/update_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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: [],
},
Expand Down

0 comments on commit b6302b5

Please sign in to comment.