2019-12-02 15:34:05 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-08-06 15:40:23 +00:00
|
|
|
option go_package = "./;protobuf";
|
2019-12-02 15:34:05 +00:00
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
message ApplicationMetadataMessage {
|
|
|
|
// Signature of the payload field
|
|
|
|
bytes signature = 1;
|
|
|
|
// This is the encoded protobuf of the application level message, i.e ChatMessage
|
|
|
|
bytes payload = 2;
|
|
|
|
|
|
|
|
// The type of protobuf message sent
|
|
|
|
Type type = 3;
|
|
|
|
|
|
|
|
enum Type {
|
2023-10-17 13:24:15 +00:00
|
|
|
reserved 14;
|
|
|
|
reserved "SYNC_INSTALLATION_PUBLIC_CHAT";
|
2019-12-02 15:34:05 +00:00
|
|
|
UNKNOWN = 0;
|
|
|
|
CHAT_MESSAGE = 1;
|
2020-01-10 18:59:01 +00:00
|
|
|
CONTACT_UPDATE = 2;
|
2019-12-02 15:34:05 +00:00
|
|
|
MEMBERSHIP_UPDATE_MESSAGE = 3;
|
2023-08-18 11:39:59 +00:00
|
|
|
SYNC_PAIR_INSTALLATION = 4;
|
|
|
|
DEPRECATED_SYNC_INSTALLATION = 5 [deprecated=true];
|
2020-01-10 18:59:01 +00:00
|
|
|
REQUEST_ADDRESS_FOR_TRANSACTION = 6;
|
|
|
|
ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION = 7;
|
|
|
|
DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION = 8;
|
|
|
|
REQUEST_TRANSACTION = 9;
|
|
|
|
SEND_TRANSACTION = 10;
|
|
|
|
DECLINE_REQUEST_TRANSACTION = 11;
|
2023-08-18 11:39:59 +00:00
|
|
|
SYNC_INSTALLATION_CONTACT_V2 = 12;
|
2020-01-10 18:59:01 +00:00
|
|
|
SYNC_INSTALLATION_ACCOUNT = 13;
|
2020-07-03 08:26:35 +00:00
|
|
|
CONTACT_CODE_ADVERTISEMENT = 15;
|
|
|
|
PUSH_NOTIFICATION_REGISTRATION = 16;
|
|
|
|
PUSH_NOTIFICATION_REGISTRATION_RESPONSE = 17;
|
2020-06-30 07:50:59 +00:00
|
|
|
PUSH_NOTIFICATION_QUERY = 18;
|
2020-07-03 08:26:35 +00:00
|
|
|
PUSH_NOTIFICATION_QUERY_RESPONSE = 19;
|
|
|
|
PUSH_NOTIFICATION_REQUEST = 20;
|
|
|
|
PUSH_NOTIFICATION_RESPONSE = 21;
|
2020-07-20 13:17:57 +00:00
|
|
|
EMOJI_REACTION = 22;
|
2020-08-07 13:49:37 +00:00
|
|
|
GROUP_CHAT_INVITATION = 23;
|
2020-10-28 13:21:29 +00:00
|
|
|
CHAT_IDENTITY = 24;
|
2020-11-18 09:16:51 +00:00
|
|
|
COMMUNITY_DESCRIPTION = 25;
|
2023-08-03 19:23:38 +00:00
|
|
|
COMMUNITY_INVITATION = 26 [deprecated=true];
|
2021-01-11 10:32:51 +00:00
|
|
|
COMMUNITY_REQUEST_TO_JOIN = 27;
|
2021-05-14 21:22:50 +00:00
|
|
|
PIN_MESSAGE = 28;
|
2021-06-07 08:31:27 +00:00
|
|
|
EDIT_MESSAGE = 29;
|
2021-07-22 17:41:49 +00:00
|
|
|
STATUS_UPDATE = 30;
|
2021-07-26 21:06:32 +00:00
|
|
|
DELETE_MESSAGE = 31;
|
2021-08-06 15:40:23 +00:00
|
|
|
SYNC_INSTALLATION_COMMUNITY = 32;
|
2021-09-01 12:02:18 +00:00
|
|
|
ANONYMOUS_METRIC_BATCH = 33;
|
2021-10-05 17:26:02 +00:00
|
|
|
SYNC_CHAT_REMOVED = 34;
|
2021-10-12 10:33:32 +00:00
|
|
|
SYNC_CHAT_MESSAGES_READ = 35;
|
2021-10-11 15:39:52 +00:00
|
|
|
BACKUP = 36;
|
2021-12-02 14:23:02 +00:00
|
|
|
SYNC_ACTIVITY_CENTER_READ = 37;
|
|
|
|
SYNC_ACTIVITY_CENTER_ACCEPTED = 38;
|
|
|
|
SYNC_ACTIVITY_CENTER_DISMISSED = 39;
|
2022-01-17 03:42:11 +00:00
|
|
|
SYNC_BOOKMARK = 40;
|
2022-02-10 10:00:59 +00:00
|
|
|
SYNC_CLEAR_HISTORY = 41;
|
2022-03-23 18:47:00 +00:00
|
|
|
SYNC_SETTING = 42;
|
2023-08-18 11:39:59 +00:00
|
|
|
COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK = 43;
|
|
|
|
SYNC_PROFILE_PICTURES = 44;
|
2023-05-16 10:48:00 +00:00
|
|
|
SYNC_ACCOUNT = 45;
|
2022-01-18 16:31:34 +00:00
|
|
|
ACCEPT_CONTACT_REQUEST = 46;
|
|
|
|
RETRACT_CONTACT_REQUEST = 47;
|
2022-07-01 13:54:02 +00:00
|
|
|
COMMUNITY_REQUEST_TO_JOIN_RESPONSE = 48;
|
2022-06-01 07:55:48 +00:00
|
|
|
SYNC_COMMUNITY_SETTINGS = 49;
|
2022-07-05 19:49:44 +00:00
|
|
|
REQUEST_CONTACT_VERIFICATION = 50;
|
|
|
|
ACCEPT_CONTACT_VERIFICATION = 51;
|
|
|
|
DECLINE_CONTACT_VERIFICATION = 52;
|
|
|
|
SYNC_TRUSTED_USER = 53;
|
|
|
|
SYNC_VERIFICATION_REQUEST = 54;
|
2022-08-07 14:25:03 +00:00
|
|
|
SYNC_CONTACT_REQUEST_DECISION = 56;
|
2022-08-22 10:10:31 +00:00
|
|
|
COMMUNITY_REQUEST_TO_LEAVE = 57;
|
2022-09-28 11:42:17 +00:00
|
|
|
SYNC_DELETE_FOR_ME_MESSAGE = 58;
|
2022-09-14 10:46:11 +00:00
|
|
|
SYNC_SAVED_ADDRESS = 59;
|
2022-10-28 08:41:20 +00:00
|
|
|
COMMUNITY_CANCEL_REQUEST_TO_JOIN = 60;
|
2022-12-14 08:27:02 +00:00
|
|
|
CANCEL_CONTACT_VERIFICATION = 61;
|
2023-05-16 10:48:00 +00:00
|
|
|
SYNC_KEYPAIR = 62;
|
2024-05-24 08:35:34 +00:00
|
|
|
SYNC_SOCIAL_LINKS = 63 [deprecated=true];
|
2023-07-05 12:41:58 +00:00
|
|
|
SYNC_ENS_USERNAME_DETAIL = 64;
|
2023-10-22 09:41:20 +00:00
|
|
|
reserved 65;
|
|
|
|
reserved "SYNC_ACTIVITY_CENTER_NOTIFICATIONS";
|
2023-11-02 15:07:03 +00:00
|
|
|
// No need to sync AC state now since we allow exist different number of ACs between paired devices
|
|
|
|
// Also we will update AC state after sync AC decision
|
|
|
|
reserved 66;
|
|
|
|
reserved "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE";
|
2023-08-08 13:16:29 +00:00
|
|
|
COMMUNITY_EVENTS_MESSAGE = 67;
|
2023-07-05 12:41:58 +00:00
|
|
|
COMMUNITY_EDIT_SHARED_ADDRESSES = 68;
|
2023-07-18 13:35:06 +00:00
|
|
|
SYNC_ACCOUNT_CUSTOMIZATION_COLOR = 69;
|
2023-07-16 11:11:48 +00:00
|
|
|
SYNC_ACCOUNTS_POSITIONS = 70;
|
2024-03-25 09:15:26 +00:00
|
|
|
reserved "COMMUNITY_EVENTS_MESSAGE_REJECTED";
|
|
|
|
reserved 71;
|
2023-08-15 15:27:01 +00:00
|
|
|
COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE = 72;
|
2023-10-12 19:21:49 +00:00
|
|
|
COMMUNITY_SHARD_KEY = 73;
|
2023-10-17 13:24:15 +00:00
|
|
|
SYNC_CHAT = 74;
|
2023-10-22 09:41:20 +00:00
|
|
|
SYNC_ACTIVITY_CENTER_DELETED = 75;
|
|
|
|
SYNC_ACTIVITY_CENTER_UNREAD = 76;
|
2023-10-26 04:17:18 +00:00
|
|
|
SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION = 77;
|
2023-12-04 10:18:05 +00:00
|
|
|
SYNC_TOKEN_PREFERENCES = 78;
|
2023-12-22 12:37:37 +00:00
|
|
|
COMMUNITY_PUBLIC_SHARD_INFO = 79;
|
2024-01-17 13:12:49 +00:00
|
|
|
SYNC_COLLECTIBLE_PREFERENCES = 80;
|
2024-01-23 16:56:51 +00:00
|
|
|
COMMUNITY_USER_KICKED = 81;
|
2024-02-17 18:07:20 +00:00
|
|
|
SYNC_PROFILE_SHOWCASE_PREFERENCES = 82;
|
2024-02-20 15:49:39 +00:00
|
|
|
COMMUNITY_PUBLIC_STORENODES_INFO = 83;
|
2024-03-06 08:33:52 +00:00
|
|
|
COMMUNITY_REEVALUATE_PERMISSIONS_REQUEST = 84;
|
2024-03-19 19:44:49 +00:00
|
|
|
DELETE_COMMUNITY_MEMBER_MESSAGES = 85;
|
2024-04-17 14:53:51 +00:00
|
|
|
COMMUNITY_UPDATE_GRANT = 86;
|
2024-05-10 08:04:46 +00:00
|
|
|
COMMUNITY_ENCRYPTION_KEYS_REQUEST = 87;
|
2019-12-02 15:34:05 +00:00
|
|
|
}
|
|
|
|
}
|