@credal/actions 0.2.183 → 0.2.184

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.
@@ -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, 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";
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, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, 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";
@@ -124,6 +124,7 @@ import firecrawlGetTopNSearchResultUrls from "./providers/firecrawl/getTopNSearc
124
124
  import searchDriveByKeywordsAndGetFileContent from "./providers/google-oauth/searchDriveByKeywordsAndGetFileContent.js";
125
125
  import perplexityDeepResearch from "./providers/perplexity/perplexityDeepResearch.js";
126
126
  import searchSlack from "./providers/slackUser/searchSlack.js";
127
+ import searchSlackRTS from "./providers/slackUser/searchSlackRTS.js";
127
128
  import sendDmFromBot from "./providers/slack/sendDmFromBot.js";
128
129
  import getOktaUserByName from "./providers/oktaOrg/getOktaUserByName.js";
129
130
  import customSearch from "./providers/googleSearch/customSearch.js";
@@ -289,6 +290,12 @@ export const ActionMapper = {
289
290
  outputSchema: slackUserSearchSlackOutputSchema,
290
291
  actionType: "read",
291
292
  },
293
+ searchSlackRTS: {
294
+ fn: searchSlackRTS,
295
+ paramsSchema: slackUserSearchSlackRTSParamsSchema,
296
+ outputSchema: slackUserSearchSlackRTSOutputSchema,
297
+ actionType: "read",
298
+ },
292
299
  },
