typebot.io/packages/lib/s3
Baptiste Arnaud 6215cfbbaf
(fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced file visibility options for uploaded files, allowing users
to set files as public or private.
- Added a new API endpoint for retrieving temporary URLs for files,
enhancing file accessibility.
- Expanded file upload documentation to include information on file
visibility settings.
- Updated URL validation to support URLs with port numbers and
"http://localhost".
- **Enhancements**
- Improved media download functionality by replacing the `got` library
with a custom `downloadMedia` function.
- Enhanced bot flow continuation and session start logic to support a
wider range of reply types, including WhatsApp media messages.
- **Bug Fixes**
- Adjusted file path and URL construction in the `generateUploadUrl`
function to correctly reflect file visibility settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-30 08:02:10 +01:00
..
deprecated 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00
deleteFilesFromBucket.ts ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
generatePresignedPostPolicy.ts 🛂 Update Cache-Control header in generatePresignedPostPolicy 2023-11-07 15:16:23 +01:00
getFileTempUrl.ts (fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196) 2024-01-30 08:02:10 +01:00
getFolderSize.ts (s3) Improve storage management and type safety 2023-09-08 15:28:11 +02:00
uploadFileToBucket.ts (openai) Add create speech OpenAI action 2023-11-20 14:01:50 +01:00