Commit Graph

33 Commits

Author SHA1 Message Date
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
Baptiste Arnaud
0f245b8e57 🛂 (billing) Disable sub update when workspace is past due 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
Baptiste Arnaud
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
Baptiste Arnaud
a1d7415227 🐛 (billing) Set invoicing behavior to "always invoice" to fix double payment issue 2023-11-14 16:00:10 +01:00
Baptiste Arnaud
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
Baptiste Arnaud
ed60caa806 🚑 (billing) Fix disabled upgrade buttons 2023-09-22 17:19:11 +02:00
Baptiste Arnaud
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +02:00
Baptiste Arnaud
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
e62e71c133 🛂 Check if isQuarantined can be toggled on sub update 2023-08-24 15:38:50 +02:00
Baptiste Arnaud
53dd7ba499 🚸 (billing) Make sure customer is not created before launching checkout page 2023-08-22 10:40:34 +02:00
Baptiste Arnaud
dc4c19a755 🐛 Fix getUsage query abort 2023-08-21 09:27:33 +02:00
Baptiste Arnaud
304dfe2dab 🐛 Remove publicId and customDomain duplication on imported bots 2023-08-17 16:32:37 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
de08179f8b 🚸 (billing) Set existing stripe customer for custom plan checkout 2023-07-13 18:03:59 +02:00
Baptiste Arnaud
6f7ef820e2 📈 (billing) Track when workspace subscription is cancelled 2023-06-26 11:33:06 +02:00
Baptiste Arnaud
97fcee2764 🛂 (billing) Always invoice when subscription is updated 2023-06-22 10:21:17 +02:00
Baptiste Arnaud
b9f94cdf19 🚸 (billing) Use Stripe checkout page for new subscription with existing customer 2023-05-05 14:20:02 -04:00
Baptiste Arnaud
98a21f3a9e 🐛 (billing) Only fetch active subscriptions 2023-05-05 11:02:59 -04:00
Baptiste Arnaud
458d715648 🛂 (billing) Update claimable custom plan options 2023-04-28 10:55:15 +02:00
Baptiste Arnaud
c6983c952c 🛂 Reset isQuarantined when upgrading workspace 2023-04-23 21:03:14 +02:00
Baptiste Arnaud
2cbf8348c3 🛂 Add new yearly plans and graduated pricing
BREAKING CHANGE: Stripe environment variables have changed. New ones are required. Check out the new Stripe configuration in the
docs.

Closes #457
2023-04-13 11:39:10 +02:00
Baptiste Arnaud
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
9ca17e4e0b 📈 Add telemetry webhook
Closes #357
2023-03-14 14:20:21 +01:00
Baptiste Arnaud
767a8208a8 🐛 (billing) Collect tax ID manually before checkout
This allows Typebot to always display a company name on invoices.
2023-03-07 08:01:05 +01:00
Baptiste Arnaud
26e5d9c282 🚸 (billing) Add precheckout form
Collects required company name and email and create the customer before redirecting to checkout
2023-03-06 11:30:01 +01:00
Baptiste Arnaud
eb3ae8fc35 🔥 Remove useless stripe env check for usage 2023-03-04 07:58:12 +01:00
Baptiste Arnaud
2e8f2d81c6 🛂 (billing) Enable tax id and billing address collection 2023-02-24 16:35:04 +01:00
Baptiste Arnaud
b73282d810 ♻️ (billing) Refactor billing server code to trpc 2023-02-17 16:19:39 +01:00