@credal/actions 0.2.223 → 0.2.225

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 (83) hide show
  1. package/dist/actions/actionMapper.js +29 -1
  2. package/dist/actions/autogen/templates.d.ts +4 -0
  3. package/dist/actions/autogen/templates.js +385 -4
  4. package/dist/actions/autogen/types.d.ts +379 -0
  5. package/dist/actions/autogen/types.js +161 -4
  6. package/dist/actions/providers/ashby/addCandidateToProject.d.ts +3 -0
  7. package/dist/actions/providers/ashby/addCandidateToProject.js +31 -0
  8. package/dist/actions/providers/ashby/createCandidate.d.ts +3 -0
  9. package/dist/actions/providers/ashby/createCandidate.js +38 -0
  10. package/dist/actions/providers/ashby/createNote.d.ts +3 -0
  11. package/dist/actions/providers/ashby/createNote.js +31 -0
  12. package/dist/actions/providers/ashby/getCandidateInfo.d.ts +3 -0
  13. package/dist/actions/providers/ashby/getCandidateInfo.js +33 -0
  14. package/dist/actions/providers/ashby/listCandidateNotes.d.ts +3 -0
  15. package/dist/actions/providers/ashby/listCandidateNotes.js +33 -0
  16. package/dist/actions/providers/ashby/listCandidates.d.ts +3 -0
  17. package/dist/actions/providers/ashby/listCandidates.js +30 -0
  18. package/dist/actions/providers/ashby/searchCandidates.d.ts +3 -0
  19. package/dist/actions/providers/ashby/searchCandidates.js +34 -0
  20. package/dist/actions/providers/ashby/updateCandidate.d.ts +3 -0
  21. package/dist/actions/providers/ashby/updateCandidate.js +56 -0
  22. package/dist/actions/providers/github/searchRepository.js +7 -7
  23. package/dist/actions/providers/gong/getGongTranscripts.d.ts +3 -0
  24. package/dist/actions/providers/gong/getGongTranscripts.js +315 -0
  25. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.d.ts +3 -0
  26. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.js +41 -0
  27. package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +3 -0
  28. package/dist/actions/providers/jamf/getJamfComputerInventory.js +37 -0
  29. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +3 -0
  30. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +39 -0
  31. package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +3 -0
  32. package/dist/actions/providers/jamf/getJamfUserComputerId.js +45 -0
  33. package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +3 -0
  34. package/dist/actions/providers/jamf/lockJamfComputerById.js +39 -0
  35. package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +3 -0
  36. package/dist/actions/providers/jira/updateServiceDeskRequest.js +72 -0
  37. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +3 -0
  38. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +85 -0
  39. package/dist/actions/providers/microsoft/createDocument.js +3 -4
  40. package/dist/actions/providers/microsoft/getDocument.js +3 -6
  41. package/dist/actions/providers/microsoft/getSharepointItem.d.ts +3 -0
  42. package/dist/actions/providers/microsoft/getSharepointItem.js +61 -0
  43. package/dist/actions/providers/microsoft/listSharepointFolder.d.ts +3 -0
  44. package/dist/actions/providers/microsoft/listSharepointFolder.js +92 -0
  45. package/dist/actions/providers/microsoft/readSharepointContent.d.ts +3 -0
  46. package/dist/actions/providers/microsoft/readSharepointContent.js +157 -0
  47. package/dist/actions/providers/microsoft/searchSharepoint.d.ts +3 -0
  48. package/dist/actions/providers/microsoft/searchSharepoint.js +147 -0
  49. package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +3 -0
  50. package/dist/actions/providers/microsoft/sendOutlookEmail.js +48 -0
  51. package/dist/actions/providers/microsoft/sharepointUtils.d.ts +56 -0
  52. package/dist/actions/providers/microsoft/sharepointUtils.js +153 -0
  53. package/dist/actions/providers/microsoft/updateDocument.js +3 -6
  54. package/dist/actions/providers/microsoft/updateSpreadsheet.js +3 -4
  55. package/dist/actions/providers/microsoft/utils.d.ts +10 -0
  56. package/dist/actions/providers/microsoft/utils.js +9 -0
  57. package/dist/actions/providers/okta/addUserToGroup.d.ts +3 -0
  58. package/dist/actions/providers/okta/addUserToGroup.js +56 -0
  59. package/dist/actions/providers/okta/getOktaGroup.d.ts +3 -0
  60. package/dist/actions/providers/okta/getOktaGroup.js +73 -0
  61. package/dist/actions/providers/okta/getOktaUser.d.ts +3 -0
  62. package/dist/actions/providers/okta/getOktaUser.js +40 -0
  63. package/dist/actions/providers/okta/listMFA.d.ts +3 -0
  64. package/dist/actions/providers/okta/listMFA.js +52 -0
  65. package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +3 -0
  66. package/dist/actions/providers/okta/listOktaGroupMembers.js +99 -0
  67. package/dist/actions/providers/okta/listOktaGroups.d.ts +3 -0
  68. package/dist/actions/providers/okta/listOktaGroups.js +92 -0
  69. package/dist/actions/providers/okta/listOktaUserGroups.d.ts +3 -0
  70. package/dist/actions/providers/okta/listOktaUserGroups.js +83 -0
  71. package/dist/actions/providers/okta/listOktaUsers.d.ts +3 -0
  72. package/dist/actions/providers/okta/listOktaUsers.js +100 -0
  73. package/dist/actions/providers/okta/removeUserFromGroup.d.ts +3 -0
  74. package/dist/actions/providers/okta/removeUserFromGroup.js +56 -0
  75. package/dist/actions/providers/okta/resetMFA.d.ts +3 -0
  76. package/dist/actions/providers/okta/resetMFA.js +62 -0
  77. package/dist/actions/providers/okta/resetPassword.d.ts +3 -0
  78. package/dist/actions/providers/okta/resetPassword.js +57 -0
  79. package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +3 -0
  80. package/dist/actions/providers/okta/triggerOktaWorkflow.js +44 -0
  81. package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +3 -0
  82. package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +40 -0
  83. package/package.json +2 -2
