syntax = "proto3"; import "google/protobuf/timestamp.proto"; option go_package = "gitlab.corp.pushwoosh.com/uds/integration-webhook/api/go/v2/integration-webhook;webhookrpc"; message Attributes { string segment = 1; string inbox_code = 2; string user_id = 3; string user_data = 4; string deep_link_params = 5; int32 inbox_date = 6; string inbox_image = 7; string dynamic_content_placeholders = 8; string url = 9; int32 geozone = 10; string original_url = 11; string rich_media_code = 12; int32 url_minimize = 13; string live_activity_id = 14; string android_banner = 15; bool android_silent = 16; string android_header = 17; string android_body = 18; bool android_sound_off = 19; string android_root_params = 20; string chrome_header = 21; string chrome_body = 22; string chrome_root_params = 23; int32 chrome_duration = 24; string chrome_image = 25; string firefox_header = 26; string firefox_body = 27; string firefox_root_params = 28; string ios_title = 29; string ios_body = 30; bool ios_critical = 31; string ios_attachment = 32; string ios_live_activity_id = 33; string ios_subtitle = 34; bool ios_silent = 35; string ios_root_params = 36; repeated string safari_url_args = 37; string safari_title = 38; string safari_body = 39; string safari_action = 40; string mac_root_params = 41; string mac_subtitle = 42; string mac_title = 43; string mac_body = 44; string push_title = 45; string push_body = 46; string push_subtitle = 47; } message WebhookRequest { string event_name = 1; uint64 message_id = 2; string message_code = 3; uint64 campaign_id = 4; string platform = 5; string application_code = 6; string hwid = 7; string user_id = 8; string payload = 9; google.protobuf.Timestamp timestamp = 10; string journey_title = 11; string journey_point_title = 12; Attributes attributes = 13; string uuid = 14; } message WebhookResponse { string status = 1; string message = 2; string uuid = 3; } service WebhookService { rpc StreamWebhookEvents (stream WebhookRequest) returns (stream WebhookResponse); }