@credal/actions 0.2.31 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actionMapper.js +57 -43
- package/dist/actions/autogen/definitions.d.ts +5 -0
- package/dist/actions/autogen/definitions.js +132 -0
- package/dist/actions/autogen/templates.d.ts +12 -0
- package/dist/actions/autogen/templates.js +647 -0
- package/dist/actions/autogen/types.d.ts +535 -0
- package/dist/actions/autogen/types.js +188 -0
- package/dist/actions/definitions.js +35 -0
- package/dist/actions/groups.js +16 -1
- package/dist/actions/invokeMapper.d.ts +9 -0
- package/dist/actions/invokeMapper.js +33 -0
- package/dist/actions/providers/confluence/updatePage.js +9 -13
- package/dist/actions/providers/google-oauth/getSheetValue.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getSheetValue.js +50 -0
- package/dist/actions/providers/google-oauth/getSheetValues.d.ts +3 -0
- package/dist/actions/providers/google-oauth/getSheetValues.js +50 -0
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +3 -0
- package/dist/actions/providers/google-oauth/listGmailThreads.js +98 -0
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +3 -0
- package/dist/actions/providers/google-oauth/searchGmailMessages.js +91 -0
- package/dist/actions/providers/googlemaps/nearbysearch.d.ts +3 -0
- package/dist/actions/providers/googlemaps/nearbysearch.js +96 -0
- package/dist/actions/providers/jira/createServiceDeskRequest.d.ts +3 -0
- package/dist/actions/providers/jira/createServiceDeskRequest.js +54 -0
- package/dist/actions/providers/jira/createTicket.d.ts +3 -0
- package/dist/actions/providers/jira/createTicket.js +34 -0
- package/dist/actions/providers/jira/getServiceDesks.d.ts +3 -0
- package/dist/actions/providers/jira/getServiceDesks.js +101 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.d.ts +3 -0
- package/dist/actions/providers/salesforce/getSalesforceRecordByQuery.js +43 -0
- package/dist/actions/providers/slack/listConversations.d.ts +1 -1
- package/dist/actions/providers/slack/list_conversations.d.ts +3 -0
- package/dist/actions/providers/slack/list_conversations.js +60 -0
- package/dist/actions/providers/slack/summarizeChannel.d.ts +3 -0
- package/dist/actions/providers/slack/summarizeChannel.js +51 -0
- package/dist/actions/schema.js +6 -0
- package/dist/actions/types.js +2 -0
- package/dist/main.js +11 -0
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackArchiveChannelParamsSchema, slackArchiveChannelOutputSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, 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, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, 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, } from "./autogen/types.js";
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackArchiveChannelParamsSchema, slackArchiveChannelOutputSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, 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, 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, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, 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, } 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";
|
@@ -110,6 +110,60 @@ import lockJamfComputerById from "./providers/jamf/lockJamfComputerById.js";
|
|
110
110
|
import triggerOktaWorkflow from "./providers/okta/triggerOktaWorkflow.js";
|
111
111
|
import searchGroup from "./providers/gitlab/searchGroup.js";
|
112
112
|
import searchRepository from "./providers/github/searchRepository.js";
|
113
|
+
import getServiceDesks from "./providers/jira/getServiceDesks.js";
|
114
|
+
import createServiceDeskRequest from "./providers/jira/createServiceDeskRequest.js";
|
115
|
+
const jiraActions = {
|
116
|
+
getJiraIssuesByQuery: {
|
117
|
+
fn: getJiraIssuesByQuery,
|
118
|
+
paramsSchema: jiraGetJiraIssuesByQueryParamsSchema,
|
119
|
+
outputSchema: jiraGetJiraIssuesByQueryOutputSchema,
|
120
|
+
},
|
121
|
+
assignJiraTicket: {
|
122
|
+
fn: assignJiraTicket,
|
123
|
+
paramsSchema: jiraAssignJiraTicketParamsSchema,
|
124
|
+
outputSchema: jiraAssignJiraTicketOutputSchema,
|
125
|
+
},
|
126
|
+
commentJiraTicket: {
|
127
|
+
fn: commentJiraTicket,
|
128
|
+
paramsSchema: jiraCommentJiraTicketParamsSchema,
|
129
|
+
outputSchema: jiraCommentJiraTicketOutputSchema,
|
130
|
+
},
|
131
|
+
createJiraTicket: {
|
132
|
+
fn: createJiraTicket,
|
133
|
+
paramsSchema: jiraCreateJiraTicketParamsSchema,
|
134
|
+
outputSchema: jiraCreateJiraTicketOutputSchema,
|
135
|
+
},
|
136
|
+
getJiraTicketDetails: {
|
137
|
+
fn: getJiraTicketDetails,
|
138
|
+
paramsSchema: jiraGetJiraTicketDetailsParamsSchema,
|
139
|
+
outputSchema: jiraGetJiraTicketDetailsOutputSchema,
|
140
|
+
},
|
141
|
+
getJiraTicketHistory: {
|
142
|
+
fn: getJiraTicketHistory,
|
143
|
+
paramsSchema: jiraGetJiraTicketHistoryParamsSchema,
|
144
|
+
outputSchema: jiraGetJiraTicketHistoryOutputSchema,
|
145
|
+
},
|
146
|
+
updateJiraTicketDetails: {
|
147
|
+
fn: updateJiraTicketDetails,
|
148
|
+
paramsSchema: jiraUpdateJiraTicketDetailsParamsSchema,
|
149
|
+
outputSchema: jiraUpdateJiraTicketDetailsOutputSchema,
|
150
|
+
},
|
151
|
+
updateJiraTicketStatus: {
|
152
|
+
fn: updateJiraTicketStatus,
|
153
|
+
paramsSchema: jiraUpdateJiraTicketStatusParamsSchema,
|
154
|
+
outputSchema: jiraUpdateJiraTicketStatusOutputSchema,
|
155
|
+
},
|
156
|
+
getServiceDesks: {
|
157
|
+
fn: getServiceDesks,
|
158
|
+
paramsSchema: jiraGetServiceDesksParamsSchema,
|
159
|
+
outputSchema: jiraGetServiceDesksOutputSchema,
|
160
|
+
},
|
161
|
+
createServiceDeskRequest: {
|
162
|
+
fn: createServiceDeskRequest,
|
163
|
+
paramsSchema: jiraCreateServiceDeskRequestParamsSchema,
|
164
|
+
outputSchema: jiraCreateServiceDeskRequestOutputSchema,
|
165
|
+
},
|
166
|
+
};
|
113
167
|
export const ActionMapper = {
|
114
168
|
generic: {
|
115
169
|
fillTemplate: {
|
@@ -297,48 +351,8 @@ export const ActionMapper = {
|
|
297
351
|
outputSchema: linkedinCreateShareLinkedinPostUrlOutputSchema,
|
298
352
|
},
|
299
353
|
},
|
300
|
-
jira:
|
301
|
-
|
302
|
-
fn: getJiraIssuesByQuery,
|
303
|
-
paramsSchema: jiraGetJiraIssuesByQueryParamsSchema,
|
304
|
-
outputSchema: jiraGetJiraIssuesByQueryOutputSchema,
|
305
|
-
},
|
306
|
-
assignJiraTicket: {
|
307
|
-
fn: assignJiraTicket,
|
308
|
-
paramsSchema: jiraAssignJiraTicketParamsSchema,
|
309
|
-
outputSchema: jiraAssignJiraTicketOutputSchema,
|
310
|
-
},
|
311
|
-
commentJiraTicket: {
|
312
|
-
fn: commentJiraTicket,
|
313
|
-
paramsSchema: jiraCommentJiraTicketParamsSchema,
|
314
|
-
outputSchema: jiraCommentJiraTicketOutputSchema,
|
315
|
-
},
|
316
|
-
createJiraTicket: {
|
317
|
-
fn: createJiraTicket,
|
318
|
-
paramsSchema: jiraCreateJiraTicketParamsSchema,
|
319
|
-
outputSchema: jiraCreateJiraTicketOutputSchema,
|
320
|
-
},
|
321
|
-
getJiraTicketDetails: {
|
322
|
-
fn: getJiraTicketDetails,
|
323
|
-
paramsSchema: jiraGetJiraTicketDetailsParamsSchema,
|
324
|
-
outputSchema: jiraGetJiraTicketDetailsOutputSchema,
|
325
|
-
},
|
326
|
-
getJiraTicketHistory: {
|
327
|
-
fn: getJiraTicketHistory,
|
328
|
-
paramsSchema: jiraGetJiraTicketHistoryParamsSchema,
|
329
|
-
outputSchema: jiraGetJiraTicketHistoryOutputSchema,
|
330
|
-
},
|
331
|
-
updateJiraTicketDetails: {
|
332
|
-
fn: updateJiraTicketDetails,
|
333
|
-
paramsSchema: jiraUpdateJiraTicketDetailsParamsSchema,
|
334
|
-
outputSchema: jiraUpdateJiraTicketDetailsOutputSchema,
|
335
|
-
},
|
336
|
-
updateJiraTicketStatus: {
|
337
|
-
fn: updateJiraTicketStatus,
|
338
|
-
paramsSchema: jiraUpdateJiraTicketStatusParamsSchema,
|
339
|
-
outputSchema: jiraUpdateJiraTicketStatusOutputSchema,
|
340
|
-
},
|
341
|
-
},
|
354
|
+
jira: jiraActions,
|
355
|
+
jiraOrg: jiraActions,
|
342
356
|
openstreetmap: {
|
343
357
|
getLatitudeLongitudeFromLocation: {
|
344
358
|
fn: getLatitudeLongitudeFromLocation,
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ActionTemplate } from "@/actions/parse";
|
2
|
+
export declare const slackSendMessageDefinition: ActionTemplate;
|
3
|
+
export declare const slackListConversationsDefinition: ActionTemplate;
|
4
|
+
export declare const mathAddDefinition: ActionTemplate;
|
5
|
+
export declare const confluenceUpdatePageDefinition: ActionTemplate;
|
@@ -0,0 +1,132 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.confluenceUpdatePageDefinition = exports.mathAddDefinition = exports.slackListConversationsDefinition = exports.slackSendMessageDefinition = void 0;
|
4
|
+
exports.slackSendMessageDefinition = {
|
5
|
+
provider: "slack",
|
6
|
+
name: "send_message",
|
7
|
+
description: "Sends a message to a Slack channel",
|
8
|
+
scopes: ["chat:write"],
|
9
|
+
parameters: {
|
10
|
+
channel: {
|
11
|
+
type: "string",
|
12
|
+
description: "The Slack channel to send the message to (e.g., \\#general, \\#alerts)",
|
13
|
+
required: true,
|
14
|
+
},
|
15
|
+
message: {
|
16
|
+
type: "string",
|
17
|
+
description: "The message content to send to Slack. Can include markdown formatting.",
|
18
|
+
required: true,
|
19
|
+
},
|
20
|
+
},
|
21
|
+
output: {},
|
22
|
+
};
|
23
|
+
exports.slackListConversationsDefinition = {
|
24
|
+
provider: "slack",
|
25
|
+
name: "list_conversations",
|
26
|
+
description: "Lists all conversations in a Slack workspace",
|
27
|
+
scopes: ["channels:read", "groups:read", "im:read", "mpim:read"],
|
28
|
+
authToken: {
|
29
|
+
type: "string",
|
30
|
+
description: "The Slack access token to use",
|
31
|
+
required: true,
|
32
|
+
},
|
33
|
+
parameters: {},
|
34
|
+
output: {
|
35
|
+
channels: {
|
36
|
+
type: "array",
|
37
|
+
description: "A list of channels in Slack",
|
38
|
+
required: true,
|
39
|
+
items: {
|
40
|
+
type: "object",
|
41
|
+
description: "A channel in Slack",
|
42
|
+
required: true,
|
43
|
+
properties: {
|
44
|
+
id: {
|
45
|
+
type: "string",
|
46
|
+
description: "The ID of the channel",
|
47
|
+
required: true,
|
48
|
+
},
|
49
|
+
name: {
|
50
|
+
type: "string",
|
51
|
+
description: "The name of the channel",
|
52
|
+
required: true,
|
53
|
+
},
|
54
|
+
topic: {
|
55
|
+
type: "string",
|
56
|
+
description: "The topic of the channel",
|
57
|
+
required: true,
|
58
|
+
},
|
59
|
+
purpose: {
|
60
|
+
type: "string",
|
61
|
+
description: "The purpose of the channel",
|
62
|
+
required: true,
|
63
|
+
},
|
64
|
+
},
|
65
|
+
},
|
66
|
+
},
|
67
|
+
},
|
68
|
+
};
|
69
|
+
exports.mathAddDefinition = {
|
70
|
+
provider: "math",
|
71
|
+
name: "add",
|
72
|
+
description: "Adds two numbers together",
|
73
|
+
scopes: [],
|
74
|
+
parameters: {
|
75
|
+
a: {
|
76
|
+
type: "number",
|
77
|
+
description: "The first number to add",
|
78
|
+
required: true,
|
79
|
+
},
|
80
|
+
b: {
|
81
|
+
type: "number",
|
82
|
+
description: "The second number to add",
|
83
|
+
required: true,
|
84
|
+
},
|
85
|
+
},
|
86
|
+
output: {
|
87
|
+
result: {
|
88
|
+
type: "number",
|
89
|
+
description: "The sum of the two numbers",
|
90
|
+
required: true,
|
91
|
+
},
|
92
|
+
},
|
93
|
+
};
|
94
|
+
exports.confluenceUpdatePageDefinition = {
|
95
|
+
provider: "confluence",
|
96
|
+
name: "updatePage",
|
97
|
+
description: "Updates a confluence page with the new content specified",
|
98
|
+
scopes: [],
|
99
|
+
authToken: {
|
100
|
+
type: "string",
|
101
|
+
description: "The access token to use for confluence",
|
102
|
+
required: true,
|
103
|
+
},
|
104
|
+
baseUrl: {
|
105
|
+
type: "string",
|
106
|
+
description: "The base url required to access the confluence instance",
|
107
|
+
required: true,
|
108
|
+
},
|
109
|
+
parameters: {
|
110
|
+
pageId: {
|
111
|
+
type: "string",
|
112
|
+
description: "The page id that should be updated",
|
113
|
+
required: true,
|
114
|
+
},
|
115
|
+
title: {
|
116
|
+
type: "string",
|
117
|
+
description: "The title of the page that should be updated",
|
118
|
+
required: true,
|
119
|
+
},
|
120
|
+
username: {
|
121
|
+
type: "string",
|
122
|
+
description: "The username of the person updating the page",
|
123
|
+
required: true,
|
124
|
+
},
|
125
|
+
content: {
|
126
|
+
type: "string",
|
127
|
+
description: "The new content for the page",
|
128
|
+
required: true,
|
129
|
+
},
|
130
|
+
},
|
131
|
+
output: {},
|
132
|
+
};
|
@@ -16,11 +16,23 @@ export declare const confluenceFetchPageContentDefinition: ActionTemplate;
|
|
16
16
|
export declare const jiraAssignJiraTicketDefinition: ActionTemplate;
|
17
17
|
export declare const jiraCommentJiraTicketDefinition: ActionTemplate;
|
18
18
|
export declare const jiraCreateJiraTicketDefinition: ActionTemplate;
|
19
|
+
export declare const jiraGetServiceDesksDefinition: ActionTemplate;
|
20
|
+
export declare const jiraCreateServiceDeskRequestDefinition: ActionTemplate;
|
19
21
|
export declare const jiraGetJiraTicketDetailsDefinition: ActionTemplate;
|
20
22
|
export declare const jiraGetJiraTicketHistoryDefinition: ActionTemplate;
|
21
23
|
export declare const jiraUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
22
24
|
export declare const jiraUpdateJiraTicketStatusDefinition: ActionTemplate;
|
23
25
|
export declare const jiraGetJiraIssuesByQueryDefinition: ActionTemplate;
|
26
|
+
export declare const jiraOrgAssignJiraTicketDefinition: ActionTemplate;
|
27
|
+
export declare const jiraOrgCommentJiraTicketDefinition: ActionTemplate;
|
28
|
+
export declare const jiraOrgCreateJiraTicketDefinition: ActionTemplate;
|
29
|
+
export declare const jiraOrgGetServiceDesksDefinition: ActionTemplate;
|
30
|
+
export declare const jiraOrgCreateServiceDeskRequestDefinition: ActionTemplate;
|
31
|
+
export declare const jiraOrgGetJiraTicketDetailsDefinition: ActionTemplate;
|
32
|
+
export declare const jiraOrgGetJiraTicketHistoryDefinition: ActionTemplate;
|
33
|
+
export declare const jiraOrgUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
34
|
+
export declare const jiraOrgUpdateJiraTicketStatusDefinition: ActionTemplate;
|
35
|
+
export declare const jiraOrgGetJiraIssuesByQueryDefinition: ActionTemplate;
|
24
36
|
export declare const kandjiGetFVRecoveryKeyForDeviceDefinition: ActionTemplate;
|
25
37
|
export declare const googlemapsValidateAddressDefinition: ActionTemplate;
|
26
38
|
export declare const googlemapsNearbysearchRestaurantsDefinition: ActionTemplate;
|