@credal/actions 0.2.220 → 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.
@@ -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, 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, } 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";
@@ -145,6 +145,10 @@ import searchAllSalesforceRecords from "./providers/salesforce/searchAllSalesfor
145
145
  import listReports from "./providers/salesforce/listReports.js";
146
146
  import getReportMetadata from "./providers/salesforce/getReportMetadata.js";
147
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";
148
152
  const jiraActions = {
149
153
  getJiraIssuesByQuery: {
150
154
  fn: getJiraIssuesByQuery,
@@ -1129,4 +1133,30 @@ export const ActionMapper = {
1129
1133
  },
1130
1134
  },
1131
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
+ },
1132
1162
  };
@@ -172,3 +172,7 @@ export declare const hubspotGetDealsDefinition: ActionTemplate;
172
172
  export declare const hubspotGetDealDetailsDefinition: ActionTemplate;
173
173
  export declare const hubspotGetTicketsDefinition: ActionTemplate;
174
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;
@@ -2253,6 +2253,13 @@ export const jiraGetJiraIssuesByQueryDefinition = {
2253
2253
  nullable: true,
2254
2254
  format: "date",
2255
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
+ },
2256
2263
  },
2257
2264
  },
2258
2265
  },
@@ -3121,6 +3128,13 @@ export const jiraOrgGetJiraIssuesByQueryDefinition = {
3121
3128
  nullable: true,
3122
3129
  format: "date",
3123
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
+ },
3124
3138
  },
3125
3139
  },
3126
3140
  },
@@ -3977,6 +3991,13 @@ export const jiraDataCenterGetJiraIssuesByQueryDefinition = {
3977
3991
  nullable: true,
3978
3992
  format: "date",
3979
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
+ },
3980
4001
  },
3981
4002
  },
3982
4003
  },
@@ -15268,3 +15289,241 @@ export const hubspotGetTicketDetailsDefinition = {
15268
15289
  name: "getTicketDetails",
15269
15290
  provider: "hubspot",
15270
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
+ };
@@ -35,6 +35,7 @@ export declare enum ProviderName {
35
35
  GITLAB = "gitlab",
36
36
  LINEAR = "linear",
37
37
  HUBSPOT = "hubspot",
38
+ SMARTSHEET = "smartsheet",
38
39
  BOXUSER = "boxUser"
39
40
  }
40
41
  export declare enum ActionName {
@@ -175,7 +176,11 @@ export declare enum ActionName {
175
176
  GETCOMPANYDETAILS = "getCompanyDetails",
176
177
  GETDEALS = "getDeals",
177
178
  GETDEALDETAILS = "getDealDetails",
178
- GETTICKETS = "getTickets"
179
+ GETTICKETS = "getTickets",
180
+ LISTSHEETS = "listSheets",
181
+ GETSHEETROWS = "getSheetRows",
182
+ ADDROWTOSHEET = "addRowToSheet",
183
+ UPDATEROW = "updateRow"
179
184
  }
180
185
  export type ActionFunction<P, A, O> = (input: {
181
186
  params: P;
@@ -2167,6 +2172,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2167
2172
  updated: z.ZodString;
2168
2173
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2169
2174
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2175
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2170
2176
  }, "strip", z.ZodTypeAny, {
2171
2177
  status: {
2172
2178
  name?: string | undefined;
@@ -2206,6 +2212,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2206
2212
  email?: string | undefined;
2207
2213
  } | null | undefined;
2208
2214
  resolution?: string | null | undefined;
2215
+ labels?: string[] | undefined;
2209
2216
  }, {
2210
2217
  status: {
2211
2218
  name?: string | undefined;
@@ -2245,6 +2252,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2245
2252
  email?: string | undefined;
2246
2253
  } | null | undefined;
2247
2254
  resolution?: string | null | undefined;
2255
+ labels?: string[] | undefined;
2248
2256
  }>;
2249
2257
  }, "strip", z.ZodTypeAny, {
2250
2258
  name: string;
@@ -2288,6 +2296,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2288
2296
  email?: string | undefined;
2289
2297
  } | null | undefined;
2290
2298
  resolution?: string | null | undefined;
2299
+ labels?: string[] | undefined;
2291
2300
  };
2292
2301
  }, {
2293
2302
  name: string;
@@ -2331,6 +2340,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2331
2340
  email?: string | undefined;
2332
2341
  } | null | undefined;
2333
2342
  resolution?: string | null | undefined;
2343
+ labels?: string[] | undefined;
2334
2344
  };
2335
2345
  }>, "many">>;
2336
2346
  error: z.ZodOptional<z.ZodString>;
@@ -2378,6 +2388,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2378
2388
  email?: string | undefined;
2379
2389
  } | null | undefined;
2380
2390
  resolution?: string | null | undefined;
2391
+ labels?: string[] | undefined;
2381
2392
  };
2382
2393
  }[] | undefined;
2383
2394
  nextPageToken?: string | undefined;
@@ -2426,6 +2437,7 @@ export declare const jiraGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2426
2437
  email?: string | undefined;
2427
2438
  } | null | undefined;
2428
2439
  resolution?: string | null | undefined;
