@credal/actions 0.2.226 → 0.2.229

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/actions/actionMapper.js +8 -1
  2. package/dist/actions/autogen/templates.d.ts +1 -0
  3. package/dist/actions/autogen/templates.js +59 -7
  4. package/dist/actions/autogen/types.d.ts +27 -0
  5. package/dist/actions/autogen/types.js +43 -7
  6. package/dist/actions/providers/github/searchRepository.js +7 -7
  7. package/dist/actions/providers/google-oauth/scheduleCalendarMeeting.js +2 -2
  8. package/dist/actions/providers/zendesk/addCommentToTicket.js +5 -3
  9. package/dist/actions/providers/zendesk/assignTicket.js +4 -2
  10. package/dist/actions/providers/zendesk/createZendeskTicket.js +8 -6
  11. package/dist/actions/providers/zendesk/getTicketDetails.js +4 -2
  12. package/dist/actions/providers/zendesk/listTickets.js +6 -6
  13. package/dist/actions/providers/zendesk/searchZendeskByQuery.js +6 -6
  14. package/dist/actions/providers/zendesk/searchZendeskTicketsByQuery.d.ts +3 -0
  15. package/dist/actions/providers/zendesk/searchZendeskTicketsByQuery.js +37 -0
  16. package/dist/actions/providers/zendesk/updateTicketStatus.js +4 -2
  17. package/dist/actions/providers/zendesk/utils/getZendeskBaseUrl.d.ts +3 -0
  18. package/dist/actions/providers/zendesk/utils/getZendeskBaseUrl.js +7 -0
  19. package/dist/actions/providers/zendesk/utils/validateSubdomain.d.ts +1 -0
  20. package/dist/actions/providers/zendesk/utils/validateSubdomain.js +6 -0
  21. package/package.json +2 -3
  22. package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
  23. package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
  24. package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
  25. package/dist/actions/providers/ashby/createCandidate.js +0 -38
  26. package/dist/actions/providers/ashby/createNote.d.ts +0 -3
  27. package/dist/actions/providers/ashby/createNote.js +0 -31
  28. package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
  29. package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
  30. package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
  31. package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
  32. package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
  33. package/dist/actions/providers/ashby/listCandidates.js +0 -30
  34. package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
  35. package/dist/actions/providers/ashby/searchCandidates.js +0 -34
  36. package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
  37. package/dist/actions/providers/ashby/updateCandidate.js +0 -56
  38. package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
  39. package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
  40. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.d.ts +0 -3
  41. package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.js +0 -41
  42. package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
  43. package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
  44. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
  45. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
  46. package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
  47. package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
  48. package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
  49. package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
  50. package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
  51. package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
  52. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
  53. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
  54. package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
  55. package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
  56. package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
  57. package/dist/actions/providers/okta/addUserToGroup.js +0 -56
  58. package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
  59. package/dist/actions/providers/okta/getOktaGroup.js +0 -73
  60. package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
  61. package/dist/actions/providers/okta/getOktaUser.js +0 -40
  62. package/dist/actions/providers/okta/listMFA.d.ts +0 -3
  63. package/dist/actions/providers/okta/listMFA.js +0 -52
  64. package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
  65. package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
  66. package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
  67. package/dist/actions/providers/okta/listOktaGroups.js +0 -92
  68. package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
  69. package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
  70. package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
  71. package/dist/actions/providers/okta/listOktaUsers.js +0 -100
  72. package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
  73. package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
  74. package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
  75. package/dist/actions/providers/okta/resetMFA.js +0 -62
  76. package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
  77. package/dist/actions/providers/okta/resetPassword.js +0 -57
  78. package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
  79. package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
  80. package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
  81. package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
