@credal/actions 0.2.109 → 0.2.110

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.
Files changed (31) hide show
  1. package/dist/actions/actionMapper.js +9 -1
  2. package/dist/actions/autogen/templates.d.ts +1 -0
  3. package/dist/actions/autogen/templates.js +116 -2
  4. package/dist/actions/autogen/types.d.ts +116 -20
  5. package/dist/actions/autogen/types.js +44 -1
  6. package/dist/actions/providers/confluence/updatePage.js +15 -14
  7. package/dist/actions/providers/jamf/types.d.ts +8 -0
  8. package/dist/actions/providers/jamf/types.js +7 -0
  9. package/dist/actions/providers/slackUser/searchSlack.d.ts +17 -0
  10. package/dist/actions/providers/slackUser/searchSlack.js +219 -0
  11. package/package.json +1 -1
  12. package/dist/actions/providers/generic/fillTemplateAction.d.ts +0 -7
  13. package/dist/actions/providers/generic/fillTemplateAction.js +0 -18
  14. package/dist/actions/providers/generic/genericApiCall.d.ts +0 -3
  15. package/dist/actions/providers/generic/genericApiCall.js +0 -38
  16. package/dist/actions/providers/google-oauth/getDriveContentById.d.ts +0 -3
  17. package/dist/actions/providers/google-oauth/getDriveContentById.js +0 -161
  18. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.d.ts +0 -3
  19. package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.js +0 -47
  20. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +0 -3
  21. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +0 -110
  22. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.d.ts +0 -3
  23. package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.js +0 -78
  24. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +0 -15
  25. package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +0 -129
  26. package/dist/actions/providers/googlemaps/nearbysearch.d.ts +0 -3
  27. package/dist/actions/providers/googlemaps/nearbysearch.js +0 -96
  28. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +0 -3
  29. package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +0 -154
  30. package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +0 -3
  31. package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +0 -45
@@ -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, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, 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, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, 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, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, } 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, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, 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, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, 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, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, } 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";
@@ -148,6 +148,7 @@ import searchAndScrape from "./providers/firecrawl/searchAndScrape.js";
148
148
  import firecrawlGetTopNSearchResultUrls from "./providers/firecrawl/getTopNSearchResultUrls.js";
149
149
  import searchDriveByKeywordsAndGetFileContent from "./providers/google-oauth/searchDriveByKeywordsAndGetFileContent.js";
150
150
  import perplexityDeepResearch from "./providers/perplexity/perplexityDeepResearch.js";
