@credal/actions 0.2.202 → 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.
@@ -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, 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, 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";
@@ -112,6 +112,7 @@ import getProjectDetails from "./providers/linear/getProjectDetails.js";
112
112
  import getTeamDetails from "./providers/linear/getTeamDetails.js";
113
113
  import getProjects from "./providers/linear/getProjects.js";
114
114
  import getTeams from "./providers/linear/getTeams.js";
115
+ import createIssue from "./providers/linear/createIssue.js";
115
116
  import getContacts from "./providers/hubspot/getContacts.js";
116
117
  import getContactDetails from "./providers/hubspot/getContactDetails.js";
117
118
  import getCompanies from "./providers/hubspot/getCompanies.js";
@@ -1033,6 +1034,12 @@ export const ActionMapper = {
1033
1034
  outputSchema: linearGetTeamsOutputSchema,
1034
1035
  actionType: "read",
1035
1036
  },
1037
+ createIssue: {
1038
+ fn: createIssue,
1039
+ paramsSchema: linearCreateIssueParamsSchema,
1040
+ outputSchema: linearCreateIssueOutputSchema,
1041
+ actionType: "write",
1042
+ },
1036
1043
  },
1037
1044
  hubspot: {
1038
1045
  getContacts: {
@@ -156,6 +156,7 @@ export declare const linearGetProjectsDefinition: ActionTemplate;
156
156
  export declare const linearGetProjectDetailsDefinition: ActionTemplate;
157
157
  export declare const linearGetTeamDetailsDefinition: ActionTemplate;
158
158
  export declare const linearGetTeamsDefinition: ActionTemplate;
159
+ export declare const linearCreateIssueDefinition: ActionTemplate;
159
160
  export declare const hubspotGetContactsDefinition: ActionTemplate;
160
161
  export declare const hubspotGetContactDetailsDefinition: ActionTemplate;
161
162
  export declare const hubspotGetCompaniesDefinition: ActionTemplate;
@@ -14154,6 +14154,98 @@ export const linearGetTeamsDefinition = {
14154
14154
  name: "getTeams",
14155
14155
  provider: "linear",
14156
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
+ };
14157
14249
  export const hubspotGetContactsDefinition = {
14158
14250
  displayName: "List all contacts",
14159
14251
  description: "List or search HubSpot contacts by optional query",
@@ -164,6 +164,7 @@ export declare enum ActionName {
164
164
  GETPROJECTDETAILS = "getProjectDetails",
165
165
  GETTEAMDETAILS = "getTeamDetails",
166
166
  GETTEAMS = "getTeams",
167
+ CREATEISSUE = "createIssue",
167
168
  GETCONTACTS = "getContacts",
168
169
  GETCONTACTDETAILS = "getContactDetails",
169
170
  GETCOMPANIES = "getCompanies",
@@ -2038,13 +2039,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2038
2039
  id?: string | undefined;
2039
2040
  email?: string | undefined;
2040
2041
  } | null | undefined;
2042
+ dueDate?: string | null | undefined;
2041
2043
  creator?: {
2042
2044
  name?: string | undefined;
2043
2045
  id?: string | undefined;
2044
2046
  email?: string | undefined;
2045
2047
  } | null | undefined;
2046
2048
  resolution?: string | null | undefined;
2047
- dueDate?: string | null | undefined;
2048
2049
  }, {
2049
2050
  status: {
2050
2051
  name?: string | undefined;
@@ -2077,13 +2078,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2077
2078
  id?: string | undefined;
2078
2079
  email?: string | undefined;
2079
2080
  } | null | undefined;
2081
+ dueDate?: string | null | undefined;
2080
2082
  creator?: {
2081
2083
  name?: string | undefined;
2082
2084
  id?: string | undefined;
2083
2085
  email?: string | undefined;
2084
2086
  } | null | undefined;
2085
2087
  resolution?: string | null | undefined;
2086
- dueDate?: string | null | undefined;
2087
2088
  }>;
2088
2089
  }, "strip", z.ZodTypeAny, {
2089
2090
  name: string;
@@ -2120,13 +2121,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2120
2121
  id?: string | undefined;
2121
2122
  email?: string | undefined;
2122
2123
  } | null | undefined;
2124
+ dueDate?: string | null | undefined;
2123
2125
  creator?: {
2124
2126
  name?: string | undefined;
2125
2127
  id?: string | undefined;
2126
2128
  email?: string | undefined;
2127
2129
  } | null | undefined;
2128
2130
  resolution?: string | null | undefined;
2129
- dueDate?: string | null | undefined;
2130
2131
  };
2131
2132
  }, {
2132
2133
  name: string;
@@ -2163,13 +2164,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2163
2164
  id?: string | undefined;
2164
2165
  email?: string | undefined;
2165
2166
  } | null | undefined;
