@credal/actions 0.2.82 → 0.2.84
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 +50 -3
- package/dist/actions/autogen/types.d.ts +41 -3
- package/dist/actions/autogen/types.js +17 -1
- package/dist/actions/providers/firecrawl/getTopNSearchResultUrls.d.ts +3 -0
- package/dist/actions/providers/firecrawl/getTopNSearchResultUrls.js +45 -0
- package/dist/actions/providers/resend/sendEmailHtml.js +1 -1
- 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, slackArchiveChannelParamsSchema, slackArchiveChannelOutputSchema, 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, 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, } 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, 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, 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, } 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";
|
|
@@ -142,6 +142,7 @@ import gitlabListDirectory from "./providers/gitlab/listDirectory.js";
|
|
|
142
142
|
import publicCommentOnServiceDeskRequest from "./providers/jira/publicCommentOnServiceDeskRequest.js";
|
|
143
143
|
import sendGmail from "./providers/googlemail/sendGmail.js";
|
|
144
144
|
import searchAndScrape from "./providers/firecrawl/searchAndScrape.js";
|
|
145
|
+
import firecrawlGetTopNSearchResultUrls from "./providers/firecrawl/getTopNSearchResultUrls.js";
|
|
145
146
|
const jiraActions = {
|
|
146
147
|
getJiraIssuesByQuery: {
|
|
147
148
|
fn: getJiraIssuesByQuery,
|
|
@@ -428,6 +429,11 @@ export const ActionMapper = {
|
|
|
428
429
|
paramsSchema: firecrawlSearchAndScrapeParamsSchema,
|
|
429
430
|
outputSchema: firecrawlSearchAndScrapeOutputSchema,
|
|
430
431
|
},
|
|
432
|
+
getTopNSearchResultUrls: {
|
|
433
|
+
fn: firecrawlGetTopNSearchResultUrls,
|
|
434
|
+
paramsSchema: firecrawlGetTopNSearchResultUrlsParamsSchema,
|
|
435
|
+
outputSchema: firecrawlGetTopNSearchResultUrlsOutputSchema,
|
|
436
|
+
},
|
|
431
437
|
},
|
|
432
438
|
resend: {
|
|
433
439
|
sendEmail: {
|
|
@@ -56,6 +56,7 @@ export declare const nwsGetForecastForLocationDefinition: ActionTemplate;
|
|
|
56
56
|
export declare const firecrawlDeepResearchDefinition: ActionTemplate;
|
|
57
57
|
export declare const firecrawlScrapeUrlDefinition: ActionTemplate;
|
|
58
58
|
export declare const firecrawlSearchAndScrapeDefinition: ActionTemplate;
|
|
59
|
+
export declare const firecrawlGetTopNSearchResultUrlsDefinition: ActionTemplate;
|
|
59
60
|
export declare const firecrawlScrapeTweetDataWithNitterDefinition: ActionTemplate;
|
|
60
61
|
export declare const resendSendEmailDefinition: ActionTemplate;
|
|
61
62
|
export declare const resendSendEmailHtmlDefinition: ActionTemplate;
|
|
@@ -3089,6 +3089,53 @@ export const firecrawlSearchAndScrapeDefinition = {
|
|
|
3089
3089
|
name: "searchAndScrape",
|
|
3090
3090
|
provider: "firecrawl",
|
|
3091
3091
|
};
|
|
3092
|
+
export const firecrawlGetTopNSearchResultUrlsDefinition = {
|
|
3093
|
+
description: "Get the top five search result URLs from Firecrawl",
|
|
3094
|
+
scopes: [],
|
|
3095
|
+
parameters: {
|
|
3096
|
+
type: "object",
|
|
3097
|
+
required: ["query"],
|
|
3098
|
+
properties: {
|
|
3099
|
+
query: {
|
|
3100
|
+
type: "string",
|
|
3101
|
+
description: "The query to search for",
|
|
3102
|
+
},
|
|
3103
|
+
count: {
|
|
3104
|
+
type: "number",
|
|
3105
|
+
description: "The number of results to return. Default is 5.",
|
|
3106
|
+
},
|
|
3107
|
+
site: {
|
|
3108
|
+
type: "string",
|
|
3109
|
+
description: "The site to restrict the search to (by inserting site:<site.com> in the query). Examples include openai.com, github.com",
|
|
3110
|
+
},
|
|
3111
|
+
},
|
|
3112
|
+
},
|
|
3113
|
+
output: {
|
|
3114
|
+
type: "object",
|
|
3115
|
+
required: ["results"],
|
|
3116
|
+
properties: {
|
|
3117
|
+
results: {
|
|
3118
|
+
type: "array",
|
|
3119
|
+
description: "The top five search result objects",
|
|
3120
|
+
items: {
|
|
3121
|
+
type: "object",
|
|
3122
|
+
properties: {
|
|
3123
|
+
name: {
|
|
3124
|
+
type: "string",
|
|
3125
|
+
description: "The name or title of the search result",
|
|
3126
|
+
},
|
|
3127
|
+
url: {
|
|
3128
|
+
type: "string",
|
|
3129
|
+
description: "The URL of the search result",
|
|
3130
|
+
},
|
|
3131
|
+
},
|
|
3132
|
+
},
|
|
3133
|
+
},
|
|
3134
|
+
},
|
|
3135
|
+
},
|
|
3136
|
+
name: "getTopNSearchResultUrls",
|
|
3137
|
+
provider: "firecrawl",
|
|
3138
|
+
};
|
|
3092
3139
|
export const firecrawlScrapeTweetDataWithNitterDefinition = {
|
|
3093
3140
|
description: "Given A tweet URL scrape the tweet data with nitter+firecrawl",
|
|
3094
3141
|
scopes: [],
|
|
@@ -3158,7 +3205,7 @@ export const resendSendEmailHtmlDefinition = {
|
|
|
3158
3205
|
scopes: [],
|
|
3159
3206
|
parameters: {
|
|
3160
3207
|
type: "object",
|
|
3161
|
-
required: ["to", "subject", "
|
|
3208
|
+
required: ["to", "subject", "content"],
|
|
3162
3209
|
properties: {
|
|
3163
3210
|
to: {
|
|
3164
3211
|
type: "string",
|
|
@@ -3168,9 +3215,9 @@ export const resendSendEmailHtmlDefinition = {
|
|
|
3168
3215
|
type: "string",
|
|
3169
3216
|
description: "The subject of the email",
|
|
3170
3217
|
},
|
|
3171
|
-
|
|
3218
|
+
content: {
|
|
3172
3219
|
type: "string",
|
|
3173
|
-
description: "The HTML content of the email",
|
|
3220
|
+
description: "The HTML content of the email to be sent",
|
|
3174
3221
|
},
|
|
3175
3222
|
},
|
|
3176
3223
|
},
|
|
@@ -3038,6 +3038,44 @@ export declare const firecrawlSearchAndScrapeOutputSchema: z.ZodObject<{
|
|
|
3038
3038
|
}>;
|
|
3039
3039
|
export type firecrawlSearchAndScrapeOutputType = z.infer<typeof firecrawlSearchAndScrapeOutputSchema>;
|
|
3040
3040
|
export type firecrawlSearchAndScrapeFunction = ActionFunction<firecrawlSearchAndScrapeParamsType, AuthParamsType, firecrawlSearchAndScrapeOutputType>;
|
|
3041
|
+
export declare const firecrawlGetTopNSearchResultUrlsParamsSchema: z.ZodObject<{
|
|
3042
|
+
query: z.ZodString;
|
|
3043
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
3044
|
+
site: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
}, "strip", z.ZodTypeAny, {
|
|
3046
|
+
query: string;
|
|
3047
|
+
count?: number | undefined;
|
|
3048
|
+
site?: string | undefined;
|
|
3049
|
+
}, {
|
|
3050
|
+
query: string;
|
|
3051
|
+
count?: number | undefined;
|
|
3052
|
+
site?: string | undefined;
|
|
3053
|
+
}>;
|
|
3054
|
+
export type firecrawlGetTopNSearchResultUrlsParamsType = z.infer<typeof firecrawlGetTopNSearchResultUrlsParamsSchema>;
|
|
3055
|
+
export declare const firecrawlGetTopNSearchResultUrlsOutputSchema: z.ZodObject<{
|
|
3056
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3057
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3058
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3059
|
+
}, "strip", z.ZodTypeAny, {
|
|
3060
|
+
name?: string | undefined;
|
|
3061
|
+
url?: string | undefined;
|
|
3062
|
+
}, {
|
|
3063
|
+
name?: string | undefined;
|
|
3064
|
+
url?: string | undefined;
|
|
3065
|
+
}>, "many">;
|
|
3066
|
+
}, "strip", z.ZodTypeAny, {
|
|
3067
|
+
results: {
|
|
3068
|
+
name?: string | undefined;
|
|
3069
|
+
url?: string | undefined;
|
|
3070
|
+
}[];
|
|
3071
|
+
}, {
|
|
3072
|
+
results: {
|
|
3073
|
+
name?: string | undefined;
|
|
3074
|
+
url?: string | undefined;
|
|
3075
|
+
}[];
|
|
3076
|
+
}>;
|
|
3077
|
+
export type firecrawlGetTopNSearchResultUrlsOutputType = z.infer<typeof firecrawlGetTopNSearchResultUrlsOutputSchema>;
|
|
3078
|
+
export type firecrawlGetTopNSearchResultUrlsFunction = ActionFunction<firecrawlGetTopNSearchResultUrlsParamsType, AuthParamsType, firecrawlGetTopNSearchResultUrlsOutputType>;
|
|
3041
3079
|
export declare const firecrawlScrapeTweetDataWithNitterParamsSchema: z.ZodObject<{
|
|
3042
3080
|
tweetUrl: z.ZodString;
|
|
3043
3081
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3084,15 +3122,15 @@ export type resendSendEmailFunction = ActionFunction<resendSendEmailParamsType,
|
|
|
3084
3122
|
export declare const resendSendEmailHtmlParamsSchema: z.ZodObject<{
|
|
3085
3123
|
to: z.ZodString;
|
|
3086
3124
|
subject: z.ZodString;
|
|
3087
|
-
|
|
3125
|
+
content: z.ZodString;
|
|
3088
3126
|
}, "strip", z.ZodTypeAny, {
|
|
3127
|
+
content: string;
|
|
3089
3128
|
subject: string;
|
|
3090
3129
|
to: string;
|
|
3091
|
-
html: string;
|
|
3092
3130
|
}, {
|
|
3131
|
+
content: string;
|
|
3093
3132
|
subject: string;
|
|
3094
3133
|
to: string;
|
|
3095
|
-
html: string;
|
|
3096
3134
|
}>;
|
|
3097
3135
|
export type resendSendEmailHtmlParamsType = z.infer<typeof resendSendEmailHtmlParamsSchema>;
|
|
3098
3136
|
export declare const resendSendEmailHtmlOutputSchema: z.ZodObject<{
|
|
@@ -928,6 +928,22 @@ export const firecrawlSearchAndScrapeOutputSchema = z.object({
|
|
|
928
928
|
}))
|
|
929
929
|
.describe("The results of the search"),
|
|
930
930
|
});
|
|
931
|
+
export const firecrawlGetTopNSearchResultUrlsParamsSchema = z.object({
|
|
932
|
+
query: z.string().describe("The query to search for"),
|
|
933
|
+
count: z.number().describe("The number of results to return. Default is 5.").optional(),
|
|
934
|
+
site: z
|
|
935
|
+
.string()
|
|
936
|
+
.describe("The site to restrict the search to (by inserting site:<site.com> in the query). Examples include openai.com, github.com")
|
|
937
|
+
.optional(),
|
|
938
|
+
});
|
|
939
|
+
export const firecrawlGetTopNSearchResultUrlsOutputSchema = z.object({
|
|
940
|
+
results: z
|
|
941
|
+
.array(z.object({
|
|
942
|
+
name: z.string().describe("The name or title of the search result").optional(),
|
|
943
|
+
url: z.string().describe("The URL of the search result").optional(),
|
|
944
|
+
}))
|
|
945
|
+
.describe("The top five search result objects"),
|
|
946
|
+
});
|
|
931
947
|
export const firecrawlScrapeTweetDataWithNitterParamsSchema = z.object({
|
|
932
948
|
tweetUrl: z.string().describe("The url for the X(formerly twitter) post"),
|
|
933
949
|
});
|
|
@@ -946,7 +962,7 @@ export const resendSendEmailOutputSchema = z.object({
|
|
|
946
962
|
export const resendSendEmailHtmlParamsSchema = z.object({
|
|
947
963
|
to: z.string().describe("The email address to send the email to"),
|
|
948
964
|
subject: z.string().describe("The subject of the email"),
|
|
949
|
-
|
|
965
|
+
content: z.string().describe("The HTML content of the email to be sent"),
|
|
950
966
|
});
|
|
951
967
|
export const resendSendEmailHtmlOutputSchema = z.object({
|
|
952
968
|
success: z.boolean().describe("Whether the email was sent successfully"),
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import FirecrawlApp from "@mendable/firecrawl-js";
|
|
11
|
+
// NOTE: authParams.apiKey should now be your FIRECRAWL API key.
|
|
12
|
+
const getTopNSearchResultUrls = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
|
|
13
|
+
var _b;
|
|
14
|
+
const { query, count = 5, site } = params;
|
|
15
|
+
const { apiKey } = authParams;
|
|
16
|
+
if (!apiKey) {
|
|
17
|
+
throw new Error("Missing Firecrawl API key in auth parameters");
|
|
18
|
+
}
|
|
19
|
+
// Build the search query (preserve site: filter behavior)
|
|
20
|
+
const searchQuery = `${query}${site ? ` site:${site}` : ""}`;
|
|
21
|
+
try {
|
|
22
|
+
const app = new FirecrawlApp({ apiKey });
|
|
23
|
+
// Firecrawl search (no scraping needed for URL list)
|
|
24
|
+
const res = yield app.search(searchQuery, { limit: count });
|
|
25
|
+
if (!(res === null || res === void 0 ? void 0 : res.success)) {
|
|
26
|
+
throw new Error(`Firecrawl search failed: ${(_b = res === null || res === void 0 ? void 0 : res.error) !== null && _b !== void 0 ? _b : "unknown error"}`);
|
|
27
|
+
}
|
|
28
|
+
// Map Firecrawl results into a Bing-like shape your schema expects
|
|
29
|
+
const results = res.data
|
|
30
|
+
.filter(r => r === null || r === void 0 ? void 0 : r.url)
|
|
31
|
+
.map(r => {
|
|
32
|
+
var _a, _b, _c;
|
|
33
|
+
return ({
|
|
34
|
+
name: (_c = (_a = r.title) !== null && _a !== void 0 ? _a : (_b = r.metadata) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : r.url,
|
|
35
|
+
url: r.url,
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
return { results };
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
console.error("Error fetching search results from Firecrawl:", error);
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export default getTopNSearchResultUrls;
|
|
@@ -18,7 +18,7 @@ const sendEmailHtml = (_a) => __awaiter(void 0, [_a], void 0, function* ({ param
|
|
|
18
18
|
bcc: authParams.emailBcc,
|
|
19
19
|
to: params.to,
|
|
20
20
|
subject: params.subject,
|
|
21
|
-
html: params.
|
|
21
|
+
html: params.content,
|
|
22
22
|
});
|
|
23
23
|
if (result.error) {
|
|
24
24
|
throw new Error(result.error.message);
|