@credal/actions 0.2.25 → 0.2.26
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 +7 -1
- package/dist/actions/autogen/templates.d.ts +1 -0
- package/dist/actions/autogen/templates.js +235 -0
- package/dist/actions/autogen/types.d.ts +288 -12
- package/dist/actions/autogen/types.js +64 -0
- package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
- package/dist/actions/providers/confluence/updatePage.js +47 -0
- package/dist/actions/providers/github/searchRepository.d.ts +3 -0
- package/dist/actions/providers/github/searchRepository.js +131 -0
- package/package.json +2 -1
- 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
@@ -1,4 +1,4 @@
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackArchiveChannelParamsSchema, slackArchiveChannelOutputSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, 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, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, 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, } from "./autogen/types.js";
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackArchiveChannelParamsSchema, slackArchiveChannelOutputSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, 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, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, 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, } 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";
|
@@ -109,6 +109,7 @@ import getJamfUserComputerId from "./providers/jamf/getJamfUserComputerId.js";
|
|
109
109
|
import lockJamfComputerById from "./providers/jamf/lockJamfComputerById.js";
|
110
110
|
import triggerOktaWorkflow from "./providers/okta/triggerOktaWorkflow.js";
|
111
111
|
import searchGroup from "./providers/gitlab/searchGroup.js";
|
112
|
+
import searchRepository from "./providers/github/searchRepository.js";
|
112
113
|
export const ActionMapper = {
|
113
114
|
generic: {
|
114
115
|
fillTemplate: {
|
@@ -625,6 +626,11 @@ export const ActionMapper = {
|
|
625
626
|
},
|
626
627
|
},
|
627
628
|
github: {
|
629
|
+
searchRepository: {
|
630
|
+
fn: searchRepository,
|
631
|
+
paramsSchema: githubSearchRepositoryParamsSchema,
|
632
|
+
outputSchema: githubSearchRepositoryOutputSchema,
|
633
|
+
},
|
628
634
|
createOrUpdateFile: {
|
629
635
|
fn: createOrUpdateFile,
|
630
636
|
paramsSchema: githubCreateOrUpdateFileParamsSchema,
|
@@ -104,6 +104,7 @@ export declare const githubCreateOrUpdateFileDefinition: ActionTemplate;
|
|
104
104
|
export declare const githubCreateBranchDefinition: ActionTemplate;
|
105
105
|
export declare const githubCreatePullRequestDefinition: ActionTemplate;
|
106
106
|
export declare const githubListPullRequestsDefinition: ActionTemplate;
|
107
|
+
export declare const githubSearchRepositoryDefinition: ActionTemplate;
|
107
108
|
export declare const notionSearchByTitleDefinition: ActionTemplate;
|
108
109
|
export declare const jamfGetJamfFileVaultRecoveryKeyDefinition: ActionTemplate;
|
109
110
|
export declare const jamfGetJamfComputerInventoryDefinition: ActionTemplate;
|
@@ -8360,6 +8360,241 @@ export const githubListPullRequestsDefinition = {
|
|
8360
8360
|
name: "listPullRequests",
|
8361
8361
|
provider: "github",
|
8362
8362
|
};
|
8363
|
+
export const githubSearchRepositoryDefinition = {
|
8364
|
+
description: "Search for repositories in a GitHub organization",
|
8365
|
+
scopes: [],
|
8366
|
+
parameters: {
|
8367
|
+
type: "object",
|
8368
|
+
required: ["organization", "repository", "query"],
|
8369
|
+
properties: {
|
8370
|
+
organization: {
|
8371
|
+
type: "string",
|
8372
|
+
description: "The organization to search for data in",
|
8373
|
+
},
|
8374
|
+
repository: {
|
8375
|
+
type: "string",
|
8376
|
+
description: "The repository to search for data in",
|
8377
|
+
},
|
8378
|
+
query: {
|
8379
|
+
type: "string",
|
8380
|
+
description: "The query to search for in the repository",
|
8381
|
+
},
|
8382
|
+
},
|
8383
|
+
},
|
8384
|
+
output: {
|
8385
|
+
type: "object",
|
8386
|
+
required: ["code", "commits", "issuesAndPullRequests"],
|
8387
|
+
properties: {
|
8388
|
+
code: {
|
8389
|
+
type: "array",
|
8390
|
+
description: "A list of code results that match the query",
|
8391
|
+
items: {
|
8392
|
+
type: "object",
|
8393
|
+
required: ["name", "path", "sha", "url", "score", "textMatches"],
|
8394
|
+
properties: {
|
8395
|
+
name: {
|
8396
|
+
type: "string",
|
8397
|
+
description: "The name of the file that had a match",
|
8398
|
+
},
|
8399
|
+
path: {
|
8400
|
+
type: "string",
|
8401
|
+
description: "The path of the file that had a match",
|
8402
|
+
},
|
8403
|
+
sha: {
|
8404
|
+
type: "string",
|
8405
|
+
description: "The SHA of the commit that had a match",
|
8406
|
+
},
|
8407
|
+
url: {
|
8408
|
+
type: "string",
|
8409
|
+
description: "The URL of the file that had a match",
|
8410
|
+
},
|
8411
|
+
score: {
|
8412
|
+
type: "number",
|
8413
|
+
description: "The similarity score of the match",
|
8414
|
+
},
|
8415
|
+
textMatches: {
|
8416
|
+
type: "array",
|
8417
|
+
description: "A list of text matches that match the query",
|
8418
|
+
items: {
|
8419
|
+
type: "object",
|
8420
|
+
required: ["matches"],
|
8421
|
+
properties: {
|
8422
|
+
object_url: {
|
8423
|
+
type: "string",
|
8424
|
+
description: "The URL of the object that had a match",
|
8425
|
+
},
|
8426
|
+
object_type: {
|
8427
|
+
type: "string",
|
8428
|
+
description: "The type of the object that had a match",
|
8429
|
+
},
|
8430
|
+
fragment: {
|
8431
|
+
type: "string",
|
8432
|
+
description: "The fragment of the text that had a match",
|
8433
|
+
},
|
8434
|
+
matches: {
|
8435
|
+
type: "array",
|
8436
|
+
description: "A list of matches that match the query",
|
8437
|
+
items: {
|
8438
|
+
type: "object",
|
8439
|
+
properties: {
|
8440
|
+
text: {
|
8441
|
+
type: "string",
|
8442
|
+
description: "The text that had a match",
|
8443
|
+
},
|
8444
|
+
indices: {
|
8445
|
+
type: "array",
|
8446
|
+
description: "The indices of the text that had a match",
|
8447
|
+
items: {
|
8448
|
+
type: "number",
|
8449
|
+
},
|
8450
|
+
},
|
8451
|
+
},
|
8452
|
+
},
|
8453
|
+
},
|
8454
|
+
},
|
8455
|
+
},
|
8456
|
+
},
|
8457
|
+
},
|
8458
|
+
},
|
8459
|
+
},
|
8460
|
+
commits: {
|
8461
|
+
type: "array",
|
8462
|
+
description: "A list of commits that match the query",
|
8463
|
+
items: {
|
8464
|
+
type: "object",
|
8465
|
+
required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
|
8466
|
+
properties: {
|
8467
|
+
sha: {
|
8468
|
+
type: "string",
|
8469
|
+
description: "The SHA of the commit that had a match",
|
8470
|
+
},
|
8471
|
+
url: {
|
8472
|
+
type: "string",
|
8473
|
+
description: "The URL of the commit that had a match",
|
8474
|
+
},
|
8475
|
+
commit: {
|
8476
|
+
type: "object",
|
8477
|
+
required: ["message", "author", "score", "files"],
|
8478
|
+
properties: {
|
8479
|
+
author: {
|
8480
|
+
type: "object",
|
8481
|
+
required: ["name", "email", "date"],
|
8482
|
+
properties: {
|
8483
|
+
name: {
|
8484
|
+
type: "string",
|
8485
|
+
description: "The name of the author",
|
8486
|
+
},
|
8487
|
+
email: {
|
8488
|
+
type: "string",
|
8489
|
+
description: "The email of the author",
|
8490
|
+
},
|
8491
|
+
date: {
|
8492
|
+
type: "string",
|
8493
|
+
description: "The date of the commit",
|
8494
|
+
},
|
8495
|
+
},
|
8496
|
+
},
|
8497
|
+
message: {
|
8498
|
+
type: "string",
|
8499
|
+
description: "The message of the commit",
|
8500
|
+
},
|
8501
|
+
},
|
8502
|
+
score: {
|
8503
|
+
type: "number",
|
8504
|
+
description: "The score of the commit",
|
8505
|
+
},
|
8506
|
+
files: {
|
8507
|
+
type: "array",
|
8508
|
+
description: "A list of files that match the query",
|
8509
|
+
items: {
|
8510
|
+
type: "object",
|
8511
|
+
required: ["filename", "status", "patch"],
|
8512
|
+
properties: {
|
8513
|
+
filename: {
|
8514
|
+
type: "string",
|
8515
|
+
description: "The filename of the file",
|
8516
|
+
},
|
8517
|
+
status: {
|
8518
|
+
type: "string",
|
8519
|
+
description: "The status of the file",
|
8520
|
+
},
|
8521
|
+
patch: {
|
8522
|
+
type: "string",
|
8523
|
+
description: "The patch of the file",
|
8524
|
+
},
|
8525
|
+
},
|
8526
|
+
},
|
8527
|
+
},
|
8528
|
+
},
|
8529
|
+
},
|
8530
|
+
},
|
8531
|
+
},
|
8532
|
+
issuesAndPullRequests: {
|
8533
|
+
type: "array",
|
8534
|
+
description: "A list of issues and pull requests that match the query",
|
8535
|
+
items: {
|
8536
|
+
type: "object",
|
8537
|
+
required: ["title", "url", "state", "createdAt", "updatedAt", "user"],
|
8538
|
+
properties: {
|
8539
|
+
number: {
|
8540
|
+
type: "number",
|
8541
|
+
description: "The number of the issue or pull request",
|
8542
|
+
},
|
8543
|
+
title: {
|
8544
|
+
type: "string",
|
8545
|
+
description: "The title of the issue or pull request",
|
8546
|
+
},
|
8547
|
+
html_url: {
|
8548
|
+
type: "string",
|
8549
|
+
description: "The URL of the issue or pull request",
|
8550
|
+
},
|
8551
|
+
state: {
|
8552
|
+
type: "string",
|
8553
|
+
description: "The state of the issue or pull request",
|
8554
|
+
enum: ["open", "closed"],
|
8555
|
+
},
|
8556
|
+
isPullRequest: {
|
8557
|
+
type: "boolean",
|
8558
|
+
description: "Whether the issue or pull request is a pull request",
|
8559
|
+
},
|
8560
|
+
body: {
|
8561
|
+
type: "string",
|
8562
|
+
description: "The body of the issue or pull request",
|
8563
|
+
},
|
8564
|
+
score: {
|
8565
|
+
type: "number",
|
8566
|
+
description: "The score of the issue or pull request",
|
8567
|
+
},
|
8568
|
+
files: {
|
8569
|
+
type: "array",
|
8570
|
+
description: "A list of files that match the query",
|
8571
|
+
items: {
|
8572
|
+
type: "object",
|
8573
|
+
required: ["filename", "status"],
|
8574
|
+
properties: {
|
8575
|
+
filename: {
|
8576
|
+
type: "string",
|
8577
|
+
description: "The filename of the file",
|
8578
|
+
},
|
8579
|
+
status: {
|
8580
|
+
type: "string",
|
8581
|
+
description: "The status of the file",
|
8582
|
+
},
|
8583
|
+
patch: {
|
8584
|
+
type: "string",
|
8585
|
+
description: "The patch of the file",
|
8586
|
+
},
|
8587
|
+
},
|
8588
|
+
},
|
8589
|
+
},
|
8590
|
+
},
|
8591
|
+
},
|
8592
|
+
},
|
8593
|
+
},
|
8594
|
+
},
|
8595
|
+
name: "searchRepository",
|
8596
|
+
provider: "github",
|
8597
|
+
};
|
8363
8598
|
export const notionSearchByTitleDefinition = {
|
8364
8599
|
description: "Search Notion pages and databases by title",
|
8365
8600
|
scopes: [],
|