diff --git a/src/service/poc_mobile.proto b/src/service/poc_mobile.proto index 147b0064..59d92c0e 100644 --- a/src/service/poc_mobile.proto +++ b/src/service/poc_mobile.proto @@ -210,6 +210,27 @@ message verified_invalidated_radio_threshold_ingest_report_v1 { uint64 timestamp = 3; } +message verified_subscriber_mapping_event_req_v1 { + // The id of the discovery mapping enabled subscriber + bytes subscriber_id = 1; + // the accumulated mapping points the subscriber has earned this epoch + uint64 total_reward_points = 2; + // Unix timestamp in seconds of when the mapping event was generated + uint64 timestamp = 3; + // pubkey of the carrier identity service + bytes carrier_pub_key = 4; + // signed payload of the carrier identity service + bytes signature = 5; +} + +message verified_subscriber_mapping_event_resp_v1 { string id = 1; } + +message verified_subscriber_mapping_event_ingest_report_v1 { + // Timestamp in milliseconds since unix epoch + uint64 received_timestamp = 1; + verified_subscriber_mapping_event_req_v1 report = 2; +} + enum signal_level { NONE = 0; LOW = 1; @@ -289,6 +310,9 @@ service poc_mobile { rpc submit_sp_boosted_rewards_banned_radio( service_provider_boosted_rewards_banned_radio_req_v1) returns (service_provider_boosted_rewards_banned_radio_resp_v1); + rpc submit_verified_subscriber_mapping_event( + verified_subscriber_mapping_event_req_v1) + returns (verified_subscriber_mapping_event_resp_v1); } message file_info {