@hansaka02/baileys 1.0.0 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +172 -172
  2. package/WAProto/AICommon/AICommon.d.ts +7102 -5380
  3. package/WAProto/AICommon/AICommon.js +13991 -9169
  4. package/WAProto/AICommon/AICommon.proto +110 -3
  5. package/WAProto/CompanionReg/CompanionReg.d.ts +27 -0
  6. package/WAProto/CompanionReg/CompanionReg.js +114 -0
  7. package/WAProto/CompanionReg/CompanionReg.proto +3 -0
  8. package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +244 -0
  9. package/WAProto/DeviceCapabilities/DeviceCapabilities.js +652 -0
  10. package/WAProto/DeviceCapabilities/DeviceCapabilities.proto +19 -0
  11. package/WAProto/E2E/E2E.d.ts +7234 -1003
  12. package/WAProto/E2E/E2E.js +77193 -51248
  13. package/WAProto/E2E/E2E.proto +68 -12
  14. package/WAProto/HistorySync/HistorySync.d.ts +1195 -75
  15. package/WAProto/HistorySync/HistorySync.js +3375 -178
  16. package/WAProto/HistorySync/HistorySync.proto +3 -3
  17. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +18 -6
  18. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.js +98 -49
  19. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.proto +2 -2
  20. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +7468 -1051
  21. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +75226 -48422
  22. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.proto +6 -0
  23. package/WAProto/StatusAttributions/StatusAttributions.d.ts +5 -2
  24. package/WAProto/StatusAttributions/StatusAttributions.js +21 -0
  25. package/WAProto/StatusAttributions/StatusAttributions.proto +3 -0
  26. package/WAProto/SyncAction/SyncAction.d.ts +2271 -280
  27. package/WAProto/SyncAction/SyncAction.js +9423 -2023
  28. package/WAProto/SyncAction/SyncAction.proto +208 -15
  29. package/WAProto/Wa6/Wa6.d.ts +20 -1
  30. package/WAProto/Wa6/Wa6.js +83 -0
  31. package/WAProto/Wa6/Wa6.proto +3 -0
  32. package/WAProto/Web/Web.d.ts +8207 -1194
  33. package/WAProto/Web/Web.js +92664 -63403
  34. package/WAProto/Web/Web.proto +31 -13
  35. package/lib/Defaults/baileys-version.json +1 -1
  36. package/lib/Socket/messages-recv.js +9 -1
  37. package/lib/Types/MexUpdates.js +1 -0
  38. package/lib/Utils/crypto.js +1 -1
  39. package/lib/Utils/decode-wa-message.js +14 -16
  40. package/lib/Utils/generics.js +63 -16
  41. package/lib/Utils/messages.js +40 -0
  42. package/lib/Utils/process-message.js +336 -24
  43. package/lib/Utils/validate-connection.js +51 -9
  44. package/package.json +19 -19
