@credal/actions 0.2.106 → 0.2.107
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/README.md +2 -2
- package/dist/actions/actionMapper.js +13 -1
- package/dist/actions/autogen/templates.d.ts +2 -0
- package/dist/actions/autogen/templates.js +461 -0
- package/dist/actions/autogen/types.d.ts +704 -0
- package/dist/actions/autogen/types.js +153 -0
- package/dist/actions/groups.js +4 -1
- package/dist/actions/parse.d.ts +3 -3
- package/dist/actions/providers/github/fetchFile.d.ts +3 -0
- package/dist/actions/providers/github/fetchFile.js +131 -0
- package/dist/actions/providers/github/getContents.d.ts +3 -0
- package/dist/actions/providers/github/getContents.js +41 -0
- package/dist/actions/providers/github/getPullRequestDetails.d.ts +3 -0
- package/dist/actions/providers/github/getPullRequestDetails.js +61 -0
- package/dist/actions/providers/github/listCommits.d.ts +3 -0
- package/dist/actions/providers/github/listCommits.js +73 -0
- package/dist/actions/providers/slack/archiveChannel.js +5 -9
- package/package.json +1 -1
- package/dist/actions/providers/credal/callCopilot.d.ts +0 -3
- package/dist/actions/providers/credal/callCopilot.js +0 -36
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +0 -3
- package/dist/actions/providers/google-oauth/listGmailThreads.js +0 -98
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +0 -3
- package/dist/actions/providers/google-oauth/searchGmailMessages.js +0 -91
- package/dist/actions/providers/jamf/getComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getComputerInventory.js +0 -45
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.js +0 -40
- package/dist/actions/providers/jamf/restartJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/restartJamfComputerById.js +0 -37
- package/dist/actions/providers/jamf/types.d.ts +0 -8
- package/dist/actions/providers/jamf/types.js +0 -7
- package/dist/actions/providers/math/index.d.ts +0 -1
- package/dist/actions/providers/math/index.js +0 -37
- package/dist/actions/providers/slack/index.d.ts +0 -1
- package/dist/actions/providers/slack/index.js +0 -37
- package/dist/actions/providers/slack/listConversations.d.ts +0 -3
- package/dist/actions/providers/slack/listConversations.js +0 -41
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ const result = await runAction(
|
|
|
34
34
|
## Running a basic test for `runAction`
|
|
35
35
|
|
|
36
36
|
```
|
|
37
|
-
npm run test tests/testRunMathAction.ts
|
|
37
|
+
npm run test tests/math/testRunMathAction.ts
|
|
38
38
|
```
|
|
39
39
|
## Secret Scanning (TruffleHog)
|
|
40
40
|
|
|
@@ -43,4 +43,4 @@ We run TruffleHog on every pull request that actually changes at least one file.
|
|
|
43
43
|
- Empty / metadata-only PRs are automatically skipped to avoid noisy false alarms.
|
|
44
44
|
- Any real change is scanned if a secret-like credential is detected the job fails fast (so we can fix it before merging).
|
|
45
45
|
|
|
46
|
-
The workflow lives at `.github/workflows/trufflehog.yml` and is intentionally minimal: skip empty PRs, scan everything else and fail on hits.
|
|
46
|
+
The workflow lives at `.github/workflows/trufflehog.yml` and is intentionally minimal: skip empty PRs, scan everything else and fail on hits.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, } from "./autogen/types.js";
|
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, } from "./autogen/types.js";
|
|
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";
|
|
@@ -123,6 +123,8 @@ import searchDriveByQueryAndGetFileContent from "./providers/google-oauth/search
|
|
|
123
123
|
import queryGoogleBigQuery from "./providers/google-oauth/queryGoogleBigQuery.js";
|
|
124
124
|
import getFileContent from "./providers/github/getFileContent.js";
|
|
125
125
|
import listDirectory from "./providers/github/listDirectory.js";
|
|
126
|
+
import listCommits from "./providers/github/listCommits.js";
|
|
127
|
+
import getPullRequestDetails from "./providers/github/getPullRequestDetails.js";
|
|
126
128
|
import getIssueDetails from "./providers/linear/getIssueDetails.js";
|
|
127
129
|
import getIssues from "./providers/linear/getIssues.js";
|
|
128
130
|
import getProjectDetails from "./providers/linear/getProjectDetails.js";
|
|
@@ -785,6 +787,16 @@ export const ActionMapper = {
|
|
|
785
787
|
paramsSchema: githubListDirectoryParamsSchema,
|
|
786
788
|
outputSchema: githubListDirectoryOutputSchema,
|
|
787
789
|
},
|
|
790
|
+
listCommits: {
|
|
791
|
+
fn: listCommits,
|
|
792
|
+
paramsSchema: githubListCommitsParamsSchema,
|
|
793
|
+
outputSchema: githubListCommitsOutputSchema,
|
|
794
|
+
},
|
|
795
|
+
getPullRequestDetails: {
|
|
796
|
+
fn: getPullRequestDetails,
|
|
797
|
+
paramsSchema: githubGetPullRequestDetailsParamsSchema,
|
|
798
|
+
outputSchema: githubGetPullRequestDetailsOutputSchema,
|
|
799
|
+
},
|
|
788
800
|
},
|
|
789
801
|
notion: {
|
|
790
802
|
searchByTitle: {
|
|
@@ -130,10 +130,12 @@ export declare const githubCreateOrUpdateFileDefinition: ActionTemplate;
|
|
|
130
130
|
export declare const githubCreateBranchDefinition: ActionTemplate;
|
|
131
131
|
export declare const githubCreatePullRequestDefinition: ActionTemplate;
|
|
132
132
|
export declare const githubListPullRequestsDefinition: ActionTemplate;
|
|
133
|
+
export declare const githubGetPullRequestDetailsDefinition: ActionTemplate;
|
|
133
134
|
export declare const githubGetFileContentDefinition: ActionTemplate;
|
|
134
135
|
export declare const githubListDirectoryDefinition: ActionTemplate;
|
|
135
136
|
export declare const githubSearchRepositoryDefinition: ActionTemplate;
|
|
136
137
|
export declare const githubSearchOrganizationDefinition: ActionTemplate;
|
|
138
|
+
export declare const githubListCommitsDefinition: ActionTemplate;
|
|
137
139
|
export declare const notionSearchByTitleDefinition: ActionTemplate;
|
|
138
140
|
export declare const jamfGetJamfFileVaultRecoveryKeyDefinition: ActionTemplate;
|
|
139
141
|
export declare const jamfGetJamfComputerInventoryDefinition: ActionTemplate;
|
|
@@ -10185,6 +10185,283 @@ export const githubListPullRequestsDefinition = {
|
|
|
10185
10185
|
name: "listPullRequests",
|
|
10186
10186
|
provider: "github",
|
|
10187
10187
|
};
|
|
10188
|
+
export const githubGetPullRequestDetailsDefinition = {
|
|
10189
|
+
description: "Get detailed information about a specific pull request including description, files, reviews, and status",
|
|
10190
|
+
scopes: [],
|
|
10191
|
+
parameters: {
|
|
10192
|
+
type: "object",
|
|
10193
|
+
required: ["repositoryOwner", "repositoryName", "pullRequestNumber"],
|
|
10194
|
+
properties: {
|
|
10195
|
+
repositoryOwner: {
|
|
10196
|
+
type: "string",
|
|
10197
|
+
description: "The owner of the repository",
|
|
10198
|
+
},
|
|
10199
|
+
repositoryName: {
|
|
10200
|
+
type: "string",
|
|
10201
|
+
description: "The name of the repository",
|
|
10202
|
+
},
|
|
10203
|
+
pullRequestNumber: {
|
|
10204
|
+
type: "number",
|
|
10205
|
+
description: "The number of the pull request to get details for",
|
|
10206
|
+
},
|
|
10207
|
+
},
|
|
10208
|
+
},
|
|
10209
|
+
output: {
|
|
10210
|
+
type: "object",
|
|
10211
|
+
required: ["success"],
|
|
10212
|
+
properties: {
|
|
10213
|
+
success: {
|
|
10214
|
+
type: "boolean",
|
|
10215
|
+
description: "Whether the operation was successful",
|
|
10216
|
+
},
|
|
10217
|
+
error: {
|
|
10218
|
+
type: "string",
|
|
10219
|
+
description: "The error that occurred if the operation was not successful",
|
|
10220
|
+
},
|
|
10221
|
+
pullRequest: {
|
|
10222
|
+
type: "object",
|
|
10223
|
+
description: "Detailed information about the pull request",
|
|
10224
|
+
properties: {
|
|
10225
|
+
number: {
|
|
10226
|
+
type: "number",
|
|
10227
|
+
description: "The number of the pull request",
|
|
10228
|
+
},
|
|
10229
|
+
title: {
|
|
10230
|
+
type: "string",
|
|
10231
|
+
description: "The title of the pull request",
|
|
10232
|
+
},
|
|
10233
|
+
description: {
|
|
10234
|
+
type: "string",
|
|
10235
|
+
description: "The body/description of the pull request",
|
|
10236
|
+
nullable: true,
|
|
10237
|
+
},
|
|
10238
|
+
state: {
|
|
10239
|
+
type: "string",
|
|
10240
|
+
description: "The state of the pull request",
|
|
10241
|
+
enum: ["open", "closed", "merged"],
|
|
10242
|
+
},
|
|
10243
|
+
draft: {
|
|
10244
|
+
type: "boolean",
|
|
10245
|
+
description: "Whether the pull request is a draft",
|
|
10246
|
+
},
|
|
10247
|
+
url: {
|
|
10248
|
+
type: "string",
|
|
10249
|
+
description: "The API URL of the pull request",
|
|
10250
|
+
},
|
|
10251
|
+
htmlUrl: {
|
|
10252
|
+
type: "string",
|
|
10253
|
+
description: "The web URL of the pull request",
|
|
10254
|
+
},
|
|
10255
|
+
createdAt: {
|
|
10256
|
+
type: "string",
|
|
10257
|
+
description: "The date and time when the pull request was created",
|
|
10258
|
+
},
|
|
10259
|
+
updatedAt: {
|
|
10260
|
+
type: "string",
|
|
10261
|
+
description: "The date and time when the pull request was last updated",
|
|
10262
|
+
},
|
|
10263
|
+
closedAt: {
|
|
10264
|
+
type: "string",
|
|
10265
|
+
description: "The date and time when the pull request was closed",
|
|
10266
|
+
nullable: true,
|
|
10267
|
+
},
|
|
10268
|
+
mergedAt: {
|
|
10269
|
+
type: "string",
|
|
10270
|
+
description: "The date and time when the pull request was merged",
|
|
10271
|
+
nullable: true,
|
|
10272
|
+
},
|
|
10273
|
+
author: {
|
|
10274
|
+
type: "object",
|
|
10275
|
+
description: "The user who created the pull request",
|
|
10276
|
+
properties: {
|
|
10277
|
+
login: {
|
|
10278
|
+
type: "string",
|
|
10279
|
+
description: "The username of the pull request author",
|
|
10280
|
+
},
|
|
10281
|
+
},
|
|
10282
|
+
},
|
|
10283
|
+
assignees: {
|
|
10284
|
+
type: "array",
|
|
10285
|
+
description: "Users assigned to the pull request",
|
|
10286
|
+
items: {
|
|
10287
|
+
type: "object",
|
|
10288
|
+
properties: {
|
|
10289
|
+
login: {
|
|
10290
|
+
type: "string",
|
|
10291
|
+
description: "The username of the assignee",
|
|
10292
|
+
},
|
|
10293
|
+
},
|
|
10294
|
+
},
|
|
10295
|
+
},
|
|
10296
|
+
reviewers: {
|
|
10297
|
+
type: "array",
|
|
10298
|
+
description: "Users requested to review the pull request",
|
|
10299
|
+
items: {
|
|
10300
|
+
type: "object",
|
|
10301
|
+
properties: {
|
|
10302
|
+
login: {
|
|
10303
|
+
type: "string",
|
|
10304
|
+
description: "The username of the reviewer",
|
|
10305
|
+
},
|
|
10306
|
+
},
|
|
10307
|
+
},
|
|
10308
|
+
},
|
|
10309
|
+
labels: {
|
|
10310
|
+
type: "array",
|
|
10311
|
+
description: "Labels applied to the pull request",
|
|
10312
|
+
items: {
|
|
10313
|
+
type: "object",
|
|
10314
|
+
properties: {
|
|
10315
|
+
name: {
|
|
10316
|
+
type: "string",
|
|
10317
|
+
description: "The name of the label",
|
|
10318
|
+
},
|
|
10319
|
+
color: {
|
|
10320
|
+
type: "string",
|
|
10321
|
+
description: "The color of the label",
|
|
10322
|
+
},
|
|
10323
|
+
description: {
|
|
10324
|
+
type: "string",
|
|
10325
|
+
description: "The description of the label",
|
|
10326
|
+
nullable: true,
|
|
10327
|
+
},
|
|
10328
|
+
},
|
|
10329
|
+
},
|
|
10330
|
+
},
|
|
10331
|
+
head: {
|
|
10332
|
+
type: "object",
|
|
10333
|
+
description: "The head branch of the pull request",
|
|
10334
|
+
properties: {
|
|
10335
|
+
ref: {
|
|
10336
|
+
type: "string",
|
|
10337
|
+
description: "The name of the head branch",
|
|
10338
|
+
},
|
|
10339
|
+
sha: {
|
|
10340
|
+
type: "string",
|
|
10341
|
+
description: "The SHA of the head commit",
|
|
10342
|
+
},
|
|
10343
|
+
repo: {
|
|
10344
|
+
type: "object",
|
|
10345
|
+
properties: {
|
|
10346
|
+
name: {
|
|
10347
|
+
type: "string",
|
|
10348
|
+
description: "The name of the head repository",
|
|
10349
|
+
},
|
|
10350
|
+
fullName: {
|
|
10351
|
+
type: "string",
|
|
10352
|
+
description: "The full name of the head repository",
|
|
10353
|
+
},
|
|
10354
|
+
owner: {
|
|
10355
|
+
type: "object",
|
|
10356
|
+
properties: {
|
|
10357
|
+
login: {
|
|
10358
|
+
type: "string",
|
|
10359
|
+
description: "The username of the head repository owner",
|
|
10360
|
+
},
|
|
10361
|
+
},
|
|
10362
|
+
},
|
|
10363
|
+
},
|
|
10364
|
+
},
|
|
10365
|
+
},
|
|
10366
|
+
},
|
|
10367
|
+
base: {
|
|
10368
|
+
type: "object",
|
|
10369
|
+
description: "The base branch of the pull request",
|
|
10370
|
+
properties: {
|
|
10371
|
+
ref: {
|
|
10372
|
+
type: "string",
|
|
10373
|
+
description: "The name of the base branch",
|
|
10374
|
+
},
|
|
10375
|
+
sha: {
|
|
10376
|
+
type: "string",
|
|
10377
|
+
description: "The SHA of the base commit",
|
|
10378
|
+
},
|
|
10379
|
+
repo: {
|
|
10380
|
+
type: "object",
|
|
10381
|
+
properties: {
|
|
10382
|
+
name: {
|
|
10383
|
+
type: "string",
|
|
10384
|
+
description: "The name of the base repository",
|
|
10385
|
+
},
|
|
10386
|
+
fullName: {
|
|
10387
|
+
type: "string",
|
|
10388
|
+
description: "The full name of the base repository",
|
|
10389
|
+
},
|
|
10390
|
+
owner: {
|
|
10391
|
+
type: "object",
|
|
10392
|
+
properties: {
|
|
10393
|
+
login: {
|
|
10394
|
+
type: "string",
|
|
10395
|
+
description: "The username of the base repository owner",
|
|
10396
|
+
},
|
|
10397
|
+
},
|
|
10398
|
+
},
|
|
10399
|
+
},
|
|
10400
|
+
},
|
|
10401
|
+
},
|
|
10402
|
+
},
|
|
10403
|
+
mergeable: {
|
|
10404
|
+
type: "boolean",
|
|
10405
|
+
description: "Whether the pull request can be merged",
|
|
10406
|
+
nullable: true,
|
|
10407
|
+
},
|
|
10408
|
+
mergeableState: {
|
|
10409
|
+
type: "string",
|
|
10410
|
+
description: "The mergeable state of the pull request",
|
|
10411
|
+
nullable: true,
|
|
10412
|
+
},
|
|
10413
|
+
merged: {
|
|
10414
|
+
type: "boolean",
|
|
10415
|
+
description: "Whether the pull request has been merged",
|
|
10416
|
+
},
|
|
10417
|
+
commits: {
|
|
10418
|
+
type: "number",
|
|
10419
|
+
description: "The number of commits in the pull request",
|
|
10420
|
+
},
|
|
10421
|
+
additions: {
|
|
10422
|
+
type: "number",
|
|
10423
|
+
description: "The number of additions in the pull request",
|
|
10424
|
+
},
|
|
10425
|
+
deletions: {
|
|
10426
|
+
type: "number",
|
|
10427
|
+
description: "The number of deletions in the pull request",
|
|
10428
|
+
},
|
|
10429
|
+
changedFiles: {
|
|
10430
|
+
type: "number",
|
|
10431
|
+
description: "The number of files changed in the pull request",
|
|
10432
|
+
},
|
|
10433
|
+
milestone: {
|
|
10434
|
+
type: "object",
|
|
10435
|
+
description: "The milestone associated with the pull request",
|
|
10436
|
+
nullable: true,
|
|
10437
|
+
properties: {
|
|
10438
|
+
title: {
|
|
10439
|
+
type: "string",
|
|
10440
|
+
description: "The title of the milestone",
|
|
10441
|
+
},
|
|
10442
|
+
description: {
|
|
10443
|
+
type: "string",
|
|
10444
|
+
description: "The description of the milestone",
|
|
10445
|
+
nullable: true,
|
|
10446
|
+
},
|
|
10447
|
+
state: {
|
|
10448
|
+
type: "string",
|
|
10449
|
+
description: "The state of the milestone",
|
|
10450
|
+
},
|
|
10451
|
+
dueOn: {
|
|
10452
|
+
type: "string",
|
|
10453
|
+
description: "The due date of the milestone",
|
|
10454
|
+
nullable: true,
|
|
10455
|
+
},
|
|
10456
|
+
},
|
|
10457
|
+
},
|
|
10458
|
+
},
|
|
10459
|
+
},
|
|
10460
|
+
},
|
|
10461
|
+
},
|
|
10462
|
+
name: "getPullRequestDetails",
|
|
10463
|
+
provider: "github",
|
|
10464
|
+
};
|
|
10188
10465
|
export const githubGetFileContentDefinition = {
|
|
10189
10466
|
description: "Get specified file content from a GitHub repository",
|
|
10190
10467
|
scopes: [],
|
|
@@ -10777,6 +11054,190 @@ export const githubSearchOrganizationDefinition = {
|
|
|
10777
11054
|
name: "searchOrganization",
|
|
10778
11055
|
provider: "github",
|
|
10779
11056
|
};
|
|
11057
|
+
export const githubListCommitsDefinition = {
|
|
11058
|
+
description: "List commits in a GitHub repository with optional date filtering and pagination",
|
|
11059
|
+
scopes: [],
|
|
11060
|
+
parameters: {
|
|
11061
|
+
type: "object",
|
|
11062
|
+
required: ["repositoryOwner", "repositoryName"],
|
|
11063
|
+
properties: {
|
|
11064
|
+
repositoryOwner: {
|
|
11065
|
+
type: "string",
|
|
11066
|
+
description: "The owner of the repository",
|
|
11067
|
+
},
|
|
11068
|
+
repositoryName: {
|
|
11069
|
+
type: "string",
|
|
11070
|
+
description: "The name of the repository",
|
|
11071
|
+
},
|
|
11072
|
+
branch: {
|
|
11073
|
+
type: "string",
|
|
11074
|
+
description: "The branch to list commits from (defaults to default branch)",
|
|
11075
|
+
},
|
|
11076
|
+
since: {
|
|
11077
|
+
type: "string",
|
|
11078
|
+
description: "Only show commits after this date (ISO 8601 format, e.g., 2023-01-01T00:00:00Z)",
|
|
11079
|
+
},
|
|
11080
|
+
until: {
|
|
11081
|
+
type: "string",
|
|
11082
|
+
description: "Only show commits before this date (ISO 8601 format, e.g., 2023-12-31T23:59:59Z)",
|
|
11083
|
+
},
|
|
11084
|
+
author: {
|
|
11085
|
+
type: "string",
|
|
11086
|
+
description: "Filter commits by author (GitHub username or email)",
|
|
11087
|
+
},
|
|
11088
|
+
perPage: {
|
|
11089
|
+
type: "number",
|
|
11090
|
+
description: "Number of commits to return per page (default 30, max 100)",
|
|
11091
|
+
},
|
|
11092
|
+
page: {
|
|
11093
|
+
type: "number",
|
|
11094
|
+
description: "Page number for pagination (default 1)",
|
|
11095
|
+
},
|
|
11096
|
+
},
|
|
11097
|
+
},
|
|
11098
|
+
output: {
|
|
11099
|
+
type: "object",
|
|
11100
|
+
required: ["success"],
|
|
11101
|
+
properties: {
|
|
11102
|
+
success: {
|
|
11103
|
+
type: "boolean",
|
|
11104
|
+
description: "Whether the operation was successful",
|
|
11105
|
+
},
|
|
11106
|
+
error: {
|
|
11107
|
+
type: "string",
|
|
11108
|
+
description: "The error that occurred if the operation was not successful",
|
|
11109
|
+
},
|
|
11110
|
+
commits: {
|
|
11111
|
+
type: "array",
|
|
11112
|
+
description: "List of commits in the repository",
|
|
11113
|
+
items: {
|
|
11114
|
+
type: "object",
|
|
11115
|
+
required: ["sha", "commit", "author", "committer", "url", "htmlUrl"],
|
|
11116
|
+
properties: {
|
|
11117
|
+
sha: {
|
|
11118
|
+
type: "string",
|
|
11119
|
+
description: "The SHA hash of the commit",
|
|
11120
|
+
},
|
|
11121
|
+
url: {
|
|
11122
|
+
type: "string",
|
|
11123
|
+
description: "The API URL of the commit",
|
|
11124
|
+
},
|
|
11125
|
+
htmlUrl: {
|
|
11126
|
+
type: "string",
|
|
11127
|
+
description: "The web URL of the commit",
|
|
11128
|
+
},
|
|
11129
|
+
commit: {
|
|
11130
|
+
type: "object",
|
|
11131
|
+
required: ["message", "author", "committer", "tree"],
|
|
11132
|
+
properties: {
|
|
11133
|
+
message: {
|
|
11134
|
+
type: "string",
|
|
11135
|
+
description: "The commit message",
|
|
11136
|
+
},
|
|
11137
|
+
author: {
|
|
11138
|
+
type: "object",
|
|
11139
|
+
required: ["name", "email", "date"],
|
|
11140
|
+
properties: {
|
|
11141
|
+
name: {
|
|
11142
|
+
type: "string",
|
|
11143
|
+
description: "The name of the commit author",
|
|
11144
|
+
},
|
|
11145
|
+
email: {
|
|
11146
|
+
type: "string",
|
|
11147
|
+
description: "The email of the commit author",
|
|
11148
|
+
},
|
|
11149
|
+
date: {
|
|
11150
|
+
type: "string",
|
|
11151
|
+
description: "The date when the commit was authored (ISO 8601 format)",
|
|
11152
|
+
},
|
|
11153
|
+
},
|
|
11154
|
+
},
|
|
11155
|
+
committer: {
|
|
11156
|
+
type: "object",
|
|
11157
|
+
required: ["name", "email", "date"],
|
|
11158
|
+
properties: {
|
|
11159
|
+
name: {
|
|
11160
|
+
type: "string",
|
|
11161
|
+
description: "The name of the commit committer",
|
|
11162
|
+
},
|
|
11163
|
+
email: {
|
|
11164
|
+
type: "string",
|
|
11165
|
+
description: "The email of the commit committer",
|
|
11166
|
+
},
|
|
11167
|
+
date: {
|
|
11168
|
+
type: "string",
|
|
11169
|
+
description: "The date when the commit was committed (ISO 8601 format)",
|
|
11170
|
+
},
|
|
11171
|
+
},
|
|
11172
|
+
},
|
|
11173
|
+
tree: {
|
|
11174
|
+
type: "object",
|
|
11175
|
+
required: ["sha", "url"],
|
|
11176
|
+
properties: {
|
|
11177
|
+
sha: {
|
|
11178
|
+
type: "string",
|
|
11179
|
+
description: "The SHA of the tree object",
|
|
11180
|
+
},
|
|
11181
|
+
url: {
|
|
11182
|
+
type: "string",
|
|
11183
|
+
description: "The API URL of the tree object",
|
|
11184
|
+
},
|
|
11185
|
+
},
|
|
11186
|
+
},
|
|
11187
|
+
commentCount: {
|
|
11188
|
+
type: "number",
|
|
11189
|
+
description: "The number of comments on the commit",
|
|
11190
|
+
},
|
|
11191
|
+
},
|
|
11192
|
+
},
|
|
11193
|
+
author: {
|
|
11194
|
+
type: "object",
|
|
11195
|
+
nullable: true,
|
|
11196
|
+
properties: {
|
|
11197
|
+
login: {
|
|
11198
|
+
type: "string",
|
|
11199
|
+
description: "The GitHub username of the commit author",
|
|
11200
|
+
},
|
|
11201
|
+
},
|
|
11202
|
+
},
|
|
11203
|
+
parents: {
|
|
11204
|
+
type: "array",
|
|
11205
|
+
description: "The parent commits",
|
|
11206
|
+
items: {
|
|
11207
|
+
type: "object",
|
|
11208
|
+
required: ["sha", "url", "htmlUrl"],
|
|
11209
|
+
properties: {
|
|
11210
|
+
sha: {
|
|
11211
|
+
type: "string",
|
|
11212
|
+
description: "The SHA of the parent commit",
|
|
11213
|
+
},
|
|
11214
|
+
url: {
|
|
11215
|
+
type: "string",
|
|
11216
|
+
description: "The API URL of the parent commit",
|
|
11217
|
+
},
|
|
11218
|
+
htmlUrl: {
|
|
11219
|
+
type: "string",
|
|
11220
|
+
description: "The web URL of the parent commit",
|
|
11221
|
+
},
|
|
11222
|
+
},
|
|
11223
|
+
},
|
|
11224
|
+
},
|
|
11225
|
+
},
|
|
11226
|
+
},
|
|
11227
|
+
},
|
|
11228
|
+
totalCount: {
|
|
11229
|
+
type: "number",
|
|
11230
|
+
description: "Total number of commits (if available)",
|
|
11231
|
+
},
|
|
11232
|
+
hasMore: {
|
|
11233
|
+
type: "boolean",
|
|
11234
|
+
description: "Whether there are more commits available on subsequent pages",
|
|
11235
|
+
},
|
|
11236
|
+
},
|
|
11237
|
+
},
|
|
11238
|
+
name: "listCommits",
|
|
11239
|
+
provider: "github",
|
|
11240
|
+
};
|
|
10780
11241
|
export const notionSearchByTitleDefinition = {
|
|
10781
11242
|
description: "Search Notion pages and databases by title",
|
|
10782
11243
|
scopes: [],
|