@@ -1,4 +1,4 @@
1
- import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, servicenowGetRecordsByQueryOutputSchema, servicenowGetRecordsByQueryParamsSchema, servicenowGetIncidentsOutputSchema, servicenowGetIncidentsParamsSchema, servicenowGetChangeRequestsOutputSchema, servicenowGetChangeRequestsParamsSchema, servicenowGetSCTasksOutputSchema, servicenowGetSCTasksParamsSchema, servicenowGetVIPTicketsOutputSchema, servicenowGetVIPTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterCreatePageParamsSchema, confluenceDataCenterCreatePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, microsoftGetSharepointItemParamsSchema, microsoftGetSharepointItemOutputSchema, microsoftListSharepointFolderParamsSchema, microsoftListSharepointFolderOutputSchema, microsoftReadSharepointContentParamsSchema, microsoftReadSharepointContentOutputSchema, microsoftSearchSharepointParamsSchema, microsoftSearchSharepointOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, smartsheetListSheetsParamsSchema, smartsheetListSheetsOutputSchema, smartsheetGetSheetRowsParamsSchema, smartsheetGetSheetRowsOutputSchema, smartsheetAddRowToSheetParamsSchema, smartsheetAddRowToSheetOutputSchema, smartsheetUpdateRowParamsSchema, smartsheetUpdateRowOutputSchema, } 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, zendeskSearchZendeskTicketsByQueryOutputSchema, zendeskSearchZendeskTicketsByQueryParamsSchema, servicenowGetRecordsByQueryOutputSchema, servicenowGetRecordsByQueryParamsSchema, servicenowGetIncidentsOutputSchema, servicenowGetIncidentsParamsSchema, servicenowGetChangeRequestsOutputSchema, servicenowGetChangeRequestsParamsSchema, servicenowGetSCTasksOutputSchema, servicenowGetSCTasksParamsSchema, servicenowGetVIPTicketsOutputSchema, servicenowGetVIPTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterCreatePageParamsSchema, confluenceDataCenterCreatePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, microsoftGetSharepointItemParamsSchema, microsoftGetSharepointItemOutputSchema, microsoftListSharepointFolderParamsSchema, microsoftListSharepointFolderOutputSchema, microsoftReadSharepointContentParamsSchema, microsoftReadSharepointContentOutputSchema, microsoftSearchSharepointParamsSchema, microsoftSearchSharepointOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, smartsheetListSheetsParamsSchema, smartsheetListSheetsOutputSchema, smartsheetGetSheetRowsParamsSchema, smartsheetGetSheetRowsOutputSchema, smartsheetAddRowToSheetParamsSchema, smartsheetAddRowToSheetOutputSchema, smartsheetUpdateRowParamsSchema, smartsheetUpdateRowOutputSchema, } 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";
@@ -14,6 +14,7 @@ import addCommentToTicket from "./providers/zendesk/addCommentToTicket.js";
14
14
  import assignTicket from "./providers/zendesk/assignTicket.js";
15
15
  import listZendeskTickets from "./providers/zendesk/listTickets.js";
16
16
  import searchZendeskByQuery from "./providers/zendesk/searchZendeskByQuery.js";
17
+ import searchZendeskTicketsByQuery from "./providers/zendesk/searchZendeskTicketsByQuery.js";
17
18
  import getServiceNowRecordsByQuery from "./providers/servicenow/getRecordsByQuery.js";
18
19
  import getServiceNowIncidents from "./providers/servicenow/getIncidents.js";
19
20
  import getServiceNowChangeRequests from "./providers/servicenow/getChangeRequests.js";
@@ -446,6 +447,12 @@ export const ActionMapper = {
446
447
  outputSchema: zendeskSearchZendeskByQueryOutputSchema,
447
448
  actionType: "read",
448
449
  },
450
+ searchZendeskTicketsByQuery: {
451
+ fn: searchZendeskTicketsByQuery,
452
+ paramsSchema: zendeskSearchZendeskTicketsByQueryParamsSchema,
453
+ outputSchema: zendeskSearchZendeskTicketsByQueryOutputSchema,
454
+ actionType: "read",
455
+ },
449
456
  },
