@hansaka02/baileys 7.3.2 → 7.3.4

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 (202) hide show
  1. package/README.md +247 -203
  2. package/lib/Defaults/connection.js +51 -0
  3. package/lib/Defaults/constants.js +62 -0
  4. package/lib/Defaults/history.js +17 -0
  5. package/lib/Defaults/index.js +36 -142
  6. package/lib/Defaults/media.js +48 -0
  7. package/lib/Defaults/prefix.js +18 -0
  8. package/lib/Signal/Group/group-session-builder.js +10 -42
  9. package/lib/Signal/Group/group_cipher.js +9 -6
  10. package/lib/Signal/Group/index.js +39 -53
  11. package/lib/Signal/Group/keyhelper.js +8 -41
  12. package/lib/Signal/Group/sender-chain-key.js +4 -4
  13. package/lib/Signal/Group/sender-key-distribution-message.js +5 -5
  14. package/lib/Signal/Group/sender-key-message.js +12 -8
  15. package/lib/Signal/Group/sender-key-record.js +7 -7
  16. package/lib/Signal/Group/sender-key-state.js +4 -4
  17. package/lib/Signal/Group/sender-message-key.js +2 -2
  18. package/lib/Signal/libsignal.js +45 -69
  19. package/lib/Signal/lid-mapping.js +15 -11
  20. package/lib/Socket/Client/types.js +2 -2
  21. package/lib/Socket/Client/websocket.js +16 -14
  22. package/lib/Socket/business.js +41 -32
  23. package/lib/Socket/chats.js +123 -98
  24. package/lib/Socket/community.js +50 -40
  25. package/lib/Socket/groups.js +59 -47
  26. package/lib/Socket/index.js +4 -4
  27. package/lib/Socket/messages-recv.js +219 -172
  28. package/lib/Socket/messages-send.js +187 -143
  29. package/lib/Socket/newsletter.js +61 -47
  30. package/lib/Socket/socket.js +133 -90
  31. package/lib/Socket/usync.js +6 -6
  32. package/lib/Store/index.js +27 -11
  33. package/lib/Store/make-cache-manager-store.js +14 -15
  34. package/lib/Store/make-in-memory-store.js +28 -24
  35. package/lib/Types/LabelAssociation.js +2 -2
  36. package/lib/Types/Message.js +6 -6
  37. package/lib/Types/MexUpdates.js +5 -5
  38. package/lib/Types/State.js +4 -4
  39. package/lib/Types/index.js +28 -12
  40. package/lib/Utils/auth-utils.js +28 -26
  41. package/lib/Utils/baileys-event-stream.js +68 -69
  42. package/lib/Utils/business.js +63 -53
  43. package/lib/Utils/chat-utils.js +81 -71
  44. package/lib/Utils/crypto.js +25 -45
  45. package/lib/Utils/decode-wa-message.js +319 -311
  46. package/lib/Utils/event-buffer.js +21 -22
  47. package/lib/Utils/generics.js +65 -82
  48. package/lib/Utils/history.js +21 -21
  49. package/lib/Utils/index.js +27 -13
  50. package/lib/Utils/link-preview.js +7 -30
  51. package/lib/Utils/logger.js +5 -5
  52. package/lib/Utils/lt-hash.js +3 -3
  53. package/lib/Utils/message-retry-manager.js +4 -4
  54. package/lib/Utils/messages-media.js +104 -109
  55. package/lib/Utils/messages.js +203 -171
  56. package/lib/Utils/noise-handler.js +28 -19
  57. package/lib/Utils/process-message.js +111 -96
  58. package/lib/Utils/signal.js +36 -25
  59. package/lib/Utils/use-multi-file-auth-state.js +18 -22
  60. package/lib/Utils/validate-connection.js +52 -45
  61. package/lib/WABinary/decode.js +6 -32
  62. package/lib/WABinary/encode.js +3 -29
  63. package/lib/WABinary/generic-utils.js +4 -4
  64. package/lib/WABinary/index.js +27 -11
  65. package/lib/WAM/encode.js +16 -8
  66. package/lib/WAM/index.js +27 -11
  67. package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +20 -16
  68. package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
  69. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +7 -4
  70. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +2 -2
  71. package/lib/WAUSync/Protocols/USyncLIDProtocol.js +0 -2
  72. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +2 -2
  73. package/lib/WAUSync/Protocols/index.js +27 -11
  74. package/lib/WAUSync/USyncQuery.js +17 -10
  75. package/lib/WAUSync/index.js +27 -11
  76. package/lib/index.js +60 -31
  77. package/package.json +8 -14
  78. package/WAProto/AICommon/AICommon.d.ts +0 -11702
  79. package/WAProto/Adv/Adv.d.ts +0 -643
  80. package/WAProto/BotMetadata/BotMetadata.d.ts +0 -5654
  81. package/WAProto/Cert/Cert.d.ts +0 -613
  82. package/WAProto/ChatLockSettings/ChatLockSettings.d.ts +0 -476
  83. package/WAProto/CompanionReg/CompanionReg.d.ts +0 -1361
  84. package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +0 -577
  85. package/WAProto/E2E/E2E.d.ts +0 -41724
  86. package/WAProto/Ephemeral/Ephemeral.d.ts +0 -114
  87. package/WAProto/HistorySync/HistorySync.d.ts +0 -51700
  88. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +0 -229
  89. package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.d.ts +0 -583
  90. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +0 -42897
  91. package/WAProto/MmsRetry/MmsRetry.d.ts +0 -243
  92. package/WAProto/Protocol/Protocol.d.ts +0 -270
  93. package/WAProto/Reporting/Reporting.d.ts +0 -371
  94. package/WAProto/ServerSync/ServerSync.d.ts +0 -1285
  95. package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.d.ts +0 -1868
  96. package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.d.ts +0 -767
  97. package/WAProto/StatusAttributions/StatusAttributions.d.ts +0 -1027
  98. package/WAProto/SyncAction/SyncAction.d.ts +0 -11193
  99. package/WAProto/UserPassword/UserPassword.d.ts +0 -363
  100. package/WAProto/VnameCert/VnameCert.d.ts +0 -821
  101. package/WAProto/Wa6/Wa6.d.ts +0 -2128
  102. package/WAProto/Web/Web.d.ts +0 -46383
  103. package/WAProto/index.d.ts +0 -55
  104. package/lib/Defaults/index.d.ts +0 -77
  105. package/lib/Signal/Group/ciphertext-message.d.ts +0 -9
  106. package/lib/Signal/Group/group-session-builder.d.ts +0 -17
  107. package/lib/Signal/Group/group_cipher.d.ts +0 -19
  108. package/lib/Signal/Group/index.d.ts +0 -11
  109. package/lib/Signal/Group/keyhelper.d.ts +0 -16
  110. package/lib/Signal/Group/sender-chain-key.d.ts +0 -14
  111. package/lib/Signal/Group/sender-key-distribution-message.d.ts +0 -17
  112. package/lib/Signal/Group/sender-key-message.d.ts +0 -19
  113. package/lib/Signal/Group/sender-key-name.d.ts +0 -19
  114. package/lib/Signal/Group/sender-key-record.d.ts +0 -32
  115. package/lib/Signal/Group/sender-key-state.d.ts +0 -44
  116. package/lib/Signal/Group/sender-message-key.d.ts +0 -11
  117. package/lib/Signal/libsignal.d.ts +0 -8
  118. package/lib/Signal/lid-mapping.d.ts +0 -28
  119. package/lib/Socket/Client/index.d.ts +0 -2
  120. package/lib/Socket/Client/types.d.ts +0 -16
  121. package/lib/Socket/Client/websocket.d.ts +0 -13
  122. package/lib/Socket/business.d.ts +0 -187
  123. package/lib/Socket/chats.d.ts +0 -97
  124. package/lib/Socket/community.d.ts +0 -129
  125. package/lib/Socket/groups.d.ts +0 -129
  126. package/lib/Socket/index.d.ts +0 -191
  127. package/lib/Socket/messages-recv.d.ts +0 -174
  128. package/lib/Socket/messages-send.d.ts +0 -165
  129. package/lib/Socket/newsletter.d.ts +0 -145
  130. package/lib/Socket/socket.d.ts +0 -45
  131. package/lib/Socket/usync.d.ts +0 -37
  132. package/lib/Store/index.d.ts +0 -4
  133. package/lib/Store/make-cache-manager-store.d.ts +0 -14
  134. package/lib/Store/make-in-memory-store.d.ts +0 -123
  135. package/lib/Store/make-ordered-dictionary.d.ts +0 -12
  136. package/lib/Store/object-repository.d.ts +0 -10
  137. package/lib/Types/Auth.d.ts +0 -121
  138. package/lib/Types/Bussiness.d.ts +0 -28
  139. package/lib/Types/Call.d.ts +0 -14
  140. package/lib/Types/Chat.d.ts +0 -143
  141. package/lib/Types/Contact.d.ts +0 -23
  142. package/lib/Types/Events.d.ts +0 -226
  143. package/lib/Types/GroupMetadata.d.ts +0 -66
  144. package/lib/Types/Label.d.ts +0 -48
  145. package/lib/Types/LabelAssociation.d.ts +0 -35
  146. package/lib/Types/Message.d.ts +0 -484
  147. package/lib/Types/MexUpdates.d.ts +0 -9
  148. package/lib/Types/Newsletter.d.ts +0 -109
  149. package/lib/Types/Product.d.ts +0 -92
  150. package/lib/Types/Signal.d.ts +0 -98
  151. package/lib/Types/Socket.d.ts +0 -141
  152. package/lib/Types/State.d.ts +0 -41
  153. package/lib/Types/USync.d.ts +0 -26
  154. package/lib/Types/index.d.ts +0 -80
  155. package/lib/Utils/auth-utils.d.ts +0 -21
  156. package/lib/Utils/baileys-event-stream.d.ts +0 -18
  157. package/lib/Utils/business.d.ts +0 -29
  158. package/lib/Utils/chat-utils.d.ts +0 -82
  159. package/lib/Utils/crypto.d.ts +0 -56
  160. package/lib/Utils/decode-wa-message.d.ts +0 -53
  161. package/lib/Utils/event-buffer.d.ts +0 -39
  162. package/lib/Utils/generics.d.ts +0 -117
  163. package/lib/Utils/history.d.ts +0 -23
  164. package/lib/Utils/index.d.ts +0 -20
  165. package/lib/Utils/link-preview.d.ts +0 -23
  166. package/lib/Utils/logger.d.ts +0 -13
  167. package/lib/Utils/lt-hash.d.ts +0 -14
  168. package/lib/Utils/make-mutex.d.ts +0 -9
  169. package/lib/Utils/message-retry-manager.d.ts +0 -88
  170. package/lib/Utils/messages-media.d.ts +0 -135
  171. package/lib/Utils/messages.d.ts +0 -105
  172. package/lib/Utils/noise-handler.d.ts +0 -20
  173. package/lib/Utils/process-message.d.ts +0 -49
  174. package/lib/Utils/signal.d.ts +0 -42
  175. package/lib/Utils/use-mongo-file-auth-state.d.ts +0 -6
  176. package/lib/Utils/use-mongo-file-auth-state.js +0 -84
  177. package/lib/Utils/use-multi-file-auth-state.d.ts +0 -13
  178. package/lib/Utils/use-single-file-auth-state.d.ts +0 -13
  179. package/lib/Utils/use-single-file-auth-state.js +0 -80
  180. package/lib/Utils/validate-connection.d.ts +0 -13
  181. package/lib/WABinary/constants.d.ts +0 -30
  182. package/lib/WABinary/decode.d.ts +0 -9
  183. package/lib/WABinary/encode.d.ts +0 -3
  184. package/lib/WABinary/generic-utils.d.ts +0 -28
  185. package/lib/WABinary/index.d.ts +0 -5
  186. package/lib/WABinary/jid-utils.d.ts +0 -58
  187. package/lib/WABinary/types.d.ts +0 -22
  188. package/lib/WAM/BinaryInfo.d.ts +0 -16
  189. package/lib/WAM/constants.d.ts +0 -47
  190. package/lib/WAM/encode.d.ts +0 -3
  191. package/lib/WAM/index.d.ts +0 -3
  192. package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +0 -28
  193. package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -10
  194. package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -26
  195. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -14
  196. package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +0 -10
  197. package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -14
  198. package/lib/WAUSync/Protocols/index.d.ts +0 -6
  199. package/lib/WAUSync/USyncQuery.d.ts +0 -31
  200. package/lib/WAUSync/USyncUser.d.ts +0 -12
  201. package/lib/WAUSync/index.d.ts +0 -3
  202. package/lib/index.d.ts +0 -13