2440
+ labels?: string[] | undefined;
2429
2441
  };
2430
2442
  }[] | undefined;
2431
2443
  nextPageToken?: string | undefined;
@@ -2985,6 +2997,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
2985
2997
  updated: z.ZodString;
2986
2998
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
2999
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3000
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2988
3001
  }, "strip", z.ZodTypeAny, {
2989
3002
  status: {
2990
3003
  name?: string | undefined;
@@ -3024,6 +3037,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3024
3037
  email?: string | undefined;
3025
3038
  } | null | undefined;
3026
3039
  resolution?: string | null | undefined;
3040
+ labels?: string[] | undefined;
3027
3041
  }, {
3028
3042
  status: {
3029
3043
  name?: string | undefined;
@@ -3063,6 +3077,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3063
3077
  email?: string | undefined;
3064
3078
  } | null | undefined;
3065
3079
  resolution?: string | null | undefined;
3080
+ labels?: string[] | undefined;
3066
3081
  }>;
3067
3082
  }, "strip", z.ZodTypeAny, {
3068
3083
  name: string;
@@ -3106,6 +3121,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3106
3121
  email?: string | undefined;
3107
3122
  } | null | undefined;
3108
3123
  resolution?: string | null | undefined;
3124
+ labels?: string[] | undefined;
3109
3125
  };
3110
3126
  }, {
3111
3127
  name: string;
@@ -3149,6 +3165,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3149
3165
  email?: string | undefined;
3150
3166
  } | null | undefined;
3151
3167
  resolution?: string | null | undefined;
3168
+ labels?: string[] | undefined;
3152
3169
  };
3153
3170
  }>, "many">>;
3154
3171
  error: z.ZodOptional<z.ZodString>;
@@ -3196,6 +3213,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3196
3213
  email?: string | undefined;
3197
3214
  } | null | undefined;
3198
3215
  resolution?: string | null | undefined;
3216
+ labels?: string[] | undefined;
3199
3217
  };
3200
3218
  }[] | undefined;
3201
3219
  nextPageToken?: string | undefined;
@@ -3244,6 +3262,7 @@ export declare const jiraOrgGetJiraIssuesByQueryOutputSchema: z.ZodObject<{
3244
3262
  email?: string | undefined;
3245
3263
  } | null | undefined;
3246
3264
  resolution?: string | null | undefined;
3265
+ labels?: string[] | undefined;
3247
3266
  };
3248
3267
  }[] | undefined;
3249
3268
  nextPageToken?: string | undefined;
@@ -3798,6 +3817,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3798
3817
  updated: z.ZodString;
3799
3818
  resolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3800
3819
  dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3820
+ labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3801
3821
  }, "strip", z.ZodTypeAny, {
3802
3822
  status: {
3803
3823
  name?: string | undefined;
@@ -3837,6 +3857,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3837
3857
  email?: string | undefined;
3838
3858
  } | null | undefined;
3839
3859
  resolution?: string | null | undefined;
3860
+ labels?: string[] | undefined;
3840
3861
  }, {
3841
3862
  status: {
3842
3863
  name?: string | undefined;
@@ -3876,6 +3897,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3876
3897
  email?: string | undefined;
3877
3898
  } | null | undefined;
3878
3899
  resolution?: string | null | undefined;
3900
+ labels?: string[] | undefined;
3879
3901
  }>;
3880
3902
  }, "strip", z.ZodTypeAny, {
3881
3903
  name: string;
@@ -3919,6 +3941,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3919
3941
  email?: string | undefined;
3920
3942
  } | null | undefined;
3921
3943
  resolution?: string | null | undefined;
3944
+ labels?: string[] | undefined;
3922
3945
  };
3923
3946
  }, {
3924
3947
  name: string;
@@ -3962,6 +3985,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
3962
3985
  email?: string | undefined;
3963
3986
  } | null | undefined;
3964
3987
  resolution?: string | null | undefined;
3988
+ labels?: string[] | undefined;
3965
3989
  };
3966
3990
  }>, "many">>;
3967
3991
  error: z.ZodOptional<z.ZodString>;
@@ -4009,6 +4033,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
4009
4033
  email?: string | undefined;
4010
4034
  } | null | undefined;
4011
4035
  resolution?: string | null | undefined;
4036
+ labels?: string[] | undefined;
4012
4037
  };
4013
4038
  }[] | undefined;
4014
4039
  }, {
@@ -4055,6 +4080,7 @@ export declare const jiraDataCenterGetJiraIssuesByQueryOutputSchema: z.ZodObject
4055
4080
  email?: string | undefined;
4056
4081
  } | null | undefined;
4057
4082
  resolution?: string | null | undefined;
4083
+ labels?: string[] | undefined;
4058
4084
  };
4059
4085
  }[] | undefined;
4060
4086
  }>;
@@ -12136,3 +12162,222 @@ export declare const hubspotGetTicketDetailsOutputSchema: z.ZodObject<{
12136
12162
  }>;
12137
12163
  export type hubspotGetTicketDetailsOutputType = z.infer<typeof hubspotGetTicketDetailsOutputSchema>;
