@credal/actions 0.2.218 → 0.2.219
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 +3 -3
- package/dist/actions/autogen/templates.js +17 -29
- package/dist/actions/autogen/types.d.ts +12 -21
- package/dist/actions/autogen/types.js +17 -29
- package/dist/actions/providers/jira/getJiraDCIssuesByQuery.d.ts +2 -7
- package/dist/actions/providers/jira/getJiraDCIssuesByQuery.js +5 -18
- package/dist/actions/providers/jira/getJiraIssuesByQuery.js +14 -15
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, 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, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, 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, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, 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, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, 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, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, 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";
|
|
@@ -462,8 +462,8 @@ export const ActionMapper = {
|
|
|
462
462
|
// Exclude Service Desk: createServiceDeskRequest, publicCommentOnServiceDeskRequest
|
|
463
463
|
getJiraIssuesByQuery: {
|
|
464
464
|
fn: getJiraDCIssuesByQuery,
|
|
465
|
-
paramsSchema:
|
|
466
|
-
outputSchema:
|
|
465
|
+
paramsSchema: jiraDataCenterGetJiraIssuesByQueryParamsSchema,
|
|
466
|
+
outputSchema: jiraDataCenterGetJiraIssuesByQueryOutputSchema,
|
|
467
467
|
actionType: "read",
|
|
468
468
|
},
|
|
469
469
|
assignJiraTicket: {
|
|
@@ -2018,11 +2018,11 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
2018
2018
|
},
|
|
2019
2019
|
limit: {
|
|
2020
2020
|
type: "number",
|
|
2021
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
2021
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
2022
2022
|
},
|
|
2023
|
-
|
|
2024
|
-
type: "
|
|
2025
|
-
description: "
|
|
2023
|
+
nextPageToken: {
|
|
2024
|
+
type: "string",
|
|
2025
|
+
description: "Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.",
|
|
2026
2026
|
},
|
|
2027
2027
|
},
|
|
2028
2028
|
},
|
|
@@ -2031,11 +2031,11 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
2031
2031
|
properties: {
|
|
2032
2032
|
itemsReturned: {
|
|
2033
2033
|
type: "number",
|
|
2034
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
2034
|
+
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.",
|
|
2035
2035
|
},
|
|
2036
|
-
|
|
2037
|
-
type: "
|
|
2038
|
-
description: "
|
|
2036
|
+
nextPageToken: {
|
|
2037
|
+
type: "string",
|
|
2038
|
+
description: "Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.",
|
|
2039
2039
|
},
|
|
2040
2040
|
results: {
|
|
2041
2041
|
type: "array",
|
|
@@ -2886,11 +2886,11 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2886
2886
|
},
|
|
2887
2887
|
limit: {
|
|
2888
2888
|
type: "number",
|
|
2889
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
2889
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
2890
2890
|
},
|
|
2891
|
-
|
|
2892
|
-
type: "
|
|
2893
|
-
description: "
|
|
2891
|
+
nextPageToken: {
|
|
2892
|
+
type: "string",
|
|
2893
|
+
description: "Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.",
|
|
2894
2894
|
},
|
|
2895
2895
|
},
|
|
2896
2896
|
},
|
|
@@ -2899,11 +2899,11 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2899
2899
|
properties: {
|
|
2900
2900
|
itemsReturned: {
|
|
2901
2901
|
type: "number",
|
|
2902
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
2902
|
+
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.",
|
|
2903
2903
|
},
|
|
2904
|
-
|
|
2905
|
-
type: "
|
|
2906
|
-
description: "
|
|
2904
|
+
nextPageToken: {
|
|
2905
|
+
type: "string",
|
|
2906
|
+
description: "Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.",
|
|
2907
2907
|
},
|
|
2908
2908
|
results: {
|
|
2909
2909
|
type: "array",
|
|
@@ -3754,25 +3754,13 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
|
|
|
3754
3754
|
},
|
|
3755
3755
|
limit: {
|
|
3756
3756
|
type: "number",
|
|
3757
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
3758
|
-
},
|
|
3759
|
-
startAt: {
|
|
3760
|
-
type: "number",
|
|
3761
|
-
description: "Offset of the first result to return. Defaults to 0. To page through results: count the number of results you can actually read in the response and pass currentStartAt + countOfResultsRead as the next startAt. Do not blindly use itemsReturned to advance — the response may be truncated by the system after this action returns, meaning you may see fewer results than itemsReturned reports.",
|
|
3757
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
3762
3758
|
},
|
|
3763
3759
|
},
|
|
3764
3760
|
},
|
|
3765
3761
|
output: {
|
|
3766
3762
|
type: "object",
|
|
3767
3763
|
properties: {
|
|
3768
|
-
itemsReturned: {
|
|
3769
|
-
type: "number",
|
|
3770
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number. Always count the results you can actually read and use currentStartAt + countOfResultsRead as the next startAt, not currentStartAt + itemsReturned.",
|
|
3771
|
-
},
|
|
3772
|
-
truncated: {
|
|
3773
|
-
type: "boolean",
|
|
3774
|
-
description: "True when more results exist beyond this batch. Call again with startAt set to currentStartAt + countOfResultsRead (the number of results you actually received in this response).",
|
|
3775
|
-
},
|
|
3776
3764
|
results: {
|
|
3777
3765
|
type: "array",
|
|
3778
3766
|
description: "The results of the Jira issues",
|
|
@@ -2029,20 +2029,20 @@ export type jiraUpdateJiraTicketStatusFunction = ActionFunction<jiraUpdateJiraTi
|
|
|
2029
2029
|
export declare const jiraGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
2030
2030
|
query: z.ZodString;
|
|
2031
2031
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2032
|
-
|
|
2032
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2033
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2034
2034
|
query: string;
|
|
2035
2035
|
limit?: number | undefined;
|
|
2036
|
-
|
|
2036
|
+
nextPageToken?: string | undefined;
|
|
2037
2037
|
}, {
|
|
2038
2038
|
query: string;
|
|
2039
2039
|
limit?: number | undefined;
|
|
2040
|
-
|
|
2040
|
+
nextPageToken?: string | undefined;
|
|
2041
2041
|
}>;
|
|
2042
2042
|
export type jiraGetJiraIssuesByQueryParamsType = z.infer<typeof jiraGetJiraIssuesByQueryParamsSchema>;
|
|
2043
2043
|
export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
2044
2044
|
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
2045
|
-
|
|
2045
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2046
2046
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2047
2047
|
name: z.ZodString;
|
|
2048
2048
|
url: z.ZodString;
|
|
@@ -2344,8 +2344,8 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2344
2344
|
resolution?: string | null | undefined;
|
|
2345
2345
|
};
|
|
2346
2346
|
}[] | undefined;
|
|
2347
|
+
nextPageToken?: string | undefined;
|
|
2347
2348
|
itemsReturned?: number | undefined;
|
|
2348
|
-
truncated?: boolean | undefined;
|
|
2349
2349
|
}, {
|
|
2350
2350
|
error?: string | undefined;
|
|
2351
2351
|
results?: {
|
|
@@ -2392,8 +2392,8 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2392
2392
|
resolution?: string | null | undefined;
|
|
2393
2393
|
};
|
|
2394
2394
|
}[] | undefined;
|
|
2395
|
+
nextPageToken?: string | undefined;
|
|
2395
2396
|
itemsReturned?: number | undefined;
|
|
2396
|
-
truncated?: boolean | undefined;
|
|
2397
2397
|
}>;
|
|
2398
2398
|
export type jiraGetJiraIssuesByQueryOutputType = z.infer<typeof jiraGetJiraIssuesByQueryOutputSchema>;
|
|
2399
2399
|
export type jiraGetJiraIssuesByQueryFunction = ActionFunction<jiraGetJiraIssuesByQueryParamsType, AuthParamsType, jiraGetJiraIssuesByQueryOutputType>;
|
|
@@ -2847,20 +2847,20 @@ export type jiraOrgUpdateJiraTicketStatusFunction = ActionFunction<jiraOrgUpdate
|
|
|
2847
2847
|
export declare const jiraOrgGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
2848
2848
|
query: z.ZodString;
|
|
2849
2849
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2850
|
-
|
|
2850
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2851
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2852
2852
|
query: string;
|
|
2853
2853
|
limit?: number | undefined;
|
|
2854
|
-
|
|
2854
|
+
nextPageToken?: string | undefined;
|
|
2855
2855
|
}, {
|
|
2856
2856
|
query: string;
|
|
2857
2857
|
limit?: number | undefined;
|
|
2858
|
-
|
|
2858
|
+
nextPageToken?: string | undefined;
|
|
2859
2859
|
}>;
|
|
2860
2860
|
export type jiraOrgGetJiraIssuesByQueryParamsType = z.infer<typeof jiraOrgGetJiraIssuesByQueryParamsSchema>;
|
|
2861
2861
|
export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
2862
2862
|
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
2863
|
-
|
|
2863
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2864
2864
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2865
2865
|
name: z.ZodString;
|
|
2866
2866
|
url: z.ZodString;
|
|
@@ -3162,8 +3162,8 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
3162
3162
|
resolution?: string | null | undefined;
|
|
3163
3163
|
};
|
|
3164
3164
|
}[] | undefined;
|
|
3165
|
+
nextPageToken?: string | undefined;
|
|
3165
3166
|
itemsReturned?: number | undefined;
|
|
3166
|
-
truncated?: boolean | undefined;
|
|
3167
3167
|
}, {
|
|
3168
3168
|
error?: string | undefined;
|
|
3169
3169
|
results?: {
|
|
@@ -3210,8 +3210,8 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
3210
3210
|
resolution?: string | null | undefined;
|
|
3211
3211
|
};
|
|
3212
3212
|
}[] | undefined;
|
|
3213
|
+
nextPageToken?: string | undefined;
|
|
3213
3214
|
itemsReturned?: number | undefined;
|
|
3214
|
-
truncated?: boolean | undefined;
|
|
3215
3215
|
}>;
|
|
3216
3216
|
export type jiraOrgGetJiraIssuesByQueryOutputType = z.infer<typeof jiraOrgGetJiraIssuesByQueryOutputSchema>;
|
|
3217
3217
|
export type jiraOrgGetJiraIssuesByQueryFunction = ActionFunction<jiraOrgGetJiraIssuesByQueryParamsType, AuthParamsType, jiraOrgGetJiraIssuesByQueryOutputType>;
|
|
@@ -3665,20 +3665,15 @@ export type jiraDataCenterUpdateJiraTicketStatusFunction = ActionFunction<jiraDa
|
|
|
3665
3665
|
export declare const jiraDataCenterGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
3666
3666
|
query: z.ZodString;
|
|
3667
3667
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3668
|
-
startAt: z.ZodOptional<z.ZodNumber>;
|
|
3669
3668
|
}, "strip", z.ZodTypeAny, {
|
|
3670
3669
|
query: string;
|
|
3671
3670
|
limit?: number | undefined;
|
|
3672
|
-
startAt?: number | undefined;
|
|
3673
3671
|
}, {
|
|
3674
3672
|
query: string;
|
|
3675
3673
|
limit?: number | undefined;
|
|
3676
|
-
startAt?: number | undefined;
|
|
3677
3674
|
}>;
|
|
3678
3675
|
export type jiraDataCenterGetJiraIssuesByQueryParamsType = z.infer<typeof jiraDataCenterGetJiraIssuesByQueryParamsSchema>;
|
|
3679
3676
|
export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
3680
|
-
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
3681
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3682
3677
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3683
3678
|
name: z.ZodString;
|
|
3684
3679
|
url: z.ZodString;
|
|
@@ -3980,8 +3975,6 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3980
3975
|
resolution?: string | null | undefined;
|
|
3981
3976
|
};
|
|
3982
3977
|
}[] | undefined;
|
|
3983
|
-
itemsReturned?: number | undefined;
|
|
3984
|
-
truncated?: boolean | undefined;
|
|
3985
3978
|
}, {
|
|
3986
3979
|
error?: string | undefined;
|
|
3987
3980
|
results?: {
|
|
@@ -4028,8 +4021,6 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
4028
4021
|
resolution?: string | null | undefined;
|
|
4029
4022
|
};
|
|
4030
4023
|
}[] | undefined;
|
|
4031
|
-
itemsReturned?: number | undefined;
|
|
4032
|
-
truncated?: boolean | undefined;
|
|
4033
4024
|
}>;
|
|
4034
4025
|
export type jiraDataCenterGetJiraIssuesByQueryOutputType = z.infer<typeof jiraDataCenterGetJiraIssuesByQueryOutputSchema>;
|
|
4035
4026
|
export type jiraDataCenterGetJiraIssuesByQueryFunction = ActionFunction<jiraDataCenterGetJiraIssuesByQueryParamsType, AuthParamsType, jiraDataCenterGetJiraIssuesByQueryOutputType>;
|
|
@@ -823,21 +823,21 @@ export const jiraGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
823
823
|
query: z.string().describe("The JQL query to execute"),
|
|
824
824
|
limit: z.coerce
|
|
825
825
|
.number()
|
|
826
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
826
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
827
827
|
.optional(),
|
|
828
|
-
|
|
829
|
-
.
|
|
830
|
-
.describe("
|
|
828
|
+
nextPageToken: z
|
|
829
|
+
.string()
|
|
830
|
+
.describe("Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.")
|
|
831
831
|
.optional(),
|
|
832
832
|
});
|
|
833
833
|
export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
|
|
834
834
|
itemsReturned: z.coerce
|
|
835
835
|
.number()
|
|
836
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
836
|
+
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.")
|
|
837
837
|
.optional(),
|
|
838
|
-
|
|
839
|
-
.
|
|
840
|
-
.describe("
|
|
838
|
+
nextPageToken: z
|
|
839
|
+
.string()
|
|
840
|
+
.describe("Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.")
|
|
841
841
|
.optional(),
|
|
842
842
|
results: z
|
|
843
843
|
.array(z.object({
|
|
@@ -1090,21 +1090,21 @@ export const jiraOrgGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
1090
1090
|
query: z.string().describe("The JQL query to execute"),
|
|
1091
1091
|
limit: z.coerce
|
|
1092
1092
|
.number()
|
|
1093
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
1093
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
1094
1094
|
.optional(),
|
|
1095
|
-
|
|
1096
|
-
.
|
|
1097
|
-
.describe("
|
|
1095
|
+
nextPageToken: z
|
|
1096
|
+
.string()
|
|
1097
|
+
.describe("Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.")
|
|
1098
1098
|
.optional(),
|
|
1099
1099
|
});
|
|
1100
1100
|
export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
|
|
1101
1101
|
itemsReturned: z.coerce
|
|
1102
1102
|
.number()
|
|
1103
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
1103
|
+
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.")
|
|
1104
1104
|
.optional(),
|
|
1105
|
-
|
|
1106
|
-
.
|
|
1107
|
-
.describe("
|
|
1105
|
+
nextPageToken: z
|
|
1106
|
+
.string()
|
|
1107
|
+
.describe("Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.")
|
|
1108
1108
|
.optional(),
|
|
1109
1109
|
results: z
|
|
1110
1110
|
.array(z.object({
|
|
@@ -1357,22 +1357,10 @@ export const jiraDataCenterGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
1357
1357
|
query: z.string().describe("The JQL query to execute"),
|
|
1358
1358
|
limit: z.coerce
|
|
1359
1359
|
.number()
|
|
1360
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
1361
|
-
.optional(),
|
|
1362
|
-
startAt: z.coerce
|
|
1363
|
-
.number()
|
|
1364
|
-
.describe("Offset of the first result to return. Defaults to 0. To page through results: count the number of results you can actually read in the response and pass currentStartAt + countOfResultsRead as the next startAt. Do not blindly use itemsReturned to advance — the response may be truncated by the system after this action returns, meaning you may see fewer results than itemsReturned reports.")
|
|
1360
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
1365
1361
|
.optional(),
|
|
1366
1362
|
});
|
|
1367
1363
|
export const jiraDataCenterGetJiraIssuesByQueryOutputSchema = z.object({
|
|
1368
|
-
itemsReturned: z.coerce
|
|
1369
|
-
.number()
|
|
1370
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number. Always count the results you can actually read and use currentStartAt + countOfResultsRead as the next startAt, not currentStartAt + itemsReturned.")
|
|
1371
|
-
.optional(),
|
|
1372
|
-
truncated: z
|
|
1373
|
-
.boolean()
|
|
1374
|
-
.describe("True when more results exist beyond this batch. Call again with startAt set to currentStartAt + countOfResultsRead (the number of results you actually received in this response).")
|
|
1375
|
-
.optional(),
|
|
1376
1364
|
results: z
|
|
1377
1365
|
.array(z.object({
|
|
1378
1366
|
name: z.string().describe("The name of the result"),
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
* Get Jira issues from Jira Data Center using offset-based pagination (startAt).
|
|
4
|
-
* Returns `itemsReturned` and `truncated` so agents can page through results by
|
|
5
|
-
* incrementing startAt by itemsReturned each call until truncated is false.
|
|
6
|
-
*/
|
|
7
|
-
declare const getJiraDCIssuesByQuery: jiraGetJiraIssuesByQueryFunction;
|
|
1
|
+
import type { jiraDataCenterGetJiraIssuesByQueryFunction } from "../../autogen/types.js";
|
|
2
|
+
declare const getJiraDCIssuesByQuery: jiraDataCenterGetJiraIssuesByQueryFunction;
|
|
8
3
|
export default getJiraDCIssuesByQuery;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { axiosClient } from "../../util/axiosClient.js";
|
|
2
2
|
import { getJiraApiConfig, getErrorMessage, extractPlainText } from "./utils.js";
|
|
3
3
|
const DEFAULT_LIMIT = 100;
|
|
4
|
-
/**
|
|
5
|
-
* Get Jira issues from Jira Data Center using offset-based pagination (startAt).
|
|
6
|
-
* Returns `itemsReturned` and `truncated` so agents can page through results by
|
|
7
|
-
* incrementing startAt by itemsReturned each call until truncated is false.
|
|
8
|
-
*/
|
|
9
4
|
const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
|
|
10
5
|
const { authToken } = authParams;
|
|
11
|
-
const { query, limit
|
|
6
|
+
const { query, limit } = params;
|
|
12
7
|
const { apiUrl, browseUrl, strategy } = getJiraApiConfig(authParams);
|
|
13
8
|
if (!authToken) {
|
|
14
9
|
throw new Error("Auth token is required");
|
|
@@ -35,18 +30,15 @@ const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
|
|
|
35
30
|
const searchEndpoint = strategy.getSearchEndpoint();
|
|
36
31
|
const requestedLimit = limit ?? DEFAULT_LIMIT;
|
|
37
32
|
const allIssues = [];
|
|
38
|
-
let
|
|
39
|
-
let jiraTotal = undefined;
|
|
33
|
+
let startAt = 0;
|
|
40
34
|
try {
|
|
41
|
-
// Keep fetching pages until we have all requested issues
|
|
42
35
|
while (allIssues.length < requestedLimit) {
|
|
43
|
-
// Calculate how many results to fetch in this request
|
|
44
36
|
const remainingIssues = requestedLimit - allIssues.length;
|
|
45
37
|
const maxResults = Math.min(remainingIssues, DEFAULT_LIMIT);
|
|
46
38
|
const queryParams = new URLSearchParams();
|
|
47
39
|
queryParams.set("jql", query);
|
|
48
40
|
queryParams.set("maxResults", String(maxResults));
|
|
49
|
-
queryParams.set("startAt", String(
|
|
41
|
+
queryParams.set("startAt", String(startAt));
|
|
50
42
|
queryParams.set("fields", fields.join(","));
|
|
51
43
|
const fullApiUrl = `${apiUrl}${searchEndpoint}?${queryParams.toString()}`;
|
|
52
44
|
const response = await axiosClient.get(fullApiUrl, {
|
|
@@ -56,18 +48,13 @@ const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
|
|
|
56
48
|
},
|
|
57
49
|
});
|
|
58
50
|
const { issues, total } = response.data;
|
|
59
|
-
jiraTotal = total;
|
|
60
51
|
allIssues.push(...issues);
|
|
61
|
-
if (
|
|
52
|
+
if (allIssues.length >= total || issues.length === 0) {
|
|
62
53
|
break;
|
|
63
54
|
}
|
|
64
|
-
|
|
55
|
+
startAt += issues.length;
|
|
65
56
|
}
|
|
66
|
-
const absoluteEnd = (paramStartAt ?? 0) + allIssues.length;
|
|
67
|
-
const truncated = jiraTotal !== undefined && absoluteEnd < jiraTotal;
|
|
68
57
|
return {
|
|
69
|
-
itemsReturned: allIssues.length,
|
|
70
|
-
truncated,
|
|
71
58
|
results: allIssues.map(issue => {
|
|
72
59
|
const { id, key, fields } = issue;
|
|
73
60
|
const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, } = fields;
|
|
@@ -2,11 +2,9 @@ import { Version3Client } from "jira.js";
|
|
|
2
2
|
import { axiosClient } from "../../util/axiosClient.js";
|
|
3
3
|
import { getJiraApiConfig, getErrorMessage, extractPlainText, getUserInfoFromAccountId } from "./utils.js";
|
|
4
4
|
const DEFAULT_LIMIT = 100;
|
|
5
|
-
// Jira Cloud implementation using the legacy offset-based search API (/rest/api/3/search).
|
|
6
|
-
// Uses startAt for pagination so agents can resume from any offset even when app-layer truncation occurs.
|
|
7
5
|
const getJiraIssuesByQuery = async ({ params, authParams, }) => {
|
|
8
6
|
const { authToken, cloudId } = authParams;
|
|
9
|
-
const { query, limit,
|
|
7
|
+
const { query, limit, nextPageToken: paramNextPageToken } = params;
|
|
10
8
|
const { browseUrl } = getJiraApiConfig(authParams);
|
|
11
9
|
if (!authToken)
|
|
12
10
|
throw new Error("Auth token is required");
|
|
@@ -33,9 +31,7 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
|
|
|
33
31
|
];
|
|
34
32
|
const requestedLimit = limit ?? DEFAULT_LIMIT;
|
|
35
33
|
const allIssues = [];
|
|
36
|
-
let
|
|
37
|
-
let jiraTotal = undefined;
|
|
38
|
-
// jira.js client is kept solely for getUserInfoFromAccountId (user email lookups)
|
|
34
|
+
let currentNextPageToken = paramNextPageToken;
|
|
39
35
|
const client = new Version3Client({
|
|
40
36
|
host: `https://api.atlassian.com/ex/jira/${cloudId}`,
|
|
41
37
|
authentication: { oauth2: { accessToken: authToken } },
|
|
@@ -47,19 +43,18 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
|
|
|
47
43
|
const queryParams = new URLSearchParams();
|
|
48
44
|
queryParams.set("jql", query);
|
|
49
45
|
queryParams.set("maxResults", String(maxResults));
|
|
50
|
-
queryParams.set("startAt", String(currentStartAt));
|
|
51
46
|
queryParams.set("fields", fields.join(","));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
if (currentNextPageToken) {
|
|
48
|
+
queryParams.set("nextPageToken", currentNextPageToken);
|
|
49
|
+
}
|
|
50
|
+
const response = await axiosClient.get(`https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search/jql?${queryParams.toString()}`, { headers: { Authorization: `Bearer ${authToken}`, Accept: "application/json" } });
|
|
51
|
+
const { issues, nextPageToken } = response.data;
|
|
55
52
|
allIssues.push(...issues);
|
|
56
|
-
|
|
53
|
+
currentNextPageToken = nextPageToken;
|
|
54
|
+
if (!nextPageToken || issues.length === 0) {
|
|
57
55
|
break;
|
|
58
56
|
}
|
|
59
|
-
currentStartAt += issues.length;
|
|
60
57
|
}
|
|
61
|
-
const absoluteEnd = (paramStartAt ?? 0) + allIssues.length;
|
|
62
|
-
const truncated = jiraTotal !== undefined && absoluteEnd < jiraTotal;
|
|
63
58
|
const results = await Promise.all(allIssues.map(async ({ id, key, fields }) => {
|
|
64
59
|
const ticketUrl = `${browseUrl}/browse/${key}`;
|
|
65
60
|
const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, } = fields;
|
|
@@ -90,7 +85,11 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
|
|
|
90
85
|
},
|
|
91
86
|
};
|
|
92
87
|
}));
|
|
93
|
-
return {
|
|
88
|
+
return {
|
|
89
|
+
itemsReturned: allIssues.length,
|
|
90
|
+
nextPageToken: currentNextPageToken,
|
|
91
|
+
results,
|
|
92
|
+
};
|
|
94
93
|
}
|
|
95
94
|
catch (error) {
|
|
96
95
|
console.error("Error retrieving Jira issues:", error);
|