2167
+ dueDate?: string | null | undefined;
2166
2168
  creator?: {
2167
2169
  name?: string | undefined;
2168
2170
  id?: string | undefined;
2169
2171
  email?: string | undefined;
2170
2172
  } | null | undefined;
2171
2173
  resolution?: string | null | undefined;
2172
- dueDate?: string | null | undefined;
2173
2174
  };
2174
2175
  }>, "many">>;
2175
2176
  error: z.ZodOptional<z.ZodString>;
@@ -2210,13 +2211,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2210
2211
  id?: string | undefined;
2211
2212
  email?: string | undefined;
2212
2213
  } | null | undefined;
2214
+ dueDate?: string | null | undefined;
2213
2215
  creator?: {
2214
2216
  name?: string | undefined;
2215
2217
  id?: string | undefined;
2216
2218
  email?: string | undefined;
2217
2219
  } | null | undefined;
2218
2220
  resolution?: string | null | undefined;
2219
- dueDate?: string | null | undefined;
2220
2221
  };
2221
2222
  }[] | undefined;
2222
2223
  }, {
@@ -2256,13 +2257,13 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2256
2257
  id?: string | undefined;
2257
2258
  email?: string | undefined;
2258
2259
  } | null | undefined;
2260
+ dueDate?: string | null | undefined;
2259
2261
  creator?: {
2260
2262
  name?: string | undefined;
2261
2263
  id?: string | undefined;
2262
2264
  email?: string | undefined;
2263
2265
  } | null | undefined;
2264
2266
  resolution?: string | null | undefined;
2265
- dueDate?: string | null | undefined;
2266
2267
  };
2267
2268
  }[] | undefined;
2268
2269
  }>;
@@ -2818,13 +2819,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2818
2819
  id?: string | undefined;
2819
2820
  email?: string | undefined;
2820
2821
  } | null | undefined;
2822
+ dueDate?: string | null | undefined;
2821
2823
  creator?: {
2822
2824
  name?: string | undefined;
2823
2825
  id?: string | undefined;
2824
2826
  email?: string | undefined;
2825
2827
  } | null | undefined;
2826
2828
  resolution?: string | null | undefined;
2827
- dueDate?: string | null | undefined;
2828
2829
  }, {
2829
2830
  status: {
2830
2831
  name?: string | undefined;
@@ -2857,13 +2858,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2857
2858
  id?: string | undefined;
2858
2859
  email?: string | undefined;
2859
2860
  } | null | undefined;
2861
+ dueDate?: string | null | undefined;
2860
2862
  creator?: {
2861
2863
  name?: string | undefined;
2862
2864
  id?: string | undefined;
2863
2865
  email?: string | undefined;
2864
2866
  } | null | undefined;
2865
2867
  resolution?: string | null | undefined;
2866
- dueDate?: string | null | undefined;
2867
2868
  }>;
2868
2869
  }, "strip", z.ZodTypeAny, {
2869
2870
  name: string;
@@ -2900,13 +2901,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2900
2901
  id?: string | undefined;
2901
2902
  email?: string | undefined;
2902
2903
  } | null | undefined;
2904
+ dueDate?: string | null | undefined;
2903
2905
  creator?: {
2904
2906
  name?: string | undefined;
2905
2907
  id?: string | undefined;
2906
2908
  email?: string | undefined;
2907
2909
  } | null | undefined;
2908
2910
  resolution?: string | null | undefined;
2909
- dueDate?: string | null | undefined;
2910
2911
  };
2911
2912
  }, {
2912
2913
  name: string;
@@ -2943,13 +2944,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2943
2944
  id?: string | undefined;
2944
2945
  email?: string | undefined;
2945
2946
  } | null | undefined;
2947
+ dueDate?: string | null | undefined;
2946
2948
  creator?: {
2947
2949
  name?: string | undefined;
2948
2950
  id?: string | undefined;
2949
2951
  email?: string | undefined;
2950
2952
  } | null | undefined;
2951
2953
  resolution?: string | null | undefined;
2952
- dueDate?: string | null | undefined;
2953
2954
  };
2954
2955
  }>, "many">>;
2955
2956
  error: z.ZodOptional<z.ZodString>;
@@ -2990,13 +2991,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2990
2991
  id?: string | undefined;
2991
2992
  email?: string | undefined;
2992
2993
  } | null | undefined;
2994
+ dueDate?: string | null | undefined;
2993
2995
  creator?: {
2994
2996
  name?: string | undefined;
2995
2997
  id?: string | undefined;
2996
2998
  email?: string | undefined;
2997
2999
  } | null | undefined;
