@credal/actions 0.2.161 → 0.2.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, 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, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, 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, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, } from "./autogen/types.js";
1
+ import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraGetServiceDesksParamsSchema, jiraGetServiceDesksOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, 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, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, 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, gongGetGongTranscriptsParamsSchema, gongGetGongTranscriptsOutputSchema, ashbyCreateNoteParamsSchema, ashbyCreateNoteOutputSchema, ashbyGetCandidateInfoParamsSchema, ashbyGetCandidateInfoOutputSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, ashbyListCandidatesParamsSchema, ashbyListCandidatesOutputSchema, ashbyListCandidateNotesParamsSchema, ashbyListCandidateNotesOutputSchema, ashbySearchCandidatesParamsSchema, ashbySearchCandidatesOutputSchema, ashbyCreateCandidateParamsSchema, ashbyCreateCandidateOutputSchema, ashbyUpdateCandidateParamsSchema, ashbyUpdateCandidateOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, salesforceFetchSalesforceSchemaByObjectParamsSchema, salesforceFetchSalesforceSchemaByObjectOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, ashbyAddCandidateToProjectParamsSchema, ashbyAddCandidateToProjectOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, kandjiGetFVRecoveryKeyForDeviceParamsSchema, kandjiGetFVRecoveryKeyForDeviceOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, jamfGetJamfComputerInventoryParamsSchema, jamfGetJamfComputerInventoryOutputSchema, jamfGetJamfFileVaultRecoveryKeyParamsSchema, jamfGetJamfFileVaultRecoveryKeyOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, oktaListOktaUsersParamsSchema, oktaListOktaUsersOutputSchema, oktaGetOktaUserParamsSchema, oktaGetOktaUserOutputSchema, oktaListOktaUserGroupsParamsSchema, oktaListOktaUserGroupsOutputSchema, oktaListOktaGroupsParamsSchema, oktaListOktaGroupsOutputSchema, oktaGetOktaGroupParamsSchema, oktaGetOktaGroupOutputSchema, oktaListOktaGroupMembersParamsSchema, oktaListOktaGroupMembersOutputSchema, oktaRemoveUserFromGroupParamsSchema, oktaRemoveUserFromGroupOutputSchema, oktaAddUserToGroupParamsSchema, oktaAddUserToGroupOutputSchema, oktaResetPasswordParamsSchema, oktaResetPasswordOutputSchema, oktaResetMFAParamsSchema, oktaResetMFAOutputSchema, oktaListMFAParamsSchema, oktaListMFAOutputSchema, jamfGetJamfUserComputerIdParamsSchema, jamfGetJamfUserComputerIdOutputSchema, jamfLockJamfComputerByIdParamsSchema, jamfLockJamfComputerByIdOutputSchema, oktaTriggerOktaWorkflowParamsSchema, oktaTriggerOktaWorkflowOutputSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchRepositoryOutputSchema, githubSearchRepositoryParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, } 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";
@@ -142,6 +142,7 @@ import getDealDetails from "./providers/hubspot/getDealDetails.js";
142
142
  import getTickets from "./providers/hubspot/getTickets.js";
143
143
  import getTicketDetails from "./providers/hubspot/getTicketDetails.js";
144
144
  import gitlabGetFileContent from "./providers/gitlab/getFileContent.js";
145
+ import gitlabGetMergeRequest from "./providers/gitlab/getMergeRequest.js";
145
146
  import gitlabListDirectory from "./providers/gitlab/listDirectory.js";
146
147
  import publicCommentOnServiceDeskRequest from "./providers/jira/publicCommentOnServiceDeskRequest.js";
147
148
  import sendGmail from "./providers/googlemail/sendGmail.js";
@@ -958,6 +959,11 @@ export const ActionMapper = {
958
959
  paramsSchema: gitlabGetFileContentParamsSchema,
959
960
  outputSchema: gitlabGetFileContentOutputSchema,
960
961
  },
