@credal/actions 0.2.211 → 0.2.213

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 +17 -1
  2. package/dist/actions/autogen/templates.d.ts +2 -0
  3. package/dist/actions/autogen/templates.js +93 -0
  4. package/dist/actions/autogen/types.d.ts +75 -0
  5. package/dist/actions/autogen/types.js +25 -0
  6. package/dist/actions/providers/confluenceDataCenter/fetchPageContent.d.ts +3 -0
  7. package/dist/actions/providers/confluenceDataCenter/fetchPageContent.js +28 -0
  8. package/dist/actions/providers/confluenceDataCenter/helpers.d.ts +8 -0
  9. package/dist/actions/providers/confluenceDataCenter/helpers.js +20 -0
  10. package/dist/actions/providers/confluenceDataCenter/overwritePage.d.ts +3 -0
  11. package/dist/actions/providers/confluenceDataCenter/overwritePage.js +37 -0
  12. package/dist/actions/providers/oktaOrg/getOktaUserByName.js +1 -0
  13. package/package.json +1 -1
  14. package/dist/actions/groups.d.ts +0 -6
  15. package/dist/actions/groups.js +0 -248
  16. package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
  17. package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
  18. package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
  19. package/dist/actions/providers/ashby/createCandidate.js +0 -38
  20. package/dist/actions/providers/ashby/createNote.d.ts +0 -3
  21. package/dist/actions/providers/ashby/createNote.js +0 -31
  22. package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
  23. package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
  24. package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
  25. package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
  26. package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
  27. package/dist/actions/providers/ashby/listCandidates.js +0 -30
  28. package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
  29. package/dist/actions/providers/ashby/searchCandidates.js +0 -34
  30. package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
  31. package/dist/actions/providers/ashby/updateCandidate.js +0 -56
  32. package/dist/actions/providers/credal/callCopilot.d.ts +0 -3
  33. package/dist/actions/providers/credal/callCopilot.js +0 -36
  34. package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
  35. package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
  36. package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
  37. package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
  38. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
  39. package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
  40. package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
  41. package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
  42. package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
  43. package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
  44. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
  45. package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
  46. package/dist/actions/providers/math/index.d.ts +0 -1
  47. package/dist/actions/providers/math/index.js +0 -37
  48. package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
  49. package/dist/actions/providers/okta/addUserToGroup.js +0 -56
  50. package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
  51. package/dist/actions/providers/okta/getOktaGroup.js +0 -73
  52. package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
  53. package/dist/actions/providers/okta/getOktaUser.js +0 -40
  54. package/dist/actions/providers/okta/listMFA.d.ts +0 -3
  55. package/dist/actions/providers/okta/listMFA.js +0 -52
  56. package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
  57. package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
  58. package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
  59. package/dist/actions/providers/okta/listOktaGroups.js +0 -92
  60. package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
  61. package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
  62. package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
  63. package/dist/actions/providers/okta/listOktaUsers.js +0 -100
  64. package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
  65. package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
  66. package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
  67. package/dist/actions/providers/okta/resetMFA.js +0 -62
  68. package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
  69. package/dist/actions/providers/okta/resetPassword.js +0 -57
  70. package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
  71. package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
  72. package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
  73. package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
  74. package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +0 -3
  75. package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +0 -43
  76. package/dist/actions/providers/slack/archiveChannel.d.ts +0 -3
  77. package/dist/actions/providers/slack/archiveChannel.js +0 -35
  78. package/dist/actions/providers/slack/index.d.ts +0 -1
  79. package/dist/actions/providers/slack/index.js +0 -37
  80. package/dist/actions/providers/slack/listConversations.d.ts +0 -3
  81. package/dist/actions/providers/slack/listConversations.js +0 -41
@@ -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, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
1
+ import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, 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";
@@ -42,6 +42,8 @@ import symbolLookup from "./providers/finnhub/symbolLookup.js";
42
42
  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
