@credal/actions 0.2.199 → 0.2.201

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.
Files changed (70) hide show
  1. package/dist/actions/actionMapper.js +14 -1
  2. package/dist/actions/autogen/templates.d.ts +3 -0
  3. package/dist/actions/autogen/templates.js +132 -0
  4. package/dist/actions/autogen/types.d.ts +88 -0
  5. package/dist/actions/autogen/types.js +58 -0
  6. package/dist/actions/providers/jira/linkJiraIssues.d.ts +3 -0
  7. package/dist/actions/providers/jira/linkJiraIssues.js +46 -0
  8. package/package.json +1 -1
  9. package/dist/actions/groups.d.ts +0 -6
  10. package/dist/actions/groups.js +0 -251
  11. package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
  12. package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
  13. package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
  14. package/dist/actions/providers/ashby/createCandidate.js +0 -38
  15. package/dist/actions/providers/ashby/createNote.d.ts +0 -3
  16. package/dist/actions/providers/ashby/createNote.js +0 -31
  17. package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
  18. package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
  19. package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
  20. package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
  21. package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
  22. package/dist/actions/providers/ashby/listCandidates.js +0 -30
  23. package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
  24. package/dist/actions/providers/ashby/searchCandidates.js +0 -34
  25. package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
  26. package/dist/actions/providers/ashby/updateCandidate.js +0 -56
  27. package/dist/actions/providers/github/fetchFile.d.ts +0 -3
  28. package/dist/actions/providers/github/fetchFile.js +0 -131
  29. package/dist/actions/providers/github/getContents.d.ts +0 -3
  30. package/dist/actions/providers/github/getContents.js +0 -41
  31. package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
  32. package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
  33. package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
  34. package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
  35. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
  36. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
  37. package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
  38. package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
  39. package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
  40. package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
  41. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
  42. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
  43. package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
  44. package/dist/actions/providers/okta/addUserToGroup.js +0 -56
  45. package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
  46. package/dist/actions/providers/okta/getOktaGroup.js +0 -73
  47. package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
  48. package/dist/actions/providers/okta/getOktaUser.js +0 -40
  49. package/dist/actions/providers/okta/listMFA.d.ts +0 -3
  50. package/dist/actions/providers/okta/listMFA.js +0 -52
  51. package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
  52. package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
  53. package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
  54. package/dist/actions/providers/okta/listOktaGroups.js +0 -92
  55. package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
  56. package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
  57. package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
  58. package/dist/actions/providers/okta/listOktaUsers.js +0 -100
  59. package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
  60. package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
  61. package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
  62. package/dist/actions/providers/okta/resetMFA.js +0 -62
  63. package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
  64. package/dist/actions/providers/okta/resetPassword.js +0 -57
  65. package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
  66. package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
  67. package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
  68. package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
  69. package/dist/actions/providers/slack/archiveChannel.d.ts +0 -3
  70. package/dist/actions/providers/slack/archiveChannel.js +0 -42
@@ -1,4 +1,4 @@
1
- import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, 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, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
1
+ import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, 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, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } 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";
@@ -94,6 +94,7 @@ import createChannel from "./providers/slack/createChannel.js";
94
94
  import searchGroup from "./providers/gitlab/searchGroup.js";
95
95
  import searchOrganization from "./providers/github/searchOrganization.js";
96
96
  import createServiceDeskRequest from "./providers/jira/createServiceDeskRequest.js";
97
+ import linkJiraIssues from "./providers/jira/linkJiraIssues.js";
97
98
  import searchSalesforceRecords from "./providers/salesforce/searchSalesforceRecords.js";
98
99
  import getDriveFileContentById from "./providers/google-oauth/getDriveFileContentById.js";
99
100
  import searchDriveByQuery from "./providers/google-oauth/searchDriveByQuery.js";
@@ -204,6 +205,12 @@ const jiraActions = {
204
205
  outputSchema: jiraCreateServiceDeskRequestOutputSchema,
205
206
  actionType: "write",
206
207
  },
