Commit 5063f795a2798b1663e25dd52fcc1cbbf49764b1

Authored by Matti Virkkunen
1 parent 899b848f

Removed line_main.thrift as it's no longer needed.

Showing 1 changed file with 1 additions and 1781 deletions
line_main.thrift
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 PayloadType {
331   - PAYLOAD_BUY = 101;
332   - PAYLOAD_CS = 111;
333   - PAYLOAD_BONUS = 121;
334   - PAYLOAD_EVENT = 131;
335   -}
336   -
337   -enum PaymentPgType {
338   - PAYMENT_PG_NONE = 0;
339   - PAYMENT_PG_AU = 1;
340   - PAYMENT_PG_AL = 2;
341   -}
342   -
343   -enum PaymentType {
344   - PAYMENT_APPLE = 1;
345   - PAYMENT_GOOGLE = 2;
346   -}
347   -
348   -enum ProductBannerLinkType {
349   - BANNER_LINK_NONE = 0;
350   - BANNER_LINK_ITEM = 1;
351   - BANNER_LINK_URL = 2;
352   - BANNER_LINK_CATEGORY = 3;
353   -}
354   -
355   -enum ProductEventType {
356   - NO_EVENT = 0;
357   - CARRIER_ANY = 65537;
358   - BUDDY_ANY = 131073;
359   - INSTALL_IOS = 196609;
360   - INSTALL_ANDROID = 196610;
361   - MISSION_ANY = 262145;
362   - MUSTBUY_ANY = 327681;
363   -}
364   -
365   -enum ProfileAttribute {
366   - EMAIL = 1;
367   - DISPLAY_NAME = 2;
368   - PHONETIC_NAME = 4;
369   - PICTURE = 8;
370   - STATUS_MESSAGE = 16;
371   - ALLOW_SEARCH_BY_USERID = 32;
372   - ALLOW_SEARCH_BY_EMAIL = 64;
373   - BUDDY_STATUS = 128;
374   - ALL = 255;
375   -}
376   -
377   -enum SettingsAttribute {
378   - NOTIFICATION_ENABLE = 1;
379   - NOTIFICATION_MUTE_EXPIRATION = 2;
380   - NOTIFICATION_NEW_MESSAGE = 4;
381   - NOTIFICATION_GROUP_INVITATION = 8;
382   - NOTIFICATION_SHOW_MESSAGE = 16;
383   - NOTIFICATION_INCOMING_CALL = 32;
384   - PRIVACY_SYNC_CONTACTS = 64;
385   - PRIVACY_SEARCH_BY_PHONE_NUMBER = 128;
386   - NOTIFICATION_SOUND_MESSAGE = 256;
387   - NOTIFICATION_SOUND_GROUP = 512;
388   - CONTACT_MY_TICKET = 1024;
389   - IDENTITY_PROVIDER = 2048;
390   - IDENTITY_IDENTIFIER = 4096;
391   - PRIVACY_SEARCH_BY_USERID = 8192;
392   - PRIVACY_SEARCH_BY_EMAIL = 16384;
393   - PREFERENCE_LOCALE = 32768;
394   - NOTIFICATION_DISABLED_WITH_SUB = 65536;
395   - SNS_ACCOUNT = 524288;
396   - PHONE_REGISTRATION = 1048576;
397   - PRIVACY_ALLOW_SECONDARY_DEVICE_LOGIN = 2097152;
398   - CUSTOM_MODE = 4194304;
399   - PRIVACY_PROFILE_IMAGE_POST_TO_MYHOME = 8388608;
400   - EMAIL_CONFIRMATION_STATUS = 16777216;
401   - PRIVACY_RECV_MESSAGES_FROM_NOT_FRIEND = 33554432;
402   - ALL = 2147483647;
403   -}
404   -
405   -enum SnsIdType {
406   - FACEBOOK = 1;
407   - SINA = 2;
408   - RENREN = 3;
409   - FEIXIN = 4;
410   -}
411   -
412   -enum SpammerReason {
413   - OTHER = 0;
414   - ADVERTISING = 1;
415   - GENDER_HARASSMENT = 2;
416   - HARASSMENT = 3;
417   -}
418   -
419   -enum SyncActionType {
420   - SYNC = 0;
421   - REPORT = 1;
422   -}
423   -
424   -enum SyncCategory {
425   - PROFILE = 0;
426   - SETTINGS = 1;
427   - OPS = 2;
428   - CONTACT = 3;
429   - RECOMMEND = 4;
430   - BLOCK = 5;
431   - GROUP = 6;
432   - ROOM = 7;
433   - NOTIFICATION = 8;
434   -}
435   -
436   -enum VerificationMethod {
437   - NO_AVAILABLE = 0;
438   - PIN_VIA_SMS = 1;
439   - CALLERID_INDIGO = 2;
440   - PIN_VIA_TTS = 4;
441   - SKIP = 10;
442   -}
443   -
444   -enum VerificationResult {
445   - FAILED = 0;
446   - OK_NOT_REGISTERED_YET = 1;
447   - OK_REGISTERED_WITH_SAME_DEVICE = 2;
448   - OK_REGISTERED_WITH_ANOTHER_DEVICE = 3;
449   -}
450   -
451   -enum WapInvitationType {
452   - REGISTRATION = 1;
453   - CHAT = 2;
454   -}
455   -
456   -struct Announcement {
457   - 1: i32 index;
458   - 10: bool forceUpdate;
459   - 11: string title;
460   - 12: string text;
461   - 13: i64 createdTime;
462   - 14: string pictureUrl;
463   - 15: string thumbnailUrl;
464   -}
465   -
466   -struct AuthQrcode {
467   - 1: string qrcode;
468   - 2: string verifier;
469   -}
470   -
471   -struct Contact {
472   - 1: string mid;
473   - 2: i64 createdTime;
474   - 10: ContactType type;
475   - 11: ContactStatus status;
476   - 21: ContactRelation relation;
477   - 22: string displayName;
478   - 23: string phoneticName;
479   - 24: string pictureStatus;
480   - 25: string thumbnailUrl;
481   - 26: string statusMessage;
482   - 27: string displayNameOverridden;
483   - 28: i64 favoriteTime;
484   - 31: bool capableVoiceCall;
485   - 32: bool capableVideoCall;
486   - 33: bool capableMyhome;
487   - 34: bool capableBuddy;
488   - 35: i32 attributes;
489   - 36: i64 settings;
490   - 37: string picturePath;
491   -}
492   -
493   -struct Location {
494   - 1: string title;
495   - 2: string address;
496   - 3: double latitude;
497   - 4: double longitude;
498   - 5: string phone;
499   -}
500   -
501   -struct Coin {
502   - 1: i32 freeCoinBalance;
503   - 2: i32 payedCoinBalance;
504   - 3: i32 totalCoinBalance;
505   - 4: i32 rewardCoinBalance;
506   -}
507   -
508   -struct CoinPayLoad {
509   - 1: i32 payCoin;
510   - 2: i32 freeCoin;
511   - 3: PayloadType type;
512   - 4: i32 rewardCoin;
513   -}
514   -
515   -struct CoinHistory {
516   - 1: i64 payDate;
517   - 2: i32 coinBalance;
518   - 3: i32 coin;
519   - 4: string price;
520   - 5: string title;
521   - 6: bool refund;
522   - 7: string paySeq;
523   - 8: string currency;
524   - 9: string currencySign;
525   - 10: string displayPrice;
526   - 11: CoinPayLoad payload;
527   - 12: string channelId;
528   -}
529   -
530   -struct CoinHistoryCondition {
531   - 1: i64 start;
532   - 2: i32 size;
533   - 3: string language;
534   - 4: string eddt;
535   - 5: PaymentType appStoreCode;
536   -}
537   -
538   -struct CoinHistoryResult {
539   - 1: list<CoinHistory> historys;
540   - 2: Coin balance;
541   - 3: bool hasNext;
542   -}
543   -
544   -struct CoinProductItem {
545   - 1: string itemId;
546   - 2: i32 coin;
547   - 3: i32 freeCoin;
548   - 5: string currency;
549   - 6: string price;
550   - 7: string displayPrice;
551   - 8: string name;
552   - 9: string desc;
553   -}
554   -
555   -struct CoinPurchaseReservation {
556   - 1: string productId;
557   - 2: string country;
558   - 3: string currency;
559   - 4: string price;
560   - 5: PaymentType appStoreCode;
561   - 6: string language;
562   - 7: PaymentPgType pgCode;
563   - 8: string redirectUrl;
564   -}
565   -
566   -struct CompactContact {
567   - 1: string mid;
568   - 2: i64 createdTime;
569   - 3: i64 modifiedTime;
570   - 4: ContactStatus status;
571   - 5: i64 settings;
572   - 6: string displayNameOverridden;
573   -}
574   -
575   -struct ContactModification {
576   - 1: ModificationType type;
577   - 2: string luid;
578   - 11: list<string> phones;
579   - 12: list<string> emails;
580   - 13: list<string> userids;
581   -}
582   -
583   -struct ContactRegistration {
584   - 1: Contact contact;
585   - 10: string luid;
586   - 11: ContactType contactType;
587   - 12: string contactKey;
588   -}
589   -
590   -struct ContactReport {
591   - 1: string mid;
592   - 2: bool exists;
593   - 3: Contact contact;
594   -}
595   -
596   -struct ContactReportResult {
597   - 1: string mid;
598   - 2: bool exists;
599   -}
600   -
601   -struct DeviceInfo {
602   - 1: string deviceName;
603   - 2: string systemName;
604   - 3: string systemVersion;
605   - 4: string model;
606   - 10: CarrierCode carrierCode;
607   - 11: string carrierName;
608   - 20: ApplicationType applicationType;
609   -}
610   -
611   -struct EmailConfirmation {
612   - 1: bool usePasswordSet;
613   - 2: string email;
614   - 3: string password;
615   - 4: bool ignoreDuplication;
616   -}
617   -
618   -struct EmailConfirmationSession {
619   - 1: EmailConfirmationType emailConfirmationType;
620   - 2: string verifier;
621   - 3: string targetEmail;
622   -}
623   -
624   -struct Geolocation {
625   - 1: double longitude;
626   - 2: double latitude;
627   -}
628   -
629   -struct Group {
630   - 1: string id;
631   - 2: i64 createdTime;
632   - 10: string name;
633   - 11: string pictureStatus;
634   - 20: list<Contact> members;
635   - 21: Contact creator;
636   - 22: list<Contact> invitee;
637   - 31: bool notificationDisabled;
638   -}
639   -
640   -struct IdentityCredential {
641   - 1: IdentityProvider provider;
642   - 2: string identifier;
643   - 3: string password;
644   -}
645   -
646   -struct LoginResult {
647   - 1: string authToken;
648   - 2: string certificate;
649   - 3: string verifier;
650   - 4: string pinCode;
651   - 5: LoginResultType type;
652   -}
653   -
654   -struct LoginSession {
655   - 1: string tokenKey;
656   - 3: i64 expirationTime;
657   - 11: ApplicationType applicationType;
658   - 12: string systemName;
659   - 22: string accessLocation;
660   -}
661   -
662   -struct Message {
663   - 1: string from;
664   - 2: string to;
665   - 3: MIDType toType;
666   - 4: string id;
667   - 5: i64 createdTime;
668   - 6: i64 deliveredTime;
669   - 10: string text;
670   - 11: optional Location location;
671   - 14: bool hasContent;
672   - 15: ContentType contentType;
673   - 17: binary contentPreview;
674   - 18: map<string, string> contentMetadata;
675   -}
676   -
677   -struct Operation {
678   - 1: i64 revision;
679   - 2: i64 createdTime;
680   - 3: OpType type;
681   - 4: i32 reqSeq;
682   - 5: string checksum;
683   - 7: OpStatus status;
684   - 10: string param1;
685   - 11: string param2;
686   - 12: string param3;
687   - 20: Message message;
688   -}
689   -
690   -struct PaymentReservation {
691   - 1: string receiverMid;
692   - 2: string productId;
693   - 3: string language;
694   - 4: string location;
695   - 5: string currency;
696   - 6: string price;
697   - 7: PaymentType appStoreCode;
698   - 8: string messageText;
699   - 9: i32 messageTemplate;
700   - 10: i64 packageId;
701   -}
702   -
703   -struct PaymentReservationResult {
704   - 1: string orderId;
705   - 2: string confirmUrl;
706   - 3: map<string, string> extras;
707   -}
708   -
709   -struct Product {
710   - 1: string productId;
711   - 2: i64 packageId;
712   - 3: i32 version;
713   - 4: string authorName;
714   - 5: bool onSale;
715   - 6: i32 validDays;
716   - 7: i32 saleType;
717   - 8: string copyright;
718   - 9: string title;
719   - 10: string descriptionText;
720   - 11: i64 shopOrderId;
721   - 12: string fromMid;
722   - 13: string toMid;
723   - 14: i64 validUntil;
724   - 15: i32 priceTier;
725   - 16: string price;
726   - 17: string currency;
727   - 18: string currencySymbol;
728   - 19: PaymentType paymentType;
729   - 20: i64 createDate;
730   - 21: bool ownFlag;
731   - 22: ProductEventType eventType;
732   - 23: string urlSchema;
733   - 24: string downloadUrl;
734   - 25: string buddyMid;
735   - 26: i64 publishSince;
736   - 27: bool newFlag;
737   - 28: bool missionFlag;
738   -}
739   -
740   -struct ProductList {
741   - 1: bool hasNext;
742   - 4: i64 bannerSequence;
743   - 5: ProductBannerLinkType bannerTargetType;
744   - 6: string bannerTargetPath;
745   - 7: list<Product> productList_;
746   - 8: string bannerLang;
747   -}
748   -
749   -struct ProductSimple {
750   - 1: string productId;
751   - 2: i64 packageId;
752   - 3: i32 version;
753   - 4: bool onSale;
754   - 5: i64 validUntil;
755   -}
756   -
757   -struct ProductSimpleList {
758   - 1: bool hasNext;
759   - 2: i32 reinvokeHour;
760   - 3: i64 lastVersionSeq;
761   - 4: list<ProductSimple> productList;
762   - 5: i64 recentNewReleaseDate;
763   - 6: i64 recentEventReleaseDate;
764   -}
765   -
766   -struct Profile {
767   - 1: string mid;
768   - 3: string userid;
769   - 10: string phone;
770   - 11: string email;
771   - 12: string regionCode;
772   - 20: string displayName;
773   - 21: string phoneticName;
774   - 22: string pictureStatus;
775   - 23: string thumbnailUrl;
776   - 24: string statusMessage;
777   - 31: bool allowSearchByUserid;
778   - 32: bool allowSearchByEmail;
779   - 33: string picturePath;
780   -}
781   -
782   -struct ProximityMatchCandidateResult {
783   - 1: list<Contact> users;
784   - 2: list<Contact> buddies;
785   -}
786   -
787   -struct RegisterWithSnsIdResult {
788   - 1: string authToken;
789   - 2: bool userCreated;
790   -}
791   -
792   -struct Room {
793   - 1: string mid;
794   - 2: i64 createdTime;
795   - 10: list<Contact> contacts;
796   - 31: bool notificationDisabled;
797   -}
798   -
799   -struct RSAKey {
800   - 1: string keynm;
801   - 2: string nvalue;
802   - 3: string evalue;
803   - 4: string sessionKey;
804   -}
805   -
806   -struct Settings {
807   - 10: bool notificationEnable;
808   - 11: i64 notificationMuteExpiration;
809   - 12: bool notificationNewMessage;
810   - 13: bool notificationGroupInvitation;
811   - 14: bool notificationShowMessage;
812   - 15: bool notificationIncomingCall;
813   - 16: string notificationSoundMessage;
814   - 17: string notificationSoundGroup;
815   - 18: bool notificationDisabledWithSub;
816   - 20: bool privacySyncContacts;
817   - 21: bool privacySearchByPhoneNumber;
818   - 22: bool privacySearchByUserid;
819   - 23: bool privacySearchByEmail;
820   - 24: bool privacyAllowSecondaryDeviceLogin;
821   - 25: bool privacyProfileImagePostToMyhome;
822   - 26: bool privacyReceiveMessagesFromNotFriend;
823   - 30: string contactMyTicket;
824   - 40: IdentityProvider identityProvider;
825   - 41: string identityIdentifier;
826   - 42: map<SnsIdType, string> snsAccounts;
827   - 43: bool phoneRegistration;
828   - 44: EmailConfirmationStatus emailConfirmationStatus;
829   - 50: string preferenceLocale;
830   - 60: map<CustomMode, string> customModes;
831   -}
832   -
833   -struct SnsFriend {
834   - 1: string snsUserId;
835   - 2: string snsUserName;
836   - 3: SnsIdType snsIdType;
837   -}
838   -
839   -struct SnsFriendContactRegistration {
840   - 1: Contact contact;
841   - 2: SnsIdType snsIdType;
842   - 3: string snsUserId;
843   -}
844   -
845   -struct SnsFriendModification {
846   - 1: ModificationType type;
847   - 2: SnsFriend snsFriend;
848   -}
849   -
850   -struct SnsIdUserStatus {
851   - 1: bool userExisting;
852   - 2: bool phoneNumberRegistered;
853   - 3: bool sameDevice;
854   -}
855   -
856   -struct SystemConfiguration {
857   - 1: string endpoint;
858   - 2: string endpointSsl;
859   - 3: string updateUrl;
860   - 11: string c2dmAccount;
861   - 12: string nniServer;
862   -}
863   -
864   -exception TalkException {
865   - 1: ErrorCode code;
866   - 2: string reason;
867   - 3: map<string, string> parameterMap;
868   -}
869   -
870   -struct Ticket {
871   - 1: string id;
872   - 10: i64 expirationTime;
873   - 21: i32 maxUseCount;
874   -}
875   -
876   -struct TMessageBox {
877   - 1: string id;
878   - 2: string channelId;
879   - 5: i64 lastSeq;
880   - 6: i64 unreadCount;
881   - 7: i64 lastModifiedTime;
882   - 8: i32 status;
883   - 9: MIDType midType;
884   - 10: list<Message> lastMessages;
885   -}
886   -
887   -struct TMessageBoxWrapUp {
888   - 1: TMessageBox messageBox;
889   - 2: string name;
890   - 3: list<Contact> contacts;
891   - 4: string pictureRevision;
892   -}
893   -
894   -struct TMessageBoxWrapUpResponse {
895   - 1: list<TMessageBoxWrapUp> messageBoxWrapUpList;
896   - 2: i32 totalSize;
897   -}
898   -
899   -struct UserAuthStatus {
900   - 1: bool phoneNumberRegistered;
901   - 2: list<SnsIdType> registeredSnsIdTypes;
902   -}
903   -
904   -struct VerificationSessionData {
905   - 1: string sessionId;
906   - 2: VerificationMethod method;
907   - 3: string callback;
908   - 4: string normalizedPhone;
909   - 5: string countryCode;
910   - 6: string nationalSignificantNumber;
911   - 7: list<VerificationMethod> availableVerificationMethods;
912   -}
913   -
914   -struct WapInvitation {
915   - 1: WapInvitationType type;
916   - 10: string inviteeEmail;
917   - 11: string inviterMid;
918   - 12: string roomMid;
919   -}
920   -
921   -service ShopService {
922   - void buyCoinProduct(
923   - 2: PaymentReservation paymentReservation) throws(1: TalkException e);
924   -
925   - void buyFreeProduct(
926   - 2: string receiverMid,
927   - 3: string productId,
928   - 4: i32 messageTemplate,
929   - 5: string language,
930   - 6: string country,
931   - 7: i64 packageId) throws(1: TalkException e);
932   -
933   - void buyMustbuyProduct(
934   - 2: string receiverMid,
935   - 3: string productId,
936   - 4: i32 messageTemplate,
937   - 5: string language,
938   - 6: string country,
939   - 7: i64 packageId,
940   - 8: string serialNumber) throws(1: TalkException e);
941   -
942   - void checkCanReceivePresent(
943   - 2: string recipientMid,
944   - 3: i64 packageId,
945   - 4: string language,
946   - 5: string country) throws(1: TalkException e);
947   -
948   - ProductList getActivePurchases(
949   - 2: i64 start,
950   - 3: i32 size,
951   - 4: string language,
952   - 5: string country) throws(1: TalkException e);
953   -
954   - ProductSimpleList getActivePurchaseVersions(
955   - 2: i64 start,
956   - 3: i32 size,
957   - 4: string language,
958   - 5: string country) throws(1: TalkException e);
959   -
960   - list<CoinProductItem> getCoinProducts(
961   - 2: PaymentType appStoreCode,
962   - 3: string country,
963   - 4: string language) throws(1: TalkException e);
964   -
965   - list<CoinProductItem> getCoinProductsByPgCode(
966   - 2: PaymentType appStoreCode,
967   - 3: PaymentPgType pgCode,
968   - 4: string country,
969   - 5: string language) throws(1: TalkException e);
970   -
971   - CoinHistoryResult getCoinPurchaseHistory(
972   - 2: CoinHistoryCondition request) throws(1: TalkException e);
973   -
974   - CoinHistoryResult getCoinUseAndRefundHistory(
975   - 2: CoinHistoryCondition request) throws(1: TalkException e);
976   -
977   - ProductList getDownloads(
978   - 2: i64 start,
979   - 3: i32 size,
980   - 4: string language,
981   - 5: string country) throws(1: TalkException e);
982   -
983   - ProductList getEventPackages(
984   - 2: i64 start,
985   - 3: i32 size,
986   - 4: string language,
987   - 5: string country) throws(1: TalkException e);
988   -
989   - ProductList getNewlyReleasedPackages(
990   - 2: i64 start,
991   - 3: i32 size,
992   - 4: string language,
993   - 5: string country) throws(1: TalkException e);
994   -
995   - ProductList getPopularPackages(
996   - 2: i64 start,
997   - 3: i32 size,
998   - 4: string language,
999   - 5: string country) throws(1: TalkException e);
1000   -
1001   - ProductList getPresentsReceived(
1002   - 2: i64 start,
1003   - 3: i32 size,
1004   - 4: string language,
1005   - 5: string country) throws(1: TalkException e);
1006   -
1007   - ProductList getPresentsSent(
1008   - 2: i64 start,
1009   - 3: i32 size,
1010   - 4: string language,
1011   - 5: string country) throws(1: TalkException e);
1012   -
1013   - Product getProduct(
1014   - 2: i64 packageID,
1015   - 3: string language,
1016   - 4: string country) throws(1: TalkException e);
1017   -
1018   - ProductList getProductList(
1019   - 2: list<string> productIdList,
1020   - 3: string language,
1021   - 4: string country) throws(1: TalkException e);
1022   -
1023   - ProductList getProductListWithCarrier(
1024   - 2: list<string> productIdList,
1025   - 3: string language,
1026   - 4: string country,
1027   - 5: string carrierCode) throws(1: TalkException e);
1028   -
1029   - Product getProductWithCarrier(
1030   - 2: i64 packageID,
1031   - 3: string language,
1032   - 4: string country,
1033   - 5: string carrierCode) throws(1: TalkException e);
1034   -
1035   - ProductList getPurchaseHistory(
1036   - 2: i64 start,
1037   - 3: i32 size,
1038   - 4: string language,
1039   - 5: string country) throws(1: TalkException e);
1040   -
1041   - Coin getTotalBalance(
1042   - 2: PaymentType appStoreCode) throws(1: TalkException e);
1043   -
1044   - i64 notifyDownloaded(
1045   - 2: i64 packageId,
1046   - 3: string language) throws(1: TalkException e);
1047   -
1048   - PaymentReservationResult reserveCoinPurchase(
1049   - 2: CoinPurchaseReservation request) throws(1: TalkException e);
1050   -
1051   - PaymentReservationResult reservePayment(
1052   - 2: PaymentReservation paymentReservation) throws(1: TalkException e);
1053   -}
1054   -
1055   -service TalkService {
1056   - void acceptGroupInvitation(
1057   - 1: i32 reqSeq,
1058   - 2: string groupId) throws(1: TalkException e);
1059   -
1060   - void acceptProximityMatches(
1061   - 2: string sessionId,
1062   - 3: set<string> ids) throws(1: TalkException e);
1063   -
1064   - list<string> acquireCallRoute(
1065   - 2: string to) throws(1: TalkException e);
1066   -
1067   - string acquireCallTicket(
1068   - 2: string to) throws(1: TalkException e);
1069   -
1070   - string acquireEncryptedAccessToken(
1071   - 2: FeatureType featureType) throws(1: TalkException e);
1072   -
1073   - string addSnsId(
1074   - 2: SnsIdType snsIdType,
1075   - 3: string snsAccessToken) throws(1: TalkException e);
1076   -
1077   - void blockContact(
1078   - 1: i32 reqSeq,
1079   - 2: string id) throws(1: TalkException e);
1080   -
1081   - void blockRecommendation(
1082   - 1: i32 reqSeq,
1083   - 2: string id) throws(1: TalkException e);
1084   -
1085   - void cancelGroupInvitation(
1086   - 1: i32 reqSeq,
1087   - 2: string groupId,
1088   - 3: list<string> contactIds) throws(1: TalkException e);
1089   -
1090   - VerificationSessionData changeVerificationMethod(
1091   - 2: string sessionId,
1092   - 3: VerificationMethod method) throws(1: TalkException e);
1093   -
1094   - void clearIdentityCredential() throws(1: TalkException e);
1095   -
1096   - void clearMessageBox(
1097   - 2: string channelId,
1098   - 3: string messageBoxId) throws(1: TalkException e);
1099   -
1100   - void closeProximityMatch(
1101   - 2: string sessionId) throws(1: TalkException e);
1102   -
1103   - map<string, string> commitSendMessage(
1104   - 1: i32 seq,
1105   - 2: string messageId,
1106   - 3: list<string> receiverMids) throws(1: TalkException e);
1107   -
1108   - map<string, string> commitSendMessages(
1109   - 1: i32 seq,
1110   - 2: list<string> messageIds,
1111   - 3: list<string> receiverMids) throws(1: TalkException e);
1112   -
1113   - map<string, string> commitUpdateProfile(
1114   - 1: i32 seq,
1115   - 2: list<ProfileAttribute> attrs,
1116   - 3: list<string> receiverMids) throws(1: TalkException e);
1117   -
1118   - void confirmEmail(
1119   - 2: string verifier,
1120   - 3: string pinCode) throws(1: TalkException e);
1121   -
1122   - Group createGroup(
1123   - 1: i32 seq,
1124   - 2: string name,
1125   - 3: list<string> contactIds) throws(1: TalkException e);
1126   -
1127   - string createQrcodeBase64Image(
1128   - 2: string url,
1129   - 3: string characterSet,
1130   - 4: i32 imageSize,
1131   - 5: i32 x,
1132   - 6: i32 y,
1133   - 7: i32 width,
1134   - 8: i32 height) throws(1: TalkException e);
1135   -
1136   - Room createRoom(
1137   - 1: i32 reqSeq,
1138   - 2: list<string> contactIds) throws(1: TalkException e);
1139   -
1140   - string createSession() throws(1: TalkException e);
1141   -
1142   - list<Announcement> fetchAnnouncements(
1143   - 2: i32 lastFetchedIndex) throws(1: TalkException e);
1144   -
1145   - list<Message> fetchMessages(
1146   - 2: i64 localTs,
1147   - 3: i32 count) throws(1: TalkException e);
1148   -
1149   - list<Operation> fetchOperations(
1150   - 2: i64 localRev,
1151   - 3: i32 count) throws(1: TalkException e);
1152   -
1153   - list<Operation> fetchOps(
1154   - 2: i64 localRev,
1155   - 3: i32 count,
1156   - 4: i64 globalRev,
1157   - 5: i64 individualRev) throws(1: TalkException e);
1158   -
1159   - map<string, Contact> findAndAddContactsByEmail(
1160   - 1: i32 reqSeq,
1161   - 2: set<string> emails) throws(1: TalkException e);
1162   -
1163   - map<string, Contact> findAndAddContactsByMid(
1164   - 1: i32 reqSeq,
1165   - 2: string mid) throws(1: TalkException e);
1166   -
1167   - map<string, Contact> findAndAddContactsByPhone(
1168   - 1: i32 reqSeq,
1169   - 2: set<string> phones) throws(1: TalkException e);
1170   -
1171   - map<string, Contact> findAndAddContactsByUserid(
1172   - 1: i32 reqSeq,
1173   - 2: string userid) throws(1: TalkException e);
1174   -
1175   - Contact findContactByUserid(
1176   - 2: string userid) throws(1: TalkException e);
1177   -
1178   - Contact findContactByUserTicket(
1179   - 2: string ticketId) throws(1: TalkException e);
1180   -
1181   - map<string, Contact> findContactsByEmail(
1182   - 2: set<string> emails) throws(1: TalkException e);
1183   -
1184   - map<string, Contact> findContactsByPhone(
1185   - 2: set<string> phones) throws(1: TalkException e);
1186   -
1187   - SnsIdUserStatus findSnsIdUserStatus(
1188   - 2: SnsIdType snsIdType,
1189   - 3: string snsAccessToken,
1190   - 4: string udidHash) throws(1: TalkException e);
1191   -
1192   - void finishUpdateVerification(
1193   - 2: string sessionId) throws(1: TalkException e);
1194   -
1195   - Ticket generateUserTicket(
1196   - 3: i64 expirationTime,
1197   - 4: i32 maxUseCount) throws(1: TalkException e);
1198   -
1199   - set<string> getAcceptedProximityMatches(
1200   - 2: string sessionId) throws(1: TalkException e);
1201   -
1202   - list<string> getActiveBuddySubscriberIds() throws(1: TalkException e);
1203   -
1204   - list<string> getAllContactIds() throws(1: TalkException e);
1205   -
1206   - AuthQrcode getAuthQrcode(
1207   - 2: bool keepLoggedIn,
1208   - 3: string systemName) throws(1: TalkException e);
1209   -
1210   - list<string> getBlockedContactIds() throws(1: TalkException e);
1211   -
1212   - list<string> getBlockedContactIdsByRange(
1213   - 2: i32 start,
1214   - 3: i32 count) throws(1: TalkException e);
1215   -
1216   - list<string> getBlockedRecommendationIds() throws(1: TalkException e);
1217   -
1218   - list<string> getBuddyBlockerIds() throws(1: TalkException e);
1219   -
1220   - Geolocation getBuddyLocation(
1221   - 2: string mid,
1222   - 3: i32 index) throws(1: TalkException e);
1223   -
1224   - list<CompactContact> getCompactContactsModifiedSince(
1225   - 2: i64 timestamp) throws(1: TalkException e);
1226   -
1227   - Group getCompactGroup(
1228   - 2: string groupId) throws(1: TalkException e);
1229   -
1230   - Room getCompactRoom(
1231   - 2: string roomId) throws(1: TalkException e);
1232   -
1233   - Contact getContact(
1234   - 2: string id) throws(1: TalkException e);
1235   -
1236   - list<Contact> getContacts(
1237   - 2: list<string> ids) throws(1: TalkException e);
1238   -
1239   - string getCountryWithRequestIp() throws(1: TalkException e);
1240   -
1241   - list<string> getFavoriteMids() throws(1: TalkException e);
1242   -
1243   - Group getGroup(
1244   - 2: string groupId) throws(1: TalkException e);
1245   -
1246   - list<string> getGroupIdsInvited() throws(1: TalkException e);
1247   -
1248   - list<string> getGroupIdsJoined() throws(1: TalkException e);
1249   -
1250   - list<Group> getGroups(
1251   - 2: list<string> groupIds) throws(1: TalkException e);
1252   -
1253   - list<string> getHiddenContactMids() throws(1: TalkException e);
1254   -
1255   - string getIdentityIdentifier() throws(1: TalkException e);
1256   -
1257   - i32 getLastAnnouncementIndex() throws(1: TalkException e);
1258   -
1259   - i64 getLastOpRevision() throws(1: TalkException e);
1260   -
1261   - TMessageBox getMessageBox(
1262   - 2: string channelId,
1263   - 3: string messageBoxId,
1264   - 4: i32 lastMessagesCount) throws(1: TalkException e);
1265   -
1266   - TMessageBoxWrapUp getMessageBoxCompactWrapUp(
1267   - 2: string mid) throws(1: TalkException e);
1268   -
1269   - TMessageBoxWrapUpResponse getMessageBoxCompactWrapUpList(
1270   - 2: i32 start,
1271   - 3: i32 messageBoxCount) throws(1: TalkException e);
1272   -
1273   - list<TMessageBox> getMessageBoxList(
1274   - 2: string channelId,
1275   - 3: i32 lastMessagesCount) throws(1: TalkException e);
1276   -
1277   - list<TMessageBox> getMessageBoxListByStatus(
1278   - 2: string channelId,
1279   - 3: i32 lastMessagesCount,
1280   - 4: i32 status) throws(1: TalkException e);
1281   -
1282   - TMessageBoxWrapUp getMessageBoxWrapUp(
1283   - 2: string mid) throws(1: TalkException e);
1284   -
1285   - TMessageBoxWrapUpResponse getMessageBoxWrapUpList(
1286   - 2: i32 start,
1287   - 3: i32 messageBoxCount) throws(1: TalkException e);
1288   -
1289   - list<Message> getMessagesBySequenceNumber(
1290   - 2: string channelId,
1291   - 3: string messageBoxId,
1292   - 4: i64 startSeq,
1293   - 5: i64 endSeq) throws(1: TalkException e);
1294   -
1295   - list<Message> getNextMessages(
1296   - 2: string messageBoxId,
1297   - 3: i64 startSeq,
1298   - 4: i32 messagesCount) throws(1: TalkException e);
1299   -
1300   - list<NotificationType> getNotificationPolicy(
1301   - 2: CarrierCode carrier) throws(1: TalkException e);
1302   -
1303   - list<Message> getPreviousMessages(
1304   - 2: string messageBoxId,
1305   - 3: i64 endSeq,
1306   - 4: i32 messagesCount) throws(1: TalkException e);
1307   -
1308   - Profile getProfile() throws(1: TalkException e);
1309   -
1310   - ProximityMatchCandidateResult getProximityMatchCandidateList(
1311   - 2: string sessionId) throws(1: TalkException e);
1312   -
1313   - set<Contact> getProximityMatchCandidates(
1314   - 2: string sessionId) throws(1: TalkException e);
1315   -
1316   - list<Message> getRecentMessages(
1317   - 2: string messageBoxId,
1318   - 3: i32 messagesCount) throws(1: TalkException e);
1319   -
1320   - list<string> getRecommendationIds() throws(1: TalkException e);
1321   -
1322   - Room getRoom(
1323   - 2: string roomId) throws(1: TalkException e);
1324   -
1325   - RSAKey getRSAKeyInfo(
1326   - 2: IdentityProvider provider) throws(1: TalkException e);
1327   -
1328   - i64 getServerTime() throws(1: TalkException e);
1329   -
1330   - list<LoginSession> getSessions() throws(1: TalkException e);
1331   -
1332   - Settings getSettings() throws(1: TalkException e);
1333   -
1334   - Settings getSettingsAttributes(
1335   - 2: i32 attrBitset) throws(1: TalkException e);
1336   -
1337   - SystemConfiguration getSystemConfiguration() throws(1: TalkException e);
1338   -
1339   - Ticket getUserTicket() throws(1: TalkException e);
1340   -
1341   - WapInvitation getWapInvitation(
1342   - 2: string invitationHash) throws(1: TalkException e);
1343   -
1344   - void invalidateUserTicket() throws(1: TalkException e);
1345   -
1346   - void inviteFriendsBySms(
1347   - 2: list<string> phoneNumberList) throws(1: TalkException e);
1348   -
1349   - void inviteIntoGroup(
1350   - 1: i32 reqSeq,
1351   - 2: string groupId,
1352   - 3: list<string> contactIds) throws(1: TalkException e);
1353   -
1354   - void inviteIntoRoom(
1355   - 1: i32 reqSeq,
1356   - 2: string roomId,
1357   - 3: list<string> contactIds) throws(1: TalkException e);
1358   -
1359   - void inviteViaEmail(
1360   - 1: i32 reqSeq,
1361   - 2: string email,
1362   - 3: string name) throws(1: TalkException e);
1363   -
1364   - bool isIdentityIdentifierAvailable(
1365   - 3: IdentityProvider provider,
1366   - 2: string identifier) throws(1: TalkException e);
1367   -
1368   - bool isUseridAvailable(
1369   - 2: string userid) throws(1: TalkException e);
1370   -
1371   - void kickoutFromGroup(
1372   - 1: i32 reqSeq,
1373   - 2: string groupId,
1374   - 3: list<string> contactIds) throws(1: TalkException e);
1375   -
1376   - void leaveGroup(
1377   - 1: i32 reqSeq,
1378   - 2: string groupId) throws(1: TalkException e);
1379   -
1380   - void leaveRoom(
1381   - 1: i32 reqSeq,
1382   - 2: string roomId) throws(1: TalkException e);
1383   -
1384   - string loginWithIdentityCredential(
1385   - 8: IdentityProvider identityProvider,
1386   - 3: string identifier,
1387   - 4: string password,
1388   - 5: bool keepLoggedIn,
1389   - 6: string accessLocation,
1390   - 7: string systemName,
1391   - 9: string certificate) throws(1: TalkException e);
1392   -
1393   - LoginResult loginWithIdentityCredentialForCertificate(
1394   - 8: IdentityProvider identityProvider,
1395   - 3: string identifier,
1396   - 4: string password,
1397   - 5: bool keepLoggedIn,
1398   - 6: string accessLocation,
1399   - 7: string systemName,
1400   - 9: string certificate) throws(1: TalkException e);
1401   -
1402   - string loginWithVerifier(
1403   - 3: string verifier) throws(1: TalkException e);
1404   -
1405   - LoginResult loginWithVerifierForCerificate(
1406   - 3: string verifier) throws(1: TalkException e);
1407   -
1408   - LoginResult loginWithVerifierForCertificate(
1409   - 3: string verifier) throws(1: TalkException e);
1410   -
1411   - void logout() throws(1: TalkException e);
1412   -
1413   - void logoutSession(
1414   - 2: string tokenKey) throws(1: TalkException e);
1415   -
1416   - void noop() throws(1: TalkException e);
1417   -
1418   - void notifiedRedirect(
1419   - 2: map<string, string> paramMap) throws(1: TalkException e);
1420   -
1421   - map<string, string> notifyBuddyOnAir(
1422   - 1: i32 seq,
1423   - 2: list<string> receiverMids) throws(1: TalkException e);
1424   -
1425   - void notifyIndividualEvent(
1426   - 2: NotificationStatus notificationStatus,
1427   - 3: list<string> receiverMids) throws(1: TalkException e);
1428   -
1429   - void notifyInstalled(
1430   - 2: string udidHash,
1431   - 3: string applicationTypeWithExtensions);
1432   -
1433   - void notifyRegistrationComplete(
1434   - 2: string udidHash,
1435   - 3: string applicationTypeWithExtensions);
1436   -
1437   - void notifySleep(
1438   - 2: i64 lastRev,
1439   - 3: i32 badge) throws(1: TalkException e);
1440   -
1441   - void notifyUpdated(
1442   - 2: i64 lastRev,
1443   - 3: DeviceInfo deviceInfo) throws(1: TalkException e);
1444   -
1445   - string openProximityMatch(
1446   - 2: Location location) throws(1: TalkException e);
1447   -
1448   - string registerBuddyUser(
1449   - 2: string buddyId,
1450   - 3: string registrarPassword) throws(1: TalkException e);
1451   -
1452   - void registerBuddyUserid(
1453   - 2: i32 seq,
1454   - 3: string userid) throws(1: TalkException e);
1455   -
1456   - string registerDevice(
1457   - 2: string sessionId) throws(1: TalkException e);
1458   -
1459   - string registerDeviceWithIdentityCredential(
1460   - 2: string sessionId,
1461   - 5: IdentityProvider provider,
1462   - 3: string identifier,
1463   - 4: string verifier) throws(1: TalkException e);
1464   -
1465   - string registerDeviceWithoutPhoneNumber(
1466   - 2: string region,
1467   - 3: string udidHash,
1468   - 4: DeviceInfo deviceInfo) throws(1: TalkException e);
1469   -
1470   - string registerDeviceWithoutPhoneNumberWithIdentityCredential(
1471   - 2: string region,
1472   - 3: string udidHash,
1473   - 4: DeviceInfo deviceInfo,
1474   - 5: IdentityProvider provider,
1475   - 6: string identifier,
1476   - 7: string verifier,
1477   - 8: string mid) throws(1: TalkException e);
1478   -
1479   - bool registerUserid(
1480   - 1: i32 reqSeq,
1481   - 2: string userid) throws(1: TalkException e);
1482   -
1483   - string registerWapDevice(
1484   - 2: string invitationHash,
1485   - 3: string guidHash,
1486   - 4: string email,
1487   - 5: DeviceInfo deviceInfo) throws(1: TalkException e);
1488   -
1489   - string registerWithExistingSnsIdAndIdentityCredential(
1490   - 2: IdentityCredential identityCredential,
1491   - 3: string region,
1492   - 4: string udidHash,
1493   - 5: DeviceInfo deviceInfo) throws(1: TalkException e);
1494   -
1495   - RegisterWithSnsIdResult registerWithSnsId(
1496   - 2: SnsIdType snsIdType,
1497   - 3: string snsAccessToken,
1498   - 4: string region,
1499   - 5: string udidHash,
1500   - 6: DeviceInfo deviceInfo,
1501   - 7: string mid) throws(1: TalkException e);
1502   -
1503   - string registerWithSnsIdAndIdentityCredential(
1504   - 2: SnsIdType snsIdType,
1505   - 3: string snsAccessToken,
1506   - 4: IdentityCredential identityCredential,
1507   - 5: string region,
1508   - 6: string udidHash,
1509   - 7: DeviceInfo deviceInfo) throws(1: TalkException e);
1510   -
1511   - string reissueDeviceCredential() throws(1: TalkException e);
1512   -
1513   - string reissueUserTicket(
1514   - 3: i64 expirationTime,
1515   - 4: i32 maxUseCount) throws(1: TalkException e);
1516   -
1517   - void rejectGroupInvitation(
1518   - 1: i32 reqSeq,
1519   - 2: string groupId) throws(1: TalkException e);
1520   -
1521   - void releaseSession() throws(1: TalkException e);
1522   -
1523   - void removeAllMessages(
1524   - 1: i32 seq,
1525   - 2: string lastMessageId) throws(1: TalkException e);
1526   -
1527   - void removeBuddyLocation(
1528   - 2: string mid,
1529   - 3: i32 index) throws(1: TalkException e);
1530   -
1531   - bool removeMessage(
1532   - 2: string messageId) throws(1: TalkException e);
1533   -
1534   - bool removeMessageFromMyHome(
1535   - 2: string messageId) throws(1: TalkException e);
1536   -
1537   - string removeSnsId(
1538   - 2: SnsIdType snsIdType) throws(1: TalkException e);
1539   -
1540   - void report(
1541   - 2: i64 syncOpRevision,
1542   - 3: SyncCategory category,
1543   - 4: string report) throws(1: TalkException e);
1544   -
1545   - list<ContactReportResult> reportContacts(
1546   - 2: i64 syncOpRevision,
1547   - 3: SyncCategory category,
1548   - 4: list<ContactReport> contactReports,
1549   - 5: SyncActionType actionType) throws(1: TalkException e);
1550   -
1551   - void reportGroups(
1552   - 2: i64 syncOpRevision,
1553   - 3: list<Group> groups) throws(1: TalkException e);
1554   -
1555   - void reportProfile(
1556   - 2: i64 syncOpRevision,
1557   - 3: Profile profile) throws(1: TalkException e);
1558   -
1559   - void reportRooms(
1560   - 2: i64 syncOpRevision,
1561   - 3: list<Room> rooms) throws(1: TalkException e);
1562   -
1563   - void reportSettings(
1564   - 2: i64 syncOpRevision,
1565   - 3: Settings settings) throws(1: TalkException e);
1566   -
1567   - void reportSpammer(
1568   - 2: string spammerMid,
1569   - 3: list<SpammerReason> spammerReasons,
1570   - 4: list<string> spamMessageIds) throws(1: TalkException e);
1571   -
1572   - void requestAccountPasswordReset(
1573   - 4: IdentityProvider provider,
1574   - 2: string identifier,
1575   - 5: string locale) throws(1: TalkException e);
1576   -
1577   - EmailConfirmationSession requestEmailConfirmation(
1578   - 2: EmailConfirmation emailConfirmation) throws(1: TalkException e);
1579   -
1580   - void requestIdentityUnbind(
1581   - 4: IdentityProvider provider,
1582   - 2: string identifier) throws(1: TalkException e);
1583   -
1584   - EmailConfirmationSession resendEmailConfirmation(
1585   - 2: string verifier) throws(1: TalkException e);
1586   -
1587   - void resendPinCode(
1588   - 2: string sessionId) throws(1: TalkException e);
1589   -
1590   - void resendPinCodeBySMS(
1591   - 2: string sessionId) throws(1: TalkException e);
1592   -
1593   - void sendChatChecked(
1594   - 1: i32 seq,
1595   - 2: string consumer,
1596   - 3: string lastMessageId) throws(1: TalkException e);
1597   -
1598   - void sendChatRemoved(
1599   - 1: i32 seq,
1600   - 2: string consumer,
1601   - 3: string lastMessageId) throws(1: TalkException e);
1602   -
1603   - map<string, string> sendContentPreviewUpdated(
1604   - 1: i32 esq,
1605   - 2: string messageId,
1606   - 3: list<string> receiverMids) throws(1: TalkException e);
1607   -
1608   - void sendContentReceipt(
1609   - 1: i32 seq,
1610   - 2: string consumer,
1611   - 3: string messageId) throws(1: TalkException e);
1612   -
1613   - void sendDummyPush() throws(1: TalkException e);
1614   -
1615   - Message sendEvent(
1616   - 1: i32 seq,
1617   - 2: Message message) throws(1: TalkException e);
1618   -
1619   - Message sendMessage(
1620   - 1: i32 seq,
1621   - 2: Message message) throws(1: TalkException e);
1622   -
1623   - void sendMessageIgnored(
1624   - 1: i32 seq,
1625   - 2: string consumer,
1626   - 3: list<string> messageIds) throws(1: TalkException e);
1627   -
1628   - void sendMessageReceipt(
1629   - 1: i32 seq,
1630   - 2: string consumer,
1631   - 3: list<string> messageIds) throws(1: TalkException e);
1632   -
1633   - Message sendMessageToMyHome(
1634   - 1: i32 seq,
1635   - 2: Message message) throws(1: TalkException e);
1636   -
1637   - void setBuddyLocation(
1638   - 2: string mid,
1639   - 3: i32 index,
1640   - 4: Geolocation location) throws(1: TalkException e);
1641   -
1642   - void setIdentityCredential(
1643   - 4: IdentityProvider provider,
1644   - 2: string identifier,
1645   - 3: string verifier) throws(1: TalkException e);
1646   -
1647   - void setNotificationsEnabled(
1648   - 1: i32 reqSeq,
1649   - 2: MIDType type,
1650   - 3: string target,
1651   - 4: bool enablement) throws(1: TalkException e);
1652   -
1653   - VerificationSessionData startUpdateVerification(
1654   - 2: string region,
1655   - 3: CarrierCode carrier,
1656   - 4: string phone,
1657   - 5: string udidHash,
1658   - 6: DeviceInfo deviceInfo,
1659   - 7: string networkCode,
1660   - 8: string locale) throws(1: TalkException e);
1661   -
1662   - VerificationSessionData startVerification(
1663   - 2: string region,
1664   - 3: CarrierCode carrier,
1665   - 4: string phone,
1666   - 5: string udidHash,
1667   - 6: DeviceInfo deviceInfo,
1668   - 7: string networkCode,
1669   - 8: string mid,
1670   - 9: string locale) throws(1: TalkException e);
1671   -
1672   - void storeUpdateProfileAttribute(
1673   - 1: i32 seq,
1674   - 2: ProfileAttribute profileAttribute,
1675   - 3: string value) throws(1: TalkException e);
1676   -
1677   - list<SnsFriendContactRegistration> syncContactBySnsIds(
1678   - 1: i32 reqSeq,
1679   - 2: list<SnsFriendModification> modifications) throws(1: TalkException e);
1680   -
1681   - map<string, ContactRegistration> syncContacts(
1682   - 1: i32 reqSeq,
1683   - 2: list<ContactModification> localContacts) throws(1: TalkException e);
1684   -
1685   - Message trySendMessage(
1686   - 1: i32 seq,
1687   - 2: Message message) throws(1: TalkException e);
1688   -
1689   - void unblockContact(
1690   - 1: i32 reqSeq,
1691   - 2: string id) throws(1: TalkException e);
1692   -
1693   - void unblockRecommendation(
1694   - 1: i32 reqSeq,
1695   - 2: string id) throws(1: TalkException e);
1696   -
1697   - string unregisterUserAndDevice() throws(1: TalkException e);
1698   -
1699   - void updateApnsDeviceToken(
1700   - 2: binary apnsDeviceToken) throws(1: TalkException e);
1701   -
1702   - void updateBuddySetting(
1703   - 2: string key,
1704   - 3: string value) throws(1: TalkException e);
1705   -
1706   - void updateC2DMRegistrationId(
1707   - 2: string registrationId) throws(1: TalkException e);
1708   -
1709   - void updateContactSetting(
1710   - 1: i32 reqSeq,
1711   - 2: string mid,
1712   - 3: ContactSetting flag,
1713   - 4: string value) throws(1: TalkException e);
1714   -
1715   - void updateCustomModeSettings(
1716   - 2: CustomMode customMode,
1717   - 3: map<string, string> paramMap) throws(1: TalkException e);
1718   -
1719   - void updateDeviceInfo(
1720   - 2: string deviceUid,
1721   - 3: DeviceInfo deviceInfo) throws(1: TalkException e);
1722   -
1723   - void updateGroup(
1724   - 1: i32 reqSeq,
1725   - 2: Group group) throws(1: TalkException e);
1726   -
1727   - void updateNotificationToken(
1728   - 3: NotificationType type,
1729   - 2: string token) throws(1: TalkException e);
1730   -
1731   - void updateNotificationTokenWithBytes(
1732   - 3: NotificationType type,
1733   - 2: binary token) throws(1: TalkException e);
1734   -
1735   - void updateProfile(
1736   - 1: i32 reqSeq,
1737   - 2: Profile profile) throws(1: TalkException e);
1738   -
1739   - void updateProfileAttribute(
1740   - 1: i32 reqSeq,
1741   - 2: ProfileAttribute attr,
1742   - 3: string value) throws(1: TalkException e);
1743   -
1744   - void updateRegion(
1745   - 2: string region) throws(1: TalkException e);
1746   -
1747   - void updateSettings(
1748   - 1: i32 reqSeq,
1749   - 2: Settings settings) throws(1: TalkException e);
1750   -
1751   - i32 updateSettings2(
1752   - 1: i32 reqSeq,
1753   - 2: Settings settings) throws(1: TalkException e);
1754   -
1755   - void updateSettingsAttribute(
1756   - 1: i32 reqSeq,
1757   - 2: SettingsAttribute attr,
1758   - 3: string value) throws(1: TalkException e);
1759   -
1760   - i32 updateSettingsAttributes(
1761   - 1: i32 reqSeq,
1762   - 2: i32 attrBitset,
1763   - 3: Settings settings) throws(1: TalkException e);
1764   -
1765   - void verifyIdentityCredential(
1766   - 8: IdentityProvider identityProvider,
1767   - 3: string identifier,
1768   - 4: string password) throws(1: TalkException e);