12138
12164
  export type hubspotGetTicketDetailsFunction = ActionFunction<hubspotGetTicketDetailsParamsType, AuthParamsType, hubspotGetTicketDetailsOutputType>;
12165
+ export declare const smartsheetListSheetsParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
12166
+ export type smartsheetListSheetsParamsType = z.infer<typeof smartsheetListSheetsParamsSchema>;
12167
+ export declare const smartsheetListSheetsOutputSchema: z.ZodObject<{
12168
+ success: z.ZodBoolean;
12169
+ error: z.ZodOptional<z.ZodString>;
12170
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
12171
+ id: z.ZodOptional<z.ZodString>;
12172
+ name: z.ZodOptional<z.ZodString>;
12173
+ permalink: z.ZodOptional<z.ZodString>;
12174
+ }, "strip", z.ZodTypeAny, {
12175
+ name?: string | undefined;
12176
+ id?: string | undefined;
12177
+ permalink?: string | undefined;
12178
+ }, {
12179
+ name?: string | undefined;
12180
+ id?: string | undefined;
12181
+ permalink?: string | undefined;
12182
+ }>, "many">>;
12183
+ }, "strip", z.ZodTypeAny, {
12184
+ success: boolean;
12185
+ error?: string | undefined;
12186
+ sheets?: {
12187
+ name?: string | undefined;
12188
+ id?: string | undefined;
12189
+ permalink?: string | undefined;
12190
+ }[] | undefined;
12191
+ }, {
12192
+ success: boolean;
12193
+ error?: string | undefined;
12194
+ sheets?: {
12195
+ name?: string | undefined;
12196
+ id?: string | undefined;
12197
+ permalink?: string | undefined;
12198
+ }[] | undefined;
12199
+ }>;
12200
+ export type smartsheetListSheetsOutputType = z.infer<typeof smartsheetListSheetsOutputSchema>;
12201
+ export type smartsheetListSheetsFunction = ActionFunction<smartsheetListSheetsParamsType, AuthParamsType, smartsheetListSheetsOutputType>;
12202
+ export declare const smartsheetGetSheetRowsParamsSchema: z.ZodObject<{
12203
+ sheetId: z.ZodString;
12204
+ }, "strip", z.ZodTypeAny, {
12205
+ sheetId: string;
12206
+ }, {
12207
+ sheetId: string;
12208
+ }>;
12209
+ export type smartsheetGetSheetRowsParamsType = z.infer<typeof smartsheetGetSheetRowsParamsSchema>;
12210
+ export declare const smartsheetGetSheetRowsOutputSchema: z.ZodObject<{
12211
+ success: z.ZodBoolean;
12212
+ error: z.ZodOptional<z.ZodString>;
12213
+ sheet: z.ZodOptional<z.ZodObject<{
12214
+ id: z.ZodOptional<z.ZodString>;
12215
+ name: z.ZodOptional<z.ZodString>;
12216
+ permalink: z.ZodOptional<z.ZodString>;
12217
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
12218
+ id: z.ZodOptional<z.ZodString>;
12219
+ title: z.ZodOptional<z.ZodString>;
12220
+ type: z.ZodOptional<z.ZodString>;
12221
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12222
+ }, "strip", z.ZodTypeAny, {
12223
+ type?: string | undefined;
12224
+ options?: string[] | undefined;
12225
+ id?: string | undefined;
12226
+ title?: string | undefined;
12227
+ }, {
12228
+ type?: string | undefined;
12229
+ options?: string[] | undefined;
12230
+ id?: string | undefined;
12231
+ title?: string | undefined;
12232
+ }>, "many">>;
12233
+ rows: z.ZodOptional<z.ZodArray<z.ZodObject<{
12234
+ id: z.ZodOptional<z.ZodString>;
12235
+ rowNumber: z.ZodOptional<z.ZodNumber>;
12236
+ cells: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
12237
+ }, "strip", z.ZodTypeAny, {
12238
+ id?: string | undefined;
12239
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12240
+ rowNumber?: number | undefined;
12241
+ }, {
12242
+ id?: string | undefined;
12243
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12244
+ rowNumber?: number | undefined;
12245
+ }>, "many">>;
12246
+ }, "strip", z.ZodTypeAny, {
12247
+ name?: string | undefined;
12248
+ id?: string | undefined;
12249
+ permalink?: string | undefined;
12250
+ rows?: {
12251
+ id?: string | undefined;
12252
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12253
+ rowNumber?: number | undefined;
12254
+ }[] | undefined;
12255
+ columns?: {
12256
+ type?: string | undefined;
12257
+ options?: string[] | undefined;
12258
+ id?: string | undefined;
12259
+ title?: string | undefined;
12260
+ }[] | undefined;
12261
+ }, {
12262
+ name?: string | undefined;
12263
+ id?: string | undefined;
12264
+ permalink?: string | undefined;
12265
+ rows?: {
12266
+ id?: string | undefined;
12267
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12268
+ rowNumber?: number | undefined;
12269
+ }[] | undefined;
12270
+ columns?: {
12271
+ type?: string | undefined;
12272
+ options?: string[] | undefined;
12273
+ id?: string | undefined;
12274
+ title?: string | undefined;
12275
+ }[] | undefined;
12276
+ }>>;
12277
+ }, "strip", z.ZodTypeAny, {
12278
+ success: boolean;
12279
+ error?: string | undefined;
12280
+ sheet?: {
12281
+ name?: string | undefined;
12282
+ id?: string | undefined;
12283
+ permalink?: string | undefined;
12284
+ rows?: {
12285
+ id?: string | undefined;
12286
+ cells?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
12287
+ rowNumber?: number | undefined;
12288
+ }[] | undefined;
12289
+ columns?: {
12290
+ type?: string | undefined;
12291
+ options?: string[] | undefined;
12292
+ id?: string | undefined;
12293
+ title?: string | undefined;
12294
+ }[] | undefined;
12295
+ } | undefined;
12296
+ }, {
12297
+ success: boolean;
12298
+ error?: string | undefined;
12299
+ sheet?: {
12300
+ name?: string | undefined;
12301
+ id?: string | undefined;
12302
+ permalink?: string | undefined;
12303
+ rows?: {
12304
+ id?: string | undefined;
12305
+ cells?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
12306
+ rowNumber?: number | undefined;
12307
+ }[] | undefined;
12308
+ columns?: {
12309
+ type?: string | undefined;
12310
+ options?: string[] | undefined;
12311
+ id?: string | undefined;
12312
+ title?: string | undefined;
12313
+ }[] | undefined;
12314
+ } | undefined;
12315
+ }>;
12316
+ export type smartsheetGetSheetRowsOutputType = z.infer<typeof smartsheetGetSheetRowsOutputSchema>;
12317
+ export type smartsheetGetSheetRowsFunction = ActionFunction<smartsheetGetSheetRowsParamsType, AuthParamsType, smartsheetGetSheetRowsOutputType>;
12318
+ export declare const smartsheetAddRowToSheetParamsSchema: z.ZodObject<{
12319
+ sheetId: z.ZodString;
12320
+ cells: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
12321
+ toTop: z.ZodOptional<z.ZodBoolean>;
12322
+ }, "strip", z.ZodTypeAny, {
12323
+ sheetId: string;
12324
+ cells: {} & {
12325
+ [k: string]: any;
12326
+ };
12327
+ toTop?: boolean | undefined;
12328
+ }, {
12329
+ sheetId: string;
12330
+ cells: {} & {
12331
+ [k: string]: any;
12332
+ };
12333
+ toTop?: boolean | undefined;
12334
+ }>;
12335
+ export type smartsheetAddRowToSheetParamsType = z.infer<typeof smartsheetAddRowToSheetParamsSchema>;
12336
+ export declare const smartsheetAddRowToSheetOutputSchema: z.ZodObject<{
12337
+ success: z.ZodBoolean;
12338
+ error: z.ZodOptional<z.ZodString>;
12339
+ rowId: z.ZodOptional<z.ZodString>;
12340
+ }, "strip", z.ZodTypeAny, {
12341
+ success: boolean;
12342
+ error?: string | undefined;
12343
+ rowId?: string | undefined;
12344
+ }, {
12345
+ success: boolean;
12346
+ error?: string | undefined;
12347
+ rowId?: string | undefined;
12348
+ }>;
12349
+ export type smartsheetAddRowToSheetOutputType = z.infer<typeof smartsheetAddRowToSheetOutputSchema>;
12350
+ export type smartsheetAddRowToSheetFunction = ActionFunction<smartsheetAddRowToSheetParamsType, AuthParamsType, smartsheetAddRowToSheetOutputType>;
12351
+ export declare const smartsheetUpdateRowParamsSchema: z.ZodObject<{
12352
+ sheetId: z.ZodString;
12353
+ rowId: z.ZodString;
12354
+ cells: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
12355
+ }, "strip", z.ZodTypeAny, {
12356
+ sheetId: string;
12357
+ cells: {} & {
12358
+ [k: string]: any;
12359
+ };
12360
+ rowId: string;
12361
+ }, {
12362
+ sheetId: string;
12363
+ cells: {} & {
12364
+ [k: string]: any;
12365
+ };
12366
+ rowId: string;
12367
+ }>;
12368
+ export type smartsheetUpdateRowParamsType = z.infer<typeof smartsheetUpdateRowParamsSchema>;
12369
+ export declare const smartsheetUpdateRowOutputSchema: z.ZodObject<{
12370
+ success: z.ZodBoolean;
12371
+ error: z.ZodOptional<z.ZodString>;
12372
+ rowId: z.ZodOptional<z.ZodString>;
12373
+ }, "strip", z.ZodTypeAny, {
12374
+ success: boolean;
12375
+ error?: string | undefined;
12376
+ rowId?: string | undefined;
12377
+ }, {
12378
+ success: boolean;
12379
+ error?: string | undefined;
12380
+ rowId?: string | undefined;
12381
+ }>;
12382
+ export type smartsheetUpdateRowOutputType = z.infer<typeof smartsheetUpdateRowOutputSchema>;
12383
+ export type smartsheetUpdateRowFunction = ActionFunction<smartsheetUpdateRowParamsType, AuthParamsType, smartsheetUpdateRowOutputType>;
@@ -36,6 +36,7 @@ export var ProviderName;
36
36
  ProviderName["GITLAB"] = "gitlab";
