Add overdue invoices check (#31290)

- Rename current_user_account_too_young to account_too_young for
consistency
- Add has_overdue_invoices field to track billing status
- Block edit predictions when user has overdue invoices
- Add overdue invoice warning to inline completion menu

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Ben Brandt
2025-05-23 20:02:02 +00:00
committed by GitHub
co-authored by Marshall Bowers
parent cb112a4012
commit ca72efe701
7 changed files with 65 additions and 7 deletions
+1
View File
@@ -28,6 +28,7 @@ message UpdateUserPlan {
optional SubscriptionUsage usage = 4;
optional SubscriptionPeriod subscription_period = 5;
optional bool account_too_young = 6;
optional bool has_overdue_invoices = 7;
}
message SubscriptionPeriod {