@credal/actions 0.2.32 → 0.2.34
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 +19 -1
- package/dist/actions/autogen/templates.d.ts +5 -0
- package/dist/actions/autogen/templates.js +377 -0
- package/dist/actions/autogen/types.d.ts +370 -0
- package/dist/actions/autogen/types.js +122 -0
- package/dist/actions/groups.js +3 -1
- package/dist/actions/providers/jira/createServiceDeskRequest.d.ts +3 -0
- package/dist/actions/providers/jira/createServiceDeskRequest.js +54 -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/{jamf/getComputerInventory.js → salesforce/getSalesforceRecordByQuery.js} +14 -16
- package/dist/actions/providers/salesforce/searchSalesforceRecords.d.ts +3 -0
- package/dist/actions/providers/salesforce/searchSalesforceRecords.js +52 -0
- package/package.json +1 -1
- package/dist/actions/providers/google-oauth/listGmailThreads.d.ts +0 -3
- package/dist/actions/providers/google-oauth/listGmailThreads.js +0 -98
- package/dist/actions/providers/google-oauth/searchGmailMessages.d.ts +0 -3
- package/dist/actions/providers/google-oauth/searchGmailMessages.js +0 -91
- package/dist/actions/providers/jamf/getComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getFileVaultRecoveryKey.js +0 -40
- package/dist/actions/providers/jamf/restartJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/restartJamfComputerById.js +0 -37
- package/dist/actions/providers/jamf/types.d.ts +0 -8
- package/dist/actions/providers/jamf/types.js +0 -7
@@ -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, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, } 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,9 @@ 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
|
+
import searchSalesforceRecords from "./providers/salesforce/searchSalesforceRecords.js";
|
113
116
|
const jiraActions = {
|
114
117
|
getJiraIssuesByQuery: {
|
115
118
|
fn: getJiraIssuesByQuery,
|
@@ -151,6 +154,16 @@ const jiraActions = {
|
|
151
154
|
paramsSchema: jiraUpdateJiraTicketStatusParamsSchema,
|
152
155
|
outputSchema: jiraUpdateJiraTicketStatusOutputSchema,
|
153
156
|
},
|
157
|
+
getServiceDesks: {
|
158
|
+
fn: getServiceDesks,
|
159
|
+
paramsSchema: jiraGetServiceDesksParamsSchema,
|
160
|
+
outputSchema: jiraGetServiceDesksOutputSchema,
|
161
|
+
},
|
162
|
+
createServiceDeskRequest: {
|
163
|
+
fn: createServiceDeskRequest,
|
164
|
+
paramsSchema: jiraCreateServiceDeskRequestParamsSchema,
|
165
|
+
outputSchema: jiraCreateServiceDeskRequestOutputSchema,
|
166
|
+
},
|
154
167
|
};
|
155
168
|
export const ActionMapper = {
|
156
169
|
generic: {
|
@@ -584,6 +597,11 @@ export const ActionMapper = {
|
|
584
597
|
paramsSchema: salesforceGetRecordParamsSchema,
|
585
598
|
outputSchema: salesforceGetRecordOutputSchema,
|
586
599
|
},
|
600
|
+
searchSalesforceRecords: {
|
601
|
+
fn: searchSalesforceRecords,
|
602
|
+
paramsSchema: salesforceSearchSalesforceRecordsParamsSchema,
|
603
|
+
outputSchema: salesforceSearchSalesforceRecordsOutputSchema,
|
604
|
+
},
|
587
605
|
getSalesforceRecordsByQuery: {
|
588
606
|
fn: getSalesforceRecordsByQuery,
|
589
607
|
paramsSchema: salesforceGetSalesforceRecordsByQueryParamsSchema,
|
@@ -16,6 +16,8 @@ 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;
|
@@ -24,6 +26,8 @@ export declare const jiraGetJiraIssuesByQueryDefinition: ActionTemplate;
|
|
24
26
|
export declare const jiraOrgAssignJiraTicketDefinition: ActionTemplate;
|
25
27
|
export declare const jiraOrgCommentJiraTicketDefinition: ActionTemplate;
|
26
28
|
export declare const jiraOrgCreateJiraTicketDefinition: ActionTemplate;
|
29
|
+
export declare const jiraOrgGetServiceDesksDefinition: ActionTemplate;
|
30
|
+
export declare const jiraOrgCreateServiceDeskRequestDefinition: ActionTemplate;
|
27
31
|
export declare const jiraOrgGetJiraTicketDetailsDefinition: ActionTemplate;
|
28
32
|
export declare const jiraOrgGetJiraTicketHistoryDefinition: ActionTemplate;
|
29
33
|
export declare const jiraOrgUpdateJiraTicketDetailsDefinition: ActionTemplate;
|
@@ -99,6 +103,7 @@ export declare const salesforceUpdateRecordDefinition: ActionTemplate;
|
|
99
103
|
export declare const salesforceCreateRecordDefinition: ActionTemplate;
|
100
104
|
export declare const salesforceCreateCaseDefinition: ActionTemplate;
|
101
105
|
export declare const salesforceGenerateSalesReportDefinition: ActionTemplate;
|
106
|
+
export declare const salesforceSearchSalesforceRecordsDefinition: ActionTemplate;
|
102
107
|
export declare const salesforceGetSalesforceRecordsByQueryDefinition: ActionTemplate;
|
103
108
|
export declare const salesforceGetRecordDefinition: ActionTemplate;
|
104
109
|
export declare const salesforceFetchSalesforceSchemaByObjectDefinition: ActionTemplate;
|
@@ -880,6 +880,157 @@ export const jiraCreateJiraTicketDefinition = {
|
|
880
880
|
name: "createJiraTicket",
|
881
881
|
provider: "jira",
|
882
882
|
};
|
883
|
+
export const jiraGetServiceDesksDefinition = {
|
884
|
+
description: "Get the service desks for a Jira instance",
|
885
|
+
scopes: [],
|
886
|
+
parameters: {
|
887
|
+
type: "object",
|
888
|
+
required: [],
|
889
|
+
properties: {},
|
890
|
+
},
|
891
|
+
output: {
|
892
|
+
type: "object",
|
893
|
+
required: ["success"],
|
894
|
+
properties: {
|
895
|
+
success: {
|
896
|
+
type: "boolean",
|
897
|
+
description: "Whether the service desks were retrieved successfully",
|
898
|
+
},
|
899
|
+
error: {
|
900
|
+
type: "string",
|
901
|
+
description: "The error that occurred if the service desks were not retrieved successfully",
|
902
|
+
},
|
903
|
+
serviceDesks: {
|
904
|
+
type: "array",
|
905
|
+
description: "The list of service desks",
|
906
|
+
items: {
|
907
|
+
type: "object",
|
908
|
+
description: "A service desk",
|
909
|
+
properties: {
|
910
|
+
id: {
|
911
|
+
type: "string",
|
912
|
+
description: "The ID of the service desk",
|
913
|
+
},
|
914
|
+
projectId: {
|
915
|
+
type: "string",
|
916
|
+
description: "The ID of the project",
|
917
|
+
},
|
918
|
+
projectKey: {
|
919
|
+
type: "string",
|
920
|
+
description: "The key of the project",
|
921
|
+
},
|
922
|
+
projectName: {
|
923
|
+
type: "string",
|
924
|
+
description: "The name of the service desk",
|
925
|
+
},
|
926
|
+
requestTypes: {
|
927
|
+
type: "array",
|
928
|
+
description: "The list of request types",
|
929
|
+
items: {
|
930
|
+
type: "object",
|
931
|
+
description: "A request type",
|
932
|
+
properties: {
|
933
|
+
id: {
|
934
|
+
type: "string",
|
935
|
+
description: "The ID of the request type",
|
936
|
+
},
|
937
|
+
name: {
|
938
|
+
type: "string",
|
939
|
+
description: "The name of the request type",
|
940
|
+
},
|
941
|
+
description: {
|
942
|
+
type: "string",
|
943
|
+
description: "The description of the request type",
|
944
|
+
},
|
945
|
+
issueTypeId: {
|
946
|
+
type: "string",
|
947
|
+
description: "The ID of the issue type",
|
948
|
+
},
|
949
|
+
portalId: {
|
950
|
+
type: "string",
|
951
|
+
description: "The ID of the customer portal",
|
952
|
+
},
|
953
|
+
helpText: {
|
954
|
+
type: "string",
|
955
|
+
description: "The help text for the request type",
|
956
|
+
},
|
957
|
+
serviceDeskId: {
|
958
|
+
type: "string",
|
959
|
+
description: "The ID of the service desk",
|
960
|
+
},
|
961
|
+
canCreateRequest: {
|
962
|
+
type: "boolean",
|
963
|
+
description: "Whether the request type can be created",
|
964
|
+
},
|
965
|
+
},
|
966
|
+
},
|
967
|
+
},
|
968
|
+
},
|
969
|
+
},
|
970
|
+
},
|
971
|
+
},
|
972
|
+
},
|
973
|
+
name: "getServiceDesks",
|
974
|
+
provider: "jira",
|
975
|
+
};
|
976
|
+
export const jiraCreateServiceDeskRequestDefinition = {
|
977
|
+
description: "Create a jira service desk request with specified content",
|
978
|
+
scopes: [],
|
979
|
+
parameters: {
|
980
|
+
type: "object",
|
981
|
+
required: ["serviceDeskId", "requestTypeId", "summary", "description"],
|
982
|
+
properties: {
|
983
|
+
serviceDeskId: {
|
984
|
+
type: "string",
|
985
|
+
description: "The ID of the service desk to create the request in",
|
986
|
+
},
|
987
|
+
requestTypeId: {
|
988
|
+
type: "string",
|
989
|
+
description: "The ID of the request type to use for the new request",
|
990
|
+
},
|
991
|
+
summary: {
|
992
|
+
type: "string",
|
993
|
+
description: "The summary of the new service desk request",
|
994
|
+
},
|
995
|
+
description: {
|
996
|
+
type: "string",
|
997
|
+
description: "The description for the new service desk request",
|
998
|
+
},
|
999
|
+
reporter: {
|
1000
|
+
type: "string",
|
1001
|
+
description: "The email address of the person reporting the issue (for raising on behalf of)",
|
1002
|
+
},
|
1003
|
+
},
|
1004
|
+
},
|
1005
|
+
output: {
|
1006
|
+
type: "object",
|
1007
|
+
required: ["success"],
|
1008
|
+
properties: {
|
1009
|
+
success: {
|
1010
|
+
type: "boolean",
|
1011
|
+
description: "Whether the request was created successfully",
|
1012
|
+
},
|
1013
|
+
error: {
|
1014
|
+
type: "string",
|
1015
|
+
description: "The error that occurred if the request was not created successfully",
|
1016
|
+
},
|
1017
|
+
issueKey: {
|
1018
|
+
type: "string",
|
1019
|
+
description: "The Jira issue key of the created request",
|
1020
|
+
},
|
1021
|
+
webLink: {
|
1022
|
+
type: "string",
|
1023
|
+
description: "The link to the customer portal request, if available",
|
1024
|
+
},
|
1025
|
+
currentStatus: {
|
1026
|
+
type: "string",
|
1027
|
+
description: "The current status of the created request",
|
1028
|
+
},
|
1029
|
+
},
|
1030
|
+
},
|
1031
|
+
name: "createServiceDeskRequest",
|
1032
|
+
provider: "jira",
|
1033
|
+
};
|
883
1034
|
export const jiraGetJiraTicketDetailsDefinition = {
|
884
1035
|
description: "Get details of a ticket in Jira",
|
885
1036
|
scopes: ["read:jira-work"],
|
@@ -1225,6 +1376,157 @@ export const jiraOrgCreateJiraTicketDefinition = {
|
|
1225
1376
|
name: "createJiraTicket",
|
1226
1377
|
provider: "jiraOrg",
|
1227
1378
|
};
|
1379
|
+
export const jiraOrgGetServiceDesksDefinition = {
|
1380
|
+
description: "Get the service desks for a Jira instance",
|
1381
|
+
scopes: [],
|
1382
|
+
parameters: {
|
1383
|
+
type: "object",
|
1384
|
+
required: [],
|
1385
|
+
properties: {},
|
1386
|
+
},
|
1387
|
+
output: {
|
1388
|
+
type: "object",
|
1389
|
+
required: ["success"],
|
1390
|
+
properties: {
|
1391
|
+
success: {
|
1392
|
+
type: "boolean",
|
1393
|
+
description: "Whether the service desks were retrieved successfully",
|
1394
|
+
},
|
1395
|
+
error: {
|
1396
|
+
type: "string",
|
1397
|
+
description: "The error that occurred if the service desks were not retrieved successfully",
|
1398
|
+
},
|
1399
|
+
serviceDesks: {
|
1400
|
+
type: "array",
|
1401
|
+
description: "The list of service desks",
|
1402
|
+
items: {
|
1403
|
+
type: "object",
|
1404
|
+
description: "A service desk",
|
1405
|
+
properties: {
|
1406
|
+
id: {
|
1407
|
+
type: "string",
|
1408
|
+
description: "The ID of the service desk",
|
1409
|
+
},
|
1410
|
+
projectId: {
|
1411
|
+
type: "string",
|
1412
|
+
description: "The ID of the project",
|
1413
|
+
},
|
1414
|
+
projectKey: {
|
1415
|
+
type: "string",
|
1416
|
+
description: "The key of the project",
|
1417
|
+
},
|
1418
|
+
projectName: {
|
1419
|
+
type: "string",
|
1420
|
+
description: "The name of the service desk",
|
1421
|
+
},
|
1422
|
+
requestTypes: {
|
1423
|
+
type: "array",
|
1424
|
+
description: "The list of request types",
|
1425
|
+
items: {
|
1426
|
+
type: "object",
|
1427
|
+
description: "A request type",
|
1428
|
+
properties: {
|
1429
|
+
id: {
|
1430
|
+
type: "string",
|
1431
|
+
description: "The ID of the request type",
|
1432
|
+
},
|
1433
|
+
name: {
|
1434
|
+
type: "string",
|
1435
|
+
description: "The name of the request type",
|
1436
|
+
},
|
1437
|
+
description: {
|
1438
|
+
type: "string",
|
1439
|
+
description: "The description of the request type",
|
1440
|
+
},
|
1441
|
+
issueTypeId: {
|
1442
|
+
type: "string",
|
1443
|
+
description: "The ID of the issue type",
|
1444
|
+
},
|
1445
|
+
portalId: {
|
1446
|
+
type: "string",
|
1447
|
+
description: "The ID of the customer portal",
|
1448
|
+
},
|
1449
|
+
helpText: {
|
1450
|
+
type: "string",
|
1451
|
+
description: "The help text for the request type",
|
1452
|
+
},
|
1453
|
+
serviceDeskId: {
|
1454
|
+
type: "string",
|
1455
|
+
description: "The ID of the service desk",
|
1456
|
+
},
|
1457
|
+
canCreateRequest: {
|
1458
|
+
type: "boolean",
|
1459
|
+
description: "Whether the request type can be created",
|
1460
|
+
},
|
1461
|
+
},
|
1462
|
+
},
|
1463
|
+
},
|
1464
|
+
},
|
1465
|
+
},
|
1466
|
+
},
|
1467
|
+
},
|
1468
|
+
},
|
1469
|
+
name: "getServiceDesks",
|
1470
|
+
provider: "jiraOrg",
|
1471
|
+
};
|
1472
|
+
export const jiraOrgCreateServiceDeskRequestDefinition = {
|
1473
|
+
description: "Create a jira service desk request with specified content",
|
1474
|
+
scopes: [],
|
1475
|
+
parameters: {
|
1476
|
+
type: "object",
|
1477
|
+
required: ["serviceDeskId", "requestTypeId", "summary", "description"],
|
1478
|
+
properties: {
|
1479
|
+
serviceDeskId: {
|
1480
|
+
type: "string",
|
1481
|
+
description: "The ID of the service desk to create the request in",
|
1482
|
+
},
|
1483
|
+
requestTypeId: {
|
1484
|
+
type: "string",
|
1485
|
+
description: "The ID of the request type to use for the new request",
|
1486
|
+
},
|
1487
|
+
summary: {
|
1488
|
+
type: "string",
|
1489
|
+
description: "The summary of the new service desk request",
|
1490
|
+
},
|
1491
|
+
description: {
|
1492
|
+
type: "string",
|
1493
|
+
description: "The description for the new service desk request",
|
1494
|
+
},
|
1495
|
+
reporter: {
|
1496
|
+
type: "string",
|
1497
|
+
description: "The email address of the person reporting the issue (for raising on behalf of)",
|
1498
|
+
},
|
1499
|
+
},
|
1500
|
+
},
|
1501
|
+
output: {
|
1502
|
+
type: "object",
|
1503
|
+
required: ["success"],
|
1504
|
+
properties: {
|
1505
|
+
success: {
|
1506
|
+
type: "boolean",
|
1507
|
+
description: "Whether the request was created successfully",
|
1508
|
+
},
|
1509
|
+
error: {
|
1510
|
+
type: "string",
|
1511
|
+
description: "The error that occurred if the request was not created successfully",
|
1512
|
+
},
|
1513
|
+
issueKey: {
|
1514
|
+
type: "string",
|
1515
|
+
description: "The Jira issue key of the created request",
|
1516
|
+
},
|
1517
|
+
webLink: {
|
1518
|
+
type: "string",
|
1519
|
+
description: "The link to the customer portal request, if available",
|
1520
|
+
},
|
1521
|
+
currentStatus: {
|
1522
|
+
type: "string",
|
1523
|
+
description: "The current status of the created request",
|
1524
|
+
},
|
1525
|
+
},
|
1526
|
+
},
|
1527
|
+
name: "createServiceDeskRequest",
|
1528
|
+
provider: "jiraOrg",
|
1529
|
+
};
|
1228
1530
|
export const jiraOrgGetJiraTicketDetailsDefinition = {
|
1229
1531
|
description: "Get details of a ticket in Jira",
|
1230
1532
|
scopes: ["read:jira-work"],
|
@@ -8077,6 +8379,81 @@ export const salesforceGenerateSalesReportDefinition = {
|
|
8077
8379
|
name: "generateSalesReport",
|
8078
8380
|
provider: "salesforce",
|
8079
8381
|
};
|
8382
|
+
export const salesforceSearchSalesforceRecordsDefinition = {
|
8383
|
+
description: "Search for Salesforce records by keyword",
|
8384
|
+
scopes: [],
|
8385
|
+
parameters: {
|
8386
|
+
type: "object",
|
8387
|
+
required: ["keyword", "recordType", "fieldsToSearch"],
|
8388
|
+
properties: {
|
8389
|
+
keyword: {
|
8390
|
+
type: "string",
|
8391
|
+
description: "The keyword to search for",
|
8392
|
+
},
|
8393
|
+
recordType: {
|
8394
|
+
type: "string",
|
8395
|
+
description: "The type of record to search for",
|
8396
|
+
},
|
8397
|
+
fieldsToSearch: {
|
8398
|
+
type: "array",
|
8399
|
+
description: "The fields to search for the keyword",
|
8400
|
+
items: {
|
8401
|
+
type: "string",
|
8402
|
+
},
|
8403
|
+
},
|
8404
|
+
limit: {
|
8405
|
+
type: "number",
|
8406
|
+
description: "The maximum number of records to return",
|
8407
|
+
},
|
8408
|
+
},
|
8409
|
+
},
|
8410
|
+
output: {
|
8411
|
+
type: "object",
|
8412
|
+
required: ["success"],
|
8413
|
+
properties: {
|
8414
|
+
success: {
|
8415
|
+
type: "boolean",
|
8416
|
+
description: "Whether the records were successfully retrieved",
|
8417
|
+
},
|
8418
|
+
searchRecords: {
|
8419
|
+
type: "array",
|
8420
|
+
description: "The records that match the search",
|
8421
|
+
items: {
|
8422
|
+
type: "object",
|
8423
|
+
description: "A record from Salesforce",
|
8424
|
+
properties: {
|
8425
|
+
id: {
|
8426
|
+
type: "string",
|
8427
|
+
description: "The Salesforce record ID",
|
8428
|
+
},
|
8429
|
+
attributes: {
|
8430
|
+
type: "object",
|
8431
|
+
description: "Metadata about the Salesforce record",
|
8432
|
+
properties: {
|
8433
|
+
type: {
|
8434
|
+
type: "string",
|
8435
|
+
description: "The Salesforce object type",
|
8436
|
+
},
|
8437
|
+
url: {
|
8438
|
+
type: "string",
|
8439
|
+
description: "The Salesforce record URL",
|
8440
|
+
},
|
8441
|
+
},
|
8442
|
+
required: ["type", "url"],
|
8443
|
+
additionalProperties: true,
|
8444
|
+
},
|
8445
|
+
},
|
8446
|
+
},
|
8447
|
+
},
|
8448
|
+
error: {
|
8449
|
+
type: "string",
|
8450
|
+
description: "The error that occurred if the records were not successfully retrieved",
|
8451
|
+
},
|
8452
|
+
},
|
8453
|
+
},
|
8454
|
+
name: "searchSalesforceRecords",
|
8455
|
+
provider: "salesforce",
|
8456
|
+
};
|
8080
8457
|
export const salesforceGetSalesforceRecordsByQueryDefinition = {
|
8081
8458
|
description: "Retrieve Salesforce records by SOQL query",
|
8082
8459
|
scopes: [],
|