@@ -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, servicenowGetRecordsByQueryOutputSchema, servicenowGetRecordsByQueryParamsSchema, servicenowGetIncidentsOutputSchema, servicenowGetIncidentsParamsSchema, servicenowGetChangeRequestsOutputSchema, servicenowGetChangeRequestsParamsSchema, servicenowGetSCTasksOutputSchema, servicenowGetSCTasksParamsSchema, servicenowGetVIPTicketsOutputSchema, servicenowGetVIPTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterCreatePageParamsSchema, confluenceDataCenterCreatePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, smartsheetListSheetsParamsSchema, smartsheetListSheetsOutputSchema, smartsheetGetSheetRowsParamsSchema, smartsheetGetSheetRowsOutputSchema, smartsheetAddRowToSheetParamsSchema, smartsheetAddRowToSheetOutputSchema, smartsheetUpdateRowParamsSchema, smartsheetUpdateRowOutputSchema, } 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, servicenowGetRecordsByQueryOutputSchema, servicenowGetRecordsByQueryParamsSchema, servicenowGetIncidentsOutputSchema, servicenowGetIncidentsParamsSchema, servicenowGetChangeRequestsOutputSchema, servicenowGetChangeRequestsParamsSchema, servicenowGetSCTasksOutputSchema, servicenowGetSCTasksParamsSchema, servicenowGetVIPTicketsOutputSchema, servicenowGetVIPTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterCreatePageParamsSchema, confluenceDataCenterCreatePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, microsoftGetSharepointItemParamsSchema, microsoftGetSharepointItemOutputSchema, microsoftListSharepointFolderParamsSchema, microsoftListSharepointFolderOutputSchema, microsoftReadSharepointContentParamsSchema, microsoftReadSharepointContentOutputSchema, microsoftSearchSharepointParamsSchema, microsoftSearchSharepointOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, smartsheetListSheetsParamsSchema, smartsheetListSheetsOutputSchema, smartsheetGetSheetRowsParamsSchema, smartsheetGetSheetRowsOutputSchema, smartsheetAddRowToSheetParamsSchema, smartsheetAddRowToSheetOutputSchema, smartsheetUpdateRowParamsSchema, smartsheetUpdateRowOutputSchema, } 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";
@@ -82,6 +82,10 @@ import microsoftUpdateSpreadsheet from "./providers/microsoft/updateSpreadsheet.
82
82
  import updateDocument from "./providers/microsoft/updateDocument.js";
