Skip to content

Commit 611f764

Browse files
committed
fix(frontier): revert removal of deprecated fields in ChangeSubscriptionRequest and ListBillingTransactionsRequest
1 parent 2d162b4 commit 611f764

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

raystack/frontier/v1beta1/frontier.proto

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,9 @@ message CreateBillingUsageResponse {}
542542

543543
message ListBillingTransactionsRequest {
544544
string org_id = 1 [(buf.validate.field).string.min_len = 3];
545-
reserved 2, 3;
545+
reserved 2;
546546

547+
google.protobuf.Timestamp since = 3 [deprecated = true];
547548
google.protobuf.Timestamp start_range = 4;
548549
google.protobuf.Timestamp end_range = 5;
549550

@@ -609,11 +610,19 @@ message UpdateSubscriptionResponse {
609610
}
610611

611612
message ChangeSubscriptionRequest {
612-
reserved 1, 2, 4, 5;
613+
reserved 1, 2;
613614

614615
// ID of the subscription to update
615616
string id = 3 [(buf.validate.field).string.min_len = 1];
616617

618+
// plan to change to
619+
// deprecated in favor of plan_change
620+
string plan = 4 [deprecated = true];
621+
622+
// should the change be immediate or at the end of the current billing period
623+
// deprecated in favor of plan_change
624+
bool immediate = 5 [deprecated = true];
625+
617626
message PlanChange {
618627
// plan to change to
619628
string plan = 1;

0 commit comments

Comments
 (0)