@credal/actions 0.2.195 → 0.2.196
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 +8 -1
- package/dist/actions/autogen/templates.d.ts +3 -0
- package/dist/actions/autogen/templates.js +144 -0
- package/dist/actions/autogen/types.d.ts +97 -0
- package/dist/actions/autogen/types.js +43 -0
- package/dist/actions/providers/github/searchRepository.js +7 -7
- package/dist/actions/providers/jira/moveJiraTicketToProject.d.ts +3 -0
- package/dist/actions/providers/jira/moveJiraTicketToProject.js +176 -0
- package/package.json +1 -1
- package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
- package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
- package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/createCandidate.js +0 -38
- package/dist/actions/providers/ashby/createNote.d.ts +0 -3
- package/dist/actions/providers/ashby/createNote.js +0 -31
- package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
- package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
- package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
- package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidates.js +0 -30
- package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/searchCandidates.js +0 -34
- package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/updateCandidate.js +0 -56
- package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
- package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
- package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
- package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
- package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
- package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
- package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
- package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
- package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
- package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
- package/dist/actions/providers/okta/addUserToGroup.js +0 -56
- package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaGroup.js +0 -73
- package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaUser.js +0 -40
- package/dist/actions/providers/okta/listMFA.d.ts +0 -3
- package/dist/actions/providers/okta/listMFA.js +0 -52
- package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
- package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroups.js +0 -92
- package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
- package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUsers.js +0 -100
- package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
- package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
- package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
- package/dist/actions/providers/okta/resetMFA.js +0 -62
- package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
- package/dist/actions/providers/okta/resetPassword.js +0 -57
- package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
- package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, 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, 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, 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, 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";
|
|
@@ -19,6 +19,7 @@ import commentJiraTicket from "./providers/jira/commentJiraTicket.js";
|
|
|
19
19
|
import createJiraTicket from "./providers/jira/createJiraTicket.js";
|
|
20
20
|
import getJiraTicketDetails from "./providers/jira/getJiraTicketDetails.js";
|
|
21
21
|
import getJiraTicketHistory from "./providers/jira/getJiraTicketHistory.js";
|
|
22
|
+
import moveJiraTicketToProject from "./providers/jira/moveJiraTicketToProject.js";
|
|
22
23
|
import updateJiraTicketDetails from "./providers/jira/updateJiraTicketDetails.js";
|
|
23
24
|
import updateJiraTicketStatus from "./providers/jira/updateJiraTicketStatus.js";
|
|
24
25
|
import getLatitudeLongitudeFromLocation from "./providers/openstreetmap/getLatitudeLongitudeFromLocation.js";
|
|
@@ -178,6 +179,12 @@ const jiraActions = {
|
|
|
178
179
|
outputSchema: jiraGetJiraTicketHistoryOutputSchema,
|
|
179
180
|
actionType: "read",
|
|
180
181
|
},
|
|
182
|
+
moveJiraTicketToProject: {
|
|
183
|
+
fn: moveJiraTicketToProject,
|
|
184
|
+
paramsSchema: jiraMoveJiraTicketToProjectParamsSchema,
|
|
185
|
+
outputSchema: jiraMoveJiraTicketToProjectOutputSchema,
|
|
186
|
+
actionType: "write",
|
|
187
|
+
},
|
|
181
188
|
updateJiraTicketDetails: {
|
|
182
189
|
fn: updateJiraTicketDetails,
|
|
183
190
|
paramsSchema: jiraUpdateJiraTicketDetailsParamsSchema,
|
|
@@ -24,6 +24,7 @@ export declare const jiraCreateJiraTicketDefinition: ActionTemplate;
|
|
|
24
24
|
export declare const jiraCreateServiceDeskRequestDefinition: ActionTemplate;
|
|
25
25
|
export declare const jiraGetJiraTicketDetailsDefinition: ActionTemplate;
|
|
26
26
|
export declare const jiraGetJiraTicketHistoryDefinition: ActionTemplate;
|
|
27
|
+
export declare const jiraMoveJiraTicketToProjectDefinition: ActionTemplate;
|
|
27
28
|
export declare const jiraUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
|
28
29
|
export declare const jiraUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
29
30
|
export declare const jiraGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
@@ -34,6 +35,7 @@ export declare const jiraOrgCreateJiraTicketDefinition: ActionTemplate;
|
|
|
34
35
|
export declare const jiraOrgCreateServiceDeskRequestDefinition: ActionTemplate;
|
|
35
36
|
export declare const jiraOrgGetJiraTicketDetailsDefinition: ActionTemplate;
|
|
36
37
|
export declare const jiraOrgGetJiraTicketHistoryDefinition: ActionTemplate;
|
|
38
|
+
export declare const jiraOrgMoveJiraTicketToProjectDefinition: ActionTemplate;
|
|
37
39
|
export declare const jiraOrgUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
|
38
40
|
export declare const jiraOrgUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
39
41
|
export declare const jiraOrgGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
@@ -44,6 +46,7 @@ export declare const jiraDataCenterCreateJiraTicketDefinition: ActionTemplate;
|
|
|
44
46
|
export declare const jiraDataCenterCreateServiceDeskRequestDefinition: ActionTemplate;
|
|
45
47
|
export declare const jiraDataCenterGetJiraTicketDetailsDefinition: ActionTemplate;
|
|
46
48
|
export declare const jiraDataCenterGetJiraTicketHistoryDefinition: ActionTemplate;
|
|
49
|
+
export declare const jiraDataCenterMoveJiraTicketToProjectDefinition: ActionTemplate;
|
|
47
50
|
export declare const jiraDataCenterUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
|
48
51
|
export declare const jiraDataCenterUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
49
52
|
export declare const jiraDataCenterGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
@@ -1690,6 +1690,54 @@ export const jiraGetJiraTicketHistoryDefinition = {
|
|
|
1690
1690
|
name: "getJiraTicketHistory",
|
|
1691
1691
|
provider: "jira",
|
|
1692
1692
|
};
|
|
1693
|
+
export const jiraMoveJiraTicketToProjectDefinition = {
|
|
1694
|
+
displayName: "Move Jira ticket to another project",
|
|
1695
|
+
description: "Moves a single Jira ticket from one project to another, optionally updating the issue type. Note: This action only works with Jira Cloud, not Jira Data Center.",
|
|
1696
|
+
scopes: ["write:jira-work", "read:jira-work"],
|
|
1697
|
+
tags: [],
|
|
1698
|
+
parameters: {
|
|
1699
|
+
type: "object",
|
|
1700
|
+
required: ["issueId", "targetProjectKey"],
|
|
1701
|
+
properties: {
|
|
1702
|
+
issueId: {
|
|
1703
|
+
type: "string",
|
|
1704
|
+
description: 'The issue ID or key of the ticket to move (e.g. "PROJ-123")',
|
|
1705
|
+
},
|
|
1706
|
+
targetProjectKey: {
|
|
1707
|
+
type: "string",
|
|
1708
|
+
description: 'The key of the project to move the ticket to (e.g. "NEWPROJ")',
|
|
1709
|
+
},
|
|
1710
|
+
targetIssueType: {
|
|
1711
|
+
type: "string",
|
|
1712
|
+
description: 'The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.',
|
|
1713
|
+
},
|
|
1714
|
+
},
|
|
1715
|
+
},
|
|
1716
|
+
output: {
|
|
1717
|
+
type: "object",
|
|
1718
|
+
required: ["success"],
|
|
1719
|
+
properties: {
|
|
1720
|
+
success: {
|
|
1721
|
+
type: "boolean",
|
|
1722
|
+
description: "Whether the ticket was successfully moved",
|
|
1723
|
+
},
|
|
1724
|
+
newTicketKey: {
|
|
1725
|
+
type: "string",
|
|
1726
|
+
description: 'The new issue key after moving (e.g. "NEWPROJ-456")',
|
|
1727
|
+
},
|
|
1728
|
+
ticketUrl: {
|
|
1729
|
+
type: "string",
|
|
1730
|
+
description: "The url to the moved Jira ticket",
|
|
1731
|
+
},
|
|
1732
|
+
error: {
|
|
1733
|
+
type: "string",
|
|
1734
|
+
description: "Error message if the move failed",
|
|
1735
|
+
},
|
|
1736
|
+
},
|
|
1737
|
+
},
|
|
1738
|
+
name: "moveJiraTicketToProject",
|
|
1739
|
+
provider: "jira",
|
|
1740
|
+
};
|
|
1693
1741
|
export const jiraUpdateJiraTicketDetailsDefinition = {
|
|
1694
1742
|
displayName: "Update Jira ticket details",
|
|
1695
1743
|
description: "Update a Jira ticket with new content specified",
|
|
@@ -2353,6 +2401,54 @@ export const jiraOrgGetJiraTicketHistoryDefinition = {
|
|
|
2353
2401
|
name: "getJiraTicketHistory",
|
|
2354
2402
|
provider: "jiraOrg",
|
|
2355
2403
|
};
|
|
2404
|
+
export const jiraOrgMoveJiraTicketToProjectDefinition = {
|
|
2405
|
+
displayName: "Move Jira ticket to another project",
|
|
2406
|
+
description: "Moves a single Jira ticket from one project to another, optionally updating the issue type. Note: This action only works with Jira Cloud, not Jira Data Center.",
|
|
2407
|
+
scopes: ["write:jira-work", "read:jira-work"],
|
|
2408
|
+
tags: [],
|
|
2409
|
+
parameters: {
|
|
2410
|
+
type: "object",
|
|
2411
|
+
required: ["issueId", "targetProjectKey"],
|
|
2412
|
+
properties: {
|
|
2413
|
+
issueId: {
|
|
2414
|
+
type: "string",
|
|
2415
|
+
description: 'The issue ID or key of the ticket to move (e.g. "PROJ-123")',
|
|
2416
|
+
},
|
|
2417
|
+
targetProjectKey: {
|
|
2418
|
+
type: "string",
|
|
2419
|
+
description: 'The key of the project to move the ticket to (e.g. "NEWPROJ")',
|
|
2420
|
+
},
|
|
2421
|
+
targetIssueType: {
|
|
2422
|
+
type: "string",
|
|
2423
|
+
description: 'The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.',
|
|
2424
|
+
},
|
|
2425
|
+
},
|
|
2426
|
+
},
|
|
2427
|
+
output: {
|
|
2428
|
+
type: "object",
|
|
2429
|
+
required: ["success"],
|
|
2430
|
+
properties: {
|
|
2431
|
+
success: {
|
|
2432
|
+
type: "boolean",
|
|
2433
|
+
description: "Whether the ticket was successfully moved",
|
|
2434
|
+
},
|
|
2435
|
+
newTicketKey: {
|
|
2436
|
+
type: "string",
|
|
2437
|
+
description: 'The new issue key after moving (e.g. "NEWPROJ-456")',
|
|
2438
|
+
},
|
|
2439
|
+
ticketUrl: {
|
|
2440
|
+
type: "string",
|
|
2441
|
+
description: "The url to the moved Jira ticket",
|
|
2442
|
+
},
|
|
2443
|
+
error: {
|
|
2444
|
+
type: "string",
|
|
2445
|
+
description: "Error message if the move failed",
|
|
2446
|
+
},
|
|
2447
|
+
},
|
|
2448
|
+
},
|
|
2449
|
+
name: "moveJiraTicketToProject",
|
|
2450
|
+
provider: "jiraOrg",
|
|
2451
|
+
};
|
|
2356
2452
|
export const jiraOrgUpdateJiraTicketDetailsDefinition = {
|
|
2357
2453
|
displayName: "Update Jira ticket details",
|
|
2358
2454
|
description: "Update a Jira ticket with new content specified",
|
|
@@ -3016,6 +3112,54 @@ export const jiraDataCenterGetJiraTicketHistoryDefinition = {
|
|
|
3016
3112
|
name: "getJiraTicketHistory",
|
|
3017
3113
|
provider: "jiraDataCenter",
|
|
3018
3114
|
};
|
|
3115
|
+
export const jiraDataCenterMoveJiraTicketToProjectDefinition = {
|
|
3116
|
+
displayName: "Move Jira ticket to another project",
|
|
3117
|
+
description: "Moves a single Jira ticket from one project to another, optionally updating the issue type. Note: This action only works with Jira Cloud, not Jira Data Center.",
|
|
3118
|
+
scopes: ["write:jira-work", "read:jira-work"],
|
|
3119
|
+
tags: [],
|
|
3120
|
+
parameters: {
|
|
3121
|
+
type: "object",
|
|
3122
|
+
required: ["issueId", "targetProjectKey"],
|
|
3123
|
+
properties: {
|
|
3124
|
+
issueId: {
|
|
3125
|
+
type: "string",
|
|
3126
|
+
description: 'The issue ID or key of the ticket to move (e.g. "PROJ-123")',
|
|
3127
|
+
},
|
|
3128
|
+
targetProjectKey: {
|
|
3129
|
+
type: "string",
|
|
3130
|
+
description: 'The key of the project to move the ticket to (e.g. "NEWPROJ")',
|
|
3131
|
+
},
|
|
3132
|
+
targetIssueType: {
|
|
3133
|
+
type: "string",
|
|
3134
|
+
description: 'The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.',
|
|
3135
|
+
},
|
|
3136
|
+
},
|
|
3137
|
+
},
|
|
3138
|
+
output: {
|
|
3139
|
+
type: "object",
|
|
3140
|
+
required: ["success"],
|
|
3141
|
+
properties: {
|
|
3142
|
+
success: {
|
|
3143
|
+
type: "boolean",
|
|
3144
|
+
description: "Whether the ticket was successfully moved",
|
|
3145
|
+
},
|
|
3146
|
+
newTicketKey: {
|
|
3147
|
+
type: "string",
|
|
3148
|
+
description: 'The new issue key after moving (e.g. "NEWPROJ-456")',
|
|
3149
|
+
},
|
|
3150
|
+
ticketUrl: {
|
|
3151
|
+
type: "string",
|
|
3152
|
+
description: "The url to the moved Jira ticket",
|
|
3153
|
+
},
|
|
3154
|
+
error: {
|
|
3155
|
+
type: "string",
|
|
3156
|
+
description: "Error message if the move failed",
|
|
3157
|
+
},
|
|
3158
|
+
},
|
|
3159
|
+
},
|
|
3160
|
+
name: "moveJiraTicketToProject",
|
|
3161
|
+
provider: "jiraDataCenter",
|
|
3162
|
+
};
|
|
3019
3163
|
export const jiraDataCenterUpdateJiraTicketDetailsDefinition = {
|
|
3020
3164
|
displayName: "Update Jira ticket details",
|
|
3021
3165
|
description: "Update a Jira ticket with new content specified",
|
|
@@ -62,6 +62,7 @@ export declare enum ActionName {
|
|
|
62
62
|
CREATESERVICEDESKREQUEST = "createServiceDeskRequest",
|
|
63
63
|
GETJIRATICKETDETAILS = "getJiraTicketDetails",
|
|
64
64
|
GETJIRATICKETHISTORY = "getJiraTicketHistory",
|
|
65
|
+
MOVEJIRATICKETTOPROJECT = "moveJiraTicketToProject",
|
|
65
66
|
UPDATEJIRATICKETDETAILS = "updateJiraTicketDetails",
|
|
66
67
|
UPDATEJIRATICKETSTATUS = "updateJiraTicketStatus",
|
|
67
68
|
GETJIRAISSUESBYQUERY = "getJiraIssuesByQuery",
|
|
@@ -1800,6 +1801,38 @@ export declare const jiraGetJiraTicketHistoryOutputSchema: z.ZodObject<{
|
|
|
1800
1801
|
}>;
|
|
1801
1802
|
export type jiraGetJiraTicketHistoryOutputType = z.infer<typeof jiraGetJiraTicketHistoryOutputSchema>;
|
|
1802
1803
|
export type jiraGetJiraTicketHistoryFunction = ActionFunction<jiraGetJiraTicketHistoryParamsType, AuthParamsType, jiraGetJiraTicketHistoryOutputType>;
|
|
1804
|
+
export declare const jiraMoveJiraTicketToProjectParamsSchema: z.ZodObject<{
|
|
1805
|
+
issueId: z.ZodString;
|
|
1806
|
+
targetProjectKey: z.ZodString;
|
|
1807
|
+
targetIssueType: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
issueId: string;
|
|
1810
|
+
targetProjectKey: string;
|
|
1811
|
+
targetIssueType?: string | undefined;
|
|
1812
|
+
}, {
|
|
1813
|
+
issueId: string;
|
|
1814
|
+
targetProjectKey: string;
|
|
1815
|
+
targetIssueType?: string | undefined;
|
|
1816
|
+
}>;
|
|
1817
|
+
export type jiraMoveJiraTicketToProjectParamsType = z.infer<typeof jiraMoveJiraTicketToProjectParamsSchema>;
|
|
1818
|
+
export declare const jiraMoveJiraTicketToProjectOutputSchema: z.ZodObject<{
|
|
1819
|
+
success: z.ZodBoolean;
|
|
1820
|
+
newTicketKey: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
ticketUrl: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1823
|
+
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
success: boolean;
|
|
1825
|
+
error?: string | undefined;
|
|
1826
|
+
ticketUrl?: string | undefined;
|
|
1827
|
+
newTicketKey?: string | undefined;
|
|
1828
|
+
}, {
|
|
1829
|
+
success: boolean;
|
|
1830
|
+
error?: string | undefined;
|
|
1831
|
+
ticketUrl?: string | undefined;
|
|
1832
|
+
newTicketKey?: string | undefined;
|
|
1833
|
+
}>;
|
|
1834
|
+
export type jiraMoveJiraTicketToProjectOutputType = z.infer<typeof jiraMoveJiraTicketToProjectOutputSchema>;
|
|
1835
|
+
export type jiraMoveJiraTicketToProjectFunction = ActionFunction<jiraMoveJiraTicketToProjectParamsType, AuthParamsType, jiraMoveJiraTicketToProjectOutputType>;
|
|
1803
1836
|
export declare const jiraUpdateJiraTicketDetailsParamsSchema: z.ZodObject<{
|
|
1804
1837
|
projectKey: z.ZodString;
|
|
1805
1838
|
issueId: z.ZodString;
|
|
@@ -2481,6 +2514,38 @@ export declare const jiraOrgGetJiraTicketHistoryOutputSchema: z.ZodObject<{
|
|
|
2481
2514
|
}>;
|
|
2482
2515
|
export type jiraOrgGetJiraTicketHistoryOutputType = z.infer<typeof jiraOrgGetJiraTicketHistoryOutputSchema>;
|
|
2483
2516
|
export type jiraOrgGetJiraTicketHistoryFunction = ActionFunction<jiraOrgGetJiraTicketHistoryParamsType, AuthParamsType, jiraOrgGetJiraTicketHistoryOutputType>;
|
|
2517
|
+
export declare const jiraOrgMoveJiraTicketToProjectParamsSchema: z.ZodObject<{
|
|
2518
|
+
issueId: z.ZodString;
|
|
2519
|
+
targetProjectKey: z.ZodString;
|
|
2520
|
+
targetIssueType: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
}, "strip", z.ZodTypeAny, {
|
|
2522
|
+
issueId: string;
|
|
2523
|
+
targetProjectKey: string;
|
|
2524
|
+
targetIssueType?: string | undefined;
|
|
2525
|
+
}, {
|
|
2526
|
+
issueId: string;
|
|
2527
|
+
targetProjectKey: string;
|
|
2528
|
+
targetIssueType?: string | undefined;
|
|
2529
|
+
}>;
|
|
2530
|
+
export type jiraOrgMoveJiraTicketToProjectParamsType = z.infer<typeof jiraOrgMoveJiraTicketToProjectParamsSchema>;
|
|
2531
|
+
export declare const jiraOrgMoveJiraTicketToProjectOutputSchema: z.ZodObject<{
|
|
2532
|
+
success: z.ZodBoolean;
|
|
2533
|
+
newTicketKey: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
ticketUrl: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2536
|
+
}, "strip", z.ZodTypeAny, {
|
|
2537
|
+
success: boolean;
|
|
2538
|
+
error?: string | undefined;
|
|
2539
|
+
ticketUrl?: string | undefined;
|
|
2540
|
+
newTicketKey?: string | undefined;
|
|
2541
|
+
}, {
|
|
2542
|
+
success: boolean;
|
|
2543
|
+
error?: string | undefined;
|
|
2544
|
+
ticketUrl?: string | undefined;
|
|
2545
|
+
newTicketKey?: string | undefined;
|
|
2546
|
+
}>;
|
|
2547
|
+
export type jiraOrgMoveJiraTicketToProjectOutputType = z.infer<typeof jiraOrgMoveJiraTicketToProjectOutputSchema>;
|
|
2548
|
+
export type jiraOrgMoveJiraTicketToProjectFunction = ActionFunction<jiraOrgMoveJiraTicketToProjectParamsType, AuthParamsType, jiraOrgMoveJiraTicketToProjectOutputType>;
|
|
2484
2549
|
export declare const jiraOrgUpdateJiraTicketDetailsParamsSchema: z.ZodObject<{
|
|
2485
2550
|
projectKey: z.ZodString;
|
|
2486
2551
|
issueId: z.ZodString;
|
|
@@ -3162,6 +3227,38 @@ export declare const jiraDataCenterGetJiraTicketHistoryOutputSchema: z.ZodObject
|
|
|
3162
3227
|
}>;
|
|
3163
3228
|
export type jiraDataCenterGetJiraTicketHistoryOutputType = z.infer<typeof jiraDataCenterGetJiraTicketHistoryOutputSchema>;
|
|
3164
3229
|
export type jiraDataCenterGetJiraTicketHistoryFunction = ActionFunction<jiraDataCenterGetJiraTicketHistoryParamsType, AuthParamsType, jiraDataCenterGetJiraTicketHistoryOutputType>;
|
|
3230
|
+
export declare const jiraDataCenterMoveJiraTicketToProjectParamsSchema: z.ZodObject<{
|
|
3231
|
+
issueId: z.ZodString;
|
|
3232
|
+
targetProjectKey: z.ZodString;
|
|
3233
|
+
targetIssueType: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
}, "strip", z.ZodTypeAny, {
|
|
3235
|
+
issueId: string;
|
|
3236
|
+
targetProjectKey: string;
|
|
3237
|
+
targetIssueType?: string | undefined;
|
|
3238
|
+
}, {
|
|
3239
|
+
issueId: string;
|
|
3240
|
+
targetProjectKey: string;
|
|
3241
|
+
targetIssueType?: string | undefined;
|
|
3242
|
+
}>;
|
|
3243
|
+
export type jiraDataCenterMoveJiraTicketToProjectParamsType = z.infer<typeof jiraDataCenterMoveJiraTicketToProjectParamsSchema>;
|
|
3244
|
+
export declare const jiraDataCenterMoveJiraTicketToProjectOutputSchema: z.ZodObject<{
|
|
3245
|
+
success: z.ZodBoolean;
|
|
3246
|
+
newTicketKey: z.ZodOptional<z.ZodString>;
|
|
3247
|
+
ticketUrl: z.ZodOptional<z.ZodString>;
|
|
3248
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
}, "strip", z.ZodTypeAny, {
|
|
3250
|
+
success: boolean;
|
|
3251
|
+
error?: string | undefined;
|
|
3252
|
+
ticketUrl?: string | undefined;
|
|
3253
|
+
newTicketKey?: string | undefined;
|
|
3254
|
+
}, {
|
|
3255
|
+
success: boolean;
|
|
3256
|
+
error?: string | undefined;
|
|
3257
|
+
ticketUrl?: string | undefined;
|
|
3258
|
+
newTicketKey?: string | undefined;
|
|
3259
|
+
}>;
|
|
3260
|
+
export type jiraDataCenterMoveJiraTicketToProjectOutputType = z.infer<typeof jiraDataCenterMoveJiraTicketToProjectOutputSchema>;
|
|
3261
|
+
export type jiraDataCenterMoveJiraTicketToProjectFunction = ActionFunction<jiraDataCenterMoveJiraTicketToProjectParamsType, AuthParamsType, jiraDataCenterMoveJiraTicketToProjectOutputType>;
|
|
3165
3262
|
export declare const jiraDataCenterUpdateJiraTicketDetailsParamsSchema: z.ZodObject<{
|
|
3166
3263
|
projectKey: z.ZodString;
|
|
3167
3264
|
issueId: z.ZodString;
|
|
@@ -64,6 +64,7 @@ export var ActionName;
|
|
|
64
64
|
ActionName["CREATESERVICEDESKREQUEST"] = "createServiceDeskRequest";
|
|
65
65
|
ActionName["GETJIRATICKETDETAILS"] = "getJiraTicketDetails";
|
|
66
66
|
ActionName["GETJIRATICKETHISTORY"] = "getJiraTicketHistory";
|
|
67
|
+
ActionName["MOVEJIRATICKETTOPROJECT"] = "moveJiraTicketToProject";
|
|
67
68
|
ActionName["UPDATEJIRATICKETDETAILS"] = "updateJiraTicketDetails";
|
|
68
69
|
ActionName["UPDATEJIRATICKETSTATUS"] = "updateJiraTicketStatus";
|
|
69
70
|
ActionName["GETJIRAISSUESBYQUERY"] = "getJiraIssuesByQuery";
|
|
@@ -713,6 +714,20 @@ export const jiraGetJiraTicketHistoryOutputSchema = z.object({
|
|
|
713
714
|
error: z.string().describe("The error that occurred if the retrieval was unsuccessful").optional(),
|
|
714
715
|
history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
|
|
715
716
|
});
|
|
717
|
+
export const jiraMoveJiraTicketToProjectParamsSchema = z.object({
|
|
718
|
+
issueId: z.string().describe('The issue ID or key of the ticket to move (e.g. "PROJ-123")'),
|
|
719
|
+
targetProjectKey: z.string().describe('The key of the project to move the ticket to (e.g. "NEWPROJ")'),
|
|
720
|
+
targetIssueType: z
|
|
721
|
+
.string()
|
|
722
|
+
.describe('The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.')
|
|
723
|
+
.optional(),
|
|
724
|
+
});
|
|
725
|
+
export const jiraMoveJiraTicketToProjectOutputSchema = z.object({
|
|
726
|
+
success: z.boolean().describe("Whether the ticket was successfully moved"),
|
|
727
|
+
newTicketKey: z.string().describe('The new issue key after moving (e.g. "NEWPROJ-456")').optional(),
|
|
728
|
+
ticketUrl: z.string().describe("The url to the moved Jira ticket").optional(),
|
|
729
|
+
error: z.string().describe("Error message if the move failed").optional(),
|
|
730
|
+
});
|
|
716
731
|
export const jiraUpdateJiraTicketDetailsParamsSchema = z.object({
|
|
717
732
|
projectKey: z.string().describe("The key for the project the ticket belongs to."),
|
|
718
733
|
issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
|
|
@@ -898,6 +913,20 @@ export const jiraOrgGetJiraTicketHistoryOutputSchema = z.object({
|
|
|
898
913
|
error: z.string().describe("The error that occurred if the retrieval was unsuccessful").optional(),
|
|
899
914
|
history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
|
|
900
915
|
});
|
|
916
|
+
export const jiraOrgMoveJiraTicketToProjectParamsSchema = z.object({
|
|
917
|
+
issueId: z.string().describe('The issue ID or key of the ticket to move (e.g. "PROJ-123")'),
|
|
918
|
+
targetProjectKey: z.string().describe('The key of the project to move the ticket to (e.g. "NEWPROJ")'),
|
|
919
|
+
targetIssueType: z
|
|
920
|
+
.string()
|
|
921
|
+
.describe('The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.')
|
|
922
|
+
.optional(),
|
|
923
|
+
});
|
|
924
|
+
export const jiraOrgMoveJiraTicketToProjectOutputSchema = z.object({
|
|
925
|
+
success: z.boolean().describe("Whether the ticket was successfully moved"),
|
|
926
|
+
newTicketKey: z.string().describe('The new issue key after moving (e.g. "NEWPROJ-456")').optional(),
|
|
927
|
+
ticketUrl: z.string().describe("The url to the moved Jira ticket").optional(),
|
|
928
|
+
error: z.string().describe("Error message if the move failed").optional(),
|
|
929
|
+
});
|
|
901
930
|
export const jiraOrgUpdateJiraTicketDetailsParamsSchema = z.object({
|
|
902
931
|
projectKey: z.string().describe("The key for the project the ticket belongs to."),
|
|
903
932
|
issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
|
|
@@ -1083,6 +1112,20 @@ export const jiraDataCenterGetJiraTicketHistoryOutputSchema = z.object({
|
|
|
1083
1112
|
error: z.string().describe("The error that occurred if the retrieval was unsuccessful").optional(),
|
|
1084
1113
|
history: z.array(z.any()).describe("The history data of the Jira ticket").optional(),
|
|
1085
1114
|
});
|
|
1115
|
+
export const jiraDataCenterMoveJiraTicketToProjectParamsSchema = z.object({
|
|
1116
|
+
issueId: z.string().describe('The issue ID or key of the ticket to move (e.g. "PROJ-123")'),
|
|
1117
|
+
targetProjectKey: z.string().describe('The key of the project to move the ticket to (e.g. "NEWPROJ")'),
|
|
1118
|
+
targetIssueType: z
|
|
1119
|
+
.string()
|
|
1120
|
+
.describe('The issue type in the target project (e.g. "Task", "Bug"). If not provided, will attempt to use the same issue type.')
|
|
1121
|
+
.optional(),
|
|
1122
|
+
});
|
|
1123
|
+
export const jiraDataCenterMoveJiraTicketToProjectOutputSchema = z.object({
|
|
1124
|
+
success: z.boolean().describe("Whether the ticket was successfully moved"),
|
|
1125
|
+
newTicketKey: z.string().describe('The new issue key after moving (e.g. "NEWPROJ-456")').optional(),
|
|
1126
|
+
ticketUrl: z.string().describe("The url to the moved Jira ticket").optional(),
|
|
1127
|
+
error: z.string().describe("Error message if the move failed").optional(),
|
|
1128
|
+
});
|
|
1086
1129
|
export const jiraDataCenterUpdateJiraTicketDetailsParamsSchema = z.object({
|
|
1087
1130
|
projectKey: z.string().describe("The key for the project the ticket belongs to."),
|
|
1088
1131
|
issueId: z.string().describe("The issue ID associated with the ticket to be updated"),
|
|
@@ -47,7 +47,7 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
|
|
|
47
47
|
name: item.name,
|
|
48
48
|
path: item.path,
|
|
49
49
|
sha: item.sha.slice(0, 7),
|
|
50
|
-
url: item.
|
|
50
|
+
url: item.html_url,
|
|
51
51
|
score: item.score,
|
|
52
52
|
textMatches: item.text_matches
|
|
53
53
|
? item.text_matches.map(match => {
|
|
@@ -68,7 +68,7 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
|
|
|
68
68
|
const full = commitDetails.find(c => c.data.sha === item.sha);
|
|
69
69
|
return {
|
|
70
70
|
sha: item.sha,
|
|
71
|
-
url: item.
|
|
71
|
+
url: item.html_url,
|
|
72
72
|
commit: {
|
|
73
73
|
message: item.commit.message,
|
|
74
74
|
author: item.commit.author,
|
|
@@ -76,11 +76,11 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
|
|
|
76
76
|
score: item.score,
|
|
77
77
|
author: (_a = item.author) !== null && _a !== void 0 ? _a : undefined,
|
|
78
78
|
files: ((_b = full === null || full === void 0 ? void 0 : full.data.files) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_FILES_PER_COMMIT).map(f => {
|
|
79
|
-
var _a;
|
|
79
|
+
var _a, _b, _c;
|
|
80
80
|
return ({
|
|
81
81
|
filename: f.filename,
|
|
82
82
|
status: f.status,
|
|
83
|
-
patch: (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n").slice(0, MAX_PATCH_LINES).join("\n"),
|
|
83
|
+
patch: (_c = (_b = (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n")) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_PATCH_LINES)) === null || _c === void 0 ? void 0 : _c.join("\n"),
|
|
84
84
|
});
|
|
85
85
|
})) || [],
|
|
86
86
|
};
|
|
@@ -104,18 +104,18 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
|
|
|
104
104
|
const prIndex = prNumbers.indexOf(item.number);
|
|
105
105
|
const files = isPR && prIndex !== -1
|
|
106
106
|
? prFiles[prIndex].data.slice(0, MAX_FILES_PER_PR).map(f => {
|
|
107
|
-
var _a;
|
|
107
|
+
var _a, _b, _c;
|
|
108
108
|
return ({
|
|
109
109
|
filename: f.filename,
|
|
110
110
|
status: f.status,
|
|
111
|
-
patch: (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n").slice(0, MAX_PATCH_LINES).join("\n"),
|
|
111
|
+
patch: (_c = (_b = (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n")) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_PATCH_LINES)) === null || _c === void 0 ? void 0 : _c.join("\n"),
|
|
112
112
|
});
|
|
113
113
|
})
|
|
114
114
|
: undefined;
|
|
115
115
|
return {
|
|
116
116
|
number: item.number,
|
|
117
117
|
title: item.title,
|
|
118
|
-
|
|
118
|
+
url: item.html_url,
|
|
119
119
|
state: item.state,
|
|
120
120
|
isPullRequest: isPR,
|
|
121
121
|
body: item.body,
|