From 0e3a9bbcf02f2913c9eefd85e4a7d375139313f9 Mon Sep 17 00:00:00 2001 From: Chief-Rishab Date: Tue, 19 Sep 2023 21:07:26 +0530 Subject: [PATCH] feat: add total count field in list approvals response and filter criteria --- raystack/guardian/v1beta1/guardian.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/raystack/guardian/v1beta1/guardian.proto b/raystack/guardian/v1beta1/guardian.proto index d631322c..5373110f 100644 --- a/raystack/guardian/v1beta1/guardian.proto +++ b/raystack/guardian/v1beta1/guardian.proto @@ -509,10 +509,14 @@ message ListUserApprovalsRequest { ignore_empty: true }]; repeated string appeal_statuses = 7; + string q = 8; + repeated string account_types = 9; + repeated string resource_types = 10; } message ListUserApprovalsResponse { repeated Approval approvals = 1; + int32 total = 2; } message ListApprovalsRequest { @@ -529,10 +533,14 @@ message ListApprovalsRequest { ignore_empty: true }]; repeated string appeal_statuses = 7; + string q = 8; + repeated string account_types = 9; + repeated string resource_types = 10; } message ListApprovalsResponse { repeated Approval approvals = 1; + int32 total = 2; } message UpdateApprovalRequest {