962
+ getMergeRequest: {
963
+ fn: gitlabGetMergeRequest,
964
+ paramsSchema: gitlabGetMergeRequestParamsSchema,
965
+ outputSchema: gitlabGetMergeRequestOutputSchema,
966
+ },
961
967
  listDirectory: {
962
968
  fn: gitlabListDirectory,
963
969
  paramsSchema: gitlabListDirectoryParamsSchema,
@@ -159,6 +159,7 @@ export declare const jamfGetJamfUserComputerIdDefinition: ActionTemplate;
159
159
  export declare const jamfLockJamfComputerByIdDefinition: ActionTemplate;
160
160
  export declare const gitlabSearchGroupDefinition: ActionTemplate;
161
161
  export declare const gitlabGetFileContentDefinition: ActionTemplate;
162
+ export declare const gitlabGetMergeRequestDefinition: ActionTemplate;
162
163
  export declare const gitlabListDirectoryDefinition: ActionTemplate;
163
164
  export declare const linearGetIssuesDefinition: ActionTemplate;
164
165
  export declare const linearGetIssueDetailsDefinition: ActionTemplate;
@@ -13741,6 +13741,223 @@ export const gitlabGetFileContentDefinition = {
13741
13741
  name: "getFileContent",
13742
13742
  provider: "gitlab",
13743
13743
  };
13744
+ export const gitlabGetMergeRequestDefinition = {
13745
+ description: "Get specified merge request from a GitLab repository",
13746
+ scopes: [],
13747
+ parameters: {
13748
+ type: "object",
13749
+ required: ["project_id", "mr_iid"],
13750
+ properties: {
13751
+ project_id: {
13752
+ type: "number",
13753
+ description: "Numeric project ID in GitLab (unique per project)",
13754
+ },
13755
+ mr_iid: {
13756
+ type: "string",
13757
+ description: "The internal ID of the merge request",
13758
+ },
13759
+ },
13760
+ },
13761
+ output: {
13762
+ type: "object",
13763
+ required: ["success"],
13764
+ properties: {
13765
+ success: {
13766
+ type: "boolean",
13767
+ description: "Whether the operation was successful",
13768
+ },
13769
+ error: {
13770
+ type: "string",
13771
+ description: "The error that occurred if the operation was not successful",
13772
+ },
13773
+ results: {
13774
+ type: "array",
13775
+ description: "The results of the merge request",
13776
+ items: {
13777
+ type: "object",
13778
+ required: ["metadata", "changes", "commits"],
13779
+ properties: {
13780
+ metadata: {
13781
+ type: "object",
13782
+ required: [
13783
+ "iid",
13784
+ "id",
13785
+ "project_id",
13786
+ "title",
13787
+ "description",
13788
+ "state",
13789
+ "merged",
13790
+ "sha",
13791
+ "web_url",
13792
+ "source_branch",
13793
+ "target_branch",
13794
+ "source_sha",
13795
+ "diff_refs",
13796
+ "author",
13797
+ ],
13798
+ properties: {
13799
+ iid: {
13800
+ type: "number",
13801
+ description: "The internal ID of the merge request",
13802
+ },
13803
+ id: {
13804
+ type: "number",
13805
+ description: "The ID of the merge request",
13806
+ },
13807
+ project_id: {
13808
+ type: "number",
13809
+ description: "The ID of the project the merge request belongs to",
13810
+ },
13811
+ title: {
13812
+ type: "string",
13813
+ description: "The title of the merge request",
13814
+ },
13815
+ description: {
13816
+ type: "string",
13817
+ description: "The description of the merge request",
13818
+ },
13819
+ state: {
13820
+ type: "string",
13821
+ description: "The state of the merge request",
13822
+ },
13823
+ merged: {
13824
+ type: "boolean",
13825
+ description: "Whether the merge request has been merged",
13826
+ },
13827
+ sha: {
13828
+ type: "string",
13829
+ description: "The SHA of the merge request",
13830
+ },
13831
+ web_url: {
13832
+ type: "string",
13833
+ description: "The URL of the merge request",
13834
+ },
13835
+ source_branch: {
13836
+ type: "string",
13837
+ description: "The source branch of the merge request",
13838
+ },
13839
+ target_branch: {
13840
+ type: "string",
13841
+ description: "The target branch of the merge request",
13842
+ },
13843
+ source_sha: {
13844
+ type: "string",
13845
+ description: "The source SHA of the merge request",
13846
+ },
13847
+ target_sha: {
13848
+ type: "string",
13849
+ description: "The target SHA of the merge request",
13850
+ },
13851
+ diff_refs: {
13852
+ type: "object",
13853
+ required: ["base_sha", "head_sha", "start_sha"],
13854
+ properties: {
13855
+ base_sha: {
13856
+ type: "string",
13857
+ description: "The base SHA of the merge request",
13858
+ },
13859
+ head_sha: {
13860
+ type: "string",
13861
+ description: "The head SHA of the merge request",
13862
+ },
13863
+ },
13864
+ },
13865
+ author: {
13866
+ type: "object",
13867
+ required: ["id", "name", "username"],
13868
+ properties: {
13869
+ id: {
13870
+ type: "number",
13871
+ description: "The ID of the author",
13872
+ },
13873
+ name: {
13874
+ type: "string",
13875
+ description: "The name of the author",
13876
+ },
13877
+ username: {
13878
+ type: "string",
13879
+ description: "The username of the author",
13880
+ },
13881
+ },
13882
+ },
13883
+ },
13884
+ },
13885
+ changes: {
13886
+ type: "array",
13887
+ description: "A list of changes in the merge request",
13888
+ items: {
13889
+ type: "object",
13890
+ required: ["old_path", "new_path", "new_file", "renamed_file", "deleted_file", "diff"],
13891
+ properties: {
13892
+ old_path: {
13893
+ type: "string",
13894
+ description: "The old path of the change",
13895
+ },
13896
+ new_path: {
13897
+ type: "string",
13898
+ description: "The new path of the change",
13899
+ },
13900
+ new_file: {
13901
+ type: "boolean",
13902
+ description: "Whether the change is a new file",
13903
+ },
13904
+ renamed_file: {
13905
+ type: "boolean",
13906
+ description: "Whether the change is a renamed file",
13907
+ },
13908
+ deleted_file: {
13909
+ type: "boolean",
13910
+ description: "Whether the change is a deleted file",
13911
+ },
13912
+ diff: {
13913
+ type: "string",
13914
+ description: "The diff of the change",
13915
+ },
13916
+ },
13917
+ },
13918
+ },
13919
+ commits: {
13920
+ type: "array",
13921
+ description: "A list of commits in the merge request",
13922
+ items: {
13923
+ type: "object",
13924
+ required: ["id", "title", "message", "author_name", "author_email", "created_at"],
13925
+ properties: {
13926
+ id: {
13927
+ type: "string",
13928
+ description: "The full SHA of the commit",
13929
+ },
13930
+ title: {
13931
+ type: "string",
13932
+ description: "The title of the commit",
13933
+ },
13934
+ message: {
13935
+ type: "string",
13936
+ description: "The message of the commit",
13937
+ },
13938
+ author_name: {
13939
+ type: "string",
13940
+ description: "The name of the commit author",
13941
+ },
13942
+ author_email: {
13943
+ type: "string",
13944
+ description: "The email of the commit author",
13945
+ },
13946
+ created_at: {
13947
+ type: "string",
13948
+ description: "The date/time the commit was created",
13949
+ },
13950
+ },
13951
+ },
13952
+ },
13953
+ },
13954
+ },
13955
+ },
13956
+ },
13957
+ },
13958
+ name: "getMergeRequest",
13959
+ provider: "gitlab",
13960
+ };
13744
13961
  export const gitlabListDirectoryDefinition = {
13745
13962
  description: "List directory contents of a path in a GitLab repository",
13746
13963
  scopes: [],
@@ -11083,6 +11083,325 @@ export declare const gitlabGetFileContentOutputSchema: z.ZodObject<{
11083
11083
  }>;
11084
11084
  export type gitlabGetFileContentOutputType = z.infer<typeof gitlabGetFileContentOutputSchema>;
11085
11085
  export type gitlabGetFileContentFunction = ActionFunction<gitlabGetFileContentParamsType, AuthParamsType, gitlabGetFileContentOutputType>;
11086
+ export declare const gitlabGetMergeRequestParamsSchema: z.ZodObject<{
11087
+ project_id: z.ZodNumber;
11088
+ mr_iid: z.ZodString;
11089
+ }, "strip", z.ZodTypeAny, {
11090
+ project_id: number;
11091
+ mr_iid: string;
11092
+ }, {
11093
+ project_id: number;
11094
+ mr_iid: string;
11095
+ }>;
11096
+ export type gitlabGetMergeRequestParamsType = z.infer<typeof gitlabGetMergeRequestParamsSchema>;
11097
+ export declare const gitlabGetMergeRequestOutputSchema: z.ZodObject<{
11098
+ success: z.ZodBoolean;
11099
+ error: z.ZodOptional<z.ZodString>;
11100
+ results: z.ZodOptional<z.ZodArray<z.ZodObject<{
11101
+ metadata: z.ZodObject<{
11102
+ iid: z.ZodNumber;
11103
+ id: z.ZodNumber;
11104
+ project_id: z.ZodNumber;
11105
+ title: z.ZodString;
11106
+ description: z.ZodString;
11107
+ state: z.ZodString;
11108
+ merged: z.ZodBoolean;
11109
+ sha: z.ZodString;
11110
+ web_url: z.ZodString;
11111
+ source_branch: z.ZodString;
11112
+ target_branch: z.ZodString;
11113
+ source_sha: z.ZodString;
11114
+ target_sha: z.ZodOptional<z.ZodString>;
11115
+ diff_refs: z.ZodObject<{
11116
+ base_sha: z.ZodString;
11117
+ head_sha: z.ZodString;
11118
+ }, "strip", z.ZodTypeAny, {
11119
+ base_sha: string;
11120
+ head_sha: string;
11121
+ }, {
11122
+ base_sha: string;
11123
+ head_sha: string;
11124
+ }>;
11125
+ author: z.ZodObject<{
11126
+ id: z.ZodNumber;
11127
+ name: z.ZodString;
11128
+ username: z.ZodString;
11129
+ }, "strip", z.ZodTypeAny, {
11130
+ name: string;
11131
+ id: number;
11132
+ username: string;
11133
+ }, {
11134
+ name: string;
11135
+ id: number;
11136
+ username: string;
11137
+ }>;
11138
+ }, "strip", z.ZodTypeAny, {
11139
+ description: string;
11140
+ id: number;
11141
+ title: string;
11142
+ state: string;
11143
+ merged: boolean;
11144
+ sha: string;
11145
+ author: {
11146
+ name: string;
11147
+ id: number;
11148
+ username: string;
11149
+ };
11150
+ iid: number;
11151
+ project_id: number;
11152
+ web_url: string;
11153
+ source_branch: string;
11154
+ target_branch: string;
11155
+ source_sha: string;
11156
+ diff_refs: {
11157
+ base_sha: string;
11158
+ head_sha: string;
11159
+ };
11160
+ target_sha?: string | undefined;
11161
+ }, {
11162
+ description: string;
11163
+ id: number;
11164
+ title: string;
11165
+ state: string;
11166
+ merged: boolean;
11167
+ sha: string;
11168
+ author: {
11169
+ name: string;
11170
+ id: number;
11171
+ username: string;
11172
+ };
11173
+ iid: number;
11174
+ project_id: number;
11175
+ web_url: string;
11176
+ source_branch: string;
11177
+ target_branch: string;
11178
+ source_sha: string;
11179
+ diff_refs: {
11180
+ base_sha: string;
11181
+ head_sha: string;
11182
+ };
11183
+ target_sha?: string | undefined;
11184
+ }>;
11185
+ changes: z.ZodArray<z.ZodObject<{
11186
+ old_path: z.ZodString;
11187
+ new_path: z.ZodString;
11188
+ new_file: z.ZodBoolean;
11189
+ renamed_file: z.ZodBoolean;
11190
+ deleted_file: z.ZodBoolean;
11191
+ diff: z.ZodString;
11192
+ }, "strip", z.ZodTypeAny, {
11193
+ old_path: string;
11194
+ new_path: string;
11195
+ diff: string;
11196
+ new_file: boolean;
11197
+ renamed_file: boolean;
11198
+ deleted_file: boolean;
11199
+ }, {
11200
+ old_path: string;
11201
+ new_path: string;
11202
+ diff: string;
11203
+ new_file: boolean;
11204
+ renamed_file: boolean;
11205
+ deleted_file: boolean;
11206
+ }>, "many">;
11207
+ commits: z.ZodArray<z.ZodObject<{
11208
+ id: z.ZodString;
11209
+ title: z.ZodString;
11210
+ message: z.ZodString;
11211
+ author_name: z.ZodString;
11212
+ author_email: z.ZodString;
11213
+ created_at: z.ZodString;
11214
+ }, "strip", z.ZodTypeAny, {
11215
+ message: string;
11216
+ id: string;
11217
+ created_at: string;
11218
+ title: string;
11219
+ author_name: string;
11220
+ author_email: string;
11221
+ }, {
11222
+ message: string;
11223
+ id: string;
11224
+ created_at: string;
11225
+ title: string;
11226
+ author_name: string;
11227
+ author_email: string;
11228
+ }>, "many">;
11229
+ }, "strip", z.ZodTypeAny, {
11230
+ commits: {
11231
+ message: string;
11232
+ id: string;
11233
+ created_at: string;
11234
+ title: string;
11235
+ author_name: string;
11236
+ author_email: string;
11237
+ }[];
11238
+ metadata: {
11239
+ description: string;
11240
+ id: number;
11241
+ title: string;
11242
+ state: string;
11243
+ merged: boolean;
11244
+ sha: string;
11245
+ author: {
11246
+ name: string;
11247
+ id: number;
11248
+ username: string;
11249
+ };
11250
+ iid: number;
11251
+ project_id: number;
11252
+ web_url: string;
11253
+ source_branch: string;
11254
+ target_branch: string;
11255
+ source_sha: string;
11256
+ diff_refs: {
11257
+ base_sha: string;
11258
+ head_sha: string;
11259
+ };
11260
+ target_sha?: string | undefined;
11261
+ };
11262
+ changes: {
11263
+ old_path: string;
11264
+ new_path: string;
11265
+ diff: string;
11266
+ new_file: boolean;
11267
+ renamed_file: boolean;
11268
+ deleted_file: boolean;
11269
+ }[];
11270
+ }, {
11271
+ commits: {
11272
+ message: string;
11273
+ id: string;
11274
+ created_at: string;
11275
+ title: string;
11276
+ author_name: string;
11277
+ author_email: string;
11278
+ }[];
11279
+ metadata: {
11280
+ description: string;
11281
+ id: number;
11282
+ title: string;
11283
+ state: string;
11284
+ merged: boolean;
11285
+ sha: string;
11286
+ author: {
11287
+ name: string;
11288
+ id: number;
11289
+ username: string;
11290
+ };
11291
+ iid: number;
11292
+ project_id: number;
11293
+ web_url: string;
11294
+ source_branch: string;
11295
+ target_branch: string;
11296
+ source_sha: string;
11297
+ diff_refs: {
11298
+ base_sha: string;
11299
+ head_sha: string;
11300
+ };
11301
+ target_sha?: string | undefined;
11302
+ };
11303
+ changes: {
11304
+ old_path: string;
11305
+ new_path: string;
11306
+ diff: string;
11307
+ new_file: boolean;
11308
+ renamed_file: boolean;
11309
+ deleted_file: boolean;
11310
+ }[];
11311
+ }>, "many">>;
11312
+ }, "strip", z.ZodTypeAny, {
11313
+ success: boolean;
11314
+ error?: string | undefined;
11315
+ results?: {
11316
+ commits: {
11317
+ message: string;
11318
+ id: string;
11319
+ created_at: string;
11320
+ title: string;
11321
+ author_name: string;
11322
+ author_email: string;
11323
+ }[];
11324
+ metadata: {
11325
+ description: string;
11326
+ id: number;
11327
+ title: string;
11328
+ state: string;
11329
+ merged: boolean;
11330
+ sha: string;
11331
+ author: {
11332
+ name: string;
11333
+ id: number;
11334
+ username: string;
11335
+ };
11336
+ iid: number;
11337
+ project_id: number;
11338
+ web_url: string;
11339
+ source_branch: string;
11340
+ target_branch: string;
11341
+ source_sha: string;
11342
+ diff_refs: {
11343
+ base_sha: string;
11344
+ head_sha: string;
11345
+ };
11346
+ target_sha?: string | undefined;
11347
+ };
11348
+ changes: {
11349
+ old_path: string;
11350
+ new_path: string;
11351
+ diff: string;
11352
+ new_file: boolean;
11353
+ renamed_file: boolean;
11354
+ deleted_file: boolean;
11355
+ }[];
11356
+ }[] | undefined;
11357
+ }, {
11358
+ success: boolean;
11359
+ error?: string | undefined;
11360
+ results?: {
11361
+ commits: {
11362
+ message: string;
11363
+ id: string;
11364
+ created_at: string;
11365
+ title: string;
11366
+ author_name: string;
11367
+ author_email: string;
11368
+ }[];
11369
+ metadata: {
11370
+ description: string;
11371
+ id: number;
11372
+ title: string;
11373
+ state: string;
11374
+ merged: boolean;
11375
+ sha: string;
11376
+ author: {
11377
+ name: string;
11378
+ id: number;
11379
+ username: string;
11380
+ };
11381
+ iid: number;
11382
+ project_id: number;
11383
+ web_url: string;
11384
+ source_branch: string;
11385
+ target_branch: string;
11386
+ source_sha: string;
11387
+ diff_refs: {
11388
+ base_sha: string;
11389
+ head_sha: string;
11390
+ };
11391
+ target_sha?: string | undefined;
11392
+ };
11393
+ changes: {
11394
+ old_path: string;
11395
+ new_path: string;
11396
+ diff: string;
11397
+ new_file: boolean;
11398
+ renamed_file: boolean;
11399
+ deleted_file: boolean;
11400
+ }[];
11401
+ }[] | undefined;
11402
+ }>;
11403
+ export type gitlabGetMergeRequestOutputType = z.infer<typeof gitlabGetMergeRequestOutputSchema>;
11404
+ export type gitlabGetMergeRequestFunction = ActionFunction<gitlabGetMergeRequestParamsType, AuthParamsType, gitlabGetMergeRequestOutputType>;
11086
11405
  export declare const gitlabListDirectoryParamsSchema: z.ZodObject<{
11087
11406
  group: z.ZodString;
11088
11407
  project: z.ZodString;
@@ -4810,6 +4810,63 @@ export const gitlabGetFileContentOutputSchema = z.object({
4810
4810
  .describe("The results of the file content")
4811
4811
  .optional(),
4812
4812
  });
4813
+ export const gitlabGetMergeRequestParamsSchema = z.object({
4814
+ project_id: z.number().describe("Numeric project ID in GitLab (unique per project)"),
4815
+ mr_iid: z.string().describe("The internal ID of the merge request"),
4816
+ });
4817
+ export const gitlabGetMergeRequestOutputSchema = z.object({
4818
+ success: z.boolean().describe("Whether the operation was successful"),
4819
+ error: z.string().describe("The error that occurred if the operation was not successful").optional(),
4820
+ results: z
4821
+ .array(z.object({
4822
+ metadata: z.object({
4823
+ iid: z.number().describe("The internal ID of the merge request"),
4824
+ id: z.number().describe("The ID of the merge request"),
4825
+ project_id: z.number().describe("The ID of the project the merge request belongs to"),
4826
+ title: z.string().describe("The title of the merge request"),
4827
+ description: z.string().describe("The description of the merge request"),
4828
+ state: z.string().describe("The state of the merge request"),
4829
+ merged: z.boolean().describe("Whether the merge request has been merged"),
4830
+ sha: z.string().describe("The SHA of the merge request"),
4831
+ web_url: z.string().describe("The URL of the merge request"),
4832
+ source_branch: z.string().describe("The source branch of the merge request"),
4833
+ target_branch: z.string().describe("The target branch of the merge request"),
4834
+ source_sha: z.string().describe("The source SHA of the merge request"),
4835
+ target_sha: z.string().describe("The target SHA of the merge request").optional(),
4836
+ diff_refs: z.object({
4837
+ base_sha: z.string().describe("The base SHA of the merge request"),
4838
+ head_sha: z.string().describe("The head SHA of the merge request"),
4839
+ }),
4840
+ author: z.object({
4841
+ id: z.number().describe("The ID of the author"),
4842
+ name: z.string().describe("The name of the author"),
4843
+ username: z.string().describe("The username of the author"),
4844
+ }),
4845
+ }),
4846
+ changes: z
4847
+ .array(z.object({
4848
+ old_path: z.string().describe("The old path of the change"),
4849
+ new_path: z.string().describe("The new path of the change"),
4850
+ new_file: z.boolean().describe("Whether the change is a new file"),
4851
+ renamed_file: z.boolean().describe("Whether the change is a renamed file"),
4852
+ deleted_file: z.boolean().describe("Whether the change is a deleted file"),
4853
+ diff: z.string().describe("The diff of the change"),
4854
+ }))
4855
+ .describe("A list of changes in the merge request"),
4856
+ commits: z
4857
+ .array(z.object({
4858
+ id: z.string().describe("The full SHA of the commit"),
4859
+ title: z.string().describe("The title of the commit"),
4860
+ message: z.string().describe("The message of the commit"),
4861
+ author_name: z.string().describe("The name of the commit author"),
4862
+ author_email: z.string().describe("The email of the commit author"),
4863
+ created_at: z.string().describe("The date/time the commit was created"),
4864
+ }))
4865
+ .describe("A list of commits in the merge request"),
4866
+ }))
4867
+ .describe("The results of the merge request")
4868
+ .optional(),
4869
+ });
4813
4870
  export const gitlabListDirectoryParamsSchema = z.object({
4814
4871
  group: z.string().describe('The group or namespace that owns the project (e.g., "my-group" or "org/subgroup")'),
4815
4872
  project: z.string().describe('The name of the GitLab project (e.g., "my-repo")'),
@@ -21,7 +21,6 @@ const scrapeUrl = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, a
21
21
  params.formats.length > 0 && {
22
22
  formats: params.formats,
23
23
  })), { zeroDataRetention: true }));
24
- console.log("Result is: ", result);
25
24
  // Extract content based on requested formats
26
25
  let content = "";
27
26
  if (params.formats && params.formats.length > 0) {
@@ -0,0 +1,3 @@
1
+ import type { gitlabGetMergeRequestFunction } from "../../autogen/types.js";
2
+ export declare const getMergeRequestContent: gitlabGetMergeRequestFunction;
3
+ export default getMergeRequestContent;
@@ -0,0 +1,102 @@
1
+ // ============================================================================
2
+ // TYPES
3
+ // ============================================================================
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ // ============================================================================
14
+ // IMPLEMENTATION
15
+ // ============================================================================
16
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
17
+ import { getProjectPath } from "./utils.js";
18
+ const GITLAB_API_URL = "https://gitlab.com";
19
+ function gitlabFetch(url, authToken) {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const res = yield fetch(url, {
22
+ headers: { Authorization: `Bearer ${authToken}` },
23
+ });
24
+ if (!res.ok) {
25
+ throw new Error(`GitLab API error: ${res.status} ${res.statusText}`);
26
+ }
27
+ return res.json();
28
+ });
29
+ }
30
+ export const getMergeRequestContent = (_a) => __awaiter(void 0, [_a], void 0, function* ({ params, authParams, }) {
31
+ var _b, _c, _d, _e, _f;
32
+ const { authToken, baseUrl } = authParams;
33
+ const gitlabBaseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : GITLAB_API_URL;
34
+ if (!authToken) {
35
+ return { success: false, error: MISSING_AUTH_TOKEN };
36
+ }
37
+ const { project_id, mr_iid } = params;
38
+ // --------------------------------------------------------------------------
39
+ // 1. Fetch MR metadata
40
+ // --------------------------------------------------------------------------
41
+ const mrUrl = `${gitlabBaseUrl}/api/v4/projects/${project_id}/merge_requests/${mr_iid}`;
42
+ const mr = yield gitlabFetch(mrUrl, authToken);
43
+ const projectPath = yield getProjectPath(project_id, authToken, `${gitlabBaseUrl}/api/v4`);
44
+ const webUrl = (_b = mr.web_url) !== null && _b !== void 0 ? _b : `${gitlabBaseUrl}/${projectPath}/-/merge_requests/${mr_iid}`;
45
+ const metadata = {
46
+ iid: mr.iid,
47
+ id: mr.id,
48
+ project_id: mr.project_id,
49
+ title: mr.title,
50
+ description: (_c = mr.description) !== null && _c !== void 0 ? _c : "",
51
+ state: mr.state,
52
+ merged: mr.merged,
53
+ sha: mr.sha,
54
+ diff_refs: mr.diff_refs,
55
+ author: mr.author,
56
+ web_url: webUrl,
57
+ source_branch: mr.source_branch,
58
+ target_branch: mr.target_branch,
59
+ source_sha: (_e = (_d = mr.diff_refs) === null || _d === void 0 ? void 0 : _d.head_sha) !== null && _e !== void 0 ? _e : mr.sha,
60
+ target_sha: (_f = mr.diff_refs) === null || _f === void 0 ? void 0 : _f.base_sha,
61
+ };
62
+ // --------------------------------------------------------------------------
63
+ // 2. Fetch MR changes
64
+ // --------------------------------------------------------------------------
65
+ const changesUrl = `${gitlabBaseUrl}/api/v4/projects/${project_id}/merge_requests/${mr_iid}/changes`;
66
+ const changesData = yield gitlabFetch(changesUrl, authToken);
67
+ const changes = changesData.changes.map(c => ({
68
+ old_path: c.old_path,
69
+ new_path: c.new_path,
70
+ new_file: c.new_file,
71
+ renamed_file: c.renamed_file,
72
+ deleted_file: c.deleted_file,
73
+ diff: c.diff,
74
+ }));
75
+ // --------------------------------------------------------------------------
76
+ // 3. Fetch MR commits
77
+ // --------------------------------------------------------------------------
78
+ const commitsUrl = `${gitlabBaseUrl}/api/v4/projects/${project_id}/merge_requests/${mr_iid}/commits`;
79
+ const commitsData = yield gitlabFetch(commitsUrl, authToken);
80
+ const commits = commitsData.map(c => ({
81
+ id: c.id,
82
+ title: c.title,
83
+ message: c.message,
84
+ author_name: c.author_name,
85
+ author_email: c.author_email,
86
+ created_at: c.created_at,
87
+ }));
88
+ // --------------------------------------------------------------------------
89
+ // Return final structured result
90
+ // --------------------------------------------------------------------------
91
+ return {
92
+ success: true,
93
+ results: [
94
+ {
95
+ metadata,
96
+ changes,
97
+ commits,
98
+ },
99
+ ],
100
+ };
101
+ });
102
+ export default getMergeRequestContent;
@@ -195,7 +195,6 @@ export function getUserEmailFromAccountId(accountId, client) {
195
195
  return undefined;
196
196
  try {
197
197
  const userEmail = yield client.users.getUser({ accountId });
198
- console.log("USER EMAIL: ", userEmail);
199
198
  return userEmail.emailAddress;
200
199
  }
201
200
  catch (error) {
@@ -18,7 +18,7 @@ const addCommentToTicket = (_a) => __awaiter(void 0, [_a], void 0, function* ({
18
18
  }
19
19
  const axiosClient = createAxiosClientWithRetries({ timeout: 20000, retryCount: 5 });
20
20
  try {
21
- const response = yield axiosClient.request({
21
+ yield axiosClient.request({
22
22
  url: url,
23
23
  method: "PUT",
24
24
  headers: {
@@ -34,7 +34,6 @@ const addCommentToTicket = (_a) => __awaiter(void 0, [_a], void 0, function* ({
34
34
  },
35
35
  },
36
36
  });
37
- console.log(response.data);
38
37
  return {
39
38
  success: true,
40
39
  ticketUrl: `https://${subdomain}.zendesk.com/agent/tickets/${ticketId}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.161",
3
+ "version": "0.2.162",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,