From 21c3317e6b1c048ea036e998cd48aff6d7dd1964 Mon Sep 17 00:00:00 2001 From: Rohil Surana Date: Tue, 28 Jul 2026 11:55:45 +0530 Subject: [PATCH] feat: add state field to billing plan model and request body --- raystack/frontier/v1beta1/frontier.proto | 2 ++ raystack/frontier/v1beta1/models.proto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/raystack/frontier/v1beta1/frontier.proto b/raystack/frontier/v1beta1/frontier.proto index 51698204..8b88bc35 100644 --- a/raystack/frontier/v1beta1/frontier.proto +++ b/raystack/frontier/v1beta1/frontier.proto @@ -882,6 +882,8 @@ message PlanRequestBody { int64 on_start_credits = 6; int64 trial_days = 7; + string state = 8; + google.protobuf.Struct metadata = 20; } diff --git a/raystack/frontier/v1beta1/models.proto b/raystack/frontier/v1beta1/models.proto index f94addc3..87b10b29 100644 --- a/raystack/frontier/v1beta1/models.proto +++ b/raystack/frontier/v1beta1/models.proto @@ -548,6 +548,8 @@ message Plan { int64 on_start_credits = 7 [(buf.validate.field).int64 = {gte: 0}]; int64 trial_days = 8 [(buf.validate.field).int64 = {gte: 0}]; + string state = 9; + google.protobuf.Struct metadata = 20; google.protobuf.Timestamp created_at = 21; google.protobuf.Timestamp updated_at = 22;