proto: Remove UpdateUserPlan message (#36268)

This PR removes the `UpdateUserPlan` RPC message.

We're no longer using the message after
https://github.com/zed-industries/zed/pull/36255.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-08-15 15:21:04 -04:00 committed by GitHub
parent 1931889759
commit b3cad8b527
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 265 deletions

View file

@ -12,16 +12,6 @@ enum Plan {
ZedProTrial = 2;
}
message UpdateUserPlan {
Plan plan = 1;
optional uint64 trial_started_at = 2;
optional bool is_usage_based_billing_enabled = 3;
optional SubscriptionUsage usage = 4;
optional SubscriptionPeriod subscription_period = 5;
optional bool account_too_young = 6;
optional bool has_overdue_invoices = 7;
}
message SubscriptionPeriod {
uint64 started_at = 1;
uint64 ended_at = 2;

View file

@ -135,7 +135,6 @@ message Envelope {
FollowResponse follow_response = 99;
UpdateFollowers update_followers = 100;
Unfollow unfollow = 101;
UpdateUserPlan update_user_plan = 234;
UpdateDiffBases update_diff_bases = 104;
AcceptTermsOfService accept_terms_of_service = 239;
AcceptTermsOfServiceResponse accept_terms_of_service_response = 240;
@ -414,7 +413,7 @@ message Envelope {
reserved 221;
reserved 224 to 229;
reserved 230 to 231;
reserved 235 to 236;
reserved 234 to 236;
reserved 246;
reserved 247 to 254;
reserved 255 to 256;

View file

@ -275,7 +275,6 @@ messages!(
(UpdateProject, Foreground),
(UpdateProjectCollaborator, Foreground),
(UpdateUserChannels, Foreground),
(UpdateUserPlan, Foreground),
(UpdateWorktree, Foreground),
(UpdateWorktreeSettings, Foreground),
(UpdateRepository, Foreground),