From 8fba8c7b37302d2b1b6126f1e081b0a09e3457e2 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Thu, 26 Sep 2024 14:11:04 -0700 Subject: [PATCH] string -> enum --- protobufs/rpc/io.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/protobufs/rpc/io.proto b/protobufs/rpc/io.proto index 9c7dadff..3a890b50 100644 --- a/protobufs/rpc/io.proto +++ b/protobufs/rpc/io.proto @@ -166,10 +166,15 @@ message EvaluateSIPDispatchRulesResponse { // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. map headers_to_attributes = 14; - repeated string enabled_features = 15; + repeated SIPFeature enabled_features = 15; // NEXT ID: 16 } +enum SIPFeature { + NONE = 0; + KRISP_ENABLED = 1; +} + enum SIPDispatchResult { LEGACY_ACCEPT_OR_PIN = 0; // check request_pin field ACCEPT = 1;