diff --git a/raystack/frontier/v1beta1/admin.proto b/raystack/frontier/v1beta1/admin.proto index 34a846e2..5abb5293 100644 --- a/raystack/frontier/v1beta1/admin.proto +++ b/raystack/frontier/v1beta1/admin.proto @@ -865,12 +865,16 @@ message SearchOrganizationsResponse { string state = 6; string avatar = 7; string created_by = 8; - string billing_plan_name = 9; + string plan_name = 9; string payment_mode = 10 [(validate.rules).string = {in: ["prepaid", "postpaid"]}]; - google.protobuf.Timestamp billing_cycle_ends_at = 11; + google.protobuf.Timestamp subscription_cycle_end_at = 11; string country = 12; + string subscription_state = 14; + string plan_interval = 15; + string plan_id = 16; } repeated OrganizationResult organizations = 1; RQLQueryPaginationResponse pagination = 2; + RQLQueryGroupResponse group = 3; } diff --git a/raystack/frontier/v1beta1/models.proto b/raystack/frontier/v1beta1/models.proto index 1dbed5ac..902e5d18 100644 --- a/raystack/frontier/v1beta1/models.proto +++ b/raystack/frontier/v1beta1/models.proto @@ -993,7 +993,7 @@ message RQLFilter { } message RQLSort { - string key = 1; + string name = 1; string order = 2 [(validate.rules).string = {in: ["asc", "desc"]}]; } @@ -1002,3 +1002,13 @@ message RQLQueryPaginationResponse { uint32 limit = 2; uint32 total_count = 3; } + +message RQLQueryGroupResponse { + string name = 1; + repeated RQLQueryGroupData data = 2; +} + +message RQLQueryGroupData { + string name = 1; + uint32 count = 2; +}