|
|
|
@ -82,77 +82,6 @@ message DataMessage {
|
|
|
|
|
repeated QuotedAttachment attachments = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Contact {
|
|
|
|
|
|
|
|
|
|
message Name {
|
|
|
|
|
optional string givenName = 1;
|
|
|
|
|
optional string familyName = 2;
|
|
|
|
|
optional string prefix = 3;
|
|
|
|
|
optional string suffix = 4;
|
|
|
|
|
optional string middleName = 5;
|
|
|
|
|
optional string displayName = 6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Phone {
|
|
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
|
HOME = 1;
|
|
|
|
|
MOBILE = 2;
|
|
|
|
|
WORK = 3;
|
|
|
|
|
CUSTOM = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
optional string value = 1;
|
|
|
|
|
optional Type type = 2;
|
|
|
|
|
optional string label = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Email {
|
|
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
|
HOME = 1;
|
|
|
|
|
MOBILE = 2;
|
|
|
|
|
WORK = 3;
|
|
|
|
|
CUSTOM = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
optional string value = 1;
|
|
|
|
|
optional Type type = 2;
|
|
|
|
|
optional string label = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message PostalAddress {
|
|
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
|
HOME = 1;
|
|
|
|
|
WORK = 2;
|
|
|
|
|
CUSTOM = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
optional Type type = 1;
|
|
|
|
|
optional string label = 2;
|
|
|
|
|
optional string street = 3;
|
|
|
|
|
optional string pobox = 4;
|
|
|
|
|
optional string neighborhood = 5;
|
|
|
|
|
optional string city = 6;
|
|
|
|
|
optional string region = 7;
|
|
|
|
|
optional string postcode = 8;
|
|
|
|
|
optional string country = 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Avatar {
|
|
|
|
|
optional AttachmentPointer avatar = 1;
|
|
|
|
|
optional bool isProfile = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
optional Name name = 1;
|
|
|
|
|
repeated Phone number = 3;
|
|
|
|
|
repeated Email email = 4;
|
|
|
|
|
repeated PostalAddress address = 5;
|
|
|
|
|
optional Avatar avatar = 6;
|
|
|
|
|
optional string organization = 7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Preview {
|
|
|
|
|
// @required
|
|
|
|
|
optional string url = 1;
|
|
|
|
|