450
457
  servicenow: {
451
458
  getRecordsByQuery: {
@@ -72,6 +72,7 @@ export declare const zendeskUpdateTicketStatusDefinition: ActionTemplate;
72
72
  export declare const zendeskAddCommentToTicketDefinition: ActionTemplate;
73
73
  export declare const zendeskAssignTicketDefinition: ActionTemplate;
74
74
  export declare const zendeskSearchZendeskByQueryDefinition: ActionTemplate;
75
+ export declare const zendeskSearchZendeskTicketsByQueryDefinition: ActionTemplate;
75
76
  export declare const linkedinCreateShareLinkedinPostUrlDefinition: ActionTemplate;
76
77
  export declare const xCreateShareXPostUrlDefinition: ActionTemplate;
77
78
  export declare const mongoInsertMongoDocDefinition: ActionTemplate;
@@ -4418,7 +4418,8 @@ export const zendeskCreateZendeskTicketDefinition = {
4418
4418
  },
4419
4419
  subdomain: {
4420
4420
  type: "string",
4421
- description: "The subdomain of the Zendesk account",
4421
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4422
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4422
4423
  tags: ["recommend-predefined"],
4423
4424
  },
4424
4425
  groupId: {
@@ -4455,7 +4456,8 @@ export const zendeskListZendeskTicketsDefinition = {
4455
4456
  properties: {
4456
4457
  subdomain: {
4457
4458
  type: "string",
4458
- description: "The subdomain of the Zendesk account",
4459
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4460
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4459
4461
  tags: ["recommend-predefined"],
4460
4462
  },
4461
4463
  status: {
@@ -4499,7 +4501,8 @@ export const zendeskGetTicketDetailsDefinition = {
4499
4501
  },
4500
4502
  subdomain: {
4501
4503
  type: "string",
4502
- description: "The subdomain of the Zendesk account",
4504
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4505
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4503
4506
  tags: ["recommend-predefined"],
4504
4507
  },
4505
4508
  },
@@ -4532,7 +4535,8 @@ export const zendeskUpdateTicketStatusDefinition = {
4532
4535
  },
4533
4536
  subdomain: {
4534
4537
  type: "string",
4535
- description: "The subdomain of the Zendesk account",
4538
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4539
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4536
4540
  tags: ["recommend-predefined"],
4537
4541
  },
4538
4542
  status: {
@@ -4559,7 +4563,8 @@ export const zendeskAddCommentToTicketDefinition = {
4559
4563
  },
4560
4564
  subdomain: {
4561
4565
  type: "string",
4562
- description: "The subdomain of the Zendesk account",
4566
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4567
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4563
4568
  tags: ["recommend-predefined"],
4564
4569
  },
4565
4570
  body: {
@@ -4604,7 +4609,8 @@ export const zendeskAssignTicketDefinition = {
4604
4609
  },
4605
4610
  subdomain: {
4606
4611
  type: "string",
4607
- description: "The subdomain of the Zendesk account",
4612
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4613
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4608
4614
  tags: ["recommend-predefined"],
4609
4615
  },
4610
4616
  assigneeEmail: {
@@ -4627,7 +4633,8 @@ export const zendeskSearchZendeskByQueryDefinition = {
4627
4633
  properties: {
4628
4634
  subdomain: {
4629
4635
  type: "string",
4630
- description: "The subdomain of the Zendesk account",
4636
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4637
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4631
4638
  tags: ["recommend-predefined"],
4632
4639
  },
4633
4640
  query: {
@@ -4665,6 +4672,51 @@ export const zendeskSearchZendeskByQueryDefinition = {
4665
4672
  name: "searchZendeskByQuery",
4666
4673
  provider: "zendesk",
4667
4674
  };
4675
+ export const zendeskSearchZendeskTicketsByQueryDefinition = {
4676
+ displayName: "Search Zendesk tickets with a query",
4677
+ description: "Search Zendesk tickets by query with flexible filtering options. Only returns tickets, never any other type of Zendesk resource.",
4678
+ scopes: [],
4679
+ tags: [],
4680
+ parameters: {
4681
+ type: "object",
4682
+ required: ["subdomain", "query"],
4683
+ properties: {
4684
+ subdomain: {
4685
+ type: "string",
4686
+ pattern: "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$",
4687
+ description: "The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix",
4688
+ tags: ["recommend-predefined"],
4689
+ },
4690
+ query: {
4691
+ type: "string",
4692
+ description: 'Search query string that can include filters like status, priority, tags, assignee, etc. Examples - status:open, priority:high, tags:bug, assignee:user@example.com, or combination like "status:open priority:high". The search is always restricted to tickets, so any type filter in the query is ignored.',
4693
+ },
4694
+ limit: {
4695
+ type: "number",
4696
+ description: "Maximum number of tickets to return (optional, defaults to 100)",
4697
+ },
4698
+ },
4699
+ },
4700
+ output: {
4701
+ type: "object",
4702
+ required: ["results", "count"],
4703
+ properties: {
4704
+ results: {
4705
+ type: "array",
4706
+ description: "List of tickets matching the query",
4707
+ items: {
4708
+ type: "object",
4709
+ },
4710
+ },
4711
+ count: {
4712
+ type: "number",
4713
+ description: "Number of tickets found",
4714
+ },
4715
+ },
4716
+ },
4717
+ name: "searchZendeskTicketsByQuery",
4718
+ provider: "zendesk",
4719
+ };
4668
4720
  export const linkedinCreateShareLinkedinPostUrlDefinition = {
4669
4721
  displayName: "Create a share LinkedIn post URL",
4670
4722
  description: "Create a share LinkedIn post link",
@@ -83,6 +83,7 @@ export declare enum ActionName {
83
83
  ADDCOMMENTTOTICKET = "addCommentToTicket",
84
84
  ASSIGNTICKET = "assignTicket",
85
85
  SEARCHZENDESKBYQUERY = "searchZendeskByQuery",
86
+ SEARCHZENDESKTICKETSBYQUERY = "searchZendeskTicketsByQuery",
86
87
  CREATESHARELINKEDINPOSTURL = "createShareLinkedinPostUrl",
87
88
  CREATESHAREXPOSTURL = "createShareXPostUrl",
88
89
  INSERTMONGODOC = "insertMongoDoc",
@@ -4656,6 +4657,32 @@ export declare const zendeskSearchZendeskByQueryOutputSchema: z.ZodObject<{
4656
4657
  }>;
4657
4658
  export type zendeskSearchZendeskByQueryOutputType = z.infer<typeof zendeskSearchZendeskByQueryOutputSchema>;
4658
4659
  export type zendeskSearchZendeskByQueryFunction = ActionFunction<zendeskSearchZendeskByQueryParamsType, AuthParamsType, zendeskSearchZendeskByQueryOutputType>;
4660
+ export declare const zendeskSearchZendeskTicketsByQueryParamsSchema: z.ZodObject<{
4661
+ subdomain: z.ZodString;
4662
+ query: z.ZodString;
4663
+ limit: z.ZodOptional<z.ZodNumber>;
4664
+ }, "strip", z.ZodTypeAny, {
4665
+ query: string;
4666
+ subdomain: string;
4667
+ limit?: number | undefined;
4668
+ }, {
4669
+ query: string;
4670
+ subdomain: string;
4671
+ limit?: number | undefined;
4672
+ }>;
4673
+ export type zendeskSearchZendeskTicketsByQueryParamsType = z.infer<typeof zendeskSearchZendeskTicketsByQueryParamsSchema>;
4674
+ export declare const zendeskSearchZendeskTicketsByQueryOutputSchema: z.ZodObject<{
4675
+ results: z.ZodArray<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "many">;
4676
+ count: z.ZodNumber;
4677
+ }, "strip", z.ZodTypeAny, {
4678
+ results: z.objectOutputType<{}, z.ZodAny, "strip">[];
4679
+ count: number;
4680
+ }, {
4681
+ results: z.objectInputType<{}, z.ZodAny, "strip">[];
4682
+ count: number;
4683
+ }>;
4684
+ export type zendeskSearchZendeskTicketsByQueryOutputType = z.infer<typeof zendeskSearchZendeskTicketsByQueryOutputSchema>;
4685
+ export type zendeskSearchZendeskTicketsByQueryFunction = ActionFunction<zendeskSearchZendeskTicketsByQueryParamsType, AuthParamsType, zendeskSearchZendeskTicketsByQueryOutputType>;
4659
4686
  export declare const linkedinCreateShareLinkedinPostUrlParamsSchema: z.ZodObject<{
4660
4687
  text: z.ZodOptional<z.ZodString>;
4661
4688
  url: z.ZodOptional<z.ZodString>;
@@ -85,6 +85,7 @@ export var ActionName;
85
85
  ActionName["ADDCOMMENTTOTICKET"] = "addCommentToTicket";
86
86
  ActionName["ASSIGNTICKET"] = "assignTicket";
87
87
  ActionName["SEARCHZENDESKBYQUERY"] = "searchZendeskByQuery";
88
+ ActionName["SEARCHZENDESKTICKETSBYQUERY"] = "searchZendeskTicketsByQuery";
88
89
  ActionName["CREATESHARELINKEDINPOSTURL"] = "createShareLinkedinPostUrl";
89
90
  ActionName["CREATESHAREXPOSTURL"] = "createShareXPostUrl";
90
91
  ActionName["INSERTMONGODOC"] = "insertMongoDoc";
@@ -1595,7 +1596,10 @@ export const bingGetTopNSearchResultUrlsOutputSchema = z.object({
1595
1596
  export const zendeskCreateZendeskTicketParamsSchema = z.object({
1596
1597
  subject: z.string().describe("The subject of the ticket"),
1597
1598
  body: z.string().describe("The body of the ticket").optional(),
1598
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1599
+ subdomain: z
1600
+ .string()
1601
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1602
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1599
1603
  groupId: z.coerce.number().describe("The ID of the group to assign the ticket to").optional(),
1600
1604
  });
1601
1605
  export const zendeskCreateZendeskTicketOutputSchema = z.object({
@@ -1603,7 +1607,10 @@ export const zendeskCreateZendeskTicketOutputSchema = z.object({
1603
1607
  ticketUrl: z.string().describe("The URL of the ticket created").optional(),
1604
1608
  });
1605
1609
  export const zendeskListZendeskTicketsParamsSchema = z.object({
1606
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1610
+ subdomain: z
1611
+ .string()
1612
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1613
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1607
1614
  status: z.string().describe("Filter tickets by status (new, open, pending, hold, solved, closed)").optional(),
1608
1615
  });
1609
1616
  export const zendeskListZendeskTicketsOutputSchema = z.object({
@@ -1612,14 +1619,20 @@ export const zendeskListZendeskTicketsOutputSchema = z.object({
1612
1619
  });
1613
1620
  export const zendeskGetTicketDetailsParamsSchema = z.object({
1614
1621
  ticketId: z.string().describe("The ID of the ticket"),
1615
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1622
+ subdomain: z
1623
+ .string()
1624
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1625
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1616
1626
  });
1617
1627
  export const zendeskGetTicketDetailsOutputSchema = z.object({
1618
1628
  ticket: z.object({}).catchall(z.any()).describe("The details of the ticket"),
1619
1629
  });
1620
1630
  export const zendeskUpdateTicketStatusParamsSchema = z.object({
1621
1631
  ticketId: z.string().describe("The ID of the ticket to update"),
1622
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1632
+ subdomain: z
1633
+ .string()
1634
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1635
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1623
1636
  status: z
1624
1637
  .string()
1625
1638
  .describe('The state of the ticket. If your account has activated custom ticket statuses, this is the ticket\'s status category. Allowed values are "new", "open", "pending", "hold", "solved", or "closed".'),
@@ -1627,7 +1640,10 @@ export const zendeskUpdateTicketStatusParamsSchema = z.object({
1627
1640
  export const zendeskUpdateTicketStatusOutputSchema = z.void();
1628
1641
  export const zendeskAddCommentToTicketParamsSchema = z.object({
1629
1642
  ticketId: z.string().describe("The ID of the ticket to update"),
1630
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1643
+ subdomain: z
1644
+ .string()
1645
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1646
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1631
1647
  body: z.string().describe("The body of the comment"),
1632
1648
  public: z.boolean().describe("Whether the comment should be public (defaults to true)").optional(),
1633
1649
  });
@@ -1637,12 +1653,18 @@ export const zendeskAddCommentToTicketOutputSchema = z.object({
1637
1653
  });
1638
1654
  export const zendeskAssignTicketParamsSchema = z.object({
1639
1655
  ticketId: z.string().describe("The ID of the ticket to update"),
1640
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1656
+ subdomain: z
1657
+ .string()
1658
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1659
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1641
1660
  assigneeEmail: z.string().describe("The email address of the agent to assign the ticket to"),
1642
1661
  });
1643
1662
  export const zendeskAssignTicketOutputSchema = z.void();
1644
1663
  export const zendeskSearchZendeskByQueryParamsSchema = z.object({
1645
- subdomain: z.string().describe("The subdomain of the Zendesk account"),
1664
+ subdomain: z
1665
+ .string()
1666
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1667
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1646
1668
  query: z
1647
1669
  .string()
1648
1670
  .describe('Search query string that can include filters like status, priority, tags, assignee, etc. Examples - status:open, priority:high, tags:bug, assignee:user@example.com, or combination like "status:open priority:high"'),
@@ -1656,6 +1678,20 @@ export const zendeskSearchZendeskByQueryOutputSchema = z.object({
1656
1678
  results: z.array(z.object({}).catchall(z.any())).describe("List of objects matching the query"),
1657
1679
  count: z.coerce.number().describe("Number of objects found"),
1658
1680
  });
1681
+ export const zendeskSearchZendeskTicketsByQueryParamsSchema = z.object({
1682
+ subdomain: z
1683
+ .string()
1684
+ .regex(new RegExp("^[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?$"))
1685
+ .describe("The hostname-label subdomain of the Zendesk account, without a protocol, path, or .zendesk.com suffix"),
1686
+ query: z
1687
+ .string()
1688
+ .describe('Search query string that can include filters like status, priority, tags, assignee, etc. Examples - status:open, priority:high, tags:bug, assignee:user@example.com, or combination like "status:open priority:high". The search is always restricted to tickets, so any type filter in the query is ignored.'),
1689
+ limit: z.coerce.number().describe("Maximum number of tickets to return (optional, defaults to 100)").optional(),
1690
+ });
1691
+ export const zendeskSearchZendeskTicketsByQueryOutputSchema = z.object({
1692
+ results: z.array(z.object({}).catchall(z.any())).describe("List of tickets matching the query"),
1693
+ count: z.coerce.number().describe("Number of tickets found"),
1694
+ });
1659
1695
  export const linkedinCreateShareLinkedinPostUrlParamsSchema = z.object({
1660
1696
  text: z.string().describe("The text for the linkedin post").optional(),
1661
1697
  url: z.string().describe("The url for the linkedin post").optional(),
@@ -47,7 +47,7 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
47
47
  name: item.name,
48
48
  path: item.path,
49
49
  sha: item.sha.slice(0, 7),
50
- url: item.url,
50
+ url: item.html_url,
51
51
  score: item.score,
52
52
  textMatches: item.text_matches
53
53
  ? item.text_matches.map(match => {
@@ -68,7 +68,7 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
68
68
  const full = commitDetails.find(c => c.data.sha === item.sha);
69
69
  return {
70
70
  sha: item.sha,
71
- url: item.url,
71
+ url: item.html_url,
72
72
  commit: {
73
73
  message: item.commit.message,
74
74
  author: item.commit.author,
@@ -76,11 +76,11 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
76
76
  score: item.score,
77
77
  author: (_a = item.author) !== null && _a !== void 0 ? _a : undefined,
78
78
  files: ((_b = full === null || full === void 0 ? void 0 : full.data.files) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_FILES_PER_COMMIT).map(f => {
79
- var _a;
79
+ var _a, _b, _c;
80
80
  return ({
81
81
  filename: f.filename,
82
82
  status: f.status,
83
- patch: (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n").slice(0, MAX_PATCH_LINES).join("\n"),
83
+ patch: (_c = (_b = (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n")) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_PATCH_LINES)) === null || _c === void 0 ? void 0 : _c.join("\n"),
84
84
  });
85
85
  })) || [],
86
86
  };
@@ -104,18 +104,18 @@ const searchRepository = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
104
104
  const prIndex = prNumbers.indexOf(item.number);
105
105
  const files = isPR && prIndex !== -1
106
106
  ? prFiles[prIndex].data.slice(0, MAX_FILES_PER_PR).map(f => {
107
- var _a;
107
+ var _a, _b, _c;
108
108
  return ({
109
109
  filename: f.filename,
110
110
  status: f.status,
111
- patch: (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n").slice(0, MAX_PATCH_LINES).join("\n"),
111
+ patch: (_c = (_b = (_a = f.patch) === null || _a === void 0 ? void 0 : _a.split("\n")) === null || _b === void 0 ? void 0 : _b.slice(0, MAX_PATCH_LINES)) === null || _c === void 0 ? void 0 : _c.join("\n"),
112
112
  });
113
113
  })
114
114
  : undefined;
115
115
  return {
116
116
  number: item.number,
117
117
  title: item.title,
118
- html_url: item.html_url,
118
+ url: item.html_url,
119
119
  state: item.state,
120
120
  isPullRequest: isPR,
121
121
  body: item.body,
@@ -1,4 +1,4 @@
1
- import { v4 } from "uuid";
1
+ import { randomUUID } from "node:crypto";
2
2
  import { axiosClient } from "../../util/axiosClient.js";
3
3
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
4
4
  import { getDayOfWeek } from "../../../utils/datetime.js";
@@ -70,7 +70,7 @@ const scheduleCalendarMeeting = async ({ params, authParams, }) => {
70
70
  createEventApiUrl += "?conferenceDataVersion=1";
71
71
  data.conferenceData = {
72
72
  createRequest: {
73
- requestId: v4(),
73
+ requestId: randomUUID(),
74
74
  },
75
75
  };
76
76
  }
@@ -1,16 +1,18 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const addCommentToTicket = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, ticketId, body, public: isPublic } = params;
6
- const url = `https://${subdomain}.zendesk.com/api/v2/tickets/${ticketId}.json`;
7
7
  if (!authToken) {
8
8
  throw new Error(MISSING_AUTH_TOKEN);
9
9
  }
10
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
11
+ const apiEndpoint = new URL(`/api/v2/tickets/${ticketId}.json`, zendeskBaseUrl);
10
12
  const axiosClient = createAxiosClientWithRetries({ timeout: 20000, retryCount: 5 });
11
13
  try {
12
14
  await axiosClient.request({
13
- url: url,
15
+ url: apiEndpoint.toString(),
14
16
  method: "PUT",
15
17
  headers: {
16
18
  "Content-Type": "application/json",
@@ -27,7 +29,7 @@ const addCommentToTicket = async ({ params, authParams, }) => {
27
29
  });
28
30
  return {
29
31
  success: true,
30
- ticketUrl: `https://${subdomain}.zendesk.com/agent/tickets/${ticketId}`,
32
+ ticketUrl: new URL(`/agent/tickets/${ticketId}`, zendeskBaseUrl).toString(),
31
33
  };
32
34
  }
33
35
  catch (error) {
@@ -1,15 +1,17 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const updateTicketStatus = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, ticketId, assigneeEmail } = params;
6
- const url = `https://${subdomain}.zendesk.com/api/v2/tickets/${ticketId}.json`;
7
7
  if (!authToken) {
8
8
  throw new Error(MISSING_AUTH_TOKEN);
9
9
  }
10
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
11
+ const apiEndpoint = new URL(`/api/v2/tickets/${ticketId}.json`, zendeskBaseUrl);
10
12
  const axiosClient = createAxiosClientWithRetries({ timeout: 10000, retryCount: 4 });
11
13
  await axiosClient.request({
12
- url: url,
14
+ url: apiEndpoint.toString(),
13
15
  method: "PUT",
14
16
  headers: {
15
17
  "Content-Type": "application/json",
@@ -1,9 +1,14 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const createZendeskTicket = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, subject, body, groupId } = params;
6
- const url = `https://${subdomain}.zendesk.com/api/v2/tickets.json`;
7
+ if (!authToken) {
8
+ throw new Error(MISSING_AUTH_TOKEN);
9
+ }
10
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
11
+ const apiEndpoint = new URL("/api/v2/tickets.json", zendeskBaseUrl);
7
12
  const payload = {
8
13
  ticket: {
9
14
  subject,
@@ -13,11 +18,8 @@ const createZendeskTicket = async ({ params, authParams, }) => {
13
18
  group_id: groupId,
14
19
  },
15
20
  };
16
- if (!authToken) {
17
- throw new Error(MISSING_AUTH_TOKEN);
18
- }
19
21
  const axiosClient = createAxiosClientWithRetries({ timeout: 10000, retryCount: 4 });
20
- const response = await axiosClient.post(url, payload, {
22
+ const response = await axiosClient.post(apiEndpoint.toString(), payload, {
21
23
  headers: {
22
24
  "Content-Type": "application/json",
23
25
  Authorization: `Bearer ${authToken}`,
@@ -25,7 +27,7 @@ const createZendeskTicket = async ({ params, authParams, }) => {
25
27
  });
26
28
  return {
27
29
  ticketId: response.data.ticket.id,
28
- ticketUrl: `https://${subdomain}.zendesk.com/requests/${response.data.ticket.id}`,
30
+ ticketUrl: new URL(`/requests/${response.data.ticket.id}`, zendeskBaseUrl).toString(),
29
31
  };
30
32
  };
31
33
  export default createZendeskTicket;
@@ -1,15 +1,17 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const getZendeskTicketDetails = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, ticketId } = params;
6
- const url = `https://${subdomain}.zendesk.com/api/v2/tickets/${ticketId}.json`;
7
7
  if (!authToken) {
8
8
  throw new Error(MISSING_AUTH_TOKEN);
9
9
  }
10
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
11
+ const apiEndpoint = new URL(`/api/v2/tickets/${ticketId}.json`, zendeskBaseUrl);
10
12
  const axiosClient = createAxiosClientWithRetries({ timeout: 10000, retryCount: 4 });
11
13
  const response = await axiosClient.request({
12
- url: url,
14
+ url: apiEndpoint.toString(),
13
15
  method: "GET",
14
16
  headers: {
15
17
  "Content-Type": "application/json",
@@ -1,5 +1,6 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const listZendeskTickets = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, status } = params;
@@ -7,19 +8,18 @@ const listZendeskTickets = async ({ params, authParams, }) => {
7
8
  const threeMonthsAgo = new Date();
8
9
  threeMonthsAgo.setMonth(threeMonthsAgo.getMonth() - 3);
9
10
  const formattedDate = threeMonthsAgo.toISOString().split("T")[0];
10
- // Endpoint for getting tickets
11
- const url = `https://${subdomain}.zendesk.com/api/v2/tickets.json`;
12
11
  if (!authToken) {
13
12
  throw new Error(MISSING_AUTH_TOKEN);
14
13
  }
14
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
15
+ const apiEndpoint = new URL("/api/v2/tickets.json", zendeskBaseUrl);
15
16
  const axiosClient = createAxiosClientWithRetries({ timeout: 10000, retryCount: 4 });
16
17
  // Add query parameters for filtering
17
- const queryParams = new URLSearchParams();
18
- queryParams.append("created_after", formattedDate);
18
+ apiEndpoint.searchParams.set("created_after", formattedDate);
19
19
  if (status) {
20
- queryParams.append("status", status);
20
+ apiEndpoint.searchParams.set("status", status);
21
21
  }
22
- const response = await axiosClient.get(`${url}?${queryParams.toString()}`, {
22
+ const response = await axiosClient.get(apiEndpoint.toString(), {
23
23
  headers: {
24
24
  "Content-Type": "application/json",
25
25
  Authorization: `Bearer ${authToken}`,
@@ -1,19 +1,19 @@
1
1
  import { createAxiosClientWithRetries } from "../../util/axiosClient.js";
2
2
  import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
3
+ import { getZendeskBaseUrl } from "./utils/getZendeskBaseUrl.js";
3
4
  const searchZendeskByQuery = async ({ params, authParams, }) => {
4
5
  const { authToken } = authParams;
5
6
  const { subdomain, query, objectType = "ticket", limit = 100 } = params;
6
- // Endpoint for searching Zendesk objects
7
- const url = `https://${subdomain}.zendesk.com/api/v2/search.json`;
8
7
  if (!authToken) {
9
8
  throw new Error(MISSING_AUTH_TOKEN);
10
9
  }
10
+ const zendeskBaseUrl = getZendeskBaseUrl({ subdomain });
11
+ const apiEndpoint = new URL("/api/v2/search.json", zendeskBaseUrl);
11
12
  const axiosClient = createAxiosClientWithRetries({ timeout: 10000, retryCount: 4 });
12
13
  // Build search query parameters
13
- const queryParams = new URLSearchParams();
14
- queryParams.append("query", `type:${objectType} ${query}`);
15
- queryParams.append("per_page", limit.toString());
16
- const response = await axiosClient.get(`${url}?${queryParams.toString()}`, {
14
+ apiEndpoint.searchParams.set("query", `type:${objectType} ${query}`);
15
+ apiEndpoint.searchParams.set("per_page", limit.toString());
16
+ const response = await axiosClient.get(apiEndpoint.toString(), {
17
17
  headers: {
18
18
  "Content-Type": "application/json",
19
19
  Authorization: `Bearer ${authToken}`,
@@ -0,0 +1,3 @@
1
+ import type { zendeskSearchZendeskTicketsByQueryFunction } from "../../autogen/types.js";
2
+ declare const searchZendeskTicketsByQuery: zendeskSearchZendeskTicketsByQueryFunction;
3
+ export default searchZendeskTicketsByQuery;