+ import confluenceDataCenterOverwritePage from "./providers/confluenceDataCenter/overwritePage.js";
46
+ import confluenceDataCenterFetchPageContent from "./providers/confluenceDataCenter/fetchPageContent.js";
45
47
  import runSnowflakeQuery from "./providers/snowflake/runSnowflakeQuery.js";
46
48
  import enableUserByEmail from "./providers/looker/enableUserByEmail.js";
47
49
  import updateDoc from "./providers/google-oauth/updateDoc.js";
@@ -348,6 +350,20 @@ export const ActionMapper = {
348
350
  actionType: "read",
349
351
  },
350
352
  },
353
+ confluenceDataCenter: {
354
+ overwritePage: {
355
+ fn: confluenceDataCenterOverwritePage,
356
+ paramsSchema: confluenceDataCenterOverwritePageParamsSchema,
357
+ outputSchema: confluenceDataCenterOverwritePageOutputSchema,
358
+ actionType: "write",
359
+ },
360
+ fetchPageContent: {
361
+ fn: confluenceDataCenterFetchPageContent,
362
+ paramsSchema: confluenceDataCenterFetchPageContentParamsSchema,
363
+ outputSchema: confluenceDataCenterFetchPageContentOutputSchema,
364
+ actionType: "read",
365
+ },
366
+ },
351
367
  googlemaps: {
352
368
  validateAddress: {
353
369
  fn: validateAddress,
@@ -17,6 +17,8 @@ export declare const slackUserSearchSlackRTSDefinition: ActionTemplate;
17
17
  export declare const mathAddDefinition: ActionTemplate;
18
18
  export declare const confluenceOverwritePageDefinition: ActionTemplate;
19
19
  export declare const confluenceFetchPageContentDefinition: ActionTemplate;
20
+ export declare const confluenceDataCenterOverwritePageDefinition: ActionTemplate;
21
+ export declare const confluenceDataCenterFetchPageContentDefinition: ActionTemplate;
20
22
  export declare const jiraAssignJiraTicketDefinition: ActionTemplate;
21
23
  export declare const jiraPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
22
24
  export declare const jiraCommentJiraTicketDefinition: ActionTemplate;
@@ -1358,6 +1358,95 @@ export const confluenceFetchPageContentDefinition = {
1358
1358
  name: "fetchPageContent",
1359
1359
  provider: "confluence",
1360
1360
  };
1361
+ export const confluenceDataCenterOverwritePageDefinition = {
1362
+ displayName: "Overwrite a page",
1363
+ description: "Updates a Confluence page with the new content specified",
1364
+ scopes: [],
1365
+ tags: [],
1366
+ parameters: {
1367
+ type: "object",
1368
+ required: ["pageId", "title", "content"],
1369
+ properties: {
1370
+ pageId: {
1371
+ type: "string",
1372
+ description: "The page id for the page to add content to",
1373
+ },
1374
+ title: {
1375
+ type: "string",
1376
+ description: "The title of the page that should be updated",
1377
+ },
1378
+ content: {
1379
+ type: "string",
1380
+ description: "The new content for the page",
1381
+ },
1382
+ },
1383
+ },
1384
+ output: {
1385
+ type: "object",
1386
+ required: ["success"],
1387
+ properties: {
1388
+ success: {
1389
+ type: "boolean",
1390
+ description: "Whether the page was successfully updated",
1391
+ },
1392
+ error: {
1393
+ type: "string",
1394
+ description: "The error that occurred if the page was not successfully updated",
1395
+ },
1396
+ },
1397
+ },
1398
+ name: "overwritePage",
1399
+ provider: "confluenceDataCenter",
1400
+ };
1401
+ export const confluenceDataCenterFetchPageContentDefinition = {
1402
+ displayName: "Fetch page content",
1403
+ description: "Fetches content from a Confluence page",
1404
+ scopes: [],
1405
+ tags: [],
1406
+ parameters: {
1407
+ type: "object",
1408
+ required: ["pageId"],
1409
+ properties: {
1410
+ pageId: {
1411
+ type: "string",
1412
+ description: "The ID of the page to fetch content from",
1413
+ },
1414
+ },
1415
+ },
1416
+ output: {
1417
+ type: "object",
1418
+ required: ["success"],
1419
+ properties: {
1420
+ success: {
1421
+ type: "boolean",
1422
+ description: "Whether the page content was successfully retrieved",
1423
+ },
1424
+ error: {
1425
+ type: "string",
1426
+ description: "The error that occurred if the page content was not successfully retrieved",
1427
+ },
1428
+ data: {
1429
+ type: "object",
1430
+ properties: {
1431
+ pageId: {
1432
+ type: "string",
1433
+ description: "The ID of the page",
1434
+ },
1435
+ title: {
1436
+ type: "string",
1437
+ description: "The title of the page",
1438
+ },
1439
+ content: {
1440
+ type: "string",
1441
+ description: "The content of the page in storage format (HTML)",
1442
+ },
1443
+ },
1444
+ },
1445
+ },
1446
+ },
1447
+ name: "fetchPageContent",
1448
+ provider: "confluenceDataCenter",
1449
+ };
1361
1450
  export const jiraAssignJiraTicketDefinition = {
1362
1451
  displayName: "Assign a Jira ticket",
1363
1452
  description: "Assigns/Reassigns a Jira ticket to a specified user",
@@ -10417,6 +10506,10 @@ export const oktaOrgGetOktaUserByNameDefinition = {
10417
10506
  type: "string",
10418
10507
  description: "The user's department",
10419
10508
  },
10509
+ location: {
10510
+ type: "string",
10511
+ description: "The user's location",
10512
+ },
10420
10513
  },
10421
10514
  },
10422
10515
  error: {
@@ -7,6 +7,7 @@ export declare enum ProviderName {
7
7
  SLACKUSER = "slackUser",
8
8
  MATH = "math",
9
9
  CONFLUENCE = "confluence",
10
+ CONFLUENCEDATACENTER = "confluenceDataCenter",
10
11
  JIRA = "jira",
11
12
  JIRAORG = "jiraOrg",
12
13
  JIRADATACENTER = "jiraDataCenter",
@@ -1576,6 +1577,75 @@ export declare const confluenceFetchPageContentOutputSchema: z.ZodObject<{
1576
1577
  }>;
1577
1578
  export type confluenceFetchPageContentOutputType = z.infer<typeof confluenceFetchPageContentOutputSchema>;
1578
1579
  export type confluenceFetchPageContentFunction = ActionFunction<confluenceFetchPageContentParamsType, AuthParamsType, confluenceFetchPageContentOutputType>;
1580
+ export declare const confluenceDataCenterOverwritePageParamsSchema: z.ZodObject<{
1581
+ pageId: z.ZodString;
1582
+ title: z.ZodString;
1583
+ content: z.ZodString;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ content: string;
1586
+ pageId: string;
1587
+ title: string;
1588
+ }, {
1589
+ content: string;
1590
+ pageId: string;
1591
+ title: string;
1592
+ }>;
1593
+ export type confluenceDataCenterOverwritePageParamsType = z.infer<typeof confluenceDataCenterOverwritePageParamsSchema>;
1594
+ export declare const confluenceDataCenterOverwritePageOutputSchema: z.ZodObject<{
1595
+ success: z.ZodBoolean;
1596
+ error: z.ZodOptional<z.ZodString>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ success: boolean;
1599
+ error?: string | undefined;
1600
+ }, {
1601
+ success: boolean;
1602
+ error?: string | undefined;
1603
+ }>;
1604
+ export type confluenceDataCenterOverwritePageOutputType = z.infer<typeof confluenceDataCenterOverwritePageOutputSchema>;
1605
+ export type confluenceDataCenterOverwritePageFunction = ActionFunction<confluenceDataCenterOverwritePageParamsType, AuthParamsType, confluenceDataCenterOverwritePageOutputType>;
1606
+ export declare const confluenceDataCenterFetchPageContentParamsSchema: z.ZodObject<{
1607
+ pageId: z.ZodString;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ pageId: string;
1610
+ }, {
1611
+ pageId: string;
1612
+ }>;
1613
+ export type confluenceDataCenterFetchPageContentParamsType = z.infer<typeof confluenceDataCenterFetchPageContentParamsSchema>;
1614
+ export declare const confluenceDataCenterFetchPageContentOutputSchema: z.ZodObject<{
1615
+ success: z.ZodBoolean;
1616
+ error: z.ZodOptional<z.ZodString>;
1617
+ data: z.ZodOptional<z.ZodObject<{
1618
+ pageId: z.ZodOptional<z.ZodString>;
1619
+ title: z.ZodOptional<z.ZodString>;
1620
+ content: z.ZodOptional<z.ZodString>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ content?: string | undefined;
1623
+ pageId?: string | undefined;
1624
+ title?: string | undefined;
1625
+ }, {
1626
+ content?: string | undefined;
1627
+ pageId?: string | undefined;
1628
+ title?: string | undefined;
1629
+ }>>;
1630
+ }, "strip", z.ZodTypeAny, {
1631
+ success: boolean;
1632
+ error?: string | undefined;
1633
+ data?: {
1634
+ content?: string | undefined;
1635
+ pageId?: string | undefined;
1636
+ title?: string | undefined;
1637
+ } | undefined;
1638
+ }, {
1639
+ success: boolean;
1640
+ error?: string | undefined;
1641
+ data?: {
1642
+ content?: string | undefined;
1643
+ pageId?: string | undefined;
1644
+ title?: string | undefined;
1645
+ } | undefined;
1646
+ }>;
1647
+ export type confluenceDataCenterFetchPageContentOutputType = z.infer<typeof confluenceDataCenterFetchPageContentOutputSchema>;
1648
+ export type confluenceDataCenterFetchPageContentFunction = ActionFunction<confluenceDataCenterFetchPageContentParamsType, AuthParamsType, confluenceDataCenterFetchPageContentOutputType>;
1579
1649
  export declare const jiraAssignJiraTicketParamsSchema: z.ZodObject<{
1580
1650
  projectKey: z.ZodString;
1581
1651
  assignee: z.ZodString;
@@ -7233,16 +7303,19 @@ export declare const oktaOrgGetOktaUserByNameOutputSchema: z.ZodObject<{
7233
7303
  title: z.ZodOptional<z.ZodString>;
7234
7304
  division: z.ZodOptional<z.ZodString>;
7235
7305
  department: z.ZodOptional<z.ZodString>;
7306
+ location: z.ZodOptional<z.ZodString>;
7236
7307
  }, "strip", z.ZodTypeAny, {
7237
7308
  id: string;
7238
7309
  email: string;
7239
7310
  title?: string | undefined;
7311
+ location?: string | undefined;
7240
7312
  division?: string | undefined;
7241
7313
  department?: string | undefined;
7242
7314
  }, {
7243
7315
  id: string;
7244
7316
  email: string;
7245
7317
  title?: string | undefined;
7318
+ location?: string | undefined;
7246
7319
  division?: string | undefined;
7247
7320
  department?: string | undefined;
7248
7321
  }>>;
@@ -7254,6 +7327,7 @@ export declare const oktaOrgGetOktaUserByNameOutputSchema: z.ZodObject<{
7254
7327
  id: string;
7255
7328
  email: string;
7256
7329
  title?: string | undefined;
7330
+ location?: string | undefined;
7257
7331
  division?: string | undefined;
7258
7332
  department?: string | undefined;
7259
7333
  } | undefined;
@@ -7264,6 +7338,7 @@ export declare const oktaOrgGetOktaUserByNameOutputSchema: z.ZodObject<{
7264
7338
  id: string;
7265
7339
  email: string;
7266
7340
  title?: string | undefined;
7341
+ location?: string | undefined;
7267
7342
  division?: string | undefined;
7268
7343
  department?: string | undefined;
7269
7344
  } | undefined;
@@ -8,6 +8,7 @@ export var ProviderName;
8
8
  ProviderName["SLACKUSER"] = "slackUser";
9
9
  ProviderName["MATH"] = "math";
10
10
  ProviderName["CONFLUENCE"] = "confluence";
11
+ ProviderName["CONFLUENCEDATACENTER"] = "confluenceDataCenter";
11
12
  ProviderName["JIRA"] = "jira";
12
13
  ProviderName["JIRAORG"] = "jiraOrg";
13
14
  ProviderName["JIRADATACENTER"] = "jiraDataCenter";
@@ -645,6 +646,29 @@ export const confluenceFetchPageContentOutputSchema = z.object({
645
646
  })
646
647
  .optional(),
647
648
  });
649
+ export const confluenceDataCenterOverwritePageParamsSchema = z.object({
650
+ pageId: z.string().describe("The page id for the page to add content to"),
651
+ title: z.string().describe("The title of the page that should be updated"),
652
+ content: z.string().describe("The new content for the page"),
653
+ });
654
+ export const confluenceDataCenterOverwritePageOutputSchema = z.object({
655
+ success: z.boolean().describe("Whether the page was successfully updated"),
656
+ error: z.string().describe("The error that occurred if the page was not successfully updated").optional(),
657
+ });
658
+ export const confluenceDataCenterFetchPageContentParamsSchema = z.object({
659
+ pageId: z.string().describe("The ID of the page to fetch content from"),
660
+ });
661
+ export const confluenceDataCenterFetchPageContentOutputSchema = z.object({
662
+ success: z.boolean().describe("Whether the page content was successfully retrieved"),
663
+ error: z.string().describe("The error that occurred if the page content was not successfully retrieved").optional(),
664
+ data: z
665
+ .object({
666
+ pageId: z.string().describe("The ID of the page").optional(),
667
+ title: z.string().describe("The title of the page").optional(),
668
+ content: z.string().describe("The content of the page in storage format (HTML)").optional(),
669
+ })
670
+ .optional(),
671
+ });
648
672
  export const jiraAssignJiraTicketParamsSchema = z.object({
649
673
  projectKey: z.string().describe("The key for the project you want to add the ticket to."),
650
674
  assignee: z.string().describe("The assignee for the ticket, userID or email"),
@@ -3861,6 +3885,7 @@ export const oktaOrgGetOktaUserByNameOutputSchema = z.object({
3861
3885
  title: z.string().describe("The user's title").optional(),
3862
3886
  division: z.string().describe("The user's division").optional(),
3863
3887
  department: z.string().describe("The user's department").optional(),
3888
+ location: z.string().describe("The user's location").optional(),
3864
3889
  })
3865
3890
  .optional(),
3866
3891
  error: z.string().describe("Error message if retrieval failed.").optional(),
@@ -0,0 +1,3 @@
1
+ import type { confluenceDataCenterFetchPageContentFunction } from "../../autogen/types.js";
2
+ declare const confluenceDataCenterFetchPageContent: confluenceDataCenterFetchPageContentFunction;
3
+ export default confluenceDataCenterFetchPageContent;
@@ -0,0 +1,28 @@
1
+ import { axiosClient } from "../../util/axiosClient.js";
2
+ import { getConfluenceApi } from "./helpers.js";
3
+ const confluenceDataCenterFetchPageContent = async ({ params, authParams, }) => {
4
+ const { pageId } = params;
5
+ try {
6
+ const { baseUrl, config } = getConfluenceApi(authParams);
7
+ const response = await axiosClient.get(`${baseUrl}/content/${pageId}?expand=body.storage,version`, config);
8
+ const title = response.data.title;
9
+ const content = response.data.body?.storage?.value || "";
10
+ return {
11
+ success: true,
12
+ data: {
13
+ pageId,
14
+ title,
15
+ content,
16
+ },
17
+ };
18
+ }
19
+ catch (error) {
20
+ return {
21
+ success: false,
22
+ error: error instanceof Error
23
+ ? error.message
24
+ : "An unknown error occurred while fetching the Confluence Data Center page content.",
25
+ };
26
+ }
27
+ };
28
+ export default confluenceDataCenterFetchPageContent;
@@ -0,0 +1,8 @@
1
+ import type { AxiosRequestConfig } from "axios";
2
+ export declare function getConfluenceApi(authParams: {
3
+ baseUrl?: string;
4
+ authToken?: string;
5
+ }): {
6
+ baseUrl: string;
7
+ config: AxiosRequestConfig;
8
+ };
@@ -0,0 +1,20 @@
1
+ export function getConfluenceApi(authParams) {
2
+ const { baseUrl, authToken } = authParams;
3
+ if (!authToken) {
4
+ throw new Error("Auth Token is required");
5
+ }
6
+ if (!baseUrl) {
7
+ throw new Error("Base URL is required for Confluence Data Center");
8
+ }
9
+ const trimmedUrl = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
10
+ return {
11
+ baseUrl: `${trimmedUrl}/rest/api`,
12
+ config: {
13
+ headers: {
14
+ Accept: "application/json",
15
+ "Content-Type": "application/json",
16
+ Authorization: `Bearer ${authToken}`,
17
+ },
18
+ },
19
+ };
20
+ }
@@ -0,0 +1,3 @@
1
+ import type { confluenceDataCenterOverwritePageFunction } from "../../autogen/types.js";
2
+ declare const confluenceDataCenterOverwritePage: confluenceDataCenterOverwritePageFunction;
3
+ export default confluenceDataCenterOverwritePage;
@@ -0,0 +1,37 @@
1
+ import { axiosClient } from "../../util/axiosClient.js";
2
+ import { getConfluenceApi } from "./helpers.js";
3
+ const confluenceDataCenterOverwritePage = async ({ params, authParams, }) => {
4
+ const { pageId, content, title } = params;
5
+ try {
6
+ const { baseUrl, config } = getConfluenceApi(authParams);
7
+ const response = await axiosClient.get(`${baseUrl}/content/${pageId}?expand=version`, config);
8
+ const currVersion = response.data.version.number;
9
+ const payload = {
10
+ id: pageId,
11
+ type: "page",
12
+ title,
13
+ body: {
14
+ storage: {
15
+ value: content,
16
+ representation: "storage",
17
+ },
18
+ },
19
+ version: {
20
+ number: currVersion + 1,
21
+ },
22
+ };
23
+ await axiosClient.put(`${baseUrl}/content/${pageId}`, payload, config);
24
+ return {
25
+ success: true,
26
+ };
27
+ }
28
+ catch (error) {
29
+ return {
30
+ success: false,
31
+ error: error instanceof Error
32
+ ? error.message
33
+ : "An unknown error occurred while updating the Confluence Data Center page.",
34
+ };
35
+ }
36
+ };
37
+ export default confluenceDataCenterOverwritePage;
@@ -54,6 +54,7 @@ const getOktaUserByName = async ({ authParams, params, }) => {
54
54
  title: user.profile.title,
55
55
  division: user.profile.division,
56
56
  department: user.profile.department,
57
+ location: user.profile.location,
57
58
  },
58
59
  };
59
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.211",
3
+ "version": "0.2.213",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,
@@ -1,6 +0,0 @@
1
- import type { ActionTemplate } from "./parse.js";
2
- export type ActionGroups = Record<string, {
3
- description: string;
4
- actions: ActionTemplate[];
5
- }>;
6
- export declare const ACTION_GROUPS: ActionGroups;