@wppconnect/wa-proto 2.3000.1055794947 → 2.3000.1055826538
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 +411 -1
- package/dist/index.d.ts +38722 -30762
- package/dist/index.js +80027 -58192
- 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.1055826538
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -329,6 +329,24 @@ message ActionLink {
|
|
|
329
329
|
optional string buttonTitle = 2;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
message AddDeviceKeysOutput {
|
|
333
|
+
required bytes devicePublicKey = 1;
|
|
334
|
+
required bytes epochAuthPublicKey = 2;
|
|
335
|
+
required bytes epochAuthPublicKeySig = 3;
|
|
336
|
+
required bytes epochStoragePublicKey = 4;
|
|
337
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
338
|
+
required bytes epochStoragePrivateKey = 6;
|
|
339
|
+
required bytes orfClientState = 7;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
message AddDeviceSyncEpochInput {
|
|
343
|
+
required uint64 epochId = 1;
|
|
344
|
+
required int32 epochAnonId = 2;
|
|
345
|
+
optional bytes encryptedEpochKey = 3;
|
|
346
|
+
required bytes senderAuthPubKey = 4;
|
|
347
|
+
optional uint64 nextEpochId = 5;
|
|
348
|
+
}
|
|
349
|
+
|
|
332
350
|
message AutoDownloadSettings {
|
|
333
351
|
optional bool downloadImages = 1;
|
|
334
352
|
optional bool downloadAudio = 2;
|
|
@@ -341,6 +359,12 @@ message AvatarUserSettings {
|
|
|
341
359
|
optional string password = 2;
|
|
342
360
|
}
|
|
343
361
|
|
|
362
|
+
message BackwardEdge {
|
|
363
|
+
required bytes encryptedPrevEpochAnonId = 1;
|
|
364
|
+
required bytes encryptedPrevEpochRootKey = 2;
|
|
365
|
+
required bytes prevEpochRootKeyFingerprint = 3;
|
|
366
|
+
}
|
|
367
|
+
|
|
344
368
|
message BizAIMetadataSync {
|
|
345
369
|
oneof operation {
|
|
346
370
|
BizAIMetadataSync.ServerEvent serverEvent = 1;
|
|
@@ -1542,6 +1566,36 @@ message CompanionEphemeralIdentity {
|
|
|
1542
1566
|
optional string ref = 3;
|
|
1543
1567
|
}
|
|
1544
1568
|
|
|
1569
|
+
message CompanionTestMessageThreadIdInput {
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
message CompanionTestMessageThreadIdOutput {
|
|
1573
|
+
oneof result {
|
|
1574
|
+
CompanionTestMessageThreadIdSuccess success = 1;
|
|
1575
|
+
string error = 2;
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
message CompanionTestMessageThreadIdSuccess {
|
|
1580
|
+
required string threadId = 1;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
message ComputeClientSealTokenInput {
|
|
1584
|
+
required bytes orfClientState = 1;
|
|
1585
|
+
required uint64 backupId = 2;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
message ComputeClientSealTokenOutput {
|
|
1589
|
+
oneof result {
|
|
1590
|
+
ComputeClientSealTokenSuccess success = 1;
|
|
1591
|
+
string error = 2;
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
message ComputeClientSealTokenSuccess {
|
|
1596
|
+
required bytes clientSealToken = 1;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1545
1599
|
message Config {
|
|
1546
1600
|
map<uint32, Field> field = 1;
|
|
1547
1601
|
}
|
|
@@ -1943,6 +1997,94 @@ message Conversation {
|
|
|
1943
1997
|
}
|
|
1944
1998
|
}
|
|
1945
1999
|
|
|
2000
|
+
message CreateBackupInput {
|
|
2001
|
+
required string recoveryCode = 1;
|
|
2002
|
+
required uint64 userId = 2;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
message CreateBackupOutput {
|
|
2006
|
+
oneof result {
|
|
2007
|
+
CreateBackupSuccess success = 1;
|
|
2008
|
+
string error = 2;
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
message CreateBackupSuccess {
|
|
2013
|
+
required DeviceOutput device = 1;
|
|
2014
|
+
required VirtualDeviceOutput virtualDevice = 2;
|
|
2015
|
+
required Epoch0Output epoch0 = 3;
|
|
2016
|
+
required bytes mailboxRootKey = 4;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
message DecryptMessageInput {
|
|
2020
|
+
required bytes epochRootKey = 1;
|
|
2021
|
+
required int32 epochAnonId = 2;
|
|
2022
|
+
required string threadId = 3;
|
|
2023
|
+
required int32 encryptionVersion = 4;
|
|
2024
|
+
required bytes ciphertext = 5;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
message DecryptMessageOutput {
|
|
2028
|
+
oneof result {
|
|
2029
|
+
DecryptMessageSuccess success = 1;
|
|
2030
|
+
string error = 2;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
message DecryptMessageSuccess {
|
|
2035
|
+
required bytes plaintextPayload = 1;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
message DeriveEpochsInput {
|
|
2039
|
+
required bytes epochStoragePrivateKey = 1;
|
|
2040
|
+
repeated EpochKey epochs = 2;
|
|
2041
|
+
repeated EpochDerivationEdge edges = 3;
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
message DeriveEpochsOutput {
|
|
2045
|
+
oneof result {
|
|
2046
|
+
DeriveEpochsSuccess success = 1;
|
|
2047
|
+
string error = 2;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
message DeriveEpochsSuccess {
|
|
2052
|
+
repeated EpochKey epochs = 1;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
message DeriveMessageKeyInput {
|
|
2056
|
+
required bytes epochRootKey = 1;
|
|
2057
|
+
required int32 epochAnonId = 2;
|
|
2058
|
+
required string threadId = 3;
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
message DeriveMessageKeyOutput {
|
|
2062
|
+
oneof result {
|
|
2063
|
+
DeriveMessageKeySuccess success = 1;
|
|
2064
|
+
string error = 2;
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
message DeriveMessageKeySuccess {
|
|
2069
|
+
required bytes messageKey = 1;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
message DeriveVirtualDeviceIdInput {
|
|
2073
|
+
required string recoveryCode = 1;
|
|
2074
|
+
required uint64 userId = 2;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
message DeriveVirtualDeviceIdOutput {
|
|
2078
|
+
oneof result {
|
|
2079
|
+
DeriveVirtualDeviceIdSuccess success = 1;
|
|
2080
|
+
string error = 2;
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
message DeriveVirtualDeviceIdSuccess {
|
|
2085
|
+
required bytes virtualDeviceId = 1;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
1946
2088
|
message DeviceCapabilities {
|
|
1947
2089
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1948
2090
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2061,6 +2203,21 @@ message DeviceListMetadata {
|
|
|
2061
2203
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2062
2204
|
}
|
|
2063
2205
|
|
|
2206
|
+
message DeviceOutput {
|
|
2207
|
+
required bytes publicKey = 1;
|
|
2208
|
+
required bytes epochAuthPublicKey = 2;
|
|
2209
|
+
required bytes epochAuthPublicKeySig = 3;
|
|
2210
|
+
required bytes epochStoragePublicKey = 4;
|
|
2211
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
2212
|
+
repeated int32 supportedEncryptionVersions = 6;
|
|
2213
|
+
required bytes encryptionVersionSignature = 7;
|
|
2214
|
+
required int32 clientVersion = 8;
|
|
2215
|
+
required bytes ocmfClientState = 9;
|
|
2216
|
+
required bytes epochStoragePrivateKey = 10;
|
|
2217
|
+
required bytes epochAuthPrivateKey = 11;
|
|
2218
|
+
required bytes deviceEpochHmac = 12;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2064
2221
|
message DeviceProps {
|
|
2065
2222
|
optional string os = 1;
|
|
2066
2223
|
optional AppVersion version = 2;
|
|
@@ -2191,6 +2348,35 @@ message EmbeddedMusic {
|
|
|
2191
2348
|
optional int64 overlapDurationInMs = 14;
|
|
2192
2349
|
}
|
|
2193
2350
|
|
|
2351
|
+
message EncryptMessageInput {
|
|
2352
|
+
required bytes epochRootKey = 1;
|
|
2353
|
+
required bytes mailboxRootKey = 2;
|
|
2354
|
+
required bytes orfClientState = 3;
|
|
2355
|
+
required int32 epochAnonId = 4;
|
|
2356
|
+
required uint64 epochId = 5;
|
|
2357
|
+
required string threadId = 6;
|
|
2358
|
+
required uint64 waCanonicalUserFbid = 7;
|
|
2359
|
+
required uint64 timestampMs = 8;
|
|
2360
|
+
required uint64 backupId = 9;
|
|
2361
|
+
required bytes plaintextPayload = 10;
|
|
2362
|
+
required string stanzaId = 11;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
message EncryptMessageOutput {
|
|
2366
|
+
oneof result {
|
|
2367
|
+
EncryptMessageSuccess success = 1;
|
|
2368
|
+
string error = 2;
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
message EncryptMessageSuccess {
|
|
2373
|
+
required bytes encryptedProtobuf = 1;
|
|
2374
|
+
required bytes orfThreadId = 2;
|
|
2375
|
+
required string valueSecretRef = 3;
|
|
2376
|
+
required uint64 offlineThreadingId = 4;
|
|
2377
|
+
required uint64 timestampMs = 5;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2194
2380
|
message EncryptedJoinRequestPayload {
|
|
2195
2381
|
optional bytes encryptedAnswers = 1;
|
|
2196
2382
|
optional bytes encIv = 2;
|
|
@@ -2203,11 +2389,45 @@ message EncryptedPairingRequest {
|
|
|
2203
2389
|
optional bytes iv = 2;
|
|
2204
2390
|
}
|
|
2205
2391
|
|
|
2392
|
+
message EncryptedSecretValuesOutput {
|
|
2393
|
+
required bytes encryptedDevicePrivateKey = 1;
|
|
2394
|
+
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2395
|
+
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2396
|
+
required bytes encryptedOcmfClientState = 4;
|
|
2397
|
+
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2398
|
+
required bytes encryptedEpochAnonId = 7;
|
|
2399
|
+
required bytes encryptedEpochRootKey = 8;
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2206
2402
|
message EphemeralSetting {
|
|
2207
2403
|
optional sfixed32 duration = 1;
|
|
2208
2404
|
optional sfixed64 timestamp = 2;
|
|
2209
2405
|
}
|
|
2210
2406
|
|
|
2407
|
+
message Epoch0Output {
|
|
2408
|
+
required int32 epochAnonId = 2;
|
|
2409
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
2410
|
+
required bytes epochRootKey = 7;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
message EpochDerivationEdge {
|
|
2414
|
+
required EpochIds fromEpoch = 1;
|
|
2415
|
+
required EpochIds toEpoch = 2;
|
|
2416
|
+
optional ForwardEdgeInput forwardEdge = 3;
|
|
2417
|
+
optional bytes backwardEdge = 4;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
message EpochIds {
|
|
2421
|
+
required uint64 serverEpochId = 1;
|
|
2422
|
+
required int32 epochAnonId = 2;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
message EpochKey {
|
|
2426
|
+
required uint64 serverEpochId = 1;
|
|
2427
|
+
required int32 epochAnonId = 2;
|
|
2428
|
+
required bytes epochRootKey = 3;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2211
2431
|
message EventAdditionalMetadata {
|
|
2212
2432
|
optional bool isStale = 1;
|
|
2213
2433
|
}
|
|
@@ -2271,6 +2491,11 @@ message FingerprintData {
|
|
|
2271
2491
|
optional bytes hashedPublicKey = 6;
|
|
2272
2492
|
}
|
|
2273
2493
|
|
|
2494
|
+
message ForwardEdgeInput {
|
|
2495
|
+
required bytes encryptedEntropy = 1;
|
|
2496
|
+
required bytes authPublicKey = 2;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2274
2499
|
message ForwardedAIBotMessageInfo {
|
|
2275
2500
|
optional string botName = 1;
|
|
2276
2501
|
optional string botJid = 2;
|
|
@@ -2640,6 +2865,26 @@ message LIDMigrationMappingSyncMessage {
|
|
|
2640
2865
|
optional bytes encodedMappingPayload = 1;
|
|
2641
2866
|
}
|
|
2642
2867
|
|
|
2868
|
+
message LabyrinthWaCommand {
|
|
2869
|
+
oneof commandInput {
|
|
2870
|
+
CreateBackupInput createBackupInput = 1;
|
|
2871
|
+
EncryptMessageInput encryptMessageInput = 2;
|
|
2872
|
+
DecryptMessageInput decryptMessageInput = 3;
|
|
2873
|
+
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2874
|
+
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2875
|
+
RotateEpochInput rotateEpochInput = 6;
|
|
2876
|
+
DeriveVirtualDeviceIdInput deriveVirtualDeviceIdInput = 7;
|
|
2877
|
+
PrepareAddDeviceInput prepareAddDeviceInput = 8;
|
|
2878
|
+
ComputeClientSealTokenInput computeClientSealTokenInput = 9;
|
|
2879
|
+
OpenSealedThreadIdInput openSealedThreadIdInput = 10;
|
|
2880
|
+
DeriveEpochsInput deriveEpochsInput = 11;
|
|
2881
|
+
SealThreadIdInput sealThreadIdInput = 12;
|
|
2882
|
+
PrepareAddPeerDeviceInput prepareAddPeerDeviceInput = 13;
|
|
2883
|
+
CompanionTestMessageThreadIdInput companionTestMessageThreadIdInput = 14;
|
|
2884
|
+
ParseCompanionTestMessageInput parseCompanionTestMessageInput = 15;
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2643
2888
|
message LegacyMessage {
|
|
2644
2889
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2645
2890
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -5200,12 +5445,61 @@ message OmittedConversationMetadata {
|
|
|
5200
5445
|
repeated Conversation conversations = 6;
|
|
5201
5446
|
}
|
|
5202
5447
|
|
|
5448
|
+
message OpenSealedThreadIdInput {
|
|
5449
|
+
required uint64 backupId = 1;
|
|
5450
|
+
required bytes sealedThreadId = 2;
|
|
5451
|
+
repeated EpochKey epochs = 3;
|
|
5452
|
+
}
|
|
5453
|
+
|
|
5454
|
+
message OpenSealedThreadIdOutput {
|
|
5455
|
+
oneof result {
|
|
5456
|
+
OpenSealedThreadIdSuccess success = 1;
|
|
5457
|
+
string error = 2;
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5460
|
+
|
|
5461
|
+
message OpenSealedThreadIdSuccess {
|
|
5462
|
+
required string threadId = 1;
|
|
5463
|
+
required int32 sealEpochAnonId = 2;
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
message OrfThreadIdInput {
|
|
5467
|
+
required bytes orfClientState = 1;
|
|
5468
|
+
required string threadId = 2;
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5471
|
+
message OrfThreadIdOutput {
|
|
5472
|
+
oneof result {
|
|
5473
|
+
OrfThreadIdSuccess success = 1;
|
|
5474
|
+
string error = 2;
|
|
5475
|
+
}
|
|
5476
|
+
}
|
|
5477
|
+
|
|
5478
|
+
message OrfThreadIdSuccess {
|
|
5479
|
+
required bytes orfThreadId = 1;
|
|
5480
|
+
}
|
|
5481
|
+
|
|
5203
5482
|
message PairingRequest {
|
|
5204
5483
|
optional bytes companionPublicKey = 1;
|
|
5205
5484
|
optional bytes companionIdentityKey = 2;
|
|
5206
5485
|
optional bytes advSecret = 3;
|
|
5207
5486
|
}
|
|
5208
5487
|
|
|
5488
|
+
message ParseCompanionTestMessageInput {
|
|
5489
|
+
required bytes plaintext = 1;
|
|
5490
|
+
}
|
|
5491
|
+
|
|
5492
|
+
message ParseCompanionTestMessageOutput {
|
|
5493
|
+
oneof result {
|
|
5494
|
+
ParseCompanionTestMessageSuccess success = 1;
|
|
5495
|
+
string error = 2;
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
|
|
5499
|
+
message ParseCompanionTestMessageSuccess {
|
|
5500
|
+
required uint64 createdAtMs = 1;
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5209
5503
|
message PastParticipant {
|
|
5210
5504
|
optional string userJid = 1;
|
|
5211
5505
|
optional LeaveReason leaveReason = 2;
|
|
@@ -5448,6 +5742,57 @@ message PremiumMessageInfo {
|
|
|
5448
5742
|
optional string serverCampaignId = 1;
|
|
5449
5743
|
}
|
|
5450
5744
|
|
|
5745
|
+
message PrepareAddDeviceInput {
|
|
5746
|
+
required string recoveryCode = 1;
|
|
5747
|
+
required uint64 userId = 2;
|
|
5748
|
+
required string encryptedSecretValuesJson = 3;
|
|
5749
|
+
required uint64 virtualDeviceBaseEpochId = 4;
|
|
5750
|
+
required uint64 activeEpochId = 5;
|
|
5751
|
+
repeated AddDeviceSyncEpochInput syncEpochs = 6;
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
message PrepareAddDeviceOutput {
|
|
5755
|
+
oneof result {
|
|
5756
|
+
PrepareAddDeviceSuccess success = 1;
|
|
5757
|
+
string error = 2;
|
|
5758
|
+
}
|
|
5759
|
+
}
|
|
5760
|
+
|
|
5761
|
+
message PrepareAddDeviceSuccess {
|
|
5762
|
+
required AddDeviceKeysOutput deviceKeys = 1;
|
|
5763
|
+
required EpochKey currentEpoch = 2;
|
|
5764
|
+
required bytes mailboxRootSalt = 3;
|
|
5765
|
+
required bytes orfRotationToken = 4;
|
|
5766
|
+
required bytes deviceEpochHmac = 5;
|
|
5767
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5768
|
+
repeated int32 supportedEncryptionVersions = 7;
|
|
5769
|
+
required bytes encryptionVersionSignature = 8;
|
|
5770
|
+
required int32 clientVersion = 9;
|
|
5771
|
+
}
|
|
5772
|
+
|
|
5773
|
+
message PrepareAddPeerDeviceInput {
|
|
5774
|
+
required bytes advSecret = 1;
|
|
5775
|
+
required bytes sealedPayload = 2;
|
|
5776
|
+
required uint64 backupId = 3;
|
|
5777
|
+
required uint64 userId = 4;
|
|
5778
|
+
required bytes companionIdentityPub = 5;
|
|
5779
|
+
required uint64 activeEpochId = 6;
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5782
|
+
message PrepareAddPeerDeviceOutput {
|
|
5783
|
+
oneof result {
|
|
5784
|
+
PrepareAddPeerDeviceSuccess success = 1;
|
|
5785
|
+
string error = 2;
|
|
5786
|
+
}
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5789
|
+
message PrepareAddPeerDeviceSuccess {
|
|
5790
|
+
required PrepareAddDeviceSuccess enrolment = 1;
|
|
5791
|
+
required uint64 serverDataId = 2;
|
|
5792
|
+
required bytes companionDeviceBinding = 3;
|
|
5793
|
+
optional uint64 historyStartTime = 4;
|
|
5794
|
+
}
|
|
5795
|
+
|
|
5451
5796
|
message PrimaryEphemeralIdentity {
|
|
5452
5797
|
optional bytes publicKey = 1;
|
|
5453
5798
|
optional bytes nonce = 2;
|
|
@@ -5548,6 +5893,43 @@ message ReportingTokenInfo {
|
|
|
5548
5893
|
optional uint64 reportingTagTimestamp = 2;
|
|
5549
5894
|
}
|
|
5550
5895
|
|
|
5896
|
+
message RotateEpochInput {
|
|
5897
|
+
required bytes currentEpochRootKey = 1;
|
|
5898
|
+
required int32 currentEpochAnonId = 2;
|
|
5899
|
+
required uint64 currentEpochFbid = 3;
|
|
5900
|
+
required bytes epochStorageAuthPrivateKey = 4;
|
|
5901
|
+
repeated RotateEpochMemberInput members = 5;
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
message RotateEpochMemberEdge {
|
|
5905
|
+
required uint64 deviceId = 1;
|
|
5906
|
+
required bytes encryptedEpochKey = 2;
|
|
5907
|
+
required bytes deviceEpochHmac = 3;
|
|
5908
|
+
}
|
|
5909
|
+
|
|
5910
|
+
message RotateEpochMemberInput {
|
|
5911
|
+
required uint64 deviceId = 1;
|
|
5912
|
+
required bytes epochStoragePublicKey = 2;
|
|
5913
|
+
required bytes devicePublicKey = 3;
|
|
5914
|
+
required bytes prevDeviceEpochHmac = 4;
|
|
5915
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5918
|
+
message RotateEpochOutput {
|
|
5919
|
+
oneof result {
|
|
5920
|
+
RotateEpochSuccess success = 1;
|
|
5921
|
+
string error = 2;
|
|
5922
|
+
}
|
|
5923
|
+
}
|
|
5924
|
+
|
|
5925
|
+
message RotateEpochSuccess {
|
|
5926
|
+
required bytes newEpochRootKey = 1;
|
|
5927
|
+
required int32 newEpochAnonId = 2;
|
|
5928
|
+
required BackwardEdge backwardEdge = 4;
|
|
5929
|
+
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
5930
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5551
5933
|
message RoutingInfo {
|
|
5552
5934
|
repeated int32 regionId = 1;
|
|
5553
5935
|
repeated int32 clusterId = 2;
|
|
@@ -5563,6 +5945,24 @@ message ScheduledMessageMetadata {
|
|
|
5563
5945
|
optional uint64 scheduledTime = 3;
|
|
5564
5946
|
}
|
|
5565
5947
|
|
|
5948
|
+
message SealThreadIdInput {
|
|
5949
|
+
required bytes epochRootKey = 1;
|
|
5950
|
+
required int32 epochAnonId = 2;
|
|
5951
|
+
required uint64 backupId = 3;
|
|
5952
|
+
required string threadId = 4;
|
|
5953
|
+
}
|
|
5954
|
+
|
|
5955
|
+
message SealThreadIdOutput {
|
|
5956
|
+
oneof result {
|
|
5957
|
+
SealThreadIdSuccess success = 1;
|
|
5958
|
+
string error = 2;
|
|
5959
|
+
}
|
|
5960
|
+
}
|
|
5961
|
+
|
|
5962
|
+
message SealThreadIdSuccess {
|
|
5963
|
+
required bytes sealedThreadId = 1;
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5566
5966
|
message SenderKeyDistributionMessage {
|
|
5567
5967
|
optional uint32 id = 1;
|
|
5568
5968
|
optional uint32 iteration = 2;
|
|
@@ -6869,6 +7269,16 @@ message VerifiedNameCertificate {
|
|
|
6869
7269
|
|
|
6870
7270
|
}
|
|
6871
7271
|
|
|
7272
|
+
message VirtualDeviceOutput {
|
|
7273
|
+
required bytes vdId = 1;
|
|
7274
|
+
required bytes vdPublicKey = 2;
|
|
7275
|
+
required bytes vdEpochStoragePublicKey = 3;
|
|
7276
|
+
required bytes vdEpochStoragePublicKeySig = 4;
|
|
7277
|
+
required bytes ocmfRotationToken = 5;
|
|
7278
|
+
required bytes deviceEpochHmac = 6;
|
|
7279
|
+
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
7280
|
+
}
|
|
7281
|
+
|
|
6872
7282
|
message WallpaperSettings {
|
|
6873
7283
|
optional string filename = 1;
|
|
6874
7284
|
optional uint32 opacity = 2;
|