@@ -50,37 +50,70 @@ export namespace SyncAction {
50
50
  constructor(properties?: SyncAction.IPatchDebugData);
51
51
 
52
52
  /** PatchDebugData currentLthash. */
53
- public currentLthash: Uint8Array;
53
+ public currentLthash?: (Uint8Array|null);
54
54
 
55
55
  /** PatchDebugData newLthash. */
56
- public newLthash: Uint8Array;
56
+ public newLthash?: (Uint8Array|null);
57
57
 
58
58
  /** PatchDebugData patchVersion. */
59
- public patchVersion: Uint8Array;
59
+ public patchVersion?: (Uint8Array|null);
60
60
 
61
61
  /** PatchDebugData collectionName. */
62
- public collectionName: Uint8Array;
62
+ public collectionName?: (Uint8Array|null);
63
63
 
64
64
  /** PatchDebugData firstFourBytesFromAHashOfSnapshotMacKey. */
65
- public firstFourBytesFromAHashOfSnapshotMacKey: Uint8Array;
65
+ public firstFourBytesFromAHashOfSnapshotMacKey?: (Uint8Array|null);
66
66
 
67
67
  /** PatchDebugData newLthashSubtract. */
68
- public newLthashSubtract: Uint8Array;
68
+ public newLthashSubtract?: (Uint8Array|null);
69
69
 
70
70
  /** PatchDebugData numberAdd. */
71
- public numberAdd: number;
71
+ public numberAdd?: (number|null);
72
72
 
73
73
  /** PatchDebugData numberRemove. */
74
- public numberRemove: number;
74
+ public numberRemove?: (number|null);
75
75
 
76
76
  /** PatchDebugData numberOverride. */
77
- public numberOverride: number;
77
+ public numberOverride?: (number|null);
78
78
 
79
79
  /** PatchDebugData senderPlatform. */
80
- public senderPlatform: SyncAction.PatchDebugData.Platform;
80
+ public senderPlatform?: (SyncAction.PatchDebugData.Platform|null);
81
81
 
82
82
  /** PatchDebugData isSenderPrimary. */
83
- public isSenderPrimary: boolean;
83
+ public isSenderPrimary?: (boolean|null);
84
+
85
+ /** PatchDebugData _currentLthash. */
86
+ public _currentLthash?: "currentLthash";
87
+
88
+ /** PatchDebugData _newLthash. */
89
+ public _newLthash?: "newLthash";
90
+
91
+ /** PatchDebugData _patchVersion. */
92
+ public _patchVersion?: "patchVersion";
93
+
94
+ /** PatchDebugData _collectionName. */
95
+ public _collectionName?: "collectionName";
96
+
97
+ /** PatchDebugData _firstFourBytesFromAHashOfSnapshotMacKey. */
98
+ public _firstFourBytesFromAHashOfSnapshotMacKey?: "firstFourBytesFromAHashOfSnapshotMacKey";
99
+
100
+ /** PatchDebugData _newLthashSubtract. */
101
+ public _newLthashSubtract?: "newLthashSubtract";
102
+
103
+ /** PatchDebugData _numberAdd. */
104
+ public _numberAdd?: "numberAdd";
105
+
106
+ /** PatchDebugData _numberRemove. */
107
+ public _numberRemove?: "numberRemove";
108
+
109
+ /** PatchDebugData _numberOverride. */
110
+ public _numberOverride?: "numberOverride";
111
+
112
+ /** PatchDebugData _senderPlatform. */
113
+ public _senderPlatform?: "senderPlatform";
114
+
115
+ /** PatchDebugData _isSenderPrimary. */
116
+ public _isSenderPrimary?: "isSenderPrimary";
84
117
 
85
118
  /**
86
119
  * Creates a new PatchDebugData instance using the specified properties.
@@ -172,7 +205,10 @@ export namespace SyncAction {
172
205
  UWP = 5,
173
206
  DARWIN = 6,
174
207
  IPAD = 7,
175
- WEAROS = 8
208
+ WEAROS = 8,
209
+ WASG = 9,
210
+ WEARM = 10,
211
+ CAPI = 11
176
212
  }
177
213
  }
178
214
 
@@ -202,16 +238,28 @@ export namespace SyncAction {
202
238
  constructor(properties?: SyncAction.ISyncActionData);
203
239
 
204
240
  /** SyncActionData index. */
205
- public index: Uint8Array;
241
+ public index?: (Uint8Array|null);
206
242
 
207
243
  /** SyncActionData value. */
208
244
  public value?: (SyncAction.ISyncActionValue|null);
209
245
 
210
246
  /** SyncActionData padding. */
211
- public padding: Uint8Array;
247
+ public padding?: (Uint8Array|null);
212
248
 
213
249
  /** SyncActionData version. */
214
- public version: number;
250
+ public version?: (number|null);
251
+
252
+ /** SyncActionData _index. */
253
+ public _index?: "index";
254
+
255
+ /** SyncActionData _value. */
256
+ public _value?: "value";
257
+
258
+ /** SyncActionData _padding. */
259
+ public _padding?: "padding";
260
+
261
+ /** SyncActionData _version. */
262
+ public _version?: "version";
215
263
 
216
264
  /**
217
265
  * Creates a new SyncActionData instance using the specified properties.
@@ -309,9 +357,6 @@ export namespace SyncAction {
309
357
  /** SyncActionValue pinAction */
310
358
  pinAction?: (SyncAction.SyncActionValue.IPinAction|null);
311
359
 
312
- /** SyncActionValue securityNotificationSetting */
313
- securityNotificationSetting?: (SyncAction.SyncActionValue.ISecurityNotificationSetting|null);
314
-
315
360
  /** SyncActionValue pushNameSetting */
316
361
  pushNameSetting?: (SyncAction.SyncActionValue.IPushNameSetting|null);
317
362
 
@@ -405,6 +450,9 @@ export namespace SyncAction {
405
450
  /** SyncActionValue callLogAction */
406
451
  callLogAction?: (SyncAction.SyncActionValue.ICallLogAction|null);
407
452
 
453
+ /** SyncActionValue ugcBot */
454
+ ugcBot?: (SyncAction.SyncActionValue.IUGCBot|null);
455
+
408
456
  /** SyncActionValue statusPrivacy */
409
457
  statusPrivacy?: (SyncAction.SyncActionValue.IStatusPrivacyAction|null);
410
458
 
@@ -468,9 +516,6 @@ export namespace SyncAction {
468
516
  /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction */
469
517
  privacySettingChannelsPersonalisedRecommendationAction?: (SyncAction.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
470
518
 
471
- /** SyncActionValue businessBroadcastAssociationAction */
472
- businessBroadcastAssociationAction?: (SyncAction.SyncActionValue.IBusinessBroadcastAssociationAction|null);
473
-
474
519
  /** SyncActionValue detectedOutcomesStatusAction */
475
520
  detectedOutcomesStatusAction?: (SyncAction.SyncActionValue.IDetectedOutcomesStatusAction|null);
476
521
 
@@ -485,6 +530,24 @@ export namespace SyncAction {
485
530
 
486
531
  /** SyncActionValue statusPostOptInNotificationPreferencesAction */
487
532
  statusPostOptInNotificationPreferencesAction?: (SyncAction.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
533
+
534
+ /** SyncActionValue avatarUpdatedAction */
535
+ avatarUpdatedAction?: (SyncAction.SyncActionValue.IAvatarUpdatedAction|null);
536
+
537
+ /** SyncActionValue privateProcessingSettingAction */
538
+ privateProcessingSettingAction?: (SyncAction.SyncActionValue.IPrivateProcessingSettingAction|null);
539
+
540
+ /** SyncActionValue newsletterSavedInterestsAction */
541
+ newsletterSavedInterestsAction?: (SyncAction.SyncActionValue.INewsletterSavedInterestsAction|null);
542
+
543
+ /** SyncActionValue aiThreadRenameAction */
544
+ aiThreadRenameAction?: (SyncAction.SyncActionValue.IAiThreadRenameAction|null);
545
+
546
+ /** SyncActionValue interactiveMessageAction */
547
+ interactiveMessageAction?: (SyncAction.SyncActionValue.IInteractiveMessageAction|null);
548
+
549
+ /** SyncActionValue settingsSyncAction */
550
+ settingsSyncAction?: (SyncAction.SyncActionValue.ISettingsSyncAction|null);
488
551
  }
489
552
 
490
553
  /** Represents a SyncActionValue. */
@@ -497,7 +560,7 @@ export namespace SyncAction {
497
560
  constructor(properties?: SyncAction.ISyncActionValue);
498
561
 
499
562
  /** SyncActionValue timestamp. */
500
- public timestamp: (number|Long);
563
+ public timestamp?: (number|Long|null);
501
564
 
502
565
  /** SyncActionValue starAction. */
503
566
  public starAction?: (SyncAction.SyncActionValue.IStarAction|null);
@@ -511,9 +574,6 @@ export namespace SyncAction {
511
574
  /** SyncActionValue pinAction. */
512
575
  public pinAction?: (SyncAction.SyncActionValue.IPinAction|null);
513
576
 
514
- /** SyncActionValue securityNotificationSetting. */
515
- public securityNotificationSetting?: (SyncAction.SyncActionValue.ISecurityNotificationSetting|null);
516
-
517
577
  /** SyncActionValue pushNameSetting. */
518
578
  public pushNameSetting?: (SyncAction.SyncActionValue.IPushNameSetting|null);
519
579
 
@@ -607,6 +667,9 @@ export namespace SyncAction {
607
667
  /** SyncActionValue callLogAction. */
608
668
  public callLogAction?: (SyncAction.SyncActionValue.ICallLogAction|null);
609
669
 
670
+ /** SyncActionValue ugcBot. */
671
+ public ugcBot?: (SyncAction.SyncActionValue.IUGCBot|null);
672
+
610
673
  /** SyncActionValue statusPrivacy. */
611
674
  public statusPrivacy?: (SyncAction.SyncActionValue.IStatusPrivacyAction|null);
612
675
 
@@ -670,9 +733,6 @@ export namespace SyncAction {
670
733
  /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction. */
671
734
  public privacySettingChannelsPersonalisedRecommendationAction?: (SyncAction.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
672
735
 
673
- /** SyncActionValue businessBroadcastAssociationAction. */
674
- public businessBroadcastAssociationAction?: (SyncAction.SyncActionValue.IBusinessBroadcastAssociationAction|null);
675
-
676
736
  /** SyncActionValue detectedOutcomesStatusAction. */
677
737
  public detectedOutcomesStatusAction?: (SyncAction.SyncActionValue.IDetectedOutcomesStatusAction|null);
678
738
 
@@ -688,6 +748,231 @@ export namespace SyncAction {
688
748
  /** SyncActionValue statusPostOptInNotificationPreferencesAction. */
689
749
  public statusPostOptInNotificationPreferencesAction?: (SyncAction.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
690
750
 
751
+ /** SyncActionValue avatarUpdatedAction. */
752
+ public avatarUpdatedAction?: (SyncAction.SyncActionValue.IAvatarUpdatedAction|null);
753
+
754
+ /** SyncActionValue privateProcessingSettingAction. */
755
+ public privateProcessingSettingAction?: (SyncAction.SyncActionValue.IPrivateProcessingSettingAction|null);
756
+
757
+ /** SyncActionValue newsletterSavedInterestsAction. */
758
+ public newsletterSavedInterestsAction?: (SyncAction.SyncActionValue.INewsletterSavedInterestsAction|null);
759
+
760
+ /** SyncActionValue aiThreadRenameAction. */
761
+ public aiThreadRenameAction?: (SyncAction.SyncActionValue.IAiThreadRenameAction|null);
762
+
763
+ /** SyncActionValue interactiveMessageAction. */
764
+ public interactiveMessageAction?: (SyncAction.SyncActionValue.IInteractiveMessageAction|null);
765
+
766
+ /** SyncActionValue settingsSyncAction. */
767
+ public settingsSyncAction?: (SyncAction.SyncActionValue.ISettingsSyncAction|null);
768
+
769
+ /** SyncActionValue _timestamp. */
770
+ public _timestamp?: "timestamp";
771
+
772
+ /** SyncActionValue _starAction. */
773
+ public _starAction?: "starAction";
774
+
775
+ /** SyncActionValue _contactAction. */
776
+ public _contactAction?: "contactAction";
777
+
778
+ /** SyncActionValue _muteAction. */
779
+ public _muteAction?: "muteAction";
780
+
781
+ /** SyncActionValue _pinAction. */
782
+ public _pinAction?: "pinAction";
783
+
784
+ /** SyncActionValue _pushNameSetting. */
785
+ public _pushNameSetting?: "pushNameSetting";
786
+
787
+ /** SyncActionValue _quickReplyAction. */
788
+ public _quickReplyAction?: "quickReplyAction";
789
+
790
+ /** SyncActionValue _recentEmojiWeightsAction. */
791
+ public _recentEmojiWeightsAction?: "recentEmojiWeightsAction";
792
+
793
+ /** SyncActionValue _labelEditAction. */
794
+ public _labelEditAction?: "labelEditAction";
795
+
796
+ /** SyncActionValue _labelAssociationAction. */
797
+ public _labelAssociationAction?: "labelAssociationAction";
798
+
799
+ /** SyncActionValue _localeSetting. */
800
+ public _localeSetting?: "localeSetting";
801
+
802
+ /** SyncActionValue _archiveChatAction. */
803
+ public _archiveChatAction?: "archiveChatAction";
804
+
805
+ /** SyncActionValue _deleteMessageForMeAction. */
806
+ public _deleteMessageForMeAction?: "deleteMessageForMeAction";
807
+
808
+ /** SyncActionValue _keyExpiration. */
809
+ public _keyExpiration?: "keyExpiration";
810
+
811
+ /** SyncActionValue _markChatAsReadAction. */
812
+ public _markChatAsReadAction?: "markChatAsReadAction";
813
+
814
+ /** SyncActionValue _clearChatAction. */
815
+ public _clearChatAction?: "clearChatAction";
816
+
817
+ /** SyncActionValue _deleteChatAction. */
818
+ public _deleteChatAction?: "deleteChatAction";
819
+
820
+ /** SyncActionValue _unarchiveChatsSetting. */
821
+ public _unarchiveChatsSetting?: "unarchiveChatsSetting";
822
+
823
+ /** SyncActionValue _primaryFeature. */
824
+ public _primaryFeature?: "primaryFeature";
825
+
826
+ /** SyncActionValue _androidUnsupportedActions. */
827
+ public _androidUnsupportedActions?: "androidUnsupportedActions";
828
+
829
+ /** SyncActionValue _agentAction. */
830
+ public _agentAction?: "agentAction";
831
+
832
+ /** SyncActionValue _subscriptionAction. */
833
+ public _subscriptionAction?: "subscriptionAction";
834
+
835
+ /** SyncActionValue _userStatusMuteAction. */
836
+ public _userStatusMuteAction?: "userStatusMuteAction";
837
+
838
+ /** SyncActionValue _timeFormatAction. */
839
+ public _timeFormatAction?: "timeFormatAction";
840
+
841
+ /** SyncActionValue _nuxAction. */
842
+ public _nuxAction?: "nuxAction";
843
+
844
+ /** SyncActionValue _primaryVersionAction. */
845
+ public _primaryVersionAction?: "primaryVersionAction";
846
+
847
+ /** SyncActionValue _stickerAction. */
848
+ public _stickerAction?: "stickerAction";
849
+
850
+ /** SyncActionValue _removeRecentStickerAction. */
851
+ public _removeRecentStickerAction?: "removeRecentStickerAction";
852
+
853
+ /** SyncActionValue _chatAssignment. */
854
+ public _chatAssignment?: "chatAssignment";
855
+
856
+ /** SyncActionValue _chatAssignmentOpenedStatus. */
857
+ public _chatAssignmentOpenedStatus?: "chatAssignmentOpenedStatus";
858
+
859
+ /** SyncActionValue _pnForLidChatAction. */
860
+ public _pnForLidChatAction?: "pnForLidChatAction";
861
+
862
+ /** SyncActionValue _marketingMessageAction. */
863
+ public _marketingMessageAction?: "marketingMessageAction";
864
+
865
+ /** SyncActionValue _marketingMessageBroadcastAction. */
866
+ public _marketingMessageBroadcastAction?: "marketingMessageBroadcastAction";
867
+
868
+ /** SyncActionValue _externalWebBetaAction. */
869
+ public _externalWebBetaAction?: "externalWebBetaAction";
870
+
871
+ /** SyncActionValue _privacySettingRelayAllCalls. */
872
+ public _privacySettingRelayAllCalls?: "privacySettingRelayAllCalls";
873
+
874
+ /** SyncActionValue _callLogAction. */
875
+ public _callLogAction?: "callLogAction";
876
+
877
+ /** SyncActionValue _ugcBot. */
878
+ public _ugcBot?: "ugcBot";
879
+
880
+ /** SyncActionValue _statusPrivacy. */
881
+ public _statusPrivacy?: "statusPrivacy";
882
+
883
+ /** SyncActionValue _botWelcomeRequestAction. */
884
+ public _botWelcomeRequestAction?: "botWelcomeRequestAction";
885
+
886
+ /** SyncActionValue _deleteIndividualCallLog. */
887
+ public _deleteIndividualCallLog?: "deleteIndividualCallLog";
888
+
889
+ /** SyncActionValue _labelReorderingAction. */
890
+ public _labelReorderingAction?: "labelReorderingAction";
891
+
892
+ /** SyncActionValue _paymentInfoAction. */
893
+ public _paymentInfoAction?: "paymentInfoAction";
894
+
895
+ /** SyncActionValue _customPaymentMethodsAction. */
896
+ public _customPaymentMethodsAction?: "customPaymentMethodsAction";
897
+
898
+ /** SyncActionValue _lockChatAction. */
899
+ public _lockChatAction?: "lockChatAction";
900
+
901
+ /** SyncActionValue _chatLockSettings. */
902
+ public _chatLockSettings?: "chatLockSettings";
903
+
904
+ /** SyncActionValue _wamoUserIdentifierAction. */
905
+ public _wamoUserIdentifierAction?: "wamoUserIdentifierAction";
906
+
907
+ /** SyncActionValue _privacySettingDisableLinkPreviewsAction. */
908
+ public _privacySettingDisableLinkPreviewsAction?: "privacySettingDisableLinkPreviewsAction";
909
+
910
+ /** SyncActionValue _deviceCapabilities. */
911
+ public _deviceCapabilities?: "deviceCapabilities";
912
+
913
+ /** SyncActionValue _noteEditAction. */
914
+ public _noteEditAction?: "noteEditAction";
915
+
916
+ /** SyncActionValue _favoritesAction. */
917
+ public _favoritesAction?: "favoritesAction";
918
+
919
+ /** SyncActionValue _merchantPaymentPartnerAction. */
920
+ public _merchantPaymentPartnerAction?: "merchantPaymentPartnerAction";
921
+
922
+ /** SyncActionValue _waffleAccountLinkStateAction. */
923
+ public _waffleAccountLinkStateAction?: "waffleAccountLinkStateAction";
924
+
925
+ /** SyncActionValue _usernameChatStartMode. */
926
+ public _usernameChatStartMode?: "usernameChatStartMode";
927
+
928
+ /** SyncActionValue _notificationActivitySettingAction. */
929
+ public _notificationActivitySettingAction?: "notificationActivitySettingAction";
930
+
931
+ /** SyncActionValue _lidContactAction. */
932
+ public _lidContactAction?: "lidContactAction";
933
+
934
+ /** SyncActionValue _ctwaPerCustomerDataSharingAction. */
935
+ public _ctwaPerCustomerDataSharingAction?: "ctwaPerCustomerDataSharingAction";
936
+
937
+ /** SyncActionValue _paymentTosAction. */
938
+ public _paymentTosAction?: "paymentTosAction";
939
+
940
+ /** SyncActionValue _privacySettingChannelsPersonalisedRecommendationAction. */
941
+ public _privacySettingChannelsPersonalisedRecommendationAction?: "privacySettingChannelsPersonalisedRecommendationAction";
942
+
943
+ /** SyncActionValue _detectedOutcomesStatusAction. */
944
+ public _detectedOutcomesStatusAction?: "detectedOutcomesStatusAction";
945
+
946
+ /** SyncActionValue _maibaAiFeaturesControlAction. */
947
+ public _maibaAiFeaturesControlAction?: "maibaAiFeaturesControlAction";
948
+
949
+ /** SyncActionValue _businessBroadcastListAction. */
950
+ public _businessBroadcastListAction?: "businessBroadcastListAction";
951
+
952
+ /** SyncActionValue _musicUserIdAction. */
953
+ public _musicUserIdAction?: "musicUserIdAction";
954
+
955
+ /** SyncActionValue _statusPostOptInNotificationPreferencesAction. */
956
+ public _statusPostOptInNotificationPreferencesAction?: "statusPostOptInNotificationPreferencesAction";
957
+
958
+ /** SyncActionValue _avatarUpdatedAction. */
959
+ public _avatarUpdatedAction?: "avatarUpdatedAction";
960
+
961
+ /** SyncActionValue _privateProcessingSettingAction. */
962
+ public _privateProcessingSettingAction?: "privateProcessingSettingAction";
963
+
964
+ /** SyncActionValue _newsletterSavedInterestsAction. */
965
+ public _newsletterSavedInterestsAction?: "newsletterSavedInterestsAction";
966
+
967
+ /** SyncActionValue _aiThreadRenameAction. */
968
+ public _aiThreadRenameAction?: "aiThreadRenameAction";
969
+
970
+ /** SyncActionValue _interactiveMessageAction. */
971
+ public _interactiveMessageAction?: "interactiveMessageAction";
972
+
973
+ /** SyncActionValue _settingsSyncAction. */
974
+ public _settingsSyncAction?: "settingsSyncAction";
975
+
691
976
  /**
692
977
  * Creates a new SyncActionValue instance using the specified properties.
693
978
  * @param [properties] Properties to set
@@ -791,13 +1076,22 @@ export namespace SyncAction {
791
1076
  constructor(properties?: SyncAction.SyncActionValue.IAgentAction);
792
1077
 
793
1078
  /** AgentAction name. */
794
- public name: string;
1079
+ public name?: (string|null);
795
1080
 
796
1081
  /** AgentAction deviceID. */
797
- public deviceID: number;
1082
+ public deviceID?: (number|null);
798
1083
 
799
1084
  /** AgentAction isDeleted. */
800
- public isDeleted: boolean;
1085
+ public isDeleted?: (boolean|null);
1086
+
1087
+ /** AgentAction _name. */
1088
+ public _name?: "name";
1089
+
1090
+ /** AgentAction _deviceID. */
1091
+ public _deviceID?: "deviceID";
1092
+
1093
+ /** AgentAction _isDeleted. */
1094
+ public _isDeleted?: "isDeleted";
801
1095
 
802
1096
  /**
803
1097
  * Creates a new AgentAction instance using the specified properties.
@@ -877,6 +1171,106 @@ export namespace SyncAction {
877
1171
  public static getTypeUrl(typeUrlPrefix?: string): string;
878
1172
  }
879
1173
 
1174
+ /** Properties of an AiThreadRenameAction. */
1175
+ interface IAiThreadRenameAction {
1176
+
1177
+ /** AiThreadRenameAction newTitle */
1178
+ newTitle?: (string|null);
1179
+ }
1180
+
1181
+ /** Represents an AiThreadRenameAction. */
1182
+ class AiThreadRenameAction implements IAiThreadRenameAction {
1183
+
1184
+ /**
1185
+ * Constructs a new AiThreadRenameAction.
1186
+ * @param [properties] Properties to set
1187
+ */
1188
+ constructor(properties?: SyncAction.SyncActionValue.IAiThreadRenameAction);
1189
+
1190
+ /** AiThreadRenameAction newTitle. */
1191
+ public newTitle?: (string|null);
1192
+
1193
+ /** AiThreadRenameAction _newTitle. */
1194
+ public _newTitle?: "newTitle";
1195
+
1196
+ /**
1197
+ * Creates a new AiThreadRenameAction instance using the specified properties.
1198
+ * @param [properties] Properties to set
1199
+ * @returns AiThreadRenameAction instance
1200
+ */
1201
+ public static create(properties?: SyncAction.SyncActionValue.IAiThreadRenameAction): SyncAction.SyncActionValue.AiThreadRenameAction;
1202
+
1203
+ /**
1204
+ * Encodes the specified AiThreadRenameAction message. Does not implicitly {@link SyncAction.SyncActionValue.AiThreadRenameAction.verify|verify} messages.
1205
+ * @param message AiThreadRenameAction message or plain object to encode
1206
+ * @param [writer] Writer to encode to
1207
+ * @returns Writer
1208
+ */
1209
+ public static encode(message: SyncAction.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer;
1210
+
1211
+ /**
1212
+ * Encodes the specified AiThreadRenameAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.AiThreadRenameAction.verify|verify} messages.
1213
+ * @param message AiThreadRenameAction message or plain object to encode
1214
+ * @param [writer] Writer to encode to
1215
+ * @returns Writer
1216
+ */
1217
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer;
1218
+
1219
+ /**
1220
+ * Decodes an AiThreadRenameAction message from the specified reader or buffer.
1221
+ * @param reader Reader or buffer to decode from
1222
+ * @param [length] Message length if known beforehand
1223
+ * @returns AiThreadRenameAction
1224
+ * @throws {Error} If the payload is not a reader or valid buffer
1225
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1226
+ */
1227
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.AiThreadRenameAction;
1228
+
1229
+ /**
1230
+ * Decodes an AiThreadRenameAction message from the specified reader or buffer, length delimited.
1231
+ * @param reader Reader or buffer to decode from
1232
+ * @returns AiThreadRenameAction
1233
+ * @throws {Error} If the payload is not a reader or valid buffer
1234
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1235
+ */
1236
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.AiThreadRenameAction;
1237
+
1238
+ /**
1239
+ * Verifies an AiThreadRenameAction message.
1240
+ * @param message Plain object to verify
1241
+ * @returns `null` if valid, otherwise the reason why it is not
1242
+ */
1243
+ public static verify(message: { [k: string]: any }): (string|null);
1244
+
1245
+ /**
1246
+ * Creates an AiThreadRenameAction message from a plain object. Also converts values to their respective internal types.
1247
+ * @param object Plain object
1248
+ * @returns AiThreadRenameAction
1249
+ */
1250
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.AiThreadRenameAction;
1251
+
1252
+ /**
1253
+ * Creates a plain object from an AiThreadRenameAction message. Also converts values to other types if specified.
1254
+ * @param message AiThreadRenameAction
1255
+ * @param [options] Conversion options
1256
+ * @returns Plain object
1257
+ */
1258
+ public static toObject(message: SyncAction.SyncActionValue.AiThreadRenameAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
1259
+
1260
+ /**
1261
+ * Converts this AiThreadRenameAction to JSON.
1262
+ * @returns JSON object
1263
+ */
1264
+ public toJSON(): { [k: string]: any };
1265
+
1266
+ /**
1267
+ * Gets the default type url for AiThreadRenameAction
1268
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1269
+ * @returns The default type url
1270
+ */
1271
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1272
+ }
1273
+
880
1274
  /** Properties of an AndroidUnsupportedActions. */
881
1275
  interface IAndroidUnsupportedActions {
882
1276
 
@@ -894,7 +1288,10 @@ export namespace SyncAction {
894
1288
  constructor(properties?: SyncAction.SyncActionValue.IAndroidUnsupportedActions);
895
1289
 
896
1290
  /** AndroidUnsupportedActions allowed. */
897
- public allowed: boolean;
1291
+ public allowed?: (boolean|null);
1292
+
1293
+ /** AndroidUnsupportedActions _allowed. */
1294
+ public _allowed?: "allowed";
898
1295
 
899
1296
  /**
900
1297
  * Creates a new AndroidUnsupportedActions instance using the specified properties.
@@ -994,11 +1391,17 @@ export namespace SyncAction {
994
1391
  constructor(properties?: SyncAction.SyncActionValue.IArchiveChatAction);
995
1392
 
996
1393
  /** ArchiveChatAction archived. */
997
- public archived: boolean;
1394
+ public archived?: (boolean|null);
998
1395
 
999
1396
  /** ArchiveChatAction messageRange. */
1000
1397
  public messageRange?: (SyncAction.SyncActionValue.ISyncActionMessageRange|null);
1001
1398
 
1399
+ /** ArchiveChatAction _archived. */
1400
+ public _archived?: "archived";
1401
+
1402
+ /** ArchiveChatAction _messageRange. */
1403
+ public _messageRange?: "messageRange";
1404
+
1002
1405
  /**
1003
1406
  * Creates a new ArchiveChatAction instance using the specified properties.
1004
1407
  * @param [properties] Properties to set
@@ -1077,6 +1480,122 @@ export namespace SyncAction {
1077
1480
  public static getTypeUrl(typeUrlPrefix?: string): string;
1078
1481
  }
1079
1482
 
1483
+ /** Properties of an AvatarUpdatedAction. */
1484
+ interface IAvatarUpdatedAction {
1485
+
1486
+ /** AvatarUpdatedAction eventType */
1487
+ eventType?: (SyncAction.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null);
1488
+
1489
+ /** AvatarUpdatedAction recentAvatarStickers */
1490
+ recentAvatarStickers?: (SyncAction.SyncActionValue.IStickerAction[]|null);
1491
+ }
1492
+
1493
+ /** Represents an AvatarUpdatedAction. */
1494
+ class AvatarUpdatedAction implements IAvatarUpdatedAction {
1495
+
1496
+ /**
1497
+ * Constructs a new AvatarUpdatedAction.
1498
+ * @param [properties] Properties to set
1499
+ */
1500
+ constructor(properties?: SyncAction.SyncActionValue.IAvatarUpdatedAction);
1501
+
1502
+ /** AvatarUpdatedAction eventType. */
1503
+ public eventType?: (SyncAction.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null);
1504
+
1505
+ /** AvatarUpdatedAction recentAvatarStickers. */
1506
+ public recentAvatarStickers: SyncAction.SyncActionValue.IStickerAction[];
1507
+
1508
+ /** AvatarUpdatedAction _eventType. */
1509
+ public _eventType?: "eventType";
1510
+
1511
+ /**
1512
+ * Creates a new AvatarUpdatedAction instance using the specified properties.
1513
+ * @param [properties] Properties to set
1514
+ * @returns AvatarUpdatedAction instance
1515
+ */
1516
+ public static create(properties?: SyncAction.SyncActionValue.IAvatarUpdatedAction): SyncAction.SyncActionValue.AvatarUpdatedAction;
1517
+
1518
+ /**
1519
+ * Encodes the specified AvatarUpdatedAction message. Does not implicitly {@link SyncAction.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
1520
+ * @param message AvatarUpdatedAction message or plain object to encode
1521
+ * @param [writer] Writer to encode to
1522
+ * @returns Writer
1523
+ */
1524
+ public static encode(message: SyncAction.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
1525
+
1526
+ /**
1527
+ * Encodes the specified AvatarUpdatedAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
1528
+ * @param message AvatarUpdatedAction message or plain object to encode
1529
+ * @param [writer] Writer to encode to
1530
+ * @returns Writer
1531
+ */
1532
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
1533
+
1534
+ /**
1535
+ * Decodes an AvatarUpdatedAction message from the specified reader or buffer.
1536
+ * @param reader Reader or buffer to decode from
1537
+ * @param [length] Message length if known beforehand
1538
+ * @returns AvatarUpdatedAction
1539
+ * @throws {Error} If the payload is not a reader or valid buffer
1540
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1541
+ */
1542
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.AvatarUpdatedAction;
1543
+
1544
+ /**
1545
+ * Decodes an AvatarUpdatedAction message from the specified reader or buffer, length delimited.
1546
+ * @param reader Reader or buffer to decode from
1547
+ * @returns AvatarUpdatedAction
1548
+ * @throws {Error} If the payload is not a reader or valid buffer
1549
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1550
+ */
1551
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.AvatarUpdatedAction;
1552
+
1553
+ /**
1554
+ * Verifies an AvatarUpdatedAction message.
1555
+ * @param message Plain object to verify
1556
+ * @returns `null` if valid, otherwise the reason why it is not
1557
+ */
1558
+ public static verify(message: { [k: string]: any }): (string|null);
1559
+
1560
+ /**
1561
+ * Creates an AvatarUpdatedAction message from a plain object. Also converts values to their respective internal types.
1562
+ * @param object Plain object
1563
+ * @returns AvatarUpdatedAction
1564
+ */
1565
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.AvatarUpdatedAction;
1566
+
1567
+ /**
1568
+ * Creates a plain object from an AvatarUpdatedAction message. Also converts values to other types if specified.
1569
+ * @param message AvatarUpdatedAction
1570
+ * @param [options] Conversion options
1571
+ * @returns Plain object
1572
+ */
1573
+ public static toObject(message: SyncAction.SyncActionValue.AvatarUpdatedAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
1574
+
1575
+ /**
1576
+ * Converts this AvatarUpdatedAction to JSON.
1577
+ * @returns JSON object
1578
+ */
1579
+ public toJSON(): { [k: string]: any };
1580
+
1581
+ /**
1582
+ * Gets the default type url for AvatarUpdatedAction
1583
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1584
+ * @returns The default type url
1585
+ */
1586
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1587
+ }
1588
+
1589
+ namespace AvatarUpdatedAction {
1590
+
1591
+ /** AvatarEventType enum. */
1592
+ enum AvatarEventType {
1593
+ UPDATED = 0,
1594
+ CREATED = 1,
1595
+ DELETED = 2
1596
+ }
1597
+ }
1598
+
1080
1599
  /** Properties of a BotWelcomeRequestAction. */
1081
1600
  interface IBotWelcomeRequestAction {
1082
1601
 
@@ -1094,7 +1613,10 @@ export namespace SyncAction {
1094
1613
  constructor(properties?: SyncAction.SyncActionValue.IBotWelcomeRequestAction);
1095
1614
 
1096
1615
  /** BotWelcomeRequestAction isSent. */
1097
- public isSent: boolean;
1616
+ public isSent?: (boolean|null);
1617
+
1618
+ /** BotWelcomeRequestAction _isSent. */
1619
+ public _isSent?: "isSent";
1098
1620
 
1099
1621
  /**
1100
1622
  * Creates a new BotWelcomeRequestAction instance using the specified properties.
@@ -1178,7 +1700,7 @@ export namespace SyncAction {
1178
1700
  interface IBroadcastListParticipant {
1179
1701
 
1180
1702
  /** BroadcastListParticipant lidJid */
1181
- lidJid: string;
1703
+ lidJid?: (string|null);
1182
1704
 
1183
1705
  /** BroadcastListParticipant pnJid */
1184
1706
  pnJid?: (string|null);
@@ -1194,10 +1716,16 @@ export namespace SyncAction {
1194
1716
  constructor(properties?: SyncAction.SyncActionValue.IBroadcastListParticipant);
1195
1717
 
1196
1718
  /** BroadcastListParticipant lidJid. */
1197
- public lidJid: string;
1719
+ public lidJid?: (string|null);
1198
1720
 
1199
1721
  /** BroadcastListParticipant pnJid. */
1200
- public pnJid: string;
1722
+ public pnJid?: (string|null);
1723
+
1724
+ /** BroadcastListParticipant _lidJid. */
1725
+ public _lidJid?: "lidJid";
1726
+
1727
+ /** BroadcastListParticipant _pnJid. */
1728
+ public _pnJid?: "pnJid";
1201
1729
 
1202
1730
  /**
1203
1731
  * Creates a new BroadcastListParticipant instance using the specified properties.
@@ -1294,7 +1822,10 @@ export namespace SyncAction {
1294
1822
  constructor(properties?: SyncAction.SyncActionValue.IBusinessBroadcastAssociationAction);
1295
1823
 
1296
1824
  /** BusinessBroadcastAssociationAction deleted. */
1297
- public deleted: boolean;
1825
+ public deleted?: (boolean|null);
1826
+
1827
+ /** BusinessBroadcastAssociationAction _deleted. */
1828
+ public _deleted?: "deleted";
1298
1829
 
1299
1830
  /**
1300
1831
  * Creates a new BusinessBroadcastAssociationAction instance using the specified properties.
@@ -1397,13 +1928,19 @@ export namespace SyncAction {
1397
1928
  constructor(properties?: SyncAction.SyncActionValue.IBusinessBroadcastListAction);
1398
1929
 
1399
1930
  /** BusinessBroadcastListAction deleted. */
1400
- public deleted: boolean;
1931
+ public deleted?: (boolean|null);
1401
1932
 
1402
1933
  /** BusinessBroadcastListAction participants. */
1403
1934
  public participants: SyncAction.SyncActionValue.IBroadcastListParticipant[];
1404
1935
 
1405
1936
  /** BusinessBroadcastListAction listName. */
1406
- public listName: string;
1937
+ public listName?: (string|null);
1938
+
1939
+ /** BusinessBroadcastListAction _deleted. */
1940
+ public _deleted?: "deleted";
1941
+
1942
+ /** BusinessBroadcastListAction _listName. */
1943
+ public _listName?: "listName";
1407
1944
 
1408
1945
  /**
1409
1946
  * Creates a new BusinessBroadcastListAction instance using the specified properties.
@@ -1502,6 +2039,9 @@ export namespace SyncAction {
1502
2039
  /** CallLogAction callLogRecord. */
1503
2040
  public callLogRecord?: (SyncAction.ICallLogRecord|null);
1504
2041
 
2042
+ /** CallLogAction _callLogRecord. */
2043
+ public _callLogRecord?: "callLogRecord";
2044
+
1505
2045
  /**
1506
2046
  * Creates a new CallLogAction instance using the specified properties.
1507
2047
  * @param [properties] Properties to set
@@ -1597,7 +2137,10 @@ export namespace SyncAction {
1597
2137
  constructor(properties?: SyncAction.SyncActionValue.IChatAssignmentAction);
1598
2138
 
1599
2139
  /** ChatAssignmentAction deviceAgentID. */
1600
- public deviceAgentID: string;
2140
+ public deviceAgentID?: (string|null);
2141
+
2142
+ /** ChatAssignmentAction _deviceAgentID. */
2143
+ public _deviceAgentID?: "deviceAgentID";
1601
2144
 
1602
2145
  /**
1603
2146
  * Creates a new ChatAssignmentAction instance using the specified properties.
@@ -1694,7 +2237,10 @@ export namespace SyncAction {
1694
2237
  constructor(properties?: SyncAction.SyncActionValue.IChatAssignmentOpenedStatusAction);
1695
2238
 
1696
2239
  /** ChatAssignmentOpenedStatusAction chatOpened. */
1697
- public chatOpened: boolean;
2240
+ public chatOpened?: (boolean|null);
2241
+
2242
+ /** ChatAssignmentOpenedStatusAction _chatOpened. */
2243
+ public _chatOpened?: "chatOpened";
1698
2244
 
1699
2245
  /**
1700
2246
  * Creates a new ChatAssignmentOpenedStatusAction instance using the specified properties.
@@ -1793,6 +2339,9 @@ export namespace SyncAction {
1793
2339
  /** ClearChatAction messageRange. */
1794
2340
  public messageRange?: (SyncAction.SyncActionValue.ISyncActionMessageRange|null);
1795
2341
 
2342
+ /** ClearChatAction _messageRange. */
2343
+ public _messageRange?: "messageRange";
2344
+
1796
2345
  /**
1797
2346
  * Creates a new ClearChatAction instance using the specified properties.
1798
2347
  * @param [properties] Properties to set
@@ -1903,26 +2452,44 @@ export namespace SyncAction {
1903
2452
  constructor(properties?: SyncAction.SyncActionValue.IContactAction);
1904
2453
 
1905
2454
  /** ContactAction fullName. */
1906
- public fullName: string;
2455
+ public fullName?: (string|null);
1907
2456
 
1908
2457
  /** ContactAction firstName. */
1909
- public firstName: string;
2458
+ public firstName?: (string|null);
1910
2459
 
1911
2460
  /** ContactAction lidJid. */
1912
- public lidJid: string;
2461
+ public lidJid?: (string|null);
1913
2462
 
1914
2463
  /** ContactAction saveOnPrimaryAddressbook. */
1915
- public saveOnPrimaryAddressbook: boolean;
2464
+ public saveOnPrimaryAddressbook?: (boolean|null);
1916
2465
 
1917
2466
  /** ContactAction pnJid. */
1918
- public pnJid: string;
2467
+ public pnJid?: (string|null);
1919
2468
 
1920
2469
  /** ContactAction username. */
1921
- public username: string;
2470
+ public username?: (string|null);
1922
2471
 
1923
- /**
1924
- * Creates a new ContactAction instance using the specified properties.
1925
- * @param [properties] Properties to set
2472
+ /** ContactAction _fullName. */
2473
+ public _fullName?: "fullName";
2474
+
2475
+ /** ContactAction _firstName. */
2476
+ public _firstName?: "firstName";
2477
+
2478
+ /** ContactAction _lidJid. */
2479
+ public _lidJid?: "lidJid";
2480
+
2481
+ /** ContactAction _saveOnPrimaryAddressbook. */
2482
+ public _saveOnPrimaryAddressbook?: "saveOnPrimaryAddressbook";
2483
+
2484
+ /** ContactAction _pnJid. */
2485
+ public _pnJid?: "pnJid";
2486
+
2487
+ /** ContactAction _username. */
2488
+ public _username?: "username";
2489
+
2490
+ /**
2491
+ * Creates a new ContactAction instance using the specified properties.
2492
+ * @param [properties] Properties to set
1926
2493
  * @returns ContactAction instance
1927
2494
  */
1928
2495
  public static create(properties?: SyncAction.SyncActionValue.IContactAction): SyncAction.SyncActionValue.ContactAction;
@@ -2015,7 +2582,10 @@ export namespace SyncAction {
2015
2582
  constructor(properties?: SyncAction.SyncActionValue.ICtwaPerCustomerDataSharingAction);
2016
2583
 
2017
2584
  /** CtwaPerCustomerDataSharingAction isCtwaPerCustomerDataSharingEnabled. */
2018
- public isCtwaPerCustomerDataSharingEnabled: boolean;
2585
+ public isCtwaPerCustomerDataSharingEnabled?: (boolean|null);
2586
+
2587
+ /** CtwaPerCustomerDataSharingAction _isCtwaPerCustomerDataSharingEnabled. */
2588
+ public _isCtwaPerCustomerDataSharingEnabled?: "isCtwaPerCustomerDataSharingEnabled";
2019
2589
 
2020
2590
  /**
2021
2591
  * Creates a new CtwaPerCustomerDataSharingAction instance using the specified properties.
@@ -2099,13 +2669,13 @@ export namespace SyncAction {
2099
2669
  interface ICustomPaymentMethod {
2100
2670
 
2101
2671
  /** CustomPaymentMethod credentialId */
2102
- credentialId: string;
2672
+ credentialId?: (string|null);
2103
2673
 
2104
2674
  /** CustomPaymentMethod country */
2105
- country: string;
2675
+ country?: (string|null);
2106
2676
 
2107
2677
  /** CustomPaymentMethod type */
2108
- type: string;
2678
+ type?: (string|null);
2109
2679
 
2110
2680
  /** CustomPaymentMethod metadata */
2111
2681
  metadata?: (SyncAction.SyncActionValue.ICustomPaymentMethodMetadata[]|null);
@@ -2121,17 +2691,26 @@ export namespace SyncAction {
2121
2691
  constructor(properties?: SyncAction.SyncActionValue.ICustomPaymentMethod);
2122
2692
 
2123
2693
  /** CustomPaymentMethod credentialId. */
2124
- public credentialId: string;
2694
+ public credentialId?: (string|null);
2125
2695
 
2126
2696
  /** CustomPaymentMethod country. */
2127
- public country: string;
2697
+ public country?: (string|null);
2128
2698
 
2129
2699
  /** CustomPaymentMethod type. */
2130
- public type: string;
2700
+ public type?: (string|null);
2131
2701
 
2132
2702
  /** CustomPaymentMethod metadata. */
2133
2703
  public metadata: SyncAction.SyncActionValue.ICustomPaymentMethodMetadata[];
2134
2704
 
2705
+ /** CustomPaymentMethod _credentialId. */
2706
+ public _credentialId?: "credentialId";
2707
+
2708
+ /** CustomPaymentMethod _country. */
2709
+ public _country?: "country";
2710
+
2711
+ /** CustomPaymentMethod _type. */
2712
+ public _type?: "type";
2713
+
2135
2714
  /**
2136
2715
  * Creates a new CustomPaymentMethod instance using the specified properties.
2137
2716
  * @param [properties] Properties to set
@@ -2214,10 +2793,10 @@ export namespace SyncAction {
2214
2793
  interface ICustomPaymentMethodMetadata {
2215
2794
 
2216
2795
  /** CustomPaymentMethodMetadata key */
2217
- key: string;
2796
+ key?: (string|null);
2218
2797
 
2219
2798
  /** CustomPaymentMethodMetadata value */
2220
- value: string;
2799
+ value?: (string|null);
2221
2800
  }
2222
2801
 
2223
2802
  /** Represents a CustomPaymentMethodMetadata. */
@@ -2230,10 +2809,16 @@ export namespace SyncAction {
2230
2809
  constructor(properties?: SyncAction.SyncActionValue.ICustomPaymentMethodMetadata);
2231
2810
 
2232
2811
  /** CustomPaymentMethodMetadata key. */
2233
- public key: string;
2812
+ public key?: (string|null);
2234
2813
 
2235
2814
  /** CustomPaymentMethodMetadata value. */
2236
- public value: string;
2815
+ public value?: (string|null);
2816
+
2817
+ /** CustomPaymentMethodMetadata _key. */
2818
+ public _key?: "key";
2819
+
2820
+ /** CustomPaymentMethodMetadata _value. */
2821
+ public _value?: "value";
2237
2822
 
2238
2823
  /**
2239
2824
  * Creates a new CustomPaymentMethodMetadata instance using the specified properties.
@@ -2429,6 +3014,9 @@ export namespace SyncAction {
2429
3014
  /** DeleteChatAction messageRange. */
2430
3015
  public messageRange?: (SyncAction.SyncActionValue.ISyncActionMessageRange|null);
2431
3016
 
3017
+ /** DeleteChatAction _messageRange. */
3018
+ public _messageRange?: "messageRange";
3019
+
2432
3020
  /**
2433
3021
  * Creates a new DeleteChatAction instance using the specified properties.
2434
3022
  * @param [properties] Properties to set
@@ -2527,10 +3115,16 @@ export namespace SyncAction {
2527
3115
  constructor(properties?: SyncAction.SyncActionValue.IDeleteIndividualCallLogAction);
2528
3116
 
2529
3117
  /** DeleteIndividualCallLogAction peerJid. */
2530
- public peerJid: string;
3118
+ public peerJid?: (string|null);
2531
3119
 
2532
3120
  /** DeleteIndividualCallLogAction isIncoming. */
2533
- public isIncoming: boolean;
3121
+ public isIncoming?: (boolean|null);
3122
+
3123
+ /** DeleteIndividualCallLogAction _peerJid. */
3124
+ public _peerJid?: "peerJid";
3125
+
3126
+ /** DeleteIndividualCallLogAction _isIncoming. */
3127
+ public _isIncoming?: "isIncoming";
2534
3128
 
2535
3129
  /**
2536
3130
  * Creates a new DeleteIndividualCallLogAction instance using the specified properties.
@@ -2630,10 +3224,16 @@ export namespace SyncAction {
2630
3224
  constructor(properties?: SyncAction.SyncActionValue.IDeleteMessageForMeAction);
2631
3225
 
2632
3226
  /** DeleteMessageForMeAction deleteMedia. */
2633
- public deleteMedia: boolean;
3227
+ public deleteMedia?: (boolean|null);
2634
3228
 
2635
3229
  /** DeleteMessageForMeAction messageTimestamp. */
2636
- public messageTimestamp: (number|Long);
3230
+ public messageTimestamp?: (number|Long|null);
3231
+
3232
+ /** DeleteMessageForMeAction _deleteMedia. */
3233
+ public _deleteMedia?: "deleteMedia";
3234
+
3235
+ /** DeleteMessageForMeAction _messageTimestamp. */
3236
+ public _messageTimestamp?: "messageTimestamp";
2637
3237
 
2638
3238
  /**
2639
3239
  * Creates a new DeleteMessageForMeAction instance using the specified properties.
@@ -2730,7 +3330,10 @@ export namespace SyncAction {
2730
3330
  constructor(properties?: SyncAction.SyncActionValue.IDetectedOutcomesStatusAction);
2731
3331
 
2732
3332
  /** DetectedOutcomesStatusAction isEnabled. */
2733
- public isEnabled: boolean;
3333
+ public isEnabled?: (boolean|null);
3334
+
3335
+ /** DetectedOutcomesStatusAction _isEnabled. */
3336
+ public _isEnabled?: "isEnabled";
2734
3337
 
2735
3338
  /**
2736
3339
  * Creates a new DetectedOutcomesStatusAction instance using the specified properties.
@@ -2827,7 +3430,10 @@ export namespace SyncAction {
2827
3430
  constructor(properties?: SyncAction.SyncActionValue.IExternalWebBetaAction);
2828
3431
 
2829
3432
  /** ExternalWebBetaAction isOptIn. */
2830
- public isOptIn: boolean;
3433
+ public isOptIn?: (boolean|null);
3434
+
3435
+ /** ExternalWebBetaAction _isOptIn. */
3436
+ public _isOptIn?: "isOptIn";
2831
3437
 
2832
3438
  /**
2833
3439
  * Creates a new ExternalWebBetaAction instance using the specified properties.
@@ -3023,7 +3629,10 @@ export namespace SyncAction {
3023
3629
  constructor(properties?: SyncAction.SyncActionValue.FavoritesAction.IFavorite);
3024
3630
 
3025
3631
  /** Favorite id. */
3026
- public id: string;
3632
+ public id?: (string|null);
3633
+
3634
+ /** Favorite _id. */
3635
+ public _id?: "id";
3027
3636
 
3028
3637
  /**
3029
3638
  * Creates a new Favorite instance using the specified properties.
@@ -3104,6 +3713,114 @@ export namespace SyncAction {
3104
3713
  }
3105
3714
  }
3106
3715
 
3716
+ /** Properties of an InteractiveMessageAction. */
3717
+ interface IInteractiveMessageAction {
3718
+
3719
+ /** InteractiveMessageAction type */
3720
+ type?: (SyncAction.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode|null);
3721
+ }
3722
+
3723
+ /** Represents an InteractiveMessageAction. */
3724
+ class InteractiveMessageAction implements IInteractiveMessageAction {
3725
+
3726
+ /**
3727
+ * Constructs a new InteractiveMessageAction.
3728
+ * @param [properties] Properties to set
3729
+ */
3730
+ constructor(properties?: SyncAction.SyncActionValue.IInteractiveMessageAction);
3731
+
3732
+ /** InteractiveMessageAction type. */
3733
+ public type?: (SyncAction.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode|null);
3734
+
3735
+ /** InteractiveMessageAction _type. */
3736
+ public _type?: "type";
3737
+
3738
+ /**
3739
+ * Creates a new InteractiveMessageAction instance using the specified properties.
3740
+ * @param [properties] Properties to set
3741
+ * @returns InteractiveMessageAction instance
3742
+ */
3743
+ public static create(properties?: SyncAction.SyncActionValue.IInteractiveMessageAction): SyncAction.SyncActionValue.InteractiveMessageAction;
3744
+
3745
+ /**
3746
+ * Encodes the specified InteractiveMessageAction message. Does not implicitly {@link SyncAction.SyncActionValue.InteractiveMessageAction.verify|verify} messages.
3747
+ * @param message InteractiveMessageAction message or plain object to encode
3748
+ * @param [writer] Writer to encode to
3749
+ * @returns Writer
3750
+ */
3751
+ public static encode(message: SyncAction.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
3752
+
3753
+ /**
3754
+ * Encodes the specified InteractiveMessageAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.InteractiveMessageAction.verify|verify} messages.
3755
+ * @param message InteractiveMessageAction message or plain object to encode
3756
+ * @param [writer] Writer to encode to
3757
+ * @returns Writer
3758
+ */
3759
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
3760
+
3761
+ /**
3762
+ * Decodes an InteractiveMessageAction message from the specified reader or buffer.
3763
+ * @param reader Reader or buffer to decode from
3764
+ * @param [length] Message length if known beforehand
3765
+ * @returns InteractiveMessageAction
3766
+ * @throws {Error} If the payload is not a reader or valid buffer
3767
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3768
+ */
3769
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.InteractiveMessageAction;
3770
+
3771
+ /**
3772
+ * Decodes an InteractiveMessageAction message from the specified reader or buffer, length delimited.
3773
+ * @param reader Reader or buffer to decode from
3774
+ * @returns InteractiveMessageAction
3775
+ * @throws {Error} If the payload is not a reader or valid buffer
3776
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3777
+ */
3778
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.InteractiveMessageAction;
3779
+
3780
+ /**
3781
+ * Verifies an InteractiveMessageAction message.
3782
+ * @param message Plain object to verify
3783
+ * @returns `null` if valid, otherwise the reason why it is not
3784
+ */
3785
+ public static verify(message: { [k: string]: any }): (string|null);
3786
+
3787
+ /**
3788
+ * Creates an InteractiveMessageAction message from a plain object. Also converts values to their respective internal types.
3789
+ * @param object Plain object
3790
+ * @returns InteractiveMessageAction
3791
+ */
3792
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.InteractiveMessageAction;
3793
+
3794
+ /**
3795
+ * Creates a plain object from an InteractiveMessageAction message. Also converts values to other types if specified.
3796
+ * @param message InteractiveMessageAction
3797
+ * @param [options] Conversion options
3798
+ * @returns Plain object
3799
+ */
3800
+ public static toObject(message: SyncAction.SyncActionValue.InteractiveMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3801
+
3802
+ /**
3803
+ * Converts this InteractiveMessageAction to JSON.
3804
+ * @returns JSON object
3805
+ */
3806
+ public toJSON(): { [k: string]: any };
3807
+
3808
+ /**
3809
+ * Gets the default type url for InteractiveMessageAction
3810
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3811
+ * @returns The default type url
3812
+ */
3813
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3814
+ }
3815
+
3816
+ namespace InteractiveMessageAction {
3817
+
3818
+ /** InteractiveMessageActionMode enum. */
3819
+ enum InteractiveMessageActionMode {
3820
+ DISABLE_CTA = 1
3821
+ }
3822
+ }
3823
+
3107
3824
  /** Properties of a KeyExpiration. */
3108
3825
  interface IKeyExpiration {
3109
3826
 
@@ -3121,7 +3838,10 @@ export namespace SyncAction {
3121
3838
  constructor(properties?: SyncAction.SyncActionValue.IKeyExpiration);
3122
3839
 
3123
3840
  /** KeyExpiration expiredKeyEpoch. */
3124
- public expiredKeyEpoch: number;
3841
+ public expiredKeyEpoch?: (number|null);
3842
+
3843
+ /** KeyExpiration _expiredKeyEpoch. */
3844
+ public _expiredKeyEpoch?: "expiredKeyEpoch";
3125
3845
 
3126
3846
  /**
3127
3847
  * Creates a new KeyExpiration instance using the specified properties.
@@ -3218,7 +3938,10 @@ export namespace SyncAction {
3218
3938
  constructor(properties?: SyncAction.SyncActionValue.ILabelAssociationAction);
3219
3939
 
3220
3940
  /** LabelAssociationAction labeled. */
3221
- public labeled: boolean;
3941
+ public labeled?: (boolean|null);
3942
+
3943
+ /** LabelAssociationAction _labeled. */
3944
+ public _labeled?: "labeled";
3222
3945
 
3223
3946
  /**
3224
3947
  * Creates a new LabelAssociationAction instance using the specified properties.
@@ -3324,6 +4047,9 @@ export namespace SyncAction {
3324
4047
 
3325
4048
  /** LabelEditAction isImmutable */
3326
4049
  isImmutable?: (boolean|null);
4050
+
4051
+ /** LabelEditAction muteEndTimeMs */
4052
+ muteEndTimeMs?: (number|Long|null);
3327
4053
  }
3328
4054
 
3329
4055
  /** Represents a LabelEditAction. */
@@ -3336,28 +4062,58 @@ export namespace SyncAction {
3336
4062
  constructor(properties?: SyncAction.SyncActionValue.ILabelEditAction);
3337
4063
 
3338
4064
  /** LabelEditAction name. */
3339
- public name: string;
4065
+ public name?: (string|null);
3340
4066
 
3341
4067
  /** LabelEditAction color. */
3342
- public color: number;
4068
+ public color?: (number|null);
3343
4069
 
3344
4070
  /** LabelEditAction predefinedId. */
3345
- public predefinedId: number;
4071
+ public predefinedId?: (number|null);
3346
4072
 
3347
4073
  /** LabelEditAction deleted. */
3348
- public deleted: boolean;
4074
+ public deleted?: (boolean|null);
3349
4075
 
3350
4076
  /** LabelEditAction orderIndex. */
3351
- public orderIndex: number;
4077
+ public orderIndex?: (number|null);
3352
4078
 
3353
4079
  /** LabelEditAction isActive. */
3354
- public isActive: boolean;
4080
+ public isActive?: (boolean|null);
3355
4081
 
3356
4082
  /** LabelEditAction type. */
3357
- public type: SyncAction.SyncActionValue.LabelEditAction.ListType;
4083
+ public type?: (SyncAction.SyncActionValue.LabelEditAction.ListType|null);
3358
4084
 
3359
4085
  /** LabelEditAction isImmutable. */
3360
- public isImmutable: boolean;
4086
+ public isImmutable?: (boolean|null);
4087
+
4088
+ /** LabelEditAction muteEndTimeMs. */
4089
+ public muteEndTimeMs?: (number|Long|null);
4090
+
4091
+ /** LabelEditAction _name. */
4092
+ public _name?: "name";
4093
+
4094
+ /** LabelEditAction _color. */
4095
+ public _color?: "color";
4096
+
4097
+ /** LabelEditAction _predefinedId. */
4098
+ public _predefinedId?: "predefinedId";
4099
+
4100
+ /** LabelEditAction _deleted. */
4101
+ public _deleted?: "deleted";
4102
+
4103
+ /** LabelEditAction _orderIndex. */
4104
+ public _orderIndex?: "orderIndex";
4105
+
4106
+ /** LabelEditAction _isActive. */
4107
+ public _isActive?: "isActive";
4108
+
4109
+ /** LabelEditAction _type. */
4110
+ public _type?: "type";
4111
+
4112
+ /** LabelEditAction _isImmutable. */
4113
+ public _isImmutable?: "isImmutable";
4114
+
4115
+ /** LabelEditAction _muteEndTimeMs. */
4116
+ public _muteEndTimeMs?: "muteEndTimeMs";
3361
4117
 
3362
4118
  /**
3363
4119
  * Creates a new LabelEditAction instance using the specified properties.
@@ -3448,7 +4204,9 @@ export namespace SyncAction {
3448
4204
  PREDEFINED = 4,
3449
4205
  CUSTOM = 5,
3450
4206
  COMMUNITY = 6,
3451
- SERVER_ASSIGNED = 7
4207
+ SERVER_ASSIGNED = 7,
4208
+ DRAFTED = 8,
4209
+ AI_HANDOFF = 9
3452
4210
  }
3453
4211
  }
3454
4212
 
@@ -3560,9 +4318,6 @@ export namespace SyncAction {
3560
4318
 
3561
4319
  /** LidContactAction username */
3562
4320
  username?: (string|null);
3563
-
3564
- /** LidContactAction saveOnPrimaryAddressbook */
3565
- saveOnPrimaryAddressbook?: (boolean|null);
3566
4321
  }
3567
4322
 
3568
4323
  /** Represents a LidContactAction. */
@@ -3575,16 +4330,22 @@ export namespace SyncAction {
3575
4330
  constructor(properties?: SyncAction.SyncActionValue.ILidContactAction);
3576
4331
 
3577
4332
  /** LidContactAction fullName. */
3578
- public fullName: string;
4333
+ public fullName?: (string|null);
3579
4334
 
3580
4335
  /** LidContactAction firstName. */
3581
- public firstName: string;
4336
+ public firstName?: (string|null);
3582
4337
 
3583
4338
  /** LidContactAction username. */
3584
- public username: string;
4339
+ public username?: (string|null);
4340
+
4341
+ /** LidContactAction _fullName. */
4342
+ public _fullName?: "fullName";
4343
+
4344
+ /** LidContactAction _firstName. */
4345
+ public _firstName?: "firstName";
3585
4346
 
3586
- /** LidContactAction saveOnPrimaryAddressbook. */
3587
- public saveOnPrimaryAddressbook: boolean;
4347
+ /** LidContactAction _username. */
4348
+ public _username?: "username";
3588
4349
 
3589
4350
  /**
3590
4351
  * Creates a new LidContactAction instance using the specified properties.
@@ -3681,7 +4442,10 @@ export namespace SyncAction {
3681
4442
  constructor(properties?: SyncAction.SyncActionValue.ILocaleSetting);
3682
4443
 
3683
4444
  /** LocaleSetting locale. */
3684
- public locale: string;
4445
+ public locale?: (string|null);
4446
+
4447
+ /** LocaleSetting _locale. */
4448
+ public _locale?: "locale";
3685
4449
 
3686
4450
  /**
3687
4451
  * Creates a new LocaleSetting instance using the specified properties.
@@ -3778,7 +4542,10 @@ export namespace SyncAction {
3778
4542
  constructor(properties?: SyncAction.SyncActionValue.ILockChatAction);
3779
4543
 
3780
4544
  /** LockChatAction locked. */
3781
- public locked: boolean;
4545
+ public locked?: (boolean|null);
4546
+
4547
+ /** LockChatAction _locked. */
4548
+ public _locked?: "locked";
3782
4549
 
3783
4550
  /**
3784
4551
  * Creates a new LockChatAction instance using the specified properties.
@@ -3875,7 +4642,10 @@ export namespace SyncAction {
3875
4642
  constructor(properties?: SyncAction.SyncActionValue.IMaibaAIFeaturesControlAction);
3876
4643
 
3877
4644
  /** MaibaAIFeaturesControlAction aiFeatureStatus. */
3878
- public aiFeatureStatus: SyncAction.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus;
4645
+ public aiFeatureStatus?: (SyncAction.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null);
4646
+
4647
+ /** MaibaAIFeaturesControlAction _aiFeatureStatus. */
4648
+ public _aiFeatureStatus?: "aiFeatureStatus";
3879
4649
 
3880
4650
  /**
3881
4651
  * Creates a new MaibaAIFeaturesControlAction instance using the specified properties.
@@ -3985,11 +4755,17 @@ export namespace SyncAction {
3985
4755
  constructor(properties?: SyncAction.SyncActionValue.IMarkChatAsReadAction);
3986
4756
 
3987
4757
  /** MarkChatAsReadAction read. */
3988
- public read: boolean;
4758
+ public read?: (boolean|null);
3989
4759
 
3990
4760
  /** MarkChatAsReadAction messageRange. */
3991
4761
  public messageRange?: (SyncAction.SyncActionValue.ISyncActionMessageRange|null);
3992
4762
 
4763
+ /** MarkChatAsReadAction _read. */
4764
+ public _read?: "read";
4765
+
4766
+ /** MarkChatAsReadAction _messageRange. */
4767
+ public _messageRange?: "messageRange";
4768
+
3993
4769
  /**
3994
4770
  * Creates a new MarkChatAsReadAction instance using the specified properties.
3995
4771
  * @param [properties] Properties to set
@@ -4103,25 +4879,46 @@ export namespace SyncAction {
4103
4879
  constructor(properties?: SyncAction.SyncActionValue.IMarketingMessageAction);
4104
4880
 
4105
4881
  /** MarketingMessageAction name. */
4106
- public name: string;
4882
+ public name?: (string|null);
4107
4883
 
4108
4884
  /** MarketingMessageAction message. */
4109
- public message: string;
4885
+ public message?: (string|null);
4110
4886
 
4111
4887
  /** MarketingMessageAction type. */
4112
- public type: SyncAction.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType;
4888
+ public type?: (SyncAction.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType|null);
4113
4889
 
4114
4890
  /** MarketingMessageAction createdAt. */
4115
- public createdAt: (number|Long);
4891
+ public createdAt?: (number|Long|null);
4116
4892
 
4117
4893
  /** MarketingMessageAction lastSentAt. */
4118
- public lastSentAt: (number|Long);
4894
+ public lastSentAt?: (number|Long|null);
4119
4895
 
4120
4896
  /** MarketingMessageAction isDeleted. */
4121
- public isDeleted: boolean;
4897
+ public isDeleted?: (boolean|null);
4122
4898
 
4123
4899
  /** MarketingMessageAction mediaId. */
4124
- public mediaId: string;
4900
+ public mediaId?: (string|null);
4901
+
4902
+ /** MarketingMessageAction _name. */
4903
+ public _name?: "name";
4904
+
4905
+ /** MarketingMessageAction _message. */
4906
+ public _message?: "message";
4907
+
4908
+ /** MarketingMessageAction _type. */
4909
+ public _type?: "type";
4910
+
4911
+ /** MarketingMessageAction _createdAt. */
4912
+ public _createdAt?: "createdAt";
4913
+
4914
+ /** MarketingMessageAction _lastSentAt. */
4915
+ public _lastSentAt?: "lastSentAt";
4916
+
4917
+ /** MarketingMessageAction _isDeleted. */
4918
+ public _isDeleted?: "isDeleted";
4919
+
4920
+ /** MarketingMessageAction _mediaId. */
4921
+ public _mediaId?: "mediaId";
4125
4922
 
4126
4923
  /**
4127
4924
  * Creates a new MarketingMessageAction instance using the specified properties.
@@ -4226,7 +5023,10 @@ export namespace SyncAction {
4226
5023
  constructor(properties?: SyncAction.SyncActionValue.IMarketingMessageBroadcastAction);
4227
5024
 
4228
5025
  /** MarketingMessageBroadcastAction repliedCount. */
4229
- public repliedCount: number;
5026
+ public repliedCount?: (number|null);
5027
+
5028
+ /** MarketingMessageBroadcastAction _repliedCount. */
5029
+ public _repliedCount?: "repliedCount";
4230
5030
 
4231
5031
  /**
4232
5032
  * Creates a new MarketingMessageBroadcastAction instance using the specified properties.
@@ -4310,10 +5110,10 @@ export namespace SyncAction {
4310
5110
  interface IMerchantPaymentPartnerAction {
4311
5111
 
4312
5112
  /** MerchantPaymentPartnerAction status */
4313
- status: SyncAction.SyncActionValue.MerchantPaymentPartnerAction.Status;
5113
+ status?: (SyncAction.SyncActionValue.MerchantPaymentPartnerAction.Status|null);
4314
5114
 
4315
5115
  /** MerchantPaymentPartnerAction country */
4316
- country: string;
5116
+ country?: (string|null);
4317
5117
 
4318
5118
  /** MerchantPaymentPartnerAction gatewayName */
4319
5119
  gatewayName?: (string|null);
@@ -4332,16 +5132,28 @@ export namespace SyncAction {
4332
5132
  constructor(properties?: SyncAction.SyncActionValue.IMerchantPaymentPartnerAction);
4333
5133
 
4334
5134
  /** MerchantPaymentPartnerAction status. */
4335
- public status: SyncAction.SyncActionValue.MerchantPaymentPartnerAction.Status;
5135
+ public status?: (SyncAction.SyncActionValue.MerchantPaymentPartnerAction.Status|null);
4336
5136
 
4337
5137
  /** MerchantPaymentPartnerAction country. */
4338
- public country: string;
5138
+ public country?: (string|null);
4339
5139
 
4340
5140
  /** MerchantPaymentPartnerAction gatewayName. */
4341
- public gatewayName: string;
5141
+ public gatewayName?: (string|null);
4342
5142
 
4343
5143
  /** MerchantPaymentPartnerAction credentialId. */
4344
- public credentialId: string;
5144
+ public credentialId?: (string|null);
5145
+
5146
+ /** MerchantPaymentPartnerAction _status. */
5147
+ public _status?: "status";
5148
+
5149
+ /** MerchantPaymentPartnerAction _country. */
5150
+ public _country?: "country";
5151
+
5152
+ /** MerchantPaymentPartnerAction _gatewayName. */
5153
+ public _gatewayName?: "gatewayName";
5154
+
5155
+ /** MerchantPaymentPartnerAction _credentialId. */
5156
+ public _credentialId?: "credentialId";
4345
5157
 
4346
5158
  /**
4347
5159
  * Creates a new MerchantPaymentPartnerAction instance using the specified properties.
@@ -4435,6 +5247,9 @@ export namespace SyncAction {
4435
5247
 
4436
5248
  /** MusicUserIdAction musicUserId */
4437
5249
  musicUserId?: (string|null);
5250
+
5251
+ /** MusicUserIdAction musicUserIdMap */
5252
+ musicUserIdMap?: ({ [k: string]: string }|null);
4438
5253
  }
4439
5254
 
4440
5255
  /** Represents a MusicUserIdAction. */
@@ -4447,7 +5262,13 @@ export namespace SyncAction {
4447
5262
  constructor(properties?: SyncAction.SyncActionValue.IMusicUserIdAction);
4448
5263
 
4449
5264
  /** MusicUserIdAction musicUserId. */
4450
- public musicUserId: string;
5265
+ public musicUserId?: (string|null);
5266
+
5267
+ /** MusicUserIdAction musicUserIdMap. */
5268
+ public musicUserIdMap: { [k: string]: string };
5269
+
5270
+ /** MusicUserIdAction _musicUserId. */
5271
+ public _musicUserId?: "musicUserId";
4451
5272
 
4452
5273
  /**
4453
5274
  * Creates a new MusicUserIdAction instance using the specified properties.
@@ -4550,13 +5371,22 @@ export namespace SyncAction {
4550
5371
  constructor(properties?: SyncAction.SyncActionValue.IMuteAction);
4551
5372
 
4552
5373
  /** MuteAction muted. */
4553
- public muted: boolean;
5374
+ public muted?: (boolean|null);
4554
5375
 
4555
5376
  /** MuteAction muteEndTimestamp. */
4556
- public muteEndTimestamp: (number|Long);
5377
+ public muteEndTimestamp?: (number|Long|null);
4557
5378
 
4558
5379
  /** MuteAction autoMuted. */
4559
- public autoMuted: boolean;
5380
+ public autoMuted?: (boolean|null);
5381
+
5382
+ /** MuteAction _muted. */
5383
+ public _muted?: "muted";
5384
+
5385
+ /** MuteAction _muteEndTimestamp. */
5386
+ public _muteEndTimestamp?: "muteEndTimestamp";
5387
+
5388
+ /** MuteAction _autoMuted. */
5389
+ public _autoMuted?: "autoMuted";
4560
5390
 
4561
5391
  /**
4562
5392
  * Creates a new MuteAction instance using the specified properties.
@@ -4636,6 +5466,106 @@ export namespace SyncAction {
4636
5466
  public static getTypeUrl(typeUrlPrefix?: string): string;
4637
5467
  }
4638
5468
 
5469
+ /** Properties of a NewsletterSavedInterestsAction. */
5470
+ interface INewsletterSavedInterestsAction {
5471
+
5472
+ /** NewsletterSavedInterestsAction newsletterSavedInterests */
5473
+ newsletterSavedInterests?: (string|null);
5474
+ }
5475
+
5476
+ /** Represents a NewsletterSavedInterestsAction. */
5477
+ class NewsletterSavedInterestsAction implements INewsletterSavedInterestsAction {
5478
+
5479
+ /**
5480
+ * Constructs a new NewsletterSavedInterestsAction.
5481
+ * @param [properties] Properties to set
5482
+ */
5483
+ constructor(properties?: SyncAction.SyncActionValue.INewsletterSavedInterestsAction);
5484
+
5485
+ /** NewsletterSavedInterestsAction newsletterSavedInterests. */
5486
+ public newsletterSavedInterests?: (string|null);
5487
+
5488
+ /** NewsletterSavedInterestsAction _newsletterSavedInterests. */
5489
+ public _newsletterSavedInterests?: "newsletterSavedInterests";
5490
+
5491
+ /**
5492
+ * Creates a new NewsletterSavedInterestsAction instance using the specified properties.
5493
+ * @param [properties] Properties to set
5494
+ * @returns NewsletterSavedInterestsAction instance
5495
+ */
5496
+ public static create(properties?: SyncAction.SyncActionValue.INewsletterSavedInterestsAction): SyncAction.SyncActionValue.NewsletterSavedInterestsAction;
5497
+
5498
+ /**
5499
+ * Encodes the specified NewsletterSavedInterestsAction message. Does not implicitly {@link SyncAction.SyncActionValue.NewsletterSavedInterestsAction.verify|verify} messages.
5500
+ * @param message NewsletterSavedInterestsAction message or plain object to encode
5501
+ * @param [writer] Writer to encode to
5502
+ * @returns Writer
5503
+ */
5504
+ public static encode(message: SyncAction.SyncActionValue.INewsletterSavedInterestsAction, writer?: $protobuf.Writer): $protobuf.Writer;
5505
+
5506
+ /**
5507
+ * Encodes the specified NewsletterSavedInterestsAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.NewsletterSavedInterestsAction.verify|verify} messages.
5508
+ * @param message NewsletterSavedInterestsAction message or plain object to encode
5509
+ * @param [writer] Writer to encode to
5510
+ * @returns Writer
5511
+ */
5512
+ public static encodeDelimited(message: SyncAction.SyncActionValue.INewsletterSavedInterestsAction, writer?: $protobuf.Writer): $protobuf.Writer;
5513
+
5514
+ /**
5515
+ * Decodes a NewsletterSavedInterestsAction message from the specified reader or buffer.
5516
+ * @param reader Reader or buffer to decode from
5517
+ * @param [length] Message length if known beforehand
5518
+ * @returns NewsletterSavedInterestsAction
5519
+ * @throws {Error} If the payload is not a reader or valid buffer
5520
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5521
+ */
5522
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.NewsletterSavedInterestsAction;
5523
+
5524
+ /**
5525
+ * Decodes a NewsletterSavedInterestsAction message from the specified reader or buffer, length delimited.
5526
+ * @param reader Reader or buffer to decode from
5527
+ * @returns NewsletterSavedInterestsAction
5528
+ * @throws {Error} If the payload is not a reader or valid buffer
5529
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5530
+ */
5531
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.NewsletterSavedInterestsAction;
5532
+
5533
+ /**
5534
+ * Verifies a NewsletterSavedInterestsAction message.
5535
+ * @param message Plain object to verify
5536
+ * @returns `null` if valid, otherwise the reason why it is not
5537
+ */
5538
+ public static verify(message: { [k: string]: any }): (string|null);
5539
+
5540
+ /**
5541
+ * Creates a NewsletterSavedInterestsAction message from a plain object. Also converts values to their respective internal types.
5542
+ * @param object Plain object
5543
+ * @returns NewsletterSavedInterestsAction
5544
+ */
5545
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.NewsletterSavedInterestsAction;
5546
+
5547
+ /**
5548
+ * Creates a plain object from a NewsletterSavedInterestsAction message. Also converts values to other types if specified.
5549
+ * @param message NewsletterSavedInterestsAction
5550
+ * @param [options] Conversion options
5551
+ * @returns Plain object
5552
+ */
5553
+ public static toObject(message: SyncAction.SyncActionValue.NewsletterSavedInterestsAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
5554
+
5555
+ /**
5556
+ * Converts this NewsletterSavedInterestsAction to JSON.
5557
+ * @returns JSON object
5558
+ */
5559
+ public toJSON(): { [k: string]: any };
5560
+
5561
+ /**
5562
+ * Gets the default type url for NewsletterSavedInterestsAction
5563
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5564
+ * @returns The default type url
5565
+ */
5566
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5567
+ }
5568
+
4639
5569
  /** Properties of a NoteEditAction. */
4640
5570
  interface INoteEditAction {
4641
5571
 
@@ -4665,19 +5595,34 @@ export namespace SyncAction {
4665
5595
  constructor(properties?: SyncAction.SyncActionValue.INoteEditAction);
4666
5596
 
4667
5597
  /** NoteEditAction type. */
4668
- public type: SyncAction.SyncActionValue.NoteEditAction.NoteType;
5598
+ public type?: (SyncAction.SyncActionValue.NoteEditAction.NoteType|null);
4669
5599
 
4670
5600
  /** NoteEditAction chatJid. */
4671
- public chatJid: string;
5601
+ public chatJid?: (string|null);
4672
5602
 
4673
5603
  /** NoteEditAction createdAt. */
4674
- public createdAt: (number|Long);
5604
+ public createdAt?: (number|Long|null);
4675
5605
 
4676
5606
  /** NoteEditAction deleted. */
4677
- public deleted: boolean;
5607
+ public deleted?: (boolean|null);
4678
5608
 
4679
5609
  /** NoteEditAction unstructuredContent. */
4680
- public unstructuredContent: string;
5610
+ public unstructuredContent?: (string|null);
5611
+
5612
+ /** NoteEditAction _type. */
5613
+ public _type?: "type";
5614
+
5615
+ /** NoteEditAction _chatJid. */
5616
+ public _chatJid?: "chatJid";
5617
+
5618
+ /** NoteEditAction _createdAt. */
5619
+ public _createdAt?: "createdAt";
5620
+
5621
+ /** NoteEditAction _deleted. */
5622
+ public _deleted?: "deleted";
5623
+
5624
+ /** NoteEditAction _unstructuredContent. */
5625
+ public _unstructuredContent?: "unstructuredContent";
4681
5626
 
4682
5627
  /**
4683
5628
  * Creates a new NoteEditAction instance using the specified properties.
@@ -4783,7 +5728,10 @@ export namespace SyncAction {
4783
5728
  constructor(properties?: SyncAction.SyncActionValue.INotificationActivitySettingAction);
4784
5729
 
4785
5730
  /** NotificationActivitySettingAction notificationActivitySetting. */
4786
- public notificationActivitySetting: SyncAction.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting;
5731
+ public notificationActivitySetting?: (SyncAction.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting|null);
5732
+
5733
+ /** NotificationActivitySettingAction _notificationActivitySetting. */
5734
+ public _notificationActivitySetting?: "notificationActivitySetting";
4787
5735
 
4788
5736
  /**
4789
5737
  * Creates a new NotificationActivitySettingAction instance using the specified properties.
@@ -4891,7 +5839,10 @@ export namespace SyncAction {
4891
5839
  constructor(properties?: SyncAction.SyncActionValue.INuxAction);
4892
5840
 
4893
5841
  /** NuxAction acknowledged. */
4894
- public acknowledged: boolean;
5842
+ public acknowledged?: (boolean|null);
5843
+
5844
+ /** NuxAction _acknowledged. */
5845
+ public _acknowledged?: "acknowledged";
4895
5846
 
4896
5847
  /**
4897
5848
  * Creates a new NuxAction instance using the specified properties.
@@ -4988,7 +5939,10 @@ export namespace SyncAction {
4988
5939
  constructor(properties?: SyncAction.SyncActionValue.IPaymentInfoAction);
4989
5940
 
4990
5941
  /** PaymentInfoAction cpi. */
4991
- public cpi: string;
5942
+ public cpi?: (string|null);
5943
+
5944
+ /** PaymentInfoAction _cpi. */
5945
+ public _cpi?: "cpi";
4992
5946
 
4993
5947
  /**
4994
5948
  * Creates a new PaymentInfoAction instance using the specified properties.
@@ -5072,10 +6026,10 @@ export namespace SyncAction {
5072
6026
  interface IPaymentTosAction {
5073
6027
 
5074
6028
  /** PaymentTosAction paymentNotice */
5075
- paymentNotice: SyncAction.SyncActionValue.PaymentTosAction.PaymentNotice;
6029
+ paymentNotice?: (SyncAction.SyncActionValue.PaymentTosAction.PaymentNotice|null);
5076
6030
 
5077
6031
  /** PaymentTosAction accepted */
5078
- accepted: boolean;
6032
+ accepted?: (boolean|null);
5079
6033
  }
5080
6034
 
5081
6035
  /** Represents a PaymentTosAction. */
@@ -5088,10 +6042,16 @@ export namespace SyncAction {
5088
6042
  constructor(properties?: SyncAction.SyncActionValue.IPaymentTosAction);
5089
6043
 
5090
6044
  /** PaymentTosAction paymentNotice. */
5091
- public paymentNotice: SyncAction.SyncActionValue.PaymentTosAction.PaymentNotice;
6045
+ public paymentNotice?: (SyncAction.SyncActionValue.PaymentTosAction.PaymentNotice|null);
5092
6046
 
5093
6047
  /** PaymentTosAction accepted. */
5094
- public accepted: boolean;
6048
+ public accepted?: (boolean|null);
6049
+
6050
+ /** PaymentTosAction _paymentNotice. */
6051
+ public _paymentNotice?: "paymentNotice";
6052
+
6053
+ /** PaymentTosAction _accepted. */
6054
+ public _accepted?: "accepted";
5095
6055
 
5096
6056
  /**
5097
6057
  * Creates a new PaymentTosAction instance using the specified properties.
@@ -5196,7 +6156,10 @@ export namespace SyncAction {
5196
6156
  constructor(properties?: SyncAction.SyncActionValue.IPinAction);
5197
6157
 
5198
6158
  /** PinAction pinned. */
5199
- public pinned: boolean;
6159
+ public pinned?: (boolean|null);
6160
+
6161
+ /** PinAction _pinned. */
6162
+ public _pinned?: "pinned";
5200
6163
 
5201
6164
  /**
5202
6165
  * Creates a new PinAction instance using the specified properties.
@@ -5293,7 +6256,10 @@ export namespace SyncAction {
5293
6256
  constructor(properties?: SyncAction.SyncActionValue.IPnForLidChatAction);
5294
6257
 
5295
6258
  /** PnForLidChatAction pnJid. */
5296
- public pnJid: string;
6259
+ public pnJid?: (string|null);
6260
+
6261
+ /** PnForLidChatAction _pnJid. */
6262
+ public _pnJid?: "pnJid";
5297
6263
 
5298
6264
  /**
5299
6265
  * Creates a new PnForLidChatAction instance using the specified properties.
@@ -5487,7 +6453,10 @@ export namespace SyncAction {
5487
6453
  constructor(properties?: SyncAction.SyncActionValue.IPrimaryVersionAction);
5488
6454
 
5489
6455
  /** PrimaryVersionAction version. */
5490
- public version: string;
6456
+ public version?: (string|null);
6457
+
6458
+ /** PrimaryVersionAction _version. */
6459
+ public _version?: "version";
5491
6460
 
5492
6461
  /**
5493
6462
  * Creates a new PrimaryVersionAction instance using the specified properties.
@@ -5584,7 +6553,10 @@ export namespace SyncAction {
5584
6553
  constructor(properties?: SyncAction.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction);
5585
6554
 
5586
6555
  /** PrivacySettingChannelsPersonalisedRecommendationAction isUserOptedOut. */
5587
- public isUserOptedOut: boolean;
6556
+ public isUserOptedOut?: (boolean|null);
6557
+
6558
+ /** PrivacySettingChannelsPersonalisedRecommendationAction _isUserOptedOut. */
6559
+ public _isUserOptedOut?: "isUserOptedOut";
5588
6560
 
5589
6561
  /**
5590
6562
  * Creates a new PrivacySettingChannelsPersonalisedRecommendationAction instance using the specified properties.
@@ -5681,7 +6653,10 @@ export namespace SyncAction {
5681
6653
  constructor(properties?: SyncAction.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction);
5682
6654
 
5683
6655
  /** PrivacySettingDisableLinkPreviewsAction isPreviewsDisabled. */
5684
- public isPreviewsDisabled: boolean;
6656
+ public isPreviewsDisabled?: (boolean|null);
6657
+
6658
+ /** PrivacySettingDisableLinkPreviewsAction _isPreviewsDisabled. */
6659
+ public _isPreviewsDisabled?: "isPreviewsDisabled";
5685
6660
 
5686
6661
  /**
5687
6662
  * Creates a new PrivacySettingDisableLinkPreviewsAction instance using the specified properties.
@@ -5778,7 +6753,10 @@ export namespace SyncAction {
5778
6753
  constructor(properties?: SyncAction.SyncActionValue.IPrivacySettingRelayAllCalls);
5779
6754
 
5780
6755
  /** PrivacySettingRelayAllCalls isEnabled. */
5781
- public isEnabled: boolean;
6756
+ public isEnabled?: (boolean|null);
6757
+
6758
+ /** PrivacySettingRelayAllCalls _isEnabled. */
6759
+ public _isEnabled?: "isEnabled";
5782
6760
 
5783
6761
  /**
5784
6762
  * Creates a new PrivacySettingRelayAllCalls instance using the specified properties.
@@ -5858,6 +6836,116 @@ export namespace SyncAction {
5858
6836
  public static getTypeUrl(typeUrlPrefix?: string): string;
5859
6837
  }
5860
6838
 
6839
+ /** Properties of a PrivateProcessingSettingAction. */
6840
+ interface IPrivateProcessingSettingAction {
6841
+
6842
+ /** PrivateProcessingSettingAction privateProcessingStatus */
6843
+ privateProcessingStatus?: (SyncAction.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus|null);
6844
+ }
6845
+
6846
+ /** Represents a PrivateProcessingSettingAction. */
6847
+ class PrivateProcessingSettingAction implements IPrivateProcessingSettingAction {
6848
+
6849
+ /**
6850
+ * Constructs a new PrivateProcessingSettingAction.
6851
+ * @param [properties] Properties to set
6852
+ */
6853
+ constructor(properties?: SyncAction.SyncActionValue.IPrivateProcessingSettingAction);
6854
+
6855
+ /** PrivateProcessingSettingAction privateProcessingStatus. */
6856
+ public privateProcessingStatus?: (SyncAction.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus|null);
6857
+
6858
+ /** PrivateProcessingSettingAction _privateProcessingStatus. */
6859
+ public _privateProcessingStatus?: "privateProcessingStatus";
6860
+
6861
+ /**
6862
+ * Creates a new PrivateProcessingSettingAction instance using the specified properties.
6863
+ * @param [properties] Properties to set
6864
+ * @returns PrivateProcessingSettingAction instance
6865
+ */
6866
+ public static create(properties?: SyncAction.SyncActionValue.IPrivateProcessingSettingAction): SyncAction.SyncActionValue.PrivateProcessingSettingAction;
6867
+
6868
+ /**
6869
+ * Encodes the specified PrivateProcessingSettingAction message. Does not implicitly {@link SyncAction.SyncActionValue.PrivateProcessingSettingAction.verify|verify} messages.
6870
+ * @param message PrivateProcessingSettingAction message or plain object to encode
6871
+ * @param [writer] Writer to encode to
6872
+ * @returns Writer
6873
+ */
6874
+ public static encode(message: SyncAction.SyncActionValue.IPrivateProcessingSettingAction, writer?: $protobuf.Writer): $protobuf.Writer;
6875
+
6876
+ /**
6877
+ * Encodes the specified PrivateProcessingSettingAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.PrivateProcessingSettingAction.verify|verify} messages.
6878
+ * @param message PrivateProcessingSettingAction message or plain object to encode
6879
+ * @param [writer] Writer to encode to
6880
+ * @returns Writer
6881
+ */
6882
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IPrivateProcessingSettingAction, writer?: $protobuf.Writer): $protobuf.Writer;
6883
+
6884
+ /**
6885
+ * Decodes a PrivateProcessingSettingAction message from the specified reader or buffer.
6886
+ * @param reader Reader or buffer to decode from
6887
+ * @param [length] Message length if known beforehand
6888
+ * @returns PrivateProcessingSettingAction
6889
+ * @throws {Error} If the payload is not a reader or valid buffer
6890
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6891
+ */
6892
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.PrivateProcessingSettingAction;
6893
+
6894
+ /**
6895
+ * Decodes a PrivateProcessingSettingAction message from the specified reader or buffer, length delimited.
6896
+ * @param reader Reader or buffer to decode from
6897
+ * @returns PrivateProcessingSettingAction
6898
+ * @throws {Error} If the payload is not a reader or valid buffer
6899
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6900
+ */
6901
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.PrivateProcessingSettingAction;
6902
+
6903
+ /**
6904
+ * Verifies a PrivateProcessingSettingAction message.
6905
+ * @param message Plain object to verify
6906
+ * @returns `null` if valid, otherwise the reason why it is not
6907
+ */
6908
+ public static verify(message: { [k: string]: any }): (string|null);
6909
+
6910
+ /**
6911
+ * Creates a PrivateProcessingSettingAction message from a plain object. Also converts values to their respective internal types.
6912
+ * @param object Plain object
6913
+ * @returns PrivateProcessingSettingAction
6914
+ */
6915
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.PrivateProcessingSettingAction;
6916
+
6917
+ /**
6918
+ * Creates a plain object from a PrivateProcessingSettingAction message. Also converts values to other types if specified.
6919
+ * @param message PrivateProcessingSettingAction
6920
+ * @param [options] Conversion options
6921
+ * @returns Plain object
6922
+ */
6923
+ public static toObject(message: SyncAction.SyncActionValue.PrivateProcessingSettingAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
6924
+
6925
+ /**
6926
+ * Converts this PrivateProcessingSettingAction to JSON.
6927
+ * @returns JSON object
6928
+ */
6929
+ public toJSON(): { [k: string]: any };
6930
+
6931
+ /**
6932
+ * Gets the default type url for PrivateProcessingSettingAction
6933
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6934
+ * @returns The default type url
6935
+ */
6936
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6937
+ }
6938
+
6939
+ namespace PrivateProcessingSettingAction {
6940
+
6941
+ /** PrivateProcessingStatus enum. */
6942
+ enum PrivateProcessingStatus {
6943
+ UNDEFINED = 0,
6944
+ ENABLED = 1,
6945
+ DISABLED = 2
6946
+ }
6947
+ }
6948
+
5861
6949
  /** Properties of a PushNameSetting. */
5862
6950
  interface IPushNameSetting {
5863
6951
 
@@ -5875,7 +6963,10 @@ export namespace SyncAction {
5875
6963
  constructor(properties?: SyncAction.SyncActionValue.IPushNameSetting);
5876
6964
 
5877
6965
  /** PushNameSetting name. */
5878
- public name: string;
6966
+ public name?: (string|null);
6967
+
6968
+ /** PushNameSetting _name. */
6969
+ public _name?: "name";
5879
6970
 
5880
6971
  /**
5881
6972
  * Creates a new PushNameSetting instance using the specified properties.
@@ -5984,19 +7075,31 @@ export namespace SyncAction {
5984
7075
  constructor(properties?: SyncAction.SyncActionValue.IQuickReplyAction);
5985
7076
 
5986
7077
  /** QuickReplyAction shortcut. */
5987
- public shortcut: string;
7078
+ public shortcut?: (string|null);
5988
7079
 
5989
7080
  /** QuickReplyAction message. */
5990
- public message: string;
7081
+ public message?: (string|null);
5991
7082
 
5992
7083
  /** QuickReplyAction keywords. */
5993
7084
  public keywords: string[];
5994
7085
 
5995
7086
  /** QuickReplyAction count. */
5996
- public count: number;
7087
+ public count?: (number|null);
5997
7088
 
5998
7089
  /** QuickReplyAction deleted. */
5999
- public deleted: boolean;
7090
+ public deleted?: (boolean|null);
7091
+
7092
+ /** QuickReplyAction _shortcut. */
7093
+ public _shortcut?: "shortcut";
7094
+
7095
+ /** QuickReplyAction _message. */
7096
+ public _message?: "message";
7097
+
7098
+ /** QuickReplyAction _count. */
7099
+ public _count?: "count";
7100
+
7101
+ /** QuickReplyAction _deleted. */
7102
+ public _deleted?: "deleted";
6000
7103
 
6001
7104
  /**
6002
7105
  * Creates a new QuickReplyAction instance using the specified properties.
@@ -6190,7 +7293,10 @@ export namespace SyncAction {
6190
7293
  constructor(properties?: SyncAction.SyncActionValue.IRemoveRecentStickerAction);
6191
7294
 
6192
7295
  /** RemoveRecentStickerAction lastStickerSentTs. */
6193
- public lastStickerSentTs: (number|Long);
7296
+ public lastStickerSentTs?: (number|Long|null);
7297
+
7298
+ /** RemoveRecentStickerAction _lastStickerSentTs. */
7299
+ public _lastStickerSentTs?: "lastStickerSentTs";
6194
7300
 
6195
7301
  /**
6196
7302
  * Creates a new RemoveRecentStickerAction instance using the specified properties.
@@ -6270,103 +7376,352 @@ export namespace SyncAction {
6270
7376
  public static getTypeUrl(typeUrlPrefix?: string): string;
6271
7377
  }
6272
7378
 
6273
- /** Properties of a SecurityNotificationSetting. */
6274
- interface ISecurityNotificationSetting {
7379
+ /** Properties of a SettingsSyncAction. */
7380
+ interface ISettingsSyncAction {
7381
+
7382
+ /** SettingsSyncAction startAtLogin */
7383
+ startAtLogin?: (boolean|null);
7384
+
7385
+ /** SettingsSyncAction minimizeToTray */
7386
+ minimizeToTray?: (boolean|null);
7387
+
7388
+ /** SettingsSyncAction language */
7389
+ language?: (string|null);
7390
+
7391
+ /** SettingsSyncAction replaceTextWithEmoji */
7392
+ replaceTextWithEmoji?: (boolean|null);
7393
+
7394
+ /** SettingsSyncAction bannerNotificationDisplayMode */
7395
+ bannerNotificationDisplayMode?: (SyncAction.SyncActionValue.SettingsSyncAction.DisplayMode|null);
7396
+
7397
+ /** SettingsSyncAction unreadCounterBadgeDisplayMode */
7398
+ unreadCounterBadgeDisplayMode?: (SyncAction.SyncActionValue.SettingsSyncAction.DisplayMode|null);
7399
+
7400
+ /** SettingsSyncAction isMessagesNotificationEnabled */
7401
+ isMessagesNotificationEnabled?: (boolean|null);
7402
+
7403
+ /** SettingsSyncAction isCallsNotificationEnabled */
7404
+ isCallsNotificationEnabled?: (boolean|null);
7405
+
7406
+ /** SettingsSyncAction isReactionsNotificationEnabled */
7407
+ isReactionsNotificationEnabled?: (boolean|null);
7408
+
7409
+ /** SettingsSyncAction isStatusReactionsNotificationEnabled */
7410
+ isStatusReactionsNotificationEnabled?: (boolean|null);
7411
+
7412
+ /** SettingsSyncAction isTextPreviewForNotificationEnabled */
7413
+ isTextPreviewForNotificationEnabled?: (boolean|null);
7414
+
7415
+ /** SettingsSyncAction defaultNotificationToneId */
7416
+ defaultNotificationToneId?: (number|null);
7417
+
7418
+ /** SettingsSyncAction groupDefaultNotificationToneId */
7419
+ groupDefaultNotificationToneId?: (number|null);
7420
+
7421
+ /** SettingsSyncAction appTheme */
7422
+ appTheme?: (number|null);
7423
+
7424
+ /** SettingsSyncAction wallpaperId */
7425
+ wallpaperId?: (number|null);
6275
7426
 
6276
- /** SecurityNotificationSetting showNotification */
6277
- showNotification?: (boolean|null);
7427
+ /** SettingsSyncAction isDoodleWallpaperEnabled */
7428
+ isDoodleWallpaperEnabled?: (boolean|null);
7429
+
7430
+ /** SettingsSyncAction fontSize */
7431
+ fontSize?: (number|null);
7432
+
7433
+ /** SettingsSyncAction isPhotosAutodownloadEnabled */
7434
+ isPhotosAutodownloadEnabled?: (boolean|null);
7435
+
7436
+ /** SettingsSyncAction isAudiosAutodownloadEnabled */
7437
+ isAudiosAutodownloadEnabled?: (boolean|null);
7438
+
7439
+ /** SettingsSyncAction isVideosAutodownloadEnabled */
7440
+ isVideosAutodownloadEnabled?: (boolean|null);
7441
+
7442
+ /** SettingsSyncAction isDocumentsAutodownloadEnabled */
7443
+ isDocumentsAutodownloadEnabled?: (boolean|null);
7444
+
7445
+ /** SettingsSyncAction disableLinkPreviews */
7446
+ disableLinkPreviews?: (boolean|null);
7447
+
7448
+ /** SettingsSyncAction notificationToneId */
7449
+ notificationToneId?: (number|null);
6278
7450
  }
6279
7451
 
6280
- /** Represents a SecurityNotificationSetting. */
6281
- class SecurityNotificationSetting implements ISecurityNotificationSetting {
7452
+ /** Represents a SettingsSyncAction. */
7453
+ class SettingsSyncAction implements ISettingsSyncAction {
6282
7454
 
6283
7455
  /**
6284
- * Constructs a new SecurityNotificationSetting.
7456
+ * Constructs a new SettingsSyncAction.
6285
7457
  * @param [properties] Properties to set
6286
7458
  */
6287
- constructor(properties?: SyncAction.SyncActionValue.ISecurityNotificationSetting);
7459
+ constructor(properties?: SyncAction.SyncActionValue.ISettingsSyncAction);
7460
+
7461
+ /** SettingsSyncAction startAtLogin. */
7462
+ public startAtLogin?: (boolean|null);
7463
+
7464
+ /** SettingsSyncAction minimizeToTray. */
7465
+ public minimizeToTray?: (boolean|null);
7466
+
7467
+ /** SettingsSyncAction language. */
7468
+ public language?: (string|null);
7469
+
7470
+ /** SettingsSyncAction replaceTextWithEmoji. */
7471
+ public replaceTextWithEmoji?: (boolean|null);
7472
+
7473
+ /** SettingsSyncAction bannerNotificationDisplayMode. */
7474
+ public bannerNotificationDisplayMode?: (SyncAction.SyncActionValue.SettingsSyncAction.DisplayMode|null);
7475
+
7476
+ /** SettingsSyncAction unreadCounterBadgeDisplayMode. */
7477
+ public unreadCounterBadgeDisplayMode?: (SyncAction.SyncActionValue.SettingsSyncAction.DisplayMode|null);
7478
+
7479
+ /** SettingsSyncAction isMessagesNotificationEnabled. */
7480
+ public isMessagesNotificationEnabled?: (boolean|null);
7481
+
7482
+ /** SettingsSyncAction isCallsNotificationEnabled. */
7483
+ public isCallsNotificationEnabled?: (boolean|null);
7484
+
7485
+ /** SettingsSyncAction isReactionsNotificationEnabled. */
7486
+ public isReactionsNotificationEnabled?: (boolean|null);
7487
+
7488
+ /** SettingsSyncAction isStatusReactionsNotificationEnabled. */
7489
+ public isStatusReactionsNotificationEnabled?: (boolean|null);
7490
+
7491
+ /** SettingsSyncAction isTextPreviewForNotificationEnabled. */
7492
+ public isTextPreviewForNotificationEnabled?: (boolean|null);
7493
+
7494
+ /** SettingsSyncAction defaultNotificationToneId. */
7495
+ public defaultNotificationToneId?: (number|null);
7496
+
7497
+ /** SettingsSyncAction groupDefaultNotificationToneId. */
7498
+ public groupDefaultNotificationToneId?: (number|null);
7499
+
7500
+ /** SettingsSyncAction appTheme. */
7501
+ public appTheme?: (number|null);
7502
+
7503
+ /** SettingsSyncAction wallpaperId. */
7504
+ public wallpaperId?: (number|null);
7505
+
7506
+ /** SettingsSyncAction isDoodleWallpaperEnabled. */
7507
+ public isDoodleWallpaperEnabled?: (boolean|null);
7508
+
7509
+ /** SettingsSyncAction fontSize. */
7510
+ public fontSize?: (number|null);
7511
+
7512
+ /** SettingsSyncAction isPhotosAutodownloadEnabled. */
7513
+ public isPhotosAutodownloadEnabled?: (boolean|null);
7514
+
7515
+ /** SettingsSyncAction isAudiosAutodownloadEnabled. */
7516
+ public isAudiosAutodownloadEnabled?: (boolean|null);
7517
+
7518
+ /** SettingsSyncAction isVideosAutodownloadEnabled. */
7519
+ public isVideosAutodownloadEnabled?: (boolean|null);
7520
+
7521
+ /** SettingsSyncAction isDocumentsAutodownloadEnabled. */
7522
+ public isDocumentsAutodownloadEnabled?: (boolean|null);
7523
+
7524
+ /** SettingsSyncAction disableLinkPreviews. */
7525
+ public disableLinkPreviews?: (boolean|null);
7526
+
7527
+ /** SettingsSyncAction notificationToneId. */
7528
+ public notificationToneId?: (number|null);
6288
7529
 
6289
- /** SecurityNotificationSetting showNotification. */
6290
- public showNotification: boolean;
7530
+ /** SettingsSyncAction _startAtLogin. */
7531
+ public _startAtLogin?: "startAtLogin";
7532
+
7533
+ /** SettingsSyncAction _minimizeToTray. */
7534
+ public _minimizeToTray?: "minimizeToTray";
7535
+
7536
+ /** SettingsSyncAction _language. */
7537
+ public _language?: "language";
7538
+
7539
+ /** SettingsSyncAction _replaceTextWithEmoji. */
7540
+ public _replaceTextWithEmoji?: "replaceTextWithEmoji";
7541
+
7542
+ /** SettingsSyncAction _bannerNotificationDisplayMode. */
7543
+ public _bannerNotificationDisplayMode?: "bannerNotificationDisplayMode";
7544
+
7545
+ /** SettingsSyncAction _unreadCounterBadgeDisplayMode. */
7546
+ public _unreadCounterBadgeDisplayMode?: "unreadCounterBadgeDisplayMode";
7547
+
7548
+ /** SettingsSyncAction _isMessagesNotificationEnabled. */
7549
+ public _isMessagesNotificationEnabled?: "isMessagesNotificationEnabled";
7550
+
7551
+ /** SettingsSyncAction _isCallsNotificationEnabled. */
7552
+ public _isCallsNotificationEnabled?: "isCallsNotificationEnabled";
7553
+
7554
+ /** SettingsSyncAction _isReactionsNotificationEnabled. */
7555
+ public _isReactionsNotificationEnabled?: "isReactionsNotificationEnabled";
7556
+
7557
+ /** SettingsSyncAction _isStatusReactionsNotificationEnabled. */
7558
+ public _isStatusReactionsNotificationEnabled?: "isStatusReactionsNotificationEnabled";
7559
+
7560
+ /** SettingsSyncAction _isTextPreviewForNotificationEnabled. */
7561
+ public _isTextPreviewForNotificationEnabled?: "isTextPreviewForNotificationEnabled";
7562
+
7563
+ /** SettingsSyncAction _defaultNotificationToneId. */
7564
+ public _defaultNotificationToneId?: "defaultNotificationToneId";
7565
+
7566
+ /** SettingsSyncAction _groupDefaultNotificationToneId. */
7567
+ public _groupDefaultNotificationToneId?: "groupDefaultNotificationToneId";
7568
+
7569
+ /** SettingsSyncAction _appTheme. */
7570
+ public _appTheme?: "appTheme";
7571
+
7572
+ /** SettingsSyncAction _wallpaperId. */
7573
+ public _wallpaperId?: "wallpaperId";
7574
+
7575
+ /** SettingsSyncAction _isDoodleWallpaperEnabled. */
7576
+ public _isDoodleWallpaperEnabled?: "isDoodleWallpaperEnabled";
7577
+
7578
+ /** SettingsSyncAction _fontSize. */
7579
+ public _fontSize?: "fontSize";
7580
+
7581
+ /** SettingsSyncAction _isPhotosAutodownloadEnabled. */
7582
+ public _isPhotosAutodownloadEnabled?: "isPhotosAutodownloadEnabled";
7583
+
7584
+ /** SettingsSyncAction _isAudiosAutodownloadEnabled. */
7585
+ public _isAudiosAutodownloadEnabled?: "isAudiosAutodownloadEnabled";
7586
+
7587
+ /** SettingsSyncAction _isVideosAutodownloadEnabled. */
7588
+ public _isVideosAutodownloadEnabled?: "isVideosAutodownloadEnabled";
7589
+
7590
+ /** SettingsSyncAction _isDocumentsAutodownloadEnabled. */
7591
+ public _isDocumentsAutodownloadEnabled?: "isDocumentsAutodownloadEnabled";
7592
+
7593
+ /** SettingsSyncAction _disableLinkPreviews. */
7594
+ public _disableLinkPreviews?: "disableLinkPreviews";
7595
+
7596
+ /** SettingsSyncAction _notificationToneId. */
7597
+ public _notificationToneId?: "notificationToneId";
6291
7598
 
6292
7599
  /**
6293
- * Creates a new SecurityNotificationSetting instance using the specified properties.
7600
+ * Creates a new SettingsSyncAction instance using the specified properties.
6294
7601
  * @param [properties] Properties to set
6295
- * @returns SecurityNotificationSetting instance
7602
+ * @returns SettingsSyncAction instance
6296
7603
  */
6297
- public static create(properties?: SyncAction.SyncActionValue.ISecurityNotificationSetting): SyncAction.SyncActionValue.SecurityNotificationSetting;
7604
+ public static create(properties?: SyncAction.SyncActionValue.ISettingsSyncAction): SyncAction.SyncActionValue.SettingsSyncAction;
6298
7605
 
6299
7606
  /**
6300
- * Encodes the specified SecurityNotificationSetting message. Does not implicitly {@link SyncAction.SyncActionValue.SecurityNotificationSetting.verify|verify} messages.
6301
- * @param message SecurityNotificationSetting message or plain object to encode
7607
+ * Encodes the specified SettingsSyncAction message. Does not implicitly {@link SyncAction.SyncActionValue.SettingsSyncAction.verify|verify} messages.
7608
+ * @param message SettingsSyncAction message or plain object to encode
6302
7609
  * @param [writer] Writer to encode to
6303
7610
  * @returns Writer
6304
7611
  */
6305
- public static encode(message: SyncAction.SyncActionValue.ISecurityNotificationSetting, writer?: $protobuf.Writer): $protobuf.Writer;
7612
+ public static encode(message: SyncAction.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer;
6306
7613
 
6307
7614
  /**
6308
- * Encodes the specified SecurityNotificationSetting message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.SecurityNotificationSetting.verify|verify} messages.
6309
- * @param message SecurityNotificationSetting message or plain object to encode
7615
+ * Encodes the specified SettingsSyncAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.SettingsSyncAction.verify|verify} messages.
7616
+ * @param message SettingsSyncAction message or plain object to encode
6310
7617
  * @param [writer] Writer to encode to
6311
7618
  * @returns Writer
6312
7619
  */
6313
- public static encodeDelimited(message: SyncAction.SyncActionValue.ISecurityNotificationSetting, writer?: $protobuf.Writer): $protobuf.Writer;
7620
+ public static encodeDelimited(message: SyncAction.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer;
6314
7621
 
6315
7622
  /**
6316
- * Decodes a SecurityNotificationSetting message from the specified reader or buffer.
7623
+ * Decodes a SettingsSyncAction message from the specified reader or buffer.
6317
7624
  * @param reader Reader or buffer to decode from
6318
7625
  * @param [length] Message length if known beforehand
6319
- * @returns SecurityNotificationSetting
7626
+ * @returns SettingsSyncAction
6320
7627
  * @throws {Error} If the payload is not a reader or valid buffer
6321
7628
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6322
7629
  */
6323
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.SecurityNotificationSetting;
7630
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.SettingsSyncAction;
6324
7631
 
6325
7632
  /**
6326
- * Decodes a SecurityNotificationSetting message from the specified reader or buffer, length delimited.
7633
+ * Decodes a SettingsSyncAction message from the specified reader or buffer, length delimited.
6327
7634
  * @param reader Reader or buffer to decode from
6328
- * @returns SecurityNotificationSetting
7635
+ * @returns SettingsSyncAction
6329
7636
  * @throws {Error} If the payload is not a reader or valid buffer
6330
7637
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
6331
7638
  */
6332
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.SecurityNotificationSetting;
7639
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.SettingsSyncAction;
6333
7640
 
6334
7641
  /**
6335
- * Verifies a SecurityNotificationSetting message.
7642
+ * Verifies a SettingsSyncAction message.
6336
7643
  * @param message Plain object to verify
6337
7644
  * @returns `null` if valid, otherwise the reason why it is not
6338
7645
  */
6339
7646
  public static verify(message: { [k: string]: any }): (string|null);
6340
7647
 
6341
7648
  /**
6342
- * Creates a SecurityNotificationSetting message from a plain object. Also converts values to their respective internal types.
7649
+ * Creates a SettingsSyncAction message from a plain object. Also converts values to their respective internal types.
6343
7650
  * @param object Plain object
6344
- * @returns SecurityNotificationSetting
7651
+ * @returns SettingsSyncAction
6345
7652
  */
6346
- public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.SecurityNotificationSetting;
7653
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.SettingsSyncAction;
6347
7654
 
6348
7655
  /**
6349
- * Creates a plain object from a SecurityNotificationSetting message. Also converts values to other types if specified.
6350
- * @param message SecurityNotificationSetting
7656
+ * Creates a plain object from a SettingsSyncAction message. Also converts values to other types if specified.
7657
+ * @param message SettingsSyncAction
6351
7658
  * @param [options] Conversion options
6352
7659
  * @returns Plain object
6353
7660
  */
6354
- public static toObject(message: SyncAction.SyncActionValue.SecurityNotificationSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
7661
+ public static toObject(message: SyncAction.SyncActionValue.SettingsSyncAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
6355
7662
 
6356
7663
  /**
6357
- * Converts this SecurityNotificationSetting to JSON.
7664
+ * Converts this SettingsSyncAction to JSON.
6358
7665
  * @returns JSON object
6359
7666
  */
6360
7667
  public toJSON(): { [k: string]: any };
6361
7668
 
6362
7669
  /**
6363
- * Gets the default type url for SecurityNotificationSetting
7670
+ * Gets the default type url for SettingsSyncAction
6364
7671
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6365
7672
  * @returns The default type url
6366
7673
  */
6367
7674
  public static getTypeUrl(typeUrlPrefix?: string): string;
6368
7675
  }
6369
7676
 
7677
+ namespace SettingsSyncAction {
7678
+
7679
+ /** DisplayMode enum. */
7680
+ enum DisplayMode {
7681
+ DISPLAY_MODE_UNKNOWN = 0,
7682
+ ALWAYS = 1,
7683
+ NEVER = 2,
7684
+ ONLY_WHEN_APP_IS_OPEN = 3
7685
+ }
7686
+
7687
+ /** SettingKey enum. */
7688
+ enum SettingKey {
7689
+ SETTING_KEY_UNKNOWN = 0,
7690
+ START_AT_LOGIN = 1,
7691
+ MINIMIZE_TO_TRAY = 2,
7692
+ LANGUAGE = 3,
7693
+ REPLACE_TEXT_WITH_EMOJI = 4,
7694
+ BANNER_NOTIFICATION_DISPLAY_MODE = 5,
7695
+ UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6,
7696
+ IS_MESSAGES_NOTIFICATION_ENABLED = 7,
7697
+ IS_CALLS_NOTIFICATION_ENABLED = 8,
7698
+ IS_REACTIONS_NOTIFICATION_ENABLED = 9,
7699
+ IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10,
7700
+ IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11,
7701
+ DEFAULT_NOTIFICATION_TONE_ID = 12,
7702
+ GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13,
7703
+ APP_THEME = 14,
7704
+ WALLPAPER_ID = 15,
7705
+ IS_DOODLE_WALLPAPER_ENABLED = 16,
7706
+ FONT_SIZE = 17,
7707
+ IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18,
7708
+ IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19,
7709
+ IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20,
7710
+ IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21,
7711
+ DISABLE_LINK_PREVIEWS = 22,
7712
+ NOTIFICATION_TONE_ID = 23
7713
+ }
7714
+
7715
+ /** SettingPlatform enum. */
7716
+ enum SettingPlatform {
7717
+ PLATFORM_UNKNOWN = 0,
7718
+ WEB = 1,
7719
+ HYBRID = 2,
7720
+ WINDOWS = 3,
7721
+ MAC = 4
7722
+ }
7723
+ }
7724
+
6370
7725
  /** Properties of a StarAction. */
6371
7726
  interface IStarAction {
6372
7727
 
@@ -6384,7 +7739,10 @@ export namespace SyncAction {
6384
7739
  constructor(properties?: SyncAction.SyncActionValue.IStarAction);
6385
7740
 
6386
7741
  /** StarAction starred. */
6387
- public starred: boolean;
7742
+ public starred?: (boolean|null);
7743
+
7744
+ /** StarAction _starred. */
7745
+ public _starred?: "starred";
6388
7746
 
6389
7747
  /**
6390
7748
  * Creates a new StarAction instance using the specified properties.
@@ -6481,7 +7839,10 @@ export namespace SyncAction {
6481
7839
  constructor(properties?: SyncAction.SyncActionValue.IStatusPostOptInNotificationPreferencesAction);
6482
7840
 
6483
7841
  /** StatusPostOptInNotificationPreferencesAction enabled. */
6484
- public enabled: boolean;
7842
+ public enabled?: (boolean|null);
7843
+
7844
+ /** StatusPostOptInNotificationPreferencesAction _enabled. */
7845
+ public _enabled?: "enabled";
6485
7846
 
6486
7847
  /**
6487
7848
  * Creates a new StatusPostOptInNotificationPreferencesAction instance using the specified properties.
@@ -6581,11 +7942,14 @@ export namespace SyncAction {
6581
7942
  constructor(properties?: SyncAction.SyncActionValue.IStatusPrivacyAction);
6582
7943
 
6583
7944
  /** StatusPrivacyAction mode. */
6584
- public mode: SyncAction.SyncActionValue.StatusPrivacyAction.StatusDistributionMode;
7945
+ public mode?: (SyncAction.SyncActionValue.StatusPrivacyAction.StatusDistributionMode|null);
6585
7946
 
6586
7947
  /** StatusPrivacyAction userJid. */
6587
7948
  public userJid: string[];
6588
7949
 
7950
+ /** StatusPrivacyAction _mode. */
7951
+ public _mode?: "mode";
7952
+
6589
7953
  /**
6590
7954
  * Creates a new StatusPrivacyAction instance using the specified properties.
6591
7955
  * @param [properties] Properties to set
@@ -6670,7 +8034,8 @@ export namespace SyncAction {
6670
8034
  enum StatusDistributionMode {
6671
8035
  ALLOW_LIST = 0,
6672
8036
  DENY_LIST = 1,
6673
- CONTACTS = 2
8037
+ CONTACTS = 2,
8038
+ CLOSE_FRIENDS = 3
6674
8039
  }
6675
8040
  }
6676
8041
 
@@ -6727,43 +8092,82 @@ export namespace SyncAction {
6727
8092
  constructor(properties?: SyncAction.SyncActionValue.IStickerAction);
6728
8093
 
6729
8094
  /** StickerAction url. */
6730
- public url: string;
8095
+ public url?: (string|null);
6731
8096
 
6732
8097
  /** StickerAction fileEncSha256. */
6733
- public fileEncSha256: Uint8Array;
8098
+ public fileEncSha256?: (Uint8Array|null);
6734
8099
 
6735
8100
  /** StickerAction mediaKey. */
6736
- public mediaKey: Uint8Array;
8101
+ public mediaKey?: (Uint8Array|null);
6737
8102
 
6738
8103
  /** StickerAction mimetype. */
6739
- public mimetype: string;
8104
+ public mimetype?: (string|null);
6740
8105
 
6741
8106
  /** StickerAction height. */
6742
- public height: number;
8107
+ public height?: (number|null);
6743
8108
 
6744
8109
  /** StickerAction width. */
6745
- public width: number;
8110
+ public width?: (number|null);
6746
8111
 
6747
8112
  /** StickerAction directPath. */
6748
- public directPath: string;
8113
+ public directPath?: (string|null);
6749
8114
 
6750
8115
  /** StickerAction fileLength. */
6751
- public fileLength: (number|Long);
8116
+ public fileLength?: (number|Long|null);
6752
8117
 
6753
8118
  /** StickerAction isFavorite. */
6754
- public isFavorite: boolean;
8119
+ public isFavorite?: (boolean|null);
6755
8120
 
6756
8121
  /** StickerAction deviceIdHint. */
6757
- public deviceIdHint: number;
8122
+ public deviceIdHint?: (number|null);
6758
8123
 
6759
8124
  /** StickerAction isLottie. */
6760
- public isLottie: boolean;
8125
+ public isLottie?: (boolean|null);
6761
8126
 
6762
8127
  /** StickerAction imageHash. */
6763
- public imageHash: string;
8128
+ public imageHash?: (string|null);
6764
8129
 
6765
8130
  /** StickerAction isAvatarSticker. */
6766
- public isAvatarSticker: boolean;
8131
+ public isAvatarSticker?: (boolean|null);
8132
+
8133
+ /** StickerAction _url. */
8134
+ public _url?: "url";
8135
+
8136
+ /** StickerAction _fileEncSha256. */
8137
+ public _fileEncSha256?: "fileEncSha256";
8138
+
8139
+ /** StickerAction _mediaKey. */
8140
+ public _mediaKey?: "mediaKey";
8141
+
8142
+ /** StickerAction _mimetype. */
8143
+ public _mimetype?: "mimetype";
8144
+
8145
+ /** StickerAction _height. */
8146
+ public _height?: "height";
8147
+
8148
+ /** StickerAction _width. */
8149
+ public _width?: "width";
8150
+
8151
+ /** StickerAction _directPath. */
8152
+ public _directPath?: "directPath";
8153
+
8154
+ /** StickerAction _fileLength. */
8155
+ public _fileLength?: "fileLength";
8156
+
8157
+ /** StickerAction _isFavorite. */
8158
+ public _isFavorite?: "isFavorite";
8159
+
8160
+ /** StickerAction _deviceIdHint. */
8161
+ public _deviceIdHint?: "deviceIdHint";
8162
+
8163
+ /** StickerAction _isLottie. */
8164
+ public _isLottie?: "isLottie";
8165
+
8166
+ /** StickerAction _imageHash. */
8167
+ public _imageHash?: "imageHash";
8168
+
8169
+ /** StickerAction _isAvatarSticker. */
8170
+ public _isAvatarSticker?: "isAvatarSticker";
6767
8171
 
6768
8172
  /**
6769
8173
  * Creates a new StickerAction instance using the specified properties.
@@ -6866,13 +8270,22 @@ export namespace SyncAction {
6866
8270
  constructor(properties?: SyncAction.SyncActionValue.ISubscriptionAction);
6867
8271
 
6868
8272
  /** SubscriptionAction isDeactivated. */
6869
- public isDeactivated: boolean;
8273
+ public isDeactivated?: (boolean|null);
6870
8274
 
6871
8275
  /** SubscriptionAction isAutoRenewing. */
6872
- public isAutoRenewing: boolean;
8276
+ public isAutoRenewing?: (boolean|null);
6873
8277
 
6874
8278
  /** SubscriptionAction expirationDate. */
6875
- public expirationDate: (number|Long);
8279
+ public expirationDate?: (number|Long|null);
8280
+
8281
+ /** SubscriptionAction _isDeactivated. */
8282
+ public _isDeactivated?: "isDeactivated";
8283
+
8284
+ /** SubscriptionAction _isAutoRenewing. */
8285
+ public _isAutoRenewing?: "isAutoRenewing";
8286
+
8287
+ /** SubscriptionAction _expirationDate. */
8288
+ public _expirationDate?: "expirationDate";
6876
8289
 
6877
8290
  /**
6878
8291
  * Creates a new SubscriptionAction instance using the specified properties.
@@ -6975,7 +8388,13 @@ export namespace SyncAction {
6975
8388
  public key?: (Protocol.IMessageKey|null);
6976
8389
 
6977
8390
  /** SyncActionMessage timestamp. */
6978
- public timestamp: (number|Long);
8391
+ public timestamp?: (number|Long|null);
8392
+
8393
+ /** SyncActionMessage _key. */
8394
+ public _key?: "key";
8395
+
8396
+ /** SyncActionMessage _timestamp. */
8397
+ public _timestamp?: "timestamp";
6979
8398
 
6980
8399
  /**
6981
8400
  * Creates a new SyncActionMessage instance using the specified properties.
@@ -7078,14 +8497,20 @@ export namespace SyncAction {
7078
8497
  constructor(properties?: SyncAction.SyncActionValue.ISyncActionMessageRange);
7079
8498
 
7080
8499
  /** SyncActionMessageRange lastMessageTimestamp. */
7081
- public lastMessageTimestamp: (number|Long);
8500
+ public lastMessageTimestamp?: (number|Long|null);
7082
8501
 
7083
8502
  /** SyncActionMessageRange lastSystemMessageTimestamp. */
7084
- public lastSystemMessageTimestamp: (number|Long);
8503
+ public lastSystemMessageTimestamp?: (number|Long|null);
7085
8504
 
7086
8505
  /** SyncActionMessageRange messages. */
7087
8506
  public messages: SyncAction.SyncActionValue.ISyncActionMessage[];
7088
8507
 
8508
+ /** SyncActionMessageRange _lastMessageTimestamp. */
8509
+ public _lastMessageTimestamp?: "lastMessageTimestamp";
8510
+
8511
+ /** SyncActionMessageRange _lastSystemMessageTimestamp. */
8512
+ public _lastSystemMessageTimestamp?: "lastSystemMessageTimestamp";
8513
+
7089
8514
  /**
7090
8515
  * Creates a new SyncActionMessageRange instance using the specified properties.
7091
8516
  * @param [properties] Properties to set
@@ -7110,151 +8535,254 @@ export namespace SyncAction {
7110
8535
  public static encodeDelimited(message: SyncAction.SyncActionValue.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer;
7111
8536
 
7112
8537
  /**
7113
- * Decodes a SyncActionMessageRange message from the specified reader or buffer.
8538
+ * Decodes a SyncActionMessageRange message from the specified reader or buffer.
8539
+ * @param reader Reader or buffer to decode from
8540
+ * @param [length] Message length if known beforehand
8541
+ * @returns SyncActionMessageRange
8542
+ * @throws {Error} If the payload is not a reader or valid buffer
8543
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8544
+ */
8545
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.SyncActionMessageRange;
8546
+
8547
+ /**
8548
+ * Decodes a SyncActionMessageRange message from the specified reader or buffer, length delimited.
8549
+ * @param reader Reader or buffer to decode from
8550
+ * @returns SyncActionMessageRange
8551
+ * @throws {Error} If the payload is not a reader or valid buffer
8552
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8553
+ */
8554
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.SyncActionMessageRange;
8555
+
8556
+ /**
8557
+ * Verifies a SyncActionMessageRange message.
8558
+ * @param message Plain object to verify
8559
+ * @returns `null` if valid, otherwise the reason why it is not
8560
+ */
8561
+ public static verify(message: { [k: string]: any }): (string|null);
8562
+
8563
+ /**
8564
+ * Creates a SyncActionMessageRange message from a plain object. Also converts values to their respective internal types.
8565
+ * @param object Plain object
8566
+ * @returns SyncActionMessageRange
8567
+ */
8568
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.SyncActionMessageRange;
8569
+
8570
+ /**
8571
+ * Creates a plain object from a SyncActionMessageRange message. Also converts values to other types if specified.
8572
+ * @param message SyncActionMessageRange
8573
+ * @param [options] Conversion options
8574
+ * @returns Plain object
8575
+ */
8576
+ public static toObject(message: SyncAction.SyncActionValue.SyncActionMessageRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
8577
+
8578
+ /**
8579
+ * Converts this SyncActionMessageRange to JSON.
8580
+ * @returns JSON object
8581
+ */
8582
+ public toJSON(): { [k: string]: any };
8583
+
8584
+ /**
8585
+ * Gets the default type url for SyncActionMessageRange
8586
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8587
+ * @returns The default type url
8588
+ */
8589
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8590
+ }
8591
+
8592
+ /** Properties of a TimeFormatAction. */
8593
+ interface ITimeFormatAction {
8594
+
8595
+ /** TimeFormatAction isTwentyFourHourFormatEnabled */
8596
+ isTwentyFourHourFormatEnabled?: (boolean|null);
8597
+ }
8598
+
8599
+ /** Represents a TimeFormatAction. */
8600
+ class TimeFormatAction implements ITimeFormatAction {
8601
+
8602
+ /**
8603
+ * Constructs a new TimeFormatAction.
8604
+ * @param [properties] Properties to set
8605
+ */
8606
+ constructor(properties?: SyncAction.SyncActionValue.ITimeFormatAction);
8607
+
8608
+ /** TimeFormatAction isTwentyFourHourFormatEnabled. */
8609
+ public isTwentyFourHourFormatEnabled?: (boolean|null);
8610
+
8611
+ /** TimeFormatAction _isTwentyFourHourFormatEnabled. */
8612
+ public _isTwentyFourHourFormatEnabled?: "isTwentyFourHourFormatEnabled";
8613
+
8614
+ /**
8615
+ * Creates a new TimeFormatAction instance using the specified properties.
8616
+ * @param [properties] Properties to set
8617
+ * @returns TimeFormatAction instance
8618
+ */
8619
+ public static create(properties?: SyncAction.SyncActionValue.ITimeFormatAction): SyncAction.SyncActionValue.TimeFormatAction;
8620
+
8621
+ /**
8622
+ * Encodes the specified TimeFormatAction message. Does not implicitly {@link SyncAction.SyncActionValue.TimeFormatAction.verify|verify} messages.
8623
+ * @param message TimeFormatAction message or plain object to encode
8624
+ * @param [writer] Writer to encode to
8625
+ * @returns Writer
8626
+ */
8627
+ public static encode(message: SyncAction.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer;
8628
+
8629
+ /**
8630
+ * Encodes the specified TimeFormatAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.TimeFormatAction.verify|verify} messages.
8631
+ * @param message TimeFormatAction message or plain object to encode
8632
+ * @param [writer] Writer to encode to
8633
+ * @returns Writer
8634
+ */
8635
+ public static encodeDelimited(message: SyncAction.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer;
8636
+
8637
+ /**
8638
+ * Decodes a TimeFormatAction message from the specified reader or buffer.
7114
8639
  * @param reader Reader or buffer to decode from
7115
8640
  * @param [length] Message length if known beforehand
7116
- * @returns SyncActionMessageRange
8641
+ * @returns TimeFormatAction
7117
8642
  * @throws {Error} If the payload is not a reader or valid buffer
7118
8643
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7119
8644
  */
7120
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.SyncActionMessageRange;
8645
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.TimeFormatAction;
7121
8646
 
7122
8647
  /**
7123
- * Decodes a SyncActionMessageRange message from the specified reader or buffer, length delimited.
8648
+ * Decodes a TimeFormatAction message from the specified reader or buffer, length delimited.
7124
8649
  * @param reader Reader or buffer to decode from
7125
- * @returns SyncActionMessageRange
8650
+ * @returns TimeFormatAction
7126
8651
  * @throws {Error} If the payload is not a reader or valid buffer
7127
8652
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7128
8653
  */
7129
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.SyncActionMessageRange;
8654
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.TimeFormatAction;
7130
8655
 
7131
8656
  /**
7132
- * Verifies a SyncActionMessageRange message.
8657
+ * Verifies a TimeFormatAction message.
7133
8658
  * @param message Plain object to verify
7134
8659
  * @returns `null` if valid, otherwise the reason why it is not
7135
8660
  */
7136
8661
  public static verify(message: { [k: string]: any }): (string|null);
7137
8662
 
7138
8663
  /**
7139
- * Creates a SyncActionMessageRange message from a plain object. Also converts values to their respective internal types.
8664
+ * Creates a TimeFormatAction message from a plain object. Also converts values to their respective internal types.
7140
8665
  * @param object Plain object
7141
- * @returns SyncActionMessageRange
8666
+ * @returns TimeFormatAction
7142
8667
  */
7143
- public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.SyncActionMessageRange;
8668
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.TimeFormatAction;
7144
8669
 
7145
8670
  /**
7146
- * Creates a plain object from a SyncActionMessageRange message. Also converts values to other types if specified.
7147
- * @param message SyncActionMessageRange
8671
+ * Creates a plain object from a TimeFormatAction message. Also converts values to other types if specified.
8672
+ * @param message TimeFormatAction
7148
8673
  * @param [options] Conversion options
7149
8674
  * @returns Plain object
7150
8675
  */
7151
- public static toObject(message: SyncAction.SyncActionValue.SyncActionMessageRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
8676
+ public static toObject(message: SyncAction.SyncActionValue.TimeFormatAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
7152
8677
 
7153
8678
  /**
7154
- * Converts this SyncActionMessageRange to JSON.
8679
+ * Converts this TimeFormatAction to JSON.
7155
8680
  * @returns JSON object
7156
8681
  */
7157
8682
  public toJSON(): { [k: string]: any };
7158
8683
 
7159
8684
  /**
7160
- * Gets the default type url for SyncActionMessageRange
8685
+ * Gets the default type url for TimeFormatAction
7161
8686
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7162
8687
  * @returns The default type url
7163
8688
  */
7164
8689
  public static getTypeUrl(typeUrlPrefix?: string): string;
7165
8690
  }
7166
8691
 
7167
- /** Properties of a TimeFormatAction. */
7168
- interface ITimeFormatAction {
8692
+ /** Properties of a UGCBot. */
8693
+ interface IUGCBot {
7169
8694
 
7170
- /** TimeFormatAction isTwentyFourHourFormatEnabled */
7171
- isTwentyFourHourFormatEnabled?: (boolean|null);
8695
+ /** UGCBot definition */
8696
+ definition?: (Uint8Array|null);
7172
8697
  }
7173
8698
 
7174
- /** Represents a TimeFormatAction. */
7175
- class TimeFormatAction implements ITimeFormatAction {
8699
+ /** Represents a UGCBot. */
8700
+ class UGCBot implements IUGCBot {
7176
8701
 
7177
8702
  /**
7178
- * Constructs a new TimeFormatAction.
8703
+ * Constructs a new UGCBot.
7179
8704
  * @param [properties] Properties to set
7180
8705
  */
7181
- constructor(properties?: SyncAction.SyncActionValue.ITimeFormatAction);
8706
+ constructor(properties?: SyncAction.SyncActionValue.IUGCBot);
7182
8707
 
7183
- /** TimeFormatAction isTwentyFourHourFormatEnabled. */
7184
- public isTwentyFourHourFormatEnabled: boolean;
8708
+ /** UGCBot definition. */
8709
+ public definition?: (Uint8Array|null);
8710
+
8711
+ /** UGCBot _definition. */
8712
+ public _definition?: "definition";
7185
8713
 
7186
8714
  /**
7187
- * Creates a new TimeFormatAction instance using the specified properties.
8715
+ * Creates a new UGCBot instance using the specified properties.
7188
8716
  * @param [properties] Properties to set
7189
- * @returns TimeFormatAction instance
8717
+ * @returns UGCBot instance
7190
8718
  */
7191
- public static create(properties?: SyncAction.SyncActionValue.ITimeFormatAction): SyncAction.SyncActionValue.TimeFormatAction;
8719
+ public static create(properties?: SyncAction.SyncActionValue.IUGCBot): SyncAction.SyncActionValue.UGCBot;
7192
8720
 
7193
8721
  /**
7194
- * Encodes the specified TimeFormatAction message. Does not implicitly {@link SyncAction.SyncActionValue.TimeFormatAction.verify|verify} messages.
7195
- * @param message TimeFormatAction message or plain object to encode
8722
+ * Encodes the specified UGCBot message. Does not implicitly {@link SyncAction.SyncActionValue.UGCBot.verify|verify} messages.
8723
+ * @param message UGCBot message or plain object to encode
7196
8724
  * @param [writer] Writer to encode to
7197
8725
  * @returns Writer
7198
8726
  */
7199
- public static encode(message: SyncAction.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer;
8727
+ public static encode(message: SyncAction.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer;
7200
8728
 
7201
8729
  /**
7202
- * Encodes the specified TimeFormatAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.TimeFormatAction.verify|verify} messages.
7203
- * @param message TimeFormatAction message or plain object to encode
8730
+ * Encodes the specified UGCBot message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.UGCBot.verify|verify} messages.
8731
+ * @param message UGCBot message or plain object to encode
7204
8732
  * @param [writer] Writer to encode to
7205
8733
  * @returns Writer
7206
8734
  */
7207
- public static encodeDelimited(message: SyncAction.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer;
8735
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer;
7208
8736
 
7209
8737
  /**
7210
- * Decodes a TimeFormatAction message from the specified reader or buffer.
8738
+ * Decodes a UGCBot message from the specified reader or buffer.
7211
8739
  * @param reader Reader or buffer to decode from
7212
8740
  * @param [length] Message length if known beforehand
7213
- * @returns TimeFormatAction
8741
+ * @returns UGCBot
7214
8742
  * @throws {Error} If the payload is not a reader or valid buffer
7215
8743
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7216
8744
  */
7217
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.TimeFormatAction;
8745
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.UGCBot;
7218
8746
 
7219
8747
  /**
7220
- * Decodes a TimeFormatAction message from the specified reader or buffer, length delimited.
8748
+ * Decodes a UGCBot message from the specified reader or buffer, length delimited.
7221
8749
  * @param reader Reader or buffer to decode from
7222
- * @returns TimeFormatAction
8750
+ * @returns UGCBot
7223
8751
  * @throws {Error} If the payload is not a reader or valid buffer
7224
8752
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
7225
8753
  */
7226
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.TimeFormatAction;
8754
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.UGCBot;
7227
8755
 
7228
8756
  /**
7229
- * Verifies a TimeFormatAction message.
8757
+ * Verifies a UGCBot message.
7230
8758
  * @param message Plain object to verify
7231
8759
  * @returns `null` if valid, otherwise the reason why it is not
7232
8760
  */
7233
8761
  public static verify(message: { [k: string]: any }): (string|null);
7234
8762
 
7235
8763
  /**
7236
- * Creates a TimeFormatAction message from a plain object. Also converts values to their respective internal types.
8764
+ * Creates a UGCBot message from a plain object. Also converts values to their respective internal types.
7237
8765
  * @param object Plain object
7238
- * @returns TimeFormatAction
8766
+ * @returns UGCBot
7239
8767
  */
7240
- public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.TimeFormatAction;
8768
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.UGCBot;
7241
8769
 
7242
8770
  /**
7243
- * Creates a plain object from a TimeFormatAction message. Also converts values to other types if specified.
7244
- * @param message TimeFormatAction
8771
+ * Creates a plain object from a UGCBot message. Also converts values to other types if specified.
8772
+ * @param message UGCBot
7245
8773
  * @param [options] Conversion options
7246
8774
  * @returns Plain object
7247
8775
  */
7248
- public static toObject(message: SyncAction.SyncActionValue.TimeFormatAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
8776
+ public static toObject(message: SyncAction.SyncActionValue.UGCBot, options?: $protobuf.IConversionOptions): { [k: string]: any };
7249
8777
 
7250
8778
  /**
7251
- * Converts this TimeFormatAction to JSON.
8779
+ * Converts this UGCBot to JSON.
7252
8780
  * @returns JSON object
7253
8781
  */
7254
8782
  public toJSON(): { [k: string]: any };
7255
8783
 
7256
8784
  /**
7257
- * Gets the default type url for TimeFormatAction
8785
+ * Gets the default type url for UGCBot
7258
8786
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7259
8787
  * @returns The default type url
7260
8788
  */
@@ -7278,7 +8806,10 @@ export namespace SyncAction {
7278
8806
  constructor(properties?: SyncAction.SyncActionValue.IUnarchiveChatsSetting);
7279
8807
 
7280
8808
  /** UnarchiveChatsSetting unarchiveChats. */
7281
- public unarchiveChats: boolean;
8809
+ public unarchiveChats?: (boolean|null);
8810
+
8811
+ /** UnarchiveChatsSetting _unarchiveChats. */
8812
+ public _unarchiveChats?: "unarchiveChats";
7282
8813
 
7283
8814
  /**
7284
8815
  * Creates a new UnarchiveChatsSetting instance using the specified properties.
@@ -7375,7 +8906,10 @@ export namespace SyncAction {
7375
8906
  constructor(properties?: SyncAction.SyncActionValue.IUserStatusMuteAction);
7376
8907
 
7377
8908
  /** UserStatusMuteAction muted. */
7378
- public muted: boolean;
8909
+ public muted?: (boolean|null);
8910
+
8911
+ /** UserStatusMuteAction _muted. */
8912
+ public _muted?: "muted";
7379
8913
 
7380
8914
  /**
7381
8915
  * Creates a new UserStatusMuteAction instance using the specified properties.
@@ -7472,7 +9006,10 @@ export namespace SyncAction {
7472
9006
  constructor(properties?: SyncAction.SyncActionValue.IUsernameChatStartModeAction);
7473
9007
 
7474
9008
  /** UsernameChatStartModeAction chatStartMode. */
7475
- public chatStartMode: SyncAction.SyncActionValue.UsernameChatStartModeAction.ChatStartMode;
9009
+ public chatStartMode?: (SyncAction.SyncActionValue.UsernameChatStartModeAction.ChatStartMode|null);
9010
+
9011
+ /** UsernameChatStartModeAction _chatStartMode. */
9012
+ public _chatStartMode?: "chatStartMode";
7476
9013
 
7477
9014
  /**
7478
9015
  * Creates a new UsernameChatStartModeAction instance using the specified properties.
@@ -7578,7 +9115,10 @@ export namespace SyncAction {
7578
9115
  constructor(properties?: SyncAction.SyncActionValue.IWaffleAccountLinkStateAction);
7579
9116
 
7580
9117
  /** WaffleAccountLinkStateAction linkState. */
7581
- public linkState: SyncAction.SyncActionValue.WaffleAccountLinkStateAction.AccountLinkState;
9118
+ public linkState?: (SyncAction.SyncActionValue.WaffleAccountLinkStateAction.AccountLinkState|null);
9119
+
9120
+ /** WaffleAccountLinkStateAction _linkState. */
9121
+ public _linkState?: "linkState";
7582
9122
 
7583
9123
  /**
7584
9124
  * Creates a new WaffleAccountLinkStateAction instance using the specified properties.
@@ -7662,7 +9202,9 @@ export namespace SyncAction {
7662
9202
 
7663
9203
  /** AccountLinkState enum. */
7664
9204
  enum AccountLinkState {
7665
- ACTIVE = 0
9205
+ ACTIVE = 0,
9206
+ PAUSED = 1,
9207
+ UNLINKED = 2
7666
9208
  }
7667
9209
  }
7668
9210
 
@@ -7683,7 +9225,10 @@ export namespace SyncAction {
7683
9225
  constructor(properties?: SyncAction.SyncActionValue.IWamoUserIdentifierAction);
7684
9226
 
7685
9227
  /** WamoUserIdentifierAction identifier. */
7686
- public identifier: string;
9228
+ public identifier?: (string|null);
9229
+
9230
+ /** WamoUserIdentifierAction _identifier. */
9231
+ public _identifier?: "identifier";
7687
9232
 
7688
9233
  /**
7689
9234
  * Creates a new WamoUserIdentifierAction instance using the specified properties.
@@ -7823,49 +9368,91 @@ export namespace SyncAction {
7823
9368
  constructor(properties?: SyncAction.ICallLogRecord);
7824
9369
 
7825
9370
  /** CallLogRecord callResult. */
7826
- public callResult: SyncAction.CallLogRecord.CallResult;
9371
+ public callResult?: (SyncAction.CallLogRecord.CallResult|null);
7827
9372
 
7828
9373
  /** CallLogRecord isDndMode. */
7829
- public isDndMode: boolean;
9374
+ public isDndMode?: (boolean|null);
7830
9375
 
7831
9376
  /** CallLogRecord silenceReason. */
7832
- public silenceReason: SyncAction.CallLogRecord.SilenceReason;
9377
+ public silenceReason?: (SyncAction.CallLogRecord.SilenceReason|null);
7833
9378
 
7834
9379
  /** CallLogRecord duration. */
7835
- public duration: (number|Long);
9380
+ public duration?: (number|Long|null);
7836
9381
 
7837
9382
  /** CallLogRecord startTime. */
7838
- public startTime: (number|Long);
9383
+ public startTime?: (number|Long|null);
7839
9384
 
7840
9385
  /** CallLogRecord isIncoming. */
7841
- public isIncoming: boolean;
9386
+ public isIncoming?: (boolean|null);
7842
9387
 
7843
9388
  /** CallLogRecord isVideo. */
7844
- public isVideo: boolean;
9389
+ public isVideo?: (boolean|null);
7845
9390
 
7846
9391
  /** CallLogRecord isCallLink. */
7847
- public isCallLink: boolean;
9392
+ public isCallLink?: (boolean|null);
7848
9393
 
7849
9394
  /** CallLogRecord callLinkToken. */
7850
- public callLinkToken: string;
9395
+ public callLinkToken?: (string|null);
7851
9396
 
7852
9397
  /** CallLogRecord scheduledCallId. */
7853
- public scheduledCallId: string;
9398
+ public scheduledCallId?: (string|null);
7854
9399
 
7855
9400
  /** CallLogRecord callId. */
7856
- public callId: string;
9401
+ public callId?: (string|null);
7857
9402
 
7858
9403
  /** CallLogRecord callCreatorJid. */
7859
- public callCreatorJid: string;
9404
+ public callCreatorJid?: (string|null);
7860
9405
 
7861
9406
  /** CallLogRecord groupJid. */
7862
- public groupJid: string;
9407
+ public groupJid?: (string|null);
7863
9408
 
7864
9409
  /** CallLogRecord participants. */
7865
9410
  public participants: SyncAction.CallLogRecord.IParticipantInfo[];
7866
9411
 
7867
9412
  /** CallLogRecord callType. */
7868
- public callType: SyncAction.CallLogRecord.CallType;
9413
+ public callType?: (SyncAction.CallLogRecord.CallType|null);
9414
+
9415
+ /** CallLogRecord _callResult. */
9416
+ public _callResult?: "callResult";
9417
+
9418
+ /** CallLogRecord _isDndMode. */
9419
+ public _isDndMode?: "isDndMode";
9420
+
9421
+ /** CallLogRecord _silenceReason. */
9422
+ public _silenceReason?: "silenceReason";
9423
+
9424
+ /** CallLogRecord _duration. */
9425
+ public _duration?: "duration";
9426
+
9427
+ /** CallLogRecord _startTime. */
9428
+ public _startTime?: "startTime";
9429
+
9430
+ /** CallLogRecord _isIncoming. */
9431
+ public _isIncoming?: "isIncoming";
9432
+
9433
+ /** CallLogRecord _isVideo. */
9434
+ public _isVideo?: "isVideo";
9435
+
9436
+ /** CallLogRecord _isCallLink. */
9437
+ public _isCallLink?: "isCallLink";
9438
+
9439
+ /** CallLogRecord _callLinkToken. */
9440
+ public _callLinkToken?: "callLinkToken";
9441
+
9442
+ /** CallLogRecord _scheduledCallId. */
9443
+ public _scheduledCallId?: "scheduledCallId";
9444
+
9445
+ /** CallLogRecord _callId. */
9446
+ public _callId?: "callId";
9447
+
9448
+ /** CallLogRecord _callCreatorJid. */
9449
+ public _callCreatorJid?: "callCreatorJid";
9450
+
9451
+ /** CallLogRecord _groupJid. */
9452
+ public _groupJid?: "groupJid";
9453
+
9454
+ /** CallLogRecord _callType. */
9455
+ public _callType?: "callType";
7869
9456
 
7870
9457
  /**
7871
9458
  * Creates a new CallLogRecord instance using the specified properties.
@@ -7989,10 +9576,16 @@ export namespace SyncAction {
7989
9576
  constructor(properties?: SyncAction.CallLogRecord.IParticipantInfo);
7990
9577
 
7991
9578
  /** ParticipantInfo userJid. */
7992
- public userJid: string;
9579
+ public userJid?: (string|null);
7993
9580
 
7994
9581
  /** ParticipantInfo callResult. */
7995
- public callResult: SyncAction.CallLogRecord.CallResult;
9582
+ public callResult?: (SyncAction.CallLogRecord.CallResult|null);
9583
+
9584
+ /** ParticipantInfo _userJid. */
9585
+ public _userJid?: "userJid";
9586
+
9587
+ /** ParticipantInfo _callResult. */
9588
+ public _callResult?: "callResult";
7996
9589
 
7997
9590
  /**
7998
9591
  * Creates a new ParticipantInfo instance using the specified properties.
@@ -8101,10 +9694,16 @@ export namespace SyncAction {
8101
9694
  constructor(properties?: SyncAction.IRecentEmojiWeight);
8102
9695
 
8103
9696
  /** RecentEmojiWeight emoji. */
8104
- public emoji: string;
9697
+ public emoji?: (string|null);
8105
9698
 
8106
9699
  /** RecentEmojiWeight weight. */
8107
- public weight: number;
9700
+ public weight?: (number|null);
9701
+
9702
+ /** RecentEmojiWeight _emoji. */
9703
+ public _emoji?: "emoji";
9704
+
9705
+ /** RecentEmojiWeight _weight. */
9706
+ public _weight?: "weight";
8108
9707
 
8109
9708
  /**
8110
9709
  * Creates a new RecentEmojiWeight instance using the specified properties.
@@ -8183,6 +9782,94 @@ export namespace SyncAction {
8183
9782
  */
8184
9783
  public static getTypeUrl(typeUrlPrefix?: string): string;
8185
9784
  }
9785
+
9786
+ /** MutationProps enum. */
9787
+ enum MutationProps {
9788
+ STAR_ACTION = 2,
9789
+ CONTACT_ACTION = 3,
9790
+ MUTE_ACTION = 4,
9791
+ PIN_ACTION = 5,
9792
+ SECURITY_NOTIFICATION_SETTING = 6,
9793
+ PUSH_NAME_SETTING = 7,
9794
+ QUICK_REPLY_ACTION = 8,
9795
+ RECENT_EMOJI_WEIGHTS_ACTION = 11,
9796
+ LABEL_MESSAGE_ACTION = 13,
9797
+ LABEL_EDIT_ACTION = 14,
9798
+ LABEL_ASSOCIATION_ACTION = 15,
9799
+ LOCALE_SETTING = 16,
9800
+ ARCHIVE_CHAT_ACTION = 17,
9801
+ DELETE_MESSAGE_FOR_ME_ACTION = 18,
9802
+ KEY_EXPIRATION = 19,
9803
+ MARK_CHAT_AS_READ_ACTION = 20,
9804
+ CLEAR_CHAT_ACTION = 21,
9805
+ DELETE_CHAT_ACTION = 22,
9806
+ UNARCHIVE_CHATS_SETTING = 23,
9807
+ PRIMARY_FEATURE = 24,
9808
+ ANDROID_UNSUPPORTED_ACTIONS = 26,
9809
+ AGENT_ACTION = 27,
9810
+ SUBSCRIPTION_ACTION = 28,
9811
+ USER_STATUS_MUTE_ACTION = 29,
9812
+ TIME_FORMAT_ACTION = 30,
9813
+ NUX_ACTION = 31,
9814
+ PRIMARY_VERSION_ACTION = 32,
9815
+ STICKER_ACTION = 33,
9816
+ REMOVE_RECENT_STICKER_ACTION = 34,
9817
+ CHAT_ASSIGNMENT = 35,
9818
+ CHAT_ASSIGNMENT_OPENED_STATUS = 36,
9819
+ PN_FOR_LID_CHAT_ACTION = 37,
9820
+ MARKETING_MESSAGE_ACTION = 38,
9821
+ MARKETING_MESSAGE_BROADCAST_ACTION = 39,
9822
+ EXTERNAL_WEB_BETA_ACTION = 40,
9823
+ PRIVACY_SETTING_RELAY_ALL_CALLS = 41,
9824
+ CALL_LOG_ACTION = 42,
9825
+ UGC_BOT = 43,
9826
+ STATUS_PRIVACY = 44,
9827
+ BOT_WELCOME_REQUEST_ACTION = 45,
9828
+ DELETE_INDIVIDUAL_CALL_LOG = 46,
9829
+ LABEL_REORDERING_ACTION = 47,
9830
+ PAYMENT_INFO_ACTION = 48,
9831
+ CUSTOM_PAYMENT_METHODS_ACTION = 49,
9832
+ LOCK_CHAT_ACTION = 50,
9833
+ CHAT_LOCK_SETTINGS = 51,
9834
+ WAMO_USER_IDENTIFIER_ACTION = 52,
9835
+ PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53,
9836
+ DEVICE_CAPABILITIES = 54,
9837
+ NOTE_EDIT_ACTION = 55,
9838
+ FAVORITES_ACTION = 56,
9839
+ MERCHANT_PAYMENT_PARTNER_ACTION = 57,
9840
+ WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58,
9841
+ USERNAME_CHAT_START_MODE = 59,
9842
+ NOTIFICATION_ACTIVITY_SETTING_ACTION = 60,
9843
+ LID_CONTACT_ACTION = 61,
9844
+ CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62,
9845
+ PAYMENT_TOS_ACTION = 63,
9846
+ PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64,
9847
+ BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65,
9848
+ DETECTED_OUTCOMES_STATUS_ACTION = 66,
9849
+ MAIBA_AI_FEATURES_CONTROL_ACTION = 68,
9850
+ BUSINESS_BROADCAST_LIST_ACTION = 69,
9851
+ MUSIC_USER_ID_ACTION = 70,
9852
+ STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71,
9853
+ AVATAR_UPDATED_ACTION = 72,
9854
+ GALAXY_FLOW_ACTION = 73,
9855
+ PRIVATE_PROCESSING_SETTING_ACTION = 74,
9856
+ NEWSLETTER_SAVED_INTERESTS_ACTION = 75,
9857
+ AI_THREAD_RENAME_ACTION = 76,
9858
+ INTERACTIVE_MESSAGE_ACTION = 77,
9859
+ SETTINGS_SYNC_ACTION = 78,
9860
+ SHARE_OWN_PN = 10001,
9861
+ BUSINESS_BROADCAST_ACTION = 10002
9862
+ }
9863
+
9864
+ /** CollectionName enum. */
9865
+ enum CollectionName {
9866
+ COLLECTION_NAME_UNKNOWN = 0,
9867
+ REGULAR = 1,
9868
+ REGULAR_LOW = 2,
9869
+ REGULAR_HIGH = 3,
9870
+ CRITICAL_BLOCK = 4,
9871
+ CRITICAL_UNBLOCK_LOW = 5
9872
+ }
8186
9873
  }
8187
9874
 
8188
9875
  /** Namespace ChatLockSettings. */
@@ -8208,11 +9895,17 @@ export namespace ChatLockSettings {
8208
9895
  constructor(properties?: ChatLockSettings.IChatLockSettings);
8209
9896
 
8210
9897
  /** ChatLockSettings hideLockedChats. */
8211
- public hideLockedChats: boolean;
9898
+ public hideLockedChats?: (boolean|null);
8212
9899
 
8213
9900
  /** ChatLockSettings secretCode. */
8214
9901
  public secretCode?: (UserPassword.IUserPassword|null);
8215
9902
 
9903
+ /** ChatLockSettings _hideLockedChats. */
9904
+ public _hideLockedChats?: "hideLockedChats";
9905
+
9906
+ /** ChatLockSettings _secretCode. */
9907
+ public _secretCode?: "secretCode";
9908
+
8216
9909
  /**
8217
9910
  * Creates a new ChatLockSettings instance using the specified properties.
8218
9911
  * @param [properties] Properties to set
@@ -8321,16 +10014,25 @@ export namespace UserPassword {
8321
10014
  constructor(properties?: UserPassword.IUserPassword);
8322
10015
 
8323
10016
  /** UserPassword encoding. */
8324
- public encoding: UserPassword.UserPassword.Encoding;
10017
+ public encoding?: (UserPassword.UserPassword.Encoding|null);
8325
10018
 
8326
10019
  /** UserPassword transformer. */
8327
- public transformer: UserPassword.UserPassword.Transformer;
10020
+ public transformer?: (UserPassword.UserPassword.Transformer|null);
8328
10021
 
8329
10022
  /** UserPassword transformerArg. */
8330
10023
  public transformerArg: UserPassword.UserPassword.ITransformerArg[];
8331
10024
 
8332
10025
  /** UserPassword transformedData. */
8333
- public transformedData: Uint8Array;
10026
+ public transformedData?: (Uint8Array|null);
10027
+
10028
+ /** UserPassword _encoding. */
10029
+ public _encoding?: "encoding";
10030
+
10031
+ /** UserPassword _transformer. */
10032
+ public _transformer?: "transformer";
10033
+
10034
+ /** UserPassword _transformedData. */
10035
+ public _transformedData?: "transformedData";
8334
10036
 
8335
10037
  /**
8336
10038
  * Creates a new UserPassword instance using the specified properties.
@@ -8445,11 +10147,17 @@ export namespace UserPassword {
8445
10147
  constructor(properties?: UserPassword.UserPassword.ITransformerArg);
8446
10148
 
8447
10149
  /** TransformerArg key. */
8448
- public key: string;
10150
+ public key?: (string|null);
8449
10151
 
8450
10152
  /** TransformerArg value. */
8451
10153
  public value?: (UserPassword.UserPassword.TransformerArg.IValue|null);
8452
10154
 
10155
+ /** TransformerArg _key. */
10156
+ public _key?: "key";
10157
+
10158
+ /** TransformerArg _value. */
10159
+ public _value?: "value";
10160
+
8453
10161
  /**
8454
10162
  * Creates a new TransformerArg instance using the specified properties.
8455
10163
  * @param [properties] Properties to set
@@ -8653,6 +10361,15 @@ export namespace DeviceCapabilities {
8653
10361
 
8654
10362
  /** DeviceCapabilities businessBroadcast */
8655
10363
  businessBroadcast?: (DeviceCapabilities.DeviceCapabilities.IBusinessBroadcast|null);
10364
+
10365
+ /** DeviceCapabilities userHasAvatar */
10366
+ userHasAvatar?: (DeviceCapabilities.DeviceCapabilities.IUserHasAvatar|null);
10367
+
10368
+ /** DeviceCapabilities memberNameTagPrimarySupport */
10369
+ memberNameTagPrimarySupport?: (DeviceCapabilities.DeviceCapabilities.MemberNameTagPrimarySupport|null);
10370
+
10371
+ /** DeviceCapabilities aiThread */
10372
+ aiThread?: (DeviceCapabilities.DeviceCapabilities.IAiThread|null);
8656
10373
  }
8657
10374
 
8658
10375
  /** Represents a DeviceCapabilities. */
@@ -8665,7 +10382,7 @@ export namespace DeviceCapabilities {
8665
10382
  constructor(properties?: DeviceCapabilities.IDeviceCapabilities);
8666
10383
 
8667
10384
  /** DeviceCapabilities chatLockSupportLevel. */
8668
- public chatLockSupportLevel: DeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel;
10385
+ public chatLockSupportLevel?: (DeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel|null);
8669
10386
 
8670
10387
  /** DeviceCapabilities lidMigration. */
8671
10388
  public lidMigration?: (DeviceCapabilities.DeviceCapabilities.ILIDMigration|null);
@@ -8673,6 +10390,33 @@ export namespace DeviceCapabilities {
8673
10390
  /** DeviceCapabilities businessBroadcast. */
8674
10391
  public businessBroadcast?: (DeviceCapabilities.DeviceCapabilities.IBusinessBroadcast|null);
8675
10392
 
10393
+ /** DeviceCapabilities userHasAvatar. */
10394
+ public userHasAvatar?: (DeviceCapabilities.DeviceCapabilities.IUserHasAvatar|null);
10395
+
10396
+ /** DeviceCapabilities memberNameTagPrimarySupport. */
10397
+ public memberNameTagPrimarySupport?: (DeviceCapabilities.DeviceCapabilities.MemberNameTagPrimarySupport|null);
10398
+
10399
+ /** DeviceCapabilities aiThread. */
10400
+ public aiThread?: (DeviceCapabilities.DeviceCapabilities.IAiThread|null);
10401
+
10402
+ /** DeviceCapabilities _chatLockSupportLevel. */
10403
+ public _chatLockSupportLevel?: "chatLockSupportLevel";
10404
+
10405
+ /** DeviceCapabilities _lidMigration. */
10406
+ public _lidMigration?: "lidMigration";
10407
+
10408
+ /** DeviceCapabilities _businessBroadcast. */
10409
+ public _businessBroadcast?: "businessBroadcast";
10410
+
10411
+ /** DeviceCapabilities _userHasAvatar. */
10412
+ public _userHasAvatar?: "userHasAvatar";
10413
+
10414
+ /** DeviceCapabilities _memberNameTagPrimarySupport. */
10415
+ public _memberNameTagPrimarySupport?: "memberNameTagPrimarySupport";
10416
+
10417
+ /** DeviceCapabilities _aiThread. */
10418
+ public _aiThread?: "aiThread";
10419
+
8676
10420
  /**
8677
10421
  * Creates a new DeviceCapabilities instance using the specified properties.
8678
10422
  * @param [properties] Properties to set
@@ -8753,6 +10497,116 @@ export namespace DeviceCapabilities {
8753
10497
 
8754
10498
  namespace DeviceCapabilities {
8755
10499
 
10500
+ /** Properties of an AiThread. */
10501
+ interface IAiThread {
10502
+
10503
+ /** AiThread supportLevel */
10504
+ supportLevel?: (DeviceCapabilities.DeviceCapabilities.AiThread.SupportLevel|null);
10505
+ }
10506
+
10507
+ /** Represents an AiThread. */
10508
+ class AiThread implements IAiThread {
10509
+
10510
+ /**
10511
+ * Constructs a new AiThread.
10512
+ * @param [properties] Properties to set
10513
+ */
10514
+ constructor(properties?: DeviceCapabilities.DeviceCapabilities.IAiThread);
10515
+
10516
+ /** AiThread supportLevel. */
10517
+ public supportLevel?: (DeviceCapabilities.DeviceCapabilities.AiThread.SupportLevel|null);
10518
+
10519
+ /** AiThread _supportLevel. */
10520
+ public _supportLevel?: "supportLevel";
10521
+
10522
+ /**
10523
+ * Creates a new AiThread instance using the specified properties.
10524
+ * @param [properties] Properties to set
10525
+ * @returns AiThread instance
10526
+ */
10527
+ public static create(properties?: DeviceCapabilities.DeviceCapabilities.IAiThread): DeviceCapabilities.DeviceCapabilities.AiThread;
10528
+
10529
+ /**
10530
+ * Encodes the specified AiThread message. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.AiThread.verify|verify} messages.
10531
+ * @param message AiThread message or plain object to encode
10532
+ * @param [writer] Writer to encode to
10533
+ * @returns Writer
10534
+ */
10535
+ public static encode(message: DeviceCapabilities.DeviceCapabilities.IAiThread, writer?: $protobuf.Writer): $protobuf.Writer;
10536
+
10537
+ /**
10538
+ * Encodes the specified AiThread message, length delimited. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.AiThread.verify|verify} messages.
10539
+ * @param message AiThread message or plain object to encode
10540
+ * @param [writer] Writer to encode to
10541
+ * @returns Writer
10542
+ */
10543
+ public static encodeDelimited(message: DeviceCapabilities.DeviceCapabilities.IAiThread, writer?: $protobuf.Writer): $protobuf.Writer;
10544
+
10545
+ /**
10546
+ * Decodes an AiThread message from the specified reader or buffer.
10547
+ * @param reader Reader or buffer to decode from
10548
+ * @param [length] Message length if known beforehand
10549
+ * @returns AiThread
10550
+ * @throws {Error} If the payload is not a reader or valid buffer
10551
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10552
+ */
10553
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DeviceCapabilities.DeviceCapabilities.AiThread;
10554
+
10555
+ /**
10556
+ * Decodes an AiThread message from the specified reader or buffer, length delimited.
10557
+ * @param reader Reader or buffer to decode from
10558
+ * @returns AiThread
10559
+ * @throws {Error} If the payload is not a reader or valid buffer
10560
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10561
+ */
10562
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DeviceCapabilities.DeviceCapabilities.AiThread;
10563
+
10564
+ /**
10565
+ * Verifies an AiThread message.
10566
+ * @param message Plain object to verify
10567
+ * @returns `null` if valid, otherwise the reason why it is not
10568
+ */
10569
+ public static verify(message: { [k: string]: any }): (string|null);
10570
+
10571
+ /**
10572
+ * Creates an AiThread message from a plain object. Also converts values to their respective internal types.
10573
+ * @param object Plain object
10574
+ * @returns AiThread
10575
+ */
10576
+ public static fromObject(object: { [k: string]: any }): DeviceCapabilities.DeviceCapabilities.AiThread;
10577
+
10578
+ /**
10579
+ * Creates a plain object from an AiThread message. Also converts values to other types if specified.
10580
+ * @param message AiThread
10581
+ * @param [options] Conversion options
10582
+ * @returns Plain object
10583
+ */
10584
+ public static toObject(message: DeviceCapabilities.DeviceCapabilities.AiThread, options?: $protobuf.IConversionOptions): { [k: string]: any };
10585
+
10586
+ /**
10587
+ * Converts this AiThread to JSON.
10588
+ * @returns JSON object
10589
+ */
10590
+ public toJSON(): { [k: string]: any };
10591
+
10592
+ /**
10593
+ * Gets the default type url for AiThread
10594
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10595
+ * @returns The default type url
10596
+ */
10597
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10598
+ }
10599
+
10600
+ namespace AiThread {
10601
+
10602
+ /** SupportLevel enum. */
10603
+ enum SupportLevel {
10604
+ NONE = 0,
10605
+ INFRA = 1,
10606
+ FULL = 2
10607
+ }
10608
+ }
10609
+
8756
10610
  /** Properties of a BusinessBroadcast. */
8757
10611
  interface IBusinessBroadcast {
8758
10612
 
@@ -8770,7 +10624,10 @@ export namespace DeviceCapabilities {
8770
10624
  constructor(properties?: DeviceCapabilities.DeviceCapabilities.IBusinessBroadcast);
8771
10625
 
8772
10626
  /** BusinessBroadcast importListEnabled. */
8773
- public importListEnabled: boolean;
10627
+ public importListEnabled?: (boolean|null);
10628
+
10629
+ /** BusinessBroadcast _importListEnabled. */
10630
+ public _importListEnabled?: "importListEnabled";
8774
10631
 
8775
10632
  /**
8776
10633
  * Creates a new BusinessBroadcast instance using the specified properties.
@@ -8874,7 +10731,10 @@ export namespace DeviceCapabilities {
8874
10731
  constructor(properties?: DeviceCapabilities.DeviceCapabilities.ILIDMigration);
8875
10732
 
8876
10733
  /** LIDMigration chatDbMigrationTimestamp. */
8877
- public chatDbMigrationTimestamp: (number|Long);
10734
+ public chatDbMigrationTimestamp?: (number|Long|null);
10735
+
10736
+ /** LIDMigration _chatDbMigrationTimestamp. */
10737
+ public _chatDbMigrationTimestamp?: "chatDbMigrationTimestamp";
8878
10738
 
8879
10739
  /**
8880
10740
  * Creates a new LIDMigration instance using the specified properties.
@@ -8953,6 +10813,113 @@ export namespace DeviceCapabilities {
8953
10813
  */
8954
10814
  public static getTypeUrl(typeUrlPrefix?: string): string;
8955
10815
  }
10816
+
10817
+ /** MemberNameTagPrimarySupport enum. */
10818
+ enum MemberNameTagPrimarySupport {
10819
+ DISABLED = 0,
10820
+ RECEIVER_ENABLED = 1,
10821
+ SENDER_ENABLED = 2
10822
+ }
10823
+
10824
+ /** Properties of a UserHasAvatar. */
10825
+ interface IUserHasAvatar {
10826
+
10827
+ /** UserHasAvatar userHasAvatar */
10828
+ userHasAvatar?: (boolean|null);
10829
+ }
10830
+
10831
+ /** Represents a UserHasAvatar. */
10832
+ class UserHasAvatar implements IUserHasAvatar {
10833
+
10834
+ /**
10835
+ * Constructs a new UserHasAvatar.
10836
+ * @param [properties] Properties to set
10837
+ */
10838
+ constructor(properties?: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar);
10839
+
10840
+ /** UserHasAvatar userHasAvatar. */
10841
+ public userHasAvatar?: (boolean|null);
10842
+
10843
+ /** UserHasAvatar _userHasAvatar. */
10844
+ public _userHasAvatar?: "userHasAvatar";
10845
+
10846
+ /**
10847
+ * Creates a new UserHasAvatar instance using the specified properties.
10848
+ * @param [properties] Properties to set
10849
+ * @returns UserHasAvatar instance
10850
+ */
10851
+ public static create(properties?: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
10852
+
10853
+ /**
10854
+ * Encodes the specified UserHasAvatar message. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
10855
+ * @param message UserHasAvatar message or plain object to encode
10856
+ * @param [writer] Writer to encode to
10857
+ * @returns Writer
10858
+ */
10859
+ public static encode(message: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
10860
+
10861
+ /**
10862
+ * Encodes the specified UserHasAvatar message, length delimited. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
10863
+ * @param message UserHasAvatar message or plain object to encode
10864
+ * @param [writer] Writer to encode to
10865
+ * @returns Writer
10866
+ */
10867
+ public static encodeDelimited(message: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
10868
+
10869
+ /**
10870
+ * Decodes a UserHasAvatar message from the specified reader or buffer.
10871
+ * @param reader Reader or buffer to decode from
10872
+ * @param [length] Message length if known beforehand
10873
+ * @returns UserHasAvatar
10874
+ * @throws {Error} If the payload is not a reader or valid buffer
10875
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10876
+ */
10877
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
10878
+
10879
+ /**
10880
+ * Decodes a UserHasAvatar message from the specified reader or buffer, length delimited.
10881
+ * @param reader Reader or buffer to decode from
10882
+ * @returns UserHasAvatar
10883
+ * @throws {Error} If the payload is not a reader or valid buffer
10884
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10885
+ */
10886
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
10887
+
10888
+ /**
10889
+ * Verifies a UserHasAvatar message.
10890
+ * @param message Plain object to verify
10891
+ * @returns `null` if valid, otherwise the reason why it is not
10892
+ */
10893
+ public static verify(message: { [k: string]: any }): (string|null);
10894
+
10895
+ /**
10896
+ * Creates a UserHasAvatar message from a plain object. Also converts values to their respective internal types.
10897
+ * @param object Plain object
10898
+ * @returns UserHasAvatar
10899
+ */
10900
+ public static fromObject(object: { [k: string]: any }): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
10901
+
10902
+ /**
10903
+ * Creates a plain object from a UserHasAvatar message. Also converts values to other types if specified.
10904
+ * @param message UserHasAvatar
10905
+ * @param [options] Conversion options
10906
+ * @returns Plain object
10907
+ */
10908
+ public static toObject(message: DeviceCapabilities.DeviceCapabilities.UserHasAvatar, options?: $protobuf.IConversionOptions): { [k: string]: any };
10909
+
10910
+ /**
10911
+ * Converts this UserHasAvatar to JSON.
10912
+ * @returns JSON object
10913
+ */
10914
+ public toJSON(): { [k: string]: any };
10915
+
10916
+ /**
10917
+ * Gets the default type url for UserHasAvatar
10918
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10919
+ * @returns The default type url
10920
+ */
10921
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10922
+ }
8956
10923
  }
8957
10924
  }
8958
10925
 
@@ -8985,16 +10952,28 @@ export namespace Protocol {
8985
10952
  constructor(properties?: Protocol.ILimitSharing);
8986
10953
 
8987
10954
  /** LimitSharing sharingLimited. */
8988
- public sharingLimited: boolean;
10955
+ public sharingLimited?: (boolean|null);
8989
10956
 
8990
10957
  /** LimitSharing trigger. */
8991
- public trigger: Protocol.LimitSharing.TriggerType;
10958
+ public trigger?: (Protocol.LimitSharing.TriggerType|null);
8992
10959
 
8993
10960
  /** LimitSharing limitSharingSettingTimestamp. */
8994
- public limitSharingSettingTimestamp: (number|Long);
10961
+ public limitSharingSettingTimestamp?: (number|Long|null);
8995
10962
 
8996
10963
  /** LimitSharing initiatedByMe. */
8997
- public initiatedByMe: boolean;
10964
+ public initiatedByMe?: (boolean|null);
10965
+
10966
+ /** LimitSharing _sharingLimited. */
10967
+ public _sharingLimited?: "sharingLimited";
10968
+
10969
+ /** LimitSharing _trigger. */
10970
+ public _trigger?: "trigger";
10971
+
10972
+ /** LimitSharing _limitSharingSettingTimestamp. */
10973
+ public _limitSharingSettingTimestamp?: "limitSharingSettingTimestamp";
10974
+
10975
+ /** LimitSharing _initiatedByMe. */
10976
+ public _initiatedByMe?: "initiatedByMe";
8998
10977
 
8999
10978
  /**
9000
10979
  * Creates a new LimitSharing instance using the specified properties.
@@ -9111,16 +11090,28 @@ export namespace Protocol {
9111
11090
  constructor(properties?: Protocol.IMessageKey);
9112
11091
 
9113
11092
  /** MessageKey remoteJid. */
9114
- public remoteJid: string;
11093
+ public remoteJid?: (string|null);
9115
11094
 
9116
11095
  /** MessageKey fromMe. */
9117
- public fromMe: boolean;
11096
+ public fromMe?: (boolean|null);
9118
11097
 
9119
11098
  /** MessageKey id. */
9120
- public id: string;
11099
+ public id?: (string|null);
9121
11100
 
9122
11101
  /** MessageKey participant. */
9123
- public participant: string;
11102
+ public participant?: (string|null);
11103
+
11104
+ /** MessageKey _remoteJid. */
11105
+ public _remoteJid?: "remoteJid";
11106
+
11107
+ /** MessageKey _fromMe. */
11108
+ public _fromMe?: "fromMe";
11109
+
11110
+ /** MessageKey _id. */
11111
+ public _id?: "id";
11112
+
11113
+ /** MessageKey _participant. */
11114
+ public _participant?: "participant";
9124
11115
 
9125
11116
  /**
9126
11117
  * Creates a new MessageKey instance using the specified properties.