Files
sim/apps/sim/tools/gmail/index.ts
Waleed cf023e4d22 feat(tools): added download file tool for onedrive, google drive, and slack; added move email tool for gmail and outlook (#1785)
* feat(tools): added download file tool for onedrive, google drive, and slack

* added gmail & outlook move tools, added missing credentials descriptions to modal

* added slack delete/update message, add reaction; added gmail read/unread/label/unarchive; added outlook copy/delete/read/unread

* added threads to slack operations

* added timestamp for slack webhook trigger since api uses timestamp for updating/reacting/deleting

* cleanup

* added file info to slack read messages

* updated slack desc

* fixed downloading for onedrive, slack, and drive

* fix type check

* fix build failure

* cleanup files, fix triggers with attachments, fix integration blocks with include attachment to parse to user files, remove unused code

* fix move files tools

* fix tests

* fix build errors

* fix type error

* fix tests

* remove redundant code and filter out unecessary user file fields

* fix lint error

* remove fields from tag dropdown

* fix file upload via API

* fix pdf parse issue

---------

Co-authored-by: waleed <waleed>
Co-authored-by: Adam Gough <adamgough@Adams-MacBook-Pro.local>
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai>
2025-11-05 13:00:34 -08:00

28 lines
934 B
TypeScript

import { gmailAddLabelTool } from '@/tools/gmail/add_label'
import { gmailArchiveTool } from '@/tools/gmail/archive'
import { gmailDeleteTool } from '@/tools/gmail/delete'
import { gmailDraftTool } from '@/tools/gmail/draft'
import { gmailMarkReadTool } from '@/tools/gmail/mark_read'
import { gmailMarkUnreadTool } from '@/tools/gmail/mark_unread'
import { gmailMoveTool } from '@/tools/gmail/move'
import { gmailReadTool } from '@/tools/gmail/read'
import { gmailRemoveLabelTool } from '@/tools/gmail/remove_label'
import { gmailSearchTool } from '@/tools/gmail/search'
import { gmailSendTool } from '@/tools/gmail/send'
import { gmailUnarchiveTool } from '@/tools/gmail/unarchive'
export {
gmailSendTool,
gmailReadTool,
gmailSearchTool,
gmailDraftTool,
gmailMoveTool,
gmailMarkReadTool,
gmailMarkUnreadTool,
gmailArchiveTool,
gmailUnarchiveTool,
gmailDeleteTool,
gmailAddLabelTool,
gmailRemoveLabelTool,
}