2998
3000
  resolution?: string | null | undefined;
2999
- dueDate?: string | null | undefined;
3000
3001
  };
3001
3002
  }[] | undefined;
3002
3003
  }, {
@@ -3036,13 +3037,13 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3036
3037
  id?: string | undefined;
3037
3038
  email?: string | undefined;
3038
3039
  } | null | undefined;
3040
+ dueDate?: string | null | undefined;
3039
3041
  creator?: {
3040
3042
  name?: string | undefined;
3041
3043
  id?: string | undefined;
3042
3044
  email?: string | undefined;
3043
3045
  } | null | undefined;
3044
3046
  resolution?: string | null | undefined;
3045
- dueDate?: string | null | undefined;
3046
3047
  };
3047
3048
  }[] | undefined;
3048
3049
  }>;
@@ -3598,13 +3599,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3598
3599
  id?: string | undefined;
3599
3600
  email?: string | undefined;
3600
3601
  } | null | undefined;
3602
+ dueDate?: string | null | undefined;
3601
3603
  creator?: {
3602
3604
  name?: string | undefined;
3603
3605
  id?: string | undefined;
3604
3606
  email?: string | undefined;
3605
3607
  } | null | undefined;
3606
3608
  resolution?: string | null | undefined;
3607
- dueDate?: string | null | undefined;
3608
3609
  }, {
3609
3610
  status: {
3610
3611
  name?: string | undefined;
@@ -3637,13 +3638,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3637
3638
  id?: string | undefined;
3638
3639
  email?: string | undefined;
3639
3640
  } | null | undefined;
3641
+ dueDate?: string | null | undefined;
3640
3642
  creator?: {
3641
3643
  name?: string | undefined;
3642
3644
  id?: string | undefined;
3643
3645
  email?: string | undefined;
3644
3646
  } | null | undefined;
3645
3647
  resolution?: string | null | undefined;
3646
- dueDate?: string | null | undefined;
3647
3648
  }>;
3648
3649
  }, "strip", z.ZodTypeAny, {
3649
3650
  name: string;
@@ -3680,13 +3681,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3680
3681
  id?: string | undefined;
3681
3682
  email?: string | undefined;
3682
3683
  } | null | undefined;
3684
+ dueDate?: string | null | undefined;
3683
3685
  creator?: {
3684
3686
  name?: string | undefined;
3685
3687
  id?: string | undefined;
3686
3688
  email?: string | undefined;
3687
3689
  } | null | undefined;
3688
3690
  resolution?: string | null | undefined;
3689
- dueDate?: string | null | undefined;
3690
3691
  };
3691
3692
  }, {
3692
3693
  name: string;
@@ -3723,13 +3724,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3723
3724
  id?: string | undefined;
3724
3725
  email?: string | undefined;
3725
3726
  } | null | undefined;
3727
+ dueDate?: string | null | undefined;
3726
3728
  creator?: {
3727
3729
  name?: string | undefined;
3728
3730
  id?: string | undefined;
3729
3731
  email?: string | undefined;
3730
3732
  } | null | undefined;
3731
3733
  resolution?: string | null | undefined;
3732
- dueDate?: string | null | undefined;
3733
3734
  };
3734
3735
  }>, "many">>;
3735
3736
  error: z.ZodOptional<z.ZodString>;
@@ -3770,13 +3771,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3770
3771
  id?: string | undefined;
3771
3772
  email?: string | undefined;
3772
3773
  } | null | undefined;
3774
+ dueDate?: string | null | undefined;
3773
3775
  creator?: {
3774
3776
  name?: string | undefined;
3775
3777
  id?: string | undefined;
3776
3778
  email?: string | undefined;
3777
3779
  } | null | undefined;
3778
3780
  resolution?: string | null | undefined;
3779
- dueDate?: string | null | undefined;
3780
3781
  };
3781
3782
  }[] | undefined;
3782
3783
  }, {
@@ -3816,13 +3817,13 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3816
3817
  id?: string | undefined;
3817
3818
  email?: string | undefined;
3818
3819
  } | null | undefined;
3820
+ dueDate?: string | null | undefined;
3819
3821
  creator?: {
3820
3822
  name?: string | undefined;
3821
3823
  id?: string | undefined;
3822
3824
  email?: string | undefined;
3823
3825
  } | null | undefined;
3824
3826
  resolution?: string | null | undefined;
3825
- dueDate?: string | null | undefined;
3826
3827
  };
3827
3828
  }[] | undefined;
3828
3829
  }>;
@@ -10651,15 +10652,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10651
10652
  name?: string | undefined;
10652
10653
  id?: string | undefined;
10653
10654
  } | undefined;
