2
0
Commit Graph

535 Commits

Author SHA1 Message Date
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
0ba13b4df0 🐛 Enable stream again by migrating endpoint to route handler
https://vercel.com/docs/functions/edge-functions/streaming#streaming-data-with-edge-functions
2023-10-06 15:07:26 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
2023-10-06 10:14:26 +02:00
9e6a1f7dc0 ♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
2023-10-04 16:47:58 +02:00
bf051bebde 🐛 (whatsapp) Fix force create session when flow is completed at first round 2023-10-03 16:06:37 +02:00
f9a14c0685 🐛 (whatsapp) Fix auto start input where it didn't display next bu… (#869)
…bbles
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**Release Notes**

- New Feature: Enhanced WhatsApp integration with improved phone number
formatting and session ID generation.
- Refactor: Updated the `startWhatsAppPreview` and
`receiveMessagePreview` functions for better consistency and
readability.
- Bug Fix: Added a check for `phoneNumberId` in the `receiveMessage`
function to prevent errors when it's undefined.
- Documentation: Expanded the WhatsApp integration guide and FAQs in the
docs, providing more detailed instructions and addressing common
queries.
- Chore: Introduced a new `metadata` field in the
`whatsAppWebhookRequestBodySchema` to store the `phone_number_id`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-29 09:59:38 +02:00
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots 2023-09-26 08:07:33 +02:00
4f953ac272 (whatsapp) Add custom session expiration (#842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Introduced session expiry timeout for WhatsApp
integration, allowing users to set the duration after which a session
expires.
- New Feature: Added an option to enable/disable the start bot condition
in WhatsApp integration settings.
- Refactor: Enhanced error handling by throwing specific errors when
necessary conditions are not met.
- Refactor: Improved UI components like `NumberInput` and
`SwitchWithLabel` for better usability.
- Bug Fix: Fixed issues related to session resumption and message
sending in expired sessions. Now, if a session is expired, a new one
will be started instead of attempting to resume the old one.
- Chore: Updated various schemas to reflect changes in session
management and WhatsApp settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-22 17:12:15 +02:00
4673989104 💚 Rename back viewer 2023-09-22 16:25:31 +02:00
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
8f4e5b5d63 👷 (vercel) Increase max execution duration for webhooks 2023-09-22 09:10:22 +02:00
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
f626c9867c (whatsapp) Improve WhatsApp preview management
Closes #800
2023-09-19 11:53:18 +02:00
21ad061f7b 🚸 (typebotLink) Make sure variables from child bots are merged if necessary 2023-09-18 10:59:56 +02:00
75e4b16af0 Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
bea3332c32 🚑 (typebotLink) Correctly pass back existing values from parent bot 2023-09-08 07:40:31 +02:00
cdd3e19755 ♻️ (lp) Add back static images into landing page 2023-09-07 18:31:05 +02:00
9e8fa124b5 (dateInput) Add format option and improve parsing
Use date-fns for custom format and make sure dates are timezone independants

Closes #533, closes #592
2023-09-05 10:34:56 +02:00
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
1ebacaaa5d 🚸 Make sure to add start client side action first in the list 2023-09-02 14:27:47 +02:00
968c5e3c95 🚑 (fileUpload) Fix web bot file upload input skip option 2023-09-02 09:36:48 +02:00
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
37ccb5da5e 🚸 (sendEmail) Improve variable parsing in sendEmail body
Support for multi line variables as well

Closes #749
2023-09-01 11:33:45 +02:00
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +02:00
9d29a88ed3 🐛 Fix remembered user reset hasStarted on page refresh 2023-08-30 19:28:35 +02:00
96ddfadaa7 🔊 Add logs to debug invalid env 2023-08-30 18:47:57 +02:00
124cb8f359 🐛 (fileUpload) Make file type optionnal 2023-08-30 15:09:41 +02:00
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
013c7a6265 🐛 Fix delete session with client side actions 2023-08-29 12:19:50 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
055cf03703 🚑 (typebotLink) Fix incoming linked typebot variables filling 2023-08-25 14:13:34 +02:00
d700af17e9 🚸 (openai) Implement retries if openai rate limit reached 2023-08-24 15:28:44 +02:00
06ecdf040e 🐛 (sendMessage) Correctly preprocess and parse fetched bot 2023-08-24 09:11:10 +02:00
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
ed77f5d124 🐛 (webhook) Fix variable list parsing in custom body
Closes #687
2023-08-18 15:57:52 +02:00
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
22cedb379d Revert "⬆️ Upgrade next packages"
This reverts commit 401efa9d0c.
2023-08-14 21:49:03 +02:00
de616ea649 🔒 Expose minimum data to NEXT_DATA json 2023-08-14 16:55:47 +02:00
401efa9d0c ⬆️ Upgrade next packages 2023-08-11 15:17:17 +02:00
2b4ada007d 🐛 Normalize user inputs before comparing 2023-08-08 08:24:15 +02:00