@credal/actions 0.2.219 → 0.2.221
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 +38 -1
- package/dist/actions/autogen/templates.d.ts +5 -0
- package/dist/actions/autogen/templates.js +311 -0
- package/dist/actions/autogen/types.d.ts +282 -1
- package/dist/actions/autogen/types.js +110 -0
- package/dist/actions/providers/confluenceDataCenter/createPage.d.ts +3 -0
- package/dist/actions/providers/confluenceDataCenter/createPage.js +40 -0
- package/dist/actions/providers/github/searchRepository.js +7 -7
- package/dist/actions/providers/jira/getJiraDCIssuesByQuery.js +3 -1
- package/dist/actions/providers/jira/getJiraIssuesByQuery.js +3 -1
- package/dist/actions/providers/smartsheet/addRowToSheet.d.ts +3 -0
- package/dist/actions/providers/smartsheet/addRowToSheet.js +34 -0
- package/dist/actions/providers/smartsheet/getSheetRows.d.ts +3 -0
- package/dist/actions/providers/smartsheet/getSheetRows.js +48 -0
- package/dist/actions/providers/smartsheet/listSheets.d.ts +3 -0
- package/dist/actions/providers/smartsheet/listSheets.js +26 -0
- package/dist/actions/providers/smartsheet/updateRow.d.ts +3 -0
- package/dist/actions/providers/smartsheet/updateRow.js +34 -0
- package/dist/actions/providers/smartsheet/utils.d.ts +33 -0
- package/dist/actions/providers/smartsheet/utils.js +45 -0
- package/package.json +2 -2
- package/dist/actions/providers/ashby/addCandidateToProject.d.ts +0 -3
- package/dist/actions/providers/ashby/addCandidateToProject.js +0 -31
- package/dist/actions/providers/ashby/createCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/createCandidate.js +0 -38
- package/dist/actions/providers/ashby/createNote.d.ts +0 -3
- package/dist/actions/providers/ashby/createNote.js +0 -31
- package/dist/actions/providers/ashby/getCandidateInfo.d.ts +0 -3
- package/dist/actions/providers/ashby/getCandidateInfo.js +0 -33
- package/dist/actions/providers/ashby/listCandidateNotes.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidateNotes.js +0 -33
- package/dist/actions/providers/ashby/listCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/listCandidates.js +0 -30
- package/dist/actions/providers/ashby/searchCandidates.d.ts +0 -3
- package/dist/actions/providers/ashby/searchCandidates.js +0 -34
- package/dist/actions/providers/ashby/updateCandidate.d.ts +0 -3
- package/dist/actions/providers/ashby/updateCandidate.js +0 -56
- package/dist/actions/providers/gong/getGongTranscripts.d.ts +0 -3
- package/dist/actions/providers/gong/getGongTranscripts.js +0 -315
- package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.d.ts +0 -3
- package/dist/actions/providers/google-oauth/listFilesWithAssignedComments.js +0 -41
- package/dist/actions/providers/jamf/getJamfComputerInventory.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfComputerInventory.js +0 -37
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfFileVaultRecoveryKey.js +0 -39
- package/dist/actions/providers/jamf/getJamfUserComputerId.d.ts +0 -3
- package/dist/actions/providers/jamf/getJamfUserComputerId.js +0 -45
- package/dist/actions/providers/jamf/lockJamfComputerById.d.ts +0 -3
- package/dist/actions/providers/jamf/lockJamfComputerById.js +0 -39
- package/dist/actions/providers/jira/updateServiceDeskRequest.d.ts +0 -3
- package/dist/actions/providers/jira/updateServiceDeskRequest.js +0 -72
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.d.ts +0 -3
- package/dist/actions/providers/kandji/getFVRecoveryKeyForDevice.js +0 -85
- package/dist/actions/providers/microsoft/sendOutlookEmail.d.ts +0 -3
- package/dist/actions/providers/microsoft/sendOutlookEmail.js +0 -48
- package/dist/actions/providers/okta/addUserToGroup.d.ts +0 -3
- package/dist/actions/providers/okta/addUserToGroup.js +0 -56
- package/dist/actions/providers/okta/getOktaGroup.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaGroup.js +0 -73
- package/dist/actions/providers/okta/getOktaUser.d.ts +0 -3
- package/dist/actions/providers/okta/getOktaUser.js +0 -40
- package/dist/actions/providers/okta/listMFA.d.ts +0 -3
- package/dist/actions/providers/okta/listMFA.js +0 -52
- package/dist/actions/providers/okta/listOktaGroupMembers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroupMembers.js +0 -99
- package/dist/actions/providers/okta/listOktaGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaGroups.js +0 -92
- package/dist/actions/providers/okta/listOktaUserGroups.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUserGroups.js +0 -83
- package/dist/actions/providers/okta/listOktaUsers.d.ts +0 -3
- package/dist/actions/providers/okta/listOktaUsers.js +0 -100
- package/dist/actions/providers/okta/removeUserFromGroup.d.ts +0 -3
- package/dist/actions/providers/okta/removeUserFromGroup.js +0 -56
- package/dist/actions/providers/okta/resetMFA.d.ts +0 -3
- package/dist/actions/providers/okta/resetMFA.js +0 -62
- package/dist/actions/providers/okta/resetPassword.d.ts +0 -3
- package/dist/actions/providers/okta/resetPassword.js +0 -57
- package/dist/actions/providers/okta/triggerOktaWorkflow.d.ts +0 -3
- package/dist/actions/providers/okta/triggerOktaWorkflow.js +0 -44
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.d.ts +0 -3
- package/dist/actions/providers/salesforce/fetchSalesforceSchema.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, } from "./autogen/types.js";
|
|
1
|
+
import { genericFillTemplateParamsSchema, genericFillTemplateOutputSchema, confluenceOverwritePageParamsSchema, confluenceOverwritePageOutputSchema, googlemapsValidateAddressOutputSchema, googlemapsValidateAddressParamsSchema, googleOauthCreateNewGoogleDocParamsSchema, googleOauthCreateNewGoogleDocOutputSchema, mathAddOutputSchema, mathAddParamsSchema, mongoInsertMongoDocOutputSchema, mongoInsertMongoDocParamsSchema, slackSendMessageOutputSchema, slackSendMessageParamsSchema, slackGetChannelMessagesOutputSchema, slackGetChannelMessagesParamsSchema, slackCreateChannelParamsSchema, slackCreateChannelOutputSchema, snowflakeGetRowByFieldValueOutputSchema, snowflakeGetRowByFieldValueParamsSchema, zendeskCreateZendeskTicketOutputSchema, zendeskCreateZendeskTicketParamsSchema, zendeskGetTicketDetailsOutputSchema, zendeskGetTicketDetailsParamsSchema, zendeskUpdateTicketStatusOutputSchema, zendeskUpdateTicketStatusParamsSchema, zendeskAddCommentToTicketOutputSchema, zendeskAddCommentToTicketParamsSchema, zendeskAssignTicketOutputSchema, zendeskAssignTicketParamsSchema, zendeskListZendeskTicketsOutputSchema, zendeskListZendeskTicketsParamsSchema, zendeskSearchZendeskByQueryOutputSchema, zendeskSearchZendeskByQueryParamsSchema, jiraAssignJiraTicketParamsSchema, jiraAssignJiraTicketOutputSchema, jiraCommentJiraTicketParamsSchema, jiraCommentJiraTicketOutputSchema, jiraCommentJiraTicketWithMentionsParamsSchema, jiraCommentJiraTicketWithMentionsOutputSchema, jiraCreateJiraTicketParamsSchema, jiraCreateJiraTicketOutputSchema, jiraGetJiraTicketDetailsParamsSchema, jiraGetJiraTicketDetailsOutputSchema, jiraGetJiraTicketHistoryParamsSchema, jiraGetJiraTicketHistoryOutputSchema, jiraMoveJiraTicketToProjectParamsSchema, jiraMoveJiraTicketToProjectOutputSchema, jiraUpdateJiraTicketDetailsParamsSchema, jiraUpdateJiraTicketDetailsOutputSchema, jiraUpdateJiraTicketStatusParamsSchema, jiraUpdateJiraTicketStatusOutputSchema, jiraCreateServiceDeskRequestParamsSchema, jiraCreateServiceDeskRequestOutputSchema, jiraLinkJiraIssuesParamsSchema, jiraLinkJiraIssuesOutputSchema, jiraLinkAndAssignJiraIssuesParamsSchema, jiraLinkAndAssignJiraIssuesOutputSchema, openstreetmapGetLatitudeLongitudeFromLocationParamsSchema, openstreetmapGetLatitudeLongitudeFromLocationOutputSchema, nwsGetForecastForLocationParamsSchema, nwsGetForecastForLocationOutputSchema, googlemapsNearbysearchRestaurantsOutputSchema, googlemapsNearbysearchRestaurantsParamsSchema, firecrawlScrapeUrlOutputSchema, firecrawlScrapeUrlParamsSchema, resendSendEmailOutputSchema, resendSendEmailHtmlParamsSchema, resendSendEmailHtmlOutputSchema, firecrawlScrapeTweetDataWithNitterParamsSchema, firecrawlScrapeTweetDataWithNitterOutputSchema, resendSendEmailParamsSchema, linkedinCreateShareLinkedinPostUrlParamsSchema, linkedinCreateShareLinkedinPostUrlOutputSchema, xCreateShareXPostUrlParamsSchema, xCreateShareXPostUrlOutputSchema, finnhubSymbolLookupParamsSchema, finnhubSymbolLookupOutputSchema, finnhubGetBasicFinancialsParamsSchema, finnhubGetBasicFinancialsOutputSchema, confluenceFetchPageContentParamsSchema, confluenceFetchPageContentOutputSchema, confluenceDataCenterOverwritePageParamsSchema, confluenceDataCenterOverwritePageOutputSchema, confluenceDataCenterCreatePageParamsSchema, confluenceDataCenterCreatePageOutputSchema, confluenceDataCenterFetchPageContentParamsSchema, confluenceDataCenterFetchPageContentOutputSchema, snowflakeRunSnowflakeQueryParamsSchema, snowflakeRunSnowflakeQueryOutputSchema, lookerEnableUserByEmailParamsSchema, lookerEnableUserByEmailOutputSchema, googleOauthUpdateDocParamsSchema, googleOauthUpdateDocOutputSchema, googleOauthAddTextToTopOfDocParamsSchema, googleOauthAddTextToTopOfDocOutputSchema, googleOauthCreateSpreadsheetParamsSchema, googleOauthCreateSpreadsheetOutputSchema, googleOauthGetSpreadsheetMetadataParamsSchema, googleOauthGetSpreadsheetMetadataOutputSchema, googleOauthUpdateSpreadsheetParamsSchema, googleOauthUpdateSpreadsheetOutputSchema, googleOauthAppendRowsToSpreadsheetParamsSchema, googleOauthAppendRowsToSpreadsheetOutputSchema, googleOauthDeleteRowFromSpreadsheetParamsSchema, googleOauthDeleteRowFromSpreadsheetOutputSchema, googleOauthScheduleCalendarMeetingParamsSchema, googleOauthScheduleCalendarMeetingOutputSchema, googleOauthListCalendarsParamsSchema, googleOauthListCalendarsOutputSchema, googleOauthListCalendarEventsParamsSchema, googleOauthListCalendarEventsOutputSchema, googleOauthUpdateCalendarEventParamsSchema, googleOauthUpdateCalendarEventOutputSchema, googleOauthDeleteCalendarEventParamsSchema, googleOauthDeleteCalendarEventOutputSchema, googleOauthEditAGoogleCalendarEventParamsSchema, googleOauthEditAGoogleCalendarEventOutputSchema, googleOauthCreatePresentationParamsSchema, googleOauthCreatePresentationOutputSchema, googleOauthUpdatePresentationParamsSchema, googleOauthUpdatePresentationOutputSchema, googleOauthGetPresentationParamsSchema, googleOauthGetPresentationOutputSchema, googleOauthSearchDriveByKeywordsParamsSchema, googleOauthSearchDriveByKeywordsOutputSchema, googleOauthListGroupsOutputSchema, googleOauthListGroupsParamsSchema, googleOauthGetGroupOutputSchema, googleOauthGetGroupParamsSchema, googleOauthListGroupMembersOutputSchema, googleOauthListGroupMembersParamsSchema, googleOauthHasGroupMemberOutputSchema, googleOauthHasGroupMemberParamsSchema, googleOauthAddGroupMemberOutputSchema, googleOauthAddGroupMemberParamsSchema, googleOauthDeleteGroupMemberOutputSchema, googleOauthDeleteGroupMemberParamsSchema, salesforceUpdateRecordParamsSchema, salesforceUpdateRecordOutputSchema, salesforceCreateCaseParamsSchema, salesforceCreateCaseOutputSchema, salesforceGenerateSalesReportParamsSchema, salesforceGenerateSalesReportOutputSchema, salesforceGetRecordParamsSchema, salesforceGetRecordOutputSchema, microsoftMessageTeamsChatParamsSchema, microsoftMessageTeamsChatOutputSchema, microsoftMessageTeamsChannelParamsSchema, microsoftMessageTeamsChannelOutputSchema, salesforceGetSalesforceRecordsByQueryParamsSchema, salesforceGetSalesforceRecordsByQueryOutputSchema, asanaCommentTaskParamsSchema, asanaCommentTaskOutputSchema, asanaCreateTaskParamsSchema, asanaCreateTaskOutputSchema, asanaUpdateTaskParamsSchema, asanaUpdateTaskOutputSchema, githubCreateOrUpdateFileParamsSchema, githubCreateOrUpdateFileOutputSchema, githubCreateBranchParamsSchema, githubCreateBranchOutputSchema, githubCreatePullRequestParamsSchema, githubCreatePullRequestOutputSchema, microsoftUpdateSpreadsheetParamsSchema, microsoftUpdateSpreadsheetOutputSchema, microsoftUpdateDocumentParamsSchema, microsoftUpdateDocumentOutputSchema, microsoftGetDocumentParamsSchema, microsoftGetDocumentOutputSchema, githubListPullRequestsParamsSchema, githubListPullRequestsOutputSchema, jiraGetJiraIssuesByQueryOutputSchema, jiraGetJiraIssuesByQueryParamsSchema, jiraDataCenterGetJiraIssuesByQueryOutputSchema, jiraDataCenterGetJiraIssuesByQueryParamsSchema, salesforceCreateRecordParamsSchema, salesforceCreateRecordOutputSchema, firecrawlDeepResearchParamsSchema, firecrawlDeepResearchOutputSchema, bingGetTopNSearchResultUrlsParamsSchema, bingGetTopNSearchResultUrlsOutputSchema, microsoftCreateDocumentParamsSchema, microsoftCreateDocumentOutputSchema, asanaListAsanaTasksByProjectParamsSchema, asanaListAsanaTasksByProjectOutputSchema, asanaSearchTasksParamsSchema, asanaSearchTasksOutputSchema, asanaGetTasksDetailsParamsSchema, asanaGetTasksDetailsOutputSchema, notionSearchByTitleParamsSchema, notionSearchByTitleOutputSchema, googlemailSearchGmailMessagesOutputSchema, googlemailSearchGmailMessagesParamsSchema, googlemailListGmailThreadsOutputSchema, googlemailListGmailThreadsParamsSchema, gitlabSearchGroupOutputSchema, gitlabSearchGroupParamsSchema, githubSearchOrganizationOutputSchema, githubSearchOrganizationParamsSchema, salesforceSearchSalesforceRecordsParamsSchema, salesforceSearchSalesforceRecordsOutputSchema, googleOauthGetDriveFileContentByIdOutputSchema, googleOauthGetDriveFileContentByIdParamsSchema, googleOauthSearchDriveByQueryOutputSchema, googleOauthSearchDriveByQueryParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentParamsSchema, googleOauthSearchDriveByQueryAndGetFileContentOutputSchema, googleOauthQueryGoogleBigQueryParamsSchema, googleOauthQueryGoogleBigQueryOutputSchema, githubGetFileContentParamsSchema, githubGetFileContentOutputSchema, githubListDirectoryOutputSchema, githubListDirectoryParamsSchema, githubGetBranchParamsSchema, githubGetBranchOutputSchema, githubListCommitsParamsSchema, githubListCommitsOutputSchema, githubGetPullRequestDetailsParamsSchema, githubGetPullRequestDetailsOutputSchema, linearGetIssuesParamsSchema, linearGetIssuesOutputSchema, linearGetIssueDetailsParamsSchema, linearGetIssueDetailsOutputSchema, linearGetProjectDetailsParamsSchema, linearGetProjectDetailsOutputSchema, linearGetTeamDetailsParamsSchema, linearGetTeamDetailsOutputSchema, linearGetProjectsParamsSchema, linearGetProjectsOutputSchema, linearGetTeamsParamsSchema, linearGetTeamsOutputSchema, linearCreateIssueParamsSchema, linearCreateIssueOutputSchema, hubspotGetContactsParamsSchema, hubspotGetContactsOutputSchema, hubspotGetContactDetailsParamsSchema, hubspotGetContactDetailsOutputSchema, hubspotGetCompaniesParamsSchema, hubspotGetCompaniesOutputSchema, hubspotGetCompanyDetailsParamsSchema, hubspotGetCompanyDetailsOutputSchema, hubspotGetDealsParamsSchema, hubspotGetDealsOutputSchema, hubspotGetDealDetailsParamsSchema, hubspotGetDealDetailsOutputSchema, hubspotGetTicketsParamsSchema, hubspotGetTicketsOutputSchema, hubspotGetTicketDetailsParamsSchema, hubspotGetTicketDetailsOutputSchema, gitlabGetFileContentParamsSchema, gitlabGetFileContentOutputSchema, gitlabGetMergeRequestParamsSchema, gitlabGetMergeRequestOutputSchema, jiraPublicCommentOnServiceDeskRequestParamsSchema, jiraPublicCommentOnServiceDeskRequestOutputSchema, googlemailSendGmailParamsSchema, googlemailSendGmailOutputSchema, googlemailReplyToGmailParamsSchema, googlemailReplyToGmailOutputSchema, gitlabListDirectoryParamsSchema, gitlabListDirectoryOutputSchema, firecrawlSearchAndScrapeOutputSchema, firecrawlSearchAndScrapeParamsSchema, firecrawlGetTopNSearchResultUrlsParamsSchema, firecrawlGetTopNSearchResultUrlsOutputSchema, googleOauthSearchDriveByKeywordsAndGetFileContentParamsSchema, googleOauthSearchDriveByKeywordsAndGetFileContentOutputSchema, perplexityPerplexityDeepResearchParamsSchema, perplexityPerplexityDeepResearchOutputSchema, slackUserSearchSlackParamsSchema, slackUserSearchSlackOutputSchema, slackUserSearchSlackRTSParamsSchema, slackUserSearchSlackRTSOutputSchema, oktaOrgGetOktaUserByNameParamsSchema, oktaOrgGetOktaUserByNameOutputSchema, googleSearchCustomSearchParamsSchema, googleSearchCustomSearchOutputSchema, salesforceSearchAllSalesforceRecordsParamsSchema, salesforceSearchAllSalesforceRecordsOutputSchema, salesforceListReportsParamsSchema, salesforceListReportsOutputSchema, salesforceExecuteReportParamsSchema, salesforceExecuteReportOutputSchema, slackSendDmFromBotParamsSchema, slackSendDmFromBotOutputSchema, slackGetChannelMembersParamsSchema, slackGetChannelMembersOutputSchema, salesforceGetReportMetadataParamsSchema, salesforceGetReportMetadataOutputSchema, googleOauthUpdateRowsInSpreadsheetParamsSchema, googleOauthUpdateRowsInSpreadsheetOutputSchema, smartsheetListSheetsParamsSchema, smartsheetListSheetsOutputSchema, smartsheetGetSheetRowsParamsSchema, smartsheetGetSheetRowsOutputSchema, smartsheetAddRowToSheetParamsSchema, smartsheetAddRowToSheetOutputSchema, smartsheetUpdateRowParamsSchema, smartsheetUpdateRowOutputSchema, } from "./autogen/types.js";
|
|
2
2
|
import validateAddress from "./providers/googlemaps/validateAddress.js";
|
|
3
3
|
import add from "./providers/math/add.js";
|
|
4
4
|
import fillTemplate from "./providers/generic/fillTemplate.js";
|
|
@@ -43,6 +43,7 @@ import getBasicFinancials from "./providers/finnhub/getBasicFinancials.js";
|
|
|
43
43
|
import confluenceOverwritePage from "./providers/confluence/overwritePage.js";
|
|
44
44
|
import confluenceFetchPageContent from "./providers/confluence/fetchPageContent.js";
|
|
45
45
|
import confluenceDataCenterOverwritePage from "./providers/confluenceDataCenter/overwritePage.js";
|
|
46
|
+
import confluenceDataCenterCreatePage from "./providers/confluenceDataCenter/createPage.js";
|
|
46
47
|
import confluenceDataCenterFetchPageContent from "./providers/confluenceDataCenter/fetchPageContent.js";
|
|
47
48
|
import runSnowflakeQuery from "./providers/snowflake/runSnowflakeQuery.js";
|
|
48
49
|
import enableUserByEmail from "./providers/looker/enableUserByEmail.js";
|
|
@@ -144,6 +145,10 @@ import searchAllSalesforceRecords from "./providers/salesforce/searchAllSalesfor
|
|
|
144
145
|
import listReports from "./providers/salesforce/listReports.js";
|
|
145
146
|
import getReportMetadata from "./providers/salesforce/getReportMetadata.js";
|
|
146
147
|
import executeReport from "./providers/salesforce/executeReport.js";
|
|
148
|
+
import smartsheetListSheets from "./providers/smartsheet/listSheets.js";
|
|
149
|
+
import smartsheetGetSheetRows from "./providers/smartsheet/getSheetRows.js";
|
|
150
|
+
import smartsheetAddRowToSheet from "./providers/smartsheet/addRowToSheet.js";
|
|
151
|
+
import smartsheetUpdateRow from "./providers/smartsheet/updateRow.js";
|
|
147
152
|
const jiraActions = {
|
|
148
153
|
getJiraIssuesByQuery: {
|
|
149
154
|
fn: getJiraIssuesByQuery,
|
|
@@ -357,6 +362,12 @@ export const ActionMapper = {
|
|
|
357
362
|
outputSchema: confluenceDataCenterOverwritePageOutputSchema,
|
|
358
363
|
actionType: "write",
|
|
359
364
|
},
|
|
365
|
+
createPage: {
|
|
366
|
+
fn: confluenceDataCenterCreatePage,
|
|
367
|
+
paramsSchema: confluenceDataCenterCreatePageParamsSchema,
|
|
368
|
+
outputSchema: confluenceDataCenterCreatePageOutputSchema,
|
|
369
|
+
actionType: "write",
|
|
370
|
+
},
|
|
360
371
|
fetchPageContent: {
|
|
361
372
|
fn: confluenceDataCenterFetchPageContent,
|
|
362
373
|
paramsSchema: confluenceDataCenterFetchPageContentParamsSchema,
|
|
@@ -1122,4 +1133,30 @@ export const ActionMapper = {
|
|
|
1122
1133
|
},
|
|
1123
1134
|
},
|
|
1124
1135
|
boxUser: {},
|
|
1136
|
+
smartsheet: {
|
|
1137
|
+
listSheets: {
|
|
1138
|
+
fn: smartsheetListSheets,
|
|
1139
|
+
paramsSchema: smartsheetListSheetsParamsSchema,
|
|
1140
|
+
outputSchema: smartsheetListSheetsOutputSchema,
|
|
1141
|
+
actionType: "read",
|
|
1142
|
+
},
|
|
1143
|
+
getSheetRows: {
|
|
1144
|
+
fn: smartsheetGetSheetRows,
|
|
1145
|
+
paramsSchema: smartsheetGetSheetRowsParamsSchema,
|
|
1146
|
+
outputSchema: smartsheetGetSheetRowsOutputSchema,
|
|
1147
|
+
actionType: "read",
|
|
1148
|
+
},
|
|
1149
|
+
addRowToSheet: {
|
|
1150
|
+
fn: smartsheetAddRowToSheet,
|
|
1151
|
+
paramsSchema: smartsheetAddRowToSheetParamsSchema,
|
|
1152
|
+
outputSchema: smartsheetAddRowToSheetOutputSchema,
|
|
1153
|
+
actionType: "write",
|
|
1154
|
+
},
|
|
1155
|
+
updateRow: {
|
|
1156
|
+
fn: smartsheetUpdateRow,
|
|
1157
|
+
paramsSchema: smartsheetUpdateRowParamsSchema,
|
|
1158
|
+
outputSchema: smartsheetUpdateRowOutputSchema,
|
|
1159
|
+
actionType: "write",
|
|
1160
|
+
},
|
|
1161
|
+
},
|
|
1125
1162
|
};
|
|
@@ -18,6 +18,7 @@ export declare const mathAddDefinition: ActionTemplate;
|
|
|
18
18
|
export declare const confluenceOverwritePageDefinition: ActionTemplate;
|
|
19
19
|
export declare const confluenceFetchPageContentDefinition: ActionTemplate;
|
|
20
20
|
export declare const confluenceDataCenterOverwritePageDefinition: ActionTemplate;
|
|
21
|
+
export declare const confluenceDataCenterCreatePageDefinition: ActionTemplate;
|
|
21
22
|
export declare const confluenceDataCenterFetchPageContentDefinition: ActionTemplate;
|
|
22
23
|
export declare const jiraAssignJiraTicketDefinition: ActionTemplate;
|
|
23
24
|
export declare const jiraPublicCommentOnServiceDeskRequestDefinition: ActionTemplate;
|
|
@@ -171,3 +172,7 @@ export declare const hubspotGetDealsDefinition: ActionTemplate;
|
|
|
171
172
|
export declare const hubspotGetDealDetailsDefinition: ActionTemplate;
|
|
172
173
|
export declare const hubspotGetTicketsDefinition: ActionTemplate;
|
|
173
174
|
export declare const hubspotGetTicketDetailsDefinition: ActionTemplate;
|
|
175
|
+
export declare const smartsheetListSheetsDefinition: ActionTemplate;
|
|
176
|
+
export declare const smartsheetGetSheetRowsDefinition: ActionTemplate;
|
|
177
|
+
export declare const smartsheetAddRowToSheetDefinition: ActionTemplate;
|
|
178
|
+
export declare const smartsheetUpdateRowDefinition: ActionTemplate;
|
|
@@ -1398,6 +1398,58 @@ export const confluenceDataCenterOverwritePageDefinition = {
|
|
|
1398
1398
|
name: "overwritePage",
|
|
1399
1399
|
provider: "confluenceDataCenter",
|
|
1400
1400
|
};
|
|
1401
|
+
export const confluenceDataCenterCreatePageDefinition = {
|
|
1402
|
+
displayName: "Create a page",
|
|
1403
|
+
description: "Creates a new Confluence Data Center page in the specified space with the given content",
|
|
1404
|
+
scopes: [],
|
|
1405
|
+
tags: [],
|
|
1406
|
+
parameters: {
|
|
1407
|
+
type: "object",
|
|
1408
|
+
required: ["spaceKey", "title", "content"],
|
|
1409
|
+
properties: {
|
|
1410
|
+
spaceKey: {
|
|
1411
|
+
type: "string",
|
|
1412
|
+
description: "The key of the Confluence space to create the page in",
|
|
1413
|
+
},
|
|
1414
|
+
title: {
|
|
1415
|
+
type: "string",
|
|
1416
|
+
description: "The title of the page to create",
|
|
1417
|
+
},
|
|
1418
|
+
content: {
|
|
1419
|
+
type: "string",
|
|
1420
|
+
description: "The content of the page in Confluence storage format (XHTML-based markup)",
|
|
1421
|
+
},
|
|
1422
|
+
parentId: {
|
|
1423
|
+
type: "string",
|
|
1424
|
+
description: "Optional ID of the parent page; if provided, the new page will be created as a child of this page",
|
|
1425
|
+
},
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
output: {
|
|
1429
|
+
type: "object",
|
|
1430
|
+
required: ["success"],
|
|
1431
|
+
properties: {
|
|
1432
|
+
success: {
|
|
1433
|
+
type: "boolean",
|
|
1434
|
+
description: "Whether the page was successfully created",
|
|
1435
|
+
},
|
|
1436
|
+
error: {
|
|
1437
|
+
type: "string",
|
|
1438
|
+
description: "The error that occurred if the page was not successfully created",
|
|
1439
|
+
},
|
|
1440
|
+
pageId: {
|
|
1441
|
+
type: "string",
|
|
1442
|
+
description: "The ID of the newly created page",
|
|
1443
|
+
},
|
|
1444
|
+
pageUrl: {
|
|
1445
|
+
type: "string",
|
|
1446
|
+
description: "The URL of the newly created page",
|
|
1447
|
+
},
|
|
1448
|
+
},
|
|
1449
|
+
},
|
|
1450
|
+
name: "createPage",
|
|
1451
|
+
provider: "confluenceDataCenter",
|
|
1452
|
+
};
|
|
1401
1453
|
export const confluenceDataCenterFetchPageContentDefinition = {
|
|
1402
1454
|
displayName: "Fetch page content",
|
|
1403
1455
|
description: "Fetches content from a Confluence page",
|
|
@@ -2201,6 +2253,13 @@ export const jiraGetJiraIssuesByQueryDefinition = {
|
|
|
2201
2253
|
nullable: true,
|
|
2202
2254
|
format: "date",
|
|
2203
2255
|
},
|
|
2256
|
+
labels: {
|
|
2257
|
+
type: "array",
|
|
2258
|
+
description: "The labels assigned to the issue (empty array if none)",
|
|
2259
|
+
items: {
|
|
2260
|
+
type: "string",
|
|
2261
|
+
},
|
|
2262
|
+
},
|
|
2204
2263
|
},
|
|
2205
2264
|
},
|
|
2206
2265
|
},
|
|
@@ -3069,6 +3128,13 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
|
|
|
3069
3128
|
nullable: true,
|
|
3070
3129
|
format: "date",
|
|
3071
3130
|
},
|
|
3131
|
+
labels: {
|
|
3132
|
+
type: "array",
|
|
3133
|
+
description: "The labels assigned to the issue (empty array if none)",
|
|
3134
|
+
items: {
|
|
3135
|
+
type: "string",
|
|
3136
|
+
},
|
|
3137
|
+
},
|
|
3072
3138
|
},
|
|
3073
3139
|
},
|
|
3074
3140
|
},
|
|
@@ -3925,6 +3991,13 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
|
|
|
3925
3991
|
nullable: true,
|
|
3926
3992
|
format: "date",
|
|
3927
3993
|
},
|
|
3994
|
+
labels: {
|
|
3995
|
+
type: "array",
|
|
3996
|
+
description: "The labels assigned to the issue (empty array if none)",
|
|
3997
|
+
items: {
|
|
3998
|
+
type: "string",
|
|
3999
|
+
},
|
|
4000
|
+
},
|
|
3928
4001
|
},
|
|
3929
4002
|
},
|
|
3930
4003
|
},
|
|
@@ -15216,3 +15289,241 @@ export const hubspotGetTicketDetailsDefinition = {
|
|
|
15216
15289
|
name: "getTicketDetails",
|
|
15217
15290
|
provider: "hubspot",
|
|
15218
15291
|
};
|
|
15292
|
+
export const smartsheetListSheetsDefinition = {
|
|
15293
|
+
displayName: "List Smartsheet sheets",
|
|
15294
|
+
description: "List all Smartsheet sheets the authenticated user has access to. Use this first to find a sheet's sheetId by its name before calling other Smartsheet actions.",
|
|
15295
|
+
scopes: [],
|
|
15296
|
+
tags: [],
|
|
15297
|
+
parameters: {
|
|
15298
|
+
type: "object",
|
|
15299
|
+
required: [],
|
|
15300
|
+
properties: {},
|
|
15301
|
+
},
|
|
15302
|
+
output: {
|
|
15303
|
+
type: "object",
|
|
15304
|
+
required: ["success"],
|
|
15305
|
+
properties: {
|
|
15306
|
+
success: {
|
|
15307
|
+
type: "boolean",
|
|
15308
|
+
description: "Whether the sheets were successfully listed",
|
|
15309
|
+
},
|
|
15310
|
+
error: {
|
|
15311
|
+
type: "string",
|
|
15312
|
+
description: "Error message if the operation failed",
|
|
15313
|
+
},
|
|
15314
|
+
sheets: {
|
|
15315
|
+
type: "array",
|
|
15316
|
+
description: "The sheets the user has access to",
|
|
15317
|
+
items: {
|
|
15318
|
+
type: "object",
|
|
15319
|
+
properties: {
|
|
15320
|
+
id: {
|
|
15321
|
+
type: "string",
|
|
15322
|
+
description: "The sheet ID, passed as sheetId to other Smartsheet actions",
|
|
15323
|
+
},
|
|
15324
|
+
name: {
|
|
15325
|
+
type: "string",
|
|
15326
|
+
description: "The sheet name",
|
|
15327
|
+
},
|
|
15328
|
+
permalink: {
|
|
15329
|
+
type: "string",
|
|
15330
|
+
description: "URL to open the sheet in Smartsheet",
|
|
15331
|
+
},
|
|
15332
|
+
},
|
|
15333
|
+
},
|
|
15334
|
+
},
|
|
15335
|
+
},
|
|
15336
|
+
},
|
|
15337
|
+
name: "listSheets",
|
|
15338
|
+
provider: "smartsheet",
|
|
15339
|
+
};
|
|
15340
|
+
export const smartsheetGetSheetRowsDefinition = {
|
|
15341
|
+
displayName: "Get rows from a Smartsheet sheet",
|
|
15342
|
+
description: "Get the columns and rows of a Smartsheet sheet. Each row's cells are returned as a map keyed by column title. Use this to read a sheet's contents and to discover column titles and row IDs before adding or updating rows.",
|
|
15343
|
+
scopes: [],
|
|
15344
|
+
tags: [],
|
|
15345
|
+
parameters: {
|
|
15346
|
+
type: "object",
|
|
15347
|
+
required: ["sheetId"],
|
|
15348
|
+
properties: {
|
|
15349
|
+
sheetId: {
|
|
15350
|
+
type: "string",
|
|
15351
|
+
description: "The ID of the sheet to read. Obtain this from the listSheets action or from the user; do not guess it.",
|
|
15352
|
+
},
|
|
15353
|
+
},
|
|
15354
|
+
},
|
|
15355
|
+
output: {
|
|
15356
|
+
type: "object",
|
|
15357
|
+
required: ["success"],
|
|
15358
|
+
properties: {
|
|
15359
|
+
success: {
|
|
15360
|
+
type: "boolean",
|
|
15361
|
+
description: "Whether the sheet was successfully retrieved",
|
|
15362
|
+
},
|
|
15363
|
+
error: {
|
|
15364
|
+
type: "string",
|
|
15365
|
+
description: "Error message if the operation failed",
|
|
15366
|
+
},
|
|
15367
|
+
sheet: {
|
|
15368
|
+
type: "object",
|
|
15369
|
+
description: "The sheet's columns and rows",
|
|
15370
|
+
properties: {
|
|
15371
|
+
id: {
|
|
15372
|
+
type: "string",
|
|
15373
|
+
description: "The sheet ID",
|
|
15374
|
+
},
|
|
15375
|
+
name: {
|
|
15376
|
+
type: "string",
|
|
15377
|
+
description: "The sheet name",
|
|
15378
|
+
},
|
|
15379
|
+
permalink: {
|
|
15380
|
+
type: "string",
|
|
15381
|
+
description: "URL to open the sheet in Smartsheet",
|
|
15382
|
+
},
|
|
15383
|
+
columns: {
|
|
15384
|
+
type: "array",
|
|
15385
|
+
description: "The sheet's columns, in display order",
|
|
15386
|
+
items: {
|
|
15387
|
+
type: "object",
|
|
15388
|
+
properties: {
|
|
15389
|
+
id: {
|
|
15390
|
+
type: "string",
|
|
15391
|
+
description: "The column ID",
|
|
15392
|
+
},
|
|
15393
|
+
title: {
|
|
15394
|
+
type: "string",
|
|
15395
|
+
description: "The column title. Use these exact titles as keys in the cells parameter of addRowToSheet and updateRow.",
|
|
15396
|
+
},
|
|
15397
|
+
type: {
|
|
15398
|
+
type: "string",
|
|
15399
|
+
description: "The column type (e.g. TEXT_NUMBER, PICKLIST, DATE, CHECKBOX, CONTACT_LIST)",
|
|
15400
|
+
},
|
|
15401
|
+
options: {
|
|
15402
|
+
type: "array",
|
|
15403
|
+
description: "The valid values for PICKLIST columns",
|
|
15404
|
+
items: {
|
|
15405
|
+
type: "string",
|
|
15406
|
+
},
|
|
15407
|
+
},
|
|
15408
|
+
},
|
|
15409
|
+
},
|
|
15410
|
+
},
|
|
15411
|
+
rows: {
|
|
15412
|
+
type: "array",
|
|
15413
|
+
description: "The sheet's rows",
|
|
15414
|
+
items: {
|
|
15415
|
+
type: "object",
|
|
15416
|
+
properties: {
|
|
15417
|
+
id: {
|
|
15418
|
+
type: "string",
|
|
15419
|
+
description: "The row ID, passed as rowId to the updateRow action",
|
|
15420
|
+
},
|
|
15421
|
+
rowNumber: {
|
|
15422
|
+
type: "number",
|
|
15423
|
+
description: "The row's position in the sheet, starting at 1",
|
|
15424
|
+
},
|
|
15425
|
+
cells: {
|
|
15426
|
+
type: "object",
|
|
15427
|
+
description: "The row's cell values, keyed by column title",
|
|
15428
|
+
additionalProperties: true,
|
|
15429
|
+
},
|
|
15430
|
+
},
|
|
15431
|
+
},
|
|
15432
|
+
},
|
|
15433
|
+
},
|
|
15434
|
+
},
|
|
15435
|
+
},
|
|
15436
|
+
},
|
|
15437
|
+
name: "getSheetRows",
|
|
15438
|
+
provider: "smartsheet",
|
|
15439
|
+
};
|
|
15440
|
+
export const smartsheetAddRowToSheetDefinition = {
|
|
15441
|
+
displayName: "Add a row to a Smartsheet sheet",
|
|
15442
|
+
description: "Add a new row to a Smartsheet sheet. Cell values are provided as a map keyed by column title. Call getSheetRows first to see the sheet's column titles and the valid values for PICKLIST columns.",
|
|
15443
|
+
scopes: [],
|
|
15444
|
+
tags: [],
|
|
15445
|
+
parameters: {
|
|
15446
|
+
type: "object",
|
|
15447
|
+
required: ["sheetId", "cells"],
|
|
15448
|
+
properties: {
|
|
15449
|
+
sheetId: {
|
|
15450
|
+
type: "string",
|
|
15451
|
+
description: "The ID of the sheet to add the row to. Obtain this from the listSheets action or from the user; do not guess it.",
|
|
15452
|
+
},
|
|
15453
|
+
cells: {
|
|
15454
|
+
type: "object",
|
|
15455
|
+
description: 'The new row\'s cell values, keyed by column title exactly as returned by getSheetRows, e.g. {"Task Name": "Review budget", "Status": "In Progress"}. Values may be strings, numbers, or booleans.',
|
|
15456
|
+
additionalProperties: true,
|
|
15457
|
+
},
|
|
15458
|
+
toTop: {
|
|
15459
|
+
type: "boolean",
|
|
15460
|
+
description: "If true, the row is added to the top of the sheet. Defaults to false (added to the bottom).",
|
|
15461
|
+
},
|
|
15462
|
+
},
|
|
15463
|
+
},
|
|
15464
|
+
output: {
|
|
15465
|
+
type: "object",
|
|
15466
|
+
required: ["success"],
|
|
15467
|
+
properties: {
|
|
15468
|
+
success: {
|
|
15469
|
+
type: "boolean",
|
|
15470
|
+
description: "Whether the row was successfully added",
|
|
15471
|
+
},
|
|
15472
|
+
error: {
|
|
15473
|
+
type: "string",
|
|
15474
|
+
description: "Error message if the operation failed",
|
|
15475
|
+
},
|
|
15476
|
+
rowId: {
|
|
15477
|
+
type: "string",
|
|
15478
|
+
description: "The ID of the newly created row",
|
|
15479
|
+
},
|
|
15480
|
+
},
|
|
15481
|
+
},
|
|
15482
|
+
name: "addRowToSheet",
|
|
15483
|
+
provider: "smartsheet",
|
|
15484
|
+
};
|
|
15485
|
+
export const smartsheetUpdateRowDefinition = {
|
|
15486
|
+
displayName: "Update a row in a Smartsheet sheet",
|
|
15487
|
+
description: "Update cell values of an existing row in a Smartsheet sheet. Only the columns included in the cells parameter are changed. Call getSheetRows first to find the row's rowId and the sheet's column titles.",
|
|
15488
|
+
scopes: [],
|
|
15489
|
+
tags: [],
|
|
15490
|
+
parameters: {
|
|
15491
|
+
type: "object",
|
|
15492
|
+
required: ["sheetId", "rowId", "cells"],
|
|
15493
|
+
properties: {
|
|
15494
|
+
sheetId: {
|
|
15495
|
+
type: "string",
|
|
15496
|
+
description: "The ID of the sheet containing the row. Obtain this from the listSheets action or from the user; do not guess it.",
|
|
15497
|
+
},
|
|
15498
|
+
rowId: {
|
|
15499
|
+
type: "string",
|
|
15500
|
+
description: "The ID of the row to update, as returned by the getSheetRows action",
|
|
15501
|
+
},
|
|
15502
|
+
cells: {
|
|
15503
|
+
type: "object",
|
|
15504
|
+
description: 'The cell values to change, keyed by column title exactly as returned by getSheetRows, e.g. {"Status": "Complete"}. Columns not included are left unchanged. Values may be strings, numbers, or booleans.',
|
|
15505
|
+
additionalProperties: true,
|
|
15506
|
+
},
|
|
15507
|
+
},
|
|
15508
|
+
},
|
|
15509
|
+
output: {
|
|
15510
|
+
type: "object",
|
|
15511
|
+
required: ["success"],
|
|
15512
|
+
properties: {
|
|
15513
|
+
success: {
|
|
15514
|
+
type: "boolean",
|
|
15515
|
+
description: "Whether the row was successfully updated",
|
|
15516
|
+
},
|
|
15517
|
+
error: {
|
|
15518
|
+
type: "string",
|
|
15519
|
+
description: "Error message if the operation failed",
|
|
15520
|
+
},
|
|
15521
|
+
rowId: {
|
|
15522
|
+
type: "string",
|
|
15523
|
+
description: "The ID of the updated row",
|
|
15524
|
+
},
|
|
15525
|
+
},
|
|
15526
|
+
},
|
|
15527
|
+
name: "updateRow",
|
|
15528
|
+
provider: "smartsheet",
|
|
15529
|
+
};
|