@credal/actions 0.2.218 → 0.2.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actionMapper.js +10 -3
- package/dist/actions/autogen/templates.d.ts +1 -0
- package/dist/actions/autogen/templates.js +69 -29
- package/dist/actions/autogen/types.d.ts +48 -21
- package/dist/actions/autogen/types.js +33 -29
- package/dist/actions/providers/confluenceDataCenter/createPage.d.ts +3 -0
- package/dist/actions/providers/confluenceDataCenter/createPage.js +40 -0
- package/dist/actions/providers/github/searchRepository.js +7 -7
- package/dist/actions/providers/jira/getJiraDCIssuesByQuery.d.ts +2 -7
- package/dist/actions/providers/jira/getJiraDCIssuesByQuery.js +5 -18
- package/dist/actions/providers/jira/getJiraIssuesByQuery.js +14 -15
- package/package.json +1 -1
- package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
- package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
- package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/createCandidate.js +0 -38
- package/dist/actions/providers/ashby/createNote.d.ts +0 -3
- package/dist/actions/providers/ashby/createNote.js +0 -31
- package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
- package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
- package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
- package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidates.js +0 -30
- package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/searchCandidates.js +0 -34
- package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/updateCandidate.js +0 -56
- package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
- package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
- package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.d.ts +0 -3
- package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.js +0 -41
- package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
- package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
- package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
- package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
- package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
- package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
- package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
- package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
- package/dist/actions/providers/okta/addUserToGroup.js +0 -56
- package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaGroup.js +0 -73
- package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaUser.js +0 -40
- package/dist/actions/providers/okta/listMFA.d.ts +0 -3
- package/dist/actions/providers/okta/listMFA.js +0 -52
- package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
- package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroups.js +0 -92
- package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
- package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUsers.js +0 -100
- package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
- package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
- package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
- package/dist/actions/providers/okta/resetMFA.js +0 -62
- package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
- package/dist/actions/providers/okta/resetPassword.js +0 -57
- package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
- package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
|
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, 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, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
|
|
2
2
|
import validateAddress from "./providers/googlemaps/validateAddress.js";
|
|
3
3
|
import add from "./providers/math/add.js";
|
|
4
4
|
import fillTemplate from "./providers/generic/fillTemplate.js";
|
|
@@ -43,6 +43,7 @@ import getBasicFinancials from "./providers/finnhub/getBasicFinancials.js";
|
|
|
43
43
|
import confluenceOverwritePage from "./providers/confluence/overwritePage.js";
|
|
44
44
|
import confluenceFetchPageContent from "./providers/confluence/fetchPageContent.js";
|
|
45
45
|
import confluenceDataCenterOverwritePage from "./providers/confluenceDataCenter/overwritePage.js";
|
|
46
|
+
import confluenceDataCenterCreatePage from "./providers/confluenceDataCenter/createPage.js";
|
|
46
47
|
import confluenceDataCenterFetchPageContent from "./providers/confluenceDataCenter/fetchPageContent.js";
|
|
47
48
|
import runSnowflakeQuery from "./providers/snowflake/runSnowflakeQuery.js";
|
|
48
49
|
import enableUserByEmail from "./providers/looker/enableUserByEmail.js";
|
|
@@ -357,6 +358,12 @@ export const ActionMapper = {
|
|
|
357
358
|
outputSchema: confluenceDataCenterOverwritePageOutputSchema,
|
|
358
359
|
actionType: "write",
|
|
359
360
|
},
|
|
361
|
+
createPage: {
|
|
362
|
+
fn: confluenceDataCenterCreatePage,
|
|
363
|
+
paramsSchema: confluenceDataCenterCreatePageParamsSchema,
|
|
364
|
+
outputSchema: confluenceDataCenterCreatePageOutputSchema,
|
|
365
|
+
actionType: "write",
|
|
366
|
+
},
|
|
360
367
|
fetchPageContent: {
|
|
361
368
|
fn: confluenceDataCenterFetchPageContent,
|
|
362
369
|
paramsSchema: confluenceDataCenterFetchPageContentParamsSchema,
|
|
@@ -462,8 +469,8 @@ export const ActionMapper = {
|
|
|
462
469
|
// Exclude Service Desk: createServiceDeskRequest, publicCommentOnServiceDeskRequest
|
|
463
470
|
getJiraIssuesByQuery: {
|
|
464
471
|
fn: getJiraDCIssuesByQuery,
|
|
465
|
-
paramsSchema:
|
|
466
|
-
outputSchema:
|
|
472
|
+
paramsSchema: jiraDataCenterGetJiraIssuesByQueryParamsSchema,
|
|
473
|
+
outputSchema: jiraDataCenterGetJiraIssuesByQueryOutputSchema,
|
|
467
474
|
actionType: "read",
|
|
468
475
|
},
|
|
469
476
|
assignJiraTicket: {
|
|
@@ -18,6 +18,7 @@ export declare const mathAddDefinition: ActionTemplate;
|
|
|
18
18
|
export declare const confluenceOverwritePageDefinition: ActionTemplate;
|
|
19
19
|
export declare const confluenceFetchPageContentDefinition: ActionTemplate;
|
|
20
20
|
export declare const confluenceDataCenterOverwritePageDefinition: ActionTemplate;
|
|
21
|
+
export declare const confluenceDataCenterCreatePageDefinition: ActionTemplate;
|
|
21
22
|
export declare const confluenceDataCenterFetchPageContentDefinition: ActionTemplate;
|
|
22
23
|
export declare const jiraAssignJiraTicketDefinition: ActionTemplate;
|
|
23
24
|
export declare const jiraPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
|
|
@@ -1398,6 +1398,58 @@ export const confluenceDataCenterOverwritePageDefinition = {
|
|
|
1398
1398
|
name: "overwritePage",
|
|
1399
1399
|
provider: "confluenceDataCenter",
|
|
1400
1400
|
};
|
|
1401
|
+
export const confluenceDataCenterCreatePageDefinition = {
|
|
1402
|
+
displayName: "Create a page",
|
|
1403
|
+
description: "Creates a new Confluence Data Center page in the specified space with the given content",
|
|
1404
|
+
scopes: [],
|
|
1405
|
+
tags: [],
|
|
1406
|
+
parameters: {
|
|
1407
|
+
type: "object",
|
|
1408
|
+
required: ["spaceKey", "title", "content"],
|
|
1409
|
+
properties: {
|
|
1410
|
+
spaceKey: {
|
|
1411
|
+
type: "string",
|
|
1412
|
+
description: "The key of the Confluence space to create the page in",
|
|
1413
|
+
},
|
|
1414
|
+
title: {
|
|
1415
|
+
type: "string",
|
|
1416
|
+
description: "The title of the page to create",
|
|
1417
|
+
},
|
|
1418
|
+
content: {
|
|
1419
|
+
type: "string",
|
|
1420
|
+
description: "The content of the page in Confluence storage format (XHTML-based markup)",
|
|
1421
|
+
},
|
|
1422
|
+
parentId: {
|
|
1423
|
+
type: "string",
|
|
1424
|
+
description: "Optional ID of the parent page; if provided, the new page will be created as a child of this page",
|
|
1425
|
+
},
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
output: {
|
|
1429
|
+
type: "object",
|
|
1430
|
+
required: ["success"],
|
|
1431
|
+
properties: {
|
|
1432
|
+
success: {
|
|
1433
|
+
type: "boolean",
|
|
1434
|
+
description: "Whether the page was successfully created",
|
|
1435
|
+
},
|
|
1436
|
+
error: {
|
|
1437
|
+
type: "string",
|
|
1438
|
+
description: "The error that occurred if the page was not successfully created",
|
|
1439
|
+
},
|
|
1440
|
+
pageId: {
|
|
1441
|
+
type: "string",
|
|
1442
|
+
description: "The ID of the newly created page",
|
|
1443
|
+
},
|
|
1444
|
+
pageUrl: {
|
|
1445
|
+
type: "string",
|
|
1446
|
+
description: "The URL of the newly created page",
|
|
1447
|
+
},
|
|
1448
|
+
},
|
|
1449
|
+
},
|
|
1450
|
+
name: "createPage",
|
|
1451
|
+
provider: "confluenceDataCenter",
|
|
1452
|
+
};
|
|
1401
1453
|
export const confluenceDataCenterFetchPageContentDefinition = {
|
|
1402
1454
|
displayName: "Fetch page content",
|
|
1403
1455
|
description: "Fetches content from a Confluence page",
|
|
@@ -2018,11 +2070,11 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
2018
2070
|
},
|
|
2019
2071
|
limit: {
|
|
2020
2072
|
type: "number",
|
|
2021
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
2073
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
2022
2074
|
},
|
|
2023
|
-
|
|
2024
|
-
type: "
|
|
2025
|
-
description: "
|
|
2075
|
+
nextPageToken: {
|
|
2076
|
+
type: "string",
|
|
2077
|
+
description: "Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.",
|
|
2026
2078
|
},
|
|
2027
2079
|
},
|
|
2028
2080
|
},
|
|
@@ -2031,11 +2083,11 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
2031
2083
|
properties: {
|
|
2032
2084
|
itemsReturned: {
|
|
2033
2085
|
type: "number",
|
|
2034
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
2086
|
+
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.",
|
|
2035
2087
|
},
|
|
2036
|
-
|
|
2037
|
-
type: "
|
|
2038
|
-
description: "
|
|
2088
|
+
nextPageToken: {
|
|
2089
|
+
type: "string",
|
|
2090
|
+
description: "Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.",
|
|
2039
2091
|
},
|
|
2040
2092
|
results: {
|
|
2041
2093
|
type: "array",
|
|
@@ -2886,11 +2938,11 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2886
2938
|
},
|
|
2887
2939
|
limit: {
|
|
2888
2940
|
type: "number",
|
|
2889
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
2941
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
2890
2942
|
},
|
|
2891
|
-
|
|
2892
|
-
type: "
|
|
2893
|
-
description: "
|
|
2943
|
+
nextPageToken: {
|
|
2944
|
+
type: "string",
|
|
2945
|
+
description: "Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.",
|
|
2894
2946
|
},
|
|
2895
2947
|
},
|
|
2896
2948
|
},
|
|
@@ -2899,11 +2951,11 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
2899
2951
|
properties: {
|
|
2900
2952
|
itemsReturned: {
|
|
2901
2953
|
type: "number",
|
|
2902
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
2954
|
+
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.",
|
|
2903
2955
|
},
|
|
2904
|
-
|
|
2905
|
-
type: "
|
|
2906
|
-
description: "
|
|
2956
|
+
nextPageToken: {
|
|
2957
|
+
type: "string",
|
|
2958
|
+
description: "Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.",
|
|
2907
2959
|
},
|
|
2908
2960
|
results: {
|
|
2909
2961
|
type: "array",
|
|
@@ -3754,25 +3806,13 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
|
|
|
3754
3806
|
},
|
|
3755
3807
|
limit: {
|
|
3756
3808
|
type: "number",
|
|
3757
|
-
description: "The maximum number of records to retrieve per call (page size). Defaults to 100.",
|
|
3758
|
-
},
|
|
3759
|
-
startAt: {
|
|
3760
|
-
type: "number",
|
|
3761
|
-
description: "Offset of the first result to return. Defaults to 0. To page through results: count the number of results you can actually read in the response and pass currentStartAt + countOfResultsRead as the next startAt. Do not blindly use itemsReturned to advance — the response may be truncated by the system after this action returns, meaning you may see fewer results than itemsReturned reports.",
|
|
3809
|
+
description: "The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.",
|
|
3762
3810
|
},
|
|
3763
3811
|
},
|
|
3764
3812
|
},
|
|
3765
3813
|
output: {
|
|
3766
3814
|
type: "object",
|
|
3767
3815
|
properties: {
|
|
3768
|
-
itemsReturned: {
|
|
3769
|
-
type: "number",
|
|
3770
|
-
description: "Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number. Always count the results you can actually read and use currentStartAt + countOfResultsRead as the next startAt, not currentStartAt + itemsReturned.",
|
|
3771
|
-
},
|
|
3772
|
-
truncated: {
|
|
3773
|
-
type: "boolean",
|
|
3774
|
-
description: "True when more results exist beyond this batch. Call again with startAt set to currentStartAt + countOfResultsRead (the number of results you actually received in this response).",
|
|
3775
|
-
},
|
|
3776
3816
|
results: {
|
|
3777
3817
|
type: "array",
|
|
3778
3818
|
description: "The results of the Jira issues",
|
|
@@ -56,6 +56,7 @@ export declare enum ActionName {
|
|
|
56
56
|
ADD = "add",
|
|
57
57
|
OVERWRITEPAGE = "overwritePage",
|
|
58
58
|
FETCHPAGECONTENT = "fetchPageContent",
|
|
59
|
+
CREATEPAGE = "createPage",
|
|
59
60
|
ASSIGNJIRATICKET = "assignJiraTicket",
|
|
60
61
|
PUBLICCOMMENTONSERVICEDESKREQUEST = "publicCommentOnServiceDeskRequest",
|
|
61
62
|
COMMENTJIRATICKET = "commentJiraTicket",
|
|
@@ -1603,6 +1604,41 @@ export declare const confluenceDataCenterOverwritePageOutputSchema: z.ZodObject<
|
|
|
1603
1604
|
}>;
|
|
1604
1605
|
export type confluenceDataCenterOverwritePageOutputType = z.infer<typeof confluenceDataCenterOverwritePageOutputSchema>;
|
|
1605
1606
|
export type confluenceDataCenterOverwritePageFunction = ActionFunction<confluenceDataCenterOverwritePageParamsType, AuthParamsType, confluenceDataCenterOverwritePageOutputType>;
|
|
1607
|
+
export declare const confluenceDataCenterCreatePageParamsSchema: z.ZodObject<{
|
|
1608
|
+
spaceKey: z.ZodString;
|
|
1609
|
+
title: z.ZodString;
|
|
1610
|
+
content: z.ZodString;
|
|
1611
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
content: string;
|
|
1614
|
+
title: string;
|
|
1615
|
+
spaceKey: string;
|
|
1616
|
+
parentId?: string | undefined;
|
|
1617
|
+
}, {
|
|
1618
|
+
content: string;
|
|
1619
|
+
title: string;
|
|
1620
|
+
spaceKey: string;
|
|
1621
|
+
parentId?: string | undefined;
|
|
1622
|
+
}>;
|
|
1623
|
+
export type confluenceDataCenterCreatePageParamsType = z.infer<typeof confluenceDataCenterCreatePageParamsSchema>;
|
|
1624
|
+
export declare const confluenceDataCenterCreatePageOutputSchema: z.ZodObject<{
|
|
1625
|
+
success: z.ZodBoolean;
|
|
1626
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
pageId: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
pageUrl: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
|
+
success: boolean;
|
|
1631
|
+
error?: string | undefined;
|
|
1632
|
+
pageId?: string | undefined;
|
|
1633
|
+
pageUrl?: string | undefined;
|
|
1634
|
+
}, {
|
|
1635
|
+
success: boolean;
|
|
1636
|
+
error?: string | undefined;
|
|
1637
|
+
pageId?: string | undefined;
|
|
1638
|
+
pageUrl?: string | undefined;
|
|
1639
|
+
}>;
|
|
1640
|
+
export type confluenceDataCenterCreatePageOutputType = z.infer<typeof confluenceDataCenterCreatePageOutputSchema>;
|
|
1641
|
+
export type confluenceDataCenterCreatePageFunction = ActionFunction<confluenceDataCenterCreatePageParamsType, AuthParamsType, confluenceDataCenterCreatePageOutputType>;
|
|
1606
1642
|
export declare const confluenceDataCenterFetchPageContentParamsSchema: z.ZodObject<{
|
|
1607
1643
|
pageId: z.ZodString;
|
|
1608
1644
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2029,20 +2065,20 @@ export type jiraUpdateJiraTicketStatusFunction = ActionFunction<jiraUpdateJiraTi
|
|
|
2029
2065
|
export declare const jiraGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
2030
2066
|
query: z.ZodString;
|
|
2031
2067
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2032
|
-
|
|
2068
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2033
2069
|
}, "strip", z.ZodTypeAny, {
|
|
2034
2070
|
query: string;
|
|
2035
2071
|
limit?: number | undefined;
|
|
2036
|
-
|
|
2072
|
+
nextPageToken?: string | undefined;
|
|
2037
2073
|
}, {
|
|
2038
2074
|
query: string;
|
|
2039
2075
|
limit?: number | undefined;
|
|
2040
|
-
|
|
2076
|
+
nextPageToken?: string | undefined;
|
|
2041
2077
|
}>;
|
|
2042
2078
|
export type jiraGetJiraIssuesByQueryParamsType = z.infer<typeof jiraGetJiraIssuesByQueryParamsSchema>;
|
|
2043
2079
|
export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
2044
2080
|
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
2045
|
-
|
|
2081
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2046
2082
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2047
2083
|
name: z.ZodString;
|
|
2048
2084
|
url: z.ZodString;
|
|
@@ -2344,8 +2380,8 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2344
2380
|
resolution?: string | null | undefined;
|
|
2345
2381
|
};
|
|
2346
2382
|
}[] | undefined;
|
|
2383
|
+
nextPageToken?: string | undefined;
|
|
2347
2384
|
itemsReturned?: number | undefined;
|
|
2348
|
-
truncated?: boolean | undefined;
|
|
2349
2385
|
}, {
|
|
2350
2386
|
error?: string | undefined;
|
|
2351
2387
|
results?: {
|
|
@@ -2392,8 +2428,8 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
2392
2428
|
resolution?: string | null | undefined;
|
|
2393
2429
|
};
|
|
2394
2430
|
}[] | undefined;
|
|
2431
|
+
nextPageToken?: string | undefined;
|
|
2395
2432
|
itemsReturned?: number | undefined;
|
|
2396
|
-
truncated?: boolean | undefined;
|
|
2397
2433
|
}>;
|
|
2398
2434
|
export type jiraGetJiraIssuesByQueryOutputType = z.infer<typeof jiraGetJiraIssuesByQueryOutputSchema>;
|
|
2399
2435
|
export type jiraGetJiraIssuesByQueryFunction = ActionFunction<jiraGetJiraIssuesByQueryParamsType, AuthParamsType, jiraGetJiraIssuesByQueryOutputType>;
|
|
@@ -2847,20 +2883,20 @@ export type jiraOrgUpdateJiraTicketStatusFunction = ActionFunction<jiraOrgUpdate
|
|
|
2847
2883
|
export declare const jiraOrgGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
2848
2884
|
query: z.ZodString;
|
|
2849
2885
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2850
|
-
|
|
2886
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2851
2887
|
}, "strip", z.ZodTypeAny, {
|
|
2852
2888
|
query: string;
|
|
2853
2889
|
limit?: number | undefined;
|
|
2854
|
-
|
|
2890
|
+
nextPageToken?: string | undefined;
|
|
2855
2891
|
}, {
|
|
2856
2892
|
query: string;
|
|
2857
2893
|
limit?: number | undefined;
|
|
2858
|
-
|
|
2894
|
+
nextPageToken?: string | undefined;
|
|
2859
2895
|
}>;
|
|
2860
2896
|
export type jiraOrgGetJiraIssuesByQueryParamsType = z.infer<typeof jiraOrgGetJiraIssuesByQueryParamsSchema>;
|
|
2861
2897
|
export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
2862
2898
|
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
2863
|
-
|
|
2899
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
2864
2900
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2865
2901
|
name: z.ZodString;
|
|
2866
2902
|
url: z.ZodString;
|
|
@@ -3162,8 +3198,8 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
3162
3198
|
resolution?: string | null | undefined;
|
|
3163
3199
|
};
|
|
3164
3200
|
}[] | undefined;
|
|
3201
|
+
nextPageToken?: string | undefined;
|
|
3165
3202
|
itemsReturned?: number | undefined;
|
|
3166
|
-
truncated?: boolean | undefined;
|
|
3167
3203
|
}, {
|
|
3168
3204
|
error?: string | undefined;
|
|
3169
3205
|
results?: {
|
|
@@ -3210,8 +3246,8 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
|
3210
3246
|
resolution?: string | null | undefined;
|
|
3211
3247
|
};
|
|
3212
3248
|
}[] | undefined;
|
|
3249
|
+
nextPageToken?: string | undefined;
|
|
3213
3250
|
itemsReturned?: number | undefined;
|
|
3214
|
-
truncated?: boolean | undefined;
|
|
3215
3251
|
}>;
|
|
3216
3252
|
export type jiraOrgGetJiraIssuesByQueryOutputType = z.infer<typeof jiraOrgGetJiraIssuesByQueryOutputSchema>;
|
|
3217
3253
|
export type jiraOrgGetJiraIssuesByQueryFunction = ActionFunction<jiraOrgGetJiraIssuesByQueryParamsType, AuthParamsType, jiraOrgGetJiraIssuesByQueryOutputType>;
|
|
@@ -3665,20 +3701,15 @@ export type jiraDataCenterUpdateJiraTicketStatusFunction = ActionFunction<jiraDa
|
|
|
3665
3701
|
export declare const jiraDataCenterGetJiraIssuesByQueryParamsSchema: z.ZodObject<{
|
|
3666
3702
|
query: z.ZodString;
|
|
3667
3703
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3668
|
-
startAt: z.ZodOptional<z.ZodNumber>;
|
|
3669
3704
|
}, "strip", z.ZodTypeAny, {
|
|
3670
3705
|
query: string;
|
|
3671
3706
|
limit?: number | undefined;
|
|
3672
|
-
startAt?: number | undefined;
|
|
3673
3707
|
}, {
|
|
3674
3708
|
query: string;
|
|
3675
3709
|
limit?: number | undefined;
|
|
3676
|
-
startAt?: number | undefined;
|
|
3677
3710
|
}>;
|
|
3678
3711
|
export type jiraDataCenterGetJiraIssuesByQueryParamsType = z.infer<typeof jiraDataCenterGetJiraIssuesByQueryParamsSchema>;
|
|
3679
3712
|
export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
|
|
3680
|
-
itemsReturned: z.ZodOptional<z.ZodNumber>;
|
|
3681
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3682
3713
|
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3683
3714
|
name: z.ZodString;
|
|
3684
3715
|
url: z.ZodString;
|
|
@@ -3980,8 +4011,6 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
3980
4011
|
resolution?: string | null | undefined;
|
|
3981
4012
|
};
|
|
3982
4013
|
}[] | undefined;
|
|
3983
|
-
itemsReturned?: number | undefined;
|
|
3984
|
-
truncated?: boolean | undefined;
|
|
3985
4014
|
}, {
|
|
3986
4015
|
error?: string | undefined;
|
|
3987
4016
|
results?: {
|
|
@@ -4028,8 +4057,6 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
|
|
|
4028
4057
|
resolution?: string | null | undefined;
|
|
4029
4058
|
};
|
|
4030
4059
|
}[] | undefined;
|
|
4031
|
-
itemsReturned?: number | undefined;
|
|
4032
|
-
truncated?: boolean | undefined;
|
|
4033
4060
|
}>;
|
|
4034
4061
|
export type jiraDataCenterGetJiraIssuesByQueryOutputType = z.infer<typeof jiraDataCenterGetJiraIssuesByQueryOutputSchema>;
|
|
4035
4062
|
export type jiraDataCenterGetJiraIssuesByQueryFunction = ActionFunction<jiraDataCenterGetJiraIssuesByQueryParamsType, AuthParamsType, jiraDataCenterGetJiraIssuesByQueryOutputType>;
|
|
@@ -58,6 +58,7 @@ export var ActionName;
|
|
|
58
58
|
ActionName["ADD"] = "add";
|
|
59
59
|
ActionName["OVERWRITEPAGE"] = "overwritePage";
|
|
60
60
|
ActionName["FETCHPAGECONTENT"] = "fetchPageContent";
|
|
61
|
+
ActionName["CREATEPAGE"] = "createPage";
|
|
61
62
|
ActionName["ASSIGNJIRATICKET"] = "assignJiraTicket";
|
|
62
63
|
ActionName["PUBLICCOMMENTONSERVICEDESKREQUEST"] = "publicCommentOnServiceDeskRequest";
|
|
63
64
|
ActionName["COMMENTJIRATICKET"] = "commentJiraTicket";
|
|
@@ -655,6 +656,21 @@ export const confluenceDataCenterOverwritePageOutputSchema = z.object({
|
|
|
655
656
|
success: z.boolean().describe("Whether the page was successfully updated"),
|
|
656
657
|
error: z.string().describe("The error that occurred if the page was not successfully updated").optional(),
|
|
657
658
|
});
|
|
659
|
+
export const confluenceDataCenterCreatePageParamsSchema = z.object({
|
|
660
|
+
spaceKey: z.string().describe("The key of the Confluence space to create the page in"),
|
|
661
|
+
title: z.string().describe("The title of the page to create"),
|
|
662
|
+
content: z.string().describe("The content of the page in Confluence storage format (XHTML-based markup)"),
|
|
663
|
+
parentId: z
|
|
664
|
+
.string()
|
|
665
|
+
.describe("Optional ID of the parent page; if provided, the new page will be created as a child of this page")
|
|
666
|
+
.optional(),
|
|
667
|
+
});
|
|
668
|
+
export const confluenceDataCenterCreatePageOutputSchema = z.object({
|
|
669
|
+
success: z.boolean().describe("Whether the page was successfully created"),
|
|
670
|
+
error: z.string().describe("The error that occurred if the page was not successfully created").optional(),
|
|
671
|
+
pageId: z.string().describe("The ID of the newly created page").optional(),
|
|
672
|
+
pageUrl: z.string().describe("The URL of the newly created page").optional(),
|
|
673
|
+
});
|
|
658
674
|
export const confluenceDataCenterFetchPageContentParamsSchema = z.object({
|
|
659
675
|
pageId: z.string().describe("The ID of the page to fetch content from"),
|
|
660
676
|
});
|
|
@@ -823,21 +839,21 @@ export const jiraGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
823
839
|
query: z.string().describe("The JQL query to execute"),
|
|
824
840
|
limit: z.coerce
|
|
825
841
|
.number()
|
|
826
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
842
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
827
843
|
.optional(),
|
|
828
|
-
|
|
829
|
-
.
|
|
830
|
-
.describe("
|
|
844
|
+
nextPageToken: z
|
|
845
|
+
.string()
|
|
846
|
+
.describe("Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.")
|
|
831
847
|
.optional(),
|
|
832
848
|
});
|
|
833
849
|
export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
|
|
834
850
|
itemsReturned: z.coerce
|
|
835
851
|
.number()
|
|
836
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
852
|
+
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.")
|
|
837
853
|
.optional(),
|
|
838
|
-
|
|
839
|
-
.
|
|
840
|
-
.describe("
|
|
854
|
+
nextPageToken: z
|
|
855
|
+
.string()
|
|
856
|
+
.describe("Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.")
|
|
841
857
|
.optional(),
|
|
842
858
|
results: z
|
|
843
859
|
.array(z.object({
|
|
@@ -1090,21 +1106,21 @@ export const jiraOrgGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
1090
1106
|
query: z.string().describe("The JQL query to execute"),
|
|
1091
1107
|
limit: z.coerce
|
|
1092
1108
|
.number()
|
|
1093
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
1109
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
1094
1110
|
.optional(),
|
|
1095
|
-
|
|
1096
|
-
.
|
|
1097
|
-
.describe("
|
|
1111
|
+
nextPageToken: z
|
|
1112
|
+
.string()
|
|
1113
|
+
.describe("Cursor token returned by the previous response. Pass this to fetch the next page. Omit on the first call. If the system truncates your results (i.e. you receive fewer items than itemsReturned indicates), reduce the limit and retry the same page without advancing the cursor — only move to the next page once you receive a complete, untruncated response.")
|
|
1098
1114
|
.optional(),
|
|
1099
1115
|
});
|
|
1100
1116
|
export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
|
|
1101
1117
|
itemsReturned: z.coerce
|
|
1102
1118
|
.number()
|
|
1103
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.
|
|
1119
|
+
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number.")
|
|
1104
1120
|
.optional(),
|
|
1105
|
-
|
|
1106
|
-
.
|
|
1107
|
-
.describe("
|
|
1121
|
+
nextPageToken: z
|
|
1122
|
+
.string()
|
|
1123
|
+
.describe("Cursor token for the next page. Pass this as nextPageToken in the next call. Absent when there are no more results.")
|
|
1108
1124
|
.optional(),
|
|
1109
1125
|
results: z
|
|
1110
1126
|
.array(z.object({
|
|
@@ -1357,22 +1373,10 @@ export const jiraDataCenterGetJiraIssuesByQueryParamsSchema = z.object({
|
|
|
1357
1373
|
query: z.string().describe("The JQL query to execute"),
|
|
1358
1374
|
limit: z.coerce
|
|
1359
1375
|
.number()
|
|
1360
|
-
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100.")
|
|
1361
|
-
.optional(),
|
|
1362
|
-
startAt: z.coerce
|
|
1363
|
-
.number()
|
|
1364
|
-
.describe("Offset of the first result to return. Defaults to 0. To page through results: count the number of results you can actually read in the response and pass currentStartAt + countOfResultsRead as the next startAt. Do not blindly use itemsReturned to advance — the response may be truncated by the system after this action returns, meaning you may see fewer results than itemsReturned reports.")
|
|
1376
|
+
.describe("The maximum number of records to retrieve per call (page size). Defaults to 100. Keep this small enough that the response is not truncated before you read it — if truncation occurs, lower the limit and retry.")
|
|
1365
1377
|
.optional(),
|
|
1366
1378
|
});
|
|
1367
1379
|
export const jiraDataCenterGetJiraIssuesByQueryOutputSchema = z.object({
|
|
1368
|
-
itemsReturned: z.coerce
|
|
1369
|
-
.number()
|
|
1370
|
-
.describe("Number of items fetched by this action. This field intentionally appears before results so it survives system-level response truncation. Warning: the system may truncate the results array before you see it, so you may receive fewer results than this number. Always count the results you can actually read and use currentStartAt + countOfResultsRead as the next startAt, not currentStartAt + itemsReturned.")
|
|
1371
|
-
.optional(),
|
|
1372
|
-
truncated: z
|
|
1373
|
-
.boolean()
|
|
1374
|
-
.describe("True when more results exist beyond this batch. Call again with startAt set to currentStartAt + countOfResultsRead (the number of results you actually received in this response).")
|
|
1375
|
-
.optional(),
|
|
1376
1380
|
results: z
|
|
1377
1381
|
.array(z.object({
|
|
1378
1382
|
name: z.string().describe("The name of the result"),
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { axiosClient } from "../../util/axiosClient.js";
|
|
2
|
+
import { getConfluenceApi } from "./helpers.js";
|
|
3
|
+
const confluenceDataCenterCreatePage = async ({ params, authParams, }) => {
|
|
4
|
+
const { spaceKey, title, content, parentId } = params;
|
|
5
|
+
try {
|
|
6
|
+
const { baseUrl, config } = getConfluenceApi(authParams);
|
|
7
|
+
const payload = {
|
|
8
|
+
type: "page",
|
|
9
|
+
title,
|
|
10
|
+
space: { key: spaceKey },
|
|
11
|
+
body: {
|
|
12
|
+
storage: {
|
|
13
|
+
value: content,
|
|
14
|
+
representation: "storage",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
if (parentId) {
|
|
19
|
+
payload.ancestors = [{ id: parentId }];
|
|
20
|
+
}
|
|
21
|
+
const response = await axiosClient.post(`${baseUrl}/content`, payload, config);
|
|
22
|
+
const pageId = response.data?.id;
|
|
23
|
+
const links = response.data?._links ?? {};
|
|
24
|
+
const pageUrl = links.base && links.webui ? `${links.base}${links.webui}` : undefined;
|
|
25
|
+
return {
|
|
26
|
+
success: true,
|
|
27
|
+
pageId,
|
|
28
|
+
pageUrl,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
return {
|
|
33
|
+
success: false,
|
|
34
|
+
error: error instanceof Error
|
|
35
|
+
? error.message
|
|
36
|
+
: "An unknown error occurred while creating the Confluence Data Center page.",
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export default confluenceDataCenterCreatePage;
|