208
+ linkJiraIssues: {
209
+ fn: linkJiraIssues,
210
+ paramsSchema: jiraLinkJiraIssuesParamsSchema,
211
+ outputSchema: jiraLinkJiraIssuesOutputSchema,
212
+ actionType: "write",
213
+ },
207
214
  };
208
215
  export const ActionMapper = {
209
216
  generic: {
@@ -469,6 +476,12 @@ export const ActionMapper = {
469
476
  outputSchema: jiraUpdateJiraTicketStatusOutputSchema,
470
477
  actionType: "write",
471
478
  },
479
+ linkJiraIssues: {
480
+ fn: linkJiraIssues,
481
+ paramsSchema: jiraLinkJiraIssuesParamsSchema,
482
+ outputSchema: jiraLinkJiraIssuesOutputSchema,
483
+ actionType: "write",
484
+ },
472
485
  },
473
486
  openstreetmap: {
474
487
  getLatitudeLongitudeFromLocation: {
@@ -28,6 +28,7 @@ export declare const jiraMoveJiraTicketToProjectDefinition: ActionTemplate;
28
28
  export declare const jiraUpdateJiraTicketDetailsDefinition: ActionTemplate;
29
29
  export declare const jiraUpdateJiraTicketStatusDefinition: ActionTemplate;
30
30
  export declare const jiraGetJiraIssuesByQueryDefinition: ActionTemplate;
31
+ export declare const jiraLinkJiraIssuesDefinition: ActionTemplate;
31
32
  export declare const jiraOrgAssignJiraTicketDefinition: ActionTemplate;
32
33
  export declare const jiraOrgPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
33
34
  export declare const jiraOrgCommentJiraTicketDefinition: ActionTemplate;
@@ -39,6 +40,7 @@ export declare const jiraOrgMoveJiraTicketToProjectDefinition: ActionTemplate;
39
40
  export declare const jiraOrgUpdateJiraTicketDetailsDefinition: ActionTemplate;
40
41
  export declare const jiraOrgUpdateJiraTicketStatusDefinition: ActionTemplate;
41
42
  export declare const jiraOrgGetJiraIssuesByQueryDefinition: ActionTemplate;
43
+ export declare const jiraOrgLinkJiraIssuesDefinition: ActionTemplate;
42
44
  export declare const jiraDataCenterAssignJiraTicketDefinition: ActionTemplate;
43
45
  export declare const jiraDataCenterPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
44
46
  export declare const jiraDataCenterCommentJiraTicketDefinition: ActionTemplate;
@@ -50,6 +52,7 @@ export declare const jiraDataCenterMoveJiraTicketToProjectDefinition: ActionTemp
50
52
  export declare const jiraDataCenterUpdateJiraTicketDetailsDefinition: ActionTemplate;
51
53
  export declare const jiraDataCenterUpdateJiraTicketStatusDefinition: ActionTemplate;
52
54
  export declare const jiraDataCenterGetJiraIssuesByQueryDefinition: ActionTemplate;
55
+ export declare const jiraDataCenterLinkJiraIssuesDefinition: ActionTemplate;
53
56
  export declare const googlemapsValidateAddressDefinition: ActionTemplate;
54
57
  export declare const googlemapsNearbysearchRestaurantsDefinition: ActionTemplate;
55
58
  export declare const bingGetTopNSearchResultUrlsDefinition: ActionTemplate;
@@ -2045,6 +2045,50 @@ export const jiraGetJiraIssuesByQueryDefinition = {
2045
2045
  name: "getJiraIssuesByQuery",
2046
2046
  provider: "jira",
2047
2047
  };
2048
+ export const jiraLinkJiraIssuesDefinition = {
2049
+ displayName: "Link two Jira issues",
2050
+ description: "Creates a link between two Jira issues using the dedicated issue link endpoint (e.g. Blocks, Cloners, Duplicate, Relates)",
2051
+ scopes: ["write:jira-work"],
2052
+ tags: [],
2053
+ parameters: {
2054
+ type: "object",
2055
+ required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
2056
+ properties: {
2057
+ inwardIssueKey: {
2058
+ type: "string",
2059
+ description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.',
2060
+ },
2061
+ outwardIssueKey: {
2062
+ type: "string",
2063
+ description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.',
2064
+ },
2065
+ linkTypeName: {
2066
+ type: "string",
2067
+ description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
2068
+ },
2069
+ comment: {
2070
+ type: "string",
2071
+ description: "An optional comment to add to the inward (source) issue when creating the link",
2072
+ },
2073
+ },
2074
+ },
2075
+ output: {
2076
+ type: "object",
2077
+ required: ["success"],
2078
+ properties: {
2079
+ success: {
2080
+ type: "boolean",
2081
+ description: "Whether the issue link was successfully created",
2082
+ },
2083
+ error: {
2084
+ type: "string",
2085
+ description: "Error message if the link creation failed (only present if success is false)",
2086
+ },
2087
+ },
2088
+ },
2089
+ name: "linkJiraIssues",
2090
+ provider: "jira",
2091
+ };
2048
2092
  export const jiraOrgAssignJiraTicketDefinition = {
2049
2093
  displayName: "Assign a Jira ticket",
2050
2094
  description: "Assigns/Reassigns a Jira ticket to a specified user",
@@ -2756,6 +2800,50 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
2756
2800
  name: "getJiraIssuesByQuery",
2757
2801
  provider: "jiraOrg",
2758
2802
  };
2803
+ export const jiraOrgLinkJiraIssuesDefinition = {
2804
+ displayName: "Link two Jira issues",
2805
+ description: "Creates a link between two Jira issues using the dedicated issue link endpoint (e.g. Blocks, Cloners, Duplicate, Relates)",
2806
+ scopes: ["write:jira-work"],
2807
+ tags: [],
2808
+ parameters: {
2809
+ type: "object",
2810
+ required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
2811
+ properties: {
2812
+ inwardIssueKey: {
2813
+ type: "string",
2814
+ description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.',
2815
+ },
2816
+ outwardIssueKey: {
2817
+ type: "string",
2818
+ description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.',
2819
+ },
2820
+ linkTypeName: {
2821
+ type: "string",
2822
+ description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
2823
+ },
2824
+ comment: {
2825
+ type: "string",
2826
+ description: "An optional comment to add to the inward (source) issue when creating the link",
2827
+ },
2828
+ },
2829
+ },
2830
+ output: {
2831
+ type: "object",
2832
+ required: ["success"],
2833
+ properties: {
2834
+ success: {
2835
+ type: "boolean",
2836
+ description: "Whether the issue link was successfully created",
2837
+ },
2838
+ error: {
2839
+ type: "string",
2840
+ description: "Error message if the link creation failed (only present if success is false)",
2841
+ },
2842
+ },
2843
+ },
2844
+ name: "linkJiraIssues",
2845
+ provider: "jiraOrg",
2846
+ };
2759
2847
  export const jiraDataCenterAssignJiraTicketDefinition = {
2760
2848
  displayName: "Assign a Jira ticket",
2761
2849
  description: "Assigns/Reassigns a Jira ticket to a specified user",
@@ -3467,6 +3555,50 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
3467
3555
  name: "getJiraIssuesByQuery",
3468
3556
  provider: "jiraDataCenter",
3469
3557
  };
3558
+ export const jiraDataCenterLinkJiraIssuesDefinition = {
3559
+ displayName: "Link two Jira issues",
3560
+ description: "Creates a link between two Jira issues using the dedicated issue link endpoint (e.g. Blocks, Cloners, Duplicate, Relates)",
3561
+ scopes: ["write:jira-work"],
3562
+ tags: [],
3563
+ parameters: {
3564
+ type: "object",
3565
+ required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
3566
+ properties: {
3567
+ inwardIssueKey: {
3568
+ type: "string",
3569
+ description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.',
3570
+ },
3571
+ outwardIssueKey: {
3572
+ type: "string",
3573
+ description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.',
3574
+ },
3575
+ linkTypeName: {
3576
+ type: "string",
3577
+ description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
3578
+ },
3579
+ comment: {
3580
+ type: "string",
3581
+ description: "An optional comment to add to the inward (source) issue when creating the link",
3582
+ },
3583
+ },
3584
+ },
3585
+ output: {
3586
+ type: "object",
3587
+ required: ["success"],
3588
+ properties: {
3589
+ success: {
3590
+ type: "boolean",
3591
+ description: "Whether the issue link was successfully created",
3592
+ },
3593
+ error: {
3594
+ type: "string",
3595
+ description: "Error message if the link creation failed (only present if success is false)",
3596
+ },
3597
+ },
3598
+ },
3599
+ name: "linkJiraIssues",
3600
+ provider: "jiraDataCenter",
3601
+ };
3470
3602
  export const googlemapsValidateAddressDefinition = {
3471
3603
  displayName: "Validate an address",
3472
3604
  description: "Validate an address using the Google Maps API",
@@ -66,6 +66,7 @@ export declare enum ActionName {
66
66
  UPDATEJIRATICKETDETAILS = "updateJiraTicketDetails",
67
67
  UPDATEJIRATICKETSTATUS = "updateJiraTicketStatus",
68
68
  GETJIRAISSUESBYQUERY = "getJiraIssuesByQuery",
69
+ LINKJIRAISSUES = "linkJiraIssues",
69
70
  VALIDATEADDRESS = "validateAddress",
70
71
  NEARBYSEARCHRESTAURANTS = "nearbysearchRestaurants",
71
72
  GETTOPNSEARCHRESULTURLS = "getTopNSearchResultUrls",
@@ -2266,6 +2267,35 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2266
2267
  }>;
2267
2268
  export type jiraGetJiraIssuesByQueryOutputType = z.infer<typeof jiraGetJiraIssuesByQueryOutputSchema>;
2268
2269
  export type jiraGetJiraIssuesByQueryFunction = ActionFunction<jiraGetJiraIssuesByQueryParamsType, AuthParamsType, jiraGetJiraIssuesByQueryOutputType>;
2270
+ export declare const jiraLinkJiraIssuesParamsSchema: z.ZodObject<{
2271
+ inwardIssueKey: z.ZodString;
2272
+ outwardIssueKey: z.ZodString;
2273
+ linkTypeName: z.ZodString;
2274
+ comment: z.ZodOptional<z.ZodString>;
2275
+ }, "strip", z.ZodTypeAny, {
2276
+ inwardIssueKey: string;
2277
+ outwardIssueKey: string;
2278
+ linkTypeName: string;
2279
+ comment?: string | undefined;
2280
+ }, {
2281
+ inwardIssueKey: string;
2282
+ outwardIssueKey: string;
2283
+ linkTypeName: string;
2284
+ comment?: string | undefined;
2285
+ }>;
2286
+ export type jiraLinkJiraIssuesParamsType = z.infer<typeof jiraLinkJiraIssuesParamsSchema>;
2287
+ export declare const jiraLinkJiraIssuesOutputSchema: z.ZodObject<{
2288
+ success: z.ZodBoolean;
2289
+ error: z.ZodOptional<z.ZodString>;
2290
+ }, "strip", z.ZodTypeAny, {
2291
+ success: boolean;
2292
+ error?: string | undefined;
2293
+ }, {
2294
+ success: boolean;
2295
+ error?: string | undefined;
2296
+ }>;
2297
+ export type jiraLinkJiraIssuesOutputType = z.infer<typeof jiraLinkJiraIssuesOutputSchema>;
2298
+ export type jiraLinkJiraIssuesFunction = ActionFunction<jiraLinkJiraIssuesParamsType, AuthParamsType, jiraLinkJiraIssuesOutputType>;
2269
2299
  export declare const jiraOrgAssignJiraTicketParamsSchema: z.ZodObject<{
2270
2300
  projectKey: z.ZodString;
2271
2301
  assignee: z.ZodString;
@@ -2979,6 +3009,35 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2979
3009
  }>;
2980
3010
  export type jiraOrgGetJiraIssuesByQueryOutputType = z.infer<typeof jiraOrgGetJiraIssuesByQueryOutputSchema>;
2981
3011
  export type jiraOrgGetJiraIssuesByQueryFunction = ActionFunction<jiraOrgGetJiraIssuesByQueryParamsType, AuthParamsType, jiraOrgGetJiraIssuesByQueryOutputType>;
3012
+ export declare const jiraOrgLinkJiraIssuesParamsSchema: z.ZodObject<{
3013
+ inwardIssueKey: z.ZodString;
3014
+ outwardIssueKey: z.ZodString;
3015
+ linkTypeName: z.ZodString;
3016
+ comment: z.ZodOptional<z.ZodString>;
3017
+ }, "strip", z.ZodTypeAny, {
3018
+ inwardIssueKey: string;
3019
+ outwardIssueKey: string;
3020
+ linkTypeName: string;
3021
+ comment?: string | undefined;
3022
+ }, {
3023
+ inwardIssueKey: string;
3024
+ outwardIssueKey: string;
3025
+ linkTypeName: string;
3026
+ comment?: string | undefined;
3027
+ }>;
3028
+ export type jiraOrgLinkJiraIssuesParamsType = z.infer<typeof jiraOrgLinkJiraIssuesParamsSchema>;
3029
+ export declare const jiraOrgLinkJiraIssuesOutputSchema: z.ZodObject<{
3030
+ success: z.ZodBoolean;
3031
+ error: z.ZodOptional<z.ZodString>;
3032
+ }, "strip", z.ZodTypeAny, {
3033
+ success: boolean;
3034
+ error?: string | undefined;
3035
+ }, {
3036
+ success: boolean;
3037
+ error?: string | undefined;
3038
+ }>;
3039
+ export type jiraOrgLinkJiraIssuesOutputType = z.infer<typeof jiraOrgLinkJiraIssuesOutputSchema>;
3040
+ export type jiraOrgLinkJiraIssuesFunction = ActionFunction<jiraOrgLinkJiraIssuesParamsType, AuthParamsType, jiraOrgLinkJiraIssuesOutputType>;
2982
3041
  export declare const jiraDataCenterAssignJiraTicketParamsSchema: z.ZodObject<{
2983
3042
  projectKey: z.ZodString;
2984
3043
  assignee: z.ZodString;
@@ -3692,6 +3751,35 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3692
3751
  }>;
3693
3752
  export type jiraDataCenterGetJiraIssuesByQueryOutputType = z.infer<typeof jiraDataCenterGetJiraIssuesByQueryOutputSchema>;
3694
3753
  export type jiraDataCenterGetJiraIssuesByQueryFunction = ActionFunction<jiraDataCenterGetJiraIssuesByQueryParamsType, AuthParamsType, jiraDataCenterGetJiraIssuesByQueryOutputType>;
3754
+ export declare const jiraDataCenterLinkJiraIssuesParamsSchema: z.ZodObject<{
3755
+ inwardIssueKey: z.ZodString;
3756
+ outwardIssueKey: z.ZodString;
3757
+ linkTypeName: z.ZodString;
3758
+ comment: z.ZodOptional<z.ZodString>;
3759
+ }, "strip", z.ZodTypeAny, {
3760
+ inwardIssueKey: string;
3761
+ outwardIssueKey: string;
3762
+ linkTypeName: string;
3763
+ comment?: string | undefined;
3764
+ }, {
3765
+ inwardIssueKey: string;
3766
+ outwardIssueKey: string;
3767
+ linkTypeName: string;
3768
+ comment?: string | undefined;
3769
+ }>;
3770
+ export type jiraDataCenterLinkJiraIssuesParamsType = z.infer<typeof jiraDataCenterLinkJiraIssuesParamsSchema>;
3771
+ export declare const jiraDataCenterLinkJiraIssuesOutputSchema: z.ZodObject<{
3772
+ success: z.ZodBoolean;
3773
+ error: z.ZodOptional<z.ZodString>;
3774
+ }, "strip", z.ZodTypeAny, {
3775
+ success: boolean;
3776
+ error?: string | undefined;
3777
+ }, {
3778
+ success: boolean;
3779
+ error?: string | undefined;
3780
+ }>;
3781
+ export type jiraDataCenterLinkJiraIssuesOutputType = z.infer<typeof jiraDataCenterLinkJiraIssuesOutputSchema>;
3782
+ export type jiraDataCenterLinkJiraIssuesFunction = ActionFunction<jiraDataCenterLinkJiraIssuesParamsType, AuthParamsType, jiraDataCenterLinkJiraIssuesOutputType>;
3695
3783
  export declare const googlemapsValidateAddressParamsSchema: z.ZodObject<{
3696
3784
  regionCode: z.ZodString;
3697
3785
  locality: z.ZodString;
@@ -68,6 +68,7 @@ export var ActionName;
68
68
  ActionName["UPDATEJIRATICKETDETAILS"] = "updateJiraTicketDetails";
69
69
  ActionName["UPDATEJIRATICKETSTATUS"] = "updateJiraTicketStatus";
70
70
  ActionName["GETJIRAISSUESBYQUERY"] = "getJiraIssuesByQuery";
71
+ ActionName["LINKJIRAISSUES"] = "linkJiraIssues";
71
72
  ActionName["VALIDATEADDRESS"] = "validateAddress";
72
73
  ActionName["NEARBYSEARCHRESTAURANTS"] = "nearbysearchRestaurants";
73
74
  ActionName["GETTOPNSEARCHRESULTURLS"] = "getTopNSearchResultUrls";
@@ -818,6 +819,25 @@ export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
818
819
  .optional(),
819
820
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
820
821
  });
822
+ export const jiraLinkJiraIssuesParamsSchema = z.object({
823
+ inwardIssueKey: z
824
+ .string()
825
+ .describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.'),
826
+ outwardIssueKey: z
827
+ .string()
828
+ .describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.'),
829
+ linkTypeName: z
830
+ .string()
831
+ .describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
832
+ comment: z
833
+ .string()
834
+ .describe("An optional comment to add to the inward (source) issue when creating the link")
835
+ .optional(),
836
+ });
837
+ export const jiraLinkJiraIssuesOutputSchema = z.object({
838
+ success: z.boolean().describe("Whether the issue link was successfully created"),
839
+ error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
840
+ });
821
841
  export const jiraOrgAssignJiraTicketParamsSchema = z.object({
822
842
  projectKey: z.string().describe("The key for the project you want to add the ticket to."),
823
843
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
@@ -1017,6 +1037,25 @@ export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
1017
1037
  .optional(),
1018
1038
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
1019
1039
  });
1040
+ export const jiraOrgLinkJiraIssuesParamsSchema = z.object({
1041
+ inwardIssueKey: z
1042
+ .string()
1043
+ .describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.'),
1044
+ outwardIssueKey: z
1045
+ .string()
1046
+ .describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.'),
1047
+ linkTypeName: z
1048
+ .string()
1049
+ .describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
1050
+ comment: z
1051
+ .string()
1052
+ .describe("An optional comment to add to the inward (source) issue when creating the link")
1053
+ .optional(),
1054
+ });
1055
+ export const jiraOrgLinkJiraIssuesOutputSchema = z.object({
1056
+ success: z.boolean().describe("Whether the issue link was successfully created"),
1057
+ error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
1058
+ });
1020
1059
  export const jiraDataCenterAssignJiraTicketParamsSchema = z.object({
1021
1060
  projectKey: z.string().describe("The key for the project you want to add the ticket to."),
1022
1061
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
@@ -1216,6 +1255,25 @@ export const jiraDataCenterGetJiraIssuesByQueryOutputSchema = z.object({
1216
1255
  .optional(),
1217
1256
  error: z.string().describe("The error that occurred if the records were not successfully retrieved").optional(),
1218
1257
  });
1258
+ export const jiraDataCenterLinkJiraIssuesParamsSchema = z.object({
1259
+ inwardIssueKey: z
1260
+ .string()
1261
+ .describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue.'),
1262
+ outwardIssueKey: z
1263
+ .string()
1264
+ .describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue.'),
1265
+ linkTypeName: z
1266
+ .string()
1267
+ .describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
1268
+ comment: z
1269
+ .string()
1270
+ .describe("An optional comment to add to the inward (source) issue when creating the link")
1271
+ .optional(),
1272
+ });
1273
+ export const jiraDataCenterLinkJiraIssuesOutputSchema = z.object({
1274
+ success: z.boolean().describe("Whether the issue link was successfully created"),
1275
+ error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
1276
+ });
1219
1277
  export const googlemapsValidateAddressParamsSchema = z.object({
1220
1278
  regionCode: z.string().describe("The country of the address being verified."),
1221
1279
  locality: z.string().describe("The locality of the address being verified. This is likely a city."),
@@ -0,0 +1,3 @@
1
+ import type { jiraLinkJiraIssuesFunction } from "../../autogen/types.js";
2
+ declare const linkJiraIssues: jiraLinkJiraIssuesFunction;
3
+ export default linkJiraIssues;
@@ -0,0 +1,46 @@
1
+ import { axiosClient } from "../../util/axiosClient.js";
2
+ import { getJiraApiConfig, getErrorMessage } from "./utils.js";
3
+ const linkJiraIssues = async ({ params, authParams, }) => {
4
+ const { inwardIssueKey, outwardIssueKey, linkTypeName, comment } = params;
5
+ const { apiUrl, strategy } = getJiraApiConfig(authParams);
6
+ // The issue link endpoint is /rest/api/3/issueLink (Cloud) or /rest/api/2/issueLink (Data Center)
7
+ const issueLinkUrl = `${apiUrl}/issueLink`;
8
+ // Build the request body per the Jira REST API
9
+ // https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-links/#api-rest-api-3-issuelink-post
10
+ const payload = {
11
+ inwardIssue: {
12
+ key: inwardIssueKey,
13
+ },
14
+ outwardIssue: {
15
+ key: outwardIssueKey,
16
+ },
17
+ type: {
18
+ name: linkTypeName,
19
+ },
20
+ };
21
+ if (comment) {
22
+ payload.comment = {
23
+ body: strategy.formatText(comment),
24
+ };
25
+ }
26
+ try {
27
+ await axiosClient.post(issueLinkUrl, payload, {
28
+ headers: {
29
+ Authorization: `Bearer ${authParams.authToken}`,
30
+ Accept: "application/json",
31
+ "Content-Type": "application/json",
32
+ },
33
+ });
34
+ return {
35
+ success: true,
36
+ };
37
+ }
38
+ catch (error) {
39
+ console.error("Error linking Jira issues:", error);
40
+ return {
41
+ success: false,
42
+ error: getErrorMessage(error),
43
+ };
44
+ }
45
+ };
46
+ export default linkJiraIssues;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.199",
3
+ "version": "0.2.201",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,
@@ -1,6 +0,0 @@
1
- import type { ActionTemplate } from "./parse.js";
2
- export type ActionGroups = Record<string, {
3
- description: string;
4
- actions: ActionTemplate[];
5
- }>;
6
- export declare const ACTION_GROUPS: ActionGroups;