2
0
Commit Graph

134 Commits

Author SHA1 Message Date
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
dd4de582a9 Add more video supports (#1023)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Introduced a new layout option for the TextInput component.
- Added support for GUMLET and TIKTOK video content types in
VideoBubbleContent.
- Enhanced VideoUploadContent to handle new properties like aspectRatio
and maxWidth.
- Updated VideoBubble to include aspect-ratio and max-width styles based
on content properties.
- **Refactor**
- Changed the extension used for internationalization (i18n) in the VS
Code environment.
	- Modified how environment variables are accessed in tolgee.tsx.
- Updated parseVideoUrl function to include a new property
videoSizeSuggestion.
- **Chores**
- Updated the tolgeeEnv object in env.ts and added a new optional
parameter to the getRuntimeVariable function.
- Expanded video handling capabilities by introducing new video content
types and associated regular expressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Closes #978 #936 #926
2023-11-10 11:17:14 +01:00
db17a0f508 🚑 Fix parsing issue with new events field on ongoing session states 2023-11-08 16:03:45 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
797751b418 (billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
ee685f14f3 (video) Allow changing video height when resolved to an iframe 2023-10-12 14:48:52 +02:00
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual 2023-10-09 11:30:51 +02:00
a53d128fb0 🛂 (whatsapp) Set default whatsapp expiry to 4 hours 2023-10-03 10:53: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
56e175bda6 🐛 (pixel) Fix multiple Meta pixels tracking
Closes #846
2023-09-27 07:52:09 +02:00
1ca742fc0b (setVariable) Add "Environment name" value in Set variable block (#850)
Closes #848
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Added "Environment name" as a new value type in the
SetVariable function, allowing users to distinguish between 'web' and
'whatsapp' environments.
- Refactor: Simplified session state handling in `resumeWhatsAppFlow.ts`
for improved code clarity.
- Refactor: Updated `startWhatsAppSession.ts` to include an initial
session state with WhatsApp contact and expiry timeout, enhancing
session management.
- Bug Fix: Improved null handling in `executeSetVariable.ts` for
'Contact name' and 'Phone number', preventing potential issues with
falsy values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 09:50:20 +02:00
b81fcf0167 Auto continue bot on whatsApp if starting block is input (#849)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-25 17:20:42 +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
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +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
322c48cddc (customDomain) Add configuration modal for domain verification
Closes #742
2023-09-18 17:16:30 +02:00
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +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
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +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
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
793218a673 🚑 Properly preprocess typebot version 2023-08-24 09:29:32 +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
0acede92ef 🚸 Improve parsing preprocessing on typebots 2023-08-23 10:57:38 +02:00
fe54888350 🐛 Fix legacy publicId format validation 2023-08-22 11:43:35 +02:00
83352d77f5 🐛 (customDomains) Transform name to lower case before validating 2023-08-22 11:11:20 +02:00
c08e0cdb0a (customDomains) Fix custom domain update feedback 2023-08-21 15:32:27 +02:00
19fc576957 🚸 Loosen file import parsing strictness 2023-08-18 09:27:14 +02:00
fca5865999 🚑 Fix customDomain regex validation 2023-08-17 10:01:45 +02:00
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
019f72ac7e 🐛 Deprecate blockId field in items 2023-08-16 09:33:57 +02:00
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
4d3f67c752 🚸 (setVariable) Rename Today setVar type to Now 2023-08-07 14:32:30 +02:00
037d4ce345 (audio) Add autoplay switch in settings 2023-08-07 12:20:38 +02:00
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
53e4bc2b75 Add API endpoint to update the typebot in ongoing chat session 2023-08-04 14:53:49 +02:00
f7de11611f 📝 (sendMessage) Improve sendMessage API ref 2023-08-02 08:34:14 +02:00
aa9f5bc732 (condition) Add regex comparison item 2023-08-01 08:20:16 +02:00
c99298e49b (paymentInput) Handle Stripe redirection
Closes #631
2023-07-27 17:25:02 +02:00
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
5ae6c64d06 🚸 (video) Improve video autoplay behavior
Autoplay video only when displayed entirely and fix weird Safari autoplay issues when scrolling
2023-07-07 12:02:40 +02:00
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
50fcbfd95e (pixel) Add skip initialization option 2023-06-28 10:37:01 +02:00
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00