@@ -1,2128 +0,0 @@
1
- import * as $protobuf from "protobufjs";
2
- import Long = require("long");
3
- /** Namespace Wa6. */
4
- export namespace Wa6 {
5
-
6
- /** Properties of a ClientPayload. */
7
- interface IClientPayload {
8
-
9
- /** ClientPayload username */
10
- username?: (number|Long|null);
11
-
12
- /** ClientPayload passive */
13
- passive?: (boolean|null);
14
-
15
- /** ClientPayload userAgent */
16
- userAgent?: (Wa6.ClientPayload.IUserAgent|null);
17
-
18
- /** ClientPayload webInfo */
19
- webInfo?: (Wa6.ClientPayload.IWebInfo|null);
20
-
21
- /** ClientPayload pushName */
22
- pushName?: (string|null);
23
-
24
- /** ClientPayload sessionId */
25
- sessionId?: (number|null);
26
-
27
- /** ClientPayload shortConnect */
28
- shortConnect?: (boolean|null);
29
-
30
- /** ClientPayload connectType */
31
- connectType?: (Wa6.ClientPayload.ConnectType|null);
32
-
33
- /** ClientPayload connectReason */
34
- connectReason?: (Wa6.ClientPayload.ConnectReason|null);
35
-
36
- /** ClientPayload shards */
37
- shards?: (number[]|null);
38
-
39
- /** ClientPayload dnsSource */
40
- dnsSource?: (Wa6.ClientPayload.IDNSSource|null);
41
-
42
- /** ClientPayload connectAttemptCount */
43
- connectAttemptCount?: (number|null);
44
-
45
- /** ClientPayload device */
46
- device?: (number|null);
47
-
48
- /** ClientPayload devicePairingData */
49
- devicePairingData?: (Wa6.ClientPayload.IDevicePairingRegistrationData|null);
50
-
51
- /** ClientPayload product */
52
- product?: (Wa6.ClientPayload.Product|null);
53
-
54
- /** ClientPayload fbCat */
55
- fbCat?: (Uint8Array|null);
56
-
57
- /** ClientPayload fbUserAgent */
58
- fbUserAgent?: (Uint8Array|null);
59
-
60
- /** ClientPayload oc */
61
- oc?: (boolean|null);
62
-
63
- /** ClientPayload lc */
64
- lc?: (number|null);
65
-
66
- /** ClientPayload iosAppExtension */
67
- iosAppExtension?: (Wa6.ClientPayload.IOSAppExtension|null);
68
-
69
- /** ClientPayload fbAppId */
70
- fbAppId?: (number|Long|null);
71
-
72
- /** ClientPayload fbDeviceId */
73
- fbDeviceId?: (Uint8Array|null);
74
-
75
- /** ClientPayload pull */
76
- pull?: (boolean|null);
77
-
78
- /** ClientPayload paddingBytes */
79
- paddingBytes?: (Uint8Array|null);
80
-
81
- /** ClientPayload yearClass */
82
- yearClass?: (number|null);
83
-
84
- /** ClientPayload memClass */
85
- memClass?: (number|null);
86
-
87
- /** ClientPayload interopData */
88
- interopData?: (Wa6.ClientPayload.IInteropData|null);
89
-
90
- /** ClientPayload trafficAnonymization */
91
- trafficAnonymization?: (Wa6.ClientPayload.TrafficAnonymization|null);
92
-
93
- /** ClientPayload lidDbMigrated */
94
- lidDbMigrated?: (boolean|null);
95
-
96
- /** ClientPayload accountType */
97
- accountType?: (Wa6.ClientPayload.AccountType|null);
98
-
99
- /** ClientPayload connectionSequenceInfo */
100
- connectionSequenceInfo?: (number|null);
101
-
102
- /** ClientPayload paaLink */
103
- paaLink?: (boolean|null);
104
-
105
- /** ClientPayload preacksCount */
106
- preacksCount?: (number|null);
107
-
108
- /** ClientPayload processingQueueSize */
109
- processingQueueSize?: (number|null);
110
- }
111
-
112
- /** Represents a ClientPayload. */
113
- class ClientPayload implements IClientPayload {
114
-
115
- /**
116
- * Constructs a new ClientPayload.
117
- * @param [properties] Properties to set
118
- */
119
- constructor(properties?: Wa6.IClientPayload);
120
-
121
- /** ClientPayload username. */
122
- public username?: (number|Long|null);
123
-
124
- /** ClientPayload passive. */
125
- public passive?: (boolean|null);
126
-
127
- /** ClientPayload userAgent. */
128
- public userAgent?: (Wa6.ClientPayload.IUserAgent|null);
129
-
130
- /** ClientPayload webInfo. */
131
- public webInfo?: (Wa6.ClientPayload.IWebInfo|null);
132
-
133
- /** ClientPayload pushName. */
134
- public pushName?: (string|null);
135
-
136
- /** ClientPayload sessionId. */
137
- public sessionId?: (number|null);
138
-
139
- /** ClientPayload shortConnect. */
140
- public shortConnect?: (boolean|null);
141
-
142
- /** ClientPayload connectType. */
143
- public connectType?: (Wa6.ClientPayload.ConnectType|null);
144
-
145
- /** ClientPayload connectReason. */
146
- public connectReason?: (Wa6.ClientPayload.ConnectReason|null);
147
-
148
- /** ClientPayload shards. */
149
- public shards: number[];
150
-
151
- /** ClientPayload dnsSource. */
152
- public dnsSource?: (Wa6.ClientPayload.IDNSSource|null);
153
-
154
- /** ClientPayload connectAttemptCount. */
155
- public connectAttemptCount?: (number|null);
156
-
157
- /** ClientPayload device. */
158
- public device?: (number|null);
159
-
160
- /** ClientPayload devicePairingData. */
161
- public devicePairingData?: (Wa6.ClientPayload.IDevicePairingRegistrationData|null);
162
-
163
- /** ClientPayload product. */
164
- public product?: (Wa6.ClientPayload.Product|null);
165
-
166
- /** ClientPayload fbCat. */
167
- public fbCat?: (Uint8Array|null);
168
-
169
- /** ClientPayload fbUserAgent. */
170
- public fbUserAgent?: (Uint8Array|null);
171
-
172
- /** ClientPayload oc. */
173
- public oc?: (boolean|null);
174
-
175
- /** ClientPayload lc. */
176
- public lc?: (number|null);
177
-
178
- /** ClientPayload iosAppExtension. */
179
- public iosAppExtension?: (Wa6.ClientPayload.IOSAppExtension|null);
180
-
181
- /** ClientPayload fbAppId. */
182
- public fbAppId?: (number|Long|null);
183
-
184
- /** ClientPayload fbDeviceId. */
185
- public fbDeviceId?: (Uint8Array|null);
186
-
187
- /** ClientPayload pull. */
188
- public pull?: (boolean|null);
189
-
190
- /** ClientPayload paddingBytes. */
191
- public paddingBytes?: (Uint8Array|null);
192
-
193
- /** ClientPayload yearClass. */
194
- public yearClass?: (number|null);
195
-
196
- /** ClientPayload memClass. */
197
- public memClass?: (number|null);
198
-
199
- /** ClientPayload interopData. */
200
- public interopData?: (Wa6.ClientPayload.IInteropData|null);
201
-
202
- /** ClientPayload trafficAnonymization. */
203
- public trafficAnonymization?: (Wa6.ClientPayload.TrafficAnonymization|null);
204
-
205
- /** ClientPayload lidDbMigrated. */
206
- public lidDbMigrated?: (boolean|null);
207
-
208
- /** ClientPayload accountType. */
209
- public accountType?: (Wa6.ClientPayload.AccountType|null);
210
-
211
- /** ClientPayload connectionSequenceInfo. */
212
- public connectionSequenceInfo?: (number|null);
213
-
214
- /** ClientPayload paaLink. */
215
- public paaLink?: (boolean|null);
216
-
217
- /** ClientPayload preacksCount. */
218
- public preacksCount?: (number|null);
219
-
220
- /** ClientPayload processingQueueSize. */
221
- public processingQueueSize?: (number|null);
222
-
223
- /** ClientPayload _username. */
224
- public _username?: "username";
225
-
226
- /** ClientPayload _passive. */
227
- public _passive?: "passive";
228
-
229
- /** ClientPayload _userAgent. */
230
- public _userAgent?: "userAgent";
231
-
232
- /** ClientPayload _webInfo. */
233
- public _webInfo?: "webInfo";
234
-
235
- /** ClientPayload _pushName. */
236
- public _pushName?: "pushName";
237
-
238
- /** ClientPayload _sessionId. */
239
- public _sessionId?: "sessionId";
240
-
241
- /** ClientPayload _shortConnect. */
242
- public _shortConnect?: "shortConnect";
243
-
244
- /** ClientPayload _connectType. */
245
- public _connectType?: "connectType";
246
-
247
- /** ClientPayload _connectReason. */
248
- public _connectReason?: "connectReason";
249
-
250
- /** ClientPayload _dnsSource. */
251
- public _dnsSource?: "dnsSource";
252
-
253
- /** ClientPayload _connectAttemptCount. */
254
- public _connectAttemptCount?: "connectAttemptCount";
255
-
256
- /** ClientPayload _device. */
257
- public _device?: "device";
258
-
259
- /** ClientPayload _devicePairingData. */
260
- public _devicePairingData?: "devicePairingData";
261
-
262
- /** ClientPayload _product. */
263
- public _product?: "product";
264
-
265
- /** ClientPayload _fbCat. */
266
- public _fbCat?: "fbCat";
267
-
268
- /** ClientPayload _fbUserAgent. */
269
- public _fbUserAgent?: "fbUserAgent";
270
-
271
- /** ClientPayload _oc. */
272
- public _oc?: "oc";
273
-
274
- /** ClientPayload _lc. */
275
- public _lc?: "lc";
276
-
277
- /** ClientPayload _iosAppExtension. */
278
- public _iosAppExtension?: "iosAppExtension";
279
-
280
- /** ClientPayload _fbAppId. */
281
- public _fbAppId?: "fbAppId";
282
-
283
- /** ClientPayload _fbDeviceId. */
284
- public _fbDeviceId?: "fbDeviceId";
285
-
286
- /** ClientPayload _pull. */
287
- public _pull?: "pull";
288
-
289
- /** ClientPayload _paddingBytes. */
290
- public _paddingBytes?: "paddingBytes";
291
-
292
- /** ClientPayload _yearClass. */
293
- public _yearClass?: "yearClass";
294
-
295
- /** ClientPayload _memClass. */
296
- public _memClass?: "memClass";
297
-
298
- /** ClientPayload _interopData. */
299
- public _interopData?: "interopData";
300
-
301
- /** ClientPayload _trafficAnonymization. */
302
- public _trafficAnonymization?: "trafficAnonymization";
303
-
304
- /** ClientPayload _lidDbMigrated. */
305
- public _lidDbMigrated?: "lidDbMigrated";
306
-
307
- /** ClientPayload _accountType. */
308
- public _accountType?: "accountType";
309
-
310
- /** ClientPayload _connectionSequenceInfo. */
311
- public _connectionSequenceInfo?: "connectionSequenceInfo";
312
-
313
- /** ClientPayload _paaLink. */
314
- public _paaLink?: "paaLink";
315
-
316
- /** ClientPayload _preacksCount. */
317
- public _preacksCount?: "preacksCount";
318
-
319
- /** ClientPayload _processingQueueSize. */
320
- public _processingQueueSize?: "processingQueueSize";
321
-
322
- /**
323
- * Creates a new ClientPayload instance using the specified properties.
324
- * @param [properties] Properties to set
325
- * @returns ClientPayload instance
326
- */
327
- public static create(properties?: Wa6.IClientPayload): Wa6.ClientPayload;
328
-
329
- /**
330
- * Encodes the specified ClientPayload message. Does not implicitly {@link Wa6.ClientPayload.verify|verify} messages.
331
- * @param message ClientPayload message or plain object to encode
332
- * @param [writer] Writer to encode to
333
- * @returns Writer
334
- */
335
- public static encode(message: Wa6.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
336
-
337
- /**
338
- * Encodes the specified ClientPayload message, length delimited. Does not implicitly {@link Wa6.ClientPayload.verify|verify} messages.
339
- * @param message ClientPayload message or plain object to encode
340
- * @param [writer] Writer to encode to
341
- * @returns Writer
342
- */
343
- public static encodeDelimited(message: Wa6.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
344
-
345
- /**
346
- * Decodes a ClientPayload message from the specified reader or buffer.
347
- * @param reader Reader or buffer to decode from
348
- * @param [length] Message length if known beforehand
349
- * @returns ClientPayload
350
- * @throws {Error} If the payload is not a reader or valid buffer
351
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
352
- */
353
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload;
354
-
355
- /**
356
- * Decodes a ClientPayload message from the specified reader or buffer, length delimited.
357
- * @param reader Reader or buffer to decode from
358
- * @returns ClientPayload
359
- * @throws {Error} If the payload is not a reader or valid buffer
360
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
361
- */
362
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload;
363
-
364
- /**
365
- * Verifies a ClientPayload message.
366
- * @param message Plain object to verify
367
- * @returns `null` if valid, otherwise the reason why it is not
368
- */
369
- public static verify(message: { [k: string]: any }): (string|null);
370
-
371
- /**
372
- * Creates a ClientPayload message from a plain object. Also converts values to their respective internal types.
373
- * @param object Plain object
374
- * @returns ClientPayload
375
- */
376
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload;
377
-
378
- /**
379
- * Creates a plain object from a ClientPayload message. Also converts values to other types if specified.
380
- * @param message ClientPayload
381
- * @param [options] Conversion options
382
- * @returns Plain object
383
- */
384
- public static toObject(message: Wa6.ClientPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
385
-
386
- /**
387
- * Converts this ClientPayload to JSON.
388
- * @returns JSON object
389
- */
390
- public toJSON(): { [k: string]: any };
391
-
392
- /**
393
- * Gets the default type url for ClientPayload
394
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
395
- * @returns The default type url
396
- */
397
- public static getTypeUrl(typeUrlPrefix?: string): string;
398
- }
399
-
400
- namespace ClientPayload {
401
-
402
- /** AccountType enum. */
403
- enum AccountType {
404
- DEFAULT = 0,
405
- GUEST = 1
406
- }
407
-
408
- /** ConnectReason enum. */
409
- enum ConnectReason {
410
- PUSH = 0,
411
- USER_ACTIVATED = 1,
412
- SCHEDULED = 2,
413
- ERROR_RECONNECT = 3,
414
- NETWORK_SWITCH = 4,
415
- PING_RECONNECT = 5,
416
- UNKNOWN = 6
417
- }
418
-
419
- /** ConnectType enum. */
420
- enum ConnectType {
421
- CELLULAR_UNKNOWN = 0,
422
- WIFI_UNKNOWN = 1,
423
- CELLULAR_EDGE = 100,
424
- CELLULAR_IDEN = 101,
425
- CELLULAR_UMTS = 102,
426
- CELLULAR_EVDO = 103,
427
- CELLULAR_GPRS = 104,
428
- CELLULAR_HSDPA = 105,
429
- CELLULAR_HSUPA = 106,
430
- CELLULAR_HSPA = 107,
431
- CELLULAR_CDMA = 108,
432
- CELLULAR_1XRTT = 109,
433
- CELLULAR_EHRPD = 110,
434
- CELLULAR_LTE = 111,
435
- CELLULAR_HSPAP = 112
436
- }
437
-
438
- /** Properties of a DNSSource. */
439
- interface IDNSSource {
440
-
441
- /** DNSSource dnsMethod */
442
- dnsMethod?: (Wa6.ClientPayload.DNSSource.DNSResolutionMethod|null);
443
-
444
- /** DNSSource appCached */
445
- appCached?: (boolean|null);
446
- }
447
-
448
- /** Represents a DNSSource. */
449
- class DNSSource implements IDNSSource {
450
-
451
- /**
452
- * Constructs a new DNSSource.
453
- * @param [properties] Properties to set
454
- */
455
- constructor(properties?: Wa6.ClientPayload.IDNSSource);
456
-
457
- /** DNSSource dnsMethod. */
458
- public dnsMethod?: (Wa6.ClientPayload.DNSSource.DNSResolutionMethod|null);
459
-
460
- /** DNSSource appCached. */
461
- public appCached?: (boolean|null);
462
-
463
- /** DNSSource _dnsMethod. */
464
- public _dnsMethod?: "dnsMethod";
465
-
466
- /** DNSSource _appCached. */
467
- public _appCached?: "appCached";
468
-
469
- /**
470
- * Creates a new DNSSource instance using the specified properties.
471
- * @param [properties] Properties to set
472
- * @returns DNSSource instance
473
- */
474
- public static create(properties?: Wa6.ClientPayload.IDNSSource): Wa6.ClientPayload.DNSSource;
475
-
476
- /**
477
- * Encodes the specified DNSSource message. Does not implicitly {@link Wa6.ClientPayload.DNSSource.verify|verify} messages.
478
- * @param message DNSSource message or plain object to encode
479
- * @param [writer] Writer to encode to
480
- * @returns Writer
481
- */
482
- public static encode(message: Wa6.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
483
-
484
- /**
485
- * Encodes the specified DNSSource message, length delimited. Does not implicitly {@link Wa6.ClientPayload.DNSSource.verify|verify} messages.
486
- * @param message DNSSource message or plain object to encode
487
- * @param [writer] Writer to encode to
488
- * @returns Writer
489
- */
490
- public static encodeDelimited(message: Wa6.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
491
-
492
- /**
493
- * Decodes a DNSSource message from the specified reader or buffer.
494
- * @param reader Reader or buffer to decode from
495
- * @param [length] Message length if known beforehand
496
- * @returns DNSSource
497
- * @throws {Error} If the payload is not a reader or valid buffer
498
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
499
- */
500
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.DNSSource;
501
-
502
- /**
503
- * Decodes a DNSSource message from the specified reader or buffer, length delimited.
504
- * @param reader Reader or buffer to decode from
505
- * @returns DNSSource
506
- * @throws {Error} If the payload is not a reader or valid buffer
507
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
508
- */
509
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.DNSSource;
510
-
511
- /**
512
- * Verifies a DNSSource message.
513
- * @param message Plain object to verify
514
- * @returns `null` if valid, otherwise the reason why it is not
515
- */
516
- public static verify(message: { [k: string]: any }): (string|null);
517
-
518
- /**
519
- * Creates a DNSSource message from a plain object. Also converts values to their respective internal types.
520
- * @param object Plain object
521
- * @returns DNSSource
522
- */
523
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.DNSSource;
524
-
525
- /**
526
- * Creates a plain object from a DNSSource message. Also converts values to other types if specified.
527
- * @param message DNSSource
528
- * @param [options] Conversion options
529
- * @returns Plain object
530
- */
531
- public static toObject(message: Wa6.ClientPayload.DNSSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
532
-
533
- /**
534
- * Converts this DNSSource to JSON.
535
- * @returns JSON object
536
- */
537
- public toJSON(): { [k: string]: any };
538
-
539
- /**
540
- * Gets the default type url for DNSSource
541
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
542
- * @returns The default type url
543
- */
544
- public static getTypeUrl(typeUrlPrefix?: string): string;
545
- }
546
-
547
- namespace DNSSource {
548
-
549
- /** DNSResolutionMethod enum. */
550
- enum DNSResolutionMethod {
551
- SYSTEM = 0,
552
- GOOGLE = 1,
553
- HARDCODED = 2,
554
- OVERRIDE = 3,
555
- FALLBACK = 4,
556
- MNS = 5
557
- }
558
- }
559
-
560
- /** Properties of a DevicePairingRegistrationData. */
561
- interface IDevicePairingRegistrationData {
562
-
563
- /** DevicePairingRegistrationData eRegid */
564
- eRegid?: (Uint8Array|null);
565
-
566
- /** DevicePairingRegistrationData eKeytype */
567
- eKeytype?: (Uint8Array|null);
568
-
569
- /** DevicePairingRegistrationData eIdent */
570
- eIdent?: (Uint8Array|null);
571
-
572
- /** DevicePairingRegistrationData eSkeyId */
573
- eSkeyId?: (Uint8Array|null);
574
-
575
- /** DevicePairingRegistrationData eSkeyVal */
576
- eSkeyVal?: (Uint8Array|null);
577
-
578
- /** DevicePairingRegistrationData eSkeySig */
579
- eSkeySig?: (Uint8Array|null);
580
-
581
- /** DevicePairingRegistrationData buildHash */
582
- buildHash?: (Uint8Array|null);
583
-
584
- /** DevicePairingRegistrationData deviceProps */
585
- deviceProps?: (Uint8Array|null);
586
- }
587
-
588
- /** Represents a DevicePairingRegistrationData. */
589
- class DevicePairingRegistrationData implements IDevicePairingRegistrationData {
590
-
591
- /**
592
- * Constructs a new DevicePairingRegistrationData.
593
- * @param [properties] Properties to set
594
- */
595
- constructor(properties?: Wa6.ClientPayload.IDevicePairingRegistrationData);
596
-
597
- /** DevicePairingRegistrationData eRegid. */
598
- public eRegid?: (Uint8Array|null);
599
-
600
- /** DevicePairingRegistrationData eKeytype. */
601
- public eKeytype?: (Uint8Array|null);
602
-
603
- /** DevicePairingRegistrationData eIdent. */
604
- public eIdent?: (Uint8Array|null);
605
-
606
- /** DevicePairingRegistrationData eSkeyId. */
607
- public eSkeyId?: (Uint8Array|null);
608
-
609
- /** DevicePairingRegistrationData eSkeyVal. */
610
- public eSkeyVal?: (Uint8Array|null);
611
-
612
- /** DevicePairingRegistrationData eSkeySig. */
613
- public eSkeySig?: (Uint8Array|null);
614
-
615
- /** DevicePairingRegistrationData buildHash. */
616
- public buildHash?: (Uint8Array|null);
617
-
618
- /** DevicePairingRegistrationData deviceProps. */
619
- public deviceProps?: (Uint8Array|null);
620
-
621
- /** DevicePairingRegistrationData _eRegid. */
622
- public _eRegid?: "eRegid";
623
-
624
- /** DevicePairingRegistrationData _eKeytype. */
625
- public _eKeytype?: "eKeytype";
626
-
627
- /** DevicePairingRegistrationData _eIdent. */
628
- public _eIdent?: "eIdent";
629
-
630
- /** DevicePairingRegistrationData _eSkeyId. */
631
- public _eSkeyId?: "eSkeyId";
632
-
633
- /** DevicePairingRegistrationData _eSkeyVal. */
634
- public _eSkeyVal?: "eSkeyVal";
635
-
636
- /** DevicePairingRegistrationData _eSkeySig. */
637
- public _eSkeySig?: "eSkeySig";
638
-
639
- /** DevicePairingRegistrationData _buildHash. */
640
- public _buildHash?: "buildHash";
641
-
642
- /** DevicePairingRegistrationData _deviceProps. */
643
- public _deviceProps?: "deviceProps";
644
-
645
- /**
646
- * Creates a new DevicePairingRegistrationData instance using the specified properties.
647
- * @param [properties] Properties to set
648
- * @returns DevicePairingRegistrationData instance
649
- */
650
- public static create(properties?: Wa6.ClientPayload.IDevicePairingRegistrationData): Wa6.ClientPayload.DevicePairingRegistrationData;
651
-
652
- /**
653
- * Encodes the specified DevicePairingRegistrationData message. Does not implicitly {@link Wa6.ClientPayload.DevicePairingRegistrationData.verify|verify} messages.
654
- * @param message DevicePairingRegistrationData message or plain object to encode
655
- * @param [writer] Writer to encode to
656
- * @returns Writer
657
- */
658
- public static encode(message: Wa6.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer;
659
-
660
- /**
661
- * Encodes the specified DevicePairingRegistrationData message, length delimited. Does not implicitly {@link Wa6.ClientPayload.DevicePairingRegistrationData.verify|verify} messages.
662
- * @param message DevicePairingRegistrationData message or plain object to encode
663
- * @param [writer] Writer to encode to
664
- * @returns Writer
665
- */
666
- public static encodeDelimited(message: Wa6.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer;
667
-
668
- /**
669
- * Decodes a DevicePairingRegistrationData message from the specified reader or buffer.
670
- * @param reader Reader or buffer to decode from
671
- * @param [length] Message length if known beforehand
672
- * @returns DevicePairingRegistrationData
673
- * @throws {Error} If the payload is not a reader or valid buffer
674
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
675
- */
676
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.DevicePairingRegistrationData;
677
-
678
- /**
679
- * Decodes a DevicePairingRegistrationData message from the specified reader or buffer, length delimited.
680
- * @param reader Reader or buffer to decode from
681
- * @returns DevicePairingRegistrationData
682
- * @throws {Error} If the payload is not a reader or valid buffer
683
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
684
- */
685
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.DevicePairingRegistrationData;
686
-
687
- /**
688
- * Verifies a DevicePairingRegistrationData message.
689
- * @param message Plain object to verify
690
- * @returns `null` if valid, otherwise the reason why it is not
691
- */
692
- public static verify(message: { [k: string]: any }): (string|null);
693
-
694
- /**
695
- * Creates a DevicePairingRegistrationData message from a plain object. Also converts values to their respective internal types.
696
- * @param object Plain object
697
- * @returns DevicePairingRegistrationData
698
- */
699
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.DevicePairingRegistrationData;
700
-
701
- /**
702
- * Creates a plain object from a DevicePairingRegistrationData message. Also converts values to other types if specified.
703
- * @param message DevicePairingRegistrationData
704
- * @param [options] Conversion options
705
- * @returns Plain object
706
- */
707
- public static toObject(message: Wa6.ClientPayload.DevicePairingRegistrationData, options?: $protobuf.IConversionOptions): { [k: string]: any };
708
-
709
- /**
710
- * Converts this DevicePairingRegistrationData to JSON.
711
- * @returns JSON object
712
- */
713
- public toJSON(): { [k: string]: any };
714
-
715
- /**
716
- * Gets the default type url for DevicePairingRegistrationData
717
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
718
- * @returns The default type url
719
- */
720
- public static getTypeUrl(typeUrlPrefix?: string): string;
721
- }
722
-
723
- /** IOSAppExtension enum. */
724
- enum IOSAppExtension {
725
- SHARE_EXTENSION = 0,
726
- SERVICE_EXTENSION = 1,
727
- INTENTS_EXTENSION = 2
728
- }
729
-
730
- /** Properties of an InteropData. */
731
- interface IInteropData {
732
-
733
- /** InteropData accountId */
734
- accountId?: (number|Long|null);
735
-
736
- /** InteropData token */
737
- token?: (Uint8Array|null);
738
-
739
- /** InteropData enableReadReceipts */
740
- enableReadReceipts?: (boolean|null);
741
- }
742
-
743
- /** Represents an InteropData. */
744
- class InteropData implements IInteropData {
745
-
746
- /**
747
- * Constructs a new InteropData.
748
- * @param [properties] Properties to set
749
- */
750
- constructor(properties?: Wa6.ClientPayload.IInteropData);
751
-
752
- /** InteropData accountId. */
753
- public accountId?: (number|Long|null);
754
-
755
- /** InteropData token. */
756
- public token?: (Uint8Array|null);
757
-
758
- /** InteropData enableReadReceipts. */
759
- public enableReadReceipts?: (boolean|null);
760
-
761
- /** InteropData _accountId. */
762
- public _accountId?: "accountId";
763
-
764
- /** InteropData _token. */
765
- public _token?: "token";
766
-
767
- /** InteropData _enableReadReceipts. */
768
- public _enableReadReceipts?: "enableReadReceipts";
769
-
770
- /**
771
- * Creates a new InteropData instance using the specified properties.
772
- * @param [properties] Properties to set
773
- * @returns InteropData instance
774
- */
775
- public static create(properties?: Wa6.ClientPayload.IInteropData): Wa6.ClientPayload.InteropData;
776
-
777
- /**
778
- * Encodes the specified InteropData message. Does not implicitly {@link Wa6.ClientPayload.InteropData.verify|verify} messages.
779
- * @param message InteropData message or plain object to encode
780
- * @param [writer] Writer to encode to
781
- * @returns Writer
782
- */
783
- public static encode(message: Wa6.ClientPayload.IInteropData, writer?: $protobuf.Writer): $protobuf.Writer;
784
-
785
- /**
786
- * Encodes the specified InteropData message, length delimited. Does not implicitly {@link Wa6.ClientPayload.InteropData.verify|verify} messages.
787
- * @param message InteropData message or plain object to encode
788
- * @param [writer] Writer to encode to
789
- * @returns Writer
790
- */
791
- public static encodeDelimited(message: Wa6.ClientPayload.IInteropData, writer?: $protobuf.Writer): $protobuf.Writer;
792
-
793
- /**
794
- * Decodes an InteropData message from the specified reader or buffer.
795
- * @param reader Reader or buffer to decode from
796
- * @param [length] Message length if known beforehand
797
- * @returns InteropData
798
- * @throws {Error} If the payload is not a reader or valid buffer
799
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
800
- */
801
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.InteropData;
802
-
803
- /**
804
- * Decodes an InteropData message from the specified reader or buffer, length delimited.
805
- * @param reader Reader or buffer to decode from
806
- * @returns InteropData
807
- * @throws {Error} If the payload is not a reader or valid buffer
808
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
809
- */
810
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.InteropData;
811
-
812
- /**
813
- * Verifies an InteropData message.
814
- * @param message Plain object to verify
815
- * @returns `null` if valid, otherwise the reason why it is not
816
- */
817
- public static verify(message: { [k: string]: any }): (string|null);
818
-
819
- /**
820
- * Creates an InteropData message from a plain object. Also converts values to their respective internal types.
821
- * @param object Plain object
822
- * @returns InteropData
823
- */
824
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.InteropData;
825
-
826
- /**
827
- * Creates a plain object from an InteropData message. Also converts values to other types if specified.
828
- * @param message InteropData
829
- * @param [options] Conversion options
830
- * @returns Plain object
831
- */
832
- public static toObject(message: Wa6.ClientPayload.InteropData, options?: $protobuf.IConversionOptions): { [k: string]: any };
833
-
834
- /**
835
- * Converts this InteropData to JSON.
836
- * @returns JSON object
837
- */
838
- public toJSON(): { [k: string]: any };
839
-
840
- /**
841
- * Gets the default type url for InteropData
842
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
843
- * @returns The default type url
844
- */
845
- public static getTypeUrl(typeUrlPrefix?: string): string;
846
- }
847
-
848
- /** Product enum. */
849
- enum Product {
850
- WHATSAPP = 0,
851
- MESSENGER = 1,
852
- INTEROP = 2,
853
- INTEROP_MSGR = 3,
854
- WHATSAPP_LID = 4
855
- }
856
-
857
- /** TrafficAnonymization enum. */
858
- enum TrafficAnonymization {
859
- OFF = 0,
860
- STANDARD = 1
861
- }
862
-
863
- /** Properties of a UserAgent. */
864
- interface IUserAgent {
865
-
866
- /** UserAgent platform */
867
- platform?: (Wa6.ClientPayload.UserAgent.Platform|null);
868
-
869
- /** UserAgent appVersion */
870
- appVersion?: (Wa6.ClientPayload.UserAgent.IAppVersion|null);
871
-
872
- /** UserAgent mcc */
873
- mcc?: (string|null);
874
-
875
- /** UserAgent mnc */
876
- mnc?: (string|null);
877
-
878
- /** UserAgent osVersion */
879
- osVersion?: (string|null);
880
-
881
- /** UserAgent manufacturer */
882
- manufacturer?: (string|null);
883
-
884
- /** UserAgent device */
885
- device?: (string|null);
886
-
887
- /** UserAgent osBuildNumber */
888
- osBuildNumber?: (string|null);
889
-
890
- /** UserAgent phoneId */
891
- phoneId?: (string|null);
892
-
893
- /** UserAgent releaseChannel */
894
- releaseChannel?: (Wa6.ClientPayload.UserAgent.ReleaseChannel|null);
895
-
896
- /** UserAgent localeLanguageIso6391 */
897
- localeLanguageIso6391?: (string|null);
898
-
899
- /** UserAgent localeCountryIso31661Alpha2 */
900
- localeCountryIso31661Alpha2?: (string|null);
901
-
902
- /** UserAgent deviceBoard */
903
- deviceBoard?: (string|null);
904
-
905
- /** UserAgent deviceExpId */
906
- deviceExpId?: (string|null);
907
-
908
- /** UserAgent deviceType */
909
- deviceType?: (Wa6.ClientPayload.UserAgent.DeviceType|null);
910
-
911
- /** UserAgent deviceModelType */
912
- deviceModelType?: (string|null);
913
- }
914
-
915
- /** Represents a UserAgent. */
916
- class UserAgent implements IUserAgent {
917
-
918
- /**
919
- * Constructs a new UserAgent.
920
- * @param [properties] Properties to set
921
- */
922
- constructor(properties?: Wa6.ClientPayload.IUserAgent);
923
-
924
- /** UserAgent platform. */
925
- public platform?: (Wa6.ClientPayload.UserAgent.Platform|null);
926
-
927
- /** UserAgent appVersion. */
928
- public appVersion?: (Wa6.ClientPayload.UserAgent.IAppVersion|null);
929
-
930
- /** UserAgent mcc. */
931
- public mcc?: (string|null);
932
-
933
- /** UserAgent mnc. */
934
- public mnc?: (string|null);
935
-
936
- /** UserAgent osVersion. */
937
- public osVersion?: (string|null);
938
-
939
- /** UserAgent manufacturer. */
940
- public manufacturer?: (string|null);
941
-
942
- /** UserAgent device. */
943
- public device?: (string|null);
944
-
945
- /** UserAgent osBuildNumber. */
946
- public osBuildNumber?: (string|null);
947
-
948
- /** UserAgent phoneId. */
949
- public phoneId?: (string|null);
950
-
951
- /** UserAgent releaseChannel. */
952
- public releaseChannel?: (Wa6.ClientPayload.UserAgent.ReleaseChannel|null);
953
-
954
- /** UserAgent localeLanguageIso6391. */
955
- public localeLanguageIso6391?: (string|null);
956
-
957
- /** UserAgent localeCountryIso31661Alpha2. */
958
- public localeCountryIso31661Alpha2?: (string|null);
959
-
960
- /** UserAgent deviceBoard. */
961
- public deviceBoard?: (string|null);
962
-
963
- /** UserAgent deviceExpId. */
964
- public deviceExpId?: (string|null);
965
-
966
- /** UserAgent deviceType. */
967
- public deviceType?: (Wa6.ClientPayload.UserAgent.DeviceType|null);
968
-
969
- /** UserAgent deviceModelType. */
970
- public deviceModelType?: (string|null);
971
-
972
- /** UserAgent _platform. */
973
- public _platform?: "platform";
974
-
975
- /** UserAgent _appVersion. */
976
- public _appVersion?: "appVersion";
977
-
978
- /** UserAgent _mcc. */
979
- public _mcc?: "mcc";
980
-
981
- /** UserAgent _mnc. */
982
- public _mnc?: "mnc";
983
-
984
- /** UserAgent _osVersion. */
985
- public _osVersion?: "osVersion";
986
-
987
- /** UserAgent _manufacturer. */
988
- public _manufacturer?: "manufacturer";
989
-
990
- /** UserAgent _device. */
991
- public _device?: "device";
992
-
993
- /** UserAgent _osBuildNumber. */
994
- public _osBuildNumber?: "osBuildNumber";
995
-
996
- /** UserAgent _phoneId. */
997
- public _phoneId?: "phoneId";
998
-
999
- /** UserAgent _releaseChannel. */
1000
- public _releaseChannel?: "releaseChannel";
1001
-
1002
- /** UserAgent _localeLanguageIso6391. */
1003
- public _localeLanguageIso6391?: "localeLanguageIso6391";
1004
-
1005
- /** UserAgent _localeCountryIso31661Alpha2. */
1006
- public _localeCountryIso31661Alpha2?: "localeCountryIso31661Alpha2";
1007
-
1008
- /** UserAgent _deviceBoard. */
1009
- public _deviceBoard?: "deviceBoard";
1010
-
1011
- /** UserAgent _deviceExpId. */
1012
- public _deviceExpId?: "deviceExpId";
1013
-
1014
- /** UserAgent _deviceType. */
1015
- public _deviceType?: "deviceType";
1016
-
1017
- /** UserAgent _deviceModelType. */
1018
- public _deviceModelType?: "deviceModelType";
1019
-
1020
- /**
1021
- * Creates a new UserAgent instance using the specified properties.
1022
- * @param [properties] Properties to set
1023
- * @returns UserAgent instance
1024
- */
1025
- public static create(properties?: Wa6.ClientPayload.IUserAgent): Wa6.ClientPayload.UserAgent;
1026
-
1027
- /**
1028
- * Encodes the specified UserAgent message. Does not implicitly {@link Wa6.ClientPayload.UserAgent.verify|verify} messages.
1029
- * @param message UserAgent message or plain object to encode
1030
- * @param [writer] Writer to encode to
1031
- * @returns Writer
1032
- */
1033
- public static encode(message: Wa6.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
1034
-
1035
- /**
1036
- * Encodes the specified UserAgent message, length delimited. Does not implicitly {@link Wa6.ClientPayload.UserAgent.verify|verify} messages.
1037
- * @param message UserAgent message or plain object to encode
1038
- * @param [writer] Writer to encode to
1039
- * @returns Writer
1040
- */
1041
- public static encodeDelimited(message: Wa6.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
1042
-
1043
- /**
1044
- * Decodes a UserAgent message from the specified reader or buffer.
1045
- * @param reader Reader or buffer to decode from
1046
- * @param [length] Message length if known beforehand
1047
- * @returns UserAgent
1048
- * @throws {Error} If the payload is not a reader or valid buffer
1049
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1050
- */
1051
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.UserAgent;
1052
-
1053
- /**
1054
- * Decodes a UserAgent message from the specified reader or buffer, length delimited.
1055
- * @param reader Reader or buffer to decode from
1056
- * @returns UserAgent
1057
- * @throws {Error} If the payload is not a reader or valid buffer
1058
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1059
- */
1060
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.UserAgent;
1061
-
1062
- /**
1063
- * Verifies a UserAgent message.
1064
- * @param message Plain object to verify
1065
- * @returns `null` if valid, otherwise the reason why it is not
1066
- */
1067
- public static verify(message: { [k: string]: any }): (string|null);
1068
-
1069
- /**
1070
- * Creates a UserAgent message from a plain object. Also converts values to their respective internal types.
1071
- * @param object Plain object
1072
- * @returns UserAgent
1073
- */
1074
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.UserAgent;
1075
-
1076
- /**
1077
- * Creates a plain object from a UserAgent message. Also converts values to other types if specified.
1078
- * @param message UserAgent
1079
- * @param [options] Conversion options
1080
- * @returns Plain object
1081
- */
1082
- public static toObject(message: Wa6.ClientPayload.UserAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
1083
-
1084
- /**
1085
- * Converts this UserAgent to JSON.
1086
- * @returns JSON object
1087
- */
1088
- public toJSON(): { [k: string]: any };
1089
-
1090
- /**
1091
- * Gets the default type url for UserAgent
1092
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1093
- * @returns The default type url
1094
- */
1095
- public static getTypeUrl(typeUrlPrefix?: string): string;
1096
- }
1097
-
1098
- namespace UserAgent {
1099
-
1100
- /** Properties of an AppVersion. */
1101
- interface IAppVersion {
1102
-
1103
- /** AppVersion primary */
1104
- primary?: (number|null);
1105
-
1106
- /** AppVersion secondary */
1107
- secondary?: (number|null);
1108
-
1109
- /** AppVersion tertiary */
1110
- tertiary?: (number|null);
1111
-
1112
- /** AppVersion quaternary */
1113
- quaternary?: (number|null);
1114
-
1115
- /** AppVersion quinary */
1116
- quinary?: (number|null);
1117
- }
1118
-
1119
- /** Represents an AppVersion. */
1120
- class AppVersion implements IAppVersion {
1121
-
1122
- /**
1123
- * Constructs a new AppVersion.
1124
- * @param [properties] Properties to set
1125
- */
1126
- constructor(properties?: Wa6.ClientPayload.UserAgent.IAppVersion);
1127
-
1128
- /** AppVersion primary. */
1129
- public primary?: (number|null);
1130
-
1131
- /** AppVersion secondary. */
1132
- public secondary?: (number|null);
1133
-
1134
- /** AppVersion tertiary. */
1135
- public tertiary?: (number|null);
1136
-
1137
- /** AppVersion quaternary. */
1138
- public quaternary?: (number|null);
1139
-
1140
- /** AppVersion quinary. */
1141
- public quinary?: (number|null);
1142
-
1143
- /** AppVersion _primary. */
1144
- public _primary?: "primary";
1145
-
1146
- /** AppVersion _secondary. */
1147
- public _secondary?: "secondary";
1148
-
1149
- /** AppVersion _tertiary. */
1150
- public _tertiary?: "tertiary";
1151
-
1152
- /** AppVersion _quaternary. */
1153
- public _quaternary?: "quaternary";
1154
-
1155
- /** AppVersion _quinary. */
1156
- public _quinary?: "quinary";
1157
-
1158
- /**
1159
- * Creates a new AppVersion instance using the specified properties.
1160
- * @param [properties] Properties to set
1161
- * @returns AppVersion instance
1162
- */
1163
- public static create(properties?: Wa6.ClientPayload.UserAgent.IAppVersion): Wa6.ClientPayload.UserAgent.AppVersion;
1164
-
1165
- /**
1166
- * Encodes the specified AppVersion message. Does not implicitly {@link Wa6.ClientPayload.UserAgent.AppVersion.verify|verify} messages.
1167
- * @param message AppVersion message or plain object to encode
1168
- * @param [writer] Writer to encode to
1169
- * @returns Writer
1170
- */
1171
- public static encode(message: Wa6.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
1172
-
1173
- /**
1174
- * Encodes the specified AppVersion message, length delimited. Does not implicitly {@link Wa6.ClientPayload.UserAgent.AppVersion.verify|verify} messages.
1175
- * @param message AppVersion message or plain object to encode
1176
- * @param [writer] Writer to encode to
1177
- * @returns Writer
1178
- */
1179
- public static encodeDelimited(message: Wa6.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
1180
-
1181
- /**
1182
- * Decodes an AppVersion message from the specified reader or buffer.
1183
- * @param reader Reader or buffer to decode from
1184
- * @param [length] Message length if known beforehand
1185
- * @returns AppVersion
1186
- * @throws {Error} If the payload is not a reader or valid buffer
1187
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1188
- */
1189
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.UserAgent.AppVersion;
1190
-
1191
- /**
1192
- * Decodes an AppVersion message from the specified reader or buffer, length delimited.
1193
- * @param reader Reader or buffer to decode from
1194
- * @returns AppVersion
1195
- * @throws {Error} If the payload is not a reader or valid buffer
1196
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1197
- */
1198
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.UserAgent.AppVersion;
1199
-
1200
- /**
1201
- * Verifies an AppVersion message.
1202
- * @param message Plain object to verify
1203
- * @returns `null` if valid, otherwise the reason why it is not
1204
- */
1205
- public static verify(message: { [k: string]: any }): (string|null);
1206
-
1207
- /**
1208
- * Creates an AppVersion message from a plain object. Also converts values to their respective internal types.
1209
- * @param object Plain object
1210
- * @returns AppVersion
1211
- */
1212
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.UserAgent.AppVersion;
1213
-
1214
- /**
1215
- * Creates a plain object from an AppVersion message. Also converts values to other types if specified.
1216
- * @param message AppVersion
1217
- * @param [options] Conversion options
1218
- * @returns Plain object
1219
- */
1220
- public static toObject(message: Wa6.ClientPayload.UserAgent.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
1221
-
1222
- /**
1223
- * Converts this AppVersion to JSON.
1224
- * @returns JSON object
1225
- */
1226
- public toJSON(): { [k: string]: any };
1227
-
1228
- /**
1229
- * Gets the default type url for AppVersion
1230
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1231
- * @returns The default type url
1232
- */
1233
- public static getTypeUrl(typeUrlPrefix?: string): string;
1234
- }
1235
-
1236
- /** DeviceType enum. */
1237
- enum DeviceType {
1238
- PHONE = 0,
1239
- TABLET = 1,
1240
- DESKTOP = 2,
1241
- WEARABLE = 3,
1242
- VR = 4
1243
- }
1244
-
1245
- /** Platform enum. */
1246
- enum Platform {
1247
- ANDROID = 0,
1248
- IOS = 1,
1249
- WINDOWS_PHONE = 2,
1250
- BLACKBERRY = 3,
1251
- BLACKBERRYX = 4,
1252
- S40 = 5,
1253
- S60 = 6,
1254
- PYTHON_CLIENT = 7,
1255
- TIZEN = 8,
1256
- ENTERPRISE = 9,
1257
- SMB_ANDROID = 10,
1258
- KAIOS = 11,
1259
- SMB_IOS = 12,
1260
- WINDOWS = 13,
1261
- WEB = 14,
1262
- PORTAL = 15,
1263
- GREEN_ANDROID = 16,
1264
- GREEN_IPHONE = 17,
1265
- BLUE_ANDROID = 18,
1266
- BLUE_IPHONE = 19,
1267
- FBLITE_ANDROID = 20,
1268
- MLITE_ANDROID = 21,
1269
- IGLITE_ANDROID = 22,
1270
- PAGE = 23,
1271
- MACOS = 24,
1272
- OCULUS_MSG = 25,
1273
- OCULUS_CALL = 26,
1274
- MILAN = 27,
1275
- CAPI = 28,
1276
- WEAROS = 29,
1277
- ARDEVICE = 30,
1278
- VRDEVICE = 31,
1279
- BLUE_WEB = 32,
1280
- IPAD = 33,
1281
- TEST = 34,
1282
- SMART_GLASSES = 35,
1283
- BLUE_VR = 36,
1284
- AR_WRIST = 37
1285
- }
1286
-
1287
- /** ReleaseChannel enum. */
1288
- enum ReleaseChannel {
1289
- RELEASE = 0,
1290
- BETA = 1,
1291
- ALPHA = 2,
1292
- DEBUG = 3
1293
- }
1294
- }
1295
-
1296
- /** Properties of a WebInfo. */
1297
- interface IWebInfo {
1298
-
1299
- /** WebInfo refToken */
1300
- refToken?: (string|null);
1301
-
1302
- /** WebInfo version */
1303
- version?: (string|null);
1304
-
1305
- /** WebInfo webdPayload */
1306
- webdPayload?: (Wa6.ClientPayload.WebInfo.IWebdPayload|null);
1307
-
1308
- /** WebInfo webSubPlatform */
1309
- webSubPlatform?: (Wa6.ClientPayload.WebInfo.WebSubPlatform|null);
1310
- }
1311
-
1312
- /** Represents a WebInfo. */
1313
- class WebInfo implements IWebInfo {
1314
-
1315
- /**
1316
- * Constructs a new WebInfo.
1317
- * @param [properties] Properties to set
1318
- */
1319
- constructor(properties?: Wa6.ClientPayload.IWebInfo);
1320
-
1321
- /** WebInfo refToken. */
1322
- public refToken?: (string|null);
1323
-
1324
- /** WebInfo version. */
1325
- public version?: (string|null);
1326
-
1327
- /** WebInfo webdPayload. */
1328
- public webdPayload?: (Wa6.ClientPayload.WebInfo.IWebdPayload|null);
1329
-
1330
- /** WebInfo webSubPlatform. */
1331
- public webSubPlatform?: (Wa6.ClientPayload.WebInfo.WebSubPlatform|null);
1332
-
1333
- /** WebInfo _refToken. */
1334
- public _refToken?: "refToken";
1335
-
1336
- /** WebInfo _version. */
1337
- public _version?: "version";
1338
-
1339
- /** WebInfo _webdPayload. */
1340
- public _webdPayload?: "webdPayload";
1341
-
1342
- /** WebInfo _webSubPlatform. */
1343
- public _webSubPlatform?: "webSubPlatform";
1344
-
1345
- /**
1346
- * Creates a new WebInfo instance using the specified properties.
1347
- * @param [properties] Properties to set
1348
- * @returns WebInfo instance
1349
- */
1350
- public static create(properties?: Wa6.ClientPayload.IWebInfo): Wa6.ClientPayload.WebInfo;
1351
-
1352
- /**
1353
- * Encodes the specified WebInfo message. Does not implicitly {@link Wa6.ClientPayload.WebInfo.verify|verify} messages.
1354
- * @param message WebInfo message or plain object to encode
1355
- * @param [writer] Writer to encode to
1356
- * @returns Writer
1357
- */
1358
- public static encode(message: Wa6.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1359
-
1360
- /**
1361
- * Encodes the specified WebInfo message, length delimited. Does not implicitly {@link Wa6.ClientPayload.WebInfo.verify|verify} messages.
1362
- * @param message WebInfo message or plain object to encode
1363
- * @param [writer] Writer to encode to
1364
- * @returns Writer
1365
- */
1366
- public static encodeDelimited(message: Wa6.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1367
-
1368
- /**
1369
- * Decodes a WebInfo message from the specified reader or buffer.
1370
- * @param reader Reader or buffer to decode from
1371
- * @param [length] Message length if known beforehand
1372
- * @returns WebInfo
1373
- * @throws {Error} If the payload is not a reader or valid buffer
1374
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1375
- */
1376
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.WebInfo;
1377
-
1378
- /**
1379
- * Decodes a WebInfo message from the specified reader or buffer, length delimited.
1380
- * @param reader Reader or buffer to decode from
1381
- * @returns WebInfo
1382
- * @throws {Error} If the payload is not a reader or valid buffer
1383
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1384
- */
1385
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.WebInfo;
1386
-
1387
- /**
1388
- * Verifies a WebInfo message.
1389
- * @param message Plain object to verify
1390
- * @returns `null` if valid, otherwise the reason why it is not
1391
- */
1392
- public static verify(message: { [k: string]: any }): (string|null);
1393
-
1394
- /**
1395
- * Creates a WebInfo message from a plain object. Also converts values to their respective internal types.
1396
- * @param object Plain object
1397
- * @returns WebInfo
1398
- */
1399
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.WebInfo;
1400
-
1401
- /**
1402
- * Creates a plain object from a WebInfo message. Also converts values to other types if specified.
1403
- * @param message WebInfo
1404
- * @param [options] Conversion options
1405
- * @returns Plain object
1406
- */
1407
- public static toObject(message: Wa6.ClientPayload.WebInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
1408
-
1409
- /**
1410
- * Converts this WebInfo to JSON.
1411
- * @returns JSON object
1412
- */
1413
- public toJSON(): { [k: string]: any };
1414
-
1415
- /**
1416
- * Gets the default type url for WebInfo
1417
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1418
- * @returns The default type url
1419
- */
1420
- public static getTypeUrl(typeUrlPrefix?: string): string;
1421
- }
1422
-
1423
- namespace WebInfo {
1424
-
1425
- /** WebSubPlatform enum. */
1426
- enum WebSubPlatform {
1427
- WEB_BROWSER = 0,
1428
- APP_STORE = 1,
1429
- WIN_STORE = 2,
1430
- DARWIN = 3,
1431
- WIN32 = 4,
1432
- WIN_HYBRID = 5
1433
- }
1434
-
1435
- /** Properties of a WebdPayload. */
1436
- interface IWebdPayload {
1437
-
1438
- /** WebdPayload usesParticipantInKey */
1439
- usesParticipantInKey?: (boolean|null);
1440
-
1441
- /** WebdPayload supportsStarredMessages */
1442
- supportsStarredMessages?: (boolean|null);
1443
-
1444
- /** WebdPayload supportsDocumentMessages */
1445
- supportsDocumentMessages?: (boolean|null);
1446
-
1447
- /** WebdPayload supportsUrlMessages */
1448
- supportsUrlMessages?: (boolean|null);
1449
-
1450
- /** WebdPayload supportsMediaRetry */
1451
- supportsMediaRetry?: (boolean|null);
1452
-
1453
- /** WebdPayload supportsE2EImage */
1454
- supportsE2EImage?: (boolean|null);
1455
-
1456
- /** WebdPayload supportsE2EVideo */
1457
- supportsE2EVideo?: (boolean|null);
1458
-
1459
- /** WebdPayload supportsE2EAudio */
1460
- supportsE2EAudio?: (boolean|null);
1461
-
1462
- /** WebdPayload supportsE2EDocument */
1463
- supportsE2EDocument?: (boolean|null);
1464
-
1465
- /** WebdPayload documentTypes */
1466
- documentTypes?: (string|null);
1467
-
1468
- /** WebdPayload features */
1469
- features?: (Uint8Array|null);
1470
- }
1471
-
1472
- /** Represents a WebdPayload. */
1473
- class WebdPayload implements IWebdPayload {
1474
-
1475
- /**
1476
- * Constructs a new WebdPayload.
1477
- * @param [properties] Properties to set
1478
- */
1479
- constructor(properties?: Wa6.ClientPayload.WebInfo.IWebdPayload);
1480
-
1481
- /** WebdPayload usesParticipantInKey. */
1482
- public usesParticipantInKey?: (boolean|null);
1483
-
1484
- /** WebdPayload supportsStarredMessages. */
1485
- public supportsStarredMessages?: (boolean|null);
1486
-
1487
- /** WebdPayload supportsDocumentMessages. */
1488
- public supportsDocumentMessages?: (boolean|null);
1489
-
1490
- /** WebdPayload supportsUrlMessages. */
1491
- public supportsUrlMessages?: (boolean|null);
1492
-
1493
- /** WebdPayload supportsMediaRetry. */
1494
- public supportsMediaRetry?: (boolean|null);
1495
-
1496
- /** WebdPayload supportsE2EImage. */
1497
- public supportsE2EImage?: (boolean|null);
1498
-
1499
- /** WebdPayload supportsE2EVideo. */
1500
- public supportsE2EVideo?: (boolean|null);
1501
-
1502
- /** WebdPayload supportsE2EAudio. */
1503
- public supportsE2EAudio?: (boolean|null);
1504
-
1505
- /** WebdPayload supportsE2EDocument. */
1506
- public supportsE2EDocument?: (boolean|null);
1507
-
1508
- /** WebdPayload documentTypes. */
1509
- public documentTypes?: (string|null);
1510
-
1511
- /** WebdPayload features. */
1512
- public features?: (Uint8Array|null);
1513
-
1514
- /** WebdPayload _usesParticipantInKey. */
1515
- public _usesParticipantInKey?: "usesParticipantInKey";
1516
-
1517
- /** WebdPayload _supportsStarredMessages. */
1518
- public _supportsStarredMessages?: "supportsStarredMessages";
1519
-
1520
- /** WebdPayload _supportsDocumentMessages. */
1521
- public _supportsDocumentMessages?: "supportsDocumentMessages";
1522
-
1523
- /** WebdPayload _supportsUrlMessages. */
1524
- public _supportsUrlMessages?: "supportsUrlMessages";
1525
-
1526
- /** WebdPayload _supportsMediaRetry. */
1527
- public _supportsMediaRetry?: "supportsMediaRetry";
1528
-
1529
- /** WebdPayload _supportsE2EImage. */
1530
- public _supportsE2EImage?: "supportsE2EImage";
1531
-
1532
- /** WebdPayload _supportsE2EVideo. */
1533
- public _supportsE2EVideo?: "supportsE2EVideo";
1534
-
1535
- /** WebdPayload _supportsE2EAudio. */
1536
- public _supportsE2EAudio?: "supportsE2EAudio";
1537
-
1538
- /** WebdPayload _supportsE2EDocument. */
1539
- public _supportsE2EDocument?: "supportsE2EDocument";
1540
-
1541
- /** WebdPayload _documentTypes. */
1542
- public _documentTypes?: "documentTypes";
1543
-
1544
- /** WebdPayload _features. */
1545
- public _features?: "features";
1546
-
1547
- /**
1548
- * Creates a new WebdPayload instance using the specified properties.
1549
- * @param [properties] Properties to set
1550
- * @returns WebdPayload instance
1551
- */
1552
- public static create(properties?: Wa6.ClientPayload.WebInfo.IWebdPayload): Wa6.ClientPayload.WebInfo.WebdPayload;
1553
-
1554
- /**
1555
- * Encodes the specified WebdPayload message. Does not implicitly {@link Wa6.ClientPayload.WebInfo.WebdPayload.verify|verify} messages.
1556
- * @param message WebdPayload message or plain object to encode
1557
- * @param [writer] Writer to encode to
1558
- * @returns Writer
1559
- */
1560
- public static encode(message: Wa6.ClientPayload.WebInfo.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer;
1561
-
1562
- /**
1563
- * Encodes the specified WebdPayload message, length delimited. Does not implicitly {@link Wa6.ClientPayload.WebInfo.WebdPayload.verify|verify} messages.
1564
- * @param message WebdPayload message or plain object to encode
1565
- * @param [writer] Writer to encode to
1566
- * @returns Writer
1567
- */
1568
- public static encodeDelimited(message: Wa6.ClientPayload.WebInfo.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer;
1569
-
1570
- /**
1571
- * Decodes a WebdPayload message from the specified reader or buffer.
1572
- * @param reader Reader or buffer to decode from
1573
- * @param [length] Message length if known beforehand
1574
- * @returns WebdPayload
1575
- * @throws {Error} If the payload is not a reader or valid buffer
1576
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1577
- */
1578
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.ClientPayload.WebInfo.WebdPayload;
1579
-
1580
- /**
1581
- * Decodes a WebdPayload message from the specified reader or buffer, length delimited.
1582
- * @param reader Reader or buffer to decode from
1583
- * @returns WebdPayload
1584
- * @throws {Error} If the payload is not a reader or valid buffer
1585
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1586
- */
1587
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.ClientPayload.WebInfo.WebdPayload;
1588
-
1589
- /**
1590
- * Verifies a WebdPayload message.
1591
- * @param message Plain object to verify
1592
- * @returns `null` if valid, otherwise the reason why it is not
1593
- */
1594
- public static verify(message: { [k: string]: any }): (string|null);
1595
-
1596
- /**
1597
- * Creates a WebdPayload message from a plain object. Also converts values to their respective internal types.
1598
- * @param object Plain object
1599
- * @returns WebdPayload
1600
- */
1601
- public static fromObject(object: { [k: string]: any }): Wa6.ClientPayload.WebInfo.WebdPayload;
1602
-
1603
- /**
1604
- * Creates a plain object from a WebdPayload message. Also converts values to other types if specified.
1605
- * @param message WebdPayload
1606
- * @param [options] Conversion options
1607
- * @returns Plain object
1608
- */
1609
- public static toObject(message: Wa6.ClientPayload.WebInfo.WebdPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
1610
-
1611
- /**
1612
- * Converts this WebdPayload to JSON.
1613
- * @returns JSON object
1614
- */
1615
- public toJSON(): { [k: string]: any };
1616
-
1617
- /**
1618
- * Gets the default type url for WebdPayload
1619
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1620
- * @returns The default type url
1621
- */
1622
- public static getTypeUrl(typeUrlPrefix?: string): string;
1623
- }
1624
- }
1625
- }
1626
-
1627
- /** Properties of a HandshakeMessage. */
1628
- interface IHandshakeMessage {
1629
-
1630
- /** HandshakeMessage clientHello */
1631
- clientHello?: (Wa6.HandshakeMessage.IClientHello|null);
1632
-
1633
- /** HandshakeMessage serverHello */
1634
- serverHello?: (Wa6.HandshakeMessage.IServerHello|null);
1635
-
1636
- /** HandshakeMessage clientFinish */
1637
- clientFinish?: (Wa6.HandshakeMessage.IClientFinish|null);
1638
- }
1639
-
1640
- /** Represents a HandshakeMessage. */
1641
- class HandshakeMessage implements IHandshakeMessage {
1642
-
1643
- /**
1644
- * Constructs a new HandshakeMessage.
1645
- * @param [properties] Properties to set
1646
- */
1647
- constructor(properties?: Wa6.IHandshakeMessage);
1648
-
1649
- /** HandshakeMessage clientHello. */
1650
- public clientHello?: (Wa6.HandshakeMessage.IClientHello|null);
1651
-
1652
- /** HandshakeMessage serverHello. */
1653
- public serverHello?: (Wa6.HandshakeMessage.IServerHello|null);
1654
-
1655
- /** HandshakeMessage clientFinish. */
1656
- public clientFinish?: (Wa6.HandshakeMessage.IClientFinish|null);
1657
-
1658
- /** HandshakeMessage _clientHello. */
1659
- public _clientHello?: "clientHello";
1660
-
1661
- /** HandshakeMessage _serverHello. */
1662
- public _serverHello?: "serverHello";
1663
-
1664
- /** HandshakeMessage _clientFinish. */
1665
- public _clientFinish?: "clientFinish";
1666
-
1667
- /**
1668
- * Creates a new HandshakeMessage instance using the specified properties.
1669
- * @param [properties] Properties to set
1670
- * @returns HandshakeMessage instance
1671
- */
1672
- public static create(properties?: Wa6.IHandshakeMessage): Wa6.HandshakeMessage;
1673
-
1674
- /**
1675
- * Encodes the specified HandshakeMessage message. Does not implicitly {@link Wa6.HandshakeMessage.verify|verify} messages.
1676
- * @param message HandshakeMessage message or plain object to encode
1677
- * @param [writer] Writer to encode to
1678
- * @returns Writer
1679
- */
1680
- public static encode(message: Wa6.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1681
-
1682
- /**
1683
- * Encodes the specified HandshakeMessage message, length delimited. Does not implicitly {@link Wa6.HandshakeMessage.verify|verify} messages.
1684
- * @param message HandshakeMessage message or plain object to encode
1685
- * @param [writer] Writer to encode to
1686
- * @returns Writer
1687
- */
1688
- public static encodeDelimited(message: Wa6.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1689
-
1690
- /**
1691
- * Decodes a HandshakeMessage message from the specified reader or buffer.
1692
- * @param reader Reader or buffer to decode from
1693
- * @param [length] Message length if known beforehand
1694
- * @returns HandshakeMessage
1695
- * @throws {Error} If the payload is not a reader or valid buffer
1696
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1697
- */
1698
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.HandshakeMessage;
1699
-
1700
- /**
1701
- * Decodes a HandshakeMessage message from the specified reader or buffer, length delimited.
1702
- * @param reader Reader or buffer to decode from
1703
- * @returns HandshakeMessage
1704
- * @throws {Error} If the payload is not a reader or valid buffer
1705
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1706
- */
1707
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.HandshakeMessage;
1708
-
1709
- /**
1710
- * Verifies a HandshakeMessage message.
1711
- * @param message Plain object to verify
1712
- * @returns `null` if valid, otherwise the reason why it is not
1713
- */
1714
- public static verify(message: { [k: string]: any }): (string|null);
1715
-
1716
- /**
1717
- * Creates a HandshakeMessage message from a plain object. Also converts values to their respective internal types.
1718
- * @param object Plain object
1719
- * @returns HandshakeMessage
1720
- */
1721
- public static fromObject(object: { [k: string]: any }): Wa6.HandshakeMessage;
1722
-
1723
- /**
1724
- * Creates a plain object from a HandshakeMessage message. Also converts values to other types if specified.
1725
- * @param message HandshakeMessage
1726
- * @param [options] Conversion options
1727
- * @returns Plain object
1728
- */
1729
- public static toObject(message: Wa6.HandshakeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1730
-
1731
- /**
1732
- * Converts this HandshakeMessage to JSON.
1733
- * @returns JSON object
1734
- */
1735
- public toJSON(): { [k: string]: any };
1736
-
1737
- /**
1738
- * Gets the default type url for HandshakeMessage
1739
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1740
- * @returns The default type url
1741
- */
1742
- public static getTypeUrl(typeUrlPrefix?: string): string;
1743
- }
1744
-
1745
- namespace HandshakeMessage {
1746
-
1747
- /** Properties of a ClientFinish. */
1748
- interface IClientFinish {
1749
-
1750
- /** ClientFinish static */
1751
- "static"?: (Uint8Array|null);
1752
-
1753
- /** ClientFinish payload */
1754
- payload?: (Uint8Array|null);
1755
-
1756
- /** ClientFinish extendedCiphertext */
1757
- extendedCiphertext?: (Uint8Array|null);
1758
- }
1759
-
1760
- /** Represents a ClientFinish. */
1761
- class ClientFinish implements IClientFinish {
1762
-
1763
- /**
1764
- * Constructs a new ClientFinish.
1765
- * @param [properties] Properties to set
1766
- */
1767
- constructor(properties?: Wa6.HandshakeMessage.IClientFinish);
1768
-
1769
- /** ClientFinish static. */
1770
- public static?: (Uint8Array|null);
1771
-
1772
- /** ClientFinish payload. */
1773
- public payload?: (Uint8Array|null);
1774
-
1775
- /** ClientFinish extendedCiphertext. */
1776
- public extendedCiphertext?: (Uint8Array|null);
1777
-
1778
- /** ClientFinish _static. */
1779
- public _static?: "static";
1780
-
1781
- /** ClientFinish _payload. */
1782
- public _payload?: "payload";
1783
-
1784
- /** ClientFinish _extendedCiphertext. */
1785
- public _extendedCiphertext?: "extendedCiphertext";
1786
-
1787
- /**
1788
- * Creates a new ClientFinish instance using the specified properties.
1789
- * @param [properties] Properties to set
1790
- * @returns ClientFinish instance
1791
- */
1792
- public static create(properties?: Wa6.HandshakeMessage.IClientFinish): Wa6.HandshakeMessage.ClientFinish;
1793
-
1794
- /**
1795
- * Encodes the specified ClientFinish message. Does not implicitly {@link Wa6.HandshakeMessage.ClientFinish.verify|verify} messages.
1796
- * @param message ClientFinish message or plain object to encode
1797
- * @param [writer] Writer to encode to
1798
- * @returns Writer
1799
- */
1800
- public static encode(message: Wa6.HandshakeMessage.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer;
1801
-
1802
- /**
1803
- * Encodes the specified ClientFinish message, length delimited. Does not implicitly {@link Wa6.HandshakeMessage.ClientFinish.verify|verify} messages.
1804
- * @param message ClientFinish message or plain object to encode
1805
- * @param [writer] Writer to encode to
1806
- * @returns Writer
1807
- */
1808
- public static encodeDelimited(message: Wa6.HandshakeMessage.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer;
1809
-
1810
- /**
1811
- * Decodes a ClientFinish message from the specified reader or buffer.
1812
- * @param reader Reader or buffer to decode from
1813
- * @param [length] Message length if known beforehand
1814
- * @returns ClientFinish
1815
- * @throws {Error} If the payload is not a reader or valid buffer
1816
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1817
- */
1818
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.HandshakeMessage.ClientFinish;
1819
-
1820
- /**
1821
- * Decodes a ClientFinish message from the specified reader or buffer, length delimited.
1822
- * @param reader Reader or buffer to decode from
1823
- * @returns ClientFinish
1824
- * @throws {Error} If the payload is not a reader or valid buffer
1825
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1826
- */
1827
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.HandshakeMessage.ClientFinish;
1828
-
1829
- /**
1830
- * Verifies a ClientFinish message.
1831
- * @param message Plain object to verify
1832
- * @returns `null` if valid, otherwise the reason why it is not
1833
- */
1834
- public static verify(message: { [k: string]: any }): (string|null);
1835
-
1836
- /**
1837
- * Creates a ClientFinish message from a plain object. Also converts values to their respective internal types.
1838
- * @param object Plain object
1839
- * @returns ClientFinish
1840
- */
1841
- public static fromObject(object: { [k: string]: any }): Wa6.HandshakeMessage.ClientFinish;
1842
-
1843
- /**
1844
- * Creates a plain object from a ClientFinish message. Also converts values to other types if specified.
1845
- * @param message ClientFinish
1846
- * @param [options] Conversion options
1847
- * @returns Plain object
1848
- */
1849
- public static toObject(message: Wa6.HandshakeMessage.ClientFinish, options?: $protobuf.IConversionOptions): { [k: string]: any };
1850
-
1851
- /**
1852
- * Converts this ClientFinish to JSON.
1853
- * @returns JSON object
1854
- */
1855
- public toJSON(): { [k: string]: any };
1856
-
1857
- /**
1858
- * Gets the default type url for ClientFinish
1859
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1860
- * @returns The default type url
1861
- */
1862
- public static getTypeUrl(typeUrlPrefix?: string): string;
1863
- }
1864
-
1865
- /** Properties of a ClientHello. */
1866
- interface IClientHello {
1867
-
1868
- /** ClientHello ephemeral */
1869
- ephemeral?: (Uint8Array|null);
1870
-
1871
- /** ClientHello static */
1872
- "static"?: (Uint8Array|null);
1873
-
1874
- /** ClientHello payload */
1875
- payload?: (Uint8Array|null);
1876
-
1877
- /** ClientHello useExtended */
1878
- useExtended?: (boolean|null);
1879
-
1880
- /** ClientHello extendedCiphertext */
1881
- extendedCiphertext?: (Uint8Array|null);
1882
- }
1883
-
1884
- /** Represents a ClientHello. */
1885
- class ClientHello implements IClientHello {
1886
-
1887
- /**
1888
- * Constructs a new ClientHello.
1889
- * @param [properties] Properties to set
1890
- */
1891
- constructor(properties?: Wa6.HandshakeMessage.IClientHello);
1892
-
1893
- /** ClientHello ephemeral. */
1894
- public ephemeral?: (Uint8Array|null);
1895
-
1896
- /** ClientHello static. */
1897
- public static?: (Uint8Array|null);
1898
-
1899
- /** ClientHello payload. */
1900
- public payload?: (Uint8Array|null);
1901
-
1902
- /** ClientHello useExtended. */
1903
- public useExtended?: (boolean|null);
1904
-
1905
- /** ClientHello extendedCiphertext. */
1906
- public extendedCiphertext?: (Uint8Array|null);
1907
-
1908
- /** ClientHello _ephemeral. */
1909
- public _ephemeral?: "ephemeral";
1910
-
1911
- /** ClientHello _static. */
1912
- public _static?: "static";
1913
-
1914
- /** ClientHello _payload. */
1915
- public _payload?: "payload";
1916
-
1917
- /** ClientHello _useExtended. */
1918
- public _useExtended?: "useExtended";
1919
-
1920
- /** ClientHello _extendedCiphertext. */
1921
- public _extendedCiphertext?: "extendedCiphertext";
1922
-
1923
- /**
1924
- * Creates a new ClientHello instance using the specified properties.
1925
- * @param [properties] Properties to set
1926
- * @returns ClientHello instance
1927
- */
1928
- public static create(properties?: Wa6.HandshakeMessage.IClientHello): Wa6.HandshakeMessage.ClientHello;
1929
-
1930
- /**
1931
- * Encodes the specified ClientHello message. Does not implicitly {@link Wa6.HandshakeMessage.ClientHello.verify|verify} messages.
1932
- * @param message ClientHello message or plain object to encode
1933
- * @param [writer] Writer to encode to
1934
- * @returns Writer
1935
- */
1936
- public static encode(message: Wa6.HandshakeMessage.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer;
1937
-
1938
- /**
1939
- * Encodes the specified ClientHello message, length delimited. Does not implicitly {@link Wa6.HandshakeMessage.ClientHello.verify|verify} messages.
1940
- * @param message ClientHello message or plain object to encode
1941
- * @param [writer] Writer to encode to
1942
- * @returns Writer
1943
- */
1944
- public static encodeDelimited(message: Wa6.HandshakeMessage.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer;
1945
-
1946
- /**
1947
- * Decodes a ClientHello message from the specified reader or buffer.
1948
- * @param reader Reader or buffer to decode from
1949
- * @param [length] Message length if known beforehand
1950
- * @returns ClientHello
1951
- * @throws {Error} If the payload is not a reader or valid buffer
1952
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1953
- */
1954
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.HandshakeMessage.ClientHello;
1955
-
1956
- /**
1957
- * Decodes a ClientHello message from the specified reader or buffer, length delimited.
1958
- * @param reader Reader or buffer to decode from
1959
- * @returns ClientHello
1960
- * @throws {Error} If the payload is not a reader or valid buffer
1961
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1962
- */
1963
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.HandshakeMessage.ClientHello;
1964
-
1965
- /**
1966
- * Verifies a ClientHello message.
1967
- * @param message Plain object to verify
1968
- * @returns `null` if valid, otherwise the reason why it is not
1969
- */
1970
- public static verify(message: { [k: string]: any }): (string|null);
1971
-
1972
- /**
1973
- * Creates a ClientHello message from a plain object. Also converts values to their respective internal types.
1974
- * @param object Plain object
1975
- * @returns ClientHello
1976
- */
1977
- public static fromObject(object: { [k: string]: any }): Wa6.HandshakeMessage.ClientHello;
1978
-
1979
- /**
1980
- * Creates a plain object from a ClientHello message. Also converts values to other types if specified.
1981
- * @param message ClientHello
1982
- * @param [options] Conversion options
1983
- * @returns Plain object
1984
- */
1985
- public static toObject(message: Wa6.HandshakeMessage.ClientHello, options?: $protobuf.IConversionOptions): { [k: string]: any };
1986
-
1987
- /**
1988
- * Converts this ClientHello to JSON.
1989
- * @returns JSON object
1990
- */
1991
- public toJSON(): { [k: string]: any };
1992
-
1993
- /**
1994
- * Gets the default type url for ClientHello
1995
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1996
- * @returns The default type url
1997
- */
1998
- public static getTypeUrl(typeUrlPrefix?: string): string;
1999
- }
2000
-
2001
- /** Properties of a ServerHello. */
2002
- interface IServerHello {
2003
-
2004
- /** ServerHello ephemeral */
2005
- ephemeral?: (Uint8Array|null);
2006
-
2007
- /** ServerHello static */
2008
- "static"?: (Uint8Array|null);
2009
-
2010
- /** ServerHello payload */
2011
- payload?: (Uint8Array|null);
2012
-
2013
- /** ServerHello extendedStatic */
2014
- extendedStatic?: (Uint8Array|null);
2015
- }
2016
-
2017
- /** Represents a ServerHello. */
2018
- class ServerHello implements IServerHello {
2019
-
2020
- /**
2021
- * Constructs a new ServerHello.
2022
- * @param [properties] Properties to set
2023
- */
2024
- constructor(properties?: Wa6.HandshakeMessage.IServerHello);
2025
-
2026
- /** ServerHello ephemeral. */
2027
- public ephemeral?: (Uint8Array|null);
2028
-
2029
- /** ServerHello static. */
2030
- public static?: (Uint8Array|null);
2031
-
2032
- /** ServerHello payload. */
2033
- public payload?: (Uint8Array|null);
2034
-
2035
- /** ServerHello extendedStatic. */
2036
- public extendedStatic?: (Uint8Array|null);
2037
-
2038
- /** ServerHello _ephemeral. */
2039
- public _ephemeral?: "ephemeral";
2040
-
2041
- /** ServerHello _static. */
2042
- public _static?: "static";
2043
-
2044
- /** ServerHello _payload. */
2045
- public _payload?: "payload";
2046
-
2047
- /** ServerHello _extendedStatic. */
2048
- public _extendedStatic?: "extendedStatic";
2049
-
2050
- /**
2051
- * Creates a new ServerHello instance using the specified properties.
2052
- * @param [properties] Properties to set
2053
- * @returns ServerHello instance
2054
- */
2055
- public static create(properties?: Wa6.HandshakeMessage.IServerHello): Wa6.HandshakeMessage.ServerHello;
2056
-
2057
- /**
2058
- * Encodes the specified ServerHello message. Does not implicitly {@link Wa6.HandshakeMessage.ServerHello.verify|verify} messages.
2059
- * @param message ServerHello message or plain object to encode
2060
- * @param [writer] Writer to encode to
2061
- * @returns Writer
2062
- */
2063
- public static encode(message: Wa6.HandshakeMessage.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer;
2064
-
2065
- /**
2066
- * Encodes the specified ServerHello message, length delimited. Does not implicitly {@link Wa6.HandshakeMessage.ServerHello.verify|verify} messages.
2067
- * @param message ServerHello message or plain object to encode
2068
- * @param [writer] Writer to encode to
2069
- * @returns Writer
2070
- */
2071
- public static encodeDelimited(message: Wa6.HandshakeMessage.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer;
2072
-
2073
- /**
2074
- * Decodes a ServerHello message from the specified reader or buffer.
2075
- * @param reader Reader or buffer to decode from
2076
- * @param [length] Message length if known beforehand
2077
- * @returns ServerHello
2078
- * @throws {Error} If the payload is not a reader or valid buffer
2079
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2080
- */
2081
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Wa6.HandshakeMessage.ServerHello;
2082
-
2083
- /**
2084
- * Decodes a ServerHello message from the specified reader or buffer, length delimited.
2085
- * @param reader Reader or buffer to decode from
2086
- * @returns ServerHello
2087
- * @throws {Error} If the payload is not a reader or valid buffer
2088
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2089
- */
2090
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Wa6.HandshakeMessage.ServerHello;
2091
-
2092
- /**
2093
- * Verifies a ServerHello message.
2094
- * @param message Plain object to verify
2095
- * @returns `null` if valid, otherwise the reason why it is not
2096
- */
2097
- public static verify(message: { [k: string]: any }): (string|null);
2098
-
2099
- /**
2100
- * Creates a ServerHello message from a plain object. Also converts values to their respective internal types.
2101
- * @param object Plain object
2102
- * @returns ServerHello
2103
- */
2104
- public static fromObject(object: { [k: string]: any }): Wa6.HandshakeMessage.ServerHello;
2105
-
2106
- /**
2107
- * Creates a plain object from a ServerHello message. Also converts values to other types if specified.
2108
- * @param message ServerHello
2109
- * @param [options] Conversion options
2110
- * @returns Plain object
2111
- */
2112
- public static toObject(message: Wa6.HandshakeMessage.ServerHello, options?: $protobuf.IConversionOptions): { [k: string]: any };
2113
-
2114
- /**
2115
- * Converts this ServerHello to JSON.
2116
- * @returns JSON object
2117
- */
2118
- public toJSON(): { [k: string]: any };
2119
-
2120
- /**
2121
- * Gets the default type url for ServerHello
2122
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2123
- * @returns The default type url
2124
- */
2125
- public static getTypeUrl(typeUrlPrefix?: string): string;
2126
- }
2127
- }
2128
- }