Files
gristlabs_grist-core/app/common
Jarosław Sadziński d13b9b9019 (core) Billing for formula assistant
Summary:
Adding limits for AI calls and connecting those limits with a Stripe Account.

- New table in homedb called `limits`
- All calls to the AI are not routed through DocApi and measured.
- All products now contain a special key `assistantLimit`, with a default value 0
- Limit is reset every time the subscription has changed its period
- The billing page is updated with two new options that describe the AI plan
- There is a new popup that allows the user to upgrade to a higher plan
- Tiers are read directly from the Stripe product with a volume pricing model

Test Plan: Updated and added

Reviewers: georgegevoian, paulfitz

Reviewed By: georgegevoian

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3907
2023-07-10 13:24:08 +02:00
..
2022-02-19 09:46:49 +00:00
2021-09-16 10:06:04 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-01-13 11:10:17 +01:00
2020-07-21 20:39:10 -04:00
2022-05-09 21:44:57 +02:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-10-17 13:38:21 +02:00
2022-08-25 12:38:36 -07:00
2023-04-12 01:58:48 -04:00
2020-07-21 20:39:10 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2023-01-16 16:50:42 -08:00
2020-07-21 20:39:10 -04:00
2022-03-12 14:34:46 -08:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-09-29 18:57:56 -04:00
2021-07-20 15:17:03 +02:00
2023-03-16 17:37:24 -04:00