83
83
  import createDocument from "./providers/microsoft/createDocument.js";
84
84
  import getDocument from "./providers/microsoft/getDocument.js";
85
+ import getSharepointItem from "./providers/microsoft/getSharepointItem.js";
86
+ import listSharepointFolder from "./providers/microsoft/listSharepointFolder.js";
87
+ import readSharepointContent from "./providers/microsoft/readSharepointContent.js";
88
+ import searchSharepoint from "./providers/microsoft/searchSharepoint.js";
85
89
  import deepResearch from "./providers/firecrawl/deepResearch.js";
86
90
  import listPullRequests from "./providers/github/listPullRequests.js";
87
91
  import getJiraIssuesByQuery from "./providers/jira/getJiraIssuesByQuery.js";
@@ -970,6 +974,30 @@ export const ActionMapper = {
970
974
  outputSchema: microsoftGetDocumentOutputSchema,
971
975
  actionType: "read",
972
976
  },
977
+ getSharepointItem: {
978
+ fn: getSharepointItem,
979
+ paramsSchema: microsoftGetSharepointItemParamsSchema,
980
+ outputSchema: microsoftGetSharepointItemOutputSchema,
981
+ actionType: "read",
982
+ },
983
+ listSharepointFolder: {
984
+ fn: listSharepointFolder,
985
+ paramsSchema: microsoftListSharepointFolderParamsSchema,
986
+ outputSchema: microsoftListSharepointFolderOutputSchema,
987
+ actionType: "read",
988
+ },
989
+ readSharepointContent: {
990
+ fn: readSharepointContent,
991
+ paramsSchema: microsoftReadSharepointContentParamsSchema,
992
+ outputSchema: microsoftReadSharepointContentOutputSchema,
993
+ actionType: "read",
994
+ },
995
+ searchSharepoint: {
996
+ fn: searchSharepoint,
997
+ paramsSchema: microsoftSearchSharepointParamsSchema,
998
+ outputSchema: microsoftSearchSharepointOutputSchema,
999
+ actionType: "read",
1000
+ },
973
1001
  },