37
37
  ProviderName["LINEAR"] = "linear";
38
38
  ProviderName["HUBSPOT"] = "hubspot";
39
+ ProviderName["SMARTSHEET"] = "smartsheet";
39
40
  ProviderName["BOXUSER"] = "boxUser";
40
41
  })(ProviderName || (ProviderName = {}));
41
42
  export var ActionName;
@@ -178,6 +179,10 @@ export var ActionName;
178
179
  ActionName["GETDEALS"] = "getDeals";
179
180
  ActionName["GETDEALDETAILS"] = "getDealDetails";
180
181
  ActionName["GETTICKETS"] = "getTickets";
182
+ ActionName["LISTSHEETS"] = "listSheets";
183
+ ActionName["GETSHEETROWS"] = "getSheetRows";
184
+ ActionName["ADDROWTOSHEET"] = "addRowToSheet";
185
+ ActionName["UPDATEROW"] = "updateRow";
181
186
  })(ActionName || (ActionName = {}));
182
187
  export const AuthParamsSchema = z.object({
183
188
  authToken: z.string().optional(),
@@ -904,6 +909,7 @@ export const jiraGetJiraIssuesByQueryOutputSchema = z.object({
904
909
  updated: z.string().datetime({ offset: true }),
905
910
  resolution: z.string().nullable().optional(),
906
911
  dueDate: z.string().date().nullable().optional(),
912
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
907
913
  })
908
914
  .describe("The result object containing issues"),
909
915
  }))
