@credal/actions 0.2.223 → 0.2.224
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actionMapper.js +29 -1
- package/dist/actions/autogen/templates.d.ts +4 -0
- package/dist/actions/autogen/templates.js +365 -0
- package/dist/actions/autogen/types.d.ts +367 -0
- package/dist/actions/autogen/types.js +129 -0
- package/dist/actions/groups.d.ts +6 -0
- package/dist/actions/groups.js +220 -0
- package/dist/actions/providers/ashby/addCandidateToProject.d.ts +3 -0
- package/dist/actions/providers/ashby/addCandidateToProject.js +31 -0
- package/dist/actions/providers/ashby/createCandidate.d.ts +3 -0
- package/dist/actions/providers/ashby/createCandidate.js +38 -0
- package/dist/actions/providers/ashby/createNote.d.ts +3 -0
- package/dist/actions/providers/ashby/createNote.js +31 -0
- package/dist/actions/providers/ashby/getCandidateInfo.d.ts +3 -0
- package/dist/actions/providers/ashby/getCandidateInfo.js +33 -0
- package/dist/actions/providers/ashby/listCandidateNotes.d.ts +3 -0
- package/dist/actions/providers/ashby/listCandidateNotes.js +33 -0
- package/dist/actions/providers/ashby/listCandidates.d.ts +3 -0
- package/dist/actions/providers/ashby/listCandidates.js +30 -0
- package/dist/actions/providers/ashby/searchCandidates.d.ts +3 -0
- package/dist/actions/providers/ashby/searchCandidates.js +34 -0
- package/dist/actions/providers/ashby/updateCandidate.d.ts +3 -0
- package/dist/actions/providers/ashby/updateCandidate.js +56 -0
- package/dist/actions/providers/gong/getGongTranscripts.d.ts +3 -0
- package/dist/actions/providers/gong/getGongTranscripts.js +315 -0
- package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +3 -0
- package/dist/actions/providers/jamf/getJamfComputerInventory.js +37 -0
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +3 -0
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +39 -0
- package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +3 -0
- package/dist/actions/providers/jamf/getJamfUserComputerId.js +45 -0
- package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +3 -0
- package/dist/actions/providers/jamf/lockJamfComputerById.js +39 -0
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +3 -0
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +85 -0
- package/dist/actions/providers/microsoft/getSharepointItem.d.ts +3 -0
- package/dist/actions/providers/microsoft/getSharepointItem.js +61 -0
- package/dist/actions/providers/microsoft/listSharepointFolder.d.ts +3 -0
- package/dist/actions/providers/microsoft/listSharepointFolder.js +92 -0
- package/dist/actions/providers/microsoft/readSharepointContent.d.ts +3 -0
- package/dist/actions/providers/microsoft/readSharepointContent.js +157 -0
- package/dist/actions/providers/microsoft/searchSharepoint.d.ts +3 -0
- package/dist/actions/providers/microsoft/searchSharepoint.js +147 -0
- package/dist/actions/providers/microsoft/sharepointUtils.d.ts +56 -0
- package/dist/actions/providers/microsoft/sharepointUtils.js +153 -0
- package/dist/actions/providers/microsoft/utils.d.ts +1 -0
- package/dist/actions/providers/microsoft/utils.js +1 -0
- package/dist/actions/providers/okta/addUserToGroup.d.ts +3 -0
- package/dist/actions/providers/okta/addUserToGroup.js +56 -0
- package/dist/actions/providers/okta/getOktaGroup.d.ts +3 -0
- package/dist/actions/providers/okta/getOktaGroup.js +73 -0
- package/dist/actions/providers/okta/getOktaUser.d.ts +3 -0
- package/dist/actions/providers/okta/getOktaUser.js +40 -0
- package/dist/actions/providers/okta/listMFA.d.ts +3 -0
- package/dist/actions/providers/okta/listMFA.js +52 -0
- package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +3 -0
- package/dist/actions/providers/okta/listOktaGroupMembers.js +99 -0
- package/dist/actions/providers/okta/listOktaGroups.d.ts +3 -0
- package/dist/actions/providers/okta/listOktaGroups.js +92 -0
- package/dist/actions/providers/okta/listOktaUserGroups.d.ts +3 -0
- package/dist/actions/providers/okta/listOktaUserGroups.js +83 -0
- package/dist/actions/providers/okta/listOktaUsers.d.ts +3 -0
- package/dist/actions/providers/okta/listOktaUsers.js +100 -0
- package/dist/actions/providers/okta/removeUserFromGroup.d.ts +3 -0
- package/dist/actions/providers/okta/removeUserFromGroup.js +56 -0
- package/dist/actions/providers/okta/resetMFA.d.ts +3 -0
- package/dist/actions/providers/okta/resetMFA.js +62 -0
- package/dist/actions/providers/okta/resetPassword.d.ts +3 -0
- package/dist/actions/providers/okta/resetPassword.js +57 -0
- package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +3 -0
- package/dist/actions/providers/okta/triggerOktaWorkflow.js +44 -0
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +3 -0
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +40 -0
- package/dist/actions/providers/slack/archiveChannel.d.ts +3 -0
- package/dist/actions/providers/slack/archiveChannel.js +35 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -11751,6 +11751,371 @@ export const microsoftGetDocumentDefinition = {
|
|
|
11751
11751
|
name: "getDocument",
|
|
11752
11752
|
provider: "microsoft",
|
|
11753
11753
|
};
|
|
11754
|
+
export const microsoftGetSharepointItemDefinition = {
|
|
11755
|
+
displayName: "Get SharePoint or OneDrive item from URL",
|
|
11756
|
+
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.",
|
|
11757
|
+
scopes: ["Files.Read.All"],
|
|
11758
|
+
tags: [],
|
|
11759
|
+
parameters: {
|
|
11760
|
+
type: "object",
|
|
11761
|
+
required: ["url"],
|
|
11762
|
+
properties: {
|
|
11763
|
+
url: {
|
|
11764
|
+
type: "string",
|
|
11765
|
+
description: "The SharePoint or OneDrive URL to resolve (file, folder, site, or page link)",
|
|
11766
|
+
},
|
|
11767
|
+
},
|
|
11768
|
+
},
|
|
11769
|
+
output: {
|
|
11770
|
+
type: "object",
|
|
11771
|
+
required: ["success"],
|
|
11772
|
+
properties: {
|
|
11773
|
+
success: {
|
|
11774
|
+
type: "boolean",
|
|
11775
|
+
description: "Whether the URL was resolved successfully",
|
|
11776
|
+
},
|
|
11777
|
+
item: {
|
|
11778
|
+
type: "object",
|
|
11779
|
+
description: "The resolved item",
|
|
11780
|
+
properties: {
|
|
11781
|
+
itemType: {
|
|
11782
|
+
type: "string",
|
|
11783
|
+
description: "One of: file | folder | site | page",
|
|
11784
|
+
},
|
|
11785
|
+
name: {
|
|
11786
|
+
type: "string",
|
|
11787
|
+
description: "The name of the item",
|
|
11788
|
+
},
|
|
11789
|
+
webUrl: {
|
|
11790
|
+
type: "string",
|
|
11791
|
+
description: "The web URL of the item",
|
|
11792
|
+
},
|
|
11793
|
+
driveId: {
|
|
11794
|
+
type: "string",
|
|
11795
|
+
description: "The ID of the drive containing the item (files and folders)",
|
|
11796
|
+
},
|
|
11797
|
+
itemId: {
|
|
11798
|
+
type: "string",
|
|
11799
|
+
description: "The ID of the item within its drive (for pages this is the site page ID)",
|
|
11800
|
+
},
|
|
11801
|
+
siteId: {
|
|
11802
|
+
type: "string",
|
|
11803
|
+
description: "The ID of the SharePoint site (sites, pages, and site-hosted items)",
|
|
11804
|
+
},
|
|
11805
|
+
mimeType: {
|
|
11806
|
+
type: "string",
|
|
11807
|
+
description: "The MIME type of the file",
|
|
11808
|
+
},
|
|
11809
|
+
sizeBytes: {
|
|
11810
|
+
type: "number",
|
|
11811
|
+
description: "The size of the file in bytes",
|
|
11812
|
+
},
|
|
11813
|
+
drives: {
|
|
11814
|
+
type: "array",
|
|
11815
|
+
description: "For sites — the document libraries in the site",
|
|
11816
|
+
items: {
|
|
11817
|
+
type: "object",
|
|
11818
|
+
properties: {
|
|
11819
|
+
driveId: {
|
|
11820
|
+
type: "string",
|
|
11821
|
+
description: "The ID of the document library drive",
|
|
11822
|
+
},
|
|
11823
|
+
name: {
|
|
11824
|
+
type: "string",
|
|
11825
|
+
description: "The name of the document library",
|
|
11826
|
+
},
|
|
11827
|
+
webUrl: {
|
|
11828
|
+
type: "string",
|
|
11829
|
+
description: "The web URL of the document library (usable as a searchSharepoint scopeUrl)",
|
|
11830
|
+
},
|
|
11831
|
+
},
|
|
11832
|
+
},
|
|
11833
|
+
},
|
|
11834
|
+
},
|
|
11835
|
+
},
|
|
11836
|
+
error: {
|
|
11837
|
+
type: "string",
|
|
11838
|
+
description: "The error that occurred if the URL was not resolved",
|
|
11839
|
+
},
|
|
11840
|
+
},
|
|
11841
|
+
},
|
|
11842
|
+
name: "getSharepointItem",
|
|
11843
|
+
provider: "microsoft",
|
|
11844
|
+
};
|
|
11845
|
+
export const microsoftListSharepointFolderDefinition = {
|
|
11846
|
+
displayName: "List contents of a SharePoint or OneDrive folder",
|
|
11847
|
+
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.",
|
|
11848
|
+
scopes: ["Files.Read.All"],
|
|
11849
|
+
tags: [],
|
|
11850
|
+
parameters: {
|
|
11851
|
+
type: "object",
|
|
11852
|
+
required: [],
|
|
11853
|
+
properties: {
|
|
11854
|
+
url: {
|
|
11855
|
+
type: "string",
|
|
11856
|
+
description: "The URL of the folder (or site) to list. Provide either this or driveItem.",
|
|
11857
|
+
},
|
|
11858
|
+
driveItem: {
|
|
11859
|
+
type: "object",
|
|
11860
|
+
description: "The exact folder to list, as returned by getSharepointItem. Provide either this or url.",
|
|
11861
|
+
required: ["driveId", "itemId"],
|
|
11862
|
+
properties: {
|
|
11863
|
+
driveId: {
|
|
11864
|
+
type: "string",
|
|
11865
|
+
description: "The ID of the drive containing the folder",
|
|
11866
|
+
},
|
|
11867
|
+
itemId: {
|
|
11868
|
+
type: "string",
|
|
11869
|
+
description: "The ID of the folder to list",
|
|
11870
|
+
},
|
|
11871
|
+
},
|
|
11872
|
+
},
|
|
11873
|
+
recursive: {
|
|
11874
|
+
type: "boolean",
|
|
11875
|
+
description: "Whether to recursively enumerate subfolders (default false)",
|
|
11876
|
+
},
|
|
11877
|
+
maxItems: {
|
|
11878
|
+
type: "number",
|
|
11879
|
+
description: "Maximum number of items to return (default 200)",
|
|
11880
|
+
},
|
|
11881
|
+
},
|
|
11882
|
+
},
|
|
11883
|
+
output: {
|
|
11884
|
+
type: "object",
|
|
11885
|
+
required: ["success"],
|
|
11886
|
+
properties: {
|
|
11887
|
+
success: {
|
|
11888
|
+
type: "boolean",
|
|
11889
|
+
description: "Whether the folder was listed successfully",
|
|
11890
|
+
},
|
|
11891
|
+
items: {
|
|
11892
|
+
type: "array",
|
|
11893
|
+
description: "The items in the folder",
|
|
11894
|
+
items: {
|
|
11895
|
+
type: "object",
|
|
11896
|
+
required: ["itemId", "name", "itemType"],
|
|
11897
|
+
properties: {
|
|
11898
|
+
itemId: {
|
|
11899
|
+
type: "string",
|
|
11900
|
+
description: "The ID of the item",
|
|
11901
|
+
},
|
|
11902
|
+
driveId: {
|
|
11903
|
+
type: "string",
|
|
11904
|
+
description: "The ID of the drive containing the item",
|
|
11905
|
+
},
|
|
11906
|
+
name: {
|
|
11907
|
+
type: "string",
|
|
11908
|
+
description: "The name of the item",
|
|
11909
|
+
},
|
|
11910
|
+
itemType: {
|
|
11911
|
+
type: "string",
|
|
11912
|
+
description: "One of: file | folder",
|
|
11913
|
+
},
|
|
11914
|
+
mimeType: {
|
|
11915
|
+
type: "string",
|
|
11916
|
+
description: "The MIME type of the file",
|
|
11917
|
+
},
|
|
11918
|
+
sizeBytes: {
|
|
11919
|
+
type: "number",
|
|
11920
|
+
description: "The size of the file in bytes",
|
|
11921
|
+
},
|
|
11922
|
+
webUrl: {
|
|
11923
|
+
type: "string",
|
|
11924
|
+
description: "The web URL of the item",
|
|
11925
|
+
},
|
|
11926
|
+
lastModified: {
|
|
11927
|
+
type: "string",
|
|
11928
|
+
description: "The last modified timestamp of the item",
|
|
11929
|
+
},
|
|
11930
|
+
},
|
|
11931
|
+
},
|
|
11932
|
+
},
|
|
11933
|
+
truncated: {
|
|
11934
|
+
type: "boolean",
|
|
11935
|
+
description: "True if enumeration stopped at maxItems before listing everything",
|
|
11936
|
+
},
|
|
11937
|
+
error: {
|
|
11938
|
+
type: "string",
|
|
11939
|
+
description: "The error that occurred if the folder was not listed",
|
|
11940
|
+
},
|
|
11941
|
+
},
|
|
11942
|
+
},
|
|
11943
|
+
name: "listSharepointFolder",
|
|
11944
|
+
provider: "microsoft",
|
|
11945
|
+
};
|
|
11946
|
+
export const microsoftReadSharepointContentDefinition = {
|
|
11947
|
+
displayName: "Read SharePoint or OneDrive content as text",
|
|
11948
|
+
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.",
|
|
11949
|
+
scopes: ["Files.Read.All", "Sites.Read.All"],
|
|
11950
|
+
tags: [],
|
|
11951
|
+
parameters: {
|
|
11952
|
+
type: "object",
|
|
11953
|
+
required: [],
|
|
11954
|
+
properties: {
|
|
11955
|
+
url: {
|
|
11956
|
+
type: "string",
|
|
11957
|
+
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.",
|
|
11958
|
+
},
|
|
11959
|
+
driveItem: {
|
|
11960
|
+
type: "object",
|
|
11961
|
+
description: "The exact file to read, as returned by getSharepointItem. Provide either this or url.",
|
|
11962
|
+
required: ["driveId", "itemId"],
|
|
11963
|
+
properties: {
|
|
11964
|
+
driveId: {
|
|
11965
|
+
type: "string",
|
|
11966
|
+
description: "The ID of the drive containing the file",
|
|
11967
|
+
},
|
|
11968
|
+
itemId: {
|
|
11969
|
+
type: "string",
|
|
11970
|
+
description: "The ID of the file to read",
|
|
11971
|
+
},
|
|
11972
|
+
},
|
|
11973
|
+
},
|
|
11974
|
+
charLimit: {
|
|
11975
|
+
type: "number",
|
|
11976
|
+
description: "The character limit for the returned content (soft truncation)",
|
|
11977
|
+
},
|
|
11978
|
+
fileSizeLimit: {
|
|
11979
|
+
type: "number",
|
|
11980
|
+
description: "Max file size (in MB) to retrieve content from (default of 50MB)",
|
|
11981
|
+
},
|
|
11982
|
+
},
|
|
11983
|
+
},
|
|
11984
|
+
output: {
|
|
11985
|
+
type: "object",
|
|
11986
|
+
required: ["success"],
|
|
11987
|
+
properties: {
|
|
11988
|
+
success: {
|
|
11989
|
+
type: "boolean",
|
|
11990
|
+
description: "Whether the content was retrieved successfully",
|
|
11991
|
+
},
|
|
11992
|
+
results: {
|
|
11993
|
+
type: "array",
|
|
11994
|
+
description: "The results of the content read",
|
|
11995
|
+
items: {
|
|
11996
|
+
type: "object",
|
|
11997
|
+
required: ["name", "url", "contents"],
|
|
11998
|
+
properties: {
|
|
11999
|
+
name: {
|
|
12000
|
+
type: "string",
|
|
12001
|
+
description: "The name of the file or page",
|
|
12002
|
+
},
|
|
12003
|
+
url: {
|
|
12004
|
+
type: "string",
|
|
12005
|
+
description: "The URL of the file or page",
|
|
12006
|
+
},
|
|
12007
|
+
contents: {
|
|
12008
|
+
type: "object",
|
|
12009
|
+
description: "The contents of the file or page",
|
|
12010
|
+
properties: {
|
|
12011
|
+
content: {
|
|
12012
|
+
type: "string",
|
|
12013
|
+
description: "The text content of the file or page",
|
|
12014
|
+
},
|
|
12015
|
+
fileName: {
|
|
12016
|
+
type: "string",
|
|
12017
|
+
description: "The name of the file or page",
|
|
12018
|
+
},
|
|
12019
|
+
fileLength: {
|
|
12020
|
+
type: "number",
|
|
12021
|
+
description: "The length of the content prior to truncating",
|
|
12022
|
+
},
|
|
12023
|
+
},
|
|
12024
|
+
},
|
|
12025
|
+
},
|
|
12026
|
+
},
|
|
12027
|
+
},
|
|
12028
|
+
error: {
|
|
12029
|
+
type: "string",
|
|
12030
|
+
description: "Error message if content retrieval failed",
|
|
12031
|
+
},
|
|
12032
|
+
},
|
|
12033
|
+
},
|
|
12034
|
+
name: "readSharepointContent",
|
|
12035
|
+
provider: "microsoft",
|
|
12036
|
+
};
|
|
12037
|
+
export const microsoftSearchSharepointDefinition = {
|
|
12038
|
+
displayName: "Search SharePoint and OneDrive files",
|
|
12039
|
+
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.",
|
|
12040
|
+
scopes: ["Files.Read.All", "Sites.Read.All"],
|
|
12041
|
+
tags: [],
|
|
12042
|
+
parameters: {
|
|
12043
|
+
type: "object",
|
|
12044
|
+
required: ["query"],
|
|
12045
|
+
properties: {
|
|
12046
|
+
query: {
|
|
12047
|
+
type: "string",
|
|
12048
|
+
description: "The text to search for",
|
|
12049
|
+
},
|
|
12050
|
+
scopeUrl: {
|
|
12051
|
+
type: "string",
|
|
12052
|
+
description: "A site, folder, or document library URL to restrict results to (optional — omit to search everything the user can access)",
|
|
12053
|
+
},
|
|
12054
|
+
limit: {
|
|
12055
|
+
type: "number",
|
|
12056
|
+
description: "Maximum number of results to return (default 25)",
|
|
12057
|
+
},
|
|
12058
|
+
},
|
|
12059
|
+
},
|
|
12060
|
+
output: {
|
|
12061
|
+
type: "object",
|
|
12062
|
+
required: ["success"],
|
|
12063
|
+
properties: {
|
|
12064
|
+
success: {
|
|
12065
|
+
type: "boolean",
|
|
12066
|
+
description: "Whether the search completed successfully",
|
|
12067
|
+
},
|
|
12068
|
+
files: {
|
|
12069
|
+
type: "array",
|
|
12070
|
+
description: "The files matching the search query",
|
|
12071
|
+
items: {
|
|
12072
|
+
type: "object",
|
|
12073
|
+
required: ["itemId", "name"],
|
|
12074
|
+
properties: {
|
|
12075
|
+
itemId: {
|
|
12076
|
+
type: "string",
|
|
12077
|
+
description: "The ID of the file",
|
|
12078
|
+
},
|
|
12079
|
+
driveId: {
|
|
12080
|
+
type: "string",
|
|
12081
|
+
description: "The ID of the drive containing the file",
|
|
12082
|
+
},
|
|
12083
|
+
name: {
|
|
12084
|
+
type: "string",
|
|
12085
|
+
description: "The name of the file",
|
|
12086
|
+
},
|
|
12087
|
+
mimeType: {
|
|
12088
|
+
type: "string",
|
|
12089
|
+
description: "The MIME type of the file",
|
|
12090
|
+
},
|
|
12091
|
+
webUrl: {
|
|
12092
|
+
type: "string",
|
|
12093
|
+
description: "The web URL of the file",
|
|
12094
|
+
},
|
|
12095
|
+
snippet: {
|
|
12096
|
+
type: "string",
|
|
12097
|
+
description: "A text snippet summarizing the match",
|
|
12098
|
+
},
|
|
12099
|
+
lastModified: {
|
|
12100
|
+
type: "string",
|
|
12101
|
+
description: "The last modified timestamp of the file",
|
|
12102
|
+
},
|
|
12103
|
+
},
|
|
12104
|
+
},
|
|
12105
|
+
},
|
|
12106
|
+
truncated: {
|
|
12107
|
+
type: "boolean",
|
|
12108
|
+
description: "True if more results were available than the limit allowed",
|
|
12109
|
+
},
|
|
12110
|
+
error: {
|
|
12111
|
+
type: "string",
|
|
12112
|
+
description: "The error that occurred if the search failed",
|
|
12113
|
+
},
|
|
12114
|
+
},
|
|
12115
|
+
},
|
|
12116
|
+
name: "searchSharepoint",
|
|
12117
|
+
provider: "microsoft",
|
|
12118
|
+
};
|
|
11754
12119
|
export const githubCreateOrUpdateFileDefinition = {
|
|
11755
12120
|
displayName: "Create or update a file",
|
|
11756
12121
|
description: "Create or update a file in a GitHub repository",
|