Commit 38d5dd6ea0031aca4de532bbbeaa9dddb1aaf4ce

Authored by Matti Virkkunen
1 parent 69a23ff6

Added line-main.thrift

Showing 2 changed files with 1606 additions and 3 deletions
line-main.thrift 0 → 100644
  1 +namespace cpp line
  2 +
  3 +enum ApplicationType {
  4 + IOS = 16;
  5 + IOS_RC = 17;
  6 + IOS_BETA = 18;
  7 + IOS_ALPHA = 19;
  8 + ANDROID = 32;
  9 + ANDROID_RC = 33;
  10 + ANDROID_BETA = 34;
  11 + ANDROID_ALPHA = 35;
  12 + WAP = 48;
  13 + WAP_RC = 49;
  14 + WAP_BETA = 50;
  15 + WAP_ALPHA = 51;
  16 + BOT = 64;
  17 + BOT_RC = 65;
  18 + BOT_BETA = 66;
  19 + BOT_ALPHA = 67;
  20 + WEB = 80;
  21 + WEB_RC = 81;
  22 + WEB_BETA = 82;
  23 + WEB_ALPHA = 83;
  24 + DESKTOPWIN = 96;
  25 + DESKTOPWIN_RC = 97;
  26 + DESKTOPWIN_BETA = 98;
  27 + DESKTOPWIN_ALPHA = 99;
  28 + DESKTOPMAC = 112;
  29 + DESKTOPMAC_RC = 113;
  30 + DESKTOPMAC_BETA = 114;
  31 + DESKTOPMAC_ALPHA = 115;
  32 + CHANNELGW = 128;
  33 + CHANNELGW_RC = 129;
  34 + CHANNELGW_BETA = 130;
  35 + CHANNELGW_ALPHA = 131;
  36 + CHANNELCP = 144;
  37 + CHANNELCP_RC = 145;
  38 + CHANNELCP_BETA = 146;
  39 + CHANNELCP_ALPHA = 147;
  40 + WINPHONE = 160;
  41 + WINPHONE_RC = 161;
  42 + WINPHONE_BETA = 162;
  43 + WINPHONE_ALPHA = 163;
  44 + BLACKBERRY = 176;
  45 + BLACKBERRY_RC = 177;
  46 + BLACKBERRY_BETA = 178;
  47 + BLACKBERRY_ALPHA = 179;
  48 + WINMETRO = 192;
  49 + WINMETRO_RC = 193;
  50 + WINMETRO_BETA = 194;
  51 + WINMETRO_ALPHA = 195;
  52 + S40 = 208;
  53 + S40_RC = 209;
  54 + S40_BETA = 210;
  55 + S40_ALPHA = 211;
  56 + CHRONO = 224;
  57 + CHRONO_RC = 225;
  58 + CHRONO_BETA = 226;
  59 + CHRONO_ALPHA = 227;
  60 + TIZEN = 256;
  61 + TIZEN_RC = 257;
  62 + TIZEN_BETA = 258;
  63 + TIZEN_ALPHA = 259;
  64 + VIRTUAL = 272;
  65 +}
  66 +
  67 +enum CarrierCode {
  68 + NOT_SPECIFIED = 0;
  69 + JP_DOCOMO = 1;
  70 + JP_AU = 2;
  71 + JP_SOFTBANK = 3;
  72 + KR_SKT = 17;
  73 + KR_KT = 18;
  74 + KR_LGT = 19;
  75 +}
  76 +
  77 +enum ContactRelation {
  78 + ONEWAY = 0;
  79 + BOTH = 1;
  80 + NOT_REGISTERED = 2;
  81 +}
  82 +
  83 +enum ContactSetting {
  84 + CONTACT_SETTING_NOTIFICATION_DISABLE = 1;
  85 + CONTACT_SETTING_DISPLAY_NAME_OVERRIDE = 2;
  86 + CONTACT_SETTING_CONTACT_HIDE = 4;
  87 + CONTACT_SETTING_FAVORITE = 8;
  88 + CONTACT_SETTING_DELETE = 16;
  89 +}
  90 +
  91 +enum ContactStatus {
  92 + UNSPECIFIED = 0;
  93 + FRIEND = 1;
  94 + FRIEND_BLOCKED = 2;
  95 + RECOMMEND = 3;
  96 + RECOMMEND_BLOCKED = 4;
  97 + DELETED = 5;
  98 + DELETED_BLOCKED = 6;
  99 +}
  100 +
  101 +enum ContactType {
  102 + MID = 0;
  103 + PHONE = 1;
  104 + EMAIL = 2;
  105 + USERID = 3;
  106 + PROXIMITY = 4;
  107 + GROUP = 5;
  108 + USER = 6;
  109 + QRCODE = 7;
  110 + PROMOTION_BOT = 8;
  111 + REPAIR = 128;
  112 + FACEBOOK = 2305;
  113 + SINA = 2306;
  114 + RENREN = 2307;
  115 + FEIXIN = 2308;
  116 +}
  117 +
  118 +enum ContentType {
  119 + NONE = 0;
  120 + IMAGE = 1;
  121 + VIDEO = 2;
  122 + AUDIO = 3;
  123 + HTML = 4;
  124 + PDF = 5;
  125 + CALL = 6;
  126 + STICKER = 7;
  127 + PRESENCE = 8;
  128 + GIFT = 9;
  129 + GROUPBOARD = 10;
  130 + APPLINK = 11;
  131 + LINK = 12;
  132 + CONTACT = 13;
  133 + FILE = 14;
  134 + LOCATION = 15;
  135 + POSTNOTIFICATION = 16;
  136 + RICH = 17;
  137 + CHATEVENT = 18;
  138 +}
  139 +
  140 +enum CustomMode {
  141 + PROMOTION_FRIENDS_INVITE = 1;
  142 + CAPABILITY_SERVER_SIDE_SMS = 2;
  143 + LINE_CLIENT_ANALYTICS_CONFIGURATION = 3;
  144 +}
  145 +
  146 +enum EmailConfirmationStatus {
  147 + NOT_SPECIFIED = 0;
  148 + NOT_YET = 1;
  149 + DONE = 3;
  150 +}
  151 +
  152 +enum EmailConfirmationType {
  153 + SERVER_SIDE_EMAIL = 0;
  154 + CLIENT_SIDE_EMAIL = 1;
  155 +}
  156 +
  157 +enum ErrorCode {
  158 + ILLEGAL_ARGUMENT = 0;
  159 + AUTHENTICATION_FAILED = 1;
  160 + DB_FAILED = 2;
  161 + INVALID_STATE = 3;
  162 + EXCESSIVE_ACCESS = 4;
  163 + NOT_FOUND = 5;
  164 + INVALID_LENGTH = 6;
  165 + NOT_AVAILABLE_USER = 7;
  166 + NOT_AUTHORIZED_DEVICE = 8;
  167 + INVALID_MID = 9;
  168 + NOT_A_MEMBER = 10;
  169 + INCOMPATIBLE_APP_VERSION = 11;
  170 + NOT_READY = 12;
  171 + NOT_AVAILABLE_SESSION = 13;
  172 + NOT_AUTHORIZED_SESSION = 14;
  173 + SYSTEM_ERROR = 15;
  174 + NO_AVAILABLE_VERIFICATION_METHOD = 16;
  175 + NOT_AUTHENTICATED = 17;
  176 + INVALID_IDENTITY_CREDENTIAL = 18;
  177 + NOT_AVAILABLE_IDENTITY_IDENTIFIER = 19;
  178 + INTERNAL_ERROR = 20;
  179 + NO_SUCH_IDENTITY_IDENFIER = 21;
  180 + DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY = 22;
  181 + ILLEGAL_IDENTITY_CREDENTIAL = 23;
  182 + UNKNOWN_CHANNEL = 24;
  183 + NO_SUCH_MESSAGE_BOX = 25;
  184 + NOT_AVAILABLE_MESSAGE_BOX = 26;
  185 + CHANNEL_DOES_NOT_MATCH = 27;
  186 + NOT_YOUR_MESSAGE = 28;
  187 + MESSAGE_DEFINED_ERROR = 29;
  188 + USER_CANNOT_ACCEPT_PRESENTS = 30;
  189 + USER_NOT_STICKER_OWNER = 32;
  190 + MAINTENANCE_ERROR = 33;
  191 + ACCOUNT_NOT_MATCHED = 34;
  192 + ABUSE_BLOCK = 35;
  193 + NOT_FRIEND = 36;
  194 + NOT_ALLOWED_CALL = 37;
  195 + BLOCK_FRIEND = 38;
  196 + INCOMPATIBLE_VOIP_VERSION = 39;
  197 + INVALID_SNS_ACCESS_TOKEN = 40;
  198 + EXTERNAL_SERVICE_NOT_AVAILABLE = 41;
  199 + NOT_ALLOWED_ADD_CONTACT = 42;
  200 + NOT_CERTIFICATED = 43;
  201 + NOT_ALLOWED_SECONDARY_DEVICE = 44;
  202 + INVALID_PIN_CODE = 45;
  203 + NOT_FOUND_IDENTITY_CREDENTIAL = 46;
  204 + EXCEED_FILE_MAX_SIZE = 47;
  205 + EXCEED_DAILY_QUOTA = 48;
  206 + NOT_SUPPORT_SEND_FILE = 49;
  207 + MUST_UPGRADE = 50;
  208 + NOT_AVAILABLE_PIN_CODE_SESSION = 51;
  209 +}
  210 +
  211 +enum FeatureType {
  212 + OBJECT_STORAGE = 1;
  213 +}
  214 +
  215 +enum IdentityProvider {
  216 + UNKNOWN = 0;
  217 + LINE = 1;
  218 + NAVER_KR = 2;
  219 +}
  220 +
  221 +enum LoginResultType {
  222 + SUCCESS = 1;
  223 + REQUIRE_QRCODE = 2;
  224 + REQUIRE_DEVICE_CONFIRM = 3;
  225 +}
  226 +
  227 +enum MIDType {
  228 + USER = 0;
  229 + ROOM = 1;
  230 + GROUP = 2;
  231 +}
  232 +
  233 +enum ModificationType {
  234 + ADD = 0;
  235 + REMOVE = 1;
  236 + MODIFY = 2;
  237 +}
  238 +
  239 +enum NotificationStatus {
  240 + NOTIFICATION_ITEM_EXIST = 1;
  241 + TIMELINE_ITEM_EXIST = 2;
  242 + NOTE_GROUP_NEW_ITEM_EXIST = 4;
  243 + TIMELINE_BUDDYGROUP_CHANGED = 8;
  244 + NOTE_ONE_TO_ONE_NEW_ITEM_EXIST = 16;
  245 + ALBUM_ITEM_EXIST = 32;
  246 + TIMELINE_ITEM_DELETED = 64;
  247 +}
  248 +
  249 +enum NotificationType {
  250 + APPLE_APNS = 1;
  251 + GOOGLE_C2DM = 2;
  252 + NHN_NNI = 3;
  253 + SKT_AOM = 4;
  254 + MS_MPNS = 5;
  255 + RIM_BIS = 6;
  256 + GOOGLE_GCM = 7;
  257 + NOKIA_NNAPI = 8;
  258 + TIZEN = 9;
  259 + LINE_BOT = 17;
  260 + LINE_WAP = 18;
  261 +}
  262 +
  263 +enum OpStatus {
  264 + NORMAL = 0;
  265 + ALERT_DISABLED = 1;
  266 +}
  267 +
  268 +enum OpType {
  269 + END_OF_OPERATION = 0;
  270 + UPDATE_PROFILE = 1;
  271 + NOTIFIED_UPDATE_PROFILE = 2;
  272 + REGISTER_USERID = 3;
  273 + ADD_CONTACT = 4;
  274 + NOTIFIED_ADD_CONTACT = 5;
  275 + BLOCK_CONTACT = 6;
  276 + UNBLOCK_CONTACT = 7;
  277 + NOTIFIED_RECOMMEND_CONTACT = 8;
  278 + CREATE_GROUP = 9;
  279 + UPDATE_GROUP = 10;
  280 + NOTIFIED_UPDATE_GROUP = 11;
  281 + INVITE_INTO_GROUP = 12;
  282 + NOTIFIED_INVITE_INTO_GROUP = 13;
  283 + LEAVE_GROUP = 14;
  284 + NOTIFIED_LEAVE_GROUP = 15;
  285 + ACCEPT_GROUP_INVITATION = 16;
  286 + NOTIFIED_ACCEPT_GROUP_INVITATION = 17;
  287 + KICKOUT_FROM_GROUP = 18;
  288 + NOTIFIED_KICKOUT_FROM_GROUP = 19;
  289 + CREATE_ROOM = 20;
  290 + INVITE_INTO_ROOM = 21;
  291 + NOTIFIED_INVITE_INTO_ROOM = 22;
  292 + LEAVE_ROOM = 23;
  293 + NOTIFIED_LEAVE_ROOM = 24;
  294 + SEND_MESSAGE = 25;
  295 + RECEIVE_MESSAGE = 26;
  296 + SEND_MESSAGE_RECEIPT = 27;
  297 + RECEIVE_MESSAGE_RECEIPT = 28;
  298 + SEND_CONTENT_RECEIPT = 29;
  299 + RECEIVE_ANNOUNCEMENT = 30;
  300 + CANCEL_INVITATION_GROUP = 31;
  301 + NOTIFIED_CANCEL_INVITATION_GROUP = 32;
  302 + NOTIFIED_UNREGISTER_USER = 33;
  303 + REJECT_GROUP_INVITATION = 34;
  304 + NOTIFIED_REJECT_GROUP_INVITATION = 35;
  305 + UPDATE_SETTINGS = 36;
  306 + NOTIFIED_REGISTER_USER = 37;
  307 + INVITE_VIA_EMAIL = 38;
  308 + NOTIFIED_REQUEST_RECOVERY = 39;
  309 + SEND_CHAT_CHECKED = 40;
  310 + SEND_CHAT_REMOVED = 41;
  311 + NOTIFIED_FORCE_SYNC = 42;
  312 + SEND_CONTENT = 43;
  313 + SEND_MESSAGE_MYHOME = 44;
  314 + NOTIFIED_UPDATE_CONTENT_PREVIEW = 45;
  315 + REMOVE_ALL_MESSAGES = 46;
  316 + NOTIFIED_UPDATE_PURCHASES = 47;
  317 + DUMMY = 48;
  318 + UPDATE_CONTACT = 49;
  319 + NOTIFIED_RECEIVED_CALL = 50;
  320 + CANCEL_CALL = 51;
  321 + NOTIFIED_REDIRECT = 52;
  322 + NOTIFIED_CHANNEL_SYNC = 53;
  323 + FAILED_SEND_MESSAGE = 54;
  324 + NOTIFIED_READ_MESSAGE = 55;
  325 + FAILED_EMAIL_CONFIRMATION = 56;
  326 + NOTIFIED_CHAT_CONTENT = 58;
  327 + NOTIFIED_PUSH_NOTICENTER_ITEM = 59;
  328 +}
  329 +
  330 +enum ProfileAttribute {
  331 + EMAIL = 1;
  332 + DISPLAY_NAME = 2;
  333 + PHONETIC_NAME = 4;
  334 + PICTURE = 8;
  335 + STATUS_MESSAGE = 16;
  336 + ALLOW_SEARCH_BY_USERID = 32;
  337 + ALLOW_SEARCH_BY_EMAIL = 64;
  338 + BUDDY_STATUS = 128;
  339 + ALL = 255;
  340 +}
  341 +
  342 +enum SettingsAttribute {
  343 + NOTIFICATION_ENABLE = 1;
  344 + NOTIFICATION_MUTE_EXPIRATION = 2;
  345 + NOTIFICATION_NEW_MESSAGE = 4;
  346 + NOTIFICATION_GROUP_INVITATION = 8;
  347 + NOTIFICATION_SHOW_MESSAGE = 16;
  348 + NOTIFICATION_INCOMING_CALL = 32;
  349 + PRIVACY_SYNC_CONTACTS = 64;
  350 + PRIVACY_SEARCH_BY_PHONE_NUMBER = 128;
  351 + NOTIFICATION_SOUND_MESSAGE = 256;
  352 + NOTIFICATION_SOUND_GROUP = 512;
  353 + CONTACT_MY_TICKET = 1024;
  354 + IDENTITY_PROVIDER = 2048;
  355 + IDENTITY_IDENTIFIER = 4096;
  356 + PRIVACY_SEARCH_BY_USERID = 8192;
  357 + PRIVACY_SEARCH_BY_EMAIL = 16384;
  358 + PREFERENCE_LOCALE = 32768;
  359 + NOTIFICATION_DISABLED_WITH_SUB = 65536;
  360 + SNS_ACCOUNT = 524288;
  361 + PHONE_REGISTRATION = 1048576;
  362 + PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 2097152;
  363 + CUSTOM_MODE = 4194304;
  364 + PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 8388608;
  365 + EMAIL_CONFIRMATION_STATUS = 16777216;
  366 + PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 33554432;
  367 + ALL = 2147483647;
  368 +}
  369 +
  370 +enum SnsIdType {
  371 + FACEBOOK = 1;
  372 + SINA = 2;
  373 + RENREN = 3;
  374 + FEIXIN = 4;
  375 +}
  376 +
  377 +enum SpammerReason {
  378 + OTHER = 0;
  379 + ADVERTISING = 1;
  380 + GENDER_HARASSMENT = 2;
  381 + HARASSMENT = 3;
  382 +}
  383 +
  384 +enum SyncActionType {
  385 + SYNC = 0;
  386 + REPORT = 1;
  387 +}
  388 +
  389 +enum SyncCategory {
  390 + PROFILE = 0;
  391 + SETTINGS = 1;
  392 + OPS = 2;
  393 + CONTACT = 3;
  394 + RECOMMEND = 4;
  395 + BLOCK = 5;
  396 + GROUP = 6;
  397 + ROOM = 7;
  398 + NOTIFICATION = 8;
  399 +}
  400 +
  401 +enum VerificationMethod {
  402 + NO_AVAILABLE = 0;
  403 + PIN_VIA_SMS = 1;
  404 + CALLERID_INDIGO = 2;
  405 + PIN_VIA_TTS = 4;
  406 + SKIP = 10;
  407 +}
  408 +
  409 +enum VerificationResult {
  410 + FAILED = 0;
  411 + OK_NOT_REGISTERED_YET = 1;
  412 + OK_REGISTERED_WITH_SAME_DEVICE = 2;
  413 + OK_REGISTERED_WITH_ANOTHER_DEVICE = 3;
  414 +}
  415 +
  416 +enum WapInvitationType {
  417 + REGISTRATION = 1;
  418 + CHAT = 2;
  419 +}
  420 +
  421 +struct Announcement {
  422 + 1: i32 index;
  423 + 10: bool forceUpdate;
  424 + 11: string title;
  425 + 12: string text;
  426 + 13: i64 createdTime;
  427 + 14: string pictureUrl;
  428 + 15: string thumbnailUrl;
  429 +}
  430 +
  431 +struct AuthQrcode {
  432 + 1: string qrcode;
  433 + 2: string verifier;
  434 +}
  435 +
  436 +struct Contact {
  437 + 1: string mid;
  438 + 2: i64 createdTime;
  439 + 10: ContactType type;
  440 + 11: ContactStatus status;
  441 + 21: ContactRelation relation;
  442 + 22: string displayName;
  443 + 23: string phoneticName;
  444 + 24: string pictureStatus;
  445 + 25: string thumbnailUrl;
  446 + 26: string statusMessage;
  447 + 27: string displayNameOverridden;
  448 + 28: i64 favoriteTime;
  449 + 31: bool capableVoiceCall;
  450 + 32: bool capableVideoCall;
  451 + 33: bool capableMyhome;
  452 + 34: bool capableBuddy;
  453 + 35: i32 attributes;
  454 + 36: i64 settings;
  455 + 37: string picturePath;
  456 +}
  457 +
  458 +struct Location {
  459 + 1: string title;
  460 + 2: string address;
  461 + 3: double latitude;
  462 + 4: double longitude;
  463 + 5: string phone;
  464 +}
  465 +
  466 +struct CompactContact {
  467 + 1: string mid;
  468 + 2: i64 createdTime;
  469 + 3: i64 modifiedTime;
  470 + 4: ContactStatus status;
  471 + 5: i64 settings;
  472 + 6: string displayNameOverridden;
  473 +}
  474 +
  475 +struct ContactModification {
  476 + 1: ModificationType type;
  477 + 2: string luid;
  478 + 11: list<string> phones;
  479 + 12: list<string> emails;
  480 + 13: list<string> userids;
  481 +}
  482 +
  483 +struct ContactRegistration {
  484 + 1: Contact contact;
  485 + 10: string luid;
  486 + 11: ContactType contactType;
  487 + 12: string contactKey;
  488 +}
  489 +
  490 +struct ContactReport {
  491 + 1: string mid;
  492 + 2: bool exists;
  493 + 3: Contact contact;
  494 +}
  495 +
  496 +struct ContactReportResult {
  497 + 1: string mid;
  498 + 2: bool exists;
  499 +}
  500 +
  501 +struct DeviceInfo {
  502 + 1: string deviceName;
  503 + 2: string systemName;
  504 + 3: string systemVersion;
  505 + 4: string model;
  506 + 10: CarrierCode carrierCode;
  507 + 11: string carrierName;
  508 + 20: ApplicationType applicationType;
  509 +}
  510 +
  511 +struct EmailConfirmation {
  512 + 1: bool usePasswordSet;
  513 + 2: string email;
  514 + 3: string password;
  515 + 4: bool ignoreDuplication;
  516 +}
  517 +
  518 +struct EmailConfirmationSession {
  519 + 1: EmailConfirmationType emailConfirmationType;
  520 + 2: string verifier;
  521 + 3: string targetEmail;
  522 +}
  523 +
  524 +struct Geolocation {
  525 + 1: double longitude;
  526 + 2: double latitude;
  527 +}
  528 +
  529 +struct Group {
  530 + 1: string id;
  531 + 2: i64 createdTime;
  532 + 10: string name;
  533 + 11: string pictureStatus;
  534 + 20: list<Contact> members;
  535 + 21: Contact creator;
  536 + 22: list<Contact> invitee;
  537 + 31: bool notificationDisabled;
  538 +}
  539 +
  540 +struct IdentityCredential {
  541 + 1: IdentityProvider provider;
  542 + 2: string identifier;
  543 + 3: string password;
  544 +}
  545 +
  546 +struct LoginResult {
  547 + 1: string authToken;
  548 + 2: string certificate;
  549 + 3: string verifier;
  550 + 4: string pinCode;
  551 + 5: LoginResultType type;
  552 +}
  553 +
  554 +struct LoginSession {
  555 + 1: string tokenKey;
  556 + 3: i64 expirationTime;
  557 + 11: ApplicationType applicationType;
  558 + 12: string systemName;
  559 + 22: string accessLocation;
  560 +}
  561 +
  562 +struct Message {
  563 + 1: string from;
  564 + 2: string to;
  565 + 3: MIDType toType;
  566 + 4: string id;
  567 + 5: i64 createdTime;
  568 + 6: i64 deliveredTime;
  569 + 10: string text;
  570 + 11: optional Location location;
  571 + 14: bool hasContent;
  572 + 15: ContentType contentType;
  573 + 17: binary contentPreview;
  574 + 18: map<string, string> contentMetadata;
  575 +}
  576 +
  577 +struct Operation {
  578 + 1: i64 revision;
  579 + 2: i64 createdTime;
  580 + 3: OpType type;
  581 + 4: i32 reqSeq;
  582 + 5: string checksum;
  583 + 7: OpStatus status;
  584 + 10: string param1;
  585 + 11: string param2;
  586 + 12: string param3;
  587 + 20: Message message;
  588 +}
  589 +
  590 +struct Profile {
  591 + 1: string mid;
  592 + 3: string userid;
  593 + 10: string phone;
  594 + 11: string email;
  595 + 12: string regionCode;
  596 + 20: string displayName;
  597 + 21: string phoneticName;
  598 + 22: string pictureStatus;
  599 + 23: string thumbnailUrl;
  600 + 24: string statusMessage;
  601 + 31: bool allowSearchByUserid;
  602 + 32: bool allowSearchByEmail;
  603 + 33: string picturePath;
  604 +}
  605 +
  606 +struct ProximityMatchCandidateResult {
  607 + 1: list<Contact> users;
  608 + 2: list<Contact> buddies;
  609 +}
  610 +
  611 +struct RegisterWithSnsIdResult {
  612 + 1: string authToken;
  613 + 2: bool userCreated;
  614 +}
  615 +
  616 +struct Room {
  617 + 1: string mid;
  618 + 2: i64 createdTime;
  619 + 10: list<Contact> contacts;
  620 + 31: bool notificationDisabled;
  621 +}
  622 +
  623 +struct RSAKey {
  624 + 1: string keynm;
  625 + 2: string nvalue;
  626 + 3: string evalue;
  627 + 4: string sessionKey;
  628 +}
  629 +
  630 +struct Settings {
  631 + 10: bool notificationEnable;
  632 + 11: i64 notificationMuteExpiration;
  633 + 12: bool notificationNewMessage;
  634 + 13: bool notificationGroupInvitation;
  635 + 14: bool notificationShowMessage;
  636 + 15: bool notificationIncomingCall;
  637 + 16: string notificationSoundMessage;
  638 + 17: string notificationSoundGroup;
  639 + 18: bool notificationDisabledWithSub;
  640 + 20: bool privacySyncContacts;
  641 + 21: bool privacySearchByPhoneNumber;
  642 + 22: bool privacySearchByUserid;
  643 + 23: bool privacySearchByEmail;
  644 + 24: bool privacyAllowSecondaryDeviceLogin;
  645 + 25: bool privacyProfileImagePostToMyhome;
  646 + 26: bool privacyReceiveMessagesFromNotFriend;
  647 + 30: string contactMyTicket;
  648 + 40: IdentityProvider identityProvider;
  649 + 41: string identityIdentifier;
  650 + 42: map<SnsIdType, string> snsAccounts;
  651 + 43: bool phoneRegistration;
  652 + 44: EmailConfirmationStatus emailConfirmationStatus;
  653 + 50: string preferenceLocale;
  654 + 60: map<CustomMode, string> customModes;
  655 +}
  656 +
  657 +struct SnsFriend {
  658 + 1: string snsUserId;
  659 + 2: string snsUserName;
  660 + 3: SnsIdType snsIdType;
  661 +}
  662 +
  663 +struct SnsFriendContactRegistration {
  664 + 1: Contact contact;
  665 + 2: SnsIdType snsIdType;
  666 + 3: string snsUserId;
  667 +}
  668 +
  669 +struct SnsFriendModification {
  670 + 1: ModificationType type;
  671 + 2: SnsFriend snsFriend;
  672 +}
  673 +
  674 +struct SnsIdUserStatus {
  675 + 1: bool userExisting;
  676 + 2: bool phoneNumberRegistered;
  677 + 3: bool sameDevice;
  678 +}
  679 +
  680 +struct SystemConfiguration {
  681 + 1: string endpoint;
  682 + 2: string endpointSsl;
  683 + 3: string updateUrl;
  684 + 11: string c2dmAccount;
  685 + 12: string nniServer;
  686 +}
  687 +
  688 +exception TalkException {
  689 + 1: ErrorCode code;
  690 + 2: string reason;
  691 + 3: map<string, string> parameterMap;
  692 +}
  693 +
  694 +struct Ticket {
  695 + 1: string id;
  696 + 10: i64 expirationTime;
  697 + 21: i32 maxUseCount;
  698 +}
  699 +
  700 +struct TMessageBox {
  701 + 1: string id;
  702 + 2: string channelId;
  703 + 5: i64 lastSeq;
  704 + 6: i64 unreadCount;
  705 + 7: i64 lastModifiedTime;
  706 + 8: i32 status;
  707 + 9: MIDType midType;
  708 + 10: list<Message> lastMessages;
  709 +}
  710 +
  711 +struct TMessageBoxWrapUp {
  712 + 1: TMessageBox messageBox;
  713 + 2: string name;
  714 + 3: list<Contact> contacts;
  715 + 4: string pictureRevision;
  716 +}
  717 +
  718 +struct TMessageBoxWrapUpResponse {
  719 + 1: list<TMessageBoxWrapUp> messageBoxWrapUpList;
  720 + 2: i32 totalSize;
  721 +}
  722 +
  723 +struct UserAuthStatus {
  724 + 1: bool phoneNumberRegistered;
  725 + 2: list<SnsIdType> registeredSnsIdTypes;
  726 +}
  727 +
  728 +struct VerificationSessionData {
  729 + 1: string sessionId;
  730 + 2: VerificationMethod method;
  731 + 3: string callback;
  732 + 4: string normalizedPhone;
  733 + 5: string countryCode;
  734 + 6: string nationalSignificantNumber;
  735 + 7: list<VerificationMethod> availableVerificationMethods;
  736 +}
  737 +
  738 +struct WapInvitation {
  739 + 1: WapInvitationType type;
  740 + 10: string inviteeEmail;
  741 + 11: string inviterMid;
  742 + 12: string roomMid;
  743 +}
  744 +
  745 +service ShopService {
  746 + void buyCoinProduct(
  747 + 2: PaymentReservation paymentReservation) throws(1: TalkException e);
  748 +
  749 + void buyFreeProduct(
  750 + 2: string receiverMid,
  751 + 3: string productId,
  752 + 4: i32 messageTemplate,
  753 + 5: string language,
  754 + 6: string country,
  755 + 7: i64 packageId) throws(1: TalkException e);
  756 +
  757 + void buyMustbuyProduct(
  758 + 2: string receiverMid,
  759 + 3: string productId,
  760 + 4: i32 messageTemplate,
  761 + 5: string language,
  762 + 6: string country,
  763 + 7: i64 packageId,
  764 + 8: string serialNumber) throws(1: TalkException e);
  765 +
  766 + void checkCanReceivePresent(
  767 + 2: string recipientMid,
  768 + 3: i64 packageId,
  769 + 4: string language,
  770 + 5: string country) throws(1: TalkException e);
  771 +
  772 + ProductList getActivePurchases(
  773 + 2: i64 start,
  774 + 3: i32 size,
  775 + 4: string language,
  776 + 5: string country) throws(1: TalkException e);
  777 +
  778 + ProductSimpleList getActivePurchaseVersions(
  779 + 2: i64 start,
  780 + 3: i32 size,
  781 + 4: string language,
  782 + 5: string country) throws(1: TalkException e);
  783 +
  784 + list<CoinProductItem> getCoinProducts(
  785 + 2: PaymentType appStoreCode,
  786 + 3: string country,
  787 + 4: string language) throws(1: TalkException e);
  788 +
  789 + list<CoinProductItem> getCoinProductsByPgCode(
  790 + 2: PaymentType appStoreCode,
  791 + 3: PaymentPgType pgCode,
  792 + 4: string country,
  793 + 5: string language) throws(1: TalkException e);
  794 +
  795 + CoinHistoryResult getCoinPurchaseHistory(
  796 + 2: CoinHistoryCondition request) throws(1: TalkException e);
  797 +
  798 + CoinHistoryResult getCoinUseAndRefundHistory(
  799 + 2: CoinHistoryCondition request) throws(1: TalkException e);
  800 +
  801 + ProductList getDownloads(
  802 + 2: i64 start,
  803 + 3: i32 size,
  804 + 4: string language,
  805 + 5: string country) throws(1: TalkException e);
  806 +
  807 + ProductList getEventPackages(
  808 + 2: i64 start,
  809 + 3: i32 size,
  810 + 4: string language,
  811 + 5: string country) throws(1: TalkException e);
  812 +
  813 + ProductList getNewlyReleasedPackages(
  814 + 2: i64 start,
  815 + 3: i32 size,
  816 + 4: string language,
  817 + 5: string country) throws(1: TalkException e);
  818 +
  819 + ProductList getPopularPackages(
  820 + 2: i64 start,
  821 + 3: i32 size,
  822 + 4: string language,
  823 + 5: string country) throws(1: TalkException e);
  824 +
  825 + ProductList getPresentsReceived(
  826 + 2: i64 start,
  827 + 3: i32 size,
  828 + 4: string language,
  829 + 5: string country) throws(1: TalkException e);
  830 +
  831 + ProductList getPresentsSent(
  832 + 2: i64 start,
  833 + 3: i32 size,
  834 + 4: string language,
  835 + 5: string country) throws(1: TalkException e);
  836 +
  837 + Product getProduct(
  838 + 2: i64 packageID,
  839 + 3: string language,
  840 + 4: string country) throws(1: TalkException e);
  841 +
  842 + ProductList getProductList(
  843 + 2: list<string> productIdList,
  844 + 3: string language,
  845 + 4: string country) throws(1: TalkException e);
  846 +
  847 + ProductList getProductListWithCarrier(
  848 + 2: list<string> productIdList,
  849 + 3: string language,
  850 + 4: string country,
  851 + 5: string carrierCode) throws(1: TalkException e);
  852 +
  853 + Product getProductWithCarrier(
  854 + 2: i64 packageID,
  855 + 3: string language,
  856 + 4: string country,
  857 + 5: string carrierCode) throws(1: TalkException e);
  858 +
  859 + ProductList getPurchaseHistory(
  860 + 2: i64 start,
  861 + 3: i32 size,
  862 + 4: string language,
  863 + 5: string country) throws(1: TalkException e);
  864 +
  865 + Coin getTotalBalance(
  866 + 2: PaymentType appStoreCode) throws(1: TalkException e);
  867 +
  868 + i64 notifyDownloaded(
  869 + 2: i64 packageId,
  870 + 3: string language) throws(1: TalkException e);
  871 +
  872 + PaymentReservationResult reserveCoinPurchase(
  873 + 2: CoinPurchaseReservation request) throws(1: TalkException e);
  874 +
  875 + PaymentReservationResult reservePayment(
  876 + 2: PaymentReservation paymentReservation) throws(1: TalkException e);
  877 +}
  878 +
  879 +service TalkService {
  880 + void acceptGroupInvitation(
  881 + 1: i32 reqSeq,
  882 + 2: string groupId) throws(1: TalkException e);
  883 +
  884 + void acceptProximityMatches(
  885 + 2: string sessionId,
  886 + 3: set<string> ids) throws(1: TalkException e);
  887 +
  888 + list<string> acquireCallRoute(
  889 + 2: string to) throws(1: TalkException e);
  890 +
  891 + string acquireCallTicket(
  892 + 2: string to) throws(1: TalkException e);
  893 +
  894 + string acquireEncryptedAccessToken(
  895 + 2: FeatureType featureType) throws(1: TalkException e);
  896 +
  897 + string addSnsId(
  898 + 2: SnsIdType snsIdType,
  899 + 3: string snsAccessToken) throws(1: TalkException e);
  900 +
  901 + void blockContact(
  902 + 1: i32 reqSeq,
  903 + 2: string id) throws(1: TalkException e);
  904 +
  905 + void blockRecommendation(
  906 + 1: i32 reqSeq,
  907 + 2: string id) throws(1: TalkException e);
  908 +
  909 + void cancelGroupInvitation(
  910 + 1: i32 reqSeq,
  911 + 2: string groupId,
  912 + 3: list<string> contactIds) throws(1: TalkException e);
  913 +
  914 + VerificationSessionData changeVerificationMethod(
  915 + 2: string sessionId,
  916 + 3: VerificationMethod method) throws(1: TalkException e);
  917 +
  918 + void clearIdentityCredential() throws(1: TalkException e);
  919 +
  920 + void clearMessageBox(
  921 + 2: string channelId,
  922 + 3: string messageBoxId) throws(1: TalkException e);
  923 +
  924 + void closeProximityMatch(
  925 + 2: string sessionId) throws(1: TalkException e);
  926 +
  927 + map<string, string> commitSendMessage(
  928 + 1: i32 seq,
  929 + 2: string messageId,
  930 + 3: list<string> receiverMids) throws(1: TalkException e);
  931 +
  932 + map<string, string> commitSendMessages(
  933 + 1: i32 seq,
  934 + 2: list<string> messageIds,
  935 + 3: list<string> receiverMids) throws(1: TalkException e);
  936 +
  937 + map<string, string> commitUpdateProfile(
  938 + 1: i32 seq,
  939 + 2: list<ProfileAttribute> attrs,
  940 + 3: list<string> receiverMids) throws(1: TalkException e);
  941 +
  942 + void confirmEmail(
  943 + 2: string verifier,
  944 + 3: string pinCode) throws(1: TalkException e);
  945 +
  946 + Group createGroup(
  947 + 1: i32 seq,
  948 + 2: string name,
  949 + 3: list<string> contactIds) throws(1: TalkException e);
  950 +
  951 + string createQrcodeBase64Image(
  952 + 2: string url,
  953 + 3: string characterSet,
  954 + 4: i32 imageSize,
  955 + 5: i32 x,
  956 + 6: i32 y,
  957 + 7: i32 width,
  958 + 8: i32 height) throws(1: TalkException e);
  959 +
  960 + Room createRoom(
  961 + 1: i32 reqSeq,
  962 + 2: list<string> contactIds) throws(1: TalkException e);
  963 +
  964 + string createSession() throws(1: TalkException e);
  965 +
  966 + list<Announcement> fetchAnnouncements(
  967 + 2: i32 lastFetchedIndex) throws(1: TalkException e);
  968 +
  969 + list<Message> fetchMessages(
  970 + 2: i64 localTs,
  971 + 3: i32 count) throws(1: TalkException e);
  972 +
  973 + list<Operation> fetchOperations(
  974 + 2: i64 localRev,
  975 + 3: i32 count) throws(1: TalkException e);
  976 +
  977 + list<Operation> fetchOps(
  978 + 2: i64 localRev,
  979 + 3: i32 count,
  980 + 4: i64 globalRev,
  981 + 5: i64 individualRev) throws(1: TalkException e);
  982 +
  983 + map<string, Contact> findAndAddContactsByEmail(
  984 + 1: i32 reqSeq,
  985 + 2: set<string> emails) throws(1: TalkException e);
  986 +
  987 + map<string, Contact> findAndAddContactsByMid(
  988 + 1: i32 reqSeq,
  989 + 2: string mid) throws(1: TalkException e);
  990 +
  991 + map<string, Contact> findAndAddContactsByPhone(
  992 + 1: i32 reqSeq,
  993 + 2: set<string> phones) throws(1: TalkException e);
  994 +
  995 + map<string, Contact> findAndAddContactsByUserid(
  996 + 1: i32 reqSeq,
  997 + 2: string userid) throws(1: TalkException e);
  998 +
  999 + Contact findContactByUserid(
  1000 + 2: string userid) throws(1: TalkException e);
  1001 +
  1002 + Contact findContactByUserTicket(
  1003 + 2: string ticketId) throws(1: TalkException e);
  1004 +
  1005 + map<string, Contact> findContactsByEmail(
  1006 + 2: set<string> emails) throws(1: TalkException e);
  1007 +
  1008 + map<string, Contact> findContactsByPhone(
  1009 + 2: set<string> phones) throws(1: TalkException e);
  1010 +
  1011 + SnsIdUserStatus findSnsIdUserStatus(
  1012 + 2: SnsIdType snsIdType,
  1013 + 3: string snsAccessToken,
  1014 + 4: string udidHash) throws(1: TalkException e);
  1015 +
  1016 + void finishUpdateVerification(
  1017 + 2: string sessionId) throws(1: TalkException e);
  1018 +
  1019 + Ticket generateUserTicket(
  1020 + 3: i64 expirationTime,
  1021 + 4: i32 maxUseCount) throws(1: TalkException e);
  1022 +
  1023 + set<string> getAcceptedProximityMatches(
  1024 + 2: string sessionId) throws(1: TalkException e);
  1025 +
  1026 + list<string> getActiveBuddySubscriberIds() throws(1: TalkException e);
  1027 +
  1028 + list<string> getAllContactIds() throws(1: TalkException e);
  1029 +
  1030 + AuthQrcode getAuthQrcode(
  1031 + 2: bool keepLoggedIn,
  1032 + 3: string systemName) throws(1: TalkException e);
  1033 +
  1034 + list<string> getBlockedContactIds() throws(1: TalkException e);
  1035 +
  1036 + list<string> getBlockedContactIdsByRange(
  1037 + 2: i32 start,
  1038 + 3: i32 count) throws(1: TalkException e);
  1039 +
  1040 + list<string> getBlockedRecommendationIds() throws(1: TalkException e);
  1041 +
  1042 + list<string> getBuddyBlockerIds() throws(1: TalkException e);
  1043 +
  1044 + Geolocation getBuddyLocation(
  1045 + 2: string mid,
  1046 + 3: i32 index) throws(1: TalkException e);
  1047 +
  1048 + list<CompactContact> getCompactContactsModifiedSince(
  1049 + 2: i64 timestamp) throws(1: TalkException e);
  1050 +
  1051 + Group getCompactGroup(
  1052 + 2: string groupId) throws(1: TalkException e);
  1053 +
  1054 + Room getCompactRoom(
  1055 + 2: string roomId) throws(1: TalkException e);
  1056 +
  1057 + Contact getContact(
  1058 + 2: string id) throws(1: TalkException e);
  1059 +
  1060 + list<Contact> getContacts(
  1061 + 2: list<string> ids) throws(1: TalkException e);
  1062 +
  1063 + string getCountryWithRequestIp() throws(1: TalkException e);
  1064 +
  1065 + list<string> getFavoriteMids() throws(1: TalkException e);
  1066 +
  1067 + Group getGroup(
  1068 + 2: string groupId) throws(1: TalkException e);
  1069 +
  1070 + list<string> getGroupIdsInvited() throws(1: TalkException e);
  1071 +
  1072 + list<string> getGroupIdsJoined() throws(1: TalkException e);
  1073 +
  1074 + list<Group> getGroups(
  1075 + 2: list<string> groupIds) throws(1: TalkException e);
  1076 +
  1077 + list<string> getHiddenContactMids() throws(1: TalkException e);
  1078 +
  1079 + string getIdentityIdentifier() throws(1: TalkException e);
  1080 +
  1081 + i32 getLastAnnouncementIndex() throws(1: TalkException e);
  1082 +
  1083 + i64 getLastOpRevision() throws(1: TalkException e);
  1084 +
  1085 + TMessageBox getMessageBox(
  1086 + 2: string channelId,
  1087 + 3: string messageBoxId,
  1088 + 4: i32 lastMessagesCount) throws(1: TalkException e);
  1089 +
  1090 + TMessageBoxWrapUp getMessageBoxCompactWrapUp(
  1091 + 2: string mid) throws(1: TalkException e);
  1092 +
  1093 + TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpList(
  1094 + 2: i32 start,
  1095 + 3: i32 messageBoxCount) throws(1: TalkException e);
  1096 +
  1097 + list<TMessageBox> getMessageBoxList(
  1098 + 2: string channelId,
  1099 + 3: i32 lastMessagesCount) throws(1: TalkException e);
  1100 +
  1101 + list<TMessageBox> getMessageBoxListByStatus(
  1102 + 2: string channelId,
  1103 + 3: i32 lastMessagesCount,
  1104 + 4: i32 status) throws(1: TalkException e);
  1105 +
  1106 + TMessageBoxWrapUp getMessageBoxWrapUp(
  1107 + 2: string mid) throws(1: TalkException e);
  1108 +
  1109 + TMessageBoxWrapUpResponse getMessageBoxWrapUpList(
  1110 + 2: i32 start,
  1111 + 3: i32 messageBoxCount) throws(1: TalkException e);
  1112 +
  1113 + list<Message> getMessagesBySequenceNumber(
  1114 + 2: string channelId,
  1115 + 3: string messageBoxId,
  1116 + 4: i64 startSeq,
  1117 + 5: i64 endSeq) throws(1: TalkException e);
  1118 +
  1119 + list<Message> getNextMessages(
  1120 + 2: string messageBoxId,
  1121 + 3: i64 startSeq,
  1122 + 4: i32 messagesCount) throws(1: TalkException e);
  1123 +
  1124 + list<NotificationType> getNotificationPolicy(
  1125 + 2: CarrierCode carrier) throws(1: TalkException e);
  1126 +
  1127 + list<Message> getPreviousMessages(
  1128 + 2: string messageBoxId,
  1129 + 3: i64 endSeq,
  1130 + 4: i32 messagesCount) throws(1: TalkException e);
  1131 +
  1132 + Profile getProfile() throws(1: TalkException e);
  1133 +
  1134 + ProximityMatchCandidateResult getProximityMatchCandidateList(
  1135 + 2: string sessionId) throws(1: TalkException e);
  1136 +
  1137 + set<Contact> getProximityMatchCandidates(
  1138 + 2: string sessionId) throws(1: TalkException e);
  1139 +
  1140 + list<Message> getRecentMessages(
  1141 + 2: string messageBoxId,
  1142 + 3: i32 messagesCount) throws(1: TalkException e);
  1143 +
  1144 + list<string> getRecommendationIds() throws(1: TalkException e);
  1145 +
  1146 + Room getRoom(
  1147 + 2: string roomId) throws(1: TalkException e);
  1148 +
  1149 + RSAKey getRSAKeyInfo(
  1150 + 2: IdentityProvider provider) throws(1: TalkException e);
  1151 +
  1152 + i64 getServerTime() throws(1: TalkException e);
  1153 +
  1154 + list<LoginSession> getSessions() throws(1: TalkException e);
  1155 +
  1156 + Settings getSettings() throws(1: TalkException e);
  1157 +
  1158 + Settings getSettingsAttributes(
  1159 + 2: i32 attrBitset) throws(1: TalkException e);
  1160 +
  1161 + SystemConfiguration getSystemConfiguration() throws(1: TalkException e);
  1162 +
  1163 + Ticket getUserTicket() throws(1: TalkException e);
  1164 +
  1165 + WapInvitation getWapInvitation(
  1166 + 2: string invitationHash) throws(1: TalkException e);
  1167 +
  1168 + void invalidateUserTicket() throws(1: TalkException e);
  1169 +
  1170 + void inviteFriendsBySms(
  1171 + 2: list<string> phoneNumberList) throws(1: TalkException e);
  1172 +
  1173 + void inviteIntoGroup(
  1174 + 1: i32 reqSeq,
  1175 + 2: string groupId,
  1176 + 3: list<string> contactIds) throws(1: TalkException e);
  1177 +
  1178 + void inviteIntoRoom(
  1179 + 1: i32 reqSeq,
  1180 + 2: string roomId,
  1181 + 3: list<string> contactIds) throws(1: TalkException e);
  1182 +
  1183 + void inviteViaEmail(
  1184 + 1: i32 reqSeq,
  1185 + 2: string email,
  1186 + 3: string name) throws(1: TalkException e);
  1187 +
  1188 + bool isIdentityIdentifierAvailable(
  1189 + 3: IdentityProvider provider,
  1190 + 2: string identifier) throws(1: TalkException e);
  1191 +
  1192 + bool isUseridAvailable(
  1193 + 2: string userid) throws(1: TalkException e);
  1194 +
  1195 + void kickoutFromGroup(
  1196 + 1: i32 reqSeq,
  1197 + 2: string groupId,
  1198 + 3: list<string> contactIds) throws(1: TalkException e);
  1199 +
  1200 + void leaveGroup(
  1201 + 1: i32 reqSeq,
  1202 + 2: string groupId) throws(1: TalkException e);
  1203 +
  1204 + void leaveRoom(
  1205 + 1: i32 reqSeq,
  1206 + 2: string roomId) throws(1: TalkException e);
  1207 +
  1208 + string loginWithIdentityCredential(
  1209 + 8: IdentityProvider identityProvider,
  1210 + 3: string identifier,
  1211 + 4: string password,
  1212 + 5: bool keepLoggedIn,
  1213 + 6: string accessLocation,
  1214 + 7: string systemName,
  1215 + 9: string certificate) throws(1: TalkException e);
  1216 +
  1217 + LoginResult loginWithIdentityCredentialForCertificate(
  1218 + 8: IdentityProvider identityProvider,
  1219 + 3: string identifier,
  1220 + 4: string password,
  1221 + 5: bool keepLoggedIn,
  1222 + 6: string accessLocation,
  1223 + 7: string systemName,
  1224 + 9: string certificate) throws(1: TalkException e);
  1225 +
  1226 + string loginWithVerifier(
  1227 + 3: string verifier) throws(1: TalkException e);
  1228 +
  1229 + LoginResult loginWithVerifierForCerificate(
  1230 + 3: string verifier) throws(1: TalkException e);
  1231 +
  1232 + LoginResult loginWithVerifierForCertificate(
  1233 + 3: string verifier) throws(1: TalkException e);
  1234 +
  1235 + void logout() throws(1: TalkException e);
  1236 +
  1237 + void logoutSession(
  1238 + 2: string tokenKey) throws(1: TalkException e);
  1239 +
  1240 + void noop() throws(1: TalkException e);
  1241 +
  1242 + void notifiedRedirect(
  1243 + 2: map<string, string> paramMap) throws(1: TalkException e);
  1244 +
  1245 + map<string, string> notifyBuddyOnAir(
  1246 + 1: i32 seq,
  1247 + 2: list<string> receiverMids) throws(1: TalkException e);
  1248 +
  1249 + void notifyIndividualEvent(
  1250 + 2: NotificationStatus notificationStatus,
  1251 + 3: list<string> receiverMids) throws(1: TalkException e);
  1252 +
  1253 + void notifyInstalled(
  1254 + 2: string udidHash,
  1255 + 3: string applicationTypeWithExtensions);
  1256 +
  1257 + void notifyRegistrationComplete(
  1258 + 2: string udidHash,
  1259 + 3: string applicationTypeWithExtensions);
  1260 +
  1261 + void notifySleep(
  1262 + 2: i64 lastRev,
  1263 + 3: i32 badge) throws(1: TalkException e);
  1264 +
  1265 + void notifyUpdated(
  1266 + 2: i64 lastRev,
  1267 + 3: DeviceInfo deviceInfo) throws(1: TalkException e);
  1268 +
  1269 + string openProximityMatch(
  1270 + 2: Location location) throws(1: TalkException e);
  1271 +
  1272 + string registerBuddyUser(
  1273 + 2: string buddyId,
  1274 + 3: string registrarPassword) throws(1: TalkException e);
  1275 +
  1276 + void registerBuddyUserid(
  1277 + 2: i32 seq,
  1278 + 3: string userid) throws(1: TalkException e);
  1279 +
  1280 + string registerDevice(
  1281 + 2: string sessionId) throws(1: TalkException e);
  1282 +
  1283 + string registerDeviceWithIdentityCredential(
  1284 + 2: string sessionId,
  1285 + 5: IdentityProvider provider,
  1286 + 3: string identifier,
  1287 + 4: string verifier) throws(1: TalkException e);
  1288 +
  1289 + string registerDeviceWithoutPhoneNumber(
  1290 + 2: string region,
  1291 + 3: string udidHash,
  1292 + 4: DeviceInfo deviceInfo) throws(1: TalkException e);
  1293 +
  1294 + string registerDeviceWithoutPhoneNumberWithIdentityCredential(
  1295 + 2: string region,
  1296 + 3: string udidHash,
  1297 + 4: DeviceInfo deviceInfo,
  1298 + 5: IdentityProvider provider,
  1299 + 6: string identifier,
  1300 + 7: string verifier,
  1301 + 8: string mid) throws(1: TalkException e);
  1302 +
  1303 + bool registerUserid(
  1304 + 1: i32 reqSeq,
  1305 + 2: string userid) throws(1: TalkException e);
  1306 +
  1307 + string registerWapDevice(
  1308 + 2: string invitationHash,
  1309 + 3: string guidHash,
  1310 + 4: string email,
  1311 + 5: DeviceInfo deviceInfo) throws(1: TalkException e);
  1312 +
  1313 + string registerWithExistingSnsIdAndIdentityCredential(
  1314 + 2: IdentityCredential identityCredential,
  1315 + 3: string region,
  1316 + 4: string udidHash,
  1317 + 5: DeviceInfo deviceInfo) throws(1: TalkException e);
  1318 +
  1319 + RegisterWithSnsIdResult registerWithSnsId(
  1320 + 2: SnsIdType snsIdType,
  1321 + 3: string snsAccessToken,
  1322 + 4: string region,
  1323 + 5: string udidHash,
  1324 + 6: DeviceInfo deviceInfo,
  1325 + 7: string mid) throws(1: TalkException e);
  1326 +
  1327 + string registerWithSnsIdAndIdentityCredential(
  1328 + 2: SnsIdType snsIdType,
  1329 + 3: string snsAccessToken,
  1330 + 4: IdentityCredential identityCredential,
  1331 + 5: string region,
  1332 + 6: string udidHash,
  1333 + 7: DeviceInfo deviceInfo) throws(1: TalkException e);
  1334 +
  1335 + string reissueDeviceCredential() throws(1: TalkException e);
  1336 +
  1337 + string reissueUserTicket(
  1338 + 3: i64 expirationTime,
  1339 + 4: i32 maxUseCount) throws(1: TalkException e);
  1340 +
  1341 + void rejectGroupInvitation(
  1342 + 1: i32 reqSeq,
  1343 + 2: string groupId) throws(1: TalkException e);
  1344 +
  1345 + void releaseSession() throws(1: TalkException e);
  1346 +
  1347 + void removeAllMessages(
  1348 + 1: i32 seq,
  1349 + 2: string lastMessageId) throws(1: TalkException e);
  1350 +
  1351 + void removeBuddyLocation(
  1352 + 2: string mid,
  1353 + 3: i32 index) throws(1: TalkException e);
  1354 +
  1355 + bool removeMessage(
  1356 + 2: string messageId) throws(1: TalkException e);
  1357 +
  1358 + bool removeMessageFromMyHome(
  1359 + 2: string messageId) throws(1: TalkException e);
  1360 +
  1361 + string removeSnsId(
  1362 + 2: SnsIdType snsIdType) throws(1: TalkException e);
  1363 +
  1364 + void report(
  1365 + 2: i64 syncOpRevision,
  1366 + 3: SyncCategory category,
  1367 + 4: string report) throws(1: TalkException e);
  1368 +
  1369 + list<ContactReportResult> reportContacts(
  1370 + 2: i64 syncOpRevision,
  1371 + 3: SyncCategory category,
  1372 + 4: list<ContactReport> contactReports,
  1373 + 5: SyncActionType actionType) throws(1: TalkException e);
  1374 +
  1375 + void reportGroups(
  1376 + 2: i64 syncOpRevision,
  1377 + 3: list<Group> groups) throws(1: TalkException e);
  1378 +
  1379 + void reportProfile(
  1380 + 2: i64 syncOpRevision,
  1381 + 3: Profile profile) throws(1: TalkException e);
  1382 +
  1383 + void reportRooms(
  1384 + 2: i64 syncOpRevision,
  1385 + 3: list<Room> rooms) throws(1: TalkException e);
  1386 +
  1387 + void reportSettings(
  1388 + 2: i64 syncOpRevision,
  1389 + 3: Settings settings) throws(1: TalkException e);
  1390 +
  1391 + void reportSpammer(
  1392 + 2: string spammerMid,
  1393 + 3: list<SpammerReason> spammerReasons,
  1394 + 4: list<string> spamMessageIds) throws(1: TalkException e);
  1395 +
  1396 + void requestAccountPasswordReset(
  1397 + 4: IdentityProvider provider,
  1398 + 2: string identifier,
  1399 + 5: string locale) throws(1: TalkException e);
  1400 +
  1401 + EmailConfirmationSession requestEmailConfirmation(
  1402 + 2: EmailConfirmation emailConfirmation) throws(1: TalkException e);
  1403 +
  1404 + void requestIdentityUnbind(
  1405 + 4: IdentityProvider provider,
  1406 + 2: string identifier) throws(1: TalkException e);
  1407 +
  1408 + EmailConfirmationSession resendEmailConfirmation(
  1409 + 2: string verifier) throws(1: TalkException e);
  1410 +
  1411 + void resendPinCode(
  1412 + 2: string sessionId) throws(1: TalkException e);
  1413 +
  1414 + void resendPinCodeBySMS(
  1415 + 2: string sessionId) throws(1: TalkException e);
  1416 +
  1417 + void sendChatChecked(
  1418 + 1: i32 seq,
  1419 + 2: string consumer,
  1420 + 3: string lastMessageId) throws(1: TalkException e);
  1421 +
  1422 + void sendChatRemoved(
  1423 + 1: i32 seq,
  1424 + 2: string consumer,
  1425 + 3: string lastMessageId) throws(1: TalkException e);
  1426 +
  1427 + map<string, string> sendContentPreviewUpdated(
  1428 + 1: i32 esq,
  1429 + 2: string messageId,
  1430 + 3: list<string> receiverMids) throws(1: TalkException e);
  1431 +
  1432 + void sendContentReceipt(
  1433 + 1: i32 seq,
  1434 + 2: string consumer,
  1435 + 3: string messageId) throws(1: TalkException e);
  1436 +
  1437 + void sendDummyPush() throws(1: TalkException e);
  1438 +
  1439 + Message sendEvent(
  1440 + 1: i32 seq,
  1441 + 2: Message message) throws(1: TalkException e);
  1442 +
  1443 + Message sendMessage(
  1444 + 1: i32 seq,
  1445 + 2: Message message) throws(1: TalkException e);
  1446 +
  1447 + void sendMessageIgnored(
  1448 + 1: i32 seq,
  1449 + 2: string consumer,
  1450 + 3: list<string> messageIds) throws(1: TalkException e);
  1451 +
  1452 + void sendMessageReceipt(
  1453 + 1: i32 seq,
  1454 + 2: string consumer,
  1455 + 3: list<string> messageIds) throws(1: TalkException e);
  1456 +
  1457 + Message sendMessageToMyHome(
  1458 + 1: i32 seq,
  1459 + 2: Message message) throws(1: TalkException e);
  1460 +
  1461 + void setBuddyLocation(
  1462 + 2: string mid,
  1463 + 3: i32 index,
  1464 + 4: Geolocation location) throws(1: TalkException e);
  1465 +
  1466 + void setIdentityCredential(
  1467 + 4: IdentityProvider provider,
  1468 + 2: string identifier,
  1469 + 3: string verifier) throws(1: TalkException e);
  1470 +
  1471 + void setNotificationsEnabled(
  1472 + 1: i32 reqSeq,
  1473 + 2: MIDType type,
  1474 + 3: string target,
  1475 + 4: bool enablement) throws(1: TalkException e);
  1476 +
  1477 + VerificationSessionData startUpdateVerification(
  1478 + 2: string region,
  1479 + 3: CarrierCode carrier,
  1480 + 4: string phone,
  1481 + 5: string udidHash,
  1482 + 6: DeviceInfo deviceInfo,
  1483 + 7: string networkCode,
  1484 + 8: string locale) throws(1: TalkException e);
  1485 +
  1486 + VerificationSessionData startVerification(
  1487 + 2: string region,
  1488 + 3: CarrierCode carrier,
  1489 + 4: string phone,
  1490 + 5: string udidHash,
  1491 + 6: DeviceInfo deviceInfo,
  1492 + 7: string networkCode,
  1493 + 8: string mid,
  1494 + 9: string locale) throws(1: TalkException e);
  1495 +
  1496 + void storeUpdateProfileAttribute(
  1497 + 1: i32 seq,
  1498 + 2: ProfileAttribute profileAttribute,
  1499 + 3: string value) throws(1: TalkException e);
  1500 +
  1501 + list<SnsFriendContactRegistration> syncContactBySnsIds(
  1502 + 1: i32 reqSeq,
  1503 + 2: list<SnsFriendModification> modifications) throws(1: TalkException e);
  1504 +
  1505 + map<string, ContactRegistration> syncContacts(
  1506 + 1: i32 reqSeq,
  1507 + 2: list<ContactModification> localContacts) throws(1: TalkException e);
  1508 +
  1509 + Message trySendMessage(
  1510 + 1: i32 seq,
  1511 + 2: Message message) throws(1: TalkException e);
  1512 +
  1513 + void unblockContact(
  1514 + 1: i32 reqSeq,
  1515 + 2: string id) throws(1: TalkException e);
  1516 +
  1517 + void unblockRecommendation(
  1518 + 1: i32 reqSeq,
  1519 + 2: string id) throws(1: TalkException e);
  1520 +
  1521 + string unregisterUserAndDevice() throws(1: TalkException e);
  1522 +
  1523 + void updateApnsDeviceToken(
  1524 + 2: binary apnsDeviceToken) throws(1: TalkException e);
  1525 +
  1526 + void updateBuddySetting(
  1527 + 2: string key,
  1528 + 3: string value) throws(1: TalkException e);
  1529 +
  1530 + void updateC2DMRegistrationId(
  1531 + 2: string registrationId) throws(1: TalkException e);
  1532 +
  1533 + void updateContactSetting(
  1534 + 1: i32 reqSeq,
  1535 + 2: string mid,
  1536 + 3: ContactSetting flag,
  1537 + 4: string value) throws(1: TalkException e);
  1538 +
  1539 + void updateCustomModeSettings(
  1540 + 2: CustomMode customMode,
  1541 + 3: map<string, string> paramMap) throws(1: TalkException e);
  1542 +
  1543 + void updateDeviceInfo(
  1544 + 2: string deviceUid,
  1545 + 3: DeviceInfo deviceInfo) throws(1: TalkException e);
  1546 +
  1547 + void updateGroup(
  1548 + 1: i32 reqSeq,
  1549 + 2: Group group) throws(1: TalkException e);
  1550 +
  1551 + void updateNotificationToken(
  1552 + 3: NotificationType type,
  1553 + 2: string token) throws(1: TalkException e);
  1554 +
  1555 + void updateNotificationTokenWithBytes(
  1556 + 3: NotificationType type,
  1557 + 2: binary token) throws(1: TalkException e);
  1558 +
  1559 + void updateProfile(
  1560 + 1: i32 reqSeq,
  1561 + 2: Profile profile) throws(1: TalkException e);
  1562 +
  1563 + void updateProfileAttribute(
  1564 + 1: i32 reqSeq,
  1565 + 2: ProfileAttribute attr,
  1566 + 3: string value) throws(1: TalkException e);
  1567 +
  1568 + void updateRegion(
  1569 + 2: string region) throws(1: TalkException e);
  1570 +
  1571 + void updateSettings(
  1572 + 1: i32 reqSeq,
  1573 + 2: Settings settings) throws(1: TalkException e);
  1574 +
  1575 + i32 updateSettings2(
  1576 + 1: i32 reqSeq,
  1577 + 2: Settings settings) throws(1: TalkException e);
  1578 +
  1579 + void updateSettingsAttribute(
  1580 + 1: i32 reqSeq,
  1581 + 2: SettingsAttribute attr,
  1582 + 3: string value) throws(1: TalkException e);
  1583 +
  1584 + i32 updateSettingsAttributes(
  1585 + 1: i32 reqSeq,
  1586 + 2: i32 attrBitset,
  1587 + 3: Settings settings) throws(1: TalkException e);
  1588 +
  1589 + void verifyIdentityCredential(
  1590 + 8: IdentityProvider identityProvider,
  1591 + 3: string identifier,
  1592 + 4: string password) throws(1: TalkException e);
  1593 +
  1594 + UserAuthStatus verifyIdentityCredentialWithResult(
  1595 + 2: IdentityCredential identityCredential) throws(1: TalkException e);
  1596 +
  1597 + VerificationResult verifyPhone(
  1598 + 2: string sessionId,
  1599 + 3: string pinCode,
  1600 + 4: string udidHash) throws(1: TalkException e);
  1601 +
  1602 + string verifyQrcode(
  1603 + 2: string verifier,
  1604 + 3: string pinCode) throws(1: TalkException e);
  1605 +}
... ...
line.thrift
1   -// Auto-generated file
2   -
3 1 enum ApplicationType {
4 2 IOS = 16;
5 3 IOS_RC = 17;
... ... @@ -2732,4 +2730,4 @@ service TalkService {
2732 2730 service UniversalNotificationService {
2733 2731 void notify(
2734 2732 2: GlobalEvent event) throws(1: UniversalNotificationServiceException e);
2735   -}
2736 2733 \ No newline at end of file
  2734 +}
... ...