@credal/actions 0.2.179 → 0.2.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,6 +16,35 @@ We strongly encourage you to develop actions that rely on oauth based credential
16
16
  6. In `package.json` and `package-lock.json` (which must be updated in two places), bump the version number.
17
17
  7. Run `npm publish --access public` to publish the new version to npm. (Need to be logged in via `npm login`)
18
18
 
19
+
20
+ ## Writing good action parameter descriptions
21
+
22
+ When adding new actions to the SDK, follow these guidelines to ensure agents can use them effectively:
23
+
24
+ ### 1. Write Parameter Descriptions from the Agent's Perspective
25
+
26
+ Parameter descriptions should be specific and unambiguous for an LLM agent that will be reading them to understand how to call the action.
27
+
28
+ - **Avoid pronouns like "it"** — explicitly name the entity (e.g., "the ticket", "the project", "the message")
29
+ - **Be specific about ownership/relationships** — say "the owner's username" instead of just "owner"
30
+ - **Include context about what the action does** — e.g., clarify that `sendDmFromBot` sends a message *on behalf of the Credal bot*
31
+
32
+ ### 2. Specify Formatting Requirements for Content Inputs
33
+
34
+ For parameters that accept blob/rich content, explicitly state the expected format:
35
+ - "HTML-formatted content"
36
+ - "Markdown-formatted text"
37
+ - "Plain text only"
38
+
39
+ ### 3. Use Consistent Parameter Names Within a Provider
40
+
41
+ For any given provider, use the exact same parameter name across all actions that reference the same concept. For example, if one action uses `projectId`, all other actions for that provider should also use `projectId` (not `project_id` or `projectID`). This enables our frontend to dedupe parameters when setting recommend-preset params.
42
+
43
+ ### 4. Indicate When Parameters Must Be User-Provided
44
+
45
+ If a parameter value should come from the user rather than being inferred (e.g., sheet name in Google Sheets, channel name in Slack), say so explicitly in the description. Otherwise the LLM may hallucinate default values like `Sheet1`.
46
+
47
+
19
48
  ## Usage
20
49
 
21
50
  Invoking an action:
@@ -1,4 +1,4 @@
1
- import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, } from "./autogen/types.js";
1
+ import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, } from "./autogen/types.js";
2
2
  import validateAddress from "./providers/googlemaps/validateAddress.js";
3
3
  import add from "./providers/math/add.js";
4
4
  import fillTemplate from "./providers/generic/fillTemplate.js";
@@ -51,6 +51,7 @@ import deleteCalendarEvent from "./providers/google-oauth/deleteCalendarEvent.js
51
51
  import editAGoogleCalendarEvent from "./providers/google-oauth/editAGoogleCalendarEvent.js";
52
52
  import createSpreadsheet from "./providers/google-oauth/createSpreadsheet.js";
53
53
  import updateSpreadsheet from "./providers/google-oauth/updateSpreadsheet.js";
54
+ import appendRowsToSpreadsheet from "./providers/google-oauth/appendRowsToSpreadsheet.js";
54
55
  import createPresentation from "./providers/google-oauth/createPresentation.js";
55
56
  import updatePresentation from "./providers/google-oauth/updatePresentation.js";
56
57
  import getPresentation from "./providers/google-oauth/getPresentation.js";
@@ -534,6 +535,12 @@ export const ActionMapper = {
534
535
  outputSchema: googleOauthUpdateSpreadsheetOutputSchema,
535
536
  actionType: "write",
536
537
  },