151
+ import searchSlack from "./providers/slackUser/searchSlack.js";
151
152
  const jiraActions = {
152
153
  getJiraIssuesByQuery: {
153
154
  fn: getJiraIssuesByQuery,
@@ -298,6 +299,13 @@ export const ActionMapper = {
298
299
  outputSchema: slackCreateChannelOutputSchema,
299
300
  },
300
301
  },
302
+ slackUser: {
303
+ searchSlack: {
304
+ fn: searchSlack,
305
+ paramsSchema: slackUserSearchSlackParamsSchema,
306
+ outputSchema: slackUserSearchSlackOutputSchema,
307
+ },
308
+ },
301
309
  confluence: {
302
310
  overwritePage: {
303
311
  fn: confluenceOverwritePage,
@@ -10,6 +10,7 @@ export declare const asanaGetTasksDetailsDefinition: ActionTemplate;
10
10
  export declare const slackCreateChannelDefinition: ActionTemplate;
11
11
  export declare const slackSendMessageDefinition: ActionTemplate;
12
12
  export declare const slackGetChannelMessagesDefinition: ActionTemplate;
13
+ export declare const slackUserSearchSlackDefinition: ActionTemplate;
13
14
  export declare const mathAddDefinition: ActionTemplate;
14
15
  export declare const confluenceOverwritePageDefinition: ActionTemplate;
15
16
  export declare const confluenceFetchPageContentDefinition: ActionTemplate;
@@ -720,6 +720,120 @@ export const slackGetChannelMessagesDefinition = {
720
720
  name: "getChannelMessages",
721
721
  provider: "slack",
722
722
  };
723
+ export const slackUserSearchSlackDefinition = {
724
+ description: "Search Slack (DM/MPIM by emails or channel) with optional topic/time filter. Automatically hydrates each hit (full thread if threaded, otherwise a small surrounding context).",
725
+ scopes: [
726
+ "search:read",
727
+ "channels:read",
728
+ "groups:read",
729
+ "im:read",
730
+ "mpim:read",
731
+ "channels:history",
732
+ "groups:history",
733
+ "im:history",
734
+ "mpim:history",
735
+ "users:read.email",
736
+ ],
737
+ parameters: {
738
+ type: "object",
739
+ required: [],
740
+ properties: {
741
+ emails: {
742
+ type: "array",
743
+ description: "Participants identified strictly by email (one email = 1:1 DM, multiple = MPIM).",
744
+ items: {
745
+ type: "string",
746
+ format: "email",
747
+ },
748
+ },
749
+ channel: {
750
+ type: "string",
751
+ description: 'Channel name or ID. Examples - "#eng-updates", "eng-updates", "C01234567".',
752
+ },
753
+ topic: {
754
+ type: "string",
755
+ description: 'Keyword(s) to search for (e.g., "jogging decision").',
756
+ },
757
+ timeRange: {
758
+ type: "string",
759
+ description: "Optional time filter applied to the search.",
760
+ enum: ["latest", "today", "yesterday", "last_7d", "last_30d", "all"],
761
+ default: "latest",
762
+ },
763
+ limit: {
764
+ type: "integer",
765
+ description: "Max matches to request (passed to Slack search; results are then hydrated and sorted newest-first).",
766
+ minimum: 1,
767
+ maximum: 100,
768
+ default: 50,
769
+ },
770
+ },
771
+ },
772
+ output: {
773
+ type: "object",
774
+ required: ["query", "results"],
775
+ properties: {
776
+ query: {
777
+ type: "string",
778
+ description: "The exact query string sent to Slack’s search API after resolving inputs.",
779
+ },
780
+ results: {
781
+ type: "array",
782
+ description: "Hydrated search results (threads or small context windows), sorted by ts desc.",
783
+ items: {
784
+ type: "object",
785
+ required: ["channelId", "ts"],
786
+ properties: {
787
+ channelId: {
788
+ type: "string",
789
+ description: "Slack channel/conversation ID (C…/G…/D… or name).",
790
+ },
791
+ ts: {
792
+ type: "string",
793
+ description: "Slack message timestamp of the hit (or thread root when hydrated as thread).",
794
+ },
795
+ text: {
796
+ type: "string",
797
+ description: "Message text of the anchor (hit or thread root).",
798
+ },
799
+ userId: {
800
+ type: "string",
801
+ description: "User ID of the anchor message’s author (if available).",
802
+ },
803
+ permalink: {
804
+ type: "string",
805
+ description: "A Slack permalink to the anchor (message or thread root), if resolvable.",
806
+ },
807
+ context: {
808
+ type: "array",
809
+ description: "When a hit is in a thread, this is the full thread (root first). Otherwise, a small surrounding context window (~3 before, 5 after).",
810
+ items: {
811
+ type: "object",
812
+ required: ["ts"],
813
+ properties: {
814
+ ts: {
815
+ type: "string",
816
+ description: "Timestamp of the contextual message.",
817
+ },
818
+ text: {
819
+ type: "string",
820
+ description: "Text of the contextual message.",
821
+ },
822
+ userId: {
823
+ type: "string",
824
+ description: "Author user ID of the contextual message.",
825
+ },
826
+ },
827
+ },
828
+ },
829
+ },
830
+ },
831
+ },
832
+ },
833
+ },
834
+ name: "searchSlack",
835
+ provider: "slackUser",
836
+ };
723
837
  export const mathAddDefinition = {
724
838
  description: "Adds two numbers together",
725
839
  scopes: [],
@@ -4447,7 +4561,7 @@ export const googleOauthUpdateDocDefinition = {
4447
4561
  provider: "googleOauth",
4448
4562
  };
4449
4563
  export const googleOauthScheduleCalendarMeetingDefinition = {
4450
- description: "Schedule a meeting on google calendar using OAuth authentication. Supports both one-time and recurring meetings.",
4564
+ description: "Schedule a meeting on google calendar using OAuth authentication",
4451
4565
  scopes: [],
4452
4566
  parameters: {
4453
4567
  type: "object",
@@ -4510,7 +4624,7 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
4510
4624
  },
4511
4625
  until: {
4512
4626
  type: "string",
4513
- description: "End date for the recurrence in RFC3339 format (YYYY-MM-DDTHH:MM:SSZ)",
4627
+ description: "End date for the recurrence in RFC3339 format (YYYY-MM-DD)",
4514
4628
  },
4515
4629
  byDay: {
4516
4630
  type: "array",
@@ -4,6 +4,7 @@ export declare enum ProviderName {
4
4
  PERPLEXITY = "perplexity",
5
5
  ASANA = "asana",
6
6
  SLACK = "slack",
7
+ SLACKUSER = "slackUser",
7
8
  MATH = "math",
8
9
  CONFLUENCE = "confluence",
9
10
  JIRA = "jira",
@@ -860,6 +861,101 @@ export declare const slackGetChannelMessagesOutputSchema: z.ZodObject<{
860
861
  }>;
861
862
  export type slackGetChannelMessagesOutputType = z.infer<typeof slackGetChannelMessagesOutputSchema>;
862
863
  export type slackGetChannelMessagesFunction = ActionFunction<slackGetChannelMessagesParamsType, AuthParamsType, slackGetChannelMessagesOutputType>;
864
+ export declare const slackUserSearchSlackParamsSchema: z.ZodObject<{
865
+ emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
866
+ channel: z.ZodOptional<z.ZodString>;
867
+ topic: z.ZodOptional<z.ZodString>;
868
+ timeRange: z.ZodDefault<z.ZodEnum<["latest", "today", "yesterday", "last_7d", "last_30d", "all"]>>;
869
+ limit: z.ZodDefault<z.ZodNumber>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ timeRange: "latest" | "today" | "yesterday" | "last_7d" | "last_30d" | "all";
872
+ limit: number;
873
+ emails?: string[] | undefined;
874
+ channel?: string | undefined;
875
+ topic?: string | undefined;
876
+ }, {
877
+ emails?: string[] | undefined;
878
+ channel?: string | undefined;
879
+ topic?: string | undefined;
880
+ timeRange?: "latest" | "today" | "yesterday" | "last_7d" | "last_30d" | "all" | undefined;
881
+ limit?: number | undefined;
882
+ }>;
883
+ export type slackUserSearchSlackParamsType = z.infer<typeof slackUserSearchSlackParamsSchema>;
884
+ export declare const slackUserSearchSlackOutputSchema: z.ZodObject<{
885
+ query: z.ZodString;
886
+ results: z.ZodArray<z.ZodObject<{
887
+ channelId: z.ZodString;
888
+ ts: z.ZodString;
889
+ text: z.ZodOptional<z.ZodString>;
890
+ userId: z.ZodOptional<z.ZodString>;
891
+ permalink: z.ZodOptional<z.ZodString>;
892
+ context: z.ZodOptional<z.ZodArray<z.ZodObject<{
893
+ ts: z.ZodString;
894
+ text: z.ZodOptional<z.ZodString>;
895
+ userId: z.ZodOptional<z.ZodString>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ ts: string;
898
+ text?: string | undefined;
899
+ userId?: string | undefined;
900
+ }, {
901
+ ts: string;
902
+ text?: string | undefined;
903
+ userId?: string | undefined;
904
+ }>, "many">>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ channelId: string;
907
+ ts: string;
908
+ text?: string | undefined;
909
+ userId?: string | undefined;
910
+ permalink?: string | undefined;
911
+ context?: {
912
+ ts: string;
913
+ text?: string | undefined;
914
+ userId?: string | undefined;
915
+ }[] | undefined;
916
+ }, {
917
+ channelId: string;
918
+ ts: string;
919
+ text?: string | undefined;
920
+ userId?: string | undefined;
921
+ permalink?: string | undefined;
922
+ context?: {
923
+ ts: string;
924
+ text?: string | undefined;
925
+ userId?: string | undefined;
926
+ }[] | undefined;
927
+ }>, "many">;
928
+ }, "strip", z.ZodTypeAny, {
929
+ query: string;
930
+ results: {
931
+ channelId: string;
932
+ ts: string;
933
+ text?: string | undefined;
934
+ userId?: string | undefined;
935
+ permalink?: string | undefined;
936
+ context?: {
937
+ ts: string;
938
+ text?: string | undefined;
939
+ userId?: string | undefined;
940
+ }[] | undefined;
941
+ }[];
942
+ }, {
943
+ query: string;
944
+ results: {
945
+ channelId: string;
946
+ ts: string;
947
+ text?: string | undefined;
948
+ userId?: string | undefined;
949
+ permalink?: string | undefined;
950
+ context?: {
951
+ ts: string;
952
+ text?: string | undefined;
953
+ userId?: string | undefined;
954
+ }[] | undefined;
955
+ }[];
956
+ }>;
957
+ export type slackUserSearchSlackOutputType = z.infer<typeof slackUserSearchSlackOutputSchema>;
958
+ export type slackUserSearchSlackFunction = ActionFunction<slackUserSearchSlackParamsType, AuthParamsType, slackUserSearchSlackOutputType>;
863
959
  export declare const mathAddParamsSchema: z.ZodObject<{
864
960
  a: z.ZodNumber;
865
961
  b: z.ZodNumber;
@@ -4491,21 +4587,21 @@ export declare const googleOauthListGroupMembersOutputSchema: z.ZodObject<{
4491
4587
  }, "strip", z.ZodTypeAny, {
4492
4588
  type: string;
4493
4589
  id: string;
4494
- role: string;
4495
4590
  email: string;
4591
+ role: string;
4496
4592
  }, {
4497
4593
  type: string;
4498
4594
  id: string;
4499
- role: string;
4500
4595
  email: string;
4596
+ role: string;
4501
4597
  }>, "many">;
4502
4598
  error: z.ZodOptional<z.ZodString>;
4503
4599
  }, "strip", z.ZodTypeAny, {
4504
4600
  members: {
4505
4601
  type: string;
4506
4602
  id: string;
4507
- role: string;
4508
4603
  email: string;
4604
+ role: string;
4509
4605
  }[];
4510
4606
  success: boolean;
4511
4607
  error?: string | undefined;
@@ -4513,8 +4609,8 @@ export declare const googleOauthListGroupMembersOutputSchema: z.ZodObject<{
4513
4609
  members: {
4514
4610
  type: string;
4515
4611
  id: string;
4516
- role: string;
4517
4612
  email: string;
4613
+ role: string;
4518
4614
  }[];
4519
4615
  success: boolean;
4520
4616
  error?: string | undefined;
@@ -4895,9 +4991,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4895
4991
  zipCode: z.ZodOptional<z.ZodString>;
4896
4992
  countryCode: z.ZodOptional<z.ZodString>;
4897
4993
  }, "strip", z.ZodTypeAny, {
4994
+ email?: string | undefined;
4898
4995
  title?: string | undefined;
4899
4996
  organization?: string | undefined;
4900
- email?: string | undefined;
4901
4997
  firstName?: string | undefined;
4902
4998
  lastName?: string | undefined;
4903
4999
  state?: string | undefined;
@@ -4919,9 +5015,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4919
5015
  zipCode?: string | undefined;
4920
5016
  countryCode?: string | undefined;
4921
5017
  }, {
5018
+ email?: string | undefined;
4922
5019
  title?: string | undefined;
4923
5020
  organization?: string | undefined;
4924
- email?: string | undefined;
4925
5021
  firstName?: string | undefined;
4926
5022
  lastName?: string | undefined;
4927
5023
  state?: string | undefined;
@@ -4950,9 +5046,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4950
5046
  status?: string | undefined;
4951
5047
  created?: string | undefined;
4952
5048
  profile?: {
5049
+ email?: string | undefined;
4953
5050
  title?: string | undefined;
4954
5051
  organization?: string | undefined;
4955
- email?: string | undefined;
4956
5052
  firstName?: string | undefined;
4957
5053
  lastName?: string | undefined;
4958
5054
  state?: string | undefined;
@@ -4986,9 +5082,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
4986
5082
  status?: string | undefined;
4987
5083
  created?: string | undefined;
4988
5084
  profile?: {
5085
+ email?: string | undefined;
4989
5086
  title?: string | undefined;
4990
5087
  organization?: string | undefined;
4991
- email?: string | undefined;
4992
5088
  firstName?: string | undefined;
4993
5089
  lastName?: string | undefined;
4994
5090
  state?: string | undefined;
@@ -5027,9 +5123,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
5027
5123
  status?: string | undefined;
5028
5124
  created?: string | undefined;
5029
5125
  profile?: {
5126
+ email?: string | undefined;
5030
5127
  title?: string | undefined;
5031
5128
  organization?: string | undefined;
5032
- email?: string | undefined;
5033
5129
  firstName?: string | undefined;
5034
5130
  lastName?: string | undefined;
5035
5131
  state?: string | undefined;
@@ -5067,9 +5163,9 @@ export declare const oktaGetOktaUserOutputSchema: z.ZodObject<{
5067
5163
  status?: string | undefined;
5068
5164
  created?: string | undefined;
5069
5165
  profile?: {
5166
+ email?: string | undefined;
5070
5167
  title?: string | undefined;
5071
5168
  organization?: string | undefined;
5072
- email?: string | undefined;
5073
5169
  firstName?: string | undefined;
5074
5170
  lastName?: string | undefined;
5075
5171
  state?: string | undefined;
@@ -5918,18 +6014,18 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
5918
6014
  end?: number | undefined;
5919
6015
  }>, "many">>;
5920
6016
  }, "strip", z.ZodTypeAny, {
6017
+ topic?: string | null | undefined;
5921
6018
  speakerName?: string | undefined;
5922
6019
  speakerEmail?: string | undefined;
5923
- topic?: string | null | undefined;
5924
6020
  sentences?: {
5925
6021
  text?: string | undefined;
5926
6022
  start?: number | undefined;
5927
6023
  end?: number | undefined;
5928
6024
  }[] | undefined;
5929
6025
  }, {
6026
+ topic?: string | null | undefined;
5930
6027
  speakerName?: string | undefined;
5931
6028
  speakerEmail?: string | undefined;
5932
- topic?: string | null | undefined;
5933
6029
  sentences?: {
5934
6030
  text?: string | undefined;
5935
6031
  start?: number | undefined;
@@ -5941,9 +6037,9 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
5941
6037
  callName?: string | undefined;
5942
6038
  startTime?: string | undefined;
5943
6039
  transcript?: {
6040
+ topic?: string | null | undefined;
5944
6041
  speakerName?: string | undefined;
5945
6042
  speakerEmail?: string | undefined;
5946
- topic?: string | null | undefined;
5947
6043
  sentences?: {
5948
6044
  text?: string | undefined;
5949
6045
  start?: number | undefined;
@@ -5955,9 +6051,9 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
5955
6051
  callName?: string | undefined;
5956
6052
  startTime?: string | undefined;
5957
6053
  transcript?: {
6054
+ topic?: string | null | undefined;
5958
6055
  speakerName?: string | undefined;
5959
6056
  speakerEmail?: string | undefined;
5960
- topic?: string | null | undefined;
5961
6057
  sentences?: {
5962
6058
  text?: string | undefined;
5963
6059
  start?: number | undefined;
@@ -5974,9 +6070,9 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
5974
6070
  callName?: string | undefined;
5975
6071
  startTime?: string | undefined;
5976
6072
  transcript?: {
6073
+ topic?: string | null | undefined;
5977
6074
  speakerName?: string | undefined;
5978
6075
  speakerEmail?: string | undefined;
5979
- topic?: string | null | undefined;
5980
6076
  sentences?: {
5981
6077
  text?: string | undefined;
5982
6078
  start?: number | undefined;
@@ -5992,9 +6088,9 @@ export declare const gongGetGongTranscriptsOutputSchema: z.ZodObject<{
5992
6088
  callName?: string | undefined;
5993
6089
  startTime?: string | undefined;
5994
6090
  transcript?: {
6091
+ topic?: string | null | undefined;
5995
6092
  speakerName?: string | undefined;
5996
6093
  speakerEmail?: string | undefined;
5997
- topic?: string | null | undefined;
5998
6094
  sentences?: {
5999
6095
  text?: string | undefined;
6000
6096
  start?: number | undefined;
@@ -6343,12 +6439,12 @@ export declare const ashbyCreateCandidateParamsSchema: z.ZodObject<{
6343
6439
  }>>;
6344
6440
  }, "strip", z.ZodTypeAny, {
6345
6441
  name: string;
6442
+ email?: string | undefined;
6346
6443
  location?: {
6347
6444
  city?: string | undefined;
6348
6445
  region?: string | undefined;
6349
6446
  country?: string | undefined;
6350
6447
  } | undefined;
6351
- email?: string | undefined;
6352
6448
  phoneNumber?: string | undefined;
6353
6449
  linkedInUrl?: string | undefined;
6354
6450
  githubUrl?: string | undefined;
@@ -6358,12 +6454,12 @@ export declare const ashbyCreateCandidateParamsSchema: z.ZodObject<{
6358
6454
  creditedToUserId?: string | undefined;
6359
6455
  }, {
6360
6456
  name: string;
6457
+ email?: string | undefined;
6361
6458
  location?: {
6362
6459
  city?: string | undefined;
6363
6460
  region?: string | undefined;
6364
6461
  country?: string | undefined;
6365
6462
  } | undefined;
6366
- email?: string | undefined;
6367
6463
  phoneNumber?: string | undefined;
6368
6464
  linkedInUrl?: string | undefined;
6369
6465
  githubUrl?: string | undefined;
@@ -6415,12 +6511,12 @@ export declare const ashbyUpdateCandidateParamsSchema: z.ZodObject<{
6415
6511
  }, "strip", z.ZodTypeAny, {
6416
6512
  candidateId: string;
6417
6513
  name?: string | undefined;
6514
+ email?: string | undefined;
6418
6515
  location?: {
6419
6516
  city?: string | undefined;
6420
6517
  region?: string | undefined;
6421
6518
  country?: string | undefined;
6422
6519
  } | undefined;
6423
- email?: string | undefined;
6424
6520
  phoneNumber?: string | undefined;
6425
6521
  linkedInUrl?: string | undefined;
6426
6522
  githubUrl?: string | undefined;
@@ -6437,12 +6533,12 @@ export declare const ashbyUpdateCandidateParamsSchema: z.ZodObject<{
6437
6533
  }, {
6438
6534
  candidateId: string;
6439
6535
  name?: string | undefined;
6536
+ email?: string | undefined;
6440
6537
  location?: {
6441
6538
  city?: string | undefined;
6442
6539
  region?: string | undefined;
6443
6540
  country?: string | undefined;
6444
6541
  } | undefined;
6445
- email?: string | undefined;
6446
6542
  phoneNumber?: string | undefined;
6447
6543
  linkedInUrl?: string | undefined;
6448
6544
  githubUrl?: string | undefined;
@@ -5,6 +5,7 @@ export var ProviderName;
5
5
  ProviderName["PERPLEXITY"] = "perplexity";
6
6
  ProviderName["ASANA"] = "asana";
7
7
  ProviderName["SLACK"] = "slack";
8
+ ProviderName["SLACKUSER"] = "slackUser";
8
9
  ProviderName["MATH"] = "math";
9
10
  ProviderName["CONFLUENCE"] = "confluence";
10
11
  ProviderName["JIRA"] = "jira";
@@ -274,6 +275,48 @@ export const slackGetChannelMessagesOutputSchema = z.object({
274
275
  .describe("A message in the channel"))
275
276
  .describe("The messages in the channel"),
276
277
  });
278
+ export const slackUserSearchSlackParamsSchema = z.object({
279
+ emails: z
280
+ .array(z.string().email())
281
+ .describe("Participants identified strictly by email (one email = 1:1 DM, multiple = MPIM).")
282
+ .optional(),
283
+ channel: z.string().describe('Channel name or ID. Examples - "#eng-updates", "eng-updates", "C01234567".').optional(),
284
+ topic: z.string().describe('Keyword(s) to search for (e.g., "jogging decision").').optional(),
285
+ timeRange: z
286
+ .enum(["latest", "today", "yesterday", "last_7d", "last_30d", "all"])
287
+ .describe("Optional time filter applied to the search.")
288
+ .default("latest"),
289
+ limit: z
290
+ .number()
291
+ .int()
292
+ .gte(1)
293
+ .lte(100)
294
+ .describe("Max matches to request (passed to Slack search; results are then hydrated and sorted newest-first).")
295
+ .default(50),
296
+ });
297
+ export const slackUserSearchSlackOutputSchema = z.object({
298
+ query: z.string().describe("The exact query string sent to Slack’s search API after resolving inputs."),
299
+ results: z
300
+ .array(z.object({
301
+ channelId: z.string().describe("Slack channel/conversation ID (C…/G…/D… or name)."),
302
+ ts: z.string().describe("Slack message timestamp of the hit (or thread root when hydrated as thread)."),
303
+ text: z.string().describe("Message text of the anchor (hit or thread root).").optional(),
304
+ userId: z.string().describe("User ID of the anchor message’s author (if available).").optional(),
305
+ permalink: z
306
+ .string()
307
+ .describe("A Slack permalink to the anchor (message or thread root), if resolvable.")
308
+ .optional(),
309
+ context: z
310
+ .array(z.object({
311
+ ts: z.string().describe("Timestamp of the contextual message."),
312
+ text: z.string().describe("Text of the contextual message.").optional(),
313
+ userId: z.string().describe("Author user ID of the contextual message.").optional(),
314
+ }))
315
+ .describe("When a hit is in a thread, this is the full thread (root first). Otherwise, a small surrounding context window (~3 before, 5 after).")
316
+ .optional(),
317
+ }))
318
+ .describe("Hydrated search results (threads or small context windows), sorted by ts desc."),
319
+ });
277
320
  export const mathAddParamsSchema = z.object({
278
321
  a: z.number().describe("The first number to add"),
279
322
  b: z.number().describe("The second number to add"),
@@ -1546,7 +1589,7 @@ export const googleOauthScheduleCalendarMeetingParamsSchema = z.object({
1546
1589
  frequency: z.enum(["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]).describe("How often the meeting repeats").optional(),
1547
1590
  interval: z.number().int().gte(1).describe("The interval between recurrences (e.g., every 2 weeks)").optional(),
1548
1591
  count: z.number().int().gte(1).describe("Number of occurrences after which to stop the recurrence").optional(),
1549
- until: z.string().describe("End date for the recurrence in RFC3339 format (YYYY-MM-DDTHH:MM:SSZ)").optional(),
1592
+ until: z.string().describe("End date for the recurrence in RFC3339 format (YYYY-MM-DD)").optional(),
1550
1593
  byDay: z
1551
1594
  .array(z.enum(["MO", "TU", "WE", "TH", "FR", "SA", "SU"]))
1552
1595
  .describe("Days of the week when the meeting occurs (for WEEKLY frequency)")
@@ -8,28 +8,30 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
- const axiosClient_1 = require("../../util/axiosClient");
13
- function getConfluenceRequestConfig(baseUrl, username, apiToken) {
14
- return {
15
+ const axios_1 = __importDefault(require("axios"));
16
+ function getConfluenceApi(baseUrl, username, apiToken) {
17
+ const api = axios_1.default.create({
15
18
  baseURL: baseUrl,
16
19
  headers: {
17
20
  Accept: "application/json",
21
+ // Tokens are associated with a specific user.
18
22
  Authorization: `Basic ${Buffer.from(`${username}:${apiToken}`).toString("base64")}`,
19
23
  },
20
- };
24
+ });
25
+ return api;
21
26
  }
22
27
  const confluenceUpdatePage = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
23
- const { pageId, content, title } = params;
24
- const { baseUrl, authToken, username } = authParams;
25
- if (!baseUrl || !authToken || !username) {
26
- throw new Error("Missing required authentication information");
27
- }
28
- const config = getConfluenceRequestConfig(baseUrl, username, authToken);
28
+ const { pageId, username, content, title } = params;
29
+ const { baseUrl, authToken } = authParams;
30
+ const api = getConfluenceApi(baseUrl, username, authToken);
29
31
  // Get current version number
30
- const response = yield axiosClient_1.axiosClient.get(`/api/v2/pages/${pageId}`, config);
32
+ const response = yield api.get(`/api/v2/pages/${pageId}`);
31
33
  const currVersion = response.data.version.number;
32
- const payload = {
34
+ yield api.put(`/api/v2/pages/${pageId}`, {
33
35
  id: pageId,
34
36
  status: "current",
35
37
  title,
@@ -40,7 +42,6 @@ const confluenceUpdatePage = (_a) => __awaiter(void 0, [_a], void 0, function* (
40
42
  version: {
41
43
  number: currVersion + 1,
42
44
  },
43
- };
44
- yield axiosClient_1.axiosClient.put(`/api/v2/pages/${pageId}`, payload, config);
45
+ });
45
46
  });
46
47
  exports.default = confluenceUpdatePage;