@credal/actions 0.2.201 → 0.2.203
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 +21 -1
- package/dist/actions/autogen/templates.d.ts +4 -0
- package/dist/actions/autogen/templates.js +260 -0
- package/dist/actions/autogen/types.d.ts +214 -26
- package/dist/actions/autogen/types.js +98 -0
- package/dist/actions/providers/jira/linkAndAssignJiraIssues.d.ts +3 -0
- package/dist/actions/providers/jira/linkAndAssignJiraIssues.js +102 -0
- package/dist/actions/providers/linear/createIssue.d.ts +3 -0
- package/dist/actions/providers/linear/createIssue.js +90 -0
- package/package.json +1 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
|
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, 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, 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, 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";
|
|
@@ -95,6 +95,7 @@ import searchGroup from "./providers/gitlab/searchGroup.js";
|
|
|
95
95
|
import searchOrganization from "./providers/github/searchOrganization.js";
|
|
96
96
|
import createServiceDeskRequest from "./providers/jira/createServiceDeskRequest.js";
|
|
97
97
|
import linkJiraIssues from "./providers/jira/linkJiraIssues.js";
|
|
98
|
+
import linkAndAssignJiraIssues from "./providers/jira/linkAndAssignJiraIssues.js";
|
|
98
99
|
import searchSalesforceRecords from "./providers/salesforce/searchSalesforceRecords.js";
|
|
99
100
|
import getDriveFileContentById from "./providers/google-oauth/getDriveFileContentById.js";
|
|
100
101
|
import searchDriveByQuery from "./providers/google-oauth/searchDriveByQuery.js";
|
|
@@ -111,6 +112,7 @@ import getProjectDetails from "./providers/linear/getProjectDetails.js";
|
|
|
111
112
|
import getTeamDetails from "./providers/linear/getTeamDetails.js";
|
|
112
113
|
import getProjects from "./providers/linear/getProjects.js";
|
|
113
114
|
import getTeams from "./providers/linear/getTeams.js";
|
|
115
|
+
import createIssue from "./providers/linear/createIssue.js";
|
|
114
116
|
import getContacts from "./providers/hubspot/getContacts.js";
|
|
115
117
|
import getContactDetails from "./providers/hubspot/getContactDetails.js";
|
|
116
118
|
import getCompanies from "./providers/hubspot/getCompanies.js";
|
|
@@ -211,6 +213,12 @@ const jiraActions = {
|
|
|
211
213
|
outputSchema: jiraLinkJiraIssuesOutputSchema,
|
|
212
214
|
actionType: "write",
|
|
213
215
|
},
|
|
216
|
+
linkAndAssignJiraIssues: {
|
|
217
|
+
fn: linkAndAssignJiraIssues,
|
|
218
|
+
paramsSchema: jiraLinkAndAssignJiraIssuesParamsSchema,
|
|
219
|
+
outputSchema: jiraLinkAndAssignJiraIssuesOutputSchema,
|
|
220
|
+
actionType: "write",
|
|
221
|
+
},
|
|
214
222
|
};
|
|
215
223
|
export const ActionMapper = {
|
|
216
224
|
generic: {
|
|
@@ -482,6 +490,12 @@ export const ActionMapper = {
|
|
|
482
490
|
outputSchema: jiraLinkJiraIssuesOutputSchema,
|
|
483
491
|
actionType: "write",
|
|
484
492
|
},
|
|
493
|
+
linkAndAssignJiraIssues: {
|
|
494
|
+
fn: linkAndAssignJiraIssues,
|
|
495
|
+
paramsSchema: jiraLinkAndAssignJiraIssuesParamsSchema,
|
|
496
|
+
outputSchema: jiraLinkAndAssignJiraIssuesOutputSchema,
|
|
497
|
+
actionType: "write",
|
|
498
|
+
},
|
|
485
499
|
},
|
|
486
500
|
openstreetmap: {
|
|
487
501
|
getLatitudeLongitudeFromLocation: {
|
|
@@ -1020,6 +1034,12 @@ export const ActionMapper = {
|
|
|
1020
1034
|
outputSchema: linearGetTeamsOutputSchema,
|
|
1021
1035
|
actionType: "read",
|
|
1022
1036
|
},
|
|
1037
|
+
createIssue: {
|
|
1038
|
+
fn: createIssue,
|
|
1039
|
+
paramsSchema: linearCreateIssueParamsSchema,
|
|
1040
|
+
outputSchema: linearCreateIssueOutputSchema,
|
|
1041
|
+
actionType: "write",
|
|
1042
|
+
},
|
|
1023
1043
|
},
|
|
1024
1044
|
hubspot: {
|
|
1025
1045
|
getContacts: {
|
|
@@ -29,6 +29,7 @@ export declare const jiraUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
|
|
29
29
|
export declare const jiraUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
30
30
|
export declare const jiraGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
31
31
|
export declare const jiraLinkJiraIssuesDefinition: ActionTemplate;
|
|
32
|
+
export declare const jiraLinkAndAssignJiraIssuesDefinition: ActionTemplate;
|
|
32
33
|
export declare const jiraOrgAssignJiraTicketDefinition: ActionTemplate;
|
|
33
34
|
export declare const jiraOrgPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
|
|
34
35
|
export declare const jiraOrgCommentJiraTicketDefinition: ActionTemplate;
|
|
@@ -41,6 +42,7 @@ export declare const jiraOrgUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
|
|
41
42
|
export declare const jiraOrgUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
42
43
|
export declare const jiraOrgGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
43
44
|
export declare const jiraOrgLinkJiraIssuesDefinition: ActionTemplate;
|
|
45
|
+
export declare const jiraOrgLinkAndAssignJiraIssuesDefinition: ActionTemplate;
|
|
44
46
|
export declare const jiraDataCenterAssignJiraTicketDefinition: ActionTemplate;
|
|
45
47
|
export declare const jiraDataCenterPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
|
|
46
48
|
export declare const jiraDataCenterCommentJiraTicketDefinition: ActionTemplate;
|
|
@@ -53,6 +55,7 @@ export declare const jiraDataCenterUpdateJiraTicketDetailsDefinition: ActionTemp
|
|
|
53
55
|
export declare const jiraDataCenterUpdateJiraTicketStatusDefinition: ActionTemplate;
|
|
54
56
|
export declare const jiraDataCenterGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
55
57
|
export declare const jiraDataCenterLinkJiraIssuesDefinition: ActionTemplate;
|
|
58
|
+
export declare const jiraDataCenterLinkAndAssignJiraIssuesDefinition: ActionTemplate;
|
|
56
59
|
export declare const googlemapsValidateAddressDefinition: ActionTemplate;
|
|
57
60
|
export declare const googlemapsNearbysearchRestaurantsDefinition: ActionTemplate;
|
|
58
61
|
export declare const bingGetTopNSearchResultUrlsDefinition: ActionTemplate;
|
|
@@ -153,6 +156,7 @@ export declare const linearGetProjectsDefinition: ActionTemplate;
|
|
|
153
156
|
export declare const linearGetProjectDetailsDefinition: ActionTemplate;
|
|
154
157
|
export declare const linearGetTeamDetailsDefinition: ActionTemplate;
|
|
155
158
|
export declare const linearGetTeamsDefinition: ActionTemplate;
|
|
159
|
+
export declare const linearCreateIssueDefinition: ActionTemplate;
|
|
156
160
|
export declare const hubspotGetContactsDefinition: ActionTemplate;
|
|
157
161
|
export declare const hubspotGetContactDetailsDefinition: ActionTemplate;
|
|
158
162
|
export declare const hubspotGetCompaniesDefinition: ActionTemplate;
|
|
@@ -2089,6 +2089,62 @@ export const jiraLinkJiraIssuesDefinition = {
|
|
|
2089
2089
|
name: "linkJiraIssues",
|
|
2090
2090
|
provider: "jira",
|
|
2091
2091
|
};
|
|
2092
|
+
export const jiraLinkAndAssignJiraIssuesDefinition = {
|
|
2093
|
+
displayName: "Link two Jira issues and assign the linked issue's reporter",
|
|
2094
|
+
description: "Creates a link between two Jira issues and then assigns the reporter of the outward (destination) issue to the inward (source) issue",
|
|
2095
|
+
scopes: ["write:jira-work", "read:jira-work", "read:jira-user"],
|
|
2096
|
+
tags: [],
|
|
2097
|
+
parameters: {
|
|
2098
|
+
type: "object",
|
|
2099
|
+
required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
|
|
2100
|
+
properties: {
|
|
2101
|
+
inwardIssueKey: {
|
|
2102
|
+
type: "string",
|
|
2103
|
+
description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.',
|
|
2104
|
+
},
|
|
2105
|
+
outwardIssueKey: {
|
|
2106
|
+
type: "string",
|
|
2107
|
+
description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.',
|
|
2108
|
+
},
|
|
2109
|
+
linkTypeName: {
|
|
2110
|
+
type: "string",
|
|
2111
|
+
description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
|
|
2112
|
+
},
|
|
2113
|
+
comment: {
|
|
2114
|
+
type: "string",
|
|
2115
|
+
description: "An optional comment to add to the inward (source) issue when creating the link",
|
|
2116
|
+
},
|
|
2117
|
+
},
|
|
2118
|
+
},
|
|
2119
|
+
output: {
|
|
2120
|
+
type: "object",
|
|
2121
|
+
required: ["success"],
|
|
2122
|
+
properties: {
|
|
2123
|
+
success: {
|
|
2124
|
+
type: "boolean",
|
|
2125
|
+
description: "Whether the issue link and assignment were both successfully completed",
|
|
2126
|
+
},
|
|
2127
|
+
linkSuccess: {
|
|
2128
|
+
type: "boolean",
|
|
2129
|
+
description: "Whether the issue link was successfully created",
|
|
2130
|
+
},
|
|
2131
|
+
assignSuccess: {
|
|
2132
|
+
type: "boolean",
|
|
2133
|
+
description: "Whether the reporter was successfully assigned to the inward issue",
|
|
2134
|
+
},
|
|
2135
|
+
assignedReporter: {
|
|
2136
|
+
type: "string",
|
|
2137
|
+
description: "The account ID or username of the reporter that was assigned",
|
|
2138
|
+
},
|
|
2139
|
+
error: {
|
|
2140
|
+
type: "string",
|
|
2141
|
+
description: "Error message if the operation failed (only present if success is false)",
|
|
2142
|
+
},
|
|
2143
|
+
},
|
|
2144
|
+
},
|
|
2145
|
+
name: "linkAndAssignJiraIssues",
|
|
2146
|
+
provider: "jira",
|
|
2147
|
+
};
|
|
2092
2148
|
export const jiraOrgAssignJiraTicketDefinition = {
|
|
2093
2149
|
displayName: "Assign a Jira ticket",
|
|
2094
2150
|
description: "Assigns/Reassigns a Jira ticket to a specified user",
|
|
@@ -2844,6 +2900,62 @@ export const jiraOrgLinkJiraIssuesDefinition = {
|
|
|
2844
2900
|
name: "linkJiraIssues",
|
|
2845
2901
|
provider: "jiraOrg",
|
|
2846
2902
|
};
|
|
2903
|
+
export const jiraOrgLinkAndAssignJiraIssuesDefinition = {
|
|
2904
|
+
displayName: "Link two Jira issues and assign the linked issue's reporter",
|
|
2905
|
+
description: "Creates a link between two Jira issues and then assigns the reporter of the outward (destination) issue to the inward (source) issue",
|
|
2906
|
+
scopes: ["write:jira-work", "read:jira-work", "read:jira-user"],
|
|
2907
|
+
tags: [],
|
|
2908
|
+
parameters: {
|
|
2909
|
+
type: "object",
|
|
2910
|
+
required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
|
|
2911
|
+
properties: {
|
|
2912
|
+
inwardIssueKey: {
|
|
2913
|
+
type: "string",
|
|
2914
|
+
description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.',
|
|
2915
|
+
},
|
|
2916
|
+
outwardIssueKey: {
|
|
2917
|
+
type: "string",
|
|
2918
|
+
description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.',
|
|
2919
|
+
},
|
|
2920
|
+
linkTypeName: {
|
|
2921
|
+
type: "string",
|
|
2922
|
+
description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
|
|
2923
|
+
},
|
|
2924
|
+
comment: {
|
|
2925
|
+
type: "string",
|
|
2926
|
+
description: "An optional comment to add to the inward (source) issue when creating the link",
|
|
2927
|
+
},
|
|
2928
|
+
},
|
|
2929
|
+
},
|
|
2930
|
+
output: {
|
|
2931
|
+
type: "object",
|
|
2932
|
+
required: ["success"],
|
|
2933
|
+
properties: {
|
|
2934
|
+
success: {
|
|
2935
|
+
type: "boolean",
|
|
2936
|
+
description: "Whether the issue link and assignment were both successfully completed",
|
|
2937
|
+
},
|
|
2938
|
+
linkSuccess: {
|
|
2939
|
+
type: "boolean",
|
|
2940
|
+
description: "Whether the issue link was successfully created",
|
|
2941
|
+
},
|
|
2942
|
+
assignSuccess: {
|
|
2943
|
+
type: "boolean",
|
|
2944
|
+
description: "Whether the reporter was successfully assigned to the inward issue",
|
|
2945
|
+
},
|
|
2946
|
+
assignedReporter: {
|
|
2947
|
+
type: "string",
|
|
2948
|
+
description: "The account ID or username of the reporter that was assigned",
|
|
2949
|
+
},
|
|
2950
|
+
error: {
|
|
2951
|
+
type: "string",
|
|
2952
|
+
description: "Error message if the operation failed (only present if success is false)",
|
|
2953
|
+
},
|
|
2954
|
+
},
|
|
2955
|
+
},
|
|
2956
|
+
name: "linkAndAssignJiraIssues",
|
|
2957
|
+
provider: "jiraOrg",
|
|
2958
|
+
};
|
|
2847
2959
|
export const jiraDataCenterAssignJiraTicketDefinition = {
|
|
2848
2960
|
displayName: "Assign a Jira ticket",
|
|
2849
2961
|
description: "Assigns/Reassigns a Jira ticket to a specified user",
|
|
@@ -3599,6 +3711,62 @@ export const jiraDataCenterLinkJiraIssuesDefinition = {
|
|
|
3599
3711
|
name: "linkJiraIssues",
|
|
3600
3712
|
provider: "jiraDataCenter",
|
|
3601
3713
|
};
|
|
3714
|
+
export const jiraDataCenterLinkAndAssignJiraIssuesDefinition = {
|
|
3715
|
+
displayName: "Link two Jira issues and assign the linked issue's reporter",
|
|
3716
|
+
description: "Creates a link between two Jira issues and then assigns the reporter of the outward (destination) issue to the inward (source) issue",
|
|
3717
|
+
scopes: ["write:jira-work", "read:jira-work", "read:jira-user"],
|
|
3718
|
+
tags: [],
|
|
3719
|
+
parameters: {
|
|
3720
|
+
type: "object",
|
|
3721
|
+
required: ["inwardIssueKey", "outwardIssueKey", "linkTypeName"],
|
|
3722
|
+
properties: {
|
|
3723
|
+
inwardIssueKey: {
|
|
3724
|
+
type: "string",
|
|
3725
|
+
description: 'The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.',
|
|
3726
|
+
},
|
|
3727
|
+
outwardIssueKey: {
|
|
3728
|
+
type: "string",
|
|
3729
|
+
description: 'The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.',
|
|
3730
|
+
},
|
|
3731
|
+
linkTypeName: {
|
|
3732
|
+
type: "string",
|
|
3733
|
+
description: 'The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)',
|
|
3734
|
+
},
|
|
3735
|
+
comment: {
|
|
3736
|
+
type: "string",
|
|
3737
|
+
description: "An optional comment to add to the inward (source) issue when creating the link",
|
|
3738
|
+
},
|
|
3739
|
+
},
|
|
3740
|
+
},
|
|
3741
|
+
output: {
|
|
3742
|
+
type: "object",
|
|
3743
|
+
required: ["success"],
|
|
3744
|
+
properties: {
|
|
3745
|
+
success: {
|
|
3746
|
+
type: "boolean",
|
|
3747
|
+
description: "Whether the issue link and assignment were both successfully completed",
|
|
3748
|
+
},
|
|
3749
|
+
linkSuccess: {
|
|
3750
|
+
type: "boolean",
|
|
3751
|
+
description: "Whether the issue link was successfully created",
|
|
3752
|
+
},
|
|
3753
|
+
assignSuccess: {
|
|
3754
|
+
type: "boolean",
|
|
3755
|
+
description: "Whether the reporter was successfully assigned to the inward issue",
|
|
3756
|
+
},
|
|
3757
|
+
assignedReporter: {
|
|
3758
|
+
type: "string",
|
|
3759
|
+
description: "The account ID or username of the reporter that was assigned",
|
|
3760
|
+
},
|
|
3761
|
+
error: {
|
|
3762
|
+
type: "string",
|
|
3763
|
+
description: "Error message if the operation failed (only present if success is false)",
|
|
3764
|
+
},
|
|
3765
|
+
},
|
|
3766
|
+
},
|
|
3767
|
+
name: "linkAndAssignJiraIssues",
|
|
3768
|
+
provider: "jiraDataCenter",
|
|
3769
|
+
};
|
|
3602
3770
|
export const googlemapsValidateAddressDefinition = {
|
|
3603
3771
|
displayName: "Validate an address",
|
|
3604
3772
|
description: "Validate an address using the Google Maps API",
|
|
@@ -13986,6 +14154,98 @@ export const linearGetTeamsDefinition = {
|
|
|
13986
14154
|
name: "getTeams",
|
|
13987
14155
|
provider: "linear",
|
|
13988
14156
|
};
|
|
14157
|
+
export const linearCreateIssueDefinition = {
|
|
14158
|
+
displayName: "Create a Linear issue",
|
|
14159
|
+
description: "Create a new issue in Linear",
|
|
14160
|
+
scopes: [],
|
|
14161
|
+
tags: [],
|
|
14162
|
+
parameters: {
|
|
14163
|
+
type: "object",
|
|
14164
|
+
required: ["title", "teamId"],
|
|
14165
|
+
properties: {
|
|
14166
|
+
title: {
|
|
14167
|
+
type: "string",
|
|
14168
|
+
description: "The title of the issue to create",
|
|
14169
|
+
},
|
|
14170
|
+
description: {
|
|
14171
|
+
type: "string",
|
|
14172
|
+
description: "The description of the issue in markdown format",
|
|
14173
|
+
},
|
|
14174
|
+
teamId: {
|
|
14175
|
+
type: "string",
|
|
14176
|
+
description: "The ID of the team to create the issue for",
|
|
14177
|
+
tags: ["recommend-predefined"],
|
|
14178
|
+
},
|
|
14179
|
+
assigneeId: {
|
|
14180
|
+
type: "string",
|
|
14181
|
+
description: "The ID of the user to assign the issue to",
|
|
14182
|
+
tags: ["recommend-predefined"],
|
|
14183
|
+
},
|
|
14184
|
+
priority: {
|
|
14185
|
+
type: "number",
|
|
14186
|
+
description: "The priority of the issue: 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low",
|
|
14187
|
+
},
|
|
14188
|
+
projectId: {
|
|
14189
|
+
type: "string",
|
|
14190
|
+
description: "The ID of the project to associate the issue with",
|
|
14191
|
+
tags: ["recommend-predefined"],
|
|
14192
|
+
},
|
|
14193
|
+
dueDate: {
|
|
14194
|
+
type: "string",
|
|
14195
|
+
description: "The due date of the issue in ISO 8601 format (e.g. 2024-12-31)",
|
|
14196
|
+
},
|
|
14197
|
+
labelIds: {
|
|
14198
|
+
type: "array",
|
|
14199
|
+
description: "Array of label IDs to apply to the issue",
|
|
14200
|
+
items: {
|
|
14201
|
+
type: "string",
|
|
14202
|
+
},
|
|
14203
|
+
},
|
|
14204
|
+
estimate: {
|
|
14205
|
+
type: "number",
|
|
14206
|
+
description: "The estimate in story points for the issue",
|
|
14207
|
+
},
|
|
14208
|
+
},
|
|
14209
|
+
},
|
|
14210
|
+
output: {
|
|
14211
|
+
type: "object",
|
|
14212
|
+
required: ["success"],
|
|
14213
|
+
properties: {
|
|
14214
|
+
success: {
|
|
14215
|
+
type: "boolean",
|
|
14216
|
+
description: "Whether the issue was created successfully",
|
|
14217
|
+
},
|
|
14218
|
+
error: {
|
|
14219
|
+
type: "string",
|
|
14220
|
+
description: "Error message if the issue creation failed",
|
|
14221
|
+
},
|
|
14222
|
+
issue: {
|
|
14223
|
+
type: "object",
|
|
14224
|
+
description: "The created issue details",
|
|
14225
|
+
properties: {
|
|
14226
|
+
id: {
|
|
14227
|
+
type: "string",
|
|
14228
|
+
description: "The created issue ID",
|
|
14229
|
+
},
|
|
14230
|
+
title: {
|
|
14231
|
+
type: "string",
|
|
14232
|
+
description: "The created issue title",
|
|
14233
|
+
},
|
|
14234
|
+
url: {
|
|
14235
|
+
type: "string",
|
|
14236
|
+
description: "The URL of the created issue",
|
|
14237
|
+
},
|
|
14238
|
+
identifier: {
|
|
14239
|
+
type: "string",
|
|
14240
|
+
description: "The issue identifier (e.g. ENG-123)",
|
|
14241
|
+
},
|
|
14242
|
+
},
|
|
14243
|
+
},
|
|
14244
|
+
},
|
|
14245
|
+
},
|
|
14246
|
+
name: "createIssue",
|
|
14247
|
+
provider: "linear",
|
|
14248
|
+
};
|
|
13989
14249
|
export const hubspotGetContactsDefinition = {
|
|
13990
14250
|
displayName: "List all contacts",
|
|
13991
14251
|
description: "List or search HubSpot contacts by optional query",
|
|
@@ -67,6 +67,7 @@ export declare enum ActionName {
|
|
|
67
67
|
UPDATEJIRATICKETSTATUS = "updateJiraTicketStatus",
|
|
68
68
|
GETJIRAISSUESBYQUERY = "getJiraIssuesByQuery",
|
|
69
69
|
LINKJIRAISSUES = "linkJiraIssues",
|
|
70
|
+
LINKANDASSIGNJIRAISSUES = "linkAndAssignJiraIssues",
|
|
70
71
|
VALIDATEADDRESS = "validateAddress",
|
|
71
72
|
NEARBYSEARCHRESTAURANTS = "nearbysearchRestaurants",
|
|
72
73
|
GETTOPNSEARCHRESULTURLS = "getTopNSearchResultUrls",
|
|
@@ -163,6 +164,7 @@ export declare enum ActionName {
|
|
|
163
164
|
GETPROJECTDETAILS = "getProjectDetails",
|
|
164
165
|
GETTEAMDETAILS = "getTeamDetails",
|
|
165
166
|
GETTEAMS = "getTeams",
|
|
167
|
+
CREATEISSUE = "createIssue",
|
|
166
168
|
GETCONTACTS = "getContacts",
|
|
167
169
|
GETCONTACTDETAILS = "getContactDetails",
|
|
168
170
|
GETCOMPANIES = "getCompanies",
|
|
@@ -2037,13 +2039,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2037
2039
|
id?: string | undefined;
|
|
2038
2040
|
email?: string | undefined;
|
|
2039
2041
|
} | null | undefined;
|
|
2042
|
+
dueDate?: string | null | undefined;
|
|
2040
2043
|
creator?: {
|
|
2041
2044
|
name?: string | undefined;
|
|
2042
2045
|
id?: string | undefined;
|
|
2043
2046
|
email?: string | undefined;
|
|
2044
2047
|
} | null | undefined;
|
|
2045
2048
|
resolution?: string | null | undefined;
|
|
2046
|
-
dueDate?: string | null | undefined;
|
|
2047
2049
|
}, {
|
|
2048
2050
|
status: {
|
|
2049
2051
|
name?: string | undefined;
|
|
@@ -2076,13 +2078,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2076
2078
|
id?: string | undefined;
|
|
2077
2079
|
email?: string | undefined;
|
|
2078
2080
|
} | null | undefined;
|
|
2081
|
+
dueDate?: string | null | undefined;
|
|
2079
2082
|
creator?: {
|
|
2080
2083
|
name?: string | undefined;
|
|
2081
2084
|
id?: string | undefined;
|
|
2082
2085
|
email?: string | undefined;
|
|
2083
2086
|
} | null | undefined;
|
|
2084
2087
|
resolution?: string | null | undefined;
|
|
2085
|
-
dueDate?: string | null | undefined;
|
|
2086
2088
|
}>;
|
|
2087
2089
|
}, "strip", z.ZodTypeAny, {
|
|
2088
2090
|
name: string;
|
|
@@ -2119,13 +2121,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2119
2121
|
id?: string | undefined;
|
|
2120
2122
|
email?: string | undefined;
|
|
2121
2123
|
} | null | undefined;
|
|
2124
|
+
dueDate?: string | null | undefined;
|
|
2122
2125
|
creator?: {
|
|
2123
2126
|
name?: string | undefined;
|
|
2124
2127
|
id?: string | undefined;
|
|
2125
2128
|
email?: string | undefined;
|
|
2126
2129
|
} | null | undefined;
|
|
2127
2130
|
resolution?: string | null | undefined;
|
|
2128
|
-
dueDate?: string | null | undefined;
|
|
2129
2131
|
};
|
|
2130
2132
|
}, {
|
|
2131
2133
|
name: string;
|
|
@@ -2162,13 +2164,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2162
2164
|
id?: string | undefined;
|
|
2163
2165
|
email?: string | undefined;
|
|
2164
2166
|
} | null | undefined;
|
|
2167
|
+
dueDate?: string | null | undefined;
|
|
2165
2168
|
creator?: {
|
|
2166
2169
|
name?: string | undefined;
|
|
2167
2170
|
id?: string | undefined;
|
|
2168
2171
|
email?: string | undefined;
|
|
2169
2172
|
} | null | undefined;
|
|
2170
2173
|
resolution?: string | null | undefined;
|
|
2171
|
-
dueDate?: string | null | undefined;
|
|
2172
2174
|
};
|
|
2173
2175
|
}>, "many">>;
|
|
2174
2176
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,13 +2211,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2209
2211
|
id?: string | undefined;
|
|
2210
2212
|
email?: string | undefined;
|
|
2211
2213
|
} | null | undefined;
|
|
2214
|
+
dueDate?: string | null | undefined;
|
|
2212
2215
|
creator?: {
|
|
2213
2216
|
name?: string | undefined;
|
|
2214
2217
|
id?: string | undefined;
|
|
2215
2218
|
email?: string | undefined;
|
|
2216
2219
|
} | null | undefined;
|
|
2217
2220
|
resolution?: string | null | undefined;
|
|
2218
|
-
dueDate?: string | null | undefined;
|
|
2219
2221
|
};
|
|
2220
2222
|
}[] | undefined;
|
|
2221
2223
|
}, {
|
|
@@ -2255,13 +2257,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2255
2257
|
id?: string | undefined;
|
|
2256
2258
|
email?: string | undefined;
|
|
2257
2259
|
} | null | undefined;
|
|
2260
|
+
dueDate?: string | null | undefined;
|
|
2258
2261
|
creator?: {
|
|
2259
2262
|
name?: string | undefined;
|
|
2260
2263
|
id?: string | undefined;
|
|
2261
2264
|
email?: string | undefined;
|
|
2262
2265
|
} | null | undefined;
|
|
2263
2266
|
resolution?: string | null | undefined;
|
|
2264
|
-
dueDate?: string | null | undefined;
|
|
2265
2267
|
};
|
|
2266
2268
|
}[] | undefined;
|
|
2267
2269
|
}>;
|
|
@@ -2296,6 +2298,44 @@ export declare const jiraLinkJiraIssuesOutputSchema: z.ZodObject<{
|
|
|
2296
2298
|
}>;
|
|
2297
2299
|
export type jiraLinkJiraIssuesOutputType = z.infer<typeof jiraLinkJiraIssuesOutputSchema>;
|
|
2298
2300
|
export type jiraLinkJiraIssuesFunction = ActionFunction<jiraLinkJiraIssuesParamsType, AuthParamsType, jiraLinkJiraIssuesOutputType>;
|
|
2301
|
+
export declare const jiraLinkAndAssignJiraIssuesParamsSchema: z.ZodObject<{
|
|
2302
|
+
inwardIssueKey: z.ZodString;
|
|
2303
|
+
outwardIssueKey: z.ZodString;
|
|
2304
|
+
linkTypeName: z.ZodString;
|
|
2305
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
}, "strip", z.ZodTypeAny, {
|
|
2307
|
+
inwardIssueKey: string;
|
|
2308
|
+
outwardIssueKey: string;
|
|
2309
|
+
linkTypeName: string;
|
|
2310
|
+
comment?: string | undefined;
|
|
2311
|
+
}, {
|
|
2312
|
+
inwardIssueKey: string;
|
|
2313
|
+
outwardIssueKey: string;
|
|
2314
|
+
linkTypeName: string;
|
|
2315
|
+
comment?: string | undefined;
|
|
2316
|
+
}>;
|
|
2317
|
+
export type jiraLinkAndAssignJiraIssuesParamsType = z.infer<typeof jiraLinkAndAssignJiraIssuesParamsSchema>;
|
|
2318
|
+
export declare const jiraLinkAndAssignJiraIssuesOutputSchema: z.ZodObject<{
|
|
2319
|
+
success: z.ZodBoolean;
|
|
2320
|
+
linkSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
2321
|
+
assignSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
2322
|
+
assignedReporter: z.ZodOptional<z.ZodString>;
|
|
2323
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2324
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
|
+
success: boolean;
|
|
2326
|
+
error?: string | undefined;
|
|
2327
|
+
linkSuccess?: boolean | undefined;
|
|
2328
|
+
assignSuccess?: boolean | undefined;
|
|
2329
|
+
assignedReporter?: string | undefined;
|
|
2330
|
+
}, {
|
|
2331
|
+
success: boolean;
|
|
2332
|
+
error?: string | undefined;
|
|
2333
|
+
linkSuccess?: boolean | undefined;
|
|
2334
|
+
assignSuccess?: boolean | undefined;
|
|
2335
|
+
assignedReporter?: string | undefined;
|
|
2336
|
+
}>;
|
|
2337
|
+
export type jiraLinkAndAssignJiraIssuesOutputType = z.infer<typeof jiraLinkAndAssignJiraIssuesOutputSchema>;
|
|
2338
|
+
export type jiraLinkAndAssignJiraIssuesFunction = ActionFunction<jiraLinkAndAssignJiraIssuesParamsType, AuthParamsType, jiraLinkAndAssignJiraIssuesOutputType>;
|
|
2299
2339
|
export declare const jiraOrgAssignJiraTicketParamsSchema: z.ZodObject<{
|
|
2300
2340
|
projectKey: z.ZodString;
|
|
2301
2341
|
assignee: z.ZodString;
|
|
@@ -2779,13 +2819,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2779
2819
|
id?: string | undefined;
|
|
2780
2820
|
email?: string | undefined;
|
|
2781
2821
|
} | null | undefined;
|
|
2822
|
+
dueDate?: string | null | undefined;
|
|
2782
2823
|
creator?: {
|
|
2783
2824
|
name?: string | undefined;
|
|
2784
2825
|
id?: string | undefined;
|
|
2785
2826
|
email?: string | undefined;
|
|
2786
2827
|
} | null | undefined;
|
|
2787
2828
|
resolution?: string | null | undefined;
|
|
2788
|
-
dueDate?: string | null | undefined;
|
|
2789
2829
|
}, {
|
|
2790
2830
|
status: {
|
|
2791
2831
|
name?: string | undefined;
|
|
@@ -2818,13 +2858,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2818
2858
|
id?: string | undefined;
|
|
2819
2859
|
email?: string | undefined;
|
|
2820
2860
|
} | null | undefined;
|
|
2861
|
+
dueDate?: string | null | undefined;
|
|
2821
2862
|
creator?: {
|
|
2822
2863
|
name?: string | undefined;
|
|
2823
2864
|
id?: string | undefined;
|
|
2824
2865
|
email?: string | undefined;
|
|
2825
2866
|
} | null | undefined;
|
|
2826
2867
|
resolution?: string | null | undefined;
|
|
2827
|
-
dueDate?: string | null | undefined;
|
|
2828
2868
|
}>;
|
|
2829
2869
|
}, "strip", z.ZodTypeAny, {
|
|
2830
2870
|
name: string;
|
|
@@ -2861,13 +2901,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2861
2901
|
id?: string | undefined;
|
|
2862
2902
|
email?: string | undefined;
|
|
2863
2903
|
} | null | undefined;
|
|
2904
|
+
dueDate?: string | null | undefined;
|
|
2864
2905
|
creator?: {
|
|
2865
2906
|
name?: string | undefined;
|
|
2866
2907
|
id?: string | undefined;
|
|
2867
2908
|
email?: string | undefined;
|
|
2868
2909
|
} | null | undefined;
|
|
2869
2910
|
resolution?: string | null | undefined;
|
|
2870
|
-
dueDate?: string | null | undefined;
|
|
2871
2911
|
};
|
|
2872
2912
|
}, {
|
|
2873
2913
|
name: string;
|
|
@@ -2904,13 +2944,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2904
2944
|
id?: string | undefined;
|
|
2905
2945
|
email?: string | undefined;
|
|
2906
2946
|
} | null | undefined;
|
|
2947
|
+
dueDate?: string | null | undefined;
|
|
2907
2948
|
creator?: {
|
|
2908
2949
|
name?: string | undefined;
|
|
2909
2950
|
id?: string | undefined;
|
|
2910
2951
|
email?: string | undefined;
|
|
2911
2952
|
} | null | undefined;
|
|
2912
2953
|
resolution?: string | null | undefined;
|
|
2913
|
-
dueDate?: string | null | undefined;
|
|
2914
2954
|
};
|
|
2915
2955
|
}>, "many">>;
|
|
2916
2956
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -2951,13 +2991,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2951
2991
|
id?: string | undefined;
|
|
2952
2992
|
email?: string | undefined;
|
|
2953
2993
|
} | null | undefined;
|
|
2994
|
+
dueDate?: string | null | undefined;
|
|
2954
2995
|
creator?: {
|
|
2955
2996
|
name?: string | undefined;
|
|
2956
2997
|
id?: string | undefined;
|
|
2957
2998
|
email?: string | undefined;
|
|
2958
2999
|
} | null | undefined;
|
|
2959
3000
|
resolution?: string | null | undefined;
|
|
2960
|
-
dueDate?: string | null | undefined;
|
|
2961
3001
|
};
|
|
2962
3002
|
}[] | undefined;
|
|
2963
3003
|
}, {
|
|
@@ -2997,13 +3037,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2997
3037
|
id?: string | undefined;
|
|
2998
3038
|
email?: string | undefined;
|
|
2999
3039
|
} | null | undefined;
|
|
3040
|
+
dueDate?: string | null | undefined;
|
|
3000
3041
|
creator?: {
|
|
3001
3042
|
name?: string | undefined;
|
|
3002
3043
|
id?: string | undefined;
|
|
3003
3044
|
email?: string | undefined;
|
|
3004
3045
|
} | null | undefined;
|
|
3005
3046
|
resolution?: string | null | undefined;
|
|
3006
|
-
dueDate?: string | null | undefined;
|
|
3007
3047
|
};
|
|
3008
3048
|
}[] | undefined;
|
|
3009
3049
|
}>;
|
|
@@ -3038,6 +3078,44 @@ export declare const jiraOrgLinkJiraIssuesOutputSchema: z.ZodObject<{
|
|
|
3038
3078
|
}>;
|
|
3039
3079
|
export type jiraOrgLinkJiraIssuesOutputType = z.infer<typeof jiraOrgLinkJiraIssuesOutputSchema>;
|
|
3040
3080
|
export type jiraOrgLinkJiraIssuesFunction = ActionFunction<jiraOrgLinkJiraIssuesParamsType, AuthParamsType, jiraOrgLinkJiraIssuesOutputType>;
|
|
3081
|
+
export declare const jiraOrgLinkAndAssignJiraIssuesParamsSchema: z.ZodObject<{
|
|
3082
|
+
inwardIssueKey: z.ZodString;
|
|
3083
|
+
outwardIssueKey: z.ZodString;
|
|
3084
|
+
linkTypeName: z.ZodString;
|
|
3085
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
}, "strip", z.ZodTypeAny, {
|
|
3087
|
+
inwardIssueKey: string;
|
|
3088
|
+
outwardIssueKey: string;
|
|
3089
|
+
linkTypeName: string;
|
|
3090
|
+
comment?: string | undefined;
|
|
3091
|
+
}, {
|
|
3092
|
+
inwardIssueKey: string;
|
|
3093
|
+
outwardIssueKey: string;
|
|
3094
|
+
linkTypeName: string;
|
|
3095
|
+
comment?: string | undefined;
|
|
3096
|
+
}>;
|
|
3097
|
+
export type jiraOrgLinkAndAssignJiraIssuesParamsType = z.infer<typeof jiraOrgLinkAndAssignJiraIssuesParamsSchema>;
|
|
3098
|
+
export declare const jiraOrgLinkAndAssignJiraIssuesOutputSchema: z.ZodObject<{
|
|
3099
|
+
success: z.ZodBoolean;
|
|
3100
|
+
linkSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
3101
|
+
assignSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
3102
|
+
assignedReporter: z.ZodOptional<z.ZodString>;
|
|
3103
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3104
|
+
}, "strip", z.ZodTypeAny, {
|
|
3105
|
+
success: boolean;
|
|
3106
|
+
error?: string | undefined;
|
|
3107
|
+
linkSuccess?: boolean | undefined;
|
|
3108
|
+
assignSuccess?: boolean | undefined;
|
|
3109
|
+
assignedReporter?: string | undefined;
|
|
3110
|
+
}, {
|
|
3111
|
+
success: boolean;
|
|
3112
|
+
error?: string | undefined;
|
|
3113
|
+
linkSuccess?: boolean | undefined;
|
|
3114
|
+
assignSuccess?: boolean | undefined;
|
|
3115
|
+
assignedReporter?: string | undefined;
|
|
3116
|
+
}>;
|
|
3117
|
+
export type jiraOrgLinkAndAssignJiraIssuesOutputType = z.infer<typeof jiraOrgLinkAndAssignJiraIssuesOutputSchema>;
|
|
3118
|
+
export type jiraOrgLinkAndAssignJiraIssuesFunction = ActionFunction<jiraOrgLinkAndAssignJiraIssuesParamsType, AuthParamsType, jiraOrgLinkAndAssignJiraIssuesOutputType>;
|
|
3041
3119
|
export declare const jiraDataCenterAssignJiraTicketParamsSchema: z.ZodObject<{
|
|
3042
3120
|
projectKey: z.ZodString;
|
|
3043
3121
|
assignee: z.ZodString;
|
|
@@ -3521,13 +3599,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3521
3599
|
id?: string | undefined;
|
|
3522
3600
|
email?: string | undefined;
|
|
3523
3601
|
} | null | undefined;
|
|
3602
|
+
dueDate?: string | null | undefined;
|
|
3524
3603
|
creator?: {
|
|
3525
3604
|
name?: string | undefined;
|
|
3526
3605
|
id?: string | undefined;
|
|
3527
3606
|
email?: string | undefined;
|
|
3528
3607
|
} | null | undefined;
|
|
3529
3608
|
resolution?: string | null | undefined;
|
|
3530
|
-
dueDate?: string | null | undefined;
|
|
3531
3609
|
}, {
|
|
3532
3610
|
status: {
|
|
3533
3611
|
name?: string | undefined;
|
|
@@ -3560,13 +3638,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3560
3638
|
id?: string | undefined;
|
|
3561
3639
|
email?: string | undefined;
|
|
3562
3640
|
} | null | undefined;
|
|
3641
|
+
dueDate?: string | null | undefined;
|
|
3563
3642
|
creator?: {
|
|
3564
3643
|
name?: string | undefined;
|
|
3565
3644
|
id?: string | undefined;
|
|
3566
3645
|
email?: string | undefined;
|
|
3567
3646
|
} | null | undefined;
|
|
3568
3647
|
resolution?: string | null | undefined;
|
|
3569
|
-
dueDate?: string | null | undefined;
|
|
3570
3648
|
}>;
|
|
3571
3649
|
}, "strip", z.ZodTypeAny, {
|
|
3572
3650
|
name: string;
|
|
@@ -3603,13 +3681,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3603
3681
|
id?: string | undefined;
|
|
3604
3682
|
email?: string | undefined;
|
|
3605
3683
|
} | null | undefined;
|
|
3684
|
+
dueDate?: string | null | undefined;
|
|
3606
3685
|
creator?: {
|
|
3607
3686
|
name?: string | undefined;
|
|
3608
3687
|
id?: string | undefined;
|
|
3609
3688
|
email?: string | undefined;
|
|
3610
3689
|
} | null | undefined;
|
|
3611
3690
|
resolution?: string | null | undefined;
|
|
3612
|
-
dueDate?: string | null | undefined;
|
|
3613
3691
|
};
|
|
3614
3692
|
}, {
|
|
3615
3693
|
name: string;
|
|
@@ -3646,13 +3724,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3646
3724
|
id?: string | undefined;
|
|
3647
3725
|
email?: string | undefined;
|
|
3648
3726
|
} | null | undefined;
|
|
3727
|
+
dueDate?: string | null | undefined;
|
|
3649
3728
|
creator?: {
|
|
3650
3729
|
name?: string | undefined;
|
|
3651
3730
|
id?: string | undefined;
|
|
3652
3731
|
email?: string | undefined;
|
|
3653
3732
|
} | null | undefined;
|
|
3654
3733
|
resolution?: string | null | undefined;
|
|
3655
|
-
dueDate?: string | null | undefined;
|
|
3656
3734
|
};
|
|
3657
3735
|
}>, "many">>;
|
|
3658
3736
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -3693,13 +3771,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3693
3771
|
id?: string | undefined;
|
|
3694
3772
|
email?: string | undefined;
|
|
3695
3773
|
} | null | undefined;
|
|
3774
|
+
dueDate?: string | null | undefined;
|
|
3696
3775
|
creator?: {
|
|
3697
3776
|
name?: string | undefined;
|
|
3698
3777
|
id?: string | undefined;
|
|
3699
3778
|
email?: string | undefined;
|
|
3700
3779
|
} | null | undefined;
|
|
3701
3780
|
resolution?: string | null | undefined;
|
|
3702
|
-
dueDate?: string | null | undefined;
|
|
3703
3781
|
};
|
|
3704
3782
|
}[] | undefined;
|
|
3705
3783
|
}, {
|
|
@@ -3739,13 +3817,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3739
3817
|
id?: string | undefined;
|
|
3740
3818
|
email?: string | undefined;
|
|
3741
3819
|
} | null | undefined;
|
|
3820
|
+
dueDate?: string | null | undefined;
|
|
3742
3821
|
creator?: {
|
|
3743
3822
|
name?: string | undefined;
|
|
3744
3823
|
id?: string | undefined;
|
|
3745
3824
|
email?: string | undefined;
|
|
3746
3825
|
} | null | undefined;
|
|
3747
3826
|
resolution?: string | null | undefined;
|
|
3748
|
-
dueDate?: string | null | undefined;
|
|
3749
3827
|
};
|
|
3750
3828
|
}[] | undefined;
|
|
3751
3829
|
}>;
|
|
@@ -3780,6 +3858,44 @@ export declare const jiraDataCenterLinkJiraIssuesOutputSchema: z.ZodObject<{
|
|
|
3780
3858
|
}>;
|
|
3781
3859
|
export type jiraDataCenterLinkJiraIssuesOutputType = z.infer<typeof jiraDataCenterLinkJiraIssuesOutputSchema>;
|
|
3782
3860
|
export type jiraDataCenterLinkJiraIssuesFunction = ActionFunction<jiraDataCenterLinkJiraIssuesParamsType, AuthParamsType, jiraDataCenterLinkJiraIssuesOutputType>;
|
|
3861
|
+
export declare const jiraDataCenterLinkAndAssignJiraIssuesParamsSchema: z.ZodObject<{
|
|
3862
|
+
inwardIssueKey: z.ZodString;
|
|
3863
|
+
outwardIssueKey: z.ZodString;
|
|
3864
|
+
linkTypeName: z.ZodString;
|
|
3865
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
}, "strip", z.ZodTypeAny, {
|
|
3867
|
+
inwardIssueKey: string;
|
|
3868
|
+
outwardIssueKey: string;
|
|
3869
|
+
linkTypeName: string;
|
|
3870
|
+
comment?: string | undefined;
|
|
3871
|
+
}, {
|
|
3872
|
+
inwardIssueKey: string;
|
|
3873
|
+
outwardIssueKey: string;
|
|
3874
|
+
linkTypeName: string;
|
|
3875
|
+
comment?: string | undefined;
|
|
3876
|
+
}>;
|
|
3877
|
+
export type jiraDataCenterLinkAndAssignJiraIssuesParamsType = z.infer<typeof jiraDataCenterLinkAndAssignJiraIssuesParamsSchema>;
|
|
3878
|
+
export declare const jiraDataCenterLinkAndAssignJiraIssuesOutputSchema: z.ZodObject<{
|
|
3879
|
+
success: z.ZodBoolean;
|
|
3880
|
+
linkSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
3881
|
+
assignSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
3882
|
+
assignedReporter: z.ZodOptional<z.ZodString>;
|
|
3883
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3884
|
+
}, "strip", z.ZodTypeAny, {
|
|
3885
|
+
success: boolean;
|
|
3886
|
+
error?: string | undefined;
|
|
3887
|
+
linkSuccess?: boolean | undefined;
|
|
3888
|
+
assignSuccess?: boolean | undefined;
|
|
3889
|
+
assignedReporter?: string | undefined;
|
|
3890
|
+
}, {
|
|
3891
|
+
success: boolean;
|
|
3892
|
+
error?: string | undefined;
|
|
3893
|
+
linkSuccess?: boolean | undefined;
|
|
3894
|
+
assignSuccess?: boolean | undefined;
|
|
3895
|
+
assignedReporter?: string | undefined;
|
|
3896
|
+
}>;
|
|
3897
|
+
export type jiraDataCenterLinkAndAssignJiraIssuesOutputType = z.infer<typeof jiraDataCenterLinkAndAssignJiraIssuesOutputSchema>;
|
|
3898
|
+
export type jiraDataCenterLinkAndAssignJiraIssuesFunction = ActionFunction<jiraDataCenterLinkAndAssignJiraIssuesParamsType, AuthParamsType, jiraDataCenterLinkAndAssignJiraIssuesOutputType>;
|
|
3783
3899
|
export declare const googlemapsValidateAddressParamsSchema: z.ZodObject<{
|
|
3784
3900
|
regionCode: z.ZodString;
|
|
3785
3901
|
locality: z.ZodString;
|
|
@@ -10536,15 +10652,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
|
|
|
10536
10652
|
name?: string | undefined;
|
|
10537
10653
|
id?: string | undefined;
|
|
10538
10654
|
} | undefined;
|
|
10655
|
+
dueDate?: string | undefined;
|
|
10656
|
+
estimate?: number | undefined;
|
|
10539
10657
|
creator?: {
|
|
10540
10658
|
name?: string | undefined;
|
|
10541
10659
|
id?: string | undefined;
|
|
10542
10660
|
} | undefined;
|
|
10543
|
-
dueDate?: string | undefined;
|
|
10544
10661
|
labels?: string[] | undefined;
|
|
10545
10662
|
createdAt?: string | undefined;
|
|
10546
10663
|
updatedAt?: string | undefined;
|
|
10547
|
-
estimate?: number | undefined;
|
|
10548
10664
|
}, {
|
|
10549
10665
|
description?: string | undefined;
|
|
10550
10666
|
assignee?: {
|
|
@@ -10569,15 +10685,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
|
|
|
10569
10685
|
name?: string | undefined;
|
|
10570
10686
|
id?: string | undefined;
|
|
10571
10687
|
} | undefined;
|
|
10688
|
+
dueDate?: string | undefined;
|
|
10689
|
+
estimate?: number | undefined;
|
|
10572
10690
|
creator?: {
|
|
10573
10691
|
name?: string | undefined;
|
|
10574
10692
|
id?: string | undefined;
|
|
10575
10693
|
} | undefined;
|
|
10576
|
-
dueDate?: string | undefined;
|
|
10577
10694
|
labels?: string[] | undefined;
|
|
10578
10695
|
createdAt?: string | undefined;
|
|
10579
10696
|
updatedAt?: string | undefined;
|
|
10580
|
-
estimate?: number | undefined;
|
|
10581
10697
|
}>>;
|
|
10582
10698
|
}, "strip", z.ZodTypeAny, {
|
|
10583
10699
|
success: boolean;
|
|
@@ -10606,15 +10722,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
|
|
|
10606
10722
|
name?: string | undefined;
|
|
10607
10723
|
id?: string | undefined;
|
|
10608
10724
|
} | undefined;
|
|
10725
|
+
dueDate?: string | undefined;
|
|
10726
|
+
estimate?: number | undefined;
|
|
10609
10727
|
creator?: {
|
|
10610
10728
|
name?: string | undefined;
|
|
10611
10729
|
id?: string | undefined;
|
|
10612
10730
|
} | undefined;
|
|
10613
|
-
dueDate?: string | undefined;
|
|
10614
10731
|
labels?: string[] | undefined;
|
|
10615
10732
|
createdAt?: string | undefined;
|
|
10616
10733
|
updatedAt?: string | undefined;
|
|
10617
|
-
estimate?: number | undefined;
|
|
10618
10734
|
} | undefined;
|
|
10619
10735
|
}, {
|
|
10620
10736
|
success: boolean;
|
|
@@ -10643,15 +10759,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
|
|
|
10643
10759
|
name?: string | undefined;
|
|
10644
10760
|
id?: string | undefined;
|
|
10645
10761
|
} | undefined;
|
|
10762
|
+
dueDate?: string | undefined;
|
|
10763
|
+
estimate?: number | undefined;
|
|
10646
10764
|
creator?: {
|
|
10647
10765
|
name?: string | undefined;
|
|
10648
10766
|
id?: string | undefined;
|
|
10649
10767
|
} | undefined;
|
|
10650
|
-
dueDate?: string | undefined;
|
|
10651
10768
|
labels?: string[] | undefined;
|
|
10652
10769
|
createdAt?: string | undefined;
|
|
10653
10770
|
updatedAt?: string | undefined;
|
|
10654
|
-
estimate?: number | undefined;
|
|
10655
10771
|
} | undefined;
|
|
10656
10772
|
}>;
|
|
10657
10773
|
export type linearGetIssueDetailsOutputType = z.infer<typeof linearGetIssueDetailsOutputSchema>;
|
|
@@ -11074,6 +11190,78 @@ export declare const linearGetTeamsOutputSchema: z.ZodObject<{
|
|
|
11074
11190
|
}>;
|
|
11075
11191
|
export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
|
|
11076
11192
|
export type linearGetTeamsFunction = ActionFunction<linearGetTeamsParamsType, AuthParamsType, linearGetTeamsOutputType>;
|
|
11193
|
+
export declare const linearCreateIssueParamsSchema: z.ZodObject<{
|
|
11194
|
+
title: z.ZodString;
|
|
11195
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11196
|
+
teamId: z.ZodString;
|
|
11197
|
+
assigneeId: z.ZodOptional<z.ZodString>;
|
|
11198
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
11199
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
11200
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
11201
|
+
labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11202
|
+
estimate: z.ZodOptional<z.ZodNumber>;
|
|
11203
|
+
}, "strip", z.ZodTypeAny, {
|
|
11204
|
+
title: string;
|
|
11205
|
+
teamId: string;
|
|
11206
|
+
description?: string | undefined;
|
|
11207
|
+
projectId?: string | undefined;
|
|
11208
|
+
labelIds?: string[] | undefined;
|
|
11209
|
+
priority?: number | undefined;
|
|
11210
|
+
assigneeId?: string | undefined;
|
|
11211
|
+
dueDate?: string | undefined;
|
|
11212
|
+
estimate?: number | undefined;
|
|
11213
|
+
}, {
|
|
11214
|
+
title: string;
|
|
11215
|
+
teamId: string;
|
|
11216
|
+
description?: string | undefined;
|
|
11217
|
+
projectId?: string | undefined;
|
|
11218
|
+
labelIds?: string[] | undefined;
|
|
11219
|
+
priority?: number | undefined;
|
|
11220
|
+
assigneeId?: string | undefined;
|
|
11221
|
+
dueDate?: string | undefined;
|
|
11222
|
+
estimate?: number | undefined;
|
|
11223
|
+
}>;
|
|
11224
|
+
export type linearCreateIssueParamsType = z.infer<typeof linearCreateIssueParamsSchema>;
|
|
11225
|
+
export declare const linearCreateIssueOutputSchema: z.ZodObject<{
|
|
11226
|
+
success: z.ZodBoolean;
|
|
11227
|
+
error: z.ZodOptional<z.ZodString>;
|
|
11228
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
11229
|
+
id: z.ZodOptional<z.ZodString>;
|
|
11230
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11231
|
+
url: z.ZodOptional<z.ZodString>;
|
|
11232
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
11233
|
+
}, "strip", z.ZodTypeAny, {
|
|
11234
|
+
id?: string | undefined;
|
|
11235
|
+
url?: string | undefined;
|
|
11236
|
+
title?: string | undefined;
|
|
11237
|
+
identifier?: string | undefined;
|
|
11238
|
+
}, {
|
|
11239
|
+
id?: string | undefined;
|
|
11240
|
+
url?: string | undefined;
|
|
11241
|
+
title?: string | undefined;
|
|
11242
|
+
identifier?: string | undefined;
|
|
11243
|
+
}>>;
|
|
11244
|
+
}, "strip", z.ZodTypeAny, {
|
|
11245
|
+
success: boolean;
|
|
11246
|
+
error?: string | undefined;
|
|
11247
|
+
issue?: {
|
|
11248
|
+
id?: string | undefined;
|
|
11249
|
+
url?: string | undefined;
|
|
11250
|
+
title?: string | undefined;
|
|
11251
|
+
identifier?: string | undefined;
|
|
11252
|
+
} | undefined;
|
|
11253
|
+
}, {
|
|
11254
|
+
success: boolean;
|
|
11255
|
+
error?: string | undefined;
|
|
11256
|
+
issue?: {
|
|
11257
|
+
id?: string | undefined;
|
|
11258
|
+
url?: string | undefined;
|
|
11259
|
+
title?: string | undefined;
|
|
11260
|
+
identifier?: string | undefined;
|
|
11261
|
+
} | undefined;
|
|
11262
|
+
}>;
|
|
11263
|
+
export type linearCreateIssueOutputType = z.infer<typeof linearCreateIssueOutputSchema>;
|
|
11264
|
+
export type linearCreateIssueFunction = ActionFunction<linearCreateIssueParamsType, AuthParamsType, linearCreateIssueOutputType>;
|
|
11077
11265
|
export declare const hubspotGetContactsParamsSchema: z.ZodObject<{
|
|
11078
11266
|
query: z.ZodOptional<z.ZodString>;
|
|
11079
11267
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -69,6 +69,7 @@ export var ActionName;
|
|
|
69
69
|
ActionName["UPDATEJIRATICKETSTATUS"] = "updateJiraTicketStatus";
|
|
70
70
|
ActionName["GETJIRAISSUESBYQUERY"] = "getJiraIssuesByQuery";
|
|
71
71
|
ActionName["LINKJIRAISSUES"] = "linkJiraIssues";
|
|
72
|
+
ActionName["LINKANDASSIGNJIRAISSUES"] = "linkAndAssignJiraIssues";
|
|
72
73
|
ActionName["VALIDATEADDRESS"] = "validateAddress";
|
|
73
74
|
ActionName["NEARBYSEARCHRESTAURANTS"] = "nearbysearchRestaurants";
|
|
74
75
|
ActionName["GETTOPNSEARCHRESULTURLS"] = "getTopNSearchResultUrls";
|
|
@@ -165,6 +166,7 @@ export var ActionName;
|
|
|
165
166
|
ActionName["GETPROJECTDETAILS"] = "getProjectDetails";
|
|
166
167
|
ActionName["GETTEAMDETAILS"] = "getTeamDetails";
|
|
167
168
|
ActionName["GETTEAMS"] = "getTeams";
|
|
169
|
+
ActionName["CREATEISSUE"] = "createIssue";
|
|
168
170
|
ActionName["GETCONTACTS"] = "getContacts";
|
|
169
171
|
ActionName["GETCONTACTDETAILS"] = "getContactDetails";
|
|
170
172
|
ActionName["GETCOMPANIES"] = "getCompanies";
|
|
@@ -838,6 +840,28 @@ export const jiraLinkJiraIssuesOutputSchema = z.object({
|
|
|
838
840
|
success: z.boolean().describe("Whether the issue link was successfully created"),
|
|
839
841
|
error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
|
|
840
842
|
});
|
|
843
|
+
export const jiraLinkAndAssignJiraIssuesParamsSchema = z.object({
|
|
844
|
+
inwardIssueKey: z
|
|
845
|
+
.string()
|
|
846
|
+
.describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.'),
|
|
847
|
+
outwardIssueKey: z
|
|
848
|
+
.string()
|
|
849
|
+
.describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.'),
|
|
850
|
+
linkTypeName: z
|
|
851
|
+
.string()
|
|
852
|
+
.describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
|
|
853
|
+
comment: z
|
|
854
|
+
.string()
|
|
855
|
+
.describe("An optional comment to add to the inward (source) issue when creating the link")
|
|
856
|
+
.optional(),
|
|
857
|
+
});
|
|
858
|
+
export const jiraLinkAndAssignJiraIssuesOutputSchema = z.object({
|
|
859
|
+
success: z.boolean().describe("Whether the issue link and assignment were both successfully completed"),
|
|
860
|
+
linkSuccess: z.boolean().describe("Whether the issue link was successfully created").optional(),
|
|
861
|
+
assignSuccess: z.boolean().describe("Whether the reporter was successfully assigned to the inward issue").optional(),
|
|
862
|
+
assignedReporter: z.string().describe("The account ID or username of the reporter that was assigned").optional(),
|
|
863
|
+
error: z.string().describe("Error message if the operation failed (only present if success is false)").optional(),
|
|
864
|
+
});
|
|
841
865
|
export const jiraOrgAssignJiraTicketParamsSchema = z.object({
|
|
842
866
|
projectKey: z.string().describe("The key for the project you want to add the ticket to."),
|
|
843
867
|
assignee: z.string().describe("The assignee for the ticket, userID or email"),
|
|
@@ -1056,6 +1080,28 @@ export const jiraOrgLinkJiraIssuesOutputSchema = z.object({
|
|
|
1056
1080
|
success: z.boolean().describe("Whether the issue link was successfully created"),
|
|
1057
1081
|
error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
|
|
1058
1082
|
});
|
|
1083
|
+
export const jiraOrgLinkAndAssignJiraIssuesParamsSchema = z.object({
|
|
1084
|
+
inwardIssueKey: z
|
|
1085
|
+
.string()
|
|
1086
|
+
.describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.'),
|
|
1087
|
+
outwardIssueKey: z
|
|
1088
|
+
.string()
|
|
1089
|
+
.describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.'),
|
|
1090
|
+
linkTypeName: z
|
|
1091
|
+
.string()
|
|
1092
|
+
.describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
|
|
1093
|
+
comment: z
|
|
1094
|
+
.string()
|
|
1095
|
+
.describe("An optional comment to add to the inward (source) issue when creating the link")
|
|
1096
|
+
.optional(),
|
|
1097
|
+
});
|
|
1098
|
+
export const jiraOrgLinkAndAssignJiraIssuesOutputSchema = z.object({
|
|
1099
|
+
success: z.boolean().describe("Whether the issue link and assignment were both successfully completed"),
|
|
1100
|
+
linkSuccess: z.boolean().describe("Whether the issue link was successfully created").optional(),
|
|
1101
|
+
assignSuccess: z.boolean().describe("Whether the reporter was successfully assigned to the inward issue").optional(),
|
|
1102
|
+
assignedReporter: z.string().describe("The account ID or username of the reporter that was assigned").optional(),
|
|
1103
|
+
error: z.string().describe("Error message if the operation failed (only present if success is false)").optional(),
|
|
1104
|
+
});
|
|
1059
1105
|
export const jiraDataCenterAssignJiraTicketParamsSchema = z.object({
|
|
1060
1106
|
projectKey: z.string().describe("The key for the project you want to add the ticket to."),
|
|
1061
1107
|
assignee: z.string().describe("The assignee for the ticket, userID or email"),
|
|
@@ -1274,6 +1320,28 @@ export const jiraDataCenterLinkJiraIssuesOutputSchema = z.object({
|
|
|
1274
1320
|
success: z.boolean().describe("Whether the issue link was successfully created"),
|
|
1275
1321
|
error: z.string().describe("Error message if the link creation failed (only present if success is false)").optional(),
|
|
1276
1322
|
});
|
|
1323
|
+
export const jiraDataCenterLinkAndAssignJiraIssuesParamsSchema = z.object({
|
|
1324
|
+
inwardIssueKey: z
|
|
1325
|
+
.string()
|
|
1326
|
+
.describe('The issue key for the inward issue of the link (e.g. "PROJ-123"). This is the source issue that will be assigned the reporter.'),
|
|
1327
|
+
outwardIssueKey: z
|
|
1328
|
+
.string()
|
|
1329
|
+
.describe('The issue key for the outward issue of the link (e.g. "PROJ-456"). This is the destination issue whose reporter will be assigned.'),
|
|
1330
|
+
linkTypeName: z
|
|
1331
|
+
.string()
|
|
1332
|
+
.describe('The name of the link type (e.g. "Blocks", "Cloners", "Duplicate", "Relates", "Split", etc.)'),
|
|
1333
|
+
comment: z
|
|
1334
|
+
.string()
|
|
1335
|
+
.describe("An optional comment to add to the inward (source) issue when creating the link")
|
|
1336
|
+
.optional(),
|
|
1337
|
+
});
|
|
1338
|
+
export const jiraDataCenterLinkAndAssignJiraIssuesOutputSchema = z.object({
|
|
1339
|
+
success: z.boolean().describe("Whether the issue link and assignment were both successfully completed"),
|
|
1340
|
+
linkSuccess: z.boolean().describe("Whether the issue link was successfully created").optional(),
|
|
1341
|
+
assignSuccess: z.boolean().describe("Whether the reporter was successfully assigned to the inward issue").optional(),
|
|
1342
|
+
assignedReporter: z.string().describe("The account ID or username of the reporter that was assigned").optional(),
|
|
1343
|
+
error: z.string().describe("Error message if the operation failed (only present if success is false)").optional(),
|
|
1344
|
+
});
|
|
1277
1345
|
export const googlemapsValidateAddressParamsSchema = z.object({
|
|
1278
1346
|
regionCode: z.string().describe("The country of the address being verified."),
|
|
1279
1347
|
locality: z.string().describe("The locality of the address being verified. This is likely a city."),
|
|
@@ -4967,6 +5035,36 @@ export const linearGetTeamsOutputSchema = z.object({
|
|
|
4967
5035
|
.describe("List of all teams")
|
|
4968
5036
|
.optional(),
|
|
4969
5037
|
});
|
|
5038
|
+
export const linearCreateIssueParamsSchema = z.object({
|
|
5039
|
+
title: z.string().describe("The title of the issue to create"),
|
|
5040
|
+
description: z.string().describe("The description of the issue in markdown format").optional(),
|
|
5041
|
+
teamId: z.string().describe("The ID of the team to create the issue for"),
|
|
5042
|
+
assigneeId: z.string().describe("The ID of the user to assign the issue to").optional(),
|
|
5043
|
+
priority: z
|
|
5044
|
+
.number()
|
|
5045
|
+
.int()
|
|
5046
|
+
.min(0)
|
|
5047
|
+
.max(4)
|
|
5048
|
+
.describe("The priority of the issue: 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low")
|
|
5049
|
+
.optional(),
|
|
5050
|
+
projectId: z.string().describe("The ID of the project to associate the issue with").optional(),
|
|
5051
|
+
dueDate: z.string().describe("The due date of the issue in ISO 8601 format (e.g. 2024-12-31)").optional(),
|
|
5052
|
+
labelIds: z.array(z.string()).describe("Array of label IDs to apply to the issue").optional(),
|
|
5053
|
+
estimate: z.number().describe("The estimate in story points for the issue").optional(),
|
|
5054
|
+
});
|
|
5055
|
+
export const linearCreateIssueOutputSchema = z.object({
|
|
5056
|
+
success: z.boolean().describe("Whether the issue was created successfully"),
|
|
5057
|
+
error: z.string().describe("Error message if the issue creation failed").optional(),
|
|
5058
|
+
issue: z
|
|
5059
|
+
.object({
|
|
5060
|
+
id: z.string().describe("The created issue ID").optional(),
|
|
5061
|
+
title: z.string().describe("The created issue title").optional(),
|
|
5062
|
+
url: z.string().describe("The URL of the created issue").optional(),
|
|
5063
|
+
identifier: z.string().describe("The issue identifier (e.g. ENG-123)").optional(),
|
|
5064
|
+
})
|
|
5065
|
+
.describe("The created issue details")
|
|
5066
|
+
.optional(),
|
|
5067
|
+
});
|
|
4970
5068
|
export const hubspotGetContactsParamsSchema = z.object({
|
|
4971
5069
|
query: z
|
|
4972
5070
|
.string()
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { axiosClient } from "../../util/axiosClient.js";
|
|
2
|
+
import { getJiraApiConfig, getErrorMessage } from "./utils.js";
|
|
3
|
+
const linkAndAssignJiraIssues = async ({ params, authParams, }) => {
|
|
4
|
+
const { inwardIssueKey, outwardIssueKey, linkTypeName, comment } = params;
|
|
5
|
+
const { authToken } = authParams;
|
|
6
|
+
if (!authToken) {
|
|
7
|
+
throw new Error("Auth token is required");
|
|
8
|
+
}
|
|
9
|
+
const { apiUrl, strategy } = getJiraApiConfig(authParams);
|
|
10
|
+
const headers = {
|
|
11
|
+
Authorization: `Bearer ${authToken}`,
|
|
12
|
+
Accept: "application/json",
|
|
13
|
+
"Content-Type": "application/json",
|
|
14
|
+
};
|
|
15
|
+
// Step 1: Create the issue link
|
|
16
|
+
const linkPayload = {
|
|
17
|
+
inwardIssue: {
|
|
18
|
+
key: inwardIssueKey,
|
|
19
|
+
},
|
|
20
|
+
outwardIssue: {
|
|
21
|
+
key: outwardIssueKey,
|
|
22
|
+
},
|
|
23
|
+
type: {
|
|
24
|
+
name: linkTypeName,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
if (comment) {
|
|
28
|
+
linkPayload.comment = {
|
|
29
|
+
body: strategy.formatText(comment),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
try {
|
|
33
|
+
await axiosClient.post(`${apiUrl}/issueLink`, linkPayload, { headers });
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
console.error("Error linking Jira issues:", error);
|
|
37
|
+
return {
|
|
38
|
+
success: false,
|
|
39
|
+
linkSuccess: false,
|
|
40
|
+
error: `Failed to link issues: ${getErrorMessage(error)}`,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
// Step 2: Fetch the outward issue to get its reporter
|
|
44
|
+
let reporterId;
|
|
45
|
+
try {
|
|
46
|
+
const issueResponse = await axiosClient.get(`${apiUrl}/issue/${outwardIssueKey}`, {
|
|
47
|
+
headers: {
|
|
48
|
+
Authorization: `Bearer ${authToken}`,
|
|
49
|
+
Accept: "application/json",
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
const reporter = issueResponse.data?.fields?.reporter;
|
|
53
|
+
// Cloud uses accountId, Data Center uses name/key
|
|
54
|
+
reporterId = reporter?.accountId || reporter?.name || reporter?.key;
|
|
55
|
+
if (!reporterId) {
|
|
56
|
+
return {
|
|
57
|
+
success: false,
|
|
58
|
+
linkSuccess: true,
|
|
59
|
+
assignSuccess: false,
|
|
60
|
+
error: "Issue link was created, but the outward issue has no reporter to assign.",
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (error) {
|
|
65
|
+
console.error("Error fetching outward issue details:", error);
|
|
66
|
+
return {
|
|
67
|
+
success: false,
|
|
68
|
+
linkSuccess: true,
|
|
69
|
+
assignSuccess: false,
|
|
70
|
+
error: `Issue link was created, but failed to fetch outward issue reporter: ${getErrorMessage(error)}`,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
// Step 3: Assign the reporter of the outward issue to the inward issue
|
|
74
|
+
try {
|
|
75
|
+
const assigneePayload = strategy.formatUser(reporterId);
|
|
76
|
+
if (!assigneePayload) {
|
|
77
|
+
return {
|
|
78
|
+
success: false,
|
|
79
|
+
linkSuccess: true,
|
|
80
|
+
assignSuccess: false,
|
|
81
|
+
error: "Issue link was created, but could not format reporter for assignment.",
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
await axiosClient.put(`${apiUrl}/issue/${inwardIssueKey}/assignee`, assigneePayload, { headers });
|
|
85
|
+
return {
|
|
86
|
+
success: true,
|
|
87
|
+
linkSuccess: true,
|
|
88
|
+
assignSuccess: true,
|
|
89
|
+
assignedReporter: reporterId,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
catch (error) {
|
|
93
|
+
console.error("Error assigning reporter to inward issue:", error);
|
|
94
|
+
return {
|
|
95
|
+
success: false,
|
|
96
|
+
linkSuccess: true,
|
|
97
|
+
assignSuccess: false,
|
|
98
|
+
error: `Issue link was created, but failed to assign reporter: ${getErrorMessage(error)}`,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
export default linkAndAssignJiraIssues;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const createIssue = async ({ params, authParams, }) => {
|
|
2
|
+
const { authToken } = authParams;
|
|
3
|
+
const { title, description, teamId, assigneeId, priority, projectId, dueDate, labelIds, estimate } = params;
|
|
4
|
+
if (!authToken) {
|
|
5
|
+
throw new Error("Valid auth token is required to create a Linear issue");
|
|
6
|
+
}
|
|
7
|
+
const mutation = `
|
|
8
|
+
mutation CreateIssue($input: IssueCreateInput!) {
|
|
9
|
+
issueCreate(input: $input) {
|
|
10
|
+
success
|
|
11
|
+
issue {
|
|
12
|
+
id
|
|
13
|
+
title
|
|
14
|
+
url
|
|
15
|
+
identifier
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
const input = {
|
|
21
|
+
title,
|
|
22
|
+
teamId,
|
|
23
|
+
};
|
|
24
|
+
if (description !== undefined) {
|
|
25
|
+
input.description = description;
|
|
26
|
+
}
|
|
27
|
+
if (assigneeId !== undefined) {
|
|
28
|
+
input.assigneeId = assigneeId;
|
|
29
|
+
}
|
|
30
|
+
if (priority !== undefined) {
|
|
31
|
+
input.priority = priority;
|
|
32
|
+
}
|
|
33
|
+
if (projectId !== undefined) {
|
|
34
|
+
input.projectId = projectId;
|
|
35
|
+
}
|
|
36
|
+
if (dueDate !== undefined) {
|
|
37
|
+
input.dueDate = dueDate;
|
|
38
|
+
}
|
|
39
|
+
if (labelIds !== undefined) {
|
|
40
|
+
input.labelIds = labelIds;
|
|
41
|
+
}
|
|
42
|
+
if (estimate !== undefined) {
|
|
43
|
+
input.estimate = estimate;
|
|
44
|
+
}
|
|
45
|
+
try {
|
|
46
|
+
const response = await fetch("https://api.linear.app/graphql", {
|
|
47
|
+
method: "POST",
|
|
48
|
+
headers: {
|
|
49
|
+
"Content-Type": "application/json",
|
|
50
|
+
Authorization: `Bearer ${authToken}`,
|
|
51
|
+
},
|
|
52
|
+
body: JSON.stringify({
|
|
53
|
+
query: mutation,
|
|
54
|
+
variables: { input },
|
|
55
|
+
}),
|
|
56
|
+
});
|
|
57
|
+
if (!response.ok) {
|
|
58
|
+
const errorText = await response.text();
|
|
59
|
+
throw new Error(`HTTP error: status: ${response.status}, body: ${errorText}`);
|
|
60
|
+
}
|
|
61
|
+
const data = await response.json();
|
|
62
|
+
if (data.errors) {
|
|
63
|
+
throw new Error(`GraphQL errors: ${JSON.stringify(data.errors)}`);
|
|
64
|
+
}
|
|
65
|
+
const result = data.data?.issueCreate;
|
|
66
|
+
if (!result?.success) {
|
|
67
|
+
return {
|
|
68
|
+
success: false,
|
|
69
|
+
error: "Failed to create issue",
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
success: true,
|
|
74
|
+
issue: {
|
|
75
|
+
id: result.issue.id,
|
|
76
|
+
title: result.issue.title,
|
|
77
|
+
url: result.issue.url,
|
|
78
|
+
identifier: result.issue.identifier,
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
catch (error) {
|
|
83
|
+
console.error("Error creating Linear issue: ", error);
|
|
84
|
+
return {
|
|
85
|
+
success: false,
|
|
86
|
+
error: error instanceof Error ? error.message : "Unknown error",
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
export default createIssue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@credal/actions",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.203",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AI Actions by Credal AI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"typescript-eslint": "^8.56.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@credal/sdk": "^0.1.14",
|
|
55
54
|
"@mendable/firecrawl-js": "^4.3.4",
|
|
56
55
|
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
57
56
|
"@octokit/core": "^6.1.6",
|