538
+ appendRowsToSpreadsheet: {
539
+ fn: appendRowsToSpreadsheet,
540
+ paramsSchema: googleOauthAppendRowsToSpreadsheetParamsSchema,
541
+ outputSchema: googleOauthAppendRowsToSpreadsheetOutputSchema,
542
+ actionType: "write",
543
+ },
537
544
  createPresentation: {
538
545
  fn: createPresentation,
539
546
  paramsSchema: googleOauthCreatePresentationParamsSchema,
@@ -80,6 +80,7 @@ export declare const googleOauthEditAGoogleCalendarEventDefinition: ActionTempla
80
80
  export declare const googleOauthDeleteCalendarEventDefinition: ActionTemplate;
81
81
  export declare const googleOauthCreateSpreadsheetDefinition: ActionTemplate;
82
82
  export declare const googleOauthUpdateSpreadsheetDefinition: ActionTemplate;
83
+ export declare const googleOauthAppendRowsToSpreadsheetDefinition: ActionTemplate;
83
84
  export declare const googleOauthCreatePresentationDefinition: ActionTemplate;
84
85
  export declare const googleOauthUpdatePresentationDefinition: ActionTemplate;
85
86
  export declare const googleOauthGetPresentationDefinition: ActionTemplate;
@@ -57,7 +57,7 @@ export const perplexityPerplexityDeepResearchDefinition = {
57
57
  },
58
58
  result: {
59
59
  type: "object",
60
- description: "The main research response/analysis",
60
+ description: "The main research response/analysis object",
61
61
  properties: {
62
62
  content: {
63
63
  type: "string",
@@ -1168,7 +1168,7 @@ export const jiraAssignJiraTicketDefinition = {
1168
1168
  properties: {
1169
1169
  projectKey: {
1170
1170
  type: "string",
1171
- description: "The key for the project you want to add it to",
1171
+ description: "The key for the project you want to add the ticket to.",
1172
1172
  tags: ["recommend-predefined"],
1173
1173
  },
1174
1174
  assignee: {
@@ -1251,16 +1251,16 @@ export const jiraCommentJiraTicketDefinition = {
1251
1251
  properties: {
1252
1252
  projectKey: {
1253
1253
  type: "string",
1254
- description: "The key for the project",
1254
+ description: "The key for the project to which the ticket you want to comment on belongs.",
1255
1255
  tags: ["recommend-predefined"],
1256
1256
  },
1257
1257
  issueId: {
1258
1258
  type: "string",
1259
- description: "The issue ID associated with the ticket to be commented on",
1259
+ description: "The issue ID associated with the ticket to be commented on.",
1260
1260
  },
1261
1261
  comment: {
1262
1262
  type: "string",
1263
- description: "The text to be commented on the ticket",
1263
+ description: "The text to be commented on the ticket.",
1264
1264
  },
1265
1265
  },
1266
1266
  },
@@ -1295,7 +1295,7 @@ export const jiraCreateJiraTicketDefinition = {
1295
1295
  properties: {
1296
1296
  projectKey: {
1297
1297
  type: "string",
1298
- description: "The key for the project you want to add it to",
1298
+ description: "The key for the project you want to add the ticket to.",
1299
1299
  tags: ["recommend-predefined"],
1300
1300
  },
1301
1301
  summary: {
@@ -1419,7 +1419,7 @@ export const jiraGetJiraTicketDetailsDefinition = {
1419
1419
  properties: {
1420
1420
  projectKey: {
1421
1421
  type: "string",
1422
- description: "The key for the project",
1422
+ description: "The key for the project the ticket belongs to.",
1423
1423
  tags: ["recommend-predefined"],
1424
1424
  },
1425
1425
  issueId: {
@@ -1477,7 +1477,7 @@ export const jiraGetJiraTicketHistoryDefinition = {
1477
1477
  properties: {
1478
1478
  projectKey: {
1479
1479
  type: "string",
1480
- description: "The key for the project",
1480
+ description: "The key for the project the ticket belongs to.",
1481
1481
  tags: ["recommend-predefined"],
1482
1482
  },
1483
1483
  issueId: {
@@ -1517,7 +1517,7 @@ export const jiraUpdateJiraTicketDetailsDefinition = {
1517
1517
  properties: {
1518
1518
  projectKey: {
1519
1519
  type: "string",
1520
- description: "The key for the project you want to add it to",
1520
+ description: "The key for the project the ticket belongs to.",
1521
1521
  tags: ["recommend-predefined"],
1522
1522
  },
1523
1523
  issueId: {
@@ -1578,7 +1578,7 @@ export const jiraUpdateJiraTicketStatusDefinition = {
1578
1578
  properties: {
1579
1579
  projectKey: {
1580
1580
  type: "string",
1581
- description: "The key for the project you want to add it to",
1581
+ description: "The key for the project you want to add the ticket to.",
1582
1582
  tags: ["recommend-predefined"],
1583
1583
  },
1584
1584
  issueId: {
@@ -1821,7 +1821,7 @@ export const jiraOrgAssignJiraTicketDefinition = {
1821
1821
  properties: {
1822
1822
  projectKey: {
1823
1823
  type: "string",
1824
- description: "The key for the project you want to add it to",
1824
+ description: "The key for the project you want to add the ticket to.",
1825
1825
  tags: ["recommend-predefined"],
1826
1826
  },
1827
1827
  assignee: {
@@ -1904,16 +1904,16 @@ export const jiraOrgCommentJiraTicketDefinition = {
1904
1904
  properties: {
1905
1905
  projectKey: {
1906
1906
  type: "string",
1907
- description: "The key for the project",
1907
+ description: "The key for the project to which the ticket you want to comment on belongs.",
1908
1908
  tags: ["recommend-predefined"],
1909
1909
  },
1910
1910
  issueId: {
1911
1911
  type: "string",
1912
- description: "The issue ID associated with the ticket to be commented on",
1912
+ description: "The issue ID associated with the ticket to be commented on.",
1913
1913
  },
1914
1914
  comment: {
1915
1915
  type: "string",
1916
- description: "The text to be commented on the ticket",
1916
+ description: "The text to be commented on the ticket.",
1917
1917
  },
1918
1918
  },
1919
1919
  },
@@ -1948,7 +1948,7 @@ export const jiraOrgCreateJiraTicketDefinition = {
1948
1948
  properties: {
1949
1949
  projectKey: {
1950
1950
  type: "string",
1951
- description: "The key for the project you want to add it to",
1951
+ description: "The key for the project you want to add the ticket to.",
1952
1952
  tags: ["recommend-predefined"],
1953
1953
  },
1954
1954
  summary: {
@@ -2072,7 +2072,7 @@ export const jiraOrgGetJiraTicketDetailsDefinition = {
2072
2072
  properties: {
2073
2073
  projectKey: {
2074
2074
  type: "string",
2075
- description: "The key for the project",
2075
+ description: "The key for the project the ticket belongs to.",
2076
2076
  tags: ["recommend-predefined"],
2077
2077
  },
2078
2078
  issueId: {
@@ -2130,7 +2130,7 @@ export const jiraOrgGetJiraTicketHistoryDefinition = {
2130
2130
  properties: {
2131
2131
  projectKey: {
2132
2132
  type: "string",
2133
- description: "The key for the project",
2133
+ description: "The key for the project the ticket belongs to.",
2134
2134
  tags: ["recommend-predefined"],
2135
2135
  },
2136
2136
  issueId: {
@@ -2170,7 +2170,7 @@ export const jiraOrgUpdateJiraTicketDetailsDefinition = {
2170
2170
  properties: {
2171
2171
  projectKey: {
2172
2172
  type: "string",
2173
- description: "The key for the project you want to add it to",
2173
+ description: "The key for the project the ticket belongs to.",
2174
2174
  tags: ["recommend-predefined"],
2175
2175
  },
2176
2176
  issueId: {
@@ -2231,7 +2231,7 @@ export const jiraOrgUpdateJiraTicketStatusDefinition = {
2231
2231
  properties: {
2232
2232
  projectKey: {
2233
2233
  type: "string",
2234
- description: "The key for the project you want to add it to",
2234
+ description: "The key for the project you want to add the ticket to.",
2235
2235
  tags: ["recommend-predefined"],
2236
2236
  },
2237
2237
  issueId: {
@@ -2474,7 +2474,7 @@ export const jiraDataCenterAssignJiraTicketDefinition = {
2474
2474
  properties: {
2475
2475
  projectKey: {
2476
2476
  type: "string",
2477
- description: "The key for the project you want to add it to",
2477
+ description: "The key for the project you want to add the ticket to.",
2478
2478
  tags: ["recommend-predefined"],
2479
2479
  },
2480
2480
  assignee: {
@@ -2557,16 +2557,16 @@ export const jiraDataCenterCommentJiraTicketDefinition = {
2557
2557
  properties: {
2558
2558
  projectKey: {
2559
2559
  type: "string",
2560
- description: "The key for the project",
2560
+ description: "The key for the project to which the ticket you want to comment on belongs.",
2561
2561
  tags: ["recommend-predefined"],
2562
2562
  },
2563
2563
  issueId: {
2564
2564
  type: "string",
2565
- description: "The issue ID associated with the ticket to be commented on",
2565
+ description: "The issue ID associated with the ticket to be commented on.",
2566
2566
  },
2567
2567
  comment: {
2568
2568
  type: "string",
2569
- description: "The text to be commented on the ticket",
2569
+ description: "The text to be commented on the ticket.",
2570
2570
  },
2571
2571
  },
2572
2572
  },
@@ -2601,7 +2601,7 @@ export const jiraDataCenterCreateJiraTicketDefinition = {
2601
2601
  properties: {
2602
2602
  projectKey: {
2603
2603
  type: "string",
2604
- description: "The key for the project you want to add it to",
2604
+ description: "The key for the project you want to add the ticket to.",
2605
2605
  tags: ["recommend-predefined"],
2606
2606
  },
2607
2607
  summary: {
@@ -2725,7 +2725,7 @@ export const jiraDataCenterGetJiraTicketDetailsDefinition = {
2725
2725
  properties: {
2726
2726
  projectKey: {
2727
2727
  type: "string",
2728
- description: "The key for the project",
2728
+ description: "The key for the project the ticket belongs to.",
2729
2729
  tags: ["recommend-predefined"],
2730
2730
  },
2731
2731
  issueId: {
@@ -2783,7 +2783,7 @@ export const jiraDataCenterGetJiraTicketHistoryDefinition = {
2783
2783
  properties: {
2784
2784
  projectKey: {
2785
2785
  type: "string",
2786
- description: "The key for the project",
2786
+ description: "The key for the project the ticket belongs to.",
2787
2787
  tags: ["recommend-predefined"],
2788
2788
  },
2789
2789
  issueId: {
@@ -2823,7 +2823,7 @@ export const jiraDataCenterUpdateJiraTicketDetailsDefinition = {
2823
2823
  properties: {
2824
2824
  projectKey: {
2825
2825
  type: "string",
2826
- description: "The key for the project you want to add it to",
2826
+ description: "The key for the project the ticket belongs to.",
2827
2827
  tags: ["recommend-predefined"],
2828
2828
  },
2829
2829
  issueId: {
@@ -2884,7 +2884,7 @@ export const jiraDataCenterUpdateJiraTicketStatusDefinition = {
2884
2884
  properties: {
2885
2885
  projectKey: {
2886
2886
  type: "string",
2887
- description: "The key for the project you want to add it to",
2887
+ description: "The key for the project you want to add the ticket to.",
2888
2888
  tags: ["recommend-predefined"],
2889
2889
  },
2890
2890
  issueId: {
@@ -3118,7 +3118,7 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
3118
3118
  provider: "jiraDataCenter",
3119
3119
  };
3120
3120
  export const googlemapsValidateAddressDefinition = {
3121
- description: "Validate a Google Maps address",
3121
+ description: "Validate an address using the Google Maps API",
3122
3122
  scopes: [],
3123
3123
  tags: [],
3124
3124
  parameters: {
@@ -3381,7 +3381,7 @@ export const bingGetTopNSearchResultUrlsDefinition = {
3381
3381
  properties: {
3382
3382
  results: {
3383
3383
  type: "array",
3384
- description: "The top five search result objects",
3384
+ description: "The top search result objects",
3385
3385
  items: {
3386
3386
  type: "object",
3387
3387
  properties: {
@@ -5507,11 +5507,11 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
5507
5507
  },
5508
5508
  start: {
5509
5509
  type: "string",
5510
- description: "The start time of the meeting",
5510
+ description: "The start time of the meeting (in datetime format)",
5511
5511
  },
5512
5512
  end: {
5513
5513
  type: "string",
5514
- description: "The end time of the meeting",
5514
+ description: "The end time of the meeting (in datetime format)",
5515
5515
  },
5516
5516
  description: {
5517
5517
  type: "string",
@@ -5522,7 +5522,7 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
5522
5522
  description: "The attendees of the meeting",
5523
5523
  items: {
5524
5524
  type: "string",
5525
- description: "The email of the attendee",
5525
+ description: "The emails of the attendees",
5526
5526
  },
5527
5527
  },
5528
5528
  useGoogleMeet: {
@@ -6573,6 +6573,64 @@ export const googleOauthUpdateSpreadsheetDefinition = {
6573
6573
  name: "updateSpreadsheet",
6574
6574
  provider: "googleOauth",
6575
6575
  };
6576
+ export const googleOauthAppendRowsToSpreadsheetDefinition = {
6577
+ description: "Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.",
6578
+ scopes: [],
6579
+ tags: [],
6580
+ parameters: {
6581
+ type: "object",
6582
+ required: ["spreadsheetId", "rows"],
6583
+ properties: {
6584
+ spreadsheetId: {
6585
+ type: "string",
6586
+ description: 'The ID of the Google Spreadsheet to update. This should be provided by the user. Can be found in the URL of the spreadsheet. For example, "1bWp1w2OVwH19mkXEiLIaP8As7N-9c_3EXF_Eo5d5Nm0".',
6587
+ tags: ["recommend-predefined"],
6588
+ },
6589
+ sheetName: {
6590
+ type: "string",
6591
+ description: 'The name of the SHEET to append to. This should be provided by the user. For example, "Sheet1".',
6592
+ },
6593
+ rows: {
6594
+ type: "array",
6595
+ description: "Rows of cells to append to the spreadsheet",
6596
+ items: {
6597
+ type: "array",
6598
+ description: "A list of cells to append to the spreadsheet",
6599
+ items: {
6600
+ type: "object",
6601
+ required: ["stringValue"],
6602
+ properties: {
6603
+ stringValue: {
6604
+ type: "string",
6605
+ description: "The value of the cell",
6606
+ },
6607
+ },
6608
+ },
6609
+ },
6610
+ },
6611
+ },
6612
+ },
6613
+ output: {
6614
+ type: "object",
6615
+ required: ["success"],
6616
+ properties: {
6617
+ success: {
6618
+ type: "boolean",
6619
+ description: "Whether the spreadsheet was updated successfully",
6620
+ },
6621
+ spreadsheetUrl: {
6622
+ type: "string",
6623
+ description: "The URL of the updated spreadsheet",
6624
+ },
6625
+ error: {
6626
+ type: "string",
6627
+ description: "The error that occurred if the spreadsheet was not updated successfully",
6628
+ },
6629
+ },
6630
+ },
6631
+ name: "appendRowsToSpreadsheet",
6632
+ provider: "googleOauth",
6633
+ };
6576
6634
  export const googleOauthCreatePresentationDefinition = {
6577
6635
  description: "Create a Google Presentation",
6578
6636
  scopes: [],
@@ -9389,11 +9447,11 @@ export const salesforceUpdateRecordDefinition = {
9389
9447
  tags: [],
9390
9448
  parameters: {
9391
9449
  type: "object",
9392
- required: ["objectType", "recordId", "fieldsToUpdate"],
9450
+ required: ["recordType", "recordId", "fieldsToUpdate"],
9393
9451
  properties: {
9394
- objectType: {
9452
+ recordType: {
9395
9453
  type: "string",
9396
- description: "The Salesforce object type to update (e.g., Lead, Account, Contact)",
9454
+ description: "The Salesforce record type to update (e.g., Lead, Account, Contact)",
9397
9455
  },
9398
9456
  recordId: {
9399
9457
  type: "string",
@@ -9431,11 +9489,11 @@ export const salesforceCreateRecordDefinition = {
9431
9489
  tags: [],
9432
9490
  parameters: {
9433
9491
  type: "object",
9434
- required: ["objectType"],
9492
+ required: ["recordType"],
9435
9493
  properties: {
9436
- objectType: {
9494
+ recordType: {
9437
9495
  type: "string",
9438
- description: "The Salesforce object type to create (e.g., Lead, Account, Contact)",
9496
+ description: "The Salesforce record type to create (e.g., Lead, Account, Contact)",
9439
9497
  },
9440
9498
  fieldsToCreate: {
9441
9499
  type: "object",
@@ -9589,6 +9647,7 @@ export const salesforceSearchAllSalesforceRecordsDefinition = {
9589
9647
  usesLightningKnowledge: {
9590
9648
  type: "boolean",
9591
9649
  description: "Whether your Salesforce instance uses lightning knowledge articles",
9650
+ tags: ["recommend-predefined"],
9592
9651
  },
9593
9652
  limit: {
9594
9653
  type: "number",
@@ -9819,11 +9878,11 @@ export const salesforceGetRecordDefinition = {
9819
9878
  tags: [],
9820
9879
  parameters: {
9821
9880
  type: "object",
9822
- required: ["objectType", "recordId"],
9881
+ required: ["recordType", "recordId"],
9823
9882
  properties: {
9824
- objectType: {
9883
+ recordType: {
9825
9884
  type: "string",
9826
- description: "The Salesforce object type to retrieve (e.g., Lead, Account, Contact)",
9885
+ description: "The Salesforce record type to retrieve (e.g., Lead, Account, Contact)",
9827
9886
  },
9828
9887
  recordId: {
9829
9888
  type: "string",
@@ -12965,7 +13024,7 @@ export const hubspotGetContactsDefinition = {
12965
13024
  properties: {
12966
13025
  query: {
12967
13026
  type: "string",
12968
- description: "Optional search query to filter contacts by name, email, or other properties",
13027
+ description: "Optional keyword search query to filter contacts by name, email, or other properties",
12969
13028
  },
12970
13029
  limit: {
12971
13030
  type: "number",
@@ -13029,7 +13088,7 @@ export const hubspotGetContactDetailsDefinition = {
13029
13088
  properties: {
13030
13089
  contactId: {
13031
13090
  type: "string",
13032
- description: "The ID of the HubSpot contact to retrieve",
13091
+ description: "The ID of the HubSpot contact to retrieve. If you view the contact online, the url contains record/0-1/{contactId}/.",
13033
13092
  },
13034
13093
  },
13035
13094
  },
@@ -13130,7 +13189,7 @@ export const hubspotGetCompaniesDefinition = {
13130
13189
  properties: {
13131
13190
  query: {
13132
13191
  type: "string",
13133
- description: "Optional search query to filter companies by name, domain, or other properties",
13192
+ description: "Optional keyword search query to filter companies by name, domain, or other properties",
13134
13193
  },
13135
13194
  limit: {
13136
13195
  type: "number",
@@ -13190,7 +13249,7 @@ export const hubspotGetCompanyDetailsDefinition = {
13190
13249
  properties: {
13191
13250
  companyId: {
13192
13251
  type: "string",
13193
- description: "The ID of the HubSpot company to retrieve",
13252
+ description: "The ID of the HubSpot company to retrieve. If you view the company online, the url contains record/0-2/{companyId}/.",
13194
13253
  },
13195
13254
  },
13196
13255
  },
@@ -13347,7 +13406,7 @@ export const hubspotGetDealDetailsDefinition = {
13347
13406
  properties: {
13348
13407
  dealId: {
13349
13408
  type: "string",
13350
- description: "The ID of the HubSpot deal to retrieve",
13409
+ description: "The ID of the HubSpot deal to retrieve. If you view the deal online, the url contains record/0-3/{dealId}/.",
13351
13410
  },
13352
13411
  },
13353
13412
  },
@@ -13492,7 +13551,7 @@ export const hubspotGetTicketDetailsDefinition = {
13492
13551
  properties: {
13493
13552
  ticketId: {
13494
13553
  type: "string",
13495
- description: "The ID of the HubSpot ticket to retrieve",
13554
+ description: "The ID of the HubSpot ticket to retrieve. If you view the ticket online, the url contains record/0-5/{ticketId}/.",
13496
13555
  },
13497
13556
  },
13498
13557
  },
@@ -5131,6 +5131,45 @@ export declare const googleOauthUpdateSpreadsheetOutputSchema: z.ZodObject<{
5131
5131
  }>;
5132
5132
  export type googleOauthUpdateSpreadsheetOutputType = z.infer<typeof googleOauthUpdateSpreadsheetOutputSchema>;
5133
5133
  export type googleOauthUpdateSpreadsheetFunction = ActionFunction<googleOauthUpdateSpreadsheetParamsType, AuthParamsType, googleOauthUpdateSpreadsheetOutputType>;
5134
+ export declare const googleOauthAppendRowsToSpreadsheetParamsSchema: z.ZodObject<{
5135
+ spreadsheetId: z.ZodString;
5136
+ sheetName: z.ZodOptional<z.ZodString>;
5137
+ rows: z.ZodArray<z.ZodArray<z.ZodObject<{
5138
+ stringValue: z.ZodString;
5139
+ }, "strip", z.ZodTypeAny, {
5140
+ stringValue: string;
5141
+ }, {
5142
+ stringValue: string;
5143
+ }>, "many">, "many">;
5144
+ }, "strip", z.ZodTypeAny, {
5145
+ spreadsheetId: string;
5146
+ rows: {
5147
+ stringValue: string;
5148
+ }[][];
5149
+ sheetName?: string | undefined;
5150
+ }, {
5151
+ spreadsheetId: string;
5152
+ rows: {
5153
+ stringValue: string;
5154
+ }[][];
5155
+ sheetName?: string | undefined;
5156
+ }>;
5157
+ export type googleOauthAppendRowsToSpreadsheetParamsType = z.infer<typeof googleOauthAppendRowsToSpreadsheetParamsSchema>;
5158
+ export declare const googleOauthAppendRowsToSpreadsheetOutputSchema: z.ZodObject<{
5159
+ success: z.ZodBoolean;
5160
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
5161
+ error: z.ZodOptional<z.ZodString>;
5162
+ }, "strip", z.ZodTypeAny, {
5163
+ success: boolean;
5164
+ error?: string | undefined;
5165
+ spreadsheetUrl?: string | undefined;
5166
+ }, {
5167
+ success: boolean;
5168
+ error?: string | undefined;
5169
+ spreadsheetUrl?: string | undefined;
5170
+ }>;
5171
+ export type googleOauthAppendRowsToSpreadsheetOutputType = z.infer<typeof googleOauthAppendRowsToSpreadsheetOutputSchema>;
5172
+ export type googleOauthAppendRowsToSpreadsheetFunction = ActionFunction<googleOauthAppendRowsToSpreadsheetParamsType, AuthParamsType, googleOauthAppendRowsToSpreadsheetOutputType>;
5134
5173
  export declare const googleOauthCreatePresentationParamsSchema: z.ZodObject<{
5135
5174
  title: z.ZodString;
5136
5175
  pageSize: z.ZodOptional<z.ZodObject<{
@@ -6547,15 +6586,15 @@ export declare const lookerEnableUserByEmailOutputSchema: z.ZodObject<{
6547
6586
  export type lookerEnableUserByEmailOutputType = z.infer<typeof lookerEnableUserByEmailOutputSchema>;
6548
6587
  export type lookerEnableUserByEmailFunction = ActionFunction<lookerEnableUserByEmailParamsType, AuthParamsType, lookerEnableUserByEmailOutputType>;
6549
6588
  export declare const salesforceUpdateRecordParamsSchema: z.ZodObject<{
6550
- objectType: z.ZodString;
6589
+ recordType: z.ZodString;
6551
6590
  recordId: z.ZodString;
6552
6591
  fieldsToUpdate: z.ZodRecord<z.ZodString, z.ZodString>;
6553
6592
  }, "strip", z.ZodTypeAny, {
6554
- objectType: string;
6593
+ recordType: string;
6555
6594
  recordId: string;
6556
6595
  fieldsToUpdate: Record<string, string>;
6557
6596
  }, {
6558
- objectType: string;
6597
+ recordType: string;
6559
6598
  recordId: string;
6560
6599
  fieldsToUpdate: Record<string, string>;
6561
6600
  }>;
@@ -6573,13 +6612,13 @@ export declare const salesforceUpdateRecordOutputSchema: z.ZodObject<{
6573
6612
  export type salesforceUpdateRecordOutputType = z.infer<typeof salesforceUpdateRecordOutputSchema>;
6574
6613
  export type salesforceUpdateRecordFunction = ActionFunction<salesforceUpdateRecordParamsType, AuthParamsType, salesforceUpdateRecordOutputType>;
6575
6614
  export declare const salesforceCreateRecordParamsSchema: z.ZodObject<{
6576
- objectType: z.ZodString;
6615
+ recordType: z.ZodString;
6577
6616
  fieldsToCreate: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6578
6617
  }, "strip", z.ZodTypeAny, {
6579
- objectType: string;
6618
+ recordType: string;
6580
6619
  fieldsToCreate?: Record<string, string> | undefined;
6581
6620
  }, {
6582
- objectType: string;
6621
+ recordType: string;
6583
6622
  fieldsToCreate?: Record<string, string> | undefined;
6584
6623
  }>;
6585
6624
  export type salesforceCreateRecordParamsType = z.infer<typeof salesforceCreateRecordParamsSchema>;
@@ -6805,14 +6844,14 @@ export declare const salesforceSearchSalesforceRecordsParamsSchema: z.ZodObject<
6805
6844
  limit: z.ZodOptional<z.ZodNumber>;
6806
6845
  maxLimit: z.ZodOptional<z.ZodNumber>;
6807
6846
  }, "strip", z.ZodTypeAny, {
6808
- keyword: string;
6809
6847
  recordType: string;
6848
+ keyword: string;
6810
6849
  fieldsToSearch: string[];
6811
6850
  limit?: number | undefined;
6812
6851
  maxLimit?: number | undefined;
6813
6852
  }, {
6814
- keyword: string;
6815
6853
  recordType: string;
6854
+ keyword: string;
6816
6855
  fieldsToSearch: string[];
6817
6856
  limit?: number | undefined;
6818
6857
  maxLimit?: number | undefined;
@@ -6964,13 +7003,13 @@ export declare const salesforceGetSalesforceRecordsByQueryOutputSchema: z.ZodObj
6964
7003
  export type salesforceGetSalesforceRecordsByQueryOutputType = z.infer<typeof salesforceGetSalesforceRecordsByQueryOutputSchema>;
6965
7004
  export type salesforceGetSalesforceRecordsByQueryFunction = ActionFunction<salesforceGetSalesforceRecordsByQueryParamsType, AuthParamsType, salesforceGetSalesforceRecordsByQueryOutputType>;
6966
7005
  export declare const salesforceGetRecordParamsSchema: z.ZodObject<{
6967
- objectType: z.ZodString;
7006
+ recordType: z.ZodString;
6968
7007
  recordId: z.ZodString;
6969
7008
  }, "strip", z.ZodTypeAny, {
6970
- objectType: string;
7009
+ recordType: string;
6971
7010
  recordId: string;
6972
7011
  }, {
6973
- objectType: string;
7012
+ recordType: string;
6974
7013
  recordId: string;
6975
7014
  }>;
6976
7015
  export type salesforceGetRecordParamsType = z.infer<typeof salesforceGetRecordParamsSchema>;
@@ -85,7 +85,7 @@ export const perplexityPerplexityDeepResearchOutputSchema = z.object({
85
85
  .describe("Array of source citations")
86
86
  .optional(),
87
87
  })
88
- .describe("The main research response/analysis")
88
+ .describe("The main research response/analysis object")
89
89
  .optional(),
90
90
  });
91
91
  export const asanaCommentTaskParamsSchema = z.object({
@@ -421,7 +421,7 @@ export const confluenceFetchPageContentOutputSchema = z.object({
421
421
  .optional(),
422
422
  });
423
423
  export const jiraAssignJiraTicketParamsSchema = z.object({
424
- projectKey: z.string().describe("The key for the project you want to add it to"),
424
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
425
425
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
426
426
  issueId: z.string().describe("The issue ID associated with the ticket to be assigned/re-assigned"),
427
427
  });
@@ -443,9 +443,9 @@ export const jiraPublicCommentOnServiceDeskRequestOutputSchema = z.object({
443
443
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
444
444
  });
445
445
  export const jiraCommentJiraTicketParamsSchema = z.object({
446
- projectKey: z.string().describe("The key for the project"),
447
- issueId: z.string().describe("The issue ID associated with the ticket to be commented on"),
448
- comment: z.string().describe("The text to be commented on the ticket"),
446
+ projectKey: z.string().describe("The key for the project to which the ticket you want to comment on belongs."),
447
+ issueId: z.string().describe("The issue ID associated with the ticket to be commented on."),
448
+ comment: z.string().describe("The text to be commented on the ticket."),
449
449
  });
450
450
  export const jiraCommentJiraTicketOutputSchema = z.object({
451
451
  success: z.boolean().describe("Whether the comment was sent successfully"),
@@ -453,7 +453,7 @@ export const jiraCommentJiraTicketOutputSchema = z.object({
453
453
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
454
454
  });
455
455
  export const jiraCreateJiraTicketParamsSchema = z.object({
456
- projectKey: z.string().describe("The key for the project you want to add it to"),
456
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
457
457
  summary: z.string().describe("The summary of the new ticket"),
458
458
  description: z.string().describe("The description for the new ticket"),
459
459
  issueType: z.string().describe("The issue type of the new ticket. Should be Epic, Story, Task, Bug, Sub-task, etc."),
@@ -492,7 +492,7 @@ export const jiraCreateServiceDeskRequestOutputSchema = z.object({
492
492
  currentStatus: z.string().describe("The current status of the created request").optional(),
493
493
  });
494
494
  export const jiraGetJiraTicketDetailsParamsSchema = z.object({
495
- projectKey: z.string().describe("The key for the project"),
495
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
496
496
  issueId: z.string().describe("The ID of the ticket"),
497
497
  });
498
498
  export const jiraGetJiraTicketDetailsOutputSchema = z.object({
@@ -508,7 +508,7 @@ export const jiraGetJiraTicketDetailsOutputSchema = z.object({
508
508
  .optional(),
509
509
  });
510
510
  export const jiraGetJiraTicketHistoryParamsSchema = z.object({
511
- projectKey: z.string().describe("The key for the project"),
511
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
512
512
  issueId: z.string().describe("The ID of the ticket"),
513
513
  });
514
514
  export const jiraGetJiraTicketHistoryOutputSchema = z.object({
@@ -517,7 +517,7 @@ export const jiraGetJiraTicketHistoryOutputSchema = z.object({
517
517
  history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
518
518
  });
519
519
  export const jiraUpdateJiraTicketDetailsParamsSchema = z.object({
520
- projectKey: z.string().describe("The key for the project you want to add it to"),
520
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
521
521
  issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
522
522
  summary: z.string().describe("The updated summary").optional(),
523
523
  description: z.string().describe("The updated description").optional(),
@@ -535,7 +535,7 @@ export const jiraUpdateJiraTicketDetailsOutputSchema = z.object({
535
535
  error: z.string().describe("Error message if the ticket update failed (only present if success is false)").optional(),
536
536
  });
537
537
  export const jiraUpdateJiraTicketStatusParamsSchema = z.object({
538
- projectKey: z.string().describe("The key for the project you want to add it to"),
538
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
539
539
  issueId: z.string().describe("The issue ID associated with the ticket"),
540
540
  status: z.string().describe('The status the ticket should be changed to (eg "In Progress", "Closed")'),
541
541
  });
@@ -606,7 +606,7 @@ export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
606
606
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
607
607
  });
608
608
  export const jiraOrgAssignJiraTicketParamsSchema = z.object({
609
- projectKey: z.string().describe("The key for the project you want to add it to"),
609
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
610
610
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
611
611
  issueId: z.string().describe("The issue ID associated with the ticket to be assigned/re-assigned"),
612
612
  });
@@ -628,9 +628,9 @@ export const jiraOrgPublicCommentOnServiceDeskRequestOutputSchema = z.object({
628
628
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
629
629
  });
630
630
  export const jiraOrgCommentJiraTicketParamsSchema = z.object({
631
- projectKey: z.string().describe("The key for the project"),
632
- issueId: z.string().describe("The issue ID associated with the ticket to be commented on"),
633
- comment: z.string().describe("The text to be commented on the ticket"),
631
+ projectKey: z.string().describe("The key for the project to which the ticket you want to comment on belongs."),
632
+ issueId: z.string().describe("The issue ID associated with the ticket to be commented on."),
633
+ comment: z.string().describe("The text to be commented on the ticket."),
634
634
  });
635
635
  export const jiraOrgCommentJiraTicketOutputSchema = z.object({
636
636
  success: z.boolean().describe("Whether the comment was sent successfully"),
@@ -638,7 +638,7 @@ export const jiraOrgCommentJiraTicketOutputSchema = z.object({
638
638
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
639
639
  });
640
640
  export const jiraOrgCreateJiraTicketParamsSchema = z.object({
641
- projectKey: z.string().describe("The key for the project you want to add it to"),
641
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
642
642
  summary: z.string().describe("The summary of the new ticket"),
643
643
  description: z.string().describe("The description for the new ticket"),
644
644
  issueType: z.string().describe("The issue type of the new ticket. Should be Epic, Story, Task, Bug, Sub-task, etc."),
@@ -677,7 +677,7 @@ export const jiraOrgCreateServiceDeskRequestOutputSchema = z.object({
677
677
  currentStatus: z.string().describe("The current status of the created request").optional(),
678
678
  });
679
679
  export const jiraOrgGetJiraTicketDetailsParamsSchema = z.object({
680
- projectKey: z.string().describe("The key for the project"),
680
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
681
681
  issueId: z.string().describe("The ID of the ticket"),
682
682
  });
683
683
  export const jiraOrgGetJiraTicketDetailsOutputSchema = z.object({
@@ -693,7 +693,7 @@ export const jiraOrgGetJiraTicketDetailsOutputSchema = z.object({
693
693
  .optional(),
694
694
  });
695
695
  export const jiraOrgGetJiraTicketHistoryParamsSchema = z.object({
696
- projectKey: z.string().describe("The key for the project"),
696
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
697
697
  issueId: z.string().describe("The ID of the ticket"),
698
698
  });
699
699
  export const jiraOrgGetJiraTicketHistoryOutputSchema = z.object({
@@ -702,7 +702,7 @@ export const jiraOrgGetJiraTicketHistoryOutputSchema = z.object({
702
702
  history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
703
703
  });
704
704
  export const jiraOrgUpdateJiraTicketDetailsParamsSchema = z.object({
705
- projectKey: z.string().describe("The key for the project you want to add it to"),
705
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
706
706
  issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
707
707
  summary: z.string().describe("The updated summary").optional(),
708
708
  description: z.string().describe("The updated description").optional(),
@@ -720,7 +720,7 @@ export const jiraOrgUpdateJiraTicketDetailsOutputSchema = z.object({
720
720
  error: z.string().describe("Error message if the ticket update failed (only present if success is false)").optional(),
721
721
  });
722
722
  export const jiraOrgUpdateJiraTicketStatusParamsSchema = z.object({
723
- projectKey: z.string().describe("The key for the project you want to add it to"),
723
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
724
724
  issueId: z.string().describe("The issue ID associated with the ticket"),
725
725
  status: z.string().describe('The status the ticket should be changed to (eg "In Progress", "Closed")'),
726
726
  });
@@ -791,7 +791,7 @@ export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
791
791
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
792
792
  });
793
793
  export const jiraDataCenterAssignJiraTicketParamsSchema = z.object({
794
- projectKey: z.string().describe("The key for the project you want to add it to"),
794
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
795
795
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
796
796
  issueId: z.string().describe("The issue ID associated with the ticket to be assigned/re-assigned"),
797
797
  });
@@ -813,9 +813,9 @@ export const jiraDataCenterPublicCommentOnServiceDeskRequestOutputSchema = z.obj
813
813
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
814
814
  });
815
815
  export const jiraDataCenterCommentJiraTicketParamsSchema = z.object({
816
- projectKey: z.string().describe("The key for the project"),
817
- issueId: z.string().describe("The issue ID associated with the ticket to be commented on"),
818
- comment: z.string().describe("The text to be commented on the ticket"),
816
+ projectKey: z.string().describe("The key for the project to which the ticket you want to comment on belongs."),
817
+ issueId: z.string().describe("The issue ID associated with the ticket to be commented on."),
818
+ comment: z.string().describe("The text to be commented on the ticket."),
819
819
  });
820
820
  export const jiraDataCenterCommentJiraTicketOutputSchema = z.object({
821
821
  success: z.boolean().describe("Whether the comment was sent successfully"),
@@ -823,7 +823,7 @@ export const jiraDataCenterCommentJiraTicketOutputSchema = z.object({
823
823
  commentUrl: z.string().describe("The url to the created Jira comment").optional(),
824
824
  });
825
825
  export const jiraDataCenterCreateJiraTicketParamsSchema = z.object({
826
- projectKey: z.string().describe("The key for the project you want to add it to"),
826
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
827
827
  summary: z.string().describe("The summary of the new ticket"),
828
828
  description: z.string().describe("The description for the new ticket"),
829
829
  issueType: z.string().describe("The issue type of the new ticket. Should be Epic, Story, Task, Bug, Sub-task, etc."),
@@ -862,7 +862,7 @@ export const jiraDataCenterCreateServiceDeskRequestOutputSchema = z.object({
862
862
  currentStatus: z.string().describe("The current status of the created request").optional(),
863
863
  });
864
864
  export const jiraDataCenterGetJiraTicketDetailsParamsSchema = z.object({
865
- projectKey: z.string().describe("The key for the project"),
865
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
866
866
  issueId: z.string().describe("The ID of the ticket"),
867
867
  });
868
868
  export const jiraDataCenterGetJiraTicketDetailsOutputSchema = z.object({
@@ -878,7 +878,7 @@ export const jiraDataCenterGetJiraTicketDetailsOutputSchema = z.object({
878
878
  .optional(),
879
879
  });
880
880
  export const jiraDataCenterGetJiraTicketHistoryParamsSchema = z.object({
881
- projectKey: z.string().describe("The key for the project"),
881
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
882
882
  issueId: z.string().describe("The ID of the ticket"),
883
883
  });
884
884
  export const jiraDataCenterGetJiraTicketHistoryOutputSchema = z.object({
@@ -887,7 +887,7 @@ export const jiraDataCenterGetJiraTicketHistoryOutputSchema = z.object({
887
887
  history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
888
888
  });
889
889
  export const jiraDataCenterUpdateJiraTicketDetailsParamsSchema = z.object({
890
- projectKey: z.string().describe("The key for the project you want to add it to"),
890
+ projectKey: z.string().describe("The key for the project the ticket belongs to."),
891
891
  issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
892
892
  summary: z.string().describe("The updated summary").optional(),
893
893
  description: z.string().describe("The updated description").optional(),
@@ -905,7 +905,7 @@ export const jiraDataCenterUpdateJiraTicketDetailsOutputSchema = z.object({
905
905
  error: z.string().describe("Error message if the ticket update failed (only present if success is false)").optional(),
906
906
  });
907
907
  export const jiraDataCenterUpdateJiraTicketStatusParamsSchema = z.object({
908
- projectKey: z.string().describe("The key for the project you want to add it to"),
908
+ projectKey: z.string().describe("The key for the project you want to add the ticket to."),
909
909
  issueId: z.string().describe("The issue ID associated with the ticket"),
910
910
  status: z.string().describe('The status the ticket should be changed to (eg "In Progress", "Closed")'),
911
911
  });
@@ -1069,7 +1069,7 @@ export const bingGetTopNSearchResultUrlsOutputSchema = z.object({
1069
1069
  name: z.string().describe("The name or title of the search result").optional(),
1070
1070
  url: z.string().describe("The URL of the search result").optional(),
1071
1071
  }))
1072
- .describe("The top five search result objects"),
1072
+ .describe("The top search result objects"),
1073
1073
  });
1074
1074
  export const zendeskCreateZendeskTicketParamsSchema = z.object({
1075
1075
  subject: z.string().describe("The subject of the ticket"),
@@ -1864,11 +1864,11 @@ export const googleOauthUpdateDocOutputSchema = z.object({
1864
1864
  export const googleOauthScheduleCalendarMeetingParamsSchema = z.object({
1865
1865
  calendarId: z.string().describe("The ID of the calendar to schedule the meeting on"),
1866
1866
  name: z.string().describe("The name of the meeting"),
1867
- start: z.string().describe("The start time of the meeting"),
1868
- end: z.string().describe("The end time of the meeting"),
1867
+ start: z.string().describe("The start time of the meeting (in datetime format)"),
1868
+ end: z.string().describe("The end time of the meeting (in datetime format)"),
1869
1869
  description: z.string().describe("The description of the meeting").optional(),
1870
1870
  attendees: z
1871
- .array(z.string().describe("The email of the attendee"))
1871
+ .array(z.string().describe("The emails of the attendees"))
1872
1872
  .describe("The attendees of the meeting")
1873
1873
  .optional(),
1874
1874
  useGoogleMeet: z.boolean().describe("Whether to use Google Meet for the meeting").optional(),
@@ -2310,6 +2310,25 @@ export const googleOauthUpdateSpreadsheetOutputSchema = z.object({
2310
2310
  .optional(),
2311
2311
  error: z.string().describe("The error that occurred if the spreadsheet was not updated successfully").optional(),
2312
2312
  });
2313
+ export const googleOauthAppendRowsToSpreadsheetParamsSchema = z.object({
2314
+ spreadsheetId: z
2315
+ .string()
2316
+ .describe('The ID of the Google Spreadsheet to update. This should be provided by the user. Can be found in the URL of the spreadsheet. For example, "1bWp1w2OVwH19mkXEiLIaP8As7N-9c_3EXF_Eo5d5Nm0".'),
2317
+ sheetName: z
2318
+ .string()
2319
+ .describe('The name of the SHEET to append to. This should be provided by the user. For example, "Sheet1".')
2320
+ .optional(),
2321
+ rows: z
2322
+ .array(z
2323
+ .array(z.object({ stringValue: z.string().describe("The value of the cell") }))
2324
+ .describe("A list of cells to append to the spreadsheet"))
2325
+ .describe("Rows of cells to append to the spreadsheet"),
2326
+ });
2327
+ export const googleOauthAppendRowsToSpreadsheetOutputSchema = z.object({
2328
+ success: z.boolean().describe("Whether the spreadsheet was updated successfully"),
2329
+ spreadsheetUrl: z.string().describe("The URL of the updated spreadsheet").optional(),
2330
+ error: z.string().describe("The error that occurred if the spreadsheet was not updated successfully").optional(),
2331
+ });
2313
2332
  export const googleOauthCreatePresentationParamsSchema = z.object({
2314
2333
  title: z.string().describe("The title of the presentation"),
2315
2334
  pageSize: z
@@ -3376,7 +3395,7 @@ export const lookerEnableUserByEmailOutputSchema = z.object({
3376
3395
  .optional(),
3377
3396
  });
3378
3397
  export const salesforceUpdateRecordParamsSchema = z.object({
3379
- objectType: z.string().describe("The Salesforce object type to update (e.g., Lead, Account, Contact)"),
3398
+ recordType: z.string().describe("The Salesforce record type to update (e.g., Lead, Account, Contact)"),
3380
3399
  recordId: z.string().describe("The ID of the record to update"),
3381
3400
  fieldsToUpdate: z
3382
3401
  .record(z.string())
@@ -3387,7 +3406,7 @@ export const salesforceUpdateRecordOutputSchema = z.object({
3387
3406
  error: z.string().describe("The error that occurred if the record was not successfully updated").optional(),
3388
3407
  });
3389
3408
  export const salesforceCreateRecordParamsSchema = z.object({
3390
- objectType: z.string().describe("The Salesforce object type to create (e.g., Lead, Account, Contact)"),
3409
+ recordType: z.string().describe("The Salesforce record type to create (e.g., Lead, Account, Contact)"),
3391
3410
  fieldsToCreate: z.record(z.string()).describe("The fields to create on the record").optional(),
3392
3411
  });
3393
3412
  export const salesforceCreateRecordOutputSchema = z.object({
@@ -3505,7 +3524,7 @@ export const salesforceGetSalesforceRecordsByQueryOutputSchema = z.object({
3505
3524
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
3506
3525
  });
3507
3526
  export const salesforceGetRecordParamsSchema = z.object({
3508
- objectType: z.string().describe("The Salesforce object type to retrieve (e.g., Lead, Account, Contact)"),
3527
+ recordType: z.string().describe("The Salesforce record type to retrieve (e.g., Lead, Account, Contact)"),
3509
3528
  recordId: z.string().describe("The ID of the record to retrieve"),
3510
3529
  });
3511
3530
  export const salesforceGetRecordOutputSchema = z.object({
@@ -4514,7 +4533,10 @@ export const linearGetTeamsOutputSchema = z.object({
4514
4533
  .optional(),
4515
4534
  });
4516
4535
  export const hubspotGetContactsParamsSchema = z.object({
4517
- query: z.string().describe("Optional search query to filter contacts by name, email, or other properties").optional(),
4536
+ query: z
4537
+ .string()
4538
+ .describe("Optional keyword search query to filter contacts by name, email, or other properties")
4539
+ .optional(),
4518
4540
  limit: z.number().describe("Maximum number of contacts to return (default 100, max 100)").optional(),
4519
4541
  });
4520
4542
  export const hubspotGetContactsOutputSchema = z.object({
@@ -4532,7 +4554,9 @@ export const hubspotGetContactsOutputSchema = z.object({
4532
4554
  .optional(),
4533
4555
  });
4534
4556
  export const hubspotGetContactDetailsParamsSchema = z.object({
4535
- contactId: z.string().describe("The ID of the HubSpot contact to retrieve"),
4557
+ contactId: z
4558
+ .string()
4559
+ .describe("The ID of the HubSpot contact to retrieve. If you view the contact online, the url contains record/0-1/{contactId}/."),
4536
4560
  });
4537
4561
  export const hubspotGetContactDetailsOutputSchema = z.object({
4538
4562
  success: z.boolean().describe("Whether the operation was successful"),
@@ -4562,7 +4586,7 @@ export const hubspotGetContactDetailsOutputSchema = z.object({
4562
4586
  export const hubspotGetCompaniesParamsSchema = z.object({
4563
4587
  query: z
4564
4588
  .string()
4565
- .describe("Optional search query to filter companies by name, domain, or other properties")
4589
+ .describe("Optional keyword search query to filter companies by name, domain, or other properties")
4566
4590
  .optional(),
4567
4591
  limit: z.number().describe("Maximum number of companies to return (default 100, max 100)").optional(),
4568
4592
  });
@@ -4580,7 +4604,9 @@ export const hubspotGetCompaniesOutputSchema = z.object({
4580
4604
  .optional(),
4581
4605
  });
4582
4606
  export const hubspotGetCompanyDetailsParamsSchema = z.object({
4583
- companyId: z.string().describe("The ID of the HubSpot company to retrieve"),
4607
+ companyId: z
4608
+ .string()
4609
+ .describe("The ID of the HubSpot company to retrieve. If you view the company online, the url contains record/0-2/{companyId}/."),
4584
4610
  });
4585
4611
  export const hubspotGetCompanyDetailsOutputSchema = z.object({
4586
4612
  success: z.boolean().describe("Whether the operation was successful"),
@@ -4624,7 +4650,9 @@ export const hubspotGetDealsOutputSchema = z.object({
4624
4650
  .optional(),
4625
4651
  });
4626
4652
  export const hubspotGetDealDetailsParamsSchema = z.object({
4627
- dealId: z.string().describe("The ID of the HubSpot deal to retrieve"),
4653
+ dealId: z
4654
+ .string()
4655
+ .describe("The ID of the HubSpot deal to retrieve. If you view the deal online, the url contains record/0-3/{dealId}/."),
4628
4656
  });
4629
4657
  export const hubspotGetDealDetailsOutputSchema = z.object({
4630
4658
  success: z.boolean().describe("Whether the operation was successful"),
@@ -4668,7 +4696,9 @@ export const hubspotGetTicketsOutputSchema = z.object({
4668
4696
  .optional(),
4669
4697
  });
4670
4698
  export const hubspotGetTicketDetailsParamsSchema = z.object({
4671
- ticketId: z.string().describe("The ID of the HubSpot ticket to retrieve"),
4699
+ ticketId: z
4700
+ .string()
4701
+ .describe("The ID of the HubSpot ticket to retrieve. If you view the ticket online, the url contains record/0-5/{ticketId}/."),
4672
4702
  });
4673
4703
  export const hubspotGetTicketDetailsOutputSchema = z.object({
4674
4704
  success: z.boolean().describe("Whether the operation was successful"),
@@ -0,0 +1,7 @@
1
+ import type { googleOauthAppendRowsToSpreadsheetFunction } from "../../autogen/types.js";
2
+ /**
3
+ * Appends rows to a Google Spreadsheet using OAuth authentication
4
+ * https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append
5
+ */
6
+ declare const appendRowsToSpreadsheet: googleOauthAppendRowsToSpreadsheetFunction;
7
+ export default appendRowsToSpreadsheet;
@@ -0,0 +1,61 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { axiosClient } from "../../util/axiosClient.js";
11
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
12
+ /**
13
+ * Appends rows to a Google Spreadsheet using OAuth authentication
14
+ * https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append
15
+ */
16
+ const appendRowsToSpreadsheet = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
17
+ if (!authParams.authToken) {
18
+ throw new Error(MISSING_AUTH_TOKEN);
19
+ }
20
+ const { spreadsheetId, sheetName, rows } = params;
21
+ // Transform rows from schema format to Google Sheets API format
22
+ // Schema: [[{ stringValue: "cell1" }, { stringValue: "cell2" }], ...]
23
+ // API expects: [["cell1", "cell2"], ...]
24
+ const values = rows.map(row => row.map(cell => cell.stringValue));
25
+ const appendUrl = `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/'${sheetName !== null && sheetName !== void 0 ? sheetName : "Sheet1"}':append`;
26
+ try {
27
+ const response = yield axiosClient.post(appendUrl, {
28
+ values,
29
+ majorDimension: "ROWS",
30
+ range: `'${sheetName}'`,
31
+ }, {
32
+ headers: {
33
+ Authorization: `Bearer ${authParams.authToken}`,
34
+ "Content-Type": "application/json",
35
+ },
36
+ params: {
37
+ valueInputOption: "USER_ENTERED",
38
+ insertDataOption: "INSERT_ROWS",
39
+ },
40
+ });
41
+ if (response.status < 200 || response.status >= 300) {
42
+ return {
43
+ success: false,
44
+ error: response.data.error,
45
+ };
46
+ }
47
+ const spreadsheetUrl = `https://docs.google.com/spreadsheets/d/${spreadsheetId}`;
48
+ return {
49
+ success: true,
50
+ spreadsheetUrl,
51
+ };
52
+ }
53
+ catch (error) {
54
+ console.error("Error appending rows to spreadsheet", error);
55
+ return {
56
+ success: false,
57
+ error: error instanceof Error ? error.message : "Unknown error",
58
+ };
59
+ }
60
+ });
61
+ export default appendRowsToSpreadsheet;
@@ -10,14 +10,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { ApiError, axiosClient } from "../../util/axiosClient.js";
11
11
  const createRecord = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
12
12
  const { authToken, baseUrl } = authParams;
13
- const { objectType, fieldsToCreate } = params;
13
+ const { recordType, fieldsToCreate } = params;
14
14
  if (!authToken || !baseUrl) {
15
15
  return {
16
16
  success: false,
17
17
  error: "authToken and baseUrl are required for Salesforce API",
18
18
  };
19
19
  }
20
- const url = `${baseUrl}/services/data/v56.0/sobjects/${objectType}/`;
20
+ const url = `${baseUrl}/services/data/v56.0/sobjects/${recordType}/`;
21
21
  try {
22
22
  const response = yield axiosClient.post(url, fieldsToCreate, {
23
23
  headers: {
@@ -10,14 +10,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { axiosClient } from "../../util/axiosClient.js";
11
11
  const getRecord = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
12
12
  const { authToken, baseUrl } = authParams;
13
- const { objectType, recordId } = params;
13
+ const { recordType, recordId } = params;
14
14
  if (!authToken || !baseUrl) {
15
15
  return {
16
16
  success: false,
17
17
  error: "authToken and baseUrl are required for Salesforce API",
18
18
  };
19
19
  }
20
- const url = `${baseUrl}/services/data/v56.0/sobjects/${objectType}/${recordId}`;
20
+ const url = `${baseUrl}/services/data/v56.0/sobjects/${recordType}/${recordId}`;
21
21
  try {
22
22
  const response = yield axiosClient.get(url, {
23
23
  headers: {
@@ -10,14 +10,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { axiosClient } from "../../util/axiosClient.js";
11
11
  const updateRecord = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
12
12
  const { authToken, baseUrl } = authParams;
13
- const { objectType, recordId, fieldsToUpdate } = params;
13
+ const { recordType, recordId, fieldsToUpdate } = params;
14
14
  if (!authToken || !baseUrl) {
15
15
  return {
16
16
  success: false,
17
17
  error: "authToken and baseUrl are required for Salesforce API",
18
18
  };
19
19
  }
20
- const url = `${baseUrl}/services/data/v56.0/sobjects/${objectType}/${recordId}`;
20
+ const url = `${baseUrl}/services/data/v56.0/sobjects/${recordType}/${recordId}`;
21
21
  try {
22
22
  yield axiosClient.patch(url, fieldsToUpdate, {
23
23
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.179",
3
+ "version": "0.2.182",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,
@@ -23,6 +23,9 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
+ "engines": {
27
+ "node": ">=24.0.0"
28
+ },
26
29
  "author": "",
27
30
  "license": "ISC",
28
31
  "devDependencies": {
@@ -31,7 +34,7 @@
31
34
  "@types/html-to-text": "^9.0.4",
32
35
  "@types/js-yaml": "^4.0.9",
33
36
  "@types/jsonwebtoken": "^9.0.9",
34
- "@types/node": "^22.10.1",
37
+ "@types/node": "^24.0.0",
35
38
  "@types/node-forge": "^1.3.11",
36
39
  "@typescript-eslint/eslint-plugin": "^8.18.0",
37
40
  "@typescript-eslint/parser": "^8.18.0",
@@ -68,7 +71,7 @@
68
71
  "mammoth": "^1.11.00",
69
72
  "mongodb": "^6.13.1",
70
73
  "node-forge": "^1.3.3",
71
- "officeparser": "^5.2.0",
74
+ "officeparser": "^5.2.2",
72
75
  "p-limit": "^7.1.1",
73
76
  "resend": "^4.7.0",
74
77
  "snowflake-sdk": "^2.0.2",