293
300
  confluence: {
294
301
  overwritePage: {
@@ -13,6 +13,7 @@ export declare const slackSendMessageDefinition: ActionTemplate;
13
13
  export declare const slackGetChannelMessagesDefinition: ActionTemplate;
14
14
  export declare const slackGetChannelMembersDefinition: ActionTemplate;
15
15
  export declare const slackUserSearchSlackDefinition: ActionTemplate;
16
+ export declare const slackUserSearchSlackRTSDefinition: ActionTemplate;
16
17
  export declare const mathAddDefinition: ActionTemplate;
17
18
  export declare const confluenceOverwritePageDefinition: ActionTemplate;
18
19
  export declare const confluenceFetchPageContentDefinition: ActionTemplate;
@@ -1040,6 +1040,147 @@ export const slackUserSearchSlackDefinition = {
1040
1040
  name: "searchSlack",
1041
1041
  provider: "slackUser",
1042
1042
  };
1043
+ export const slackUserSearchSlackRTSDefinition = {
1044
+ description: "Search Slack messages across your organization using Slack's Real-Time Search API (assistant.search.context). Searches all conversations within the scope of permissions granted and returns relevant messages with content, author info, and permalinks.",
1045
+ scopes: [
1046
+ "im:history",
1047
+ "search:read.public",
1048
+ "search:read.private",
1049
+ "search:read.mpim",
1050
+ "search:read.im",
1051
+ "search:read.files",
1052
+ ],
1053
+ tags: [],
1054
+ parameters: {
1055
+ type: "object",
1056
+ required: ["query"],
1057
+ properties: {
1058
+ query: {
1059
+ type: "string",
1060
+ description: 'The search query string (e.g., "What is project gizmo?", "mobile UX revamp"). You can use any Slack filters directly in the query string.',
1061
+ },
1062
+ channelTypes: {
1063
+ type: "array",
1064
+ description: "Filter by channel types to search. If not specified, searches all channel types the user has access to.",
1065
+ items: {
1066
+ type: "string",
1067
+ enum: ["public_channel", "private_channel", "mpim", "im"],
1068
+ },
1069
+ },
1070
+ contentTypes: {
1071
+ type: "array",
1072
+ description: "Filter by content types to include in search results.",
1073
+ items: {
1074
+ type: "string",
1075
+ enum: ["messages", "files", "channels"],
1076
+ },
1077
+ default: ["messages", "files", "channels"],
1078
+ },
1079
+ includeBots: {
1080
+ type: "boolean",
1081
+ description: "Whether to include bot messages in search results.",
1082
+ default: false,
1083
+ },
1084
+ includeContextMessages: {
1085
+ type: "boolean",
1086
+ description: "Whether to include contextual messages in search results.",
1087
+ default: false,
1088
+ },
1089
+ limit: {
1090
+ type: "number",
1091
+ description: "Maximum number of results per page (max 20).",
1092
+ minimum: 1,
1093
+ maximum: 20,
1094
+ default: 20,
1095
+ },
1096
+ before: {
1097
+ type: "string",
1098
+ description: "Optional UNIX timestamp filter. If present, filters for results before this date.",
1099
+ },
1100
+ after: {
1101
+ type: "string",
1102
+ description: "Optional UNIX timestamp filter. If present, filters for results after this date.",
1103
+ },
1104
+ },
1105
+ },
1106
+ output: {
1107
+ type: "object",
1108
+ required: ["ok", "results"],
1109
+ properties: {
1110
+ ok: {
1111
+ type: "boolean",
1112
+ description: "Whether the request was successful.",
1113
+ },
1114
+ results: {
1115
+ type: "object",
1116
+ description: "Search results containing messages and/or files.",
1117
+ properties: {
1118
+ messages: {
1119
+ type: "array",
1120
+ description: "Array of message results matching the search query.",
1121
+ items: {
1122
+ type: "object",
1123
+ required: ["author_user_id", "team_id", "channel_id", "message_ts", "content", "is_author_bot"],
1124
+ properties: {
1125
+ author_user_id: {
1126
+ type: "string",
1127
+ description: "User ID of the message author.",
1128
+ },
1129
+ team_id: {
1130
+ type: "string",
1131
+ description: "Team/workspace ID where the message was posted.",
1132
+ },
1133
+ channel_id: {
1134
+ type: "string",
1135
+ description: "Channel ID where the message was posted.",
1136
+ },
1137
+ message_ts: {
1138
+ type: "string",
1139
+ description: "Message timestamp.",
1140
+ },
1141
+ content: {
1142
+ type: "string",
1143
+ description: "The message content/text.",
1144
+ },
1145
+ is_author_bot: {
1146
+ type: "boolean",
1147
+ description: "Whether the message author is a bot.",
1148
+ },
1149
+ permalink: {
1150
+ type: "string",
1151
+ description: "Permalink URL to the message in Slack.",
1152
+ },
1153
+ },
1154
+ },
1155
+ },
1156
+ files: {
1157
+ type: "array",
1158
+ description: "Array of file results matching the search query (if files content type was requested).",
1159
+ items: {
1160
+ type: "object",
1161
+ properties: {
1162
+ file_id: {
1163
+ type: "string",
1164
+ description: "File ID.",
1165
+ },
1166
+ title: {
1167
+ type: "string",
1168
+ description: "File title.",
1169
+ },
1170
+ permalink: {
1171
+ type: "string",
1172
+ description: "Permalink URL to the file in Slack.",
1173
+ },
1174
+ },
1175
+ },
1176
+ },
1177
+ },
1178
+ },
1179
+ },
1180
+ },
1181
+ name: "searchSlackRTS",
1182
+ provider: "slackUser",
1183
+ };
1043
1184
  export const mathAddDefinition = {
1044
1185
  description: "Adds two numbers together",
1045
1186
  scopes: [],
@@ -1308,6 +1308,146 @@ export declare const slackUserSearchSlackOutputSchema: z.ZodObject<{
1308
1308
  }>;
1309
1309
  export type slackUserSearchSlackOutputType = z.infer<typeof slackUserSearchSlackOutputSchema>;
1310
1310
  export type slackUserSearchSlackFunction = ActionFunction<slackUserSearchSlackParamsType, AuthParamsType, slackUserSearchSlackOutputType>;
1311
+ export declare const slackUserSearchSlackRTSParamsSchema: z.ZodObject<{
1312
+ query: z.ZodString;
1313
+ channelTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>;
1314
+ contentTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<["messages", "files", "channels"]>, "many">>;
1315
+ includeBots: z.ZodDefault<z.ZodBoolean>;
1316
+ includeContextMessages: z.ZodDefault<z.ZodBoolean>;
1317
+ limit: z.ZodDefault<z.ZodNumber>;
1318
+ before: z.ZodOptional<z.ZodString>;
1319
+ after: z.ZodOptional<z.ZodString>;
1320
+ }, "strip", z.ZodTypeAny, {
1321
+ query: string;
1322
+ limit: number;
1323
+ contentTypes: ("messages" | "files" | "channels")[];
1324
+ includeBots: boolean;
1325
+ includeContextMessages: boolean;
1326
+ channelTypes?: ("im" | "public_channel" | "private_channel" | "mpim")[] | undefined;
1327
+ before?: string | undefined;
1328
+ after?: string | undefined;
1329
+ }, {
1330
+ query: string;
1331
+ limit?: number | undefined;
1332
+ channelTypes?: ("im" | "public_channel" | "private_channel" | "mpim")[] | undefined;
1333
+ contentTypes?: ("messages" | "files" | "channels")[] | undefined;
1334
+ includeBots?: boolean | undefined;
1335
+ includeContextMessages?: boolean | undefined;
1336
+ before?: string | undefined;
1337
+ after?: string | undefined;
1338
+ }>;
1339
+ export type slackUserSearchSlackRTSParamsType = z.infer<typeof slackUserSearchSlackRTSParamsSchema>;
1340
+ export declare const slackUserSearchSlackRTSOutputSchema: z.ZodObject<{
1341
+ ok: z.ZodBoolean;
1342
+ results: z.ZodObject<{
1343
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1344
+ author_user_id: z.ZodString;
1345
+ team_id: z.ZodString;
1346
+ channel_id: z.ZodString;
1347
+ message_ts: z.ZodString;
1348
+ content: z.ZodString;
1349
+ is_author_bot: z.ZodBoolean;
1350
+ permalink: z.ZodOptional<z.ZodString>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ author_user_id: string;
1353
+ team_id: string;
1354
+ channel_id: string;
1355
+ message_ts: string;
1356
+ content: string;
1357
+ is_author_bot: boolean;
1358
+ permalink?: string | undefined;
1359
+ }, {
1360
+ author_user_id: string;
1361
+ team_id: string;
1362
+ channel_id: string;
1363
+ message_ts: string;
1364
+ content: string;
1365
+ is_author_bot: boolean;
1366
+ permalink?: string | undefined;
1367
+ }>, "many">>;
1368
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
1369
+ file_id: z.ZodOptional<z.ZodString>;
1370
+ title: z.ZodOptional<z.ZodString>;
1371
+ permalink: z.ZodOptional<z.ZodString>;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ permalink?: string | undefined;
1374
+ title?: string | undefined;
1375
+ file_id?: string | undefined;
1376
+ }, {
1377
+ permalink?: string | undefined;
1378
+ title?: string | undefined;
1379
+ file_id?: string | undefined;
1380
+ }>, "many">>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ messages?: {
1383
+ author_user_id: string;
1384
+ team_id: string;
1385
+ channel_id: string;
1386
+ message_ts: string;
1387
+ content: string;
1388
+ is_author_bot: boolean;
1389
+ permalink?: string | undefined;
1390
+ }[] | undefined;
1391
+ files?: {
1392
+ permalink?: string | undefined;
1393
+ title?: string | undefined;
1394
+ file_id?: string | undefined;
1395
+ }[] | undefined;
1396
+ }, {
1397
+ messages?: {
1398
+ author_user_id: string;
1399
+ team_id: string;
1400
+ channel_id: string;
1401
+ message_ts: string;
1402
+ content: string;
1403
+ is_author_bot: boolean;
1404
+ permalink?: string | undefined;
1405
+ }[] | undefined;
1406
+ files?: {
1407
+ permalink?: string | undefined;
1408
+ title?: string | undefined;
1409
+ file_id?: string | undefined;
1410
+ }[] | undefined;
1411
+ }>;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ results: {
1414
+ messages?: {
1415
+ author_user_id: string;
1416
+ team_id: string;
1417
+ channel_id: string;
1418
+ message_ts: string;
1419
+ content: string;
1420
+ is_author_bot: boolean;
1421
+ permalink?: string | undefined;
1422
+ }[] | undefined;
1423
+ files?: {
1424
+ permalink?: string | undefined;
1425
+ title?: string | undefined;
1426
+ file_id?: string | undefined;
1427
+ }[] | undefined;
1428
+ };
1429
+ ok: boolean;
1430
+ }, {
1431
+ results: {
1432
+ messages?: {
1433
+ author_user_id: string;
1434
+ team_id: string;
1435
+ channel_id: string;
1436
+ message_ts: string;
1437
+ content: string;
1438
+ is_author_bot: boolean;
1439
+ permalink?: string | undefined;
1440
+ }[] | undefined;
1441
+ files?: {
1442
+ permalink?: string | undefined;
1443
+ title?: string | undefined;
1444
+ file_id?: string | undefined;
1445
+ }[] | undefined;
1446
+ };
1447
+ ok: boolean;
1448
+ }>;
1449
+ export type slackUserSearchSlackRTSOutputType = z.infer<typeof slackUserSearchSlackRTSOutputSchema>;
1450
+ export type slackUserSearchSlackRTSFunction = ActionFunction<slackUserSearchSlackRTSParamsType, AuthParamsType, slackUserSearchSlackRTSOutputType>;
1311
1451
  export declare const mathAddParamsSchema: z.ZodObject<{
1312
1452
  a: z.ZodNumber;
1313
1453
  b: z.ZodNumber;
@@ -1333,13 +1473,13 @@ export declare const confluenceOverwritePageParamsSchema: z.ZodObject<{
1333
1473
  title: z.ZodString;
1334
1474
  content: z.ZodString;
1335
1475
  }, "strip", z.ZodTypeAny, {
1476
+ content: string;
1336
1477
  pageId: string;
1337
1478
  title: string;
1338
- content: string;
1339
1479
  }, {
1480
+ content: string;
1340
1481
  pageId: string;
1341
1482
  title: string;
1342
- content: string;
1343
1483
  }>;
1344
1484
  export type confluenceOverwritePageParamsType = z.infer<typeof confluenceOverwritePageParamsSchema>;
1345
1485
  export declare const confluenceOverwritePageOutputSchema: z.ZodObject<{
@@ -1370,29 +1510,29 @@ export declare const confluenceFetchPageContentOutputSchema: z.ZodObject<{
1370
1510
  title: z.ZodOptional<z.ZodString>;
1371
1511
  content: z.ZodOptional<z.ZodString>;
1372
1512
  }, "strip", z.ZodTypeAny, {
1513
+ content?: string | undefined;
1373
1514
  pageId?: string | undefined;
1374
1515
  title?: string | undefined;
1375
- content?: string | undefined;
1376
1516
  }, {
1517
+ content?: string | undefined;
1377
1518
  pageId?: string | undefined;
1378
1519
  title?: string | undefined;
1379
- content?: string | undefined;
1380
1520
  }>>;
1381
1521
  }, "strip", z.ZodTypeAny, {
1382
1522
  success: boolean;
1383
1523
  error?: string | undefined;
1384
1524
  data?: {
1525
+ content?: string | undefined;
1385
1526
  pageId?: string | undefined;
1386
1527
  title?: string | undefined;
1387
- content?: string | undefined;
1388
1528
  } | undefined;
1389
1529
  }, {
1390
1530
  success: boolean;
1391
1531
  error?: string | undefined;
1392
1532
  data?: {
1533
+ content?: string | undefined;
1393
1534
  pageId?: string | undefined;
1394
1535
  title?: string | undefined;
1395
- content?: string | undefined;
1396
1536
  } | undefined;
1397
1537
  }>;
1398
1538
  export type confluenceFetchPageContentOutputType = z.infer<typeof confluenceFetchPageContentOutputSchema>;
@@ -9902,8 +10042,8 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
9902
10042
  author_name?: string | undefined;
9903
10043
  }[] | undefined;
9904
10044
  url?: string | undefined;
9905
- title?: string | undefined;
9906
10045
  content?: string | undefined;
10046
+ title?: string | undefined;
9907
10047
  project?: {
9908
10048
  name?: string | undefined;
9909
10049
  id?: string | undefined;
@@ -9935,8 +10075,8 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
9935
10075
  author_name?: string | undefined;
9936
10076
  }[] | undefined;
9937
10077
  url?: string | undefined;
9938
- title?: string | undefined;
9939
10078
  content?: string | undefined;
10079
+ title?: string | undefined;
9940
10080
  project?: {
9941
10081
  name?: string | undefined;
9942
10082
  id?: string | undefined;
@@ -9972,8 +10112,8 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
9972
10112
  author_name?: string | undefined;
9973
10113
  }[] | undefined;
9974
10114
  url?: string | undefined;
9975
- title?: string | undefined;
9976
10115
  content?: string | undefined;
10116
+ title?: string | undefined;
9977
10117
  project?: {
9978
10118
  name?: string | undefined;
9979
10119
  id?: string | undefined;
@@ -10009,8 +10149,8 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10009
10149
  author_name?: string | undefined;
10010
10150
  }[] | undefined;
10011
10151
  url?: string | undefined;
10012
- title?: string | undefined;
10013
10152
  content?: string | undefined;
10153
+ title?: string | undefined;
10014
10154
  project?: {
10015
10155
  name?: string | undefined;
10016
10156
  id?: string | undefined;
@@ -518,6 +518,60 @@ export const slackUserSearchSlackOutputSchema = z.object({
518
518
  })
519
519
  .describe("The current user who's running the search"),
520
520
  });