974
1002
  github: {
975
1003
  searchOrganization: {
@@ -142,6 +142,10 @@ export declare const microsoftUpdateSpreadsheetDefinition: ActionTemplate;
142
142
  export declare const microsoftMessageTeamsChatDefinition: ActionTemplate;
143
143
  export declare const microsoftMessageTeamsChannelDefinition: ActionTemplate;
144
144
  export declare const microsoftGetDocumentDefinition: ActionTemplate;
145
+ export declare const microsoftGetSharepointItemDefinition: ActionTemplate;
146
+ export declare const microsoftListSharepointFolderDefinition: ActionTemplate;
147
+ export declare const microsoftReadSharepointContentDefinition: ActionTemplate;
148
+ export declare const microsoftSearchSharepointDefinition: ActionTemplate;
145
149
  export declare const githubCreateOrUpdateFileDefinition: ActionTemplate;
146
150
  export declare const githubCreateBranchDefinition: ActionTemplate;
147
151
  export declare const githubCreatePullRequestDefinition: ActionTemplate;
@@ -11484,7 +11484,11 @@ export const microsoftCreateDocumentDefinition = {
11484
11484
  properties: {
11485
11485
  siteId: {
11486
11486
  type: "string",
11487
- description: "The ID of the site where the document will be created",
11487
+ description: "The ID of the site where the document will be created (targets the site's default document library; ignored if driveId is provided)",
11488
+ },
11489
+ driveId: {
11490
+ type: "string",
11491
+ description: "The ID of the drive (document library) to create the document in. Required to target a non-default document library; takes precedence over siteId. Can be resolved from a SharePoint URL with the getSharepointItem action",
11488
11492
  },
11489
11493
  name: {
11490
11494
  type: "string",
@@ -11540,7 +11544,11 @@ export const microsoftUpdateDocumentDefinition = {
11540
11544
  properties: {
11541
11545
  siteId: {
11542
11546
  type: "string",
11543
- description: "The ID of the site where the document is located",
11547
+ description: "The ID of the site where the document is located (targets the site's default document library; ignored if driveId is provided)",
11548
+ },
11549
+ driveId: {
11550
+ type: "string",
11551
+ description: "The ID of the drive (document library) containing the document. Required when the document is in a non-default document library; takes precedence over siteId. Can be resolved from a SharePoint URL with the getSharepointItem action",
11544
11552
  },
11545
11553
  documentId: {
11546
11554
  type: "string",
@@ -11602,7 +11610,11 @@ export const microsoftUpdateSpreadsheetDefinition = {
11602
11610
  },
11603
11611
  siteId: {
11604
11612
  type: "string",
11605
- description: "The ID of the site where the spreadsheet is located",
11613
+ description: "The ID of the site where the spreadsheet is located (targets the site's default document library; ignored if driveId is provided)",
11614
+ },
11615
+ driveId: {
11616
+ type: "string",
11617
+ description: "The ID of the drive (document library) containing the spreadsheet. Required when the spreadsheet is in a non-default document library; takes precedence over siteId. Can be resolved from a SharePoint URL with the getSharepointItem action",
11606
11618
  },
11607
11619
  },
11608
11620
  },
@@ -11722,7 +11734,11 @@ export const microsoftGetDocumentDefinition = {
11722
11734
  properties: {
11723
11735
  siteId: {
11724
11736
  type: "string",
11725
- description: "The ID of the site where the document is located (optional for OneDrive)",
11737
+ description: "The ID of the site where the document is located (optional for OneDrive; targets the site's default document library; ignored if driveId is provided)",
11738
+ },
11739
+ driveId: {
11740
+ type: "string",
11741
+ description: "The ID of the drive (document library) containing the document. Required when the document is in a non-default document library; takes precedence over siteId. Can be resolved from a SharePoint URL with the getSharepointItem action",
11726
11742
  },
11727
11743
  documentId: {
11728
11744
  type: "string",
@@ -11751,6 +11767,371 @@ export const microsoftGetDocumentDefinition = {
11751
11767
  name: "getDocument",
11752
11768
  provider: "microsoft",
11753
11769
  };
11770
+ export const microsoftGetSharepointItemDefinition = {
11771
+ displayName: "Get SharePoint or OneDrive item from URL",
11772
+ description: "Resolves a pasted SharePoint or OneDrive URL (file, folder, site, or page link) to its Microsoft Graph identifiers. File and folder URLs only need Files.Read.All; bare site URLs and site page URLs additionally require Sites.Read.All.",
11773
+ scopes: ["Files.Read.All"],
11774
+ tags: [],
11775
+ parameters: {
11776
+ type: "object",
11777
+ required: ["url"],
11778
+ properties: {
11779
+ url: {
11780
+ type: "string",
11781
+ description: "The SharePoint or OneDrive URL to resolve (file, folder, site, or page link)",
11782
+ },
11783
+ },
11784
+ },
11785
+ output: {
11786
+ type: "object",
11787
+ required: ["success"],
11788
+ properties: {
11789
+ success: {
11790
+ type: "boolean",
11791
+ description: "Whether the URL was resolved successfully",
11792
+ },
11793
+ item: {
11794
+ type: "object",
11795
+ description: "The resolved item",
11796
+ properties: {
11797
+ itemType: {
11798
+ type: "string",
11799
+ description: "One of: file | folder | site | page",
11800
+ },
11801
+ name: {
11802
+ type: "string",
11803
+ description: "The name of the item",
11804
+ },
11805
+ webUrl: {
11806
+ type: "string",
11807
+ description: "The web URL of the item",
11808
+ },
11809
+ driveId: {
11810
+ type: "string",
11811
+ description: "The ID of the drive containing the item (files and folders)",
11812
+ },
11813
+ itemId: {
11814
+ type: "string",
11815
+ description: "The ID of the item within its drive (for pages this is the site page ID)",
11816
+ },
11817
+ siteId: {
11818
+ type: "string",
11819
+ description: "The ID of the SharePoint site (sites, pages, and site-hosted items)",
11820
+ },
11821
+ mimeType: {
11822
+ type: "string",
11823
+ description: "The MIME type of the file",
11824
+ },
11825
+ sizeBytes: {
11826
+ type: "number",
11827
+ description: "The size of the file in bytes",
11828
+ },
11829
+ drives: {
11830
+ type: "array",
11831
+ description: "For sites — the document libraries in the site",
11832
+ items: {
11833
+ type: "object",
11834
+ properties: {
11835
+ driveId: {
11836
+ type: "string",
11837
+ description: "The ID of the document library drive",
11838
+ },
11839
+ name: {
11840
+ type: "string",
11841
+ description: "The name of the document library",
11842
+ },
11843
+ webUrl: {
11844
+ type: "string",
11845
+ description: "The web URL of the document library (usable as a searchSharepoint scopeUrl)",
11846
+ },
11847
+ },
11848
+ },
11849
+ },
11850
+ },
11851
+ },
11852
+ error: {
11853
+ type: "string",
11854
+ description: "The error that occurred if the URL was not resolved",
11855
+ },
11856
+ },
11857
+ },
11858
+ name: "getSharepointItem",
11859
+ provider: "microsoft",
11860
+ };
11861
+ export const microsoftListSharepointFolderDefinition = {
11862
+ displayName: "List contents of a SharePoint or OneDrive folder",
11863
+ description: "Lists the items inside a SharePoint or OneDrive folder, given either a folder URL or a driveItem reference. Given a site URL, lists the root of the site's default document library. Set recursive to true to enumerate subfolders (breadth-first) up to maxItems.",
11864
+ scopes: ["Files.Read.All"],
11865
+ tags: [],
11866
+ parameters: {
11867
+ type: "object",
11868
+ required: [],
11869
+ properties: {
11870
+ url: {
11871
+ type: "string",
11872
+ description: "The URL of the folder (or site) to list. Provide either this or driveItem.",
11873
+ },
11874
+ driveItem: {
11875
+ type: "object",
11876
+ description: "The exact folder to list, as returned by getSharepointItem. Provide either this or url.",
11877
+ required: ["driveId", "itemId"],
11878
+ properties: {
11879
+ driveId: {
11880
+ type: "string",
11881
+ description: "The ID of the drive containing the folder",
11882
+ },
11883
+ itemId: {
11884
+ type: "string",
11885
+ description: "The ID of the folder to list",
11886
+ },
11887
+ },
11888
+ },
11889
+ recursive: {
11890
+ type: "boolean",
11891
+ description: "Whether to recursively enumerate subfolders (default false)",
11892
+ },
11893
+ maxItems: {
11894
+ type: "number",
11895
+ description: "Maximum number of items to return (default 200)",
11896
+ },
11897
+ },
11898
+ },
11899
+ output: {
11900
+ type: "object",
11901
+ required: ["success"],
11902
+ properties: {
11903
+ success: {
11904
+ type: "boolean",
11905
+ description: "Whether the folder was listed successfully",
11906
+ },
11907
+ items: {
11908
+ type: "array",
11909
+ description: "The items in the folder",
11910
+ items: {
11911
+ type: "object",
11912
+ required: ["itemId", "name", "itemType"],
11913
+ properties: {
11914
+ itemId: {
11915
+ type: "string",
11916
+ description: "The ID of the item",
11917
+ },
11918
+ driveId: {
11919
+ type: "string",
11920
+ description: "The ID of the drive containing the item",
11921
+ },
11922
+ name: {
11923
+ type: "string",
11924
+ description: "The name of the item",
11925
+ },
11926
+ itemType: {
11927
+ type: "string",
11928
+ description: "One of: file | folder",
11929
+ },
11930
+ mimeType: {
11931
+ type: "string",
11932
+ description: "The MIME type of the file",
11933
+ },
11934
+ sizeBytes: {
11935
+ type: "number",
11936
+ description: "The size of the file in bytes",
11937
+ },
11938
+ webUrl: {
11939
+ type: "string",
11940
+ description: "The web URL of the item",
11941
+ },
11942
+ lastModified: {
11943
+ type: "string",
11944
+ description: "The last modified timestamp of the item",
11945
+ },
11946
+ },
11947
+ },
11948
+ },
11949
+ truncated: {
11950
+ type: "boolean",
11951
+ description: "True if enumeration stopped at maxItems before listing everything",
11952
+ },
11953
+ error: {
11954
+ type: "string",
11955
+ description: "The error that occurred if the folder was not listed",
11956
+ },
11957
+ },
11958
+ },
11959
+ name: "listSharepointFolder",
11960
+ provider: "microsoft",
11961
+ };
11962
+ export const microsoftReadSharepointContentDefinition = {
11963
+ displayName: "Read SharePoint or OneDrive content as text",
11964
+ description: "Reads a SharePoint or OneDrive document (docx, pdf, xlsx, pptx, txt, csv, json, html) or SharePoint site page as plain text, given a URL or a driveItem reference. Plain files only need Files.Read.All; site pages additionally require Sites.Read.All.",
11965
+ scopes: ["Files.Read.All", "Sites.Read.All"],
11966
+ tags: [],
11967
+ parameters: {
11968
+ type: "object",
11969
+ required: [],
11970
+ properties: {
11971
+ url: {
11972
+ type: "string",
11973
+ description: "The URL of the file or page to read. Provide either this or driveItem; when both are given, driveItem takes precedence and the url is ignored.",
11974
+ },
11975
+ driveItem: {
11976
+ type: "object",
11977
+ description: "The exact file to read, as returned by getSharepointItem. Provide either this or url.",
11978
+ required: ["driveId", "itemId"],
11979
+ properties: {
11980
+ driveId: {
11981
+ type: "string",
11982
+ description: "The ID of the drive containing the file",
11983
+ },
11984
+ itemId: {
11985
+ type: "string",
11986
+ description: "The ID of the file to read",
11987
+ },
11988
+ },
11989
+ },
11990
+ charLimit: {
11991
+ type: "number",
11992
+ description: "The character limit for the returned content (soft truncation)",
11993
+ },
11994
+ fileSizeLimit: {
11995
+ type: "number",
11996
+ description: "Max file size (in MB) to retrieve content from (default of 50MB)",
11997
+ },
11998
+ },
11999
+ },
12000
+ output: {
12001
+ type: "object",
12002
+ required: ["success"],
12003
+ properties: {
12004
+ success: {
12005
+ type: "boolean",
12006
+ description: "Whether the content was retrieved successfully",
12007
+ },
12008
+ results: {
12009
+ type: "array",
12010
+ description: "The results of the content read",
12011
+ items: {
12012
+ type: "object",
12013
+ required: ["name", "url", "contents"],
12014
+ properties: {
12015
+ name: {
12016
+ type: "string",
12017
+ description: "The name of the file or page",
12018
+ },
12019
+ url: {
12020
+ type: "string",
12021
+ description: "The URL of the file or page",
12022
+ },
12023
+ contents: {
12024
+ type: "object",
12025
+ description: "The contents of the file or page",
12026
+ properties: {
12027
+ content: {
12028
+ type: "string",
12029
+ description: "The text content of the file or page",
12030
+ },
12031
+ fileName: {
12032
+ type: "string",
12033
+ description: "The name of the file or page",
12034
+ },
12035
+ fileLength: {
12036
+ type: "number",
12037
+ description: "The length of the content prior to truncating",
12038
+ },
12039
+ },
12040
+ },
12041
+ },
12042
+ },
12043
+ },
12044
+ error: {
12045
+ type: "string",
12046
+ description: "Error message if content retrieval failed",
12047
+ },
12048
+ },
12049
+ },
12050
+ name: "readSharepointContent",
12051
+ provider: "microsoft",
12052
+ };
12053
+ export const microsoftSearchSharepointDefinition = {
12054
+ displayName: "Search SharePoint and OneDrive files",
12055
+ description: "Keyword search across SharePoint and OneDrive files via Microsoft Search (KQL matching with M365 relevance ranking, not semantic search). OneDrive is always included. Without scopeUrl, searches everything the signed-in user can access (requires Sites.Read.All). With scopeUrl, restricts results to that site, folder, or document library URL — folder and library scoping work with Files.Read.All alone; site scoping requires Sites.Read.All.",
12056
+ scopes: ["Files.Read.All", "Sites.Read.All"],
12057
+ tags: [],
12058
+ parameters: {
12059
+ type: "object",
12060
+ required: ["query"],
12061
+ properties: {
12062
+ query: {
12063
+ type: "string",
12064
+ description: "The text to search for",
12065
+ },
12066
+ scopeUrl: {
12067
+ type: "string",
12068
+ description: "A site, folder, or document library URL to restrict results to (optional — omit to search everything the user can access)",
12069
+ },
12070
+ limit: {
12071
+ type: "number",
12072
+ description: "Maximum number of results to return (default 25)",
12073
+ },
12074
+ },
12075
+ },
12076
+ output: {
12077
+ type: "object",
12078
+ required: ["success"],
12079
+ properties: {
12080
+ success: {
12081
+ type: "boolean",
12082
+ description: "Whether the search completed successfully",
12083
+ },
12084
+ files: {
12085
+ type: "array",
12086
+ description: "The files matching the search query",
12087
+ items: {
12088
+ type: "object",
12089
+ required: ["itemId", "name"],
12090
+ properties: {
12091
+ itemId: {
12092
+ type: "string",
12093
+ description: "The ID of the file",
12094
+ },
12095
+ driveId: {
12096
+ type: "string",
12097
+ description: "The ID of the drive containing the file",
12098
+ },
12099
+ name: {
12100
+ type: "string",
12101
+ description: "The name of the file",
12102
+ },
12103
+ mimeType: {
12104
+ type: "string",
12105
+ description: "The MIME type of the file",
12106
+ },
12107
+ webUrl: {
12108
+ type: "string",
12109
+ description: "The web URL of the file",
12110
+ },
12111
+ snippet: {
12112
+ type: "string",
12113
+ description: "A text snippet summarizing the match",
12114
+ },
12115
+ lastModified: {
12116
+ type: "string",
12117
+ description: "The last modified timestamp of the file",
12118
+ },
12119
+ },
12120
+ },
12121
+ },
12122
+ truncated: {
12123
+ type: "boolean",
12124
+ description: "True if more results were available than the limit allowed",
12125
+ },
12126
+ error: {
12127
+ type: "string",
12128
+ description: "The error that occurred if the search failed",
12129
+ },
12130
+ },
12131
+ },
12132
+ name: "searchSharepoint",
12133
+ provider: "microsoft",
12134
+ };
11754
12135
  export const githubCreateOrUpdateFileDefinition = {
11755
12136
  displayName: "Create or update a file",
11756
12137
  description: "Create or update a file in a GitHub repository",