10655
+ dueDate?: string | undefined;
10656
+ estimate?: number | undefined;
10654
10657
  creator?: {
10655
10658
  name?: string | undefined;
10656
10659
  id?: string | undefined;
10657
10660
  } | undefined;
10658
- dueDate?: string | undefined;
10659
10661
  labels?: string[] | undefined;
10660
10662
  createdAt?: string | undefined;
10661
10663
  updatedAt?: string | undefined;
10662
- estimate?: number | undefined;
10663
10664
  }, {
10664
10665
  description?: string | undefined;
10665
10666
  assignee?: {
@@ -10684,15 +10685,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10684
10685
  name?: string | undefined;
10685
10686
  id?: string | undefined;
10686
10687
  } | undefined;
10688
+ dueDate?: string | undefined;
10689
+ estimate?: number | undefined;
10687
10690
  creator?: {
10688
10691
  name?: string | undefined;
10689
10692
  id?: string | undefined;
10690
10693
  } | undefined;
10691
- dueDate?: string | undefined;
10692
10694
  labels?: string[] | undefined;
10693
10695
  createdAt?: string | undefined;
10694
10696
  updatedAt?: string | undefined;
10695
- estimate?: number | undefined;
10696
10697
  }>>;
10697
10698
  }, "strip", z.ZodTypeAny, {
10698
10699
  success: boolean;
@@ -10721,15 +10722,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10721
10722
  name?: string | undefined;
10722
10723
  id?: string | undefined;
10723
10724
  } | undefined;
10725
+ dueDate?: string | undefined;
10726
+ estimate?: number | undefined;
10724
10727
  creator?: {
10725
10728
  name?: string | undefined;
10726
10729
  id?: string | undefined;
10727
10730
  } | undefined;
10728
- dueDate?: string | undefined;
10729
10731
  labels?: string[] | undefined;
10730
10732
  createdAt?: string | undefined;
10731
10733
  updatedAt?: string | undefined;
10732
- estimate?: number | undefined;
10733
10734
  } | undefined;
10734
10735
  }, {
10735
10736
  success: boolean;
@@ -10758,15 +10759,15 @@ export declare const linearGetIssueDetailsOutputSchema: z.ZodObject<{
10758
10759
  name?: string | undefined;
10759
10760
  id?: string | undefined;
10760
10761
  } | undefined;
10762
+ dueDate?: string | undefined;
10763
+ estimate?: number | undefined;
10761
10764
  creator?: {
10762
10765
  name?: string | undefined;
10763
10766
  id?: string | undefined;
10764
10767
  } | undefined;
10765
- dueDate?: string | undefined;
10766
10768
  labels?: string[] | undefined;
10767
10769
  createdAt?: string | undefined;
10768
10770
  updatedAt?: string | undefined;
10769
- estimate?: number | undefined;
10770
10771
  } | undefined;
10771
10772
  }>;
10772
10773
  export type linearGetIssueDetailsOutputType = z.infer<typeof linearGetIssueDetailsOutputSchema>;
@@ -11189,6 +11190,78 @@ export declare const linearGetTeamsOutputSchema: z.ZodObject<{
11189
11190
  }>;
11190
11191
  export type linearGetTeamsOutputType = z.infer<typeof linearGetTeamsOutputSchema>;
11191
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>;
11192
11265
  export declare const hubspotGetContactsParamsSchema: z.ZodObject<{
11193
11266
  query: z.ZodOptional<z.ZodString>;
11194
11267
  limit: z.ZodOptional<z.ZodNumber>;
@@ -166,6 +166,7 @@ export var ActionName;
166
166
  ActionName["GETPROJECTDETAILS"] = "getProjectDetails";
167
167
  ActionName["GETTEAMDETAILS"] = "getTeamDetails";
168
168
  ActionName["GETTEAMS"] = "getTeams";
169
+ ActionName["CREATEISSUE"] = "createIssue";
169
170
  ActionName["GETCONTACTS"] = "getContacts";
170
171
  ActionName["GETCONTACTDETAILS"] = "getContactDetails";
171
172
  ActionName["GETCOMPANIES"] = "getCompanies";
@@ -5034,6 +5035,36 @@ export const linearGetTeamsOutputSchema = z.object({
5034
5035
  .describe("List of all teams")
5035
5036
  .optional(),
5036
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
+ });
5037
5068
  export const hubspotGetContactsParamsSchema = z.object({
5038
5069
  query: z
5039
5070
  .string()
@@ -0,0 +1,3 @@
1
+ import type { linearCreateIssueFunction } from "../../autogen/types";
2
+ declare const createIssue: linearCreateIssueFunction;
3
+ export default createIssue;
@@ -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.202",
3
+ "version": "0.2.203",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,