@credal/actions 0.2.208 → 0.2.210
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/dist/actions/actionMapper.js +8 -1
- package/dist/actions/autogen/templates.d.ts +1 -0
- package/dist/actions/autogen/templates.js +93 -3
- package/dist/actions/autogen/types.d.ts +78 -5
- package/dist/actions/autogen/types.js +41 -1
- package/dist/actions/groups.d.ts +6 -0
- package/dist/actions/groups.js +251 -0
- package/dist/actions/providers/github/fetchFile.d.ts +3 -0
- package/dist/actions/providers/github/fetchFile.js +131 -0
- package/dist/actions/providers/github/getContents.d.ts +3 -0
- package/dist/actions/providers/github/getContents.js +41 -0
- package/dist/actions/providers/github/searchRepository.js +7 -7
- package/dist/actions/providers/google-oauth/getDriveFileContentById.js +2 -18
- package/dist/actions/providers/google-oauth/getSpreadsheetMetadata.d.ts +15 -0
- package/dist/actions/providers/google-oauth/getSpreadsheetMetadata.js +49 -0
- package/dist/actions/providers/slack/archiveChannel.d.ts +3 -0
- package/dist/actions/providers/slack/archiveChannel.js +42 -0
- package/dist/actions/providers/slack/sendMessage.js +62 -21
- package/dist/utils/google.d.ts +1 -0
- package/dist/utils/google.js +48 -22
- package/package.json +1 -1
- package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
- package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
- package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
- package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
|
@@ -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, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, 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, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, 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, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } 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, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, 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, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, 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, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } 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";
|
|
@@ -53,6 +53,7 @@ import updateCalendarEvent from "./providers/google-oauth/updateCalendarEvent.js
|
|
|
53
53
|
import deleteCalendarEvent from "./providers/google-oauth/deleteCalendarEvent.js";
|
|
54
54
|
import editAGoogleCalendarEvent from "./providers/google-oauth/editAGoogleCalendarEvent.js";
|
|
55
55
|
import createSpreadsheet from "./providers/google-oauth/createSpreadsheet.js";
|
|
56
|
+
import getSpreadsheetMetadata from "./providers/google-oauth/getSpreadsheetMetadata.js";
|
|
56
57
|
import updateSpreadsheet from "./providers/google-oauth/updateSpreadsheet.js";
|
|
57
58
|
import appendRowsToSpreadsheet from "./providers/google-oauth/appendRowsToSpreadsheet.js";
|
|
58
59
|
import deleteRowFromSpreadsheet from "./providers/google-oauth/deleteRowFromSpreadsheet.js";
|
|
@@ -590,6 +591,12 @@ export const ActionMapper = {
|
|
|
590
591
|
outputSchema: googleOauthCreateSpreadsheetOutputSchema,
|
|
591
592
|
actionType: "write",
|
|
592
593
|
},
|
|
594
|
+
getSpreadsheetMetadata: {
|
|
595
|
+
fn: getSpreadsheetMetadata,
|
|
596
|
+
paramsSchema: googleOauthGetSpreadsheetMetadataParamsSchema,
|
|
597
|
+
outputSchema: googleOauthGetSpreadsheetMetadataOutputSchema,
|
|
598
|
+
actionType: "read",
|
|
599
|
+
},
|
|
593
600
|
updateSpreadsheet: {
|
|
594
601
|
fn: updateSpreadsheet,
|
|
595
602
|
paramsSchema: googleOauthUpdateSpreadsheetParamsSchema,
|
|
@@ -93,6 +93,7 @@ export declare const googleOauthUpdateCalendarEventDefinition: ActionTemplate;
|
|
|
93
93
|
export declare const googleOauthEditAGoogleCalendarEventDefinition: ActionTemplate;
|
|
94
94
|
export declare const googleOauthDeleteCalendarEventDefinition: ActionTemplate;
|
|
95
95
|
export declare const googleOauthCreateSpreadsheetDefinition: ActionTemplate;
|
|
96
|
+
export declare const googleOauthGetSpreadsheetMetadataDefinition: ActionTemplate;
|
|
96
97
|
export declare const googleOauthUpdateSpreadsheetDefinition: ActionTemplate;
|
|
97
98
|
export declare const googleOauthAppendRowsToSpreadsheetDefinition: ActionTemplate;
|
|
98
99
|
export declare const googleOauthDeleteRowFromSpreadsheetDefinition: ActionTemplate;
|
|
@@ -694,7 +694,7 @@ export const slackCreateChannelDefinition = {
|
|
|
694
694
|
};
|
|
695
695
|
export const slackSendMessageDefinition = {
|
|
696
696
|
displayName: "Send a message",
|
|
697
|
-
description: "Sends a message to a Slack channel",
|
|
697
|
+
description: "Sends a message to a Slack channel, optionally as a reply in a thread",
|
|
698
698
|
scopes: ["chat:write"],
|
|
699
699
|
tags: [],
|
|
700
700
|
parameters: {
|
|
@@ -714,6 +714,18 @@ export const slackSendMessageDefinition = {
|
|
|
714
714
|
type: "string",
|
|
715
715
|
description: "The message content to send to Slack. Can include markdown formatting.",
|
|
716
716
|
},
|
|
717
|
+
unfurlLinks: {
|
|
718
|
+
type: "boolean",
|
|
719
|
+
description: "Whether to enable unfurling of links in the message (defaults to true)",
|
|
720
|
+
},
|
|
721
|
+
threadTs: {
|
|
722
|
+
type: "string",
|
|
723
|
+
description: "The timestamp (ts) of a parent message to reply to in a thread. Obtain this from the `timestamp` field returned by a previous sendMessage call, or from the trailing path segment of a Slack message permalink (e.g. `p1234567890123456` → `1234567890.123456`).",
|
|
724
|
+
},
|
|
725
|
+
replyBroadcast: {
|
|
726
|
+
type: "boolean",
|
|
727
|
+
description: "When replying in a thread (threadTs provided), also post the reply to the channel. Defaults to false.",
|
|
728
|
+
},
|
|
717
729
|
},
|
|
718
730
|
},
|
|
719
731
|
output: {
|
|
@@ -728,9 +740,21 @@ export const slackSendMessageDefinition = {
|
|
|
728
740
|
type: "string",
|
|
729
741
|
description: "The error that occurred if the message was not sent successfully",
|
|
730
742
|
},
|
|
731
|
-
|
|
743
|
+
channelId: {
|
|
732
744
|
type: "string",
|
|
733
|
-
description: "The ID of the message
|
|
745
|
+
description: "The ID of the channel the message was sent to",
|
|
746
|
+
},
|
|
747
|
+
timestamp: {
|
|
748
|
+
type: "string",
|
|
749
|
+
description: "The Slack timestamp (ts) of the sent message. Use this as `threadTs` on a subsequent sendMessage call to reply in a thread.",
|
|
750
|
+
},
|
|
751
|
+
threadTs: {
|
|
752
|
+
type: "string",
|
|
753
|
+
description: "The timestamp of the parent message, if this message was sent as a threaded reply",
|
|
754
|
+
},
|
|
755
|
+
permalink: {
|
|
756
|
+
type: "string",
|
|
757
|
+
description: "The permalink URL to the sent message",
|
|
734
758
|
},
|
|
735
759
|
},
|
|
736
760
|
},
|
|
@@ -7063,6 +7087,72 @@ export const googleOauthCreateSpreadsheetDefinition = {
|
|
|
7063
7087
|
name: "createSpreadsheet",
|
|
7064
7088
|
provider: "googleOauth",
|
|
7065
7089
|
};
|
|
7090
|
+
export const googleOauthGetSpreadsheetMetadataDefinition = {
|
|
7091
|
+
displayName: "Get spreadsheet metadata",
|
|
7092
|
+
description: "Get lightweight metadata for an existing Google Spreadsheet including sheet IDs and titles",
|
|
7093
|
+
scopes: [],
|
|
7094
|
+
tags: [],
|
|
7095
|
+
parameters: {
|
|
7096
|
+
type: "object",
|
|
7097
|
+
required: ["spreadsheetId"],
|
|
7098
|
+
properties: {
|
|
7099
|
+
spreadsheetId: {
|
|
7100
|
+
type: "string",
|
|
7101
|
+
description: "The ID of the Google Spreadsheet to fetch metadata for",
|
|
7102
|
+
tags: ["recommend-predefined"],
|
|
7103
|
+
},
|
|
7104
|
+
},
|
|
7105
|
+
},
|
|
7106
|
+
output: {
|
|
7107
|
+
type: "object",
|
|
7108
|
+
required: ["success"],
|
|
7109
|
+
properties: {
|
|
7110
|
+
success: {
|
|
7111
|
+
type: "boolean",
|
|
7112
|
+
description: "Whether spreadsheet metadata was fetched successfully",
|
|
7113
|
+
},
|
|
7114
|
+
spreadsheetId: {
|
|
7115
|
+
type: "string",
|
|
7116
|
+
description: "The spreadsheet ID",
|
|
7117
|
+
},
|
|
7118
|
+
spreadsheetTitle: {
|
|
7119
|
+
type: "string",
|
|
7120
|
+
description: "The spreadsheet title",
|
|
7121
|
+
},
|
|
7122
|
+
sheets: {
|
|
7123
|
+
type: "array",
|
|
7124
|
+
description: "The list of sheets in the spreadsheet",
|
|
7125
|
+
items: {
|
|
7126
|
+
type: "object",
|
|
7127
|
+
properties: {
|
|
7128
|
+
sheetId: {
|
|
7129
|
+
type: "number",
|
|
7130
|
+
description: "The ID of the sheet",
|
|
7131
|
+
},
|
|
7132
|
+
title: {
|
|
7133
|
+
type: "string",
|
|
7134
|
+
description: "The sheet title",
|
|
7135
|
+
},
|
|
7136
|
+
index: {
|
|
7137
|
+
type: "number",
|
|
7138
|
+
description: "The sheet index",
|
|
7139
|
+
},
|
|
7140
|
+
gid: {
|
|
7141
|
+
type: "number",
|
|
7142
|
+
description: "The gid used in Google Sheets URLs (same value as sheetId)",
|
|
7143
|
+
},
|
|
7144
|
+
},
|
|
7145
|
+
},
|
|
7146
|
+
},
|
|
7147
|
+
error: {
|
|
7148
|
+
type: "string",
|
|
7149
|
+
description: "The error that occurred if metadata retrieval failed",
|
|
7150
|
+
},
|
|
7151
|
+
},
|
|
7152
|
+
},
|
|
7153
|
+
name: "getSpreadsheetMetadata",
|
|
7154
|
+
provider: "googleOauth",
|
|
7155
|
+
};
|
|
7066
7156
|
export const googleOauthUpdateSpreadsheetDefinition = {
|
|
7067
7157
|
displayName: "Update a spreadsheet",
|
|
7068
7158
|
description: "Update a Google Spreadsheet with new content specified",
|
|
@@ -102,6 +102,7 @@ export declare enum ActionName {
|
|
|
102
102
|
EDITAGOOGLECALENDAREVENT = "editAGoogleCalendarEvent",
|
|
103
103
|
DELETECALENDAREVENT = "deleteCalendarEvent",
|
|
104
104
|
CREATESPREADSHEET = "createSpreadsheet",
|
|
105
|
+
GETSPREADSHEETMETADATA = "getSpreadsheetMetadata",
|
|
105
106
|
UPDATESPREADSHEET = "updateSpreadsheet",
|
|
106
107
|
APPENDROWSTOSPREADSHEET = "appendRowsToSpreadsheet",
|
|
107
108
|
DELETEROWFROMSPREADSHEET = "deleteRowFromSpreadsheet",
|
|
@@ -968,28 +969,46 @@ export declare const slackSendMessageParamsSchema: z.ZodObject<{
|
|
|
968
969
|
channelId: z.ZodOptional<z.ZodString>;
|
|
969
970
|
channelName: z.ZodOptional<z.ZodString>;
|
|
970
971
|
message: z.ZodString;
|
|
972
|
+
unfurlLinks: z.ZodOptional<z.ZodBoolean>;
|
|
973
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
974
|
+
replyBroadcast: z.ZodOptional<z.ZodBoolean>;
|
|
971
975
|
}, "strip", z.ZodTypeAny, {
|
|
972
976
|
message: string;
|
|
973
977
|
channelId?: string | undefined;
|
|
974
978
|
channelName?: string | undefined;
|
|
979
|
+
unfurlLinks?: boolean | undefined;
|
|
980
|
+
threadTs?: string | undefined;
|
|
981
|
+
replyBroadcast?: boolean | undefined;
|
|
975
982
|
}, {
|
|
976
983
|
message: string;
|
|
977
984
|
channelId?: string | undefined;
|
|
978
985
|
channelName?: string | undefined;
|
|
986
|
+
unfurlLinks?: boolean | undefined;
|
|
987
|
+
threadTs?: string | undefined;
|
|
988
|
+
replyBroadcast?: boolean | undefined;
|
|
979
989
|
}>;
|
|
980
990
|
export type slackSendMessageParamsType = z.infer<typeof slackSendMessageParamsSchema>;
|
|
981
991
|
export declare const slackSendMessageOutputSchema: z.ZodObject<{
|
|
982
992
|
success: z.ZodBoolean;
|
|
983
993
|
error: z.ZodOptional<z.ZodString>;
|
|
984
|
-
|
|
994
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
995
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
996
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
997
|
+
permalink: z.ZodOptional<z.ZodString>;
|
|
985
998
|
}, "strip", z.ZodTypeAny, {
|
|
986
999
|
success: boolean;
|
|
987
1000
|
error?: string | undefined;
|
|
988
|
-
|
|
1001
|
+
channelId?: string | undefined;
|
|
1002
|
+
timestamp?: string | undefined;
|
|
1003
|
+
permalink?: string | undefined;
|
|
1004
|
+
threadTs?: string | undefined;
|
|
989
1005
|
}, {
|
|
990
1006
|
success: boolean;
|
|
991
1007
|
error?: string | undefined;
|
|
992
|
-
|
|
1008
|
+
channelId?: string | undefined;
|
|
1009
|
+
timestamp?: string | undefined;
|
|
1010
|
+
permalink?: string | undefined;
|
|
1011
|
+
threadTs?: string | undefined;
|
|
993
1012
|
}>;
|
|
994
1013
|
export type slackSendMessageOutputType = z.infer<typeof slackSendMessageOutputSchema>;
|
|
995
1014
|
export type slackSendMessageFunction = ActionFunction<slackSendMessageParamsType, AuthParamsType, slackSendMessageOutputType>;
|
|
@@ -5742,6 +5761,60 @@ export declare const googleOauthCreateSpreadsheetOutputSchema: z.ZodObject<{
|
|
|
5742
5761
|
}>;
|
|
5743
5762
|
export type googleOauthCreateSpreadsheetOutputType = z.infer<typeof googleOauthCreateSpreadsheetOutputSchema>;
|
|
5744
5763
|
export type googleOauthCreateSpreadsheetFunction = ActionFunction<googleOauthCreateSpreadsheetParamsType, AuthParamsType, googleOauthCreateSpreadsheetOutputType>;
|
|
5764
|
+
export declare const googleOauthGetSpreadsheetMetadataParamsSchema: z.ZodObject<{
|
|
5765
|
+
spreadsheetId: z.ZodString;
|
|
5766
|
+
}, "strip", z.ZodTypeAny, {
|
|
5767
|
+
spreadsheetId: string;
|
|
5768
|
+
}, {
|
|
5769
|
+
spreadsheetId: string;
|
|
5770
|
+
}>;
|
|
5771
|
+
export type googleOauthGetSpreadsheetMetadataParamsType = z.infer<typeof googleOauthGetSpreadsheetMetadataParamsSchema>;
|
|
5772
|
+
export declare const googleOauthGetSpreadsheetMetadataOutputSchema: z.ZodObject<{
|
|
5773
|
+
success: z.ZodBoolean;
|
|
5774
|
+
spreadsheetId: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
spreadsheetTitle: z.ZodOptional<z.ZodString>;
|
|
5776
|
+
sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5777
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
5778
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5779
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
5780
|
+
gid: z.ZodOptional<z.ZodNumber>;
|
|
5781
|
+
}, "strip", z.ZodTypeAny, {
|
|
5782
|
+
title?: string | undefined;
|
|
5783
|
+
index?: number | undefined;
|
|
5784
|
+
sheetId?: number | undefined;
|
|
5785
|
+
gid?: number | undefined;
|
|
5786
|
+
}, {
|
|
5787
|
+
title?: string | undefined;
|
|
5788
|
+
index?: number | undefined;
|
|
5789
|
+
sheetId?: number | undefined;
|
|
5790
|
+
gid?: number | undefined;
|
|
5791
|
+
}>, "many">>;
|
|
5792
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5793
|
+
}, "strip", z.ZodTypeAny, {
|
|
5794
|
+
success: boolean;
|
|
5795
|
+
error?: string | undefined;
|
|
5796
|
+
sheets?: {
|
|
5797
|
+
title?: string | undefined;
|
|
5798
|
+
index?: number | undefined;
|
|
5799
|
+
sheetId?: number | undefined;
|
|
5800
|
+
gid?: number | undefined;
|
|
5801
|
+
}[] | undefined;
|
|
5802
|
+
spreadsheetId?: string | undefined;
|
|
5803
|
+
spreadsheetTitle?: string | undefined;
|
|
5804
|
+
}, {
|
|
5805
|
+
success: boolean;
|
|
5806
|
+
error?: string | undefined;
|
|
5807
|
+
sheets?: {
|
|
5808
|
+
title?: string | undefined;
|
|
5809
|
+
index?: number | undefined;
|
|
5810
|
+
sheetId?: number | undefined;
|
|
5811
|
+
gid?: number | undefined;
|
|
5812
|
+
}[] | undefined;
|
|
5813
|
+
spreadsheetId?: string | undefined;
|
|
5814
|
+
spreadsheetTitle?: string | undefined;
|
|
5815
|
+
}>;
|
|
5816
|
+
export type googleOauthGetSpreadsheetMetadataOutputType = z.infer<typeof googleOauthGetSpreadsheetMetadataOutputSchema>;
|
|
5817
|
+
export type googleOauthGetSpreadsheetMetadataFunction = ActionFunction<googleOauthGetSpreadsheetMetadataParamsType, AuthParamsType, googleOauthGetSpreadsheetMetadataOutputType>;
|
|
5745
5818
|
export declare const googleOauthUpdateSpreadsheetParamsSchema: z.ZodObject<{
|
|
5746
5819
|
spreadsheetId: z.ZodString;
|
|
5747
5820
|
requests: z.ZodArray<z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.ZodEffects<z.ZodAny, any, any>>, "many">;
|
|
@@ -7044,13 +7117,13 @@ export declare const googlemailReplyToGmailOutputSchema: z.ZodObject<{
|
|
|
7044
7117
|
}, "strip", z.ZodTypeAny, {
|
|
7045
7118
|
success: boolean;
|
|
7046
7119
|
error?: string | undefined;
|
|
7047
|
-
messageId?: string | undefined;
|
|
7048
7120
|
threadId?: string | undefined;
|
|
7121
|
+
messageId?: string | undefined;
|
|
7049
7122
|
}, {
|
|
7050
7123
|
success: boolean;
|
|
7051
7124
|
error?: string | undefined;
|
|
7052
|
-
messageId?: string | undefined;
|
|
7053
7125
|
threadId?: string | undefined;
|
|
7126
|
+
messageId?: string | undefined;
|
|
7054
7127
|
}>;
|
|
7055
7128
|
export type googlemailReplyToGmailOutputType = z.infer<typeof googlemailReplyToGmailOutputSchema>;
|
|
7056
7129
|
export type googlemailReplyToGmailFunction = ActionFunction<googlemailReplyToGmailParamsType, AuthParamsType, googlemailReplyToGmailOutputType>;
|
|
@@ -104,6 +104,7 @@ export var ActionName;
|
|
|
104
104
|
ActionName["EDITAGOOGLECALENDAREVENT"] = "editAGoogleCalendarEvent";
|
|
105
105
|
ActionName["DELETECALENDAREVENT"] = "deleteCalendarEvent";
|
|
106
106
|
ActionName["CREATESPREADSHEET"] = "createSpreadsheet";
|
|
107
|
+
ActionName["GETSPREADSHEETMETADATA"] = "getSpreadsheetMetadata";
|
|
107
108
|
ActionName["UPDATESPREADSHEET"] = "updateSpreadsheet";
|
|
108
109
|
ActionName["APPENDROWSTOSPREADSHEET"] = "appendRowsToSpreadsheet";
|
|
109
110
|
ActionName["DELETEROWFROMSPREADSHEET"] = "deleteRowFromSpreadsheet";
|
|
@@ -400,11 +401,32 @@ export const slackSendMessageParamsSchema = z.object({
|
|
|
400
401
|
.describe("The name of the Slack channel to send the message to (e.g. general, alerts)")
|
|
401
402
|
.optional(),
|
|
402
403
|
message: z.string().describe("The message content to send to Slack. Can include markdown formatting."),
|
|
404
|
+
unfurlLinks: z
|
|
405
|
+
.boolean()
|
|
406
|
+
.describe("Whether to enable unfurling of links in the message (defaults to true)")
|
|
407
|
+
.optional(),
|
|
408
|
+
threadTs: z
|
|
409
|
+
.string()
|
|
410
|
+
.describe("The timestamp (ts) of a parent message to reply to in a thread. Obtain this from the `timestamp` field returned by a previous sendMessage call, or from the trailing path segment of a Slack message permalink (e.g. `p1234567890123456` → `1234567890.123456`).")
|
|
411
|
+
.optional(),
|
|
412
|
+
replyBroadcast: z
|
|
413
|
+
.boolean()
|
|
414
|
+
.describe("When replying in a thread (threadTs provided), also post the reply to the channel. Defaults to false.")
|
|
415
|
+
.optional(),
|
|
403
416
|
});
|
|
404
417
|
export const slackSendMessageOutputSchema = z.object({
|
|
405
418
|
success: z.boolean().describe("Whether the message was sent successfully"),
|
|
406
419
|
error: z.string().describe("The error that occurred if the message was not sent successfully").optional(),
|
|
407
|
-
|
|
420
|
+
channelId: z.string().describe("The ID of the channel the message was sent to").optional(),
|
|
421
|
+
timestamp: z
|
|
422
|
+
.string()
|
|
423
|
+
.describe("The Slack timestamp (ts) of the sent message. Use this as `threadTs` on a subsequent sendMessage call to reply in a thread.")
|
|
424
|
+
.optional(),
|
|
425
|
+
threadTs: z
|
|
426
|
+
.string()
|
|
427
|
+
.describe("The timestamp of the parent message, if this message was sent as a threaded reply")
|
|
428
|
+
.optional(),
|
|
429
|
+
permalink: z.string().describe("The permalink URL to the sent message").optional(),
|
|
408
430
|
});
|
|
409
431
|
export const slackGetChannelMessagesParamsSchema = z.object({
|
|
410
432
|
channelId: z
|
|
@@ -2538,6 +2560,24 @@ export const googleOauthCreateSpreadsheetOutputSchema = z.object({
|
|
|
2538
2560
|
.optional(),
|
|
2539
2561
|
error: z.string().describe("The error that occurred if the spreadsheet was not created successfully").optional(),
|
|
2540
2562
|
});
|
|
2563
|
+
export const googleOauthGetSpreadsheetMetadataParamsSchema = z.object({
|
|
2564
|
+
spreadsheetId: z.string().describe("The ID of the Google Spreadsheet to fetch metadata for"),
|
|
2565
|
+
});
|
|
2566
|
+
export const googleOauthGetSpreadsheetMetadataOutputSchema = z.object({
|
|
2567
|
+
success: z.boolean().describe("Whether spreadsheet metadata was fetched successfully"),
|
|
2568
|
+
spreadsheetId: z.string().describe("The spreadsheet ID").optional(),
|
|
2569
|
+
spreadsheetTitle: z.string().describe("The spreadsheet title").optional(),
|
|
2570
|
+
sheets: z
|
|
2571
|
+
.array(z.object({
|
|
2572
|
+
sheetId: z.number().describe("The ID of the sheet").optional(),
|
|
2573
|
+
title: z.string().describe("The sheet title").optional(),
|
|
2574
|
+
index: z.number().describe("The sheet index").optional(),
|
|
2575
|
+
gid: z.number().describe("The gid used in Google Sheets URLs (same value as sheetId)").optional(),
|
|
2576
|
+
}))
|
|
2577
|
+
.describe("The list of sheets in the spreadsheet")
|
|
2578
|
+
.optional(),
|
|
2579
|
+
error: z.string().describe("The error that occurred if metadata retrieval failed").optional(),
|
|
2580
|
+
});
|
|
2541
2581
|
export const googleOauthUpdateSpreadsheetParamsSchema = z.object({
|
|
2542
2582
|
spreadsheetId: z.string().describe("The ID of the Google Spreadsheet to update"),
|
|
2543
2583
|
requests: z
|