521
+ export const slackUserSearchSlackRTSParamsSchema = z.object({
522
+ query: z
523
+ .string()
524
+ .describe('The search query string (e.g., "What is project gizmo?", "mobile UX revamp"). You can use any Slack filters directly in the query string.'),
525
+ channelTypes: z
526
+ .array(z.enum(["public_channel", "private_channel", "mpim", "im"]))
527
+ .describe("Filter by channel types to search. If not specified, searches all channel types the user has access to.")
528
+ .optional(),
529
+ contentTypes: z
530
+ .array(z.enum(["messages", "files", "channels"]))
531
+ .describe("Filter by content types to include in search results.")
532
+ .default(["messages", "files", "channels"]),
533
+ includeBots: z.boolean().describe("Whether to include bot messages in search results.").default(false),
534
+ includeContextMessages: z
535
+ .boolean()
536
+ .describe("Whether to include contextual messages in search results.")
537
+ .default(false),
538
+ limit: z.number().gte(1).lte(20).describe("Maximum number of results per page (max 20).").default(20),
539
+ before: z
540
+ .string()
541
+ .describe("Optional UNIX timestamp filter. If present, filters for results before this date.")
542
+ .optional(),
543
+ after: z
544
+ .string()
545
+ .describe("Optional UNIX timestamp filter. If present, filters for results after this date.")
546
+ .optional(),
547
+ });
548
+ export const slackUserSearchSlackRTSOutputSchema = z.object({
549
+ ok: z.boolean().describe("Whether the request was successful."),
550
+ results: z
551
+ .object({
552
+ messages: z
553
+ .array(z.object({
554
+ author_user_id: z.string().describe("User ID of the message author."),
555
+ team_id: z.string().describe("Team/workspace ID where the message was posted."),
556
+ channel_id: z.string().describe("Channel ID where the message was posted."),
557
+ message_ts: z.string().describe("Message timestamp."),
558
+ content: z.string().describe("The message content/text."),
559
+ is_author_bot: z.boolean().describe("Whether the message author is a bot."),
560
+ permalink: z.string().describe("Permalink URL to the message in Slack.").optional(),
561
+ }))
562
+ .describe("Array of message results matching the search query.")
563
+ .optional(),
564
+ files: z
565
+ .array(z.object({
566
+ file_id: z.string().describe("File ID.").optional(),
567
+ title: z.string().describe("File title.").optional(),
568
+ permalink: z.string().describe("Permalink URL to the file in Slack.").optional(),
569
+ }))
570
+ .describe("Array of file results matching the search query (if files content type was requested).")
571
+ .optional(),
572
+ })
573
+ .describe("Search results containing messages and/or files."),
574
+ });
521
575
  export const mathAddParamsSchema = z.object({
522
576
  a: z.number().describe("The first number to add"),
523
577
  b: z.number().describe("The second number to add"),
@@ -0,0 +1,3 @@
1
+ import { type slackUserSearchSlackRTSFunction } from "../../autogen/types.js";
2
+ declare const searchSlackRTS: slackUserSearchSlackRTSFunction;
3
+ export default searchSlackRTS;
@@ -0,0 +1,66 @@
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 { WebClient } from "@slack/web-api";
11
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
12
+ /* ===================== MAIN EXPORT ===================== */
13
+ const searchSlackRTS = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
14
+ var _b, _c;
15
+ if (!authParams.authToken)
16
+ throw new Error(MISSING_AUTH_TOKEN);
17
+ const client = new WebClient(authParams.authToken);
18
+ const { query, channelTypes, contentTypes = ["messages", "files", "channels"], includeBots = false, limit = 20, includeContextMessages = true, before, after, } = params;
19
+ // Build the request parameters for assistant.search.context
20
+ const requestParams = {
21
+ query,
22
+ };
23
+ // Add optional parameters if provided
24
+ if (channelTypes && channelTypes.length > 0) {
25
+ requestParams.channel_types = channelTypes;
26
+ }
27
+ if (contentTypes && contentTypes.length > 0) {
28
+ requestParams.content_types = contentTypes;
29
+ }
30
+ if (includeBots !== undefined) {
31
+ requestParams.include_bots = includeBots;
32
+ }
33
+ if (limit) {
34
+ requestParams.limit = Math.min(limit, 20); // API max is 20, not handling pagination yet
35
+ }
36
+ if (includeContextMessages !== undefined) {
37
+ requestParams.include_context_messages = includeContextMessages;
38
+ }
39
+ if (before) {
40
+ requestParams.before = before;
41
+ }
42
+ if (after) {
43
+ requestParams.after = after;
44
+ }
45
+ try {
46
+ // Call the assistant.search.context API
47
+ const response = (yield client.apiCall("assistant.search.context", requestParams));
48
+ if (!response.ok) {
49
+ throw new Error(`Slack API error: ${response.error || "Unknown error"}`);
50
+ }
51
+ // Return the response in the expected format
52
+ return {
53
+ ok: response.ok,
54
+ results: {
55
+ messages: ((_b = response.results) === null || _b === void 0 ? void 0 : _b.messages) || [],
56
+ files: ((_c = response.results) === null || _c === void 0 ? void 0 : _c.files) || [],
57
+ },
58
+ };
59
+ }
60
+ catch (error) {
61
+ // Handle errors gracefully
62
+ const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
63
+ throw new Error(`Failed to search Slack using RTS API: ${errorMessage}`);
64
+ }
65
+ });
66
+ export default searchSlackRTS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.183",
3
+ "version": "0.2.184",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,