@credal/actions 0.2.83 → 0.2.85
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 +67 -0
- package/dist/actions/autogen/types.d.ts +61 -6
- package/dist/actions/autogen/types.js +33 -0
- package/dist/actions/providers/confluence/updatePage.js +14 -15
- package/dist/actions/providers/firecrawl/getTopNSearchResultUrls.d.ts +3 -0
- package/dist/actions/providers/firecrawl/getTopNSearchResultUrls.js +45 -0
- package/dist/actions/providers/generic/fillTemplateAction.d.ts +7 -0
- package/dist/actions/providers/generic/fillTemplateAction.js +18 -0
- package/dist/actions/providers/generic/genericApiCall.d.ts +3 -0
- package/dist/actions/providers/generic/genericApiCall.js +38 -0
- package/dist/actions/providers/google-oauth/editAGoogleCalendarEvent.js +11 -3
- package/dist/actions/providers/google-oauth/getDriveContentById.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getDriveContentById.js +161 -0
- package/dist/actions/providers/google-oauth/listCalendarEvents.js +17 -6
- package/dist/actions/providers/google-oauth/scheduleCalendarMeeting.js +3 -7
- package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchAndGetDriveContentByKeywords.js +47 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByKeywords.js +110 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchDriveAndGetContentByQuery.js +78 -0
- package/dist/actions/providers/google-oauth/updateCalendarEvent.js +10 -2
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.d.ts +15 -0
- package/dist/actions/providers/google-oauth/utils/extractContentFromDriveFileId.js +129 -0
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
- package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
- package/dist/actions/providers/snowflake/runSnowflakeQuery.js +6 -4
- package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.d.ts +3 -0
- package/dist/actions/providers/snowflake/runSnowflakeQueryWriteResultsToS3.js +154 -0
- package/dist/actions/providers/x/scrapeTweetDataWithNitter.d.ts +3 -0
- package/dist/actions/providers/x/scrapeTweetDataWithNitter.js +45 -0
- package/package.json +1 -1
- package/dist/actions/providers/jamf/types.d.ts +0 -8
- package/dist/actions/providers/jamf/types.js +0 -7
|
@@ -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;
|
|
@@ -2814,6 +2814,10 @@ export const snowflakeRunSnowflakeQueryDefinition = {
|
|
|
2814
2814
|
type: "string",
|
|
2815
2815
|
description: "The name of the Snowflake account",
|
|
2816
2816
|
},
|
|
2817
|
+
username: {
|
|
2818
|
+
type: "string",
|
|
2819
|
+
description: "The username of the Snowflake Credential (optional)",
|
|
2820
|
+
},
|
|
2817
2821
|
outputFormat: {
|
|
2818
2822
|
type: "string",
|
|
2819
2823
|
description: "The format of the output",
|
|
@@ -3089,6 +3093,53 @@ export const firecrawlSearchAndScrapeDefinition = {
|
|
|
3089
3093
|
name: "searchAndScrape",
|
|
3090
3094
|
provider: "firecrawl",
|
|
3091
3095
|
};
|
|
3096
|
+
export const firecrawlGetTopNSearchResultUrlsDefinition = {
|
|
3097
|
+
description: "Get the top five search result URLs from Firecrawl",
|
|
3098
|
+
scopes: [],
|
|
3099
|
+
parameters: {
|
|
3100
|
+
type: "object",
|
|
3101
|
+
required: ["query"],
|
|
3102
|
+
properties: {
|
|
3103
|
+
query: {
|
|
3104
|
+
type: "string",
|
|
3105
|
+
description: "The query to search for",
|
|
3106
|
+
},
|
|
3107
|
+
count: {
|
|
3108
|
+
type: "number",
|
|
3109
|
+
description: "The number of results to return. Default is 5.",
|
|
3110
|
+
},
|
|
3111
|
+
site: {
|
|
3112
|
+
type: "string",
|
|
3113
|
+
description: "The site to restrict the search to (by inserting site:<site.com> in the query). Examples include openai.com, github.com",
|
|
3114
|
+
},
|
|
3115
|
+
},
|
|
3116
|
+
},
|
|
3117
|
+
output: {
|
|
3118
|
+
type: "object",
|
|
3119
|
+
required: ["results"],
|
|
3120
|
+
properties: {
|
|
3121
|
+
results: {
|
|
3122
|
+
type: "array",
|
|
3123
|
+
description: "The top five search result objects",
|
|
3124
|
+
items: {
|
|
3125
|
+
type: "object",
|
|
3126
|
+
properties: {
|
|
3127
|
+
name: {
|
|
3128
|
+
type: "string",
|
|
3129
|
+
description: "The name or title of the search result",
|
|
3130
|
+
},
|
|
3131
|
+
url: {
|
|
3132
|
+
type: "string",
|
|
3133
|
+
description: "The URL of the search result",
|
|
3134
|
+
},
|
|
3135
|
+
},
|
|
3136
|
+
},
|
|
3137
|
+
},
|
|
3138
|
+
},
|
|
3139
|
+
},
|
|
3140
|
+
name: "getTopNSearchResultUrls",
|
|
3141
|
+
provider: "firecrawl",
|
|
3142
|
+
};
|
|
3092
3143
|
export const firecrawlScrapeTweetDataWithNitterDefinition = {
|
|
3093
3144
|
description: "Given A tweet URL scrape the tweet data with nitter+firecrawl",
|
|
3094
3145
|
scopes: [],
|
|
@@ -4375,6 +4426,10 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
|
|
|
4375
4426
|
type: "boolean",
|
|
4376
4427
|
description: "Whether to use Google Meet for the meeting",
|
|
4377
4428
|
},
|
|
4429
|
+
timeZone: {
|
|
4430
|
+
type: "string",
|
|
4431
|
+
description: "The time zone for the meeting, IANA Time Zone identifier (e.g., 'America/New_York')",
|
|
4432
|
+
},
|
|
4378
4433
|
},
|
|
4379
4434
|
},
|
|
4380
4435
|
output: {
|
|
@@ -4576,6 +4631,10 @@ export const googleOauthListCalendarEventsDefinition = {
|
|
|
4576
4631
|
},
|
|
4577
4632
|
},
|
|
4578
4633
|
},
|
|
4634
|
+
timezone: {
|
|
4635
|
+
type: "string",
|
|
4636
|
+
description: "Timezone the user is currently based out of, given by their calender, follows the IANA Time Zone Database format, defaults to UTC if not defined",
|
|
4637
|
+
},
|
|
4579
4638
|
error: {
|
|
4580
4639
|
type: "string",
|
|
4581
4640
|
description: "Error message if listing failed",
|
|
@@ -4650,6 +4709,10 @@ export const googleOauthUpdateCalendarEventDefinition = {
|
|
|
4650
4709
|
},
|
|
4651
4710
|
},
|
|
4652
4711
|
},
|
|
4712
|
+
timeZone: {
|
|
4713
|
+
type: "string",
|
|
4714
|
+
description: "The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')",
|
|
4715
|
+
},
|
|
4653
4716
|
},
|
|
4654
4717
|
},
|
|
4655
4718
|
},
|
|
@@ -4740,6 +4803,10 @@ export const googleOauthEditAGoogleCalendarEventDefinition = {
|
|
|
4740
4803
|
},
|
|
4741
4804
|
},
|
|
4742
4805
|
},
|
|
4806
|
+
timeZone: {
|
|
4807
|
+
type: "string",
|
|
4808
|
+
description: "The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')",
|
|
4809
|
+
},
|
|
4743
4810
|
},
|
|
4744
4811
|
},
|
|
4745
4812
|
output: {
|
|
@@ -60,10 +60,10 @@ export declare const AuthParamsSchema: z.ZodObject<{
|
|
|
60
60
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
subdomain?: string | undefined;
|
|
63
|
+
username?: string | undefined;
|
|
63
64
|
authToken?: string | undefined;
|
|
64
65
|
baseUrl?: string | undefined;
|
|
65
66
|
apiKey?: string | undefined;
|
|
66
|
-
username?: string | undefined;
|
|
67
67
|
userAgent?: string | undefined;
|
|
68
68
|
emailFrom?: string | undefined;
|
|
69
69
|
emailReplyTo?: string | undefined;
|
|
@@ -79,10 +79,10 @@ export declare const AuthParamsSchema: z.ZodObject<{
|
|
|
79
79
|
redirectUri?: string | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
subdomain?: string | undefined;
|
|
82
|
+
username?: string | undefined;
|
|
82
83
|
authToken?: string | undefined;
|
|
83
84
|
baseUrl?: string | undefined;
|
|
84
85
|
apiKey?: string | undefined;
|
|
85
|
-
username?: string | undefined;
|
|
86
86
|
userAgent?: string | undefined;
|
|
87
87
|
emailFrom?: string | undefined;
|
|
88
88
|
emailReplyTo?: string | undefined;
|
|
@@ -2805,6 +2805,7 @@ export declare const snowflakeRunSnowflakeQueryParamsSchema: z.ZodObject<{
|
|
|
2805
2805
|
role: z.ZodOptional<z.ZodString>;
|
|
2806
2806
|
query: z.ZodString;
|
|
2807
2807
|
accountName: z.ZodString;
|
|
2808
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2808
2809
|
outputFormat: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
|
|
2809
2810
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2810
2811
|
codeInterpreterLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2816,6 +2817,7 @@ export declare const snowflakeRunSnowflakeQueryParamsSchema: z.ZodObject<{
|
|
|
2816
2817
|
warehouse: string;
|
|
2817
2818
|
limit?: number | undefined;
|
|
2818
2819
|
role?: string | undefined;
|
|
2820
|
+
username?: string | undefined;
|
|
2819
2821
|
outputFormat?: "json" | "csv" | undefined;
|
|
2820
2822
|
codeInterpreterLimit?: number | undefined;
|
|
2821
2823
|
codeInterpreterImageGenLimit?: number | undefined;
|
|
@@ -2826,6 +2828,7 @@ export declare const snowflakeRunSnowflakeQueryParamsSchema: z.ZodObject<{
|
|
|
2826
2828
|
warehouse: string;
|
|
2827
2829
|
limit?: number | undefined;
|
|
2828
2830
|
role?: string | undefined;
|
|
2831
|
+
username?: string | undefined;
|
|
2829
2832
|
outputFormat?: "json" | "csv" | undefined;
|
|
2830
2833
|
codeInterpreterLimit?: number | undefined;
|
|
2831
2834
|
codeInterpreterImageGenLimit?: number | undefined;
|
|
@@ -3038,6 +3041,44 @@ export declare const firecrawlSearchAndScrapeOutputSchema: z.ZodObject<{
|
|
|
3038
3041
|
}>;
|
|
3039
3042
|
export type firecrawlSearchAndScrapeOutputType = z.infer<typeof firecrawlSearchAndScrapeOutputSchema>;
|
|
3040
3043
|
export type firecrawlSearchAndScrapeFunction = ActionFunction<firecrawlSearchAndScrapeParamsType, AuthParamsType, firecrawlSearchAndScrapeOutputType>;
|
|
3044
|
+
export declare const firecrawlGetTopNSearchResultUrlsParamsSchema: z.ZodObject<{
|
|
3045
|
+
query: z.ZodString;
|
|
3046
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
3047
|
+
site: z.ZodOptional<z.ZodString>;
|
|
3048
|
+
}, "strip", z.ZodTypeAny, {
|
|
3049
|
+
query: string;
|
|
3050
|
+
count?: number | undefined;
|
|
3051
|
+
site?: string | undefined;
|
|
3052
|
+
}, {
|
|
3053
|
+
query: string;
|
|
3054
|
+
count?: number | undefined;
|
|
3055
|
+
site?: string | undefined;
|
|
3056
|
+
}>;
|
|
3057
|
+
export type firecrawlGetTopNSearchResultUrlsParamsType = z.infer<typeof firecrawlGetTopNSearchResultUrlsParamsSchema>;
|
|
3058
|
+
export declare const firecrawlGetTopNSearchResultUrlsOutputSchema: z.ZodObject<{
|
|
3059
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3060
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
}, "strip", z.ZodTypeAny, {
|
|
3063
|
+
name?: string | undefined;
|
|
3064
|
+
url?: string | undefined;
|
|
3065
|
+
}, {
|
|
3066
|
+
name?: string | undefined;
|
|
3067
|
+
url?: string | undefined;
|
|
3068
|
+
}>, "many">;
|
|
3069
|
+
}, "strip", z.ZodTypeAny, {
|
|
3070
|
+
results: {
|
|
3071
|
+
name?: string | undefined;
|
|
3072
|
+
url?: string | undefined;
|
|
3073
|
+
}[];
|
|
3074
|
+
}, {
|
|
3075
|
+
results: {
|
|
3076
|
+
name?: string | undefined;
|
|
3077
|
+
url?: string | undefined;
|
|
3078
|
+
}[];
|
|
3079
|
+
}>;
|
|
3080
|
+
export type firecrawlGetTopNSearchResultUrlsOutputType = z.infer<typeof firecrawlGetTopNSearchResultUrlsOutputSchema>;
|
|
3081
|
+
export type firecrawlGetTopNSearchResultUrlsFunction = ActionFunction<firecrawlGetTopNSearchResultUrlsParamsType, AuthParamsType, firecrawlGetTopNSearchResultUrlsOutputType>;
|
|
3041
3082
|
export declare const firecrawlScrapeTweetDataWithNitterParamsSchema: z.ZodObject<{
|
|
3042
3083
|
tweetUrl: z.ZodString;
|
|
3043
3084
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3167,6 +3208,7 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
|
|
|
3167
3208
|
description: z.ZodOptional<z.ZodString>;
|
|
3168
3209
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3169
3210
|
useGoogleMeet: z.ZodOptional<z.ZodBoolean>;
|
|
3211
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3170
3212
|
}, "strip", z.ZodTypeAny, {
|
|
3171
3213
|
name: string;
|
|
3172
3214
|
calendarId: string;
|
|
@@ -3175,6 +3217,7 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
|
|
|
3175
3217
|
description?: string | undefined;
|
|
3176
3218
|
attendees?: string[] | undefined;
|
|
3177
3219
|
useGoogleMeet?: boolean | undefined;
|
|
3220
|
+
timeZone?: string | undefined;
|
|
3178
3221
|
}, {
|
|
3179
3222
|
name: string;
|
|
3180
3223
|
calendarId: string;
|
|
@@ -3183,6 +3226,7 @@ export declare const googleOauthScheduleCalendarMeetingParamsSchema: z.ZodObject
|
|
|
3183
3226
|
description?: string | undefined;
|
|
3184
3227
|
attendees?: string[] | undefined;
|
|
3185
3228
|
useGoogleMeet?: boolean | undefined;
|
|
3229
|
+
timeZone?: string | undefined;
|
|
3186
3230
|
}>;
|
|
3187
3231
|
export type googleOauthScheduleCalendarMeetingParamsType = z.infer<typeof googleOauthScheduleCalendarMeetingParamsSchema>;
|
|
3188
3232
|
export declare const googleOauthScheduleCalendarMeetingOutputSchema: z.ZodObject<{
|
|
@@ -3341,6 +3385,7 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
3341
3385
|
} | undefined;
|
|
3342
3386
|
hangoutLink?: string | undefined;
|
|
3343
3387
|
}>, "many">;
|
|
3388
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3344
3389
|
error: z.ZodOptional<z.ZodString>;
|
|
3345
3390
|
}, "strip", z.ZodTypeAny, {
|
|
3346
3391
|
success: boolean;
|
|
@@ -3367,6 +3412,7 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
3367
3412
|
hangoutLink?: string | undefined;
|
|
3368
3413
|
}[];
|
|
3369
3414
|
error?: string | undefined;
|
|
3415
|
+
timezone?: string | undefined;
|
|
3370
3416
|
}, {
|
|
3371
3417
|
success: boolean;
|
|
3372
3418
|
events: {
|
|
@@ -3392,6 +3438,7 @@ export declare const googleOauthListCalendarEventsOutputSchema: z.ZodObject<{
|
|
|
3392
3438
|
hangoutLink?: string | undefined;
|
|
3393
3439
|
}[];
|
|
3394
3440
|
error?: string | undefined;
|
|
3441
|
+
timezone?: string | undefined;
|
|
3395
3442
|
}>;
|
|
3396
3443
|
export type googleOauthListCalendarEventsOutputType = z.infer<typeof googleOauthListCalendarEventsOutputSchema>;
|
|
3397
3444
|
export type googleOauthListCalendarEventsFunction = ActionFunction<googleOauthListCalendarEventsParamsType, AuthParamsType, googleOauthListCalendarEventsOutputType>;
|
|
@@ -3416,6 +3463,7 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
3416
3463
|
email?: string | undefined;
|
|
3417
3464
|
displayName?: string | undefined;
|
|
3418
3465
|
}>>;
|
|
3466
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3419
3467
|
}, "strip", z.ZodTypeAny, {
|
|
3420
3468
|
status?: string | undefined;
|
|
3421
3469
|
description?: string | undefined;
|
|
@@ -3424,6 +3472,7 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
3424
3472
|
start?: string | undefined;
|
|
3425
3473
|
end?: string | undefined;
|
|
3426
3474
|
attendees?: string[] | undefined;
|
|
3475
|
+
timeZone?: string | undefined;
|
|
3427
3476
|
organizer?: {
|
|
3428
3477
|
email?: string | undefined;
|
|
3429
3478
|
displayName?: string | undefined;
|
|
@@ -3436,6 +3485,7 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
3436
3485
|
start?: string | undefined;
|
|
3437
3486
|
end?: string | undefined;
|
|
3438
3487
|
attendees?: string[] | undefined;
|
|
3488
|
+
timeZone?: string | undefined;
|
|
3439
3489
|
organizer?: {
|
|
3440
3490
|
email?: string | undefined;
|
|
3441
3491
|
displayName?: string | undefined;
|
|
@@ -3452,6 +3502,7 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
3452
3502
|
start?: string | undefined;
|
|
3453
3503
|
end?: string | undefined;
|
|
3454
3504
|
attendees?: string[] | undefined;
|
|
3505
|
+
timeZone?: string | undefined;
|
|
3455
3506
|
organizer?: {
|
|
3456
3507
|
email?: string | undefined;
|
|
3457
3508
|
displayName?: string | undefined;
|
|
@@ -3468,6 +3519,7 @@ export declare const googleOauthUpdateCalendarEventParamsSchema: z.ZodObject<{
|
|
|
3468
3519
|
start?: string | undefined;
|
|
3469
3520
|
end?: string | undefined;
|
|
3470
3521
|
attendees?: string[] | undefined;
|
|
3522
|
+
timeZone?: string | undefined;
|
|
3471
3523
|
organizer?: {
|
|
3472
3524
|
email?: string | undefined;
|
|
3473
3525
|
displayName?: string | undefined;
|
|
@@ -3513,6 +3565,7 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
3513
3565
|
email?: string | undefined;
|
|
3514
3566
|
displayName?: string | undefined;
|
|
3515
3567
|
}>>;
|
|
3568
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3516
3569
|
}, "strip", z.ZodTypeAny, {
|
|
3517
3570
|
calendarId: string;
|
|
3518
3571
|
eventId: string;
|
|
@@ -3523,6 +3576,7 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
3523
3576
|
start?: string | undefined;
|
|
3524
3577
|
end?: string | undefined;
|
|
3525
3578
|
attendees?: string[] | undefined;
|
|
3579
|
+
timeZone?: string | undefined;
|
|
3526
3580
|
organizer?: {
|
|
3527
3581
|
email?: string | undefined;
|
|
3528
3582
|
displayName?: string | undefined;
|
|
@@ -3537,6 +3591,7 @@ export declare const googleOauthEditAGoogleCalendarEventParamsSchema: z.ZodObjec
|
|
|
3537
3591
|
start?: string | undefined;
|
|
3538
3592
|
end?: string | undefined;
|
|
3539
3593
|
attendees?: string[] | undefined;
|
|
3594
|
+
timeZone?: string | undefined;
|
|
3540
3595
|
organizer?: {
|
|
3541
3596
|
email?: string | undefined;
|
|
3542
3597
|
displayName?: string | undefined;
|
|
@@ -3626,19 +3681,19 @@ export declare const googleOauthCreateSpreadsheetParamsSchema: z.ZodObject<{
|
|
|
3626
3681
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
3627
3682
|
autoRecalc: z.ZodOptional<z.ZodEnum<["ON_CHANGE", "MINUTE", "HOUR"]>>;
|
|
3628
3683
|
}, "strip", z.ZodTypeAny, {
|
|
3629
|
-
locale?: string | undefined;
|
|
3630
3684
|
timeZone?: string | undefined;
|
|
3685
|
+
locale?: string | undefined;
|
|
3631
3686
|
autoRecalc?: "ON_CHANGE" | "MINUTE" | "HOUR" | undefined;
|
|
3632
3687
|
}, {
|
|
3633
|
-
locale?: string | undefined;
|
|
3634
3688
|
timeZone?: string | undefined;
|
|
3689
|
+
locale?: string | undefined;
|
|
3635
3690
|
autoRecalc?: "ON_CHANGE" | "MINUTE" | "HOUR" | undefined;
|
|
3636
3691
|
}>>;
|
|
3637
3692
|
}, "strip", z.ZodTypeAny, {
|
|
3638
3693
|
title: string;
|
|
3639
3694
|
properties?: {
|
|
3640
|
-
locale?: string | undefined;
|
|
3641
3695
|
timeZone?: string | undefined;
|
|
3696
|
+
locale?: string | undefined;
|
|
3642
3697
|
autoRecalc?: "ON_CHANGE" | "MINUTE" | "HOUR" | undefined;
|
|
3643
3698
|
} | undefined;
|
|
3644
3699
|
sheets?: {
|
|
@@ -3653,8 +3708,8 @@ export declare const googleOauthCreateSpreadsheetParamsSchema: z.ZodObject<{
|
|
|
3653
3708
|
}, {
|
|
3654
3709
|
title: string;
|
|
3655
3710
|
properties?: {
|
|
3656
|
-
locale?: string | undefined;
|
|
3657
3711
|
timeZone?: string | undefined;
|
|
3712
|
+
locale?: string | undefined;
|
|
3658
3713
|
autoRecalc?: "ON_CHANGE" | "MINUTE" | "HOUR" | undefined;
|
|
3659
3714
|
} | undefined;
|
|
3660
3715
|
sheets?: {
|
|
@@ -849,6 +849,7 @@ export const snowflakeRunSnowflakeQueryParamsSchema = z.object({
|
|
|
849
849
|
role: z.string().describe("The snowflake role to use for executing the query").optional(),
|
|
850
850
|
query: z.string().describe("The SQL query to execute"),
|
|
851
851
|
accountName: z.string().describe("The name of the Snowflake account"),
|
|
852
|
+
username: z.string().describe("The username of the Snowflake Credential (optional)").optional(),
|
|
852
853
|
outputFormat: z.enum(["json", "csv"]).describe("The format of the output").optional(),
|
|
853
854
|
limit: z.number().describe("A limit on the number of rows to return").optional(),
|
|
854
855
|
codeInterpreterLimit: z
|
|
@@ -928,6 +929,22 @@ export const firecrawlSearchAndScrapeOutputSchema = z.object({
|
|
|
928
929
|
}))
|
|
929
930
|
.describe("The results of the search"),
|
|
930
931
|
});
|
|
932
|
+
export const firecrawlGetTopNSearchResultUrlsParamsSchema = z.object({
|
|
933
|
+
query: z.string().describe("The query to search for"),
|
|
934
|
+
count: z.number().describe("The number of results to return. Default is 5.").optional(),
|
|
935
|
+
site: z
|
|
936
|
+
.string()
|
|
937
|
+
.describe("The site to restrict the search to (by inserting site:<site.com> in the query). Examples include openai.com, github.com")
|
|
938
|
+
.optional(),
|
|
939
|
+
});
|
|
940
|
+
export const firecrawlGetTopNSearchResultUrlsOutputSchema = z.object({
|
|
941
|
+
results: z
|
|
942
|
+
.array(z.object({
|
|
943
|
+
name: z.string().describe("The name or title of the search result").optional(),
|
|
944
|
+
url: z.string().describe("The URL of the search result").optional(),
|
|
945
|
+
}))
|
|
946
|
+
.describe("The top five search result objects"),
|
|
947
|
+
});
|
|
931
948
|
export const firecrawlScrapeTweetDataWithNitterParamsSchema = z.object({
|
|
932
949
|
tweetUrl: z.string().describe("The url for the X(formerly twitter) post"),
|
|
933
950
|
});
|
|
@@ -1499,6 +1516,10 @@ export const googleOauthScheduleCalendarMeetingParamsSchema = z.object({
|
|
|
1499
1516
|
.describe("The attendees of the meeting")
|
|
1500
1517
|
.optional(),
|
|
1501
1518
|
useGoogleMeet: z.boolean().describe("Whether to use Google Meet for the meeting").optional(),
|
|
1519
|
+
timeZone: z
|
|
1520
|
+
.string()
|
|
1521
|
+
.describe("The time zone for the meeting, IANA Time Zone identifier (e.g., 'America/New_York')")
|
|
1522
|
+
.optional(),
|
|
1502
1523
|
});
|
|
1503
1524
|
export const googleOauthScheduleCalendarMeetingOutputSchema = z.object({
|
|
1504
1525
|
success: z.boolean().describe("Whether the meeting was scheduled successfully"),
|
|
@@ -1566,6 +1587,10 @@ export const googleOauthListCalendarEventsOutputSchema = z.object({
|
|
|
1566
1587
|
})
|
|
1567
1588
|
.describe("A calendar event"))
|
|
1568
1589
|
.describe("List of events"),
|
|
1590
|
+
timezone: z
|
|
1591
|
+
.string()
|
|
1592
|
+
.describe("Timezone the user is currently based out of, given by their calender, follows the IANA Time Zone Database format, defaults to UTC if not defined")
|
|
1593
|
+
.optional(),
|
|
1569
1594
|
error: z.string().describe("Error message if listing failed").optional(),
|
|
1570
1595
|
});
|
|
1571
1596
|
export const googleOauthUpdateCalendarEventParamsSchema = z.object({
|
|
@@ -1590,6 +1615,10 @@ export const googleOauthUpdateCalendarEventParamsSchema = z.object({
|
|
|
1590
1615
|
})
|
|
1591
1616
|
.describe("The new organizer of the event")
|
|
1592
1617
|
.optional(),
|
|
1618
|
+
timeZone: z
|
|
1619
|
+
.string()
|
|
1620
|
+
.describe("The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')")
|
|
1621
|
+
.optional(),
|
|
1593
1622
|
})
|
|
1594
1623
|
.describe("The fields to update on the event")
|
|
1595
1624
|
.optional(),
|
|
@@ -1620,6 +1649,10 @@ export const googleOauthEditAGoogleCalendarEventParamsSchema = z.object({
|
|
|
1620
1649
|
})
|
|
1621
1650
|
.describe("The new organizer of the event")
|
|
1622
1651
|
.optional(),
|
|
1652
|
+
timeZone: z
|
|
1653
|
+
.string()
|
|
1654
|
+
.describe("The time zone for the event, IANA Time Zone identifier (e.g., 'America/New_York')")
|
|
1655
|
+
.optional(),
|
|
1623
1656
|
});
|
|
1624
1657
|
export const googleOauthEditAGoogleCalendarEventOutputSchema = z.object({
|
|
1625
1658
|
success: z.boolean().describe("Whether the event was edited successfully"),
|
|
@@ -8,30 +8,28 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
12
|
+
const axiosClient_1 = require("../../util/axiosClient");
|
|
13
|
+
function getConfluenceRequestConfig(baseUrl, username, apiToken) {
|
|
14
|
+
return {
|
|
18
15
|
baseURL: baseUrl,
|
|
19
16
|
headers: {
|
|
20
17
|
Accept: "application/json",
|
|
21
|
-
// Tokens are associated with a specific user.
|
|
22
18
|
Authorization: `Basic ${Buffer.from(`${username}:${apiToken}`).toString("base64")}`,
|
|
23
19
|
},
|
|
24
|
-
}
|
|
25
|
-
return api;
|
|
20
|
+
};
|
|
26
21
|
}
|
|
27
22
|
const confluenceUpdatePage = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
|
|
28
|
-
const { pageId,
|
|
29
|
-
const { baseUrl, authToken } = authParams;
|
|
30
|
-
|
|
23
|
+
const { pageId, content, title } = params;
|
|
24
|
+
const { baseUrl, authToken, username } = authParams;
|
|
25
|
+
if (!baseUrl || !authToken || !username) {
|
|
26
|
+
throw new Error("Missing required authentication information");
|
|
27
|
+
}
|
|
28
|
+
const config = getConfluenceRequestConfig(baseUrl, username, authToken);
|
|
31
29
|
// Get current version number
|
|
32
|
-
const response = yield
|
|
30
|
+
const response = yield axiosClient_1.axiosClient.get(`/api/v2/pages/${pageId}`, config);
|
|
33
31
|
const currVersion = response.data.version.number;
|
|
34
|
-
|
|
32
|
+
const payload = {
|
|
35
33
|
id: pageId,
|
|
36
34
|
status: "current",
|
|
37
35
|
title,
|
|
@@ -42,6 +40,7 @@ const confluenceUpdatePage = (_a) => __awaiter(void 0, [_a], void 0, function* (
|
|
|
42
40
|
version: {
|
|
43
41
|
number: currVersion + 1,
|
|
44
42
|
},
|
|
45
|
-
}
|
|
43
|
+
};
|
|
44
|
+
yield axiosClient_1.axiosClient.put(`/api/v2/pages/${pageId}`, payload, config);
|
|
46
45
|
});
|
|
47
46
|
exports.default = confluenceUpdatePage;
|
|
@@ -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;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const fillTemplateAction = (_a) => __awaiter(void 0, [_a], void 0, function* ({ template }) {
|
|
13
|
+
// Simply return the template without any modification
|
|
14
|
+
return {
|
|
15
|
+
result: template,
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
exports.default = fillTemplateAction;
|