@wppconnect/wa-proto 2.3000.1054696247 → 2.3000.1054721061
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.
- package/WAProto.proto +410 -1
- package/dist/index.d.ts +26083 -18129
- package/dist/index.js +79201 -57415
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1054721061
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -328,6 +328,24 @@ message ActionLink {
|
|
|
328
328
|
optional string buttonTitle = 2;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
+
message AddDeviceKeysOutput {
|
|
332
|
+
required bytes devicePublicKey = 1;
|
|
333
|
+
required bytes epochAuthPublicKey = 2;
|
|
334
|
+
required bytes epochAuthPublicKeySig = 3;
|
|
335
|
+
required bytes epochStoragePublicKey = 4;
|
|
336
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
337
|
+
required bytes epochStoragePrivateKey = 6;
|
|
338
|
+
required bytes orfClientState = 7;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
message AddDeviceSyncEpochInput {
|
|
342
|
+
required uint64 epochId = 1;
|
|
343
|
+
required int32 epochAnonId = 2;
|
|
344
|
+
optional bytes encryptedEpochKey = 3;
|
|
345
|
+
required bytes senderAuthPubKey = 4;
|
|
346
|
+
optional uint64 nextEpochId = 5;
|
|
347
|
+
}
|
|
348
|
+
|
|
331
349
|
message AutoDownloadSettings {
|
|
332
350
|
optional bool downloadImages = 1;
|
|
333
351
|
optional bool downloadAudio = 2;
|
|
@@ -340,6 +358,12 @@ message AvatarUserSettings {
|
|
|
340
358
|
optional string password = 2;
|
|
341
359
|
}
|
|
342
360
|
|
|
361
|
+
message BackwardEdge {
|
|
362
|
+
required bytes encryptedPrevEpochAnonId = 1;
|
|
363
|
+
required bytes encryptedPrevEpochRootKey = 2;
|
|
364
|
+
required bytes prevEpochRootKeyFingerprint = 3;
|
|
365
|
+
}
|
|
366
|
+
|
|
343
367
|
message BizAIMetadataSync {
|
|
344
368
|
oneof operation {
|
|
345
369
|
BizAIMetadataSync.ServerEvent serverEvent = 1;
|
|
@@ -1537,6 +1561,36 @@ message CompanionEphemeralIdentity {
|
|
|
1537
1561
|
optional string ref = 3;
|
|
1538
1562
|
}
|
|
1539
1563
|
|
|
1564
|
+
message CompanionTestMessageThreadIdInput {
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
message CompanionTestMessageThreadIdOutput {
|
|
1568
|
+
oneof result {
|
|
1569
|
+
CompanionTestMessageThreadIdSuccess success = 1;
|
|
1570
|
+
string error = 2;
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
message CompanionTestMessageThreadIdSuccess {
|
|
1575
|
+
required string threadId = 1;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
message ComputeClientSealTokenInput {
|
|
1579
|
+
required bytes orfClientState = 1;
|
|
1580
|
+
required uint64 backupId = 2;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
message ComputeClientSealTokenOutput {
|
|
1584
|
+
oneof result {
|
|
1585
|
+
ComputeClientSealTokenSuccess success = 1;
|
|
1586
|
+
string error = 2;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
message ComputeClientSealTokenSuccess {
|
|
1591
|
+
required bytes clientSealToken = 1;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1540
1594
|
message Config {
|
|
1541
1595
|
map<uint32, Field> field = 1;
|
|
1542
1596
|
}
|
|
@@ -1938,6 +1992,94 @@ message Conversation {
|
|
|
1938
1992
|
}
|
|
1939
1993
|
}
|
|
1940
1994
|
|
|
1995
|
+
message CreateBackupInput {
|
|
1996
|
+
required string recoveryCode = 1;
|
|
1997
|
+
required uint64 userId = 2;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
message CreateBackupOutput {
|
|
2001
|
+
oneof result {
|
|
2002
|
+
CreateBackupSuccess success = 1;
|
|
2003
|
+
string error = 2;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
message CreateBackupSuccess {
|
|
2008
|
+
required DeviceOutput device = 1;
|
|
2009
|
+
required VirtualDeviceOutput virtualDevice = 2;
|
|
2010
|
+
required Epoch0Output epoch0 = 3;
|
|
2011
|
+
required bytes mailboxRootKey = 4;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
message DecryptMessageInput {
|
|
2015
|
+
required bytes epochRootKey = 1;
|
|
2016
|
+
required int32 epochAnonId = 2;
|
|
2017
|
+
required string threadId = 3;
|
|
2018
|
+
required int32 encryptionVersion = 4;
|
|
2019
|
+
required bytes ciphertext = 5;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
message DecryptMessageOutput {
|
|
2023
|
+
oneof result {
|
|
2024
|
+
DecryptMessageSuccess success = 1;
|
|
2025
|
+
string error = 2;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
message DecryptMessageSuccess {
|
|
2030
|
+
required bytes plaintextPayload = 1;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
message DeriveEpochsInput {
|
|
2034
|
+
required bytes epochStoragePrivateKey = 1;
|
|
2035
|
+
repeated EpochKey epochs = 2;
|
|
2036
|
+
repeated EpochDerivationEdge edges = 3;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
message DeriveEpochsOutput {
|
|
2040
|
+
oneof result {
|
|
2041
|
+
DeriveEpochsSuccess success = 1;
|
|
2042
|
+
string error = 2;
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
message DeriveEpochsSuccess {
|
|
2047
|
+
repeated EpochKey epochs = 1;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
message DeriveMessageKeyInput {
|
|
2051
|
+
required bytes epochRootKey = 1;
|
|
2052
|
+
required int32 epochAnonId = 2;
|
|
2053
|
+
required string threadId = 3;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
message DeriveMessageKeyOutput {
|
|
2057
|
+
oneof result {
|
|
2058
|
+
DeriveMessageKeySuccess success = 1;
|
|
2059
|
+
string error = 2;
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
message DeriveMessageKeySuccess {
|
|
2064
|
+
required bytes messageKey = 1;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
message DeriveVirtualDeviceIdInput {
|
|
2068
|
+
required string recoveryCode = 1;
|
|
2069
|
+
required uint64 userId = 2;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
message DeriveVirtualDeviceIdOutput {
|
|
2073
|
+
oneof result {
|
|
2074
|
+
DeriveVirtualDeviceIdSuccess success = 1;
|
|
2075
|
+
string error = 2;
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
message DeriveVirtualDeviceIdSuccess {
|
|
2080
|
+
required bytes virtualDeviceId = 1;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
1941
2083
|
message DeviceCapabilities {
|
|
1942
2084
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1943
2085
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2046,6 +2188,21 @@ message DeviceListMetadata {
|
|
|
2046
2188
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2047
2189
|
}
|
|
2048
2190
|
|
|
2191
|
+
message DeviceOutput {
|
|
2192
|
+
required bytes publicKey = 1;
|
|
2193
|
+
required bytes epochAuthPublicKey = 2;
|
|
2194
|
+
required bytes epochAuthPublicKeySig = 3;
|
|
2195
|
+
required bytes epochStoragePublicKey = 4;
|
|
2196
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
2197
|
+
repeated int32 supportedEncryptionVersions = 6;
|
|
2198
|
+
required bytes encryptionVersionSignature = 7;
|
|
2199
|
+
required int32 clientVersion = 8;
|
|
2200
|
+
required bytes ocmfClientState = 9;
|
|
2201
|
+
required bytes epochStoragePrivateKey = 10;
|
|
2202
|
+
required bytes epochAuthPrivateKey = 11;
|
|
2203
|
+
required bytes deviceEpochHmac = 12;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2049
2206
|
message DeviceProps {
|
|
2050
2207
|
optional string os = 1;
|
|
2051
2208
|
optional AppVersion version = 2;
|
|
@@ -2176,16 +2333,79 @@ message EmbeddedMusic {
|
|
|
2176
2333
|
optional int64 overlapDurationInMs = 14;
|
|
2177
2334
|
}
|
|
2178
2335
|
|
|
2336
|
+
message EncryptMessageInput {
|
|
2337
|
+
required bytes epochRootKey = 1;
|
|
2338
|
+
required bytes mailboxRootKey = 2;
|
|
2339
|
+
required bytes orfClientState = 3;
|
|
2340
|
+
required int32 epochAnonId = 4;
|
|
2341
|
+
required uint64 epochId = 5;
|
|
2342
|
+
required string threadId = 6;
|
|
2343
|
+
required uint64 waCanonicalUserFbid = 7;
|
|
2344
|
+
required uint64 timestampMs = 8;
|
|
2345
|
+
required uint64 backupId = 9;
|
|
2346
|
+
required bytes plaintextPayload = 10;
|
|
2347
|
+
required string stanzaId = 11;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
message EncryptMessageOutput {
|
|
2351
|
+
oneof result {
|
|
2352
|
+
EncryptMessageSuccess success = 1;
|
|
2353
|
+
string error = 2;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
message EncryptMessageSuccess {
|
|
2358
|
+
required bytes encryptedProtobuf = 1;
|
|
2359
|
+
required bytes orfThreadId = 2;
|
|
2360
|
+
required string valueSecretRef = 3;
|
|
2361
|
+
required uint64 offlineThreadingId = 4;
|
|
2362
|
+
required uint64 timestampMs = 5;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2179
2365
|
message EncryptedPairingRequest {
|
|
2180
2366
|
optional bytes encryptedPayload = 1;
|
|
2181
2367
|
optional bytes iv = 2;
|
|
2182
2368
|
}
|
|
2183
2369
|
|
|
2370
|
+
message EncryptedSecretValuesOutput {
|
|
2371
|
+
required bytes encryptedDevicePrivateKey = 1;
|
|
2372
|
+
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2373
|
+
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2374
|
+
required bytes encryptedOcmfClientState = 4;
|
|
2375
|
+
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2376
|
+
required bytes encryptedEpochAnonId = 7;
|
|
2377
|
+
required bytes encryptedEpochRootKey = 8;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2184
2380
|
message EphemeralSetting {
|
|
2185
2381
|
optional sfixed32 duration = 1;
|
|
2186
2382
|
optional sfixed64 timestamp = 2;
|
|
2187
2383
|
}
|
|
2188
2384
|
|
|
2385
|
+
message Epoch0Output {
|
|
2386
|
+
required int32 epochAnonId = 2;
|
|
2387
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
2388
|
+
required bytes epochRootKey = 7;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
message EpochDerivationEdge {
|
|
2392
|
+
required EpochIds fromEpoch = 1;
|
|
2393
|
+
required EpochIds toEpoch = 2;
|
|
2394
|
+
optional ForwardEdgeInput forwardEdge = 3;
|
|
2395
|
+
optional bytes backwardEdge = 4;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
message EpochIds {
|
|
2399
|
+
required uint64 serverEpochId = 1;
|
|
2400
|
+
required int32 epochAnonId = 2;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
message EpochKey {
|
|
2404
|
+
required uint64 serverEpochId = 1;
|
|
2405
|
+
required int32 epochAnonId = 2;
|
|
2406
|
+
required bytes epochRootKey = 3;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2189
2409
|
message EventAdditionalMetadata {
|
|
2190
2410
|
optional bool isStale = 1;
|
|
2191
2411
|
}
|
|
@@ -2249,6 +2469,11 @@ message FingerprintData {
|
|
|
2249
2469
|
optional bytes hashedPublicKey = 6;
|
|
2250
2470
|
}
|
|
2251
2471
|
|
|
2472
|
+
message ForwardEdgeInput {
|
|
2473
|
+
required bytes encryptedEntropy = 1;
|
|
2474
|
+
required bytes authPublicKey = 2;
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2252
2477
|
message ForwardedAIBotMessageInfo {
|
|
2253
2478
|
optional string botName = 1;
|
|
2254
2479
|
optional string botJid = 2;
|
|
@@ -2617,6 +2842,26 @@ message LIDMigrationMappingSyncMessage {
|
|
|
2617
2842
|
optional bytes encodedMappingPayload = 1;
|
|
2618
2843
|
}
|
|
2619
2844
|
|
|
2845
|
+
message LabyrinthWaCommand {
|
|
2846
|
+
oneof commandInput {
|
|
2847
|
+
CreateBackupInput createBackupInput = 1;
|
|
2848
|
+
EncryptMessageInput encryptMessageInput = 2;
|
|
2849
|
+
DecryptMessageInput decryptMessageInput = 3;
|
|
2850
|
+
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2851
|
+
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2852
|
+
RotateEpochInput rotateEpochInput = 6;
|
|
2853
|
+
DeriveVirtualDeviceIdInput deriveVirtualDeviceIdInput = 7;
|
|
2854
|
+
PrepareAddDeviceInput prepareAddDeviceInput = 8;
|
|
2855
|
+
ComputeClientSealTokenInput computeClientSealTokenInput = 9;
|
|
2856
|
+
OpenSealedThreadIdInput openSealedThreadIdInput = 10;
|
|
2857
|
+
DeriveEpochsInput deriveEpochsInput = 11;
|
|
2858
|
+
SealThreadIdInput sealThreadIdInput = 12;
|
|
2859
|
+
PrepareAddPeerDeviceInput prepareAddPeerDeviceInput = 13;
|
|
2860
|
+
CompanionTestMessageThreadIdInput companionTestMessageThreadIdInput = 14;
|
|
2861
|
+
ParseCompanionTestMessageInput parseCompanionTestMessageInput = 15;
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2620
2865
|
message LegacyMessage {
|
|
2621
2866
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2622
2867
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -5165,12 +5410,61 @@ message OmittedConversationMetadata {
|
|
|
5165
5410
|
repeated Conversation conversations = 6;
|
|
5166
5411
|
}
|
|
5167
5412
|
|
|
5413
|
+
message OpenSealedThreadIdInput {
|
|
5414
|
+
required uint64 backupId = 1;
|
|
5415
|
+
required bytes sealedThreadId = 2;
|
|
5416
|
+
repeated EpochKey epochs = 3;
|
|
5417
|
+
}
|
|
5418
|
+
|
|
5419
|
+
message OpenSealedThreadIdOutput {
|
|
5420
|
+
oneof result {
|
|
5421
|
+
OpenSealedThreadIdSuccess success = 1;
|
|
5422
|
+
string error = 2;
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
message OpenSealedThreadIdSuccess {
|
|
5427
|
+
required string threadId = 1;
|
|
5428
|
+
required int32 sealEpochAnonId = 2;
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
message OrfThreadIdInput {
|
|
5432
|
+
required bytes orfClientState = 1;
|
|
5433
|
+
required string threadId = 2;
|
|
5434
|
+
}
|
|
5435
|
+
|
|
5436
|
+
message OrfThreadIdOutput {
|
|
5437
|
+
oneof result {
|
|
5438
|
+
OrfThreadIdSuccess success = 1;
|
|
5439
|
+
string error = 2;
|
|
5440
|
+
}
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
message OrfThreadIdSuccess {
|
|
5444
|
+
required bytes orfThreadId = 1;
|
|
5445
|
+
}
|
|
5446
|
+
|
|
5168
5447
|
message PairingRequest {
|
|
5169
5448
|
optional bytes companionPublicKey = 1;
|
|
5170
5449
|
optional bytes companionIdentityKey = 2;
|
|
5171
5450
|
optional bytes advSecret = 3;
|
|
5172
5451
|
}
|
|
5173
5452
|
|
|
5453
|
+
message ParseCompanionTestMessageInput {
|
|
5454
|
+
required bytes plaintext = 1;
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
message ParseCompanionTestMessageOutput {
|
|
5458
|
+
oneof result {
|
|
5459
|
+
ParseCompanionTestMessageSuccess success = 1;
|
|
5460
|
+
string error = 2;
|
|
5461
|
+
}
|
|
5462
|
+
}
|
|
5463
|
+
|
|
5464
|
+
message ParseCompanionTestMessageSuccess {
|
|
5465
|
+
required uint64 createdAtMs = 1;
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5174
5468
|
message PastParticipant {
|
|
5175
5469
|
optional string userJid = 1;
|
|
5176
5470
|
optional LeaveReason leaveReason = 2;
|
|
@@ -5413,6 +5707,56 @@ message PremiumMessageInfo {
|
|
|
5413
5707
|
optional string serverCampaignId = 1;
|
|
5414
5708
|
}
|
|
5415
5709
|
|
|
5710
|
+
message PrepareAddDeviceInput {
|
|
5711
|
+
required string recoveryCode = 1;
|
|
5712
|
+
required uint64 userId = 2;
|
|
5713
|
+
required string encryptedSecretValuesJson = 3;
|
|
5714
|
+
required uint64 virtualDeviceBaseEpochId = 4;
|
|
5715
|
+
required uint64 activeEpochId = 5;
|
|
5716
|
+
repeated AddDeviceSyncEpochInput syncEpochs = 6;
|
|
5717
|
+
}
|
|
5718
|
+
|
|
5719
|
+
message PrepareAddDeviceOutput {
|
|
5720
|
+
oneof result {
|
|
5721
|
+
PrepareAddDeviceSuccess success = 1;
|
|
5722
|
+
string error = 2;
|
|
5723
|
+
}
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
message PrepareAddDeviceSuccess {
|
|
5727
|
+
required AddDeviceKeysOutput deviceKeys = 1;
|
|
5728
|
+
required EpochKey currentEpoch = 2;
|
|
5729
|
+
required bytes mailboxRootSalt = 3;
|
|
5730
|
+
required bytes orfRotationToken = 4;
|
|
5731
|
+
required bytes deviceEpochHmac = 5;
|
|
5732
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5733
|
+
repeated int32 supportedEncryptionVersions = 7;
|
|
5734
|
+
required bytes encryptionVersionSignature = 8;
|
|
5735
|
+
required int32 clientVersion = 9;
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
message PrepareAddPeerDeviceInput {
|
|
5739
|
+
required bytes advSecret = 1;
|
|
5740
|
+
required bytes sealedPayload = 2;
|
|
5741
|
+
required uint64 backupId = 3;
|
|
5742
|
+
required uint64 userId = 4;
|
|
5743
|
+
required bytes companionIdentityPub = 5;
|
|
5744
|
+
required uint64 activeEpochId = 6;
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
message PrepareAddPeerDeviceOutput {
|
|
5748
|
+
oneof result {
|
|
5749
|
+
PrepareAddPeerDeviceSuccess success = 1;
|
|
5750
|
+
string error = 2;
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
message PrepareAddPeerDeviceSuccess {
|
|
5755
|
+
required PrepareAddDeviceSuccess enrolment = 1;
|
|
5756
|
+
required uint64 serverDataId = 2;
|
|
5757
|
+
required bytes companionDeviceBinding = 3;
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5416
5760
|
message PrimaryEphemeralIdentity {
|
|
5417
5761
|
optional bytes publicKey = 1;
|
|
5418
5762
|
optional bytes nonce = 2;
|
|
@@ -5513,6 +5857,43 @@ message ReportingTokenInfo {
|
|
|
5513
5857
|
optional uint64 reportingTagTimestamp = 2;
|
|
5514
5858
|
}
|
|
5515
5859
|
|
|
5860
|
+
message RotateEpochInput {
|
|
5861
|
+
required bytes currentEpochRootKey = 1;
|
|
5862
|
+
required int32 currentEpochAnonId = 2;
|
|
5863
|
+
required uint64 currentEpochFbid = 3;
|
|
5864
|
+
required bytes epochStorageAuthPrivateKey = 4;
|
|
5865
|
+
repeated RotateEpochMemberInput members = 5;
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5868
|
+
message RotateEpochMemberEdge {
|
|
5869
|
+
required uint64 deviceId = 1;
|
|
5870
|
+
required bytes encryptedEpochKey = 2;
|
|
5871
|
+
required bytes deviceEpochHmac = 3;
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
message RotateEpochMemberInput {
|
|
5875
|
+
required uint64 deviceId = 1;
|
|
5876
|
+
required bytes epochStoragePublicKey = 2;
|
|
5877
|
+
required bytes devicePublicKey = 3;
|
|
5878
|
+
required bytes prevDeviceEpochHmac = 4;
|
|
5879
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
5880
|
+
}
|
|
5881
|
+
|
|
5882
|
+
message RotateEpochOutput {
|
|
5883
|
+
oneof result {
|
|
5884
|
+
RotateEpochSuccess success = 1;
|
|
5885
|
+
string error = 2;
|
|
5886
|
+
}
|
|
5887
|
+
}
|
|
5888
|
+
|
|
5889
|
+
message RotateEpochSuccess {
|
|
5890
|
+
required bytes newEpochRootKey = 1;
|
|
5891
|
+
required int32 newEpochAnonId = 2;
|
|
5892
|
+
required BackwardEdge backwardEdge = 4;
|
|
5893
|
+
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
5894
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5895
|
+
}
|
|
5896
|
+
|
|
5516
5897
|
message RoutingInfo {
|
|
5517
5898
|
repeated int32 regionId = 1;
|
|
5518
5899
|
repeated int32 clusterId = 2;
|
|
@@ -5528,6 +5909,24 @@ message ScheduledMessageMetadata {
|
|
|
5528
5909
|
optional uint64 scheduledTime = 3;
|
|
5529
5910
|
}
|
|
5530
5911
|
|
|
5912
|
+
message SealThreadIdInput {
|
|
5913
|
+
required bytes epochRootKey = 1;
|
|
5914
|
+
required int32 epochAnonId = 2;
|
|
5915
|
+
required uint64 backupId = 3;
|
|
5916
|
+
required string threadId = 4;
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5919
|
+
message SealThreadIdOutput {
|
|
5920
|
+
oneof result {
|
|
5921
|
+
SealThreadIdSuccess success = 1;
|
|
5922
|
+
string error = 2;
|
|
5923
|
+
}
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
message SealThreadIdSuccess {
|
|
5927
|
+
required bytes sealedThreadId = 1;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5531
5930
|
message SenderKeyDistributionMessage {
|
|
5532
5931
|
optional uint32 id = 1;
|
|
5533
5932
|
optional uint32 iteration = 2;
|
|
@@ -6806,6 +7205,16 @@ message VerifiedNameCertificate {
|
|
|
6806
7205
|
|
|
6807
7206
|
}
|
|
6808
7207
|
|
|
7208
|
+
message VirtualDeviceOutput {
|
|
7209
|
+
required bytes vdId = 1;
|
|
7210
|
+
required bytes vdPublicKey = 2;
|
|
7211
|
+
required bytes vdEpochStoragePublicKey = 3;
|
|
7212
|
+
required bytes vdEpochStoragePublicKeySig = 4;
|
|
7213
|
+
required bytes ocmfRotationToken = 5;
|
|
7214
|
+
required bytes deviceEpochHmac = 6;
|
|
7215
|
+
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
7216
|
+
}
|
|
7217
|
+
|
|
6809
7218
|
message WallpaperSettings {
|
|
6810
7219
|
optional string filename = 1;
|
|
6811
7220
|
optional uint32 opacity = 2;
|