@@ -1171,6 +1177,7 @@ export const jiraOrgGetJiraIssuesByQueryOutputSchema = z.object({
1171
1177
  updated: z.string().datetime({ offset: true }),
1172
1178
  resolution: z.string().nullable().optional(),
1173
1179
  dueDate: z.string().date().nullable().optional(),
1180
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
1174
1181
  })
1175
1182
  .describe("The result object containing issues"),
1176
1183
  }))
@@ -1426,6 +1433,7 @@ export const jiraDataCenterGetJiraIssuesByQueryOutputSchema = z.object({
1426
1433
  updated: z.string().datetime({ offset: true }),
1427
1434
  resolution: z.string().nullable().optional(),
1428
1435
  dueDate: z.string().date().nullable().optional(),
1436
+ labels: z.array(z.string()).describe("The labels assigned to the issue (empty array if none)").optional(),
1429
1437
  })
1430
1438
  .describe("The result object containing issues"),
1431
1439
  }))
@@ -5446,3 +5454,89 @@ export const hubspotGetTicketDetailsOutputSchema = z.object({
5446
5454
  .describe("The ticket details")
5447
5455
  .optional(),
5448
5456
  });
5457
+ export const smartsheetListSheetsParamsSchema = z.object({});
5458
+ export const smartsheetListSheetsOutputSchema = z.object({
5459
+ success: z.boolean().describe("Whether the sheets were successfully listed"),
5460
+ error: z.string().describe("Error message if the operation failed").optional(),
5461
+ sheets: z
5462
+ .array(z.object({
5463
+ id: z.string().describe("The sheet ID, passed as sheetId to other Smartsheet actions").optional(),
5464
+ name: z.string().describe("The sheet name").optional(),
5465
+ permalink: z.string().describe("URL to open the sheet in Smartsheet").optional(),
5466
+ }))
5467
+ .describe("The sheets the user has access to")
5468
+ .optional(),
5469
+ });
5470
+ export const smartsheetGetSheetRowsParamsSchema = z.object({
5471
+ sheetId: z
5472
+ .string()
5473
+ .describe("The ID of the sheet to read. Obtain this from the listSheets action or from the user; do not guess it."),
5474
+ });
5475
+ export const smartsheetGetSheetRowsOutputSchema = z.object({
5476
+ success: z.boolean().describe("Whether the sheet was successfully retrieved"),
5477
+ error: z.string().describe("Error message if the operation failed").optional(),
5478
+ sheet: z
5479
+ .object({
5480
+ id: z.string().describe("The sheet ID").optional(),
5481
+ name: z.string().describe("The sheet name").optional(),
5482
+ permalink: z.string().describe("URL to open the sheet in Smartsheet").optional(),
5483
+ columns: z
5484
+ .array(z.object({
5485
+ id: z.string().describe("The column ID").optional(),
5486
+ title: z
5487
+ .string()
5488
+ .describe("The column title. Use these exact titles as keys in the cells parameter of addRowToSheet and updateRow.")
5489
+ .optional(),
5490
+ type: z
5491
+ .string()
5492
+ .describe("The column type (e.g. TEXT_NUMBER, PICKLIST, DATE, CHECKBOX, CONTACT_LIST)")
5493
+ .optional(),
5494
+ options: z.array(z.string()).describe("The valid values for PICKLIST columns").optional(),
5495
+ }))
5496
+ .describe("The sheet's columns, in display order")
5497
+ .optional(),
5498
+ rows: z
5499
+ .array(z.object({
5500
+ id: z.string().describe("The row ID, passed as rowId to the updateRow action").optional(),
5501
+ rowNumber: z.coerce.number().describe("The row's position in the sheet, starting at 1").optional(),
5502
+ cells: z.object({}).catchall(z.any()).describe("The row's cell values, keyed by column title").optional(),
5503
+ }))
5504
+ .describe("The sheet's rows")
5505
+ .optional(),
5506
+ })
5507
+ .describe("The sheet's columns and rows")
5508
+ .optional(),
5509
+ });
5510
+ export const smartsheetAddRowToSheetParamsSchema = z.object({
5511
+ sheetId: z
5512
+ .string()
5513
+ .describe("The ID of the sheet to add the row to. Obtain this from the listSheets action or from the user; do not guess it."),
5514
+ cells: z
5515
+ .object({})
5516
+ .catchall(z.any())
5517
+ .describe('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.'),
5518
+ toTop: z
5519
+ .boolean()
5520
+ .describe("If true, the row is added to the top of the sheet. Defaults to false (added to the bottom).")
5521
+ .optional(),
5522
+ });
5523
+ export const smartsheetAddRowToSheetOutputSchema = z.object({
5524
+ success: z.boolean().describe("Whether the row was successfully added"),
5525
+ error: z.string().describe("Error message if the operation failed").optional(),
5526
+ rowId: z.string().describe("The ID of the newly created row").optional(),
5527
+ });
5528
+ export const smartsheetUpdateRowParamsSchema = z.object({
5529
+ sheetId: z
5530
+ .string()
5531
+ .describe("The ID of the sheet containing the row. Obtain this from the listSheets action or from the user; do not guess it."),
5532
+ rowId: z.string().describe("The ID of the row to update, as returned by the getSheetRows action"),
5533
+ cells: z
5534
+ .object({})
5535
+ .catchall(z.any())
5536
+ .describe('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.'),
5537
+ });
5538
+ export const smartsheetUpdateRowOutputSchema = z.object({
5539
+ success: z.boolean().describe("Whether the row was successfully updated"),
5540
+ error: z.string().describe("Error message if the operation failed").optional(),
5541
+ rowId: z.string().describe("The ID of the updated row").optional(),
5542
+ });
@@ -23,6 +23,7 @@ const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
23
23
  "updated",
24
24
  "resolution",
25
25
  "duedate",
26
+ "labels",
26
27
  "timeoriginalestimate",
27
28
  "timespent",
28
29
  "aggregatetimeoriginalestimate",
@@ -57,7 +58,7 @@ const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
57
58
  return {
58
59
  results: allIssues.map(issue => {
59
60
  const { id, key, fields } = issue;
60
- const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, } = fields;
61
+ const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, labels, } = fields;
61
62
  const ticketUrl = `${browseUrl}/browse/${key}`;
62
63
  return {
63
64
  name: key,
@@ -106,6 +107,7 @@ const getJiraDCIssuesByQuery = async ({ params, authParams, }) => {
106
107
  updated,
107
108
  resolution: resolution?.name || null,
108
109
  dueDate: duedate || null,
110
+ labels: labels ?? [],
109
111
  url: ticketUrl,
110
112
  },
111
113
  };
@@ -25,6 +25,7 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
25
25
  "updated",
26
26
  "resolution",
27
27
  "duedate",
28
+ "labels",
28
29
  "timeoriginalestimate",
29
30
  "timespent",
30
31
  "aggregatetimeoriginalestimate",
@@ -57,7 +58,7 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
57
58
  }
58
59
  const results = await Promise.all(allIssues.map(async ({ id, key, fields }) => {
59
60
  const ticketUrl = `${browseUrl}/browse/${key}`;
60
- const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, } = fields;
61
+ const { summary, description, project, issuetype, status, assignee, reporter, creator, created, updated, resolution, duedate, labels, } = fields;
61
62
  const [assigneeInfo, reporterInfo, creatorInfo] = await Promise.all([
62
63
  getUserInfoFromAccountId(assignee?.accountId, client),
63
64
  getUserInfoFromAccountId(reporter?.accountId, client),
@@ -81,6 +82,7 @@ const getJiraIssuesByQuery = async ({ params, authParams, }) => {
81
82
  updated,
82
83
  resolution: resolution?.name,
83
84
  dueDate: duedate,
85
+ labels: labels ?? [],
84
86
  url: ticketUrl,
85
87
  },
86
88
  };
@@ -0,0 +1,3 @@
1
+ import type { smartsheetAddRowToSheetFunction } from "../../autogen/types.js";
2
+ declare const addRowToSheet: smartsheetAddRowToSheetFunction;
3
+ export default addRowToSheet;
@@ -0,0 +1,34 @@
1
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
2
+ import { getSmartsheetToken, resolveCellsByColumnTitle, smartsheetRequest } from "./utils.js";
3
+ const addRowToSheet = async ({ params, authParams, }) => {
4
+ const token = getSmartsheetToken(authParams);
5
+ if (!token)
6
+ throw new Error(MISSING_AUTH_TOKEN);
7
+ const { sheetId, cells, toTop } = params;
8
+ try {
9
+ const resolvedCells = await resolveCellsByColumnTitle(token, sheetId, cells);
10
+ if (resolvedCells.length === 0) {
11
+ return { success: false, error: "cells must contain at least one column title to value mapping" };
12
+ }
13
+ const response = await smartsheetRequest(`/sheets/${sheetId}/rows`, token, {
14
+ method: "POST",
15
+ body: {
16
+ ...(toTop ? { toTop: true } : { toBottom: true }),
17
+ cells: resolvedCells,
18
+ },
19
+ });
20
+ const createdRow = Array.isArray(response.result) ? response.result[0] : response.result;
21
+ return {
22
+ success: true,
23
+ rowId: createdRow ? String(createdRow.id) : undefined,
24
+ };
25
+ }
26
+ catch (error) {
27
+ console.error("Error adding row to Smartsheet sheet:", error);
28
+ return {
29
+ success: false,
30
+ error: error instanceof Error ? error.message : "Unknown error",
31
+ };
32
+ }
33
+ };
34
+ export default addRowToSheet;
@@ -0,0 +1,3 @@
1
+ import type { smartsheetGetSheetRowsFunction } from "../../autogen/types.js";
2
+ declare const getSheetRows: smartsheetGetSheetRowsFunction;
3
+ export default getSheetRows;
@@ -0,0 +1,48 @@
1
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
2
+ import { getSmartsheetToken, smartsheetRequest } from "./utils.js";
3
+ const getSheetRows = async ({ params, authParams, }) => {
4
+ const token = getSmartsheetToken(authParams);
5
+ if (!token)
6
+ throw new Error(MISSING_AUTH_TOKEN);
7
+ try {
8
+ const sheet = await smartsheetRequest(`/sheets/${params.sheetId}`, token);
9
+ const columnTitleById = new Map(sheet.columns.map(column => [column.id, column.title]));
10
+ return {
11
+ success: true,
12
+ sheet: {
13
+ id: String(sheet.id),
14
+ name: sheet.name,
15
+ permalink: sheet.permalink,
16
+ columns: sheet.columns.map(column => ({
17
+ id: String(column.id),
18
+ title: column.title,
19
+ type: column.type,
20
+ ...(column.options ? { options: column.options } : {}),
21
+ })),
22
+ rows: sheet.rows.map(row => {
23
+ const cells = {};
24
+ for (const cell of row.cells ?? []) {
25
+ const title = columnTitleById.get(cell.columnId);
26
+ const value = cell.displayValue ?? cell.value;
27
+ if (title && value !== undefined) {
28
+ cells[title] = value;
29
+ }
30
+ }
31
+ return {
32
+ id: String(row.id),
33
+ rowNumber: row.rowNumber,
34
+ cells,
35
+ };
36
+ }),
37
+ },
38
+ };
39
+ }
40
+ catch (error) {
41
+ console.error("Error getting Smartsheet sheet rows:", error);
42
+ return {
43
+ success: false,
44
+ error: error instanceof Error ? error.message : "Unknown error",
45
+ };
46
+ }
47
+ };
48
+ export default getSheetRows;
@@ -0,0 +1,3 @@
1
+ import type { smartsheetListSheetsFunction } from "../../autogen/types.js";
2
+ declare const listSheets: smartsheetListSheetsFunction;
3
+ export default listSheets;
@@ -0,0 +1,26 @@
1
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
2
+ import { getSmartsheetToken, smartsheetRequest } from "./utils.js";
3
+ const listSheets = async ({ authParams, }) => {
4
+ const token = getSmartsheetToken(authParams);
5
+ if (!token)
6
+ throw new Error(MISSING_AUTH_TOKEN);
7
+ try {
8
+ const response = await smartsheetRequest("/sheets?includeAll=true", token);
9
+ return {
10
+ success: true,
11
+ sheets: response.data.map(sheet => ({
12
+ id: String(sheet.id),
13
+ name: sheet.name,
14
+ permalink: sheet.permalink,
15
+ })),
16
+ };
17
+ }
18
+ catch (error) {
19
+ console.error("Error listing Smartsheet sheets:", error);
20
+ return {
21
+ success: false,
22
+ error: error instanceof Error ? error.message : "Unknown error",
23
+ };
24
+ }
25
+ };
26
+ export default listSheets;
@@ -0,0 +1,3 @@
1
+ import type { smartsheetUpdateRowFunction } from "../../autogen/types.js";
2
+ declare const updateRow: smartsheetUpdateRowFunction;
3
+ export default updateRow;
@@ -0,0 +1,34 @@
1
+ import { MISSING_AUTH_TOKEN } from "../../util/missingAuthConstants.js";
2
+ import { getSmartsheetToken, resolveCellsByColumnTitle, smartsheetRequest } from "./utils.js";
3
+ const updateRow = async ({ params, authParams, }) => {
4
+ const token = getSmartsheetToken(authParams);
5
+ if (!token)
6
+ throw new Error(MISSING_AUTH_TOKEN);
7
+ const { sheetId, rowId, cells } = params;
8
+ try {
9
+ const resolvedCells = await resolveCellsByColumnTitle(token, sheetId, cells);
10
+ if (resolvedCells.length === 0) {
11
+ return { success: false, error: "cells must contain at least one column title to value mapping" };
12
+ }
13
+ const response = await smartsheetRequest(`/sheets/${sheetId}/rows`, token, {
14
+ method: "PUT",
15
+ body: {
16
+ id: Number(rowId),
17
+ cells: resolvedCells,
18
+ },
19
+ });
20
+ const updatedRow = Array.isArray(response.result) ? response.result[0] : response.result;
21
+ return {
22
+ success: true,
23
+ rowId: updatedRow ? String(updatedRow.id) : String(rowId),
24
+ };
25
+ }
26
+ catch (error) {
27
+ console.error("Error updating row in Smartsheet sheet:", error);
28
+ return {
29
+ success: false,
30
+ error: error instanceof Error ? error.message : "Unknown error",
31
+ };
32
+ }
33
+ };
34
+ export default updateRow;
@@ -0,0 +1,33 @@
1
+ export type SmartsheetColumn = {
2
+ id: number;
3
+ title: string;
4
+ type: string;
5
+ options?: string[];
6
+ };
7
+ export type SmartsheetCell = {
8
+ columnId: number;
9
+ value?: string | number | boolean;
10
+ displayValue?: string;
11
+ };
12
+ export type SmartsheetRow = {
13
+ id: number;
14
+ rowNumber: number;
15
+ cells?: SmartsheetCell[];
16
+ };
17
+ export declare function getSmartsheetToken(authParams: {
18
+ apiKey?: string;
19
+ authToken?: string;
20
+ }): string | undefined;
21
+ export declare function smartsheetRequest<T>(path: string, token: string, init?: {
22
+ method?: string;
23
+ body?: unknown;
24
+ }): Promise<T>;
25
+ /**
26
+ * Resolves a { "Column Title": value } map to the cell objects the Smartsheet API expects,
27
+ * which address cells by numeric columnId.
28
+ */
29
+ export declare function resolveCellsByColumnTitle(token: string, sheetId: string, cellsByTitle: Record<string, unknown>): Promise<Array<{
30
+ columnId: number;
31
+ value: string | number | boolean;
32
+ strict: boolean;
33
+ }>>;
@@ -0,0 +1,45 @@
1
+ const SMARTSHEET_API_BASE = "https://api.smartsheet.com/2.0";
2
+ export function getSmartsheetToken(authParams) {
3
+ return authParams.apiKey ?? authParams.authToken;
4
+ }
5
+ export async function smartsheetRequest(path, token, init) {
6
+ const response = await fetch(`${SMARTSHEET_API_BASE}${path}`, {
7
+ method: init?.method ?? "GET",
8
+ headers: {
9
+ Authorization: `Bearer ${token}`,
10
+ "Content-Type": "application/json",
11
+ },
12
+ body: init?.body !== undefined ? JSON.stringify(init.body) : undefined,
13
+ });
14
+ const data = await response.json().catch(() => undefined);
15
+ if (!response.ok) {
16
+ const message = data && typeof data === "object" && "message" in data
17
+ ? data.message
18
+ : response.statusText;
19
+ throw new Error(`Smartsheet API error (status ${response.status}): ${message}`);
20
+ }
21
+ return data;
22
+ }
23
+ /**
24
+ * Resolves a { "Column Title": value } map to the cell objects the Smartsheet API expects,
25
+ * which address cells by numeric columnId.
26
+ */
27
+ export async function resolveCellsByColumnTitle(token, sheetId, cellsByTitle) {
28
+ const columnsResponse = await smartsheetRequest(`/sheets/${sheetId}/columns?includeAll=true`, token);
29
+ const columns = columnsResponse.data;
30
+ if (!Array.isArray(columns)) {
31
+ throw new Error(`Could not read columns for sheet "${sheetId}": the Smartsheet API returned an unexpected response shape.`);
32
+ }
33
+ const columnIdByTitle = new Map(columns.map(column => [column.title, column.id]));
34
+ return Object.entries(cellsByTitle).map(([title, value]) => {
35
+ const columnId = columnIdByTitle.get(title);
36
+ if (columnId === undefined) {
37
+ throw new Error(`Column "${title}" does not exist in this sheet. Valid column titles are: ${columns.map(column => `"${column.title}"`).join(", ")}`);
38
+ }
39
+ if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") {
40
+ throw new Error(`Cell value for column "${title}" must be a string, number, or boolean`);
41
+ }
42
+ // strict: false lets Smartsheet coerce values (e.g. numbers into TEXT_NUMBER columns)
43
+ return { columnId, value, strict: false };
44
+ });
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.220",
3
+ "version": "0.2.221",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "overrides": {
89
89
  "@xmldom/xmldom": "^0.8.13",
90
- "axios": "^1.15.2",
90
+ "axios": "^1.17.0",
91
91
  "fast-xml-parser": "^5.7.0",
92
92
  "minimatch": "^10.2.1",
93
93
  "file-type": "^22.0.0"