highafdoge

line.thrift

Sep 8th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.87 KB | None | 0 0
  1. namespace cpp lineserver
  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_RC = 129;
  33. CHANNELGW_BETA = 130;
  34. CHANNELGW_ALPHA = 131;
  35. CHANNELCP = 144;
  36. CHANNELCP_RC = 145;
  37. CHANNELCP_BETA = 146;
  38. CHANNELCP_ALPHA = 147;
  39. WINPHONE = 160;
  40. WINPHONE_RC = 161;
  41. WINPHONE_BETA = 162;
  42. WINPHONE_ALPHA = 163;
  43. BLACKBERRY = 176;
  44. BLACKBERRY_RC = 177;
  45. BLACKBERRY_BETA = 178;
  46. BLACKBERRY_ALPHA = 179;
  47. WINMETRO = 192;
  48. WINMETRO_RC = 193;
  49. WINMETRO_BETA = 194;
  50. WINMETRO_ALPHA = 195;
  51. S40 = 208;
  52. S40_RC = 209;
  53. S40_BETA = 210;
  54. S40_ALPHA = 211;
  55. CHRONO = 224;
  56. CHRONO_RC = 225;
  57. CHRONO_BETA = 226;
  58. CHRONO_ALPHA = 227;
  59. TIZEN = 256;
  60. TIZEN_RC = 257;
  61. TIZEN_BETA = 258;
  62. TIZEN_ALPHA = 259;
  63. VIRTUAL = 272;
  64. FIREFOXOS = 288;
  65. FIREFOXOS_RC = 289;
  66. FIREFOXOS_BETA = 290;
  67. FIREFOXOS_ALPHA = 291;
  68. IOSIPAD_BETA = 306;
  69. BIZIOS = 320;
  70. BIZIOS_RC = 321;
  71. BIZIOS_BETA = 322;
  72. BIZIOS_ALPHA = 323;
  73. BIZANDROID = 336;
  74. BIZANDROID_RC = 337;
  75. BIZANDROID_BETA = 338;
  76. BIZANDROID_ALPHA = 339;
  77. BIZBOT = 352;
  78. BIZBOT_RC = 353;
  79. BIZBOT_BETA = 354;
  80. BIZBOT_ALPHA = 355;
  81. CHROMEOS = 368;
  82. CHROMEOS_RC = 369;
  83. CHROMEOS_BETA = 370;
  84. CHROMEOS_ALPHA = 371;
  85. ANDROIDLITE = 384;
  86. ANDROIDLITE_RC = 385;
  87. ANDROIDLITE_BETA = 386;
  88. ANDROIDLITE_ALPHA = 387;
  89. BIZWEB_BETA = 418;
  90. DUMMYPRIMARY = 432;
  91. DUMMYPRIMARY_RC = 433;
  92. DUMMYPRIMARY_BETA = 434;
  93. DUMMYPRIMARY_ALPHA = 435;
  94. }
  95.  
  96. enum BuddyBannerLinkType {
  97. BUDDY_BANNER_LINK_HIDDEN = 0;
  98. BUDDY_BANNER_LINK_MID = 1;
  99. BUDDY_BANNER_LINK_URL = 2;
  100. }
  101.  
  102. enum BuddyOnAirType {
  103. NORMAL = 0;
  104. LIVE = 1;
  105. VOIP = 2;
  106. }
  107.  
  108. enum BuddyResultState {
  109. ACCEPTED = 1;
  110. SUCCEEDED = 2;
  111. FAILED = 3;
  112. CANCELLED = 4;
  113. NOTIFY_FAILED = 5;
  114. STORING = 11;
  115. UPLOADING = 21;
  116. NOTIFYING = 31;
  117. }
  118.  
  119. enum BuddySearchRequestSource {
  120. NA = 0;
  121. FRIEND_VIEW = 1;
  122. OFFICIAL_ACCOUNT_VIEW = 2;
  123. }
  124.  
  125. enum CarrierCode {
  126. NOT_SPECIFIED = 0;
  127. JP_DOCOMO = 1;
  128. JP_AU = 2;
  129. JP_SOFTBANK = 3;
  130. KR_SKT = 17;
  131. KR_KT = 18;
  132. KR_LGT = 19;
  133. }
  134.  
  135. enum ChannelConfiguration {
  136. MESSAGE = 0;
  137. MESSAGE_NOTIFICATION = 1;
  138. NOTIFICATION_CENTER = 2;
  139. }
  140.  
  141. enum ChannelErrorCode {
  142. ILLEGAL_ARGUMENT = 0;
  143. INTERNAL_ERROR = 1;
  144. CONNECTION_ERROR = 2;
  145. AUTHENTICATIONI_FAILED = 3;
  146. NEED_PERMISSION_APPROVAL = 4;
  147. COIN_NOT_USABLE = 5;
  148. }
  149.  
  150. enum ChannelSyncType {
  151. SYNC = 0;
  152. REMOVE = 1;
  153. }
  154.  
  155. enum ContactAttribute {
  156. CONTACT_ATTRIBUTE_CAPABLE_VOICE_CALL = 1;
  157. CONTACT_ATTRIBUTE_CAPABLE_VIDEO_CALL = 2;
  158. CONTACT_ATTRIBUTE_CAPABLE_MY_HOME = 16;
  159. CONTACT_ATTRIBUTE_CAPABLE_BUDDY = 32;
  160. }
  161.  
  162. enum ContactCategory {
  163. NORMAL = 0;
  164. RECOMMEND = 1;
  165. }
  166.  
  167. enum ContactRelation {
  168. ONEWAY = 0;
  169. BOTH = 1;
  170. NOT_REGISTERED = 2;
  171. }
  172.  
  173. enum ContactSetting {
  174. CONTACT_SETTING_NOTIFICATION_DISABLE = 1;
  175. CONTACT_SETTING_DISPLAY_NAME_OVERRIDE = 2;
  176. CONTACT_SETTING_CONTACT_HIDE = 4;
  177. CONTACT_SETTING_FAVORITE = 8;
  178. CONTACT_SETTING_DELETE = 16;
  179. }
  180.  
  181. enum ContactStatus {
  182. UNSPECIFIED = 0;
  183. FRIEND = 1;
  184. FRIEND_BLOCKED = 2;
  185. RECOMMEND = 3;
  186. RECOMMEND_BLOCKED = 4;
  187. DELETED = 5;
  188. DELETED_BLOCKED = 6;
  189. }
  190.  
  191. enum ContactType {
  192. MID = 0;
  193. PHONE = 1;
  194. EMAIL = 2;
  195. USERID = 3;
  196. PROXIMITY = 4;
  197. GROUP = 5;
  198. USER = 6;
  199. QRCODE = 7;
  200. PROMOTION_BOT = 8;
  201. REPAIR = 128;
  202. FACEBOOK = 2305;
  203. SINA = 2306;
  204. RENREN = 2307;
  205. FEIXIN = 2308;
  206. }
  207.  
  208. enum ContentType {
  209. NONE = 0;
  210. IMAGE = 1;
  211. VIDEO = 2;
  212. AUDIO = 3;
  213. HTML = 4;
  214. PDF = 5;
  215. CALL = 6;
  216. STICKER = 7;
  217. PRESENCE = 8;
  218. GIFT = 9;
  219. GROUPBOARD = 10;
  220. APPLINK = 11;
  221. LINK = 12;
  222. CONTACT = 13;
  223. FILE = 14;
  224. LOCATION = 15;
  225. POSTNOTIFICATION = 16;
  226. RICH = 17;
  227. CHATEVENT = 18;
  228. MUSIC = 19;
  229. PAYMENT = 20;
  230. EXTIMAGE = 21;
  231. }
  232.  
  233. enum CustomMode {
  234. PROMOTION_FRIENDS_INVITE = 1;
  235. CAPABILITY_SERVER_SIDE_SMS = 2;
  236. LINE_CLIENT_ANALYTICS_CONFIGURATION = 3;
  237. }
  238.  
  239. enum EmailConfirmationStatus {
  240. NOT_SPECIFIED = 0;
  241. NOT_YET = 1;
  242. DONE = 3;
  243. }
  244.  
  245. enum EmailConfirmationType {
  246. SERVER_SIDE_EMAIL = 0;
  247. CLIENT_SIDE_EMAIL = 1;
  248. }
  249.  
  250. enum ErrorCode {
  251. ILLEGAL_ARGUMENT = 0;
  252. AUTHENTICATION_FAILED = 1;
  253. DB_FAILED = 2;
  254. INVALID_STATE = 3;
  255. EXCESSIVE_ACCESS = 4;
  256. NOT_FOUND = 5;
  257. INVALID_MID = 9;
  258. NOT_A_MEMBER = 10;
  259. INVALID_LENGTH = 6;
  260. NOT_AVAILABLE_USER = 7;
  261. NOT_AUTHORIZED_DEVICE = 8;
  262. NOT_AUTHORIZED_SESSION = 14;
  263. INCOMPATIBLE_APP_VERSION = 11;
  264. NOT_READY = 12;
  265. NOT_AVAILABLE_SESSION = 13;
  266. SYSTEM_ERROR = 15;
  267. NO_AVAILABLE_VERIFICATION_METHOD = 16;
  268. NOT_AUTHENTICATED = 17;
  269. INVALID_IDENTITY_CREDENTIAL = 18;
  270. NOT_AVAILABLE_IDENTITY_IDENTIFIER = 19;
  271. INTERNAL_ERROR = 20;
  272. NO_SUCH_IDENTITY_IDENFIER = 21;
  273. DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY = 22;
  274. ILLEGAL_IDENTITY_CREDENTIAL = 23;
  275. UNKNOWN_CHANNEL = 24;
  276. NO_SUCH_MESSAGE_BOX = 25;
  277. NOT_AVAILABLE_MESSAGE_BOX = 26;
  278. CHANNEL_DOES_NOT_MATCH = 27;
  279. NOT_YOUR_MESSAGE = 28;
  280. MESSAGE_DEFINED_ERROR = 29;
  281. USER_CANNOT_ACCEPT_PRESENTS = 30;
  282. USER_NOT_STICKER_OWNER = 32;
  283. MAINTENANCE_ERROR = 33;
  284. ACCOUNT_NOT_MATCHED = 34;
  285. ABUSE_BLOCK = 35;
  286. NOT_FRIEND = 36;
  287. NOT_ALLOWED_CALL = 37;
  288. BLOCK_FRIEND = 38;
  289. INCOMPATIBLE_VOIP_VERSION = 39;
  290. INVALID_SNS_ACCESS_TOKEN = 40;
  291. EXTERNAL_SERVICE_NOT_AVAILABLE = 41;
  292. NOT_ALLOWED_ADD_CONTACT = 42;
  293. NOT_CERTIFICATED = 43;
  294. NOT_ALLOWED_SECONDARY_DEVICE = 44;
  295. INVALID_PIN_CODE = 45;
  296. NOT_FOUND_IDENTITY_CREDENTIAL = 46;
  297. EXCEED_FILE_MAX_SIZE = 47;
  298. EXCEED_DAILY_QUOTA = 48;
  299. NOT_SUPPORT_SEND_FILE = 49;
  300. MUST_UPGRADE = 50;
  301. NOT_AVAILABLE_PIN_CODE_SESSION = 51;
  302. EXPIRED_REVISION = 52;
  303. NOT_YET_PHONE_NUMBER = 54;
  304. BAD_CALL_NUMBER = 55;
  305. UNAVAILABLE_CALL_NUMBER = 56;
  306. NOT_SUPPORT_CALL_SERVICE = 57;
  307. CONGESTION_CONTROL = 58;
  308. NO_BALANCE = 59;
  309. NOT_PERMITTED_CALLER_ID = 60;
  310. NO_CALLER_ID_LIMIT_EXCEEDED = 61;
  311. CALLER_ID_VERIFICATION_REQUIRED = 62;
  312. NO_CALLER_ID_LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED = 63;
  313. MESSAGE_NOT_FOUND = 64;
  314. INVALID_ACCOUNT_MIGRATION_PINCODE_FORMAT = 65;
  315. ACCOUNT_MIGRATION_PINCODE_NOT_MATCHED = 66;
  316. ACCOUNT_MIGRATION_PINCODE_BLOCKED = 67;
  317. INVALID_PASSWORD_FORMAT = 69;
  318. FEATURE_RESTRICTED = 70;
  319. MESSAGE_NOT_DESTRUCTIBLE = 71;
  320. PAID_CALL_REDEEM_FAILED = 72;
  321. PREVENTED_JOIN_BY_TICKET = 73;
  322. SEND_MESSAGE_NOT_PERMITTED_FROM_LINE_AT = 75;
  323. SEND_MESSAGE_NOT_PERMITTED_WHILE_AUTO_REPLY = 76;
  324. SECURITY_CENTER_NOT_VERIFIED = 77;
  325. SECURITY_CENTER_BLOCKED_BY_SETTING = 78;
  326. SECURITY_CENTER_BLOCKED = 79;
  327. TALK_PROXY_EXCEPTION = 80;
  328. E2EE_INVALID_PROTOCOL = 81;
  329. E2EE_RETRY_ENCRYPT = 82;
  330. E2EE_UPDATE_SENDER_KEY = 83;
  331. E2EE_UPDATE_RECEIVER_KEY = 84;
  332. E2EE_INVALID_ARGUMENT = 85;
  333. E2EE_INVALID_VERSION = 86;
  334. E2EE_SENDER_DISABLED = 87;
  335. E2EE_RECEIVER_DISABLED = 88;
  336. E2EE_SENDER_NOT_ALLOWED = 89;
  337. E2EE_RECEIVER_NOT_ALLOWED = 90;
  338. E2EE_RESEND_FAIL = 91;
  339. E2EE_RESEND_OK = 92;
  340. HITOKOTO_BACKUP_NO_AVAILABLE_DATA = 93;
  341. E2EE_UPDATE_PRIMARY_DEVICE = 94;
  342. SUCCESS = 95;
  343. CANCEL = 96;
  344. E2EE_PRIMARY_NOT_SUPPORT = 97;
  345. E2EE_RETRY_PLAIN = 98;
  346. E2EE_RECREATE_GROUP_KEY = 99;
  347. E2EE_GROUP_TOO_MANY_MEMBERS = 100;
  348. INCOMING_FRIEND_REQUEST_LIMIT = 103;
  349. OUTGOING_FRIEND_REQUEST_LIMIT = 104;
  350. OUTGOING_FRIEND_REQUEST_QUOTA = 105;
  351. DUPLICATED = 106;
  352. }
  353.  
  354. enum FeatureType {
  355. OBS_VIDEO = 1,
  356. OBS_GENERAL = 2;
  357. }
  358.  
  359. enum GroupAttribute {
  360. ALL = 255;
  361. NAME = 1;
  362. PICTURE_STATUS = 2;
  363. PREVENTED_JOIN_BY_TICKET = 4;
  364. NOTIFICATION_SETTING = 8;
  365. }
  366.  
  367. enum IdentityProvider {
  368. UNKNOWN = 0;
  369. LINE = 1;
  370. NAVER_KR = 2;
  371. }
  372.  
  373. enum LoginResultType {
  374. SUCCESS = 1;
  375. REQUIRE_QRCODE = 2;
  376. REQUIRE_DEVICE_CONFIRM = 3;
  377. }
  378.  
  379. enum MessageOperationType {
  380. SEND_MESSAGE = 1;
  381. RECEIVE_MESSAGE = 2;
  382. READ_MESSAGE = 3;
  383. NOTIFIED_READ_MESSAGE = 4;
  384. NOTIFIED_JOIN_CHAT = 5;
  385. FAILED_SEND_MESSAGE = 6;
  386. SEND_CONTENT = 7;
  387. SEND_CONTENT_RECEIPT = 8;
  388. SEND_CHAT_REMOVED = 9;
  389. REMOVE_ALL_MESSAGES = 10;
  390. }
  391.  
  392. enum MIDType {
  393. USER = 0;
  394. ROOM = 1;
  395. GROUP = 2;
  396. }
  397.  
  398. enum ModificationType {
  399. ADD = 0;
  400. REMOVE = 1;
  401. MODIFY = 2;
  402. }
  403.  
  404. enum NotificationItemFetchMode {
  405. ALL = 0;
  406. APPEND = 1;
  407. }
  408.  
  409. enum NotificationQueueType {
  410. GLOBAL = 1;
  411. MESSAGE = 2;
  412. PRIMARY = 3;
  413. }
  414.  
  415. enum NotificationStatus {
  416. NOTIFICATION_ITEM_EXIST = 1;
  417. TIMELINE_ITEM_EXIST = 2;
  418. NOTE_GROUP_NEW_ITEM_EXIST = 4;
  419. TIMELINE_BUDDYGROUP_CHANGED = 8;
  420. NOTE_ONE_TO_ONE_NEW_ITEM_EXIST = 16;
  421. ALBUM_ITEM_EXIST = 32;
  422. TIMELINE_ITEM_DELETED = 64;
  423. }
  424.  
  425. enum NotificationType {
  426. APPLE_APNS = 1;
  427. GOOGLE_C2DM = 2;
  428. NHN_NNI = 3;
  429. SKT_AOM = 4;
  430. MS_MPNS = 5;
  431. RIM_BIS = 6;
  432. GOOGLE_GCM = 7;
  433. NOKIA_NNAPI = 8;
  434. TIZEN = 9;
  435. LINE_BOT = 17;
  436. LINE_WAP = 18;
  437. }
  438.  
  439. enum OpStatus {
  440. NORMAL = 0;
  441. ALERT_DISABLED = 1;
  442. }
  443.  
  444. enum OpType {
  445. END_OF_OPERATION = 0;
  446. UPDATE_PROFILE = 1;
  447. UPDATE_SETTINGS = 36;
  448. NOTIFIED_UPDATE_PROFILE = 2;
  449. REGISTER_USERID = 3;
  450. ADD_CONTACT = 4;
  451. NOTIFIED_ADD_CONTACT = 5;
  452. BLOCK_CONTACT = 6;
  453. UNBLOCK_CONTACT = 7;
  454. NOTIFIED_RECOMMEND_CONTACT = 8;
  455. CREATE_GROUP = 9;
  456. UPDATE_GROUP = 10;
  457. NOTIFIED_UPDATE_GROUP = 11;
  458. INVITE_INTO_GROUP = 12;
  459. NOTIFIED_INVITE_INTO_GROUP = 13;
  460. CANCEL_INVITATION_GROUP = 31;
  461. NOTIFIED_CANCEL_INVITATION_GROUP = 32;
  462. LEAVE_GROUP = 14;
  463. NOTIFIED_LEAVE_GROUP = 15;
  464. ACCEPT_GROUP_INVITATION = 16;
  465. NOTIFIED_ACCEPT_GROUP_INVITATION = 17;
  466. REJECT_GROUP_INVITATION = 34;
  467. NOTIFIED_REJECT_GROUP_INVITATION = 35;
  468. KICKOUT_FROM_GROUP = 18;
  469. NOTIFIED_KICKOUT_FROM_GROUP = 19;
  470. CREATE_ROOM = 20;
  471. INVITE_INTO_ROOM = 21;
  472. NOTIFIED_INVITE_INTO_ROOM = 22;
  473. LEAVE_ROOM = 23;
  474. NOTIFIED_LEAVE_ROOM = 24;
  475. SEND_MESSAGE = 25;
  476. RECEIVE_MESSAGE = 26;
  477. SEND_MESSAGE_RECEIPT = 27;
  478. RECEIVE_MESSAGE_RECEIPT = 28;
  479. SEND_CONTENT_RECEIPT = 29;
  480. SEND_CHAT_CHECKED = 40;
  481. SEND_CHAT_REMOVED = 41;
  482. RECEIVE_ANNOUNCEMENT = 30;
  483. INVITE_VIA_EMAIL = 38;
  484. NOTIFIED_REGISTER_USER = 37;
  485. NOTIFIED_UNREGISTER_USER = 33;
  486. NOTIFIED_REQUEST_RECOVERY = 39;
  487. NOTIFIED_FORCE_SYNC = 42;
  488. SEND_CONTENT = 43;
  489. SEND_MESSAGE_MYHOME = 44;
  490. NOTIFIED_UPDATE_CONTENT_PREVIEW = 45;
  491. REMOVE_ALL_MESSAGES = 46;
  492. NOTIFIED_UPDATE_PURCHASES = 47;
  493. DUMMY = 48;
  494. UPDATE_CONTACT = 49;
  495. NOTIFIED_RECEIVED_CALL = 50;
  496. CANCEL_CALL = 51;
  497. NOTIFIED_REDIRECT = 52;
  498. NOTIFIED_CHANNEL_SYNC = 53;
  499. FAILED_SEND_MESSAGE = 54;
  500. NOTIFIED_READ_MESSAGE = 55;
  501. FAILED_EMAIL_CONFIRMATION = 56;
  502. NOTIFIED_PUSH_NOTICENTER_ITEM = 59;
  503. NOTIFIED_CHAT_CONTENT = 58;
  504. NOTIFIED_JOIN_CHAT = 60;
  505. NOTIFIED_LEAVE_CHAT = 61;
  506. NOTIFIED_TYPING = 62;
  507. FRIEND_REQUEST_ACCEPTED = 63;
  508. DESTROY_MESSAGE = 64;
  509. NOTIFIED_DESTROY_MESSAGE = 65;
  510. UPDATE_PUBLICKEYCHAIN = 66;
  511. NOTIFIED_UPDATE_PUBLICKEYCHAIN = 67;
  512. NOTIFIED_BLOCK_CONTACT = 68;
  513. NOTIFIED_UNBLOCK_CONTACT = 69;
  514. UPDATE_GROUPPREFERENCE = 70;
  515. NOTIFIED_PAYMENT_EVENT = 71;
  516. REGISTER_E2EE_PUBLICKEY = 72;
  517. NOTIFIED_E2EE_KEY_EXCHANGE_REQ = 73;
  518. NOTIFIED_E2EE_KEY_EXCHANGE_RESP = 74;
  519. NOTIFIED_E2EE_MESSAGE_RESEND_REQ = 75;
  520. NOTIFIED_E2EE_MESSAGE_RESEND_RESP = 76;
  521. NOTIFIED_E2EE_KEY_UPDATE = 77;
  522. NOTIFIED_BUDDY_UPDATE_PROFILE = 78;
  523. NOTIFIED_UPDATE_LINEAT_TABS = 79;
  524. UPDATE_ROOM = 80;
  525. NOTIFIED_BEACON_DETECTED = 81;
  526. UPDATE_EXTENDED_PROFILE = 82;
  527. ADD_FOLLOW = 83;
  528. NOTIFIED_ADD_FOLLOW = 84;
  529. DELETE_FOLLOW = 85;
  530. NOTIFIED_DELETE_FOLLOW = 86;
  531. UPDATE_TIMELINE_SETTINGS = 87;
  532. NOTIFIED_FRIEND_REQUEST = 88;
  533. UPDATE_RINGBACK_TONE = 89;
  534. NOTIFIED_POSTBACK = 90;
  535. }
  536.  
  537. enum PayloadType {
  538. PAYLOAD_BUY = 101;
  539. PAYLOAD_CS = 111;
  540. PAYLOAD_BONUS = 121;
  541. PAYLOAD_EVENT = 131;
  542. }
  543.  
  544. enum PaymentPgType {
  545. PAYMENT_PG_NONE = 0;
  546. PAYMENT_PG_AU = 1;
  547. PAYMENT_PG_AL = 2;
  548. }
  549.  
  550. enum PaymentType {
  551. PAYMENT_APPLE = 1;
  552. PAYMENT_GOOGLE = 2;
  553. }
  554.  
  555. enum ProductBannerLinkType {
  556. BANNER_LINK_NONE = 0;
  557. BANNER_LINK_ITEM = 1;
  558. BANNER_LINK_URL = 2;
  559. BANNER_LINK_CATEGORY = 3;
  560. }
  561.  
  562. enum ProductEventType {
  563. NO_EVENT = 0;
  564. CARRIER_ANY = 65537;
  565. BUDDY_ANY = 131073;
  566. INSTALL_IOS = 196609;
  567. INSTALL_ANDROID = 196610;
  568. MISSION_ANY = 262145;
  569. MUSTBUY_ANY = 327681;
  570. }
  571.  
  572. enum ProfileAttribute {
  573. EMAIL = 1;
  574. DISPLAY_NAME = 2;
  575. PHONETIC_NAME = 4;
  576. PICTURE = 8;
  577. STATUS_MESSAGE = 16;
  578. ALLOW_SEARCH_BY_USERID = 32;
  579. ALLOW_SEARCH_BY_EMAIL = 64;
  580. BUDDY_STATUS = 128;
  581. ALL = 255;
  582. }
  583.  
  584. enum PublicType {
  585. HIDDEN = 0;
  586. PUBLIC = 1000;
  587. }
  588.  
  589. enum RedirectType {
  590. NONE = 0;
  591. EXPIRE_SECOND = 1;
  592. }
  593.  
  594. enum RegistrationType {
  595. PHONE = 0;
  596. EMAIL_WAP = 1;
  597. FACEBOOK = 2305;
  598. SINA = 2306;
  599. RENREN = 2307;
  600. FEIXIN = 2308;
  601. }
  602.  
  603. enum SettingsAttribute {
  604. NOTIFICATION_ENABLE = 1;
  605. NOTIFICATION_MUTE_EXPIRATION = 2;
  606. NOTIFICATION_NEW_MESSAGE = 4;
  607. NOTIFICATION_GROUP_INVITATION = 8;
  608. NOTIFICATION_SHOW_MESSAGE = 16;
  609. NOTIFICATION_INCOMING_CALL = 32;
  610. PRIVACY_SYNC_CONTACTS = 64;
  611. PRIVACY_SEARCH_BY_PHONE_NUMBER = 128;
  612. NOTIFICATION_SOUND_MESSAGE = 256;
  613. NOTIFICATION_SOUND_GROUP = 512;
  614. CONTACT_MY_TICKET = 1024;
  615. IDENTITY_PROVIDER = 2048;
  616. IDENTITY_IDENTIFIER = 4096;
  617. PRIVACY_SEARCH_BY_USERID = 8192;
  618. PRIVACY_SEARCH_BY_EMAIL = 16384;
  619. PREFERENCE_LOCALE = 32768;
  620. NOTIFICATION_DISABLED_WITH_SUB = 65536;
  621. SNS_ACCOUNT = 524288;
  622. PHONE_REGISTRATION = 1048576;
  623. PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 2097152;
  624. CUSTOM_MODE = 4194304;
  625. PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 8388608;
  626. EMAIL_CONFIRMATION_STATUS = 16777216;
  627. PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 33554432;
  628. ALL = 2147483647;
  629. }
  630.  
  631. enum SnsIdType {
  632. FACEBOOK = 1;
  633. SINA = 2;
  634. RENREN = 3;
  635. FEIXIN = 4;
  636. BBM = 5;
  637. }
  638.  
  639. enum SpammerReason {
  640. OTHER = 0;
  641. ADVERTISING = 1;
  642. GENDER_HARASSMENT = 2;
  643. HARASSMENT = 3;
  644. }
  645.  
  646. enum SyncActionType {
  647. SYNC = 0;
  648. REPORT = 1;
  649. }
  650.  
  651. enum SyncCategory {
  652. PROFILE = 0;
  653. SETTINGS = 1;
  654. OPS = 2;
  655. CONTACT = 3;
  656. RECOMMEND = 4;
  657. BLOCK = 5;
  658. GROUP = 6;
  659. ROOM = 7;
  660. NOTIFICATION = 8;
  661. }
  662.  
  663. enum TMessageBoxStatus {
  664. ACTIVATED = 1;
  665. UNREAD = 2;
  666. }
  667.  
  668. enum UniversalNotificationServiceErrorCode {
  669. INTERNAL_ERROR = 0;
  670. INVALID_KEY = 1;
  671. ILLEGAL_ARGUMENT = 2;
  672. TOO_MANY_REQUEST = 3;
  673. AUTHENTICATION_FAILED = 4;
  674. NO_WRITE_PERMISSION = 5;
  675. }
  676.  
  677. enum UnregistrationReason {
  678. UNREGISTRATION_REASON_UNREGISTER_USER = 1;
  679. UNREGISTRATION_REASON_UNBIND_DEVICE = 2;
  680. }
  681.  
  682. enum UserAgeType {
  683. OVER = 1;
  684. UNDER = 2;
  685. UNDEFINED = 3;
  686. }
  687.  
  688. enum VerificationMethod {
  689. NO_AVAILABLE = 0;
  690. PIN_VIA_SMS = 1;
  691. CALLERID_INDIGO = 2;
  692. PIN_VIA_TTS = 4;
  693. SKIP = 10;
  694. }
  695.  
  696. enum VerificationResult {
  697. FAILED = 0;
  698. OK_NOT_REGISTERED_YET = 1;
  699. OK_REGISTERED_WITH_SAME_DEVICE = 2;
  700. OK_REGISTERED_WITH_ANOTHER_DEVICE = 3;
  701. }
  702.  
  703. enum WapInvitationType {
  704. REGISTRATION = 1;
  705. CHAT = 2;
  706. }
  707.  
  708. struct AgeCheckDocomoResult {
  709. 1: string authUrl;
  710. 2: UserAgeType userAgeType;
  711. }
  712.  
  713. struct AgeCheckRequestResult {
  714. 1: string authUrl;
  715. 2: string sessionId;
  716. }
  717.  
  718. struct Announcement {
  719. 1: i32 index;
  720. 10: bool forceUpdate;
  721. 11: string title;
  722. 12: string text;
  723. 13: i64 createdTime;
  724. 14: string pictureUrl;
  725. 15: string thumbnailUrl;
  726. }
  727.  
  728. struct ChannelProvider {
  729. 1: string name;
  730. }
  731.  
  732. struct ChannelInfo {
  733. 1: string channelId;
  734. 3: string name;
  735. 4: string entryPageUrl;
  736. 5: string descriptionText;
  737. 6: ChannelProvider provider;
  738. 7: PublicType publicType;
  739. 8: string iconImage;
  740. 9: list<string> permissions;
  741. 11: string iconThumbnailImage;
  742. 12: list<ChannelConfiguration> channelConfigurations;
  743. }
  744.  
  745. struct ApprovedChannelInfo {
  746. 1: ChannelInfo channelInfo;
  747. 2: i64 approvedAt;
  748. }
  749.  
  750. struct ApprovedChannelInfos {
  751. 1: list<ApprovedChannelInfo> approvedChannelInfos;
  752. 2: i64 revision;
  753. }
  754.  
  755. struct AuthQrcode {
  756. 1: string qrcode;
  757. 2: string verifier;
  758. }
  759.  
  760. struct BuddyBanner {
  761. 1: BuddyBannerLinkType buddyBannerLinkType;
  762. 2: string buddyBannerLink;
  763. 3: string buddyBannerImageUrl;
  764. }
  765.  
  766. struct BuddyDetail {
  767. 1: string mid;
  768. 2: i64 memberCount;
  769. 3: bool onAir;
  770. 4: bool businessAccount;
  771. 5: bool addable;
  772. 6: set<ContentType> acceptableContentTypes;
  773. 7: bool capableMyhome;
  774. }
  775.  
  776. struct Contact {
  777. 1: string mid;
  778. 2: i64 createdTime;
  779. 10: ContactType type;
  780. 11: ContactStatus status;
  781. 21: ContactRelation relation;
  782. 22: string displayName;
  783. 23: string phoneticName;
  784. 24: string pictureStatus;
  785. 25: string thumbnailUrl;
  786. 26: string statusMessage;
  787. 27: string displayNameOverridden;
  788. 28: i64 favoriteTime;
  789. 31: bool capableVoiceCall;
  790. 32: bool capableVideoCall;
  791. 33: bool capableMyhome;
  792. 34: bool capableBuddy;
  793. 35: i32 attributes;
  794. 36: i64 settings;
  795. 37: string picturePath;
  796. }
  797.  
  798. struct BuddyList {
  799. 1: string classification;
  800. 2: string displayName;
  801. 3: i32 totalBuddyCount;
  802. 4: list<Contact> popularContacts;
  803. }
  804.  
  805. struct Location {
  806. 1: string title;
  807. 2: string address;
  808. 3: double latitude;
  809. 4: double longitude;
  810. 5: string phone;
  811. }
  812.  
  813. struct BuddyMessageRequest {
  814. 1: ContentType contentType;
  815. 2: string text;
  816. 3: Location location;
  817. 4: binary content;
  818. 5: map<string, string> contentMetadata;
  819. }
  820.  
  821. struct BuddyOnAirUrls {
  822. 1: map<string, string> hls;
  823. 2: map<string, string> smoothStreaming;
  824. }
  825.  
  826. struct BuddyOnAir {
  827. 1: string mid;
  828. 3: i64 freshnessLifetime;
  829. 4: string onAirId;
  830. 5: bool onAir;
  831. 11: string text;
  832. 12: i64 viewerCount;
  833. 13: i64 targetCount;
  834. 31: BuddyOnAirType onAirType;
  835. 32: BuddyOnAirUrls onAirUrls;
  836. }
  837.  
  838. struct BuddyProfile {
  839. 1: string buddyId;
  840. 2: string mid;
  841. 3: string searchId;
  842. 4: string displayName;
  843. 5: string statusMessage;
  844. 11: i64 contactCount;
  845. }
  846.  
  847. struct BuddySearchResult {
  848. 1: string mid;
  849. 2: string displayName;
  850. 3: string pictureStatus;
  851. 4: string picturePath;
  852. 5: string statusMessage;
  853. 6: bool businessAccount;
  854. }
  855.  
  856. struct ChannelDomain {
  857. 1: string host;
  858. 2: bool removed;
  859. }
  860.  
  861. struct ChannelDomains {
  862. 1: list<ChannelDomain> channelDomains;
  863. 2: i64 revision;
  864. }
  865.  
  866. exception ChannelException {
  867. 1: ChannelErrorCode code;
  868. 2: string reason;
  869. 3: map<string, string> parameterMap;
  870. }
  871.  
  872. struct ChannelInfos {
  873. 1: list<ChannelInfo> channelInfos;
  874. 2: i64 revision;
  875. }
  876.  
  877. struct ChannelNotificationSetting {
  878. 1: string channelId;
  879. 2: string name;
  880. 3: bool notificationReceivable;
  881. 4: bool messageReceivable;
  882. 5: bool showDefault;
  883. }
  884.  
  885. struct ChannelSyncDatas {
  886. 1: list<ChannelInfo> channelInfos;
  887. 2: list<ChannelDomain> channelDomains;
  888. 3: i64 revision;
  889. 4: i64 expires;
  890. }
  891.  
  892. struct ChannelToken {
  893. 1: string token;
  894. 2: string obsToken;
  895. 3: i64 expiration;
  896. 4: string refreshToken;
  897. 5: string channelAccessToken;
  898. }
  899.  
  900. struct Coin {
  901. 1: i32 freeCoinBalance;
  902. 2: i32 payedCoinBalance;
  903. 3: i32 totalCoinBalance;
  904. 4: i32 rewardCoinBalance;
  905. }
  906.  
  907. struct CoinPayLoad {
  908. 1: i32 payCoin;
  909. 2: i32 freeCoin;
  910. 3: PayloadType type;
  911. 4: i32 rewardCoin;
  912. }
  913.  
  914. struct CoinHistory {
  915. 1: i64 payDate;
  916. 2: i32 coinBalance;
  917. 3: i32 coin;
  918. 4: string price;
  919. 5: string title;
  920. 6: bool refund;
  921. 7: string paySeq;
  922. 8: string currency;
  923. 9: string currencySign;
  924. 10: string displayPrice;
  925. 11: CoinPayLoad payload;
  926. 12: string channelId;
  927. }
  928.  
  929. struct CoinHistoryCondition {
  930. 1: i64 start;
  931. 2: i32 size;
  932. 3: string language;
  933. 4: string eddt;
  934. 5: PaymentType appStoreCode;
  935. }
  936.  
  937. struct CoinHistoryResult {
  938. 1: list<CoinHistory> historys;
  939. 2: Coin balance;
  940. 3: bool hasNext;
  941. }
  942.  
  943. struct CoinProductItem {
  944. 1: string itemId;
  945. 2: i32 coin;
  946. 3: i32 freeCoin;
  947. 5: string currency;
  948. 6: string price;
  949. 7: string displayPrice;
  950. 8: string name;
  951. 9: string desc;
  952. }
  953.  
  954. struct CoinPurchaseConfirm {
  955. 1: string orderId;
  956. 2: PaymentType appStoreCode;
  957. 3: string receipt;
  958. 4: string signature;
  959. 5: string seller;
  960. 6: string requestType;
  961. 7: bool ignoreReceipt;
  962. }
  963.  
  964. struct CoinPurchaseReservation {
  965. 1: string productId;
  966. 2: string country;
  967. 3: string currency;
  968. 4: string price;
  969. 5: PaymentType appStoreCode;
  970. 6: string language;
  971. 7: PaymentPgType pgCode;
  972. 8: string redirectUrl;
  973. }
  974.  
  975. struct CoinUseReservationItem {
  976. 1: string itemId;
  977. 2: string itemName;
  978. 3: i32 amount;
  979. }
  980.  
  981. struct CoinUseReservation {
  982. 1: string channelId;
  983. 2: string shopOrderId;
  984. 3: PaymentType appStoreCode;
  985. 4: list<CoinUseReservationItem> items;
  986. 5: string country;
  987. }
  988.  
  989. struct CompactContact {
  990. 1: string mid;
  991. 2: i64 createdTime;
  992. 3: i64 modifiedTime;
  993. 4: ContactStatus status;
  994. 5: i64 settings;
  995. 6: string displayNameOverridden;
  996. }
  997.  
  998. struct ContactModification {
  999. 1: ModificationType type;
  1000. 2: string luid;
  1001. 11: list<string> phones;
  1002. 12: list<string> emails;
  1003. 13: list<string> userids;
  1004. }
  1005.  
  1006. struct ContactRegistration {
  1007. 1: Contact contact;
  1008. 10: string luid;
  1009. 11: ContactType contactType;
  1010. 12: string contactKey;
  1011. }
  1012.  
  1013. struct ContactReport {
  1014. 1: string mid;
  1015. 2: bool exists;
  1016. 3: Contact contact;
  1017. }
  1018.  
  1019. struct ContactReportResult {
  1020. 1: string mid;
  1021. 2: bool exists;
  1022. }
  1023.  
  1024. struct DeviceInfo {
  1025. 1: string deviceName;
  1026. 2: string systemName;
  1027. 3: string systemVersion;
  1028. 4: string model;
  1029. 10: CarrierCode carrierCode;
  1030. 11: string carrierName;
  1031. 20: ApplicationType applicationType;
  1032. }
  1033.  
  1034. struct EmailConfirmation {
  1035. 1: bool usePasswordSet;
  1036. 2: string email;
  1037. 3: string password;
  1038. 4: bool ignoreDuplication;
  1039. }
  1040.  
  1041. struct EmailConfirmationSession {
  1042. 1: EmailConfirmationType emailConfirmationType;
  1043. 2: string verifier;
  1044. 3: string targetEmail;
  1045. }
  1046.  
  1047. struct FriendChannelMatrix {
  1048. 1: string channelId;
  1049. 2: string representMid;
  1050. 3: i32 count;
  1051. }
  1052.  
  1053. struct FriendChannelMatricesResponse {
  1054. 1: i64 expires;
  1055. 2: list<FriendChannelMatrix> matrices;
  1056. }
  1057.  
  1058. struct Geolocation {
  1059. 1: double longitude;
  1060. 2: double latitude;
  1061. }
  1062.  
  1063. struct NotificationTarget {
  1064. 1: string applicationType;
  1065. 2: string applicationVersion;
  1066. 3: string region;
  1067. }
  1068.  
  1069. struct GlobalEvent {
  1070. 1: string key;
  1071. 2: list<NotificationTarget> targets;
  1072. 3: i64 createdTime;
  1073. 4: i64 data;
  1074. 5: i32 maxDelay;
  1075. }
  1076.  
  1077. struct GroupPreference {
  1078. 11: string invitationTicket;
  1079. 12: i64 favoriteTimestamp;
  1080. }
  1081.  
  1082. struct Group {
  1083. 1: string id;
  1084. 2: i64 createdTime;
  1085. 10: string name;
  1086. 11: string pictureStatus;
  1087. 12: bool preventedJoinByTicket;
  1088. 13: GroupPreference groupPreference;
  1089. 20: list<Contact> members;
  1090. 21: Contact creator;
  1091. 22: list<Contact> invitee;
  1092. 31: bool notificationDisabled;
  1093. 40: list<string> memberMids;
  1094. 41: list<string> inviteeMids;
  1095. }
  1096.  
  1097. struct IdentityCredential {
  1098. 1: IdentityProvider provider;
  1099. 2: string identifier;
  1100. 3: string password;
  1101. }
  1102.  
  1103. struct LastReadMessageId {
  1104. 1: string mid;
  1105. 2: string lastReadMessageId;
  1106. }
  1107.  
  1108. struct LastReadMessageIds {
  1109. 1: string chatId;
  1110. 2: list<LastReadMessageId> lastReadMessageIds;
  1111. }
  1112.  
  1113. struct LoginResult {
  1114. 1: string authToken;
  1115. 2: string certificate;
  1116. 3: string verifier;
  1117. 4: string pinCode;
  1118. 5: LoginResultType type;
  1119. }
  1120.  
  1121. struct LoginSession {
  1122. 1: string tokenKey;
  1123. 3: i64 expirationTime;
  1124. 11: ApplicationType applicationType;
  1125. 12: string systemName;
  1126. 22: string accessLocation;
  1127. }
  1128.  
  1129. struct Message {
  1130. 1: string _from;
  1131. 2: string to;
  1132. 3: MIDType toType;
  1133. 4: string id;
  1134. 5: i64 createdTime;
  1135. 6: i64 deliveredTime;
  1136. 10: string text;
  1137. 11: Location location;
  1138. 14: bool hasContent;
  1139. 15: ContentType contentType;
  1140. 17: binary contentPreview;
  1141. 18: map<string, string> contentMetadata;
  1142. }
  1143.  
  1144. struct MessageOperation {
  1145. 1: i64 revision;
  1146. 2: i64 createdTime;
  1147. 3: MessageOperationType type;
  1148. 4: i32 reqSeq;
  1149. 5: OpStatus status;
  1150. 10: string param1;
  1151. 11: string param2;
  1152. 12: string param3;
  1153. 20: Message message;
  1154. }
  1155.  
  1156. struct MessageOperations {
  1157. 1: list<MessageOperation> operations;
  1158. 2: bool endFlag;
  1159. }
  1160.  
  1161. struct MetaProfile {
  1162. 1: i64 createTime;
  1163. 2: string regionCode;
  1164. 3: map<RegistrationType, string> identities;
  1165. }
  1166.  
  1167. struct NotificationItem {
  1168. 1: string id;
  1169. 2: string _from;
  1170. 3: string to;
  1171. 4: string fromChannel;
  1172. 5: string toChannel;
  1173. 7: i64 revision;
  1174. 8: i64 createdTime;
  1175. 9: map<string, string> content;
  1176. }
  1177.  
  1178. struct NotificationFetchResult {
  1179. 1: NotificationItemFetchMode fetchMode;
  1180. 2: list<NotificationItem> itemList;
  1181. }
  1182.  
  1183. struct Operation {
  1184. 1: i64 revision;
  1185. 2: i64 createdTime;
  1186. 3: OpType type;
  1187. 4: i32 reqSeq;
  1188. 5: string checksum;
  1189. 7: OpStatus status;
  1190. 10: string param1;
  1191. 11: string param2;
  1192. 12: string param3;
  1193. 20: Message message;
  1194. }
  1195.  
  1196. struct PaymentReservation {
  1197. 1: string receiverMid;
  1198. 2: string productId;
  1199. 3: string language;
  1200. 4: string location;
  1201. 5: string currency;
  1202. 6: string price;
  1203. 7: PaymentType appStoreCode;
  1204. 8: string messageText;
  1205. 9: i32 messageTemplate;
  1206. 10: i64 packageId;
  1207. }
  1208.  
  1209. struct PaymentReservationResult {
  1210. 1: string orderId;
  1211. 2: string confirmUrl;
  1212. 3: map<string, string> extras;
  1213. }
  1214.  
  1215. struct Product {
  1216. 1: string productId;
  1217. 2: i64 packageId;
  1218. 3: i32 version;
  1219. 4: string authorName;
  1220. 5: bool onSale;
  1221. 6: i32 validDays;
  1222. 7: i32 saleType;
  1223. 8: string copyright;
  1224. 9: string title;
  1225. 10: string descriptionText;
  1226. 11: i64 shopOrderId;
  1227. 12: string fromMid;
  1228. 13: string toMid;
  1229. 14: i64 validUntil;
  1230. 15: i32 priceTier;
  1231. 16: string price;
  1232. 17: string currency;
  1233. 18: string currencySymbol;
  1234. 19: PaymentType paymentType;
  1235. 20: i64 createDate;
  1236. 21: bool ownFlag;
  1237. 22: ProductEventType eventType;
  1238. 23: string urlSchema;
  1239. 24: string downloadUrl;
  1240. 25: string buddyMid;
  1241. 26: i64 publishSince;
  1242. 27: bool newFlag;
  1243. 28: bool missionFlag;
  1244. }
  1245.  
  1246. struct ProductList {
  1247. 1: bool hasNext;
  1248. 4: i64 bannerSequence;
  1249. 5: ProductBannerLinkType bannerTargetType;
  1250. 6: string bannerTargetPath;
  1251. 7: list<Product> productList;
  1252. 8: string bannerLang;
  1253. }
  1254.  
  1255. struct ProductSimple {
  1256. 1: string productId;
  1257. 2: i64 packageId;
  1258. 3: i32 version;
  1259. 4: bool onSale;
  1260. 5: i64 validUntil;
  1261. }
  1262.  
  1263. struct ProductSimpleList {
  1264. 1: bool hasNext;
  1265. 2: i32 reinvokeHour;
  1266. 3: i64 lastVersionSeq;
  1267. 4: list<ProductSimple> productList;
  1268. 5: i64 recentNewReleaseDate;
  1269. 6: i64 recentEventReleaseDate;
  1270. }
  1271.  
  1272. struct Profile {
  1273. 1: string mid;
  1274. 3: string userid;
  1275. 10: string phone;
  1276. 11: string email;
  1277. 12: string regionCode;
  1278. 20: string displayName;
  1279. 21: string phoneticName;
  1280. 22: string pictureStatus;
  1281. 23: string thumbnailUrl;
  1282. 24: string statusMessage;
  1283. 31: bool allowSearchByUserid;
  1284. 32: bool allowSearchByEmail;
  1285. 33: string picturePath;
  1286. }
  1287.  
  1288. struct ProximityMatchCandidateResult {
  1289. 1: list<Contact> users;
  1290. 2: list<Contact> buddies;
  1291. }
  1292.  
  1293. struct RegisterWithSnsIdResult {
  1294. 1: string authToken;
  1295. 2: bool userCreated;
  1296. }
  1297.  
  1298. struct RequestTokenResponse {
  1299. 1: string requestToken;
  1300. 2: string returnUrl;
  1301. }
  1302.  
  1303. struct Room {
  1304. 1: string mid;
  1305. 2: i64 createdTime;
  1306. 10: list<Contact> contacts;
  1307. 31: bool notificationDisabled;
  1308. }
  1309.  
  1310. struct RSAKey {
  1311. 1: string keynm;
  1312. 2: string nvalue;
  1313. 3: string evalue;
  1314. 4: string sessionKey;
  1315. }
  1316.  
  1317. struct SendBuddyMessageResult {
  1318. 1: string requestId;
  1319. 2: BuddyResultState state;
  1320. 3: string messageId;
  1321. 4: i32 eventNo;
  1322. 11: i64 receiverCount;
  1323. 12: i64 successCount;
  1324. 13: i64 failCount;
  1325. 14: i64 cancelCount;
  1326. 15: i64 blockCount;
  1327. 16: i64 unregisterCount;
  1328. 21: i64 timestamp;
  1329. 22: string message;
  1330. }
  1331.  
  1332. struct SetBuddyOnAirResult {
  1333. 1: string requestId;
  1334. 2: BuddyResultState state;
  1335. 3: i32 eventNo;
  1336. 11: i64 receiverCount;
  1337. 12: i64 successCount;
  1338. 13: i64 failCount;
  1339. 14: i64 cancelCount;
  1340. 15: i64 unregisterCount;
  1341. 21: i64 timestamp;
  1342. 22: string message;
  1343. }
  1344.  
  1345. struct Settings {
  1346. 10: bool notificationEnable;
  1347. 11: i64 notificationMuteExpiration;
  1348. 12: bool notificationNewMessage;
  1349. 13: bool notificationGroupInvitation;
  1350. 14: bool notificationShowMessage;
  1351. 15: bool notificationIncomingCall;
  1352. 16: string notificationSoundMessage;
  1353. 17: string notificationSoundGroup;
  1354. 18: bool notificationDisabledWithSub;
  1355. 20: bool privacySyncContacts;
  1356. 21: bool privacySearchByPhoneNumber;
  1357. 22: bool privacySearchByUserid;
  1358. 23: bool privacySearchByEmail;
  1359. 24: bool privacyAllowSecondaryDeviceLogin;
  1360. 25: bool privacyProfileImagePostToMyhome;
  1361. 26: bool privacyReceiveMessagesFromNotFriend;
  1362. 30: string contactMyTicket;
  1363. 40: IdentityProvider identityProvider;
  1364. 41: string identityIdentifier;
  1365. 42: map<SnsIdType, string> snsAccounts;
  1366. 43: bool phoneRegistration;
  1367. 44: EmailConfirmationStatus emailConfirmationStatus;
  1368. 50: string preferenceLocale;
  1369. 60: map<CustomMode, string> customModes;
  1370. }
  1371.  
  1372. struct SimpleChannelClient {
  1373. 1: string applicationType;
  1374. 2: string applicationVersion;
  1375. 3: string locale;
  1376. }
  1377.  
  1378. struct SimpleChannelContact {
  1379. 1: string mid;
  1380. 2: string displayName;
  1381. 3: string pictureStatus;
  1382. 4: string picturePath;
  1383. 5: string statusMessage;
  1384. }
  1385.  
  1386. struct SnsFriend {
  1387. 1: string snsUserId;
  1388. 2: string snsUserName;
  1389. 3: SnsIdType snsIdType;
  1390. }
  1391.  
  1392. struct SnsFriendContactRegistration {
  1393. 1: Contact contact;
  1394. 2: SnsIdType snsIdType;
  1395. 3: string snsUserId;
  1396. }
  1397.  
  1398. struct SnsFriendModification {
  1399. 1: ModificationType type;
  1400. 2: SnsFriend snsFriend;
  1401. }
  1402.  
  1403. struct SnsFriends {
  1404. 1: list<SnsFriend> snsFriends;
  1405. 2: bool hasMore;
  1406. }
  1407.  
  1408. struct SnsIdUserStatus {
  1409. 1: bool userExisting;
  1410. 2: bool phoneNumberRegistered;
  1411. 3: bool sameDevice;
  1412. }
  1413.  
  1414. struct SnsProfile {
  1415. 1: string snsUserId;
  1416. 2: string snsUserName;
  1417. 3: string email;
  1418. 4: string thumbnailUrl;
  1419. }
  1420.  
  1421. struct SystemConfiguration {
  1422. 1: string endpoint;
  1423. 2: string endpointSsl;
  1424. 3: string updateUrl;
  1425. 11: string c2dmAccount;
  1426. 12: string nniServer;
  1427. }
  1428.  
  1429. exception TalkException {
  1430. 1: ErrorCode code;
  1431. 2: string reason;
  1432. 3: map<string, string> parameterMap;
  1433. }
  1434.  
  1435. struct Ticket {
  1436. 1: string id;
  1437. 10: i64 expirationTime;
  1438. 21: i32 maxUseCount;
  1439. }
  1440.  
  1441. struct TMessageBox {
  1442. 1: string id;
  1443. 2: string channelId;
  1444. 5: i64 lastSeq;
  1445. 6: i64 unreadCount;
  1446. 7: i64 lastModifiedTime;
  1447. 8: i32 status;
  1448. 9: MIDType midType;
  1449. 10: list<Message> lastMessages;
  1450. }
  1451.  
  1452. struct TMessageBoxWrapUp {
  1453. 1: TMessageBox messageBox;
  1454. 2: string name;
  1455. 3: list<Contact> contacts;
  1456. 4: string pictureRevision;
  1457. }
  1458.  
  1459. struct TMessageBoxWrapUpResponse {
  1460. 1: list<TMessageBoxWrapUp> messageBoxWrapUpList;
  1461. 2: i32 totalSize;
  1462. }
  1463.  
  1464. exception UniversalNotificationServiceException {
  1465. 1: UniversalNotificationServiceErrorCode code;
  1466. 2: string reason;
  1467. 3: map<string, string> parameterMap;
  1468. }
  1469.  
  1470. struct UpdateBuddyProfileResult {
  1471. 1: string requestId;
  1472. 2: BuddyResultState state;
  1473. 3: i32 eventNo;
  1474. 11: i64 receiverCount;
  1475. 12: i64 successCount;
  1476. 13: i64 failCount;
  1477. 14: i64 cancelCount;
  1478. 15: i64 unregisterCount;
  1479. 21: i64 timestamp;
  1480. 22: string message;
  1481. }
  1482.  
  1483. struct UserAuthStatus {
  1484. 1: bool phoneNumberRegistered;
  1485. 2: list<SnsIdType> registeredSnsIdTypes;
  1486. }
  1487.  
  1488. struct VerificationSessionData {
  1489. 1: string sessionId;
  1490. 2: VerificationMethod method;
  1491. 3: string callback;
  1492. 4: string normalizedPhone;
  1493. 5: string countryCode;
  1494. 6: string nationalSignificantNumber;
  1495. 7: list<VerificationMethod> availableVerificationMethods;
  1496. }
  1497.  
  1498. struct WapInvitation {
  1499. 1: WapInvitationType type;
  1500. 10: string inviteeEmail;
  1501. 11: string inviterMid;
  1502. 12: string roomMid;
  1503. }
  1504.  
  1505. service AccountSupervisorService {
  1506. RSAKey getRSAKey() throws(1: TalkException e);
  1507.  
  1508. void notifyEmailConfirmationResult(
  1509. 2: map<string, string> parameterMap) throws(1: TalkException e);
  1510.  
  1511. string registerVirtualAccount(
  1512. 2: string locale,
  1513. 3: string encryptedVirtualUserId,
  1514. 4: string encryptedPassword) throws(1: TalkException e);
  1515.  
  1516. void requestVirtualAccountPasswordChange(
  1517. 2: string virtualMid,
  1518. 3: string encryptedVirtualUserId,
  1519. 4: string encryptedOldPassword,
  1520. 5: string encryptedNewPassword) throws(1: TalkException e);
  1521.  
  1522. void requestVirtualAccountPasswordSet(
  1523. 2: string virtualMid,
  1524. 3: string encryptedVirtualUserId,
  1525. 4: string encryptedNewPassword) throws(1: TalkException e);
  1526.  
  1527. void unregisterVirtualAccount(
  1528. 2: string virtualMid) throws(1: TalkException e);
  1529. }
  1530.  
  1531. service AgeCheckService {
  1532. UserAgeType checkUserAge(
  1533. 2: CarrierCode carrier,
  1534. 3: string sessionId,
  1535. 4: string verifier,
  1536. 5: i32 standardAge) throws(1: TalkException e);
  1537.  
  1538. AgeCheckDocomoResult checkUserAgeWithDocomo(
  1539. 2: string openIdRedirectUrl,
  1540. 3: i32 standardAge,
  1541. 4: string verifier) throws(1: TalkException e);
  1542.  
  1543. string retrieveOpenIdAuthUrlWithDocomo() throws(1: TalkException e);
  1544.  
  1545. AgeCheckRequestResult retrieveRequestToken(
  1546. 2: CarrierCode carrier) throws(1: TalkException e);
  1547. }
  1548.  
  1549. service BuddyManagementService {
  1550. void addBuddyMember(
  1551. 1: string requestId,
  1552. 2: string userMid) throws(1: TalkException e);
  1553.  
  1554. void addBuddyMembers(
  1555. 1: string requestId,
  1556. 2: list<string> userMids) throws(1: TalkException e);
  1557.  
  1558. void blockBuddyMember(
  1559. 1: string requestId,
  1560. 2: string mid) throws(1: TalkException e);
  1561.  
  1562. list<SendBuddyMessageResult> commitSendMessagesToAll(
  1563. 1: list<string> requestIdList) throws(1: TalkException e);
  1564.  
  1565. list<SendBuddyMessageResult> commitSendMessagesToMids(
  1566. 1: list<string> requestIdList,
  1567. 2: list<string> mids) throws(1: TalkException e);
  1568.  
  1569. bool containsBuddyMember(
  1570. 1: string requestId,
  1571. 2: string userMid) throws(1: TalkException e);
  1572.  
  1573. binary downloadMessageContent(
  1574. 1: string requestId,
  1575. 2: string messageId) throws(1: TalkException e);
  1576.  
  1577. binary downloadMessageContentPreview(
  1578. 1: string requestId,
  1579. 2: string messageId) throws(1: TalkException e);
  1580.  
  1581. binary downloadProfileImage(
  1582. 1: string requestId) throws(1: TalkException e);
  1583.  
  1584. binary downloadProfileImagePreview(
  1585. 1: string requestId) throws(1: TalkException e);
  1586.  
  1587. i64 getActiveMemberCountByBuddyMid(
  1588. 2: string buddyMid) throws(1: TalkException e);
  1589.  
  1590. list<string> getActiveMemberMidsByBuddyMid(
  1591. 2: string buddyMid) throws(1: TalkException e);
  1592.  
  1593. list<string> getAllBuddyMembers() throws(1: TalkException e);
  1594.  
  1595. list<string> getBlockedBuddyMembers() throws(1: TalkException e);
  1596.  
  1597. i64 getBlockerCountByBuddyMid(
  1598. 2: string buddyMid) throws(1: TalkException e);
  1599.  
  1600. BuddyDetail getBuddyDetailByMid(
  1601. 2: string buddyMid) throws(1: TalkException e);
  1602.  
  1603. BuddyProfile getBuddyProfile() throws(1: TalkException e);
  1604.  
  1605. Ticket getContactTicket() throws(1: TalkException e);
  1606.  
  1607. i64 getMemberCountByBuddyMid(
  1608. 2: string buddyMid) throws(1: TalkException e);
  1609.  
  1610. SendBuddyMessageResult getSendBuddyMessageResult(
  1611. 1: string sendBuddyMessageRequestId) throws(1: TalkException e);
  1612.  
  1613. SetBuddyOnAirResult getSetBuddyOnAirResult(
  1614. 1: string setBuddyOnAirRequestId) throws(1: TalkException e);
  1615.  
  1616. UpdateBuddyProfileResult getUpdateBuddyProfileResult(
  1617. 1: string updateBuddyProfileRequestId) throws(1: TalkException e);
  1618.  
  1619. bool isBuddyOnAirByMid(
  1620. 2: string buddyMid) throws(1: TalkException e);
  1621.  
  1622. string linkAndSendBuddyContentMessageToAllAsync(
  1623. 1: string requestId,
  1624. 2: Message msg,
  1625. 3: string sourceContentId) throws(1: TalkException e);
  1626.  
  1627. SendBuddyMessageResult linkAndSendBuddyContentMessageToMids(
  1628. 1: string requestId,
  1629. 2: Message msg,
  1630. 3: string sourceContentId,
  1631. 4: list<string> mids) throws(1: TalkException e);
  1632.  
  1633. void notifyBuddyBlocked(
  1634. 1: string buddyMid,
  1635. 2: string blockerMid) throws(1: TalkException e);
  1636.  
  1637. void notifyBuddyUnblocked(
  1638. 1: string buddyMid,
  1639. 2: string blockerMid) throws(1: TalkException e);
  1640.  
  1641. string registerBuddy(
  1642. 2: string buddyId,
  1643. 3: string searchId,
  1644. 4: string displayName,
  1645. 5: string statusMeessage,
  1646. 6: binary picture,
  1647. 7: map<string, string> settings) throws(1: TalkException e);
  1648.  
  1649. string registerBuddyAdmin(
  1650. 2: string buddyId,
  1651. 3: string searchId,
  1652. 4: string displayName,
  1653. 5: string statusMessage,
  1654. 6: binary picture) throws(1: TalkException e);
  1655.  
  1656. string reissueContactTicket(
  1657. 3: i64 expirationTime,
  1658. 4: i32 maxUseCount) throws(1: TalkException e);
  1659.  
  1660. void removeBuddyMember(
  1661. 1: string requestId,
  1662. 2: string userMid) throws(1: TalkException e);
  1663.  
  1664. void removeBuddyMembers(
  1665. 1: string requestId,
  1666. 2: list<string> userMids) throws(1: TalkException e);
  1667.  
  1668. SendBuddyMessageResult sendBuddyContentMessageToAll(
  1669. 1: string requestId,
  1670. 2: Message msg,
  1671. 3: binary content) throws(1: TalkException e);
  1672.  
  1673. string sendBuddyContentMessageToAllAsync(
  1674. 1: string requestId,
  1675. 2: Message msg,
  1676. 3: binary content) throws(1: TalkException e);
  1677.  
  1678. SendBuddyMessageResult sendBuddyContentMessageToMids(
  1679. 1: string requestId,
  1680. 2: Message msg,
  1681. 3: binary content,
  1682. 4: list<string> mids) throws(1: TalkException e);
  1683.  
  1684. string sendBuddyContentMessageToMidsAsync(
  1685. 1: string requestId,
  1686. 2: Message msg,
  1687. 3: binary content,
  1688. 4: list<string> mids) throws(1: TalkException e);
  1689.  
  1690. SendBuddyMessageResult sendBuddyMessageToAll(
  1691. 1: string requestId,
  1692. 2: Message msg) throws(1: TalkException e);
  1693.  
  1694. string sendBuddyMessageToAllAsync(
  1695. 1: string requestId,
  1696. 2: Message msg) throws(1: TalkException e);
  1697.  
  1698. SendBuddyMessageResult sendBuddyMessageToMids(
  1699. 1: string requestId,
  1700. 2: Message msg,
  1701. 3: list<string> mids) throws(1: TalkException e);
  1702.  
  1703. string sendBuddyMessageToMidsAsync(
  1704. 1: string requestId,
  1705. 2: Message msg,
  1706. 3: list<string> mids) throws(1: TalkException e);
  1707.  
  1708. void sendIndividualEventToAllAsync(
  1709. 1: string requestId,
  1710. 2: string buddyMid,
  1711. 3: NotificationStatus notificationStatus) throws(1: TalkException e);
  1712.  
  1713. SetBuddyOnAirResult setBuddyOnAir(
  1714. 1: string requestId,
  1715. 2: bool onAir) throws(1: TalkException e);
  1716.  
  1717. string setBuddyOnAirAsync(
  1718. 1: string requestId,
  1719. 2: bool onAir) throws(1: TalkException e);
  1720.  
  1721. SendBuddyMessageResult storeMessage(
  1722. 1: string requestId,
  1723. 2: BuddyMessageRequest messageRequest) throws(1: TalkException e);
  1724.  
  1725. void unblockBuddyMember(
  1726. 1: string requestId,
  1727. 2: string mid) throws(1: TalkException e);
  1728.  
  1729. void unregisterBuddy(
  1730. 1: string requestId) throws(1: TalkException e);
  1731.  
  1732. void unregisterBuddyAdmin(
  1733. 1: string requestId) throws(1: TalkException e);
  1734.  
  1735. void updateBuddyAdminProfileAttribute(
  1736. 1: string requestId,
  1737. 2: map<string, string> attributes) throws(1: TalkException e);
  1738.  
  1739. void updateBuddyAdminProfileImage(
  1740. 1: string requestId,
  1741. 2: binary picture) throws(1: TalkException e);
  1742.  
  1743. UpdateBuddyProfileResult updateBuddyProfileAttributes(
  1744. 1: string requestId,
  1745. 2: map<string, string> attributes) throws(1: TalkException e);
  1746.  
  1747. string updateBuddyProfileAttributesAsync(
  1748. 1: string requestId,
  1749. 2: map<string, string> attributes) throws(1: TalkException e);
  1750.  
  1751. UpdateBuddyProfileResult updateBuddyProfileImage(
  1752. 1: string requestId,
  1753. 2: binary image) throws(1: TalkException e);
  1754.  
  1755. string updateBuddyProfileImageAsync(
  1756. 1: string requestId,
  1757. 2: binary image) throws(1: TalkException e);
  1758.  
  1759. void updateBuddySearchId(
  1760. 1: string requestId,
  1761. 2: string searchId) throws(1: TalkException e);
  1762.  
  1763. void updateBuddySettings(
  1764. 2: map<string, string> settings) throws(1: TalkException e);
  1765.  
  1766. string uploadBuddyContent(
  1767. 2: ContentType contentType,
  1768. 3: binary content) throws(1: TalkException e);
  1769. }
  1770.  
  1771. service BuddyService {
  1772. list<BuddySearchResult> findBuddyContactsByQuery(
  1773. 2: string language,
  1774. 3: string country,
  1775. 4: string query,
  1776. 5: i32 fromIndex,
  1777. 6: i32 count,
  1778. 7: BuddySearchRequestSource requestSource) throws(1: TalkException e);
  1779.  
  1780. list<Contact> getBuddyContacts(
  1781. 2: string language,
  1782. 3: string country,
  1783. 4: string classification,
  1784. 5: i32 fromIndex,
  1785. 6: i32 count) throws(1: TalkException e);
  1786.  
  1787. BuddyDetail getBuddyDetail(
  1788. 4: string buddyMid) throws(1: TalkException e);
  1789.  
  1790. BuddyOnAir getBuddyOnAir(
  1791. 4: string buddyMid) throws(1: TalkException e);
  1792.  
  1793. list<string> getCountriesHavingBuddy() throws(1: TalkException e);
  1794.  
  1795. map<string, i64> getNewlyReleasedBuddyIds(
  1796. 3: string country) throws(1: TalkException e);
  1797.  
  1798. BuddyBanner getPopularBuddyBanner(
  1799. 2: string language,
  1800. 3: string country,
  1801. 4: ApplicationType applicationType,
  1802. 5: string resourceSpecification) throws(1: TalkException e);
  1803.  
  1804. list<BuddyList> getPopularBuddyLists(
  1805. 2: string language,
  1806. 3: string country) throws(1: TalkException e);
  1807.  
  1808. list<Contact> getPromotedBuddyContacts(
  1809. 2: string language,
  1810. 3: string country) throws(1: TalkException e);
  1811. }
  1812.  
  1813. service ChannelApplicationProvidedService {
  1814. i64 activeBuddySubscriberCount() throws(1: TalkException e);
  1815.  
  1816. void addOperationForChannel(
  1817. 1: OpType opType,
  1818. 2: string param1,
  1819. 3: string param2,
  1820. 4: string param3) throws(1: TalkException e);
  1821.  
  1822. i64 displayBuddySubscriberCount() throws(1: TalkException e);
  1823.  
  1824. Contact findContactByUseridWithoutAbuseBlockForChannel(
  1825. 2: string userid) throws(1: TalkException e);
  1826.  
  1827. list<string> getAllContactIdsForChannel() throws(1: TalkException e);
  1828.  
  1829. list<CompactContact> getCompactContacts(
  1830. 2: i64 lastModifiedTimestamp) throws(1: TalkException e);
  1831.  
  1832. list<Contact> getContactsForChannel(
  1833. 2: list<string> ids) throws(1: TalkException e);
  1834.  
  1835. string getDisplayName(
  1836. 2: string mid) throws(1: TalkException e);
  1837.  
  1838. list<string> getFavoriteMidsForChannel() throws(1: TalkException e);
  1839.  
  1840. list<string> getFriendMids() throws(1: TalkException e);
  1841.  
  1842. list<string> getGroupMemberMids(
  1843. 1: string groupId) throws(1: TalkException e);
  1844.  
  1845. list<Group> getGroupsForChannel(
  1846. 1: list<string> groupIds) throws(1: TalkException e);
  1847.  
  1848. IdentityCredential getIdentityCredential() throws(1: TalkException e);
  1849.  
  1850. list<string> getJoinedGroupIdsForChannel() throws(1: TalkException e);
  1851.  
  1852. MetaProfile getMetaProfile() throws(1: TalkException e);
  1853.  
  1854. string getMid() throws(1: TalkException e);
  1855.  
  1856. SimpleChannelClient getPrimaryClientForChannel() throws(1: TalkException e);
  1857.  
  1858. Profile getProfileForChannel() throws(1: TalkException e);
  1859.  
  1860. list<SimpleChannelContact> getSimpleChannelContacts(
  1861. 1: list<string> ids) throws(1: TalkException e);
  1862.  
  1863. string getUserCountryForBilling(
  1864. 2: string country,
  1865. 3: string remoteIp) throws(1: TalkException e);
  1866.  
  1867. i64 getUserCreateTime() throws(1: TalkException e);
  1868.  
  1869. map<RegistrationType, string> getUserIdentities() throws(1: TalkException e);
  1870.  
  1871. string getUserLanguage() throws(1: TalkException e);
  1872.  
  1873. list<string> getUserMidsWhoAddedMe() throws(1: TalkException e);
  1874.  
  1875. bool isGroupMember(
  1876. 1: string groupId) throws(1: TalkException e);
  1877.  
  1878. bool isInContact(
  1879. 2: string mid) throws(1: TalkException e);
  1880.  
  1881. string registerChannelCP(
  1882. 2: string cpId,
  1883. 3: string registerPassword) throws(1: TalkException e);
  1884.  
  1885. void removeNotificationStatus(
  1886. 2: NotificationStatus notificationStatus) throws(1: TalkException e);
  1887.  
  1888. Message sendMessageForChannel(
  1889. 2: Message message) throws(1: TalkException e);
  1890.  
  1891. void sendPinCodeOperation(
  1892. 1: string verifier) throws(1: TalkException e);
  1893.  
  1894. void updateProfileAttributeForChannel(
  1895. 2: ProfileAttribute profileAttribute,
  1896. 3: string value) throws(1: TalkException e);
  1897. }
  1898.  
  1899. service ChannelService {
  1900. ChannelToken approveChannelAndIssueChannelToken(
  1901. 1: string channelId) throws(1: ChannelException e);
  1902.  
  1903. string approveChannelAndIssueRequestToken(
  1904. 1: string channelId,
  1905. 2: string otpId) throws(1: ChannelException e);
  1906.  
  1907. NotificationFetchResult fetchNotificationItems(
  1908. 2: i64 localRev) throws(1: ChannelException e);
  1909.  
  1910. ApprovedChannelInfos getApprovedChannels(
  1911. 2: i64 lastSynced,
  1912. 3: string locale) throws(1: ChannelException e);
  1913.  
  1914. ChannelInfo getChannelInfo(
  1915. 2: string channelId,
  1916. 3: string locale) throws(1: ChannelException e);
  1917.  
  1918. ChannelNotificationSetting getChannelNotificationSetting(
  1919. 1: string channelId,
  1920. 2: string locale) throws(1: ChannelException e);
  1921.  
  1922. list<ChannelNotificationSetting> getChannelNotificationSettings(
  1923. 1: string locale) throws(1: ChannelException e);
  1924.  
  1925. ChannelInfos getChannels(
  1926. 2: i64 lastSynced,
  1927. 3: string locale) throws(1: ChannelException e);
  1928.  
  1929. ChannelDomains getDomains(
  1930. 2: i64 lastSynced) throws(1: ChannelException e);
  1931.  
  1932. FriendChannelMatricesResponse getFriendChannelMatrices(
  1933. 1: list<string> channelIds) throws(1: ChannelException e);
  1934.  
  1935. i32 getNotificationBadgeCount(
  1936. 2: i64 localRev) throws(1: ChannelException e);
  1937.  
  1938. ChannelToken issueChannelToken(
  1939. 1: string channelId) throws(1: ChannelException e);
  1940.  
  1941. string issueRequestToken(
  1942. 1: string channelId,
  1943. 2: string otpId) throws(1: ChannelException e);
  1944.  
  1945. RequestTokenResponse issueRequestTokenWithAuthScheme(
  1946. 1: string channelId,
  1947. 2: string otpId,
  1948. 3: list<string> authScheme,
  1949. 4: string returnUrl) throws(1: ChannelException e);
  1950.  
  1951. string reserveCoinUse(
  1952. 2: CoinUseReservation request,
  1953. 3: string locale) throws(1: ChannelException e);
  1954.  
  1955. void revokeChannel(
  1956. 1: string channelId) throws(1: ChannelException e);
  1957.  
  1958. ChannelSyncDatas syncChannelData(
  1959. 2: i64 lastSynced,
  1960. 3: string locale) throws(1: ChannelException e);
  1961.  
  1962. void updateChannelNotificationSetting(
  1963. 1: list<ChannelNotificationSetting> setting) throws(1: ChannelException e);
  1964. }
  1965.  
  1966. service MessageService {
  1967. MessageOperations fetchMessageOperations(
  1968. 2: i64 localRevision,
  1969. 3: i64 lastOpTimestamp,
  1970. 4: i32 count) throws(1: TalkException e);
  1971.  
  1972. LastReadMessageIds getLastReadMessageIds(
  1973. 2: string chatId) throws(1: TalkException e);
  1974.  
  1975. list<LastReadMessageIds> multiGetLastReadMessageIds(
  1976. 2: list<string> chatIds) throws(1: TalkException e);
  1977. }
  1978.  
  1979. service ShopService {
  1980. void buyCoinProduct(
  1981. 2: PaymentReservation paymentReservation) throws(1: TalkException e);
  1982.  
  1983. void buyFreeProduct(
  1984. 2: string receiverMid,
  1985. 3: string productId,
  1986. 4: i32 messageTemplate,
  1987. 5: string language,
  1988. 6: string country,
  1989. 7: i64 packageId) throws(1: TalkException e);
  1990.  
  1991. void buyMustbuyProduct(
  1992. 2: string receiverMid,
  1993. 3: string productId,
  1994. 4: i32 messageTemplate,
  1995. 5: string language,
  1996. 6: string country,
  1997. 7: i64 packageId,
  1998. 8: string serialNumber) throws(1: TalkException e);
  1999.  
  2000. void checkCanReceivePresent(
  2001. 2: string recipientMid,
  2002. 3: i64 packageId,
  2003. 4: string language,
  2004. 5: string country) throws(1: TalkException e);
  2005.  
  2006. ProductList getActivePurchases(
  2007. 2: i64 start,
  2008. 3: i32 size,
  2009. 4: string language,
  2010. 5: string country) throws(1: TalkException e);
  2011.  
  2012. ProductSimpleList getActivePurchaseVersions(
  2013. 2: i64 start,
  2014. 3: i32 size,
  2015. 4: string language,
  2016. 5: string country) throws(1: TalkException e);
  2017.  
  2018. list<CoinProductItem> getCoinProducts(
  2019. 2: PaymentType appStoreCode,
  2020. 3: string country,
  2021. 4: string language) throws(1: TalkException e);
  2022.  
  2023. list<CoinProductItem> getCoinProductsByPgCode(
  2024. 2: PaymentType appStoreCode,
  2025. 3: PaymentPgType pgCode,
  2026. 4: string country,
  2027. 5: string language) throws(1: TalkException e);
  2028.  
  2029. CoinHistoryResult getCoinPurchaseHistory(
  2030. 2: CoinHistoryCondition request) throws(1: TalkException e);
  2031.  
  2032. CoinHistoryResult getCoinUseAndRefundHistory(
  2033. 2: CoinHistoryCondition request) throws(1: TalkException e);
  2034.  
  2035. ProductList getDownloads(
  2036. 2: i64 start,
  2037. 3: i32 size,
  2038. 4: string language,
  2039. 5: string country) throws(1: TalkException e);
  2040.  
  2041. ProductList getEventPackages(
  2042. 2: i64 start,
  2043. 3: i32 size,
  2044. 4: string language,
  2045. 5: string country) throws(1: TalkException e);
  2046.  
  2047. ProductList getNewlyReleasedPackages(
  2048. 2: i64 start,
  2049. 3: i32 size,
  2050. 4: string language,
  2051. 5: string country) throws(1: TalkException e);
  2052.  
  2053. ProductList getPopularPackages(
  2054. 2: i64 start,
  2055. 3: i32 size,
  2056. 4: string language,
  2057. 5: string country) throws(1: TalkException e);
  2058.  
  2059. ProductList getPresentsReceived(
  2060. 2: i64 start,
  2061. 3: i32 size,
  2062. 4: string language,
  2063. 5: string country) throws(1: TalkException e);
  2064.  
  2065. ProductList getPresentsSent(
  2066. 2: i64 start,
  2067. 3: i32 size,
  2068. 4: string language,
  2069. 5: string country) throws(1: TalkException e);
  2070.  
  2071. Product getProduct(
  2072. 2: i64 packageID,
  2073. 3: string language,
  2074. 4: string country) throws(1: TalkException e);
  2075.  
  2076. ProductList getProductList(
  2077. 2: list<string> productIdList,
  2078. 3: string language,
  2079. 4: string country) throws(1: TalkException e);
  2080.  
  2081. ProductList getProductListWithCarrier(
  2082. 2: list<string> productIdList,
  2083. 3: string language,
  2084. 4: string country,
  2085. 5: string carrierCode) throws(1: TalkException e);
  2086.  
  2087. Product getProductWithCarrier(
  2088. 2: i64 packageID,
  2089. 3: string language,
  2090. 4: string country,
  2091. 5: string carrierCode) throws(1: TalkException e);
  2092.  
  2093. ProductList getPurchaseHistory(
  2094. 2: i64 start,
  2095. 3: i32 size,
  2096. 4: string language,
  2097. 5: string country) throws(1: TalkException e);
  2098.  
  2099. Coin getTotalBalance(
  2100. 2: PaymentType appStoreCode) throws(1: TalkException e);
  2101.  
  2102. i64 notifyDownloaded(
  2103. 2: i64 packageId,
  2104. 3: string language) throws(1: TalkException e);
  2105.  
  2106. PaymentReservationResult reserveCoinPurchase(
  2107. 2: CoinPurchaseReservation request) throws(1: TalkException e);
  2108.  
  2109. PaymentReservationResult reservePayment(
  2110. 2: PaymentReservation paymentReservation) throws(1: TalkException e);
  2111. }
  2112.  
  2113. service SnsAdaptorService {
  2114. SnsFriends getSnsFriends(
  2115. 2: SnsIdType snsIdType,
  2116. 3: string snsAccessToken,
  2117. 4: i32 startIdx,
  2118. 5: i32 limit) throws(1: TalkException e);
  2119.  
  2120. SnsProfile getSnsMyProfile(
  2121. 2: SnsIdType snsIdType,
  2122. 3: string snsAccessToken) throws(1: TalkException e);
  2123.  
  2124. void postSnsInvitationMessage(
  2125. 2: SnsIdType snsIdType,
  2126. 3: string snsAccessToken,
  2127. 4: string toSnsUserId) throws(1: TalkException e);
  2128. }
  2129.  
  2130. service TalkService {
  2131. void acceptGroupInvitation(
  2132. 1: i32 reqSeq,
  2133. 2: string groupId) throws(1: TalkException e);
  2134.  
  2135. void acceptGroupInvitationByTicket(
  2136. 1: i32 reqSeq,
  2137. 2: string groupId,
  2138. 3: string ticketId) throws(1: TalkException e);
  2139.  
  2140. void acceptProximityMatches(
  2141. 2: string sessionId,
  2142. 3: set<string> ids) throws(1: TalkException e);
  2143.  
  2144. list<string> acquireCallRoute(
  2145. 2: string to) throws(1: TalkException e);
  2146.  
  2147. string acquireCallTicket(
  2148. 2: string to) throws(1: TalkException e);
  2149.  
  2150. string acquireEncryptedAccessToken(
  2151. 2: FeatureType featureType) throws(1: TalkException e);
  2152.  
  2153. string addSnsId(
  2154. 2: SnsIdType snsIdType,
  2155. 3: string snsAccessToken) throws(1: TalkException e);
  2156.  
  2157. void blockContact(
  2158. 1: i32 reqSeq,
  2159. 2: string id) throws(1: TalkException e);
  2160.  
  2161. void blockRecommendation(
  2162. 1: i32 reqSeq,
  2163. 2: string id) throws(1: TalkException e);
  2164.  
  2165. void cancelGroupInvitation(
  2166. 1: i32 reqSeq,
  2167. 2: string groupId,
  2168. 3: list<string> contactIds) throws(1: TalkException e);
  2169.  
  2170. VerificationSessionData changeVerificationMethod(
  2171. 2: string sessionId,
  2172. 3: VerificationMethod method) throws(1: TalkException e);
  2173.  
  2174. void clearIdentityCredential() throws(1: TalkException e);
  2175.  
  2176. void clearMessageBox(
  2177. 2: string channelId,
  2178. 3: string messageBoxId) throws(1: TalkException e);
  2179.  
  2180. void closeProximityMatch(
  2181. 2: string sessionId) throws(1: TalkException e);
  2182.  
  2183. map<string, string> commitSendMessage(
  2184. 1: i32 seq,
  2185. 2: string messageId,
  2186. 3: list<string> receiverMids) throws(1: TalkException e);
  2187.  
  2188. map<string, string> commitSendMessages(
  2189. 1: i32 seq,
  2190. 2: list<string> messageIds,
  2191. 3: list<string> receiverMids) throws(1: TalkException e);
  2192.  
  2193. map<string, string> commitUpdateProfile(
  2194. 1: i32 seq,
  2195. 2: list<ProfileAttribute> attrs,
  2196. 3: list<string> receiverMids) throws(1: TalkException e);
  2197.  
  2198. void confirmEmail(
  2199. 2: string verifier,
  2200. 3: string pinCode) throws(1: TalkException e);
  2201.  
  2202. Group createGroup(
  2203. 1: i32 seq,
  2204. 2: string name,
  2205. 3: list<string> contactIds) throws(1: TalkException e);
  2206.  
  2207. string createQrcodeBase64Image(
  2208. 2: string url,
  2209. 3: string characterSet,
  2210. 4: i32 imageSize,
  2211. 5: i32 x,
  2212. 6: i32 y,
  2213. 7: i32 width,
  2214. 8: i32 height) throws(1: TalkException e);
  2215.  
  2216. Room createRoom(
  2217. 1: i32 reqSeq,
  2218. 2: list<string> contactIds) throws(1: TalkException e);
  2219.  
  2220. string createSession() throws(1: TalkException e);
  2221.  
  2222. list<Announcement> fetchAnnouncements(
  2223. 2: i32 lastFetchedIndex) throws(1: TalkException e);
  2224.  
  2225. list<Message> fetchMessages(
  2226. 2: i64 localTs,
  2227. 3: i32 count) throws(1: TalkException e);
  2228.  
  2229. list<Operation> fetchOperations(
  2230. 2: i64 localRev,
  2231. 3: i32 count) throws(1: TalkException e);
  2232.  
  2233. list<Operation> fetchOps(
  2234. 2: i64 localRev,
  2235. 3: i32 count,
  2236. 4: i64 globalRev,
  2237. 5: i64 individualRev) throws(1: TalkException e);
  2238.  
  2239. map<string, Contact> findAndAddContactsByEmail(
  2240. 1: i32 reqSeq,
  2241. 2: set<string> emails) throws(1: TalkException e);
  2242.  
  2243. map<string, Contact> findAndAddContactsByMid(
  2244. 1: i32 reqSeq,
  2245. 2: string mid) throws(1: TalkException e);
  2246.  
  2247. map<string, Contact> findAndAddContactsByPhone(
  2248. 1: i32 reqSeq,
  2249. 2: set<string> phones) throws(1: TalkException e);
  2250.  
  2251. map<string, Contact> findAndAddContactsByUserid(
  2252. 1: i32 reqSeq,
  2253. 2: string userid) throws(1: TalkException e);
  2254.  
  2255. Contact findContactByUserid(
  2256. 2: string userid) throws(1: TalkException e);
  2257.  
  2258. Contact findContactByUserTicket(
  2259. 2: string ticketId) throws(1: TalkException e);
  2260.  
  2261. map<string, Contact> findContactsByEmail(
  2262. 2: set<string> emails) throws(1: TalkException e);
  2263.  
  2264. map<string, Contact> findContactsByPhone(
  2265. 2: set<string> phones) throws(1: TalkException e);
  2266.  
  2267. Group findGroupByTicket(
  2268. 1: string ticketId) throws(1: TalkException e);
  2269.  
  2270. SnsIdUserStatus findSnsIdUserStatus(
  2271. 2: SnsIdType snsIdType,
  2272. 3: string snsAccessToken,
  2273. 4: string udidHash) throws(1: TalkException e);
  2274.  
  2275. void finishUpdateVerification(
  2276. 2: string sessionId) throws(1: TalkException e);
  2277.  
  2278. Ticket generateUserTicket(
  2279. 3: i64 expirationTime,
  2280. 4: i32 maxUseCount) throws(1: TalkException e);
  2281.  
  2282. set<string> getAcceptedProximityMatches(
  2283. 2: string sessionId) throws(1: TalkException e);
  2284.  
  2285. list<string> getActiveBuddySubscriberIds() throws(1: TalkException e);
  2286.  
  2287. list<string> getAllContactIds() throws(1: TalkException e);
  2288.  
  2289. AuthQrcode getAuthQrcode(
  2290. 2: bool keepLoggedIn,
  2291. 3: string systemName) throws(1: TalkException e);
  2292.  
  2293. list<string> getBlockedContactIds() throws(1: TalkException e);
  2294.  
  2295. list<string> getBlockedContactIdsByRange(
  2296. 2: i32 start,
  2297. 3: i32 count) throws(1: TalkException e);
  2298.  
  2299. list<string> getBlockedRecommendationIds() throws(1: TalkException e);
  2300.  
  2301. list<string> getBuddyBlockerIds() throws(1: TalkException e);
  2302.  
  2303. Geolocation getBuddyLocation(
  2304. 2: string mid,
  2305. 3: i32 index) throws(1: TalkException e);
  2306.  
  2307. list<CompactContact> getCompactContactsModifiedSince(
  2308. 2: i64 timestamp) throws(1: TalkException e);
  2309.  
  2310. Group getCompactGroup(
  2311. 2: string groupId) throws(1: TalkException e);
  2312.  
  2313. Room getCompactRoom(
  2314. 2: string roomId) throws(1: TalkException e);
  2315.  
  2316. Contact getContact(
  2317. 2: string id) throws(1: TalkException e);
  2318.  
  2319. list<Contact> getContacts(
  2320. 2: list<string> ids) throws(1: TalkException e);
  2321.  
  2322. string getCountryWithRequestIp() throws(1: TalkException e);
  2323.  
  2324. list<string> getFavoriteMids() throws(1: TalkException e);
  2325.  
  2326. Group getGroup(
  2327. 2: string groupId) throws(1: TalkException e);
  2328.  
  2329. list<string> getGroupIdsInvited() throws(1: TalkException e);
  2330.  
  2331. list<string> getGroupIdsJoined() throws(1: TalkException e);
  2332.  
  2333. list<Group> getGroups(
  2334. 2: list<string> groupIds) throws(1: TalkException e);
  2335.  
  2336. list<string> getHiddenContactMids() throws(1: TalkException e);
  2337.  
  2338. string getIdentityIdentifier() throws(1: TalkException e);
  2339.  
  2340. i32 getLastAnnouncementIndex() throws(1: TalkException e);
  2341.  
  2342. i64 getLastOpRevision() throws(1: TalkException e);
  2343.  
  2344. TMessageBox getMessageBox(
  2345. 2: string channelId,
  2346. 3: string messageBoxId,
  2347. 4: i32 lastMessagesCount) throws(1: TalkException e);
  2348.  
  2349. TMessageBoxWrapUp getMessageBoxCompactWrapUp(
  2350. 2: string mid) throws(1: TalkException e);
  2351.  
  2352. TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpList(
  2353. 2: i32 start,
  2354. 3: i32 messageBoxCount) throws(1: TalkException e);
  2355.  
  2356. list<TMessageBox> getMessageBoxList(
  2357. 2: string channelId,
  2358. 3: i32 lastMessagesCount) throws(1: TalkException e);
  2359.  
  2360. list<TMessageBox> getMessageBoxListByStatus(
  2361. 2: string channelId,
  2362. 3: i32 lastMessagesCount,
  2363. 4: i32 status) throws(1: TalkException e);
  2364.  
  2365. TMessageBoxWrapUp getMessageBoxWrapUp(
  2366. 2: string mid) throws(1: TalkException e);
  2367.  
  2368. TMessageBoxWrapUpResponse getMessageBoxWrapUpList(
  2369. 2: i32 start,
  2370. 3: i32 messageBoxCount) throws(1: TalkException e);
  2371.  
  2372. list<Message> getMessagesBySequenceNumber(
  2373. 2: string channelId,
  2374. 3: string messageBoxId,
  2375. 4: i64 startSeq,
  2376. 5: i64 endSeq) throws(1: TalkException e);
  2377.  
  2378. list<Message> getNextMessages(
  2379. 2: string messageBoxId,
  2380. 3: i64 startSeq,
  2381. 4: i32 messagesCount) throws(1: TalkException e);
  2382.  
  2383. list<NotificationType> getNotificationPolicy(
  2384. 2: CarrierCode carrier) throws(1: TalkException e);
  2385.  
  2386. list<Message> getPreviousMessages(
  2387. 2: string messageBoxId,
  2388. 3: i64 endSeq,
  2389. 4: i32 messagesCount) throws(1: TalkException e);
  2390.  
  2391. Profile getProfile() throws(1: TalkException e);
  2392.  
  2393. ProximityMatchCandidateResult getProximityMatchCandidateList(
  2394. 2: string sessionId) throws(1: TalkException e);
  2395.  
  2396. set<Contact> getProximityMatchCandidates(
  2397. 2: string sessionId) throws(1: TalkException e);
  2398.  
  2399. list<Message> getRecentMessages(
  2400. 2: string messageBoxId,
  2401. 3: i32 messagesCount) throws(1: TalkException e);
  2402.  
  2403. list<string> getRecommendationIds() throws(1: TalkException e);
  2404.  
  2405. Room getRoom(
  2406. 2: string roomId) throws(1: TalkException e);
  2407.  
  2408. RSAKey getRSAKeyInfo(
  2409. 2: IdentityProvider provider) throws(1: TalkException e);
  2410.  
  2411. i64 getServerTime() throws(1: TalkException e);
  2412.  
  2413. list<LoginSession> getSessions() throws(1: TalkException e);
  2414.  
  2415. Settings getSettings() throws(1: TalkException e);
  2416.  
  2417. Settings getSettingsAttributes(
  2418. 2: i32 attrBitset) throws(1: TalkException e);
  2419.  
  2420. SystemConfiguration getSystemConfiguration() throws(1: TalkException e);
  2421.  
  2422. Ticket getUserTicket() throws(1: TalkException e);
  2423.  
  2424. WapInvitation getWapInvitation(
  2425. 2: string invitationHash) throws(1: TalkException e);
  2426.  
  2427. void invalidateUserTicket() throws(1: TalkException e);
  2428.  
  2429. void inviteFriendsBySms(
  2430. 2: list<string> phoneNumberList) throws(1: TalkException e);
  2431.  
  2432. void inviteIntoGroup(
  2433. 1: i32 reqSeq,
  2434. 2: string groupId,
  2435. 3: list<string> contactIds) throws(1: TalkException e);
  2436.  
  2437. void inviteIntoRoom(
  2438. 1: i32 reqSeq,
  2439. 2: string roomId,
  2440. 3: list<string> contactIds) throws(1: TalkException e);
  2441.  
  2442. void inviteViaEmail(
  2443. 1: i32 reqSeq,
  2444. 2: string email,
  2445. 3: string name) throws(1: TalkException e);
  2446.  
  2447. bool isIdentityIdentifierAvailable(
  2448. 3: IdentityProvider provider,
  2449. 2: string identifier) throws(1: TalkException e);
  2450.  
  2451. bool isUseridAvailable(
  2452. 2: string userid) throws(1: TalkException e);
  2453.  
  2454. void kickoutFromGroup(
  2455. 1: i32 reqSeq,
  2456. 2: string groupId,
  2457. 3: list<string> contactIds) throws(1: TalkException e);
  2458.  
  2459. void leaveGroup(
  2460. 1: i32 reqSeq,
  2461. 2: string groupId) throws(1: TalkException e);
  2462.  
  2463. void leaveRoom(
  2464. 1: i32 reqSeq,
  2465. 2: string roomId) throws(1: TalkException e);
  2466.  
  2467. string loginWithIdentityCredential(
  2468. 8: IdentityProvider identityProvider,
  2469. 3: string identifier,
  2470. 4: string password,
  2471. 5: bool keepLoggedIn,
  2472. 6: string accessLocation,
  2473. 7: string systemName,
  2474. 9: string certificate) throws(1: TalkException e);
  2475.  
  2476. LoginResult loginWithIdentityCredentialForCertificate(
  2477. 8: IdentityProvider identityProvider,
  2478. 3: string identifier,
  2479. 4: string password,
  2480. 5: bool keepLoggedIn,
  2481. 6: string accessLocation,
  2482. 7: string systemName,
  2483. 9: string certificate) throws(1: TalkException e);
  2484.  
  2485. string loginWithVerifier(
  2486. 3: string verifier) throws(1: TalkException e);
  2487.  
  2488. LoginResult loginWithVerifierForCerificate(
  2489. 3: string verifier) throws(1: TalkException e);
  2490.  
  2491. LoginResult loginWithVerifierForCertificate(
  2492. 3: string verifier) throws(1: TalkException e);
  2493.  
  2494. void logout() throws(1: TalkException e);
  2495.  
  2496. void logoutSession(
  2497. 2: string tokenKey) throws(1: TalkException e);
  2498.  
  2499. void noop() throws(1: TalkException e);
  2500.  
  2501. void notifiedRedirect(
  2502. 2: map<string, string> paramMap) throws(1: TalkException e);
  2503.  
  2504. map<string, string> notifyBuddyOnAir(
  2505. 1: i32 seq,
  2506. 2: list<string> receiverMids) throws(1: TalkException e);
  2507.  
  2508. void notifyIndividualEvent(
  2509. 2: NotificationStatus notificationStatus,
  2510. 3: list<string> receiverMids) throws(1: TalkException e);
  2511.  
  2512. void notifyInstalled(
  2513. 2: string udidHash,
  2514. 3: string applicationTypeWithExtensions);
  2515.  
  2516. void notifyRegistrationComplete(
  2517. 2: string udidHash,
  2518. 3: string applicationTypeWithExtensions);
  2519.  
  2520. void notifySleep(
  2521. 2: i64 lastRev,
  2522. 3: i32 badge) throws(1: TalkException e);
  2523.  
  2524. void notifyUpdated(
  2525. 2: i64 lastRev,
  2526. 3: DeviceInfo deviceInfo) throws(1: TalkException e);
  2527.  
  2528. string openProximityMatch(
  2529. 2: Location location) throws(1: TalkException e);
  2530.  
  2531. string registerBuddyUser(
  2532. 2: string buddyId,
  2533. 3: string registrarPassword) throws(1: TalkException e);
  2534.  
  2535. void registerBuddyUserid(
  2536. 2: i32 seq,
  2537. 3: string userid) throws(1: TalkException e);
  2538.  
  2539. string registerDevice(
  2540. 2: string sessionId) throws(1: TalkException e);
  2541.  
  2542. string registerDeviceWithIdentityCredential(
  2543. 2: string sessionId,
  2544. 5: IdentityProvider provider,
  2545. 3: string identifier,
  2546. 4: string verifier) throws(1: TalkException e);
  2547.  
  2548. string registerDeviceWithoutPhoneNumber(
  2549. 2: string region,
  2550. 3: string udidHash,
  2551. 4: DeviceInfo deviceInfo) throws(1: TalkException e);
  2552.  
  2553. string registerDeviceWithoutPhoneNumberWithIdentityCredential(
  2554. 2: string region,
  2555. 3: string udidHash,
  2556. 4: DeviceInfo deviceInfo,
  2557. 5: IdentityProvider provider,
  2558. 6: string identifier,
  2559. 7: string verifier,
  2560. 8: string mid) throws(1: TalkException e);
  2561.  
  2562. bool registerUserid(
  2563. 1: i32 reqSeq,
  2564. 2: string userid) throws(1: TalkException e);
  2565.  
  2566. string registerWapDevice(
  2567. 2: string invitationHash,
  2568. 3: string guidHash,
  2569. 4: string email,
  2570. 5: DeviceInfo deviceInfo) throws(1: TalkException e);
  2571.  
  2572. string registerWithExistingSnsIdAndIdentityCredential(
  2573. 2: IdentityCredential identityCredential,
  2574. 3: string region,
  2575. 4: string udidHash,
  2576. 5: DeviceInfo deviceInfo) throws(1: TalkException e);
  2577.  
  2578. RegisterWithSnsIdResult registerWithSnsId(
  2579. 2: SnsIdType snsIdType,
  2580. 3: string snsAccessToken,
  2581. 4: string region,
  2582. 5: string udidHash,
  2583. 6: DeviceInfo deviceInfo,
  2584. 7: string mid) throws(1: TalkException e);
  2585.  
  2586. string registerWithSnsIdAndIdentityCredential(
  2587. 2: SnsIdType snsIdType,
  2588. 3: string snsAccessToken,
  2589. 4: IdentityCredential identityCredential,
  2590. 5: string region,
  2591. 6: string udidHash,
  2592. 7: DeviceInfo deviceInfo) throws(1: TalkException e);
  2593.  
  2594. string reissueDeviceCredential() throws(1: TalkException e);
  2595.  
  2596. string reissueGroupTicket(
  2597. 1: string groupId) throws(1: TalkException e);
  2598.  
  2599. string reissueUserTicket(
  2600. 3: i64 expirationTime,
  2601. 4: i32 maxUseCount) throws(1: TalkException e);
  2602.  
  2603. void rejectGroupInvitation(
  2604. 1: i32 reqSeq,
  2605. 2: string groupId) throws(1: TalkException e);
  2606.  
  2607. void releaseSession() throws(1: TalkException e);
  2608.  
  2609. void removeAllMessages(
  2610. 1: i32 seq,
  2611. 2: string lastMessageId) throws(1: TalkException e);
  2612.  
  2613. void removeBuddyLocation(
  2614. 2: string mid,
  2615. 3: i32 index) throws(1: TalkException e);
  2616.  
  2617. bool removeMessage(
  2618. 2: string messageId) throws(1: TalkException e);
  2619.  
  2620. bool removeMessageFromMyHome(
  2621. 2: string messageId) throws(1: TalkException e);
  2622.  
  2623. string removeSnsId(
  2624. 2: SnsIdType snsIdType) throws(1: TalkException e);
  2625.  
  2626. void report(
  2627. 2: i64 syncOpRevision,
  2628. 3: SyncCategory category,
  2629. 4: string report) throws(1: TalkException e);
  2630.  
  2631. list<ContactReportResult> reportContacts(
  2632. 2: i64 syncOpRevision,
  2633. 3: SyncCategory category,
  2634. 4: list<ContactReport> contactReports,
  2635. 5: SyncActionType actionType) throws(1: TalkException e);
  2636.  
  2637. void reportGroups(
  2638. 2: i64 syncOpRevision,
  2639. 3: list<Group> groups) throws(1: TalkException e);
  2640.  
  2641. void reportProfile(
  2642. 2: i64 syncOpRevision,
  2643. 3: Profile profile) throws(1: TalkException e);
  2644.  
  2645. void reportRooms(
  2646. 2: i64 syncOpRevision,
  2647. 3: list<Room> rooms) throws(1: TalkException e);
  2648.  
  2649. void reportSettings(
  2650. 2: i64 syncOpRevision,
  2651. 3: Settings settings) throws(1: TalkException e);
  2652.  
  2653. void reportSpammer(
  2654. 2: string spammerMid,
  2655. 3: list<SpammerReason> spammerReasons,
  2656. 4: list<string> spamMessageIds) throws(1: TalkException e);
  2657.  
  2658. void requestAccountPasswordReset(
  2659. 4: IdentityProvider provider,
  2660. 2: string identifier,
  2661. 5: string locale) throws(1: TalkException e);
  2662.  
  2663. EmailConfirmationSession requestEmailConfirmation(
  2664. 2: EmailConfirmation emailConfirmation) throws(1: TalkException e);
  2665.  
  2666. void requestIdentityUnbind(
  2667. 4: IdentityProvider provider,
  2668. 2: string identifier) throws(1: TalkException e);
  2669.  
  2670. EmailConfirmationSession resendEmailConfirmation(
  2671. 2: string verifier) throws(1: TalkException e);
  2672.  
  2673. void resendPinCode(
  2674. 2: string sessionId) throws(1: TalkException e);
  2675.  
  2676. void resendPinCodeBySMS(
  2677. 2: string sessionId) throws(1: TalkException e);
  2678.  
  2679. void sendChatChecked(
  2680. 1: i32 seq,
  2681. 2: string consumer,
  2682. 3: string lastMessageId) throws(1: TalkException e);
  2683.  
  2684. void sendChatRemoved(
  2685. 1: i32 seq,
  2686. 2: string consumer,
  2687. 3: string lastMessageId) throws(1: TalkException e);
  2688.  
  2689. map<string, string> sendContentPreviewUpdated(
  2690. 1: i32 esq,
  2691. 2: string messageId,
  2692. 3: list<string> receiverMids) throws(1: TalkException e);
  2693.  
  2694. void sendContentReceipt(
  2695. 1: i32 seq,
  2696. 2: string consumer,
  2697. 3: string messageId) throws(1: TalkException e);
  2698.  
  2699. void sendDummyPush() throws(1: TalkException e);
  2700.  
  2701. Message sendEvent(
  2702. 1: i32 seq,
  2703. 2: Message message) throws(1: TalkException e);
  2704.  
  2705. Message sendMessage(
  2706. 1: i32 seq,
  2707. 2: Message message) throws(1: TalkException e);
  2708.  
  2709. void sendMessageIgnored(
  2710. 1: i32 seq,
  2711. 2: string consumer,
  2712. 3: list<string> messageIds) throws(1: TalkException e);
  2713.  
  2714. void sendMessageReceipt(
  2715. 1: i32 seq,
  2716. 2: string consumer,
  2717. 3: list<string> messageIds) throws(1: TalkException e);
  2718.  
  2719. Message sendMessageToMyHome(
  2720. 1: i32 seq,
  2721. 2: Message message) throws(1: TalkException e);
  2722.  
  2723. void setBuddyLocation(
  2724. 2: string mid,
  2725. 3: i32 index,
  2726. 4: Geolocation location) throws(1: TalkException e);
  2727.  
  2728. void setIdentityCredential(
  2729. 4: IdentityProvider provider,
  2730. 2: string identifier,
  2731. 3: string verifier) throws(1: TalkException e);
  2732.  
  2733. void setNotificationsEnabled(
  2734. 1: i32 reqSeq,
  2735. 2: MIDType type,
  2736. 3: string target,
  2737. 4: bool enablement) throws(1: TalkException e);
  2738.  
  2739. VerificationSessionData startUpdateVerification(
  2740. 2: string region,
  2741. 3: CarrierCode carrier,
  2742. 4: string phone,
  2743. 5: string udidHash,
  2744. 6: DeviceInfo deviceInfo,
  2745. 7: string networkCode,
  2746. 8: string locale) throws(1: TalkException e);
  2747.  
  2748. VerificationSessionData startVerification(
  2749. 2: string region,
  2750. 3: CarrierCode carrier,
  2751. 4: string phone,
  2752. 5: string udidHash,
  2753. 6: DeviceInfo deviceInfo,
  2754. 7: string networkCode,
  2755. 8: string mid,
  2756. 9: string locale) throws(1: TalkException e);
  2757.  
  2758. void storeUpdateProfileAttribute(
  2759. 1: i32 seq,
  2760. 2: ProfileAttribute profileAttribute,
  2761. 3: string value) throws(1: TalkException e);
  2762.  
  2763. list<SnsFriendContactRegistration> syncContactBySnsIds(
  2764. 1: i32 reqSeq,
  2765. 2: list<SnsFriendModification> modifications) throws(1: TalkException e);
  2766.  
  2767. map<string, ContactRegistration> syncContacts(
  2768. 1: i32 reqSeq,
  2769. 2: list<ContactModification> localContacts) throws(1: TalkException e);
  2770.  
  2771. Message trySendMessage(
  2772. 1: i32 seq,
  2773. 2: Message message) throws(1: TalkException e);
  2774.  
  2775. void unblockContact(
  2776. 1: i32 reqSeq,
  2777. 2: string id) throws(1: TalkException e);
  2778.  
  2779. void unblockRecommendation(
  2780. 1: i32 reqSeq,
  2781. 2: string id) throws(1: TalkException e);
  2782.  
  2783. string unregisterUserAndDevice() throws(1: TalkException e);
  2784.  
  2785. void updateApnsDeviceToken(
  2786. 2: binary apnsDeviceToken) throws(1: TalkException e);
  2787.  
  2788. void updateBuddySetting(
  2789. 2: string key,
  2790. 3: string value) throws(1: TalkException e);
  2791.  
  2792. void updateC2DMRegistrationId(
  2793. 2: string registrationId) throws(1: TalkException e);
  2794.  
  2795. void updateContactSetting(
  2796. 1: i32 reqSeq,
  2797. 2: string mid,
  2798. 3: ContactSetting flag,
  2799. 4: string value) throws(1: TalkException e);
  2800.  
  2801. void updateCustomModeSettings(
  2802. 2: CustomMode customMode,
  2803. 3: map<string, string> paramMap) throws(1: TalkException e);
  2804.  
  2805. void updateDeviceInfo(
  2806. 2: string deviceUid,
  2807. 3: DeviceInfo deviceInfo) throws(1: TalkException e);
  2808.  
  2809. void updateGroup(
  2810. 1: i32 reqSeq,
  2811. 2: Group group) throws(1: TalkException e);
  2812.  
  2813. void updateNotificationToken(
  2814. 3: NotificationType type,
  2815. 2: string token) throws(1: TalkException e);
  2816.  
  2817. void updateNotificationTokenWithBytes(
  2818. 3: NotificationType type,
  2819. 2: binary token) throws(1: TalkException e);
  2820.  
  2821. void updateProfile(
  2822. 1: i32 reqSeq,
  2823. 2: Profile profile) throws(1: TalkException e);
  2824.  
  2825. void updateProfileAttribute(
  2826. 1: i32 reqSeq,
  2827. 2: ProfileAttribute attr,
  2828. 3: string value) throws(1: TalkException e);
  2829.  
  2830. void updateRegion(
  2831. 2: string region) throws(1: TalkException e);
  2832.  
  2833. void updateSettings(
  2834. 1: i32 reqSeq,
  2835. 2: Settings settings) throws(1: TalkException e);
  2836.  
  2837. i32 updateSettings2(
  2838. 1: i32 reqSeq,
  2839. 2: Settings settings) throws(1: TalkException e);
  2840.  
  2841. void updateSettingsAttribute(
  2842. 1: i32 reqSeq,
  2843. 2: SettingsAttribute attr,
  2844. 3: string value) throws(1: TalkException e);
  2845.  
  2846. i32 updateSettingsAttributes(
  2847. 1: i32 reqSeq,
  2848. 2: i32 attrBitset,
  2849. 3: Settings settings) throws(1: TalkException e);
  2850.  
  2851. void verifyIdentityCredential(
  2852. 8: IdentityProvider identityProvider,
  2853. 3: string identifier,
  2854. 4: string password) throws(1: TalkException e);
  2855.  
  2856. UserAuthStatus verifyIdentityCredentialWithResult(
  2857. 2: IdentityCredential identityCredential) throws(1: TalkException e);
  2858.  
  2859. VerificationResult verifyPhone(
  2860. 2: string sessionId,
  2861. 3: string pinCode,
  2862. 4: string udidHash) throws(1: TalkException e);
  2863.  
  2864. string verifyQrcode(
  2865. 2: string verifier,
  2866. 3: string pinCode) throws(1: TalkException e);
  2867. }
  2868.  
  2869. service UniversalNotificationService {
  2870. void notify(
  2871. 2: GlobalEvent event) throws(1: UniversalNotificationServiceException e);
  2872. }
Add Comment
Please, Sign In to add comment