@wppconnect/wa-proto 2.3000.1053984976 → 2.3000.1054085650
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 +377 -18
- package/dist/index.d.ts +37009 -30087
- package/dist/index.js +109772 -90653
- 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.1054085650
|
|
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;
|
|
@@ -1513,12 +1537,6 @@ enum CollectionName {
|
|
|
1513
1537
|
CRITICAL_BLOCK = 4;
|
|
1514
1538
|
CRITICAL_UNBLOCK_LOW = 5;
|
|
1515
1539
|
}
|
|
1516
|
-
message CombinedFingerprint {
|
|
1517
|
-
optional uint32 version = 1;
|
|
1518
|
-
optional FingerprintData localFingerprint = 2;
|
|
1519
|
-
optional FingerprintData remoteFingerprint = 3;
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
1540
|
message CommentMetadata {
|
|
1523
1541
|
optional MessageKey commentParentKey = 1;
|
|
1524
1542
|
optional uint32 replyCount = 2;
|
|
@@ -1534,6 +1552,22 @@ message CompanionEphemeralIdentity {
|
|
|
1534
1552
|
optional string ref = 3;
|
|
1535
1553
|
}
|
|
1536
1554
|
|
|
1555
|
+
message ComputeClientSealTokenInput {
|
|
1556
|
+
required bytes orfClientState = 1;
|
|
1557
|
+
required uint64 backupId = 2;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
message ComputeClientSealTokenOutput {
|
|
1561
|
+
oneof result {
|
|
1562
|
+
ComputeClientSealTokenSuccess success = 1;
|
|
1563
|
+
string error = 2;
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
message ComputeClientSealTokenSuccess {
|
|
1568
|
+
required bytes clientSealToken = 1;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1537
1571
|
message Config {
|
|
1538
1572
|
map<uint32, Field> field = 1;
|
|
1539
1573
|
}
|
|
@@ -1932,6 +1966,94 @@ message Conversation {
|
|
|
1932
1966
|
}
|
|
1933
1967
|
}
|
|
1934
1968
|
|
|
1969
|
+
message CreateBackupInput {
|
|
1970
|
+
required string recoveryCode = 1;
|
|
1971
|
+
required uint64 userId = 2;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
message CreateBackupOutput {
|
|
1975
|
+
oneof result {
|
|
1976
|
+
CreateBackupSuccess success = 1;
|
|
1977
|
+
string error = 2;
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
message CreateBackupSuccess {
|
|
1982
|
+
required DeviceOutput device = 1;
|
|
1983
|
+
required VirtualDeviceOutput virtualDevice = 2;
|
|
1984
|
+
required Epoch0Output epoch0 = 3;
|
|
1985
|
+
required bytes mailboxRootKey = 4;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
message DecryptMessageInput {
|
|
1989
|
+
required bytes epochRootKey = 1;
|
|
1990
|
+
required int32 epochAnonId = 2;
|
|
1991
|
+
required string threadId = 3;
|
|
1992
|
+
required int32 encryptionVersion = 4;
|
|
1993
|
+
required bytes ciphertext = 5;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
message DecryptMessageOutput {
|
|
1997
|
+
oneof result {
|
|
1998
|
+
DecryptMessageSuccess success = 1;
|
|
1999
|
+
string error = 2;
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
message DecryptMessageSuccess {
|
|
2004
|
+
required bytes plaintextPayload = 1;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
message DeriveEpochsInput {
|
|
2008
|
+
required bytes epochStoragePrivateKey = 1;
|
|
2009
|
+
repeated EpochKey epochs = 2;
|
|
2010
|
+
repeated EpochDerivationEdge edges = 3;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
message DeriveEpochsOutput {
|
|
2014
|
+
oneof result {
|
|
2015
|
+
DeriveEpochsSuccess success = 1;
|
|
2016
|
+
string error = 2;
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
message DeriveEpochsSuccess {
|
|
2021
|
+
repeated EpochKey epochs = 1;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
message DeriveMessageKeyInput {
|
|
2025
|
+
required bytes epochRootKey = 1;
|
|
2026
|
+
required int32 epochAnonId = 2;
|
|
2027
|
+
required string threadId = 3;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
message DeriveMessageKeyOutput {
|
|
2031
|
+
oneof result {
|
|
2032
|
+
DeriveMessageKeySuccess success = 1;
|
|
2033
|
+
string error = 2;
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
message DeriveMessageKeySuccess {
|
|
2038
|
+
required bytes messageKey = 1;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
message DeriveVirtualDeviceIdInput {
|
|
2042
|
+
required string recoveryCode = 1;
|
|
2043
|
+
required uint64 userId = 2;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
message DeriveVirtualDeviceIdOutput {
|
|
2047
|
+
oneof result {
|
|
2048
|
+
DeriveVirtualDeviceIdSuccess success = 1;
|
|
2049
|
+
string error = 2;
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
message DeriveVirtualDeviceIdSuccess {
|
|
2054
|
+
required bytes virtualDeviceId = 1;
|
|
2055
|
+
}
|
|
2056
|
+
|
|
1935
2057
|
message DeviceCapabilities {
|
|
1936
2058
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1937
2059
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2040,6 +2162,21 @@ message DeviceListMetadata {
|
|
|
2040
2162
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2041
2163
|
}
|
|
2042
2164
|
|
|
2165
|
+
message DeviceOutput {
|
|
2166
|
+
required bytes publicKey = 1;
|
|
2167
|
+
required bytes epochAuthPublicKey = 2;
|
|
2168
|
+
required bytes epochAuthPublicKeySig = 3;
|
|
2169
|
+
required bytes epochStoragePublicKey = 4;
|
|
2170
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
2171
|
+
repeated int32 supportedEncryptionVersions = 6;
|
|
2172
|
+
required bytes encryptionVersionSignature = 7;
|
|
2173
|
+
required int32 clientVersion = 8;
|
|
2174
|
+
required bytes ocmfClientState = 9;
|
|
2175
|
+
required bytes epochStoragePrivateKey = 10;
|
|
2176
|
+
required bytes epochAuthPrivateKey = 11;
|
|
2177
|
+
required bytes deviceEpochHmac = 12;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2043
2180
|
message DeviceProps {
|
|
2044
2181
|
optional string os = 1;
|
|
2045
2182
|
optional AppVersion version = 2;
|
|
@@ -2169,16 +2306,79 @@ message EmbeddedMusic {
|
|
|
2169
2306
|
optional int64 overlapDurationInMs = 14;
|
|
2170
2307
|
}
|
|
2171
2308
|
|
|
2309
|
+
message EncryptMessageInput {
|
|
2310
|
+
required bytes epochRootKey = 1;
|
|
2311
|
+
required bytes mailboxRootKey = 2;
|
|
2312
|
+
required bytes orfClientState = 3;
|
|
2313
|
+
required int32 epochAnonId = 4;
|
|
2314
|
+
required uint64 epochId = 5;
|
|
2315
|
+
required string threadId = 6;
|
|
2316
|
+
required uint64 waCanonicalUserFbid = 7;
|
|
2317
|
+
required uint64 timestampMs = 8;
|
|
2318
|
+
required uint64 backupId = 9;
|
|
2319
|
+
required bytes plaintextPayload = 10;
|
|
2320
|
+
required string stanzaId = 11;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
message EncryptMessageOutput {
|
|
2324
|
+
oneof result {
|
|
2325
|
+
EncryptMessageSuccess success = 1;
|
|
2326
|
+
string error = 2;
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
message EncryptMessageSuccess {
|
|
2331
|
+
required bytes encryptedProtobuf = 1;
|
|
2332
|
+
required bytes orfThreadId = 2;
|
|
2333
|
+
required string valueSecretRef = 3;
|
|
2334
|
+
required uint64 offlineThreadingId = 4;
|
|
2335
|
+
required uint64 timestampMs = 5;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2172
2338
|
message EncryptedPairingRequest {
|
|
2173
2339
|
optional bytes encryptedPayload = 1;
|
|
2174
2340
|
optional bytes iv = 2;
|
|
2175
2341
|
}
|
|
2176
2342
|
|
|
2343
|
+
message EncryptedSecretValuesOutput {
|
|
2344
|
+
required bytes encryptedDevicePrivateKey = 1;
|
|
2345
|
+
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2346
|
+
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2347
|
+
required bytes encryptedOcmfClientState = 4;
|
|
2348
|
+
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2349
|
+
required bytes encryptedEpochAnonId = 7;
|
|
2350
|
+
required bytes encryptedEpochRootKey = 8;
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2177
2353
|
message EphemeralSetting {
|
|
2178
2354
|
optional sfixed32 duration = 1;
|
|
2179
2355
|
optional sfixed64 timestamp = 2;
|
|
2180
2356
|
}
|
|
2181
2357
|
|
|
2358
|
+
message Epoch0Output {
|
|
2359
|
+
required int32 epochAnonId = 2;
|
|
2360
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
2361
|
+
required bytes epochRootKey = 7;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
message EpochDerivationEdge {
|
|
2365
|
+
required EpochIds fromEpoch = 1;
|
|
2366
|
+
required EpochIds toEpoch = 2;
|
|
2367
|
+
optional ForwardEdgeInput forwardEdge = 3;
|
|
2368
|
+
optional bytes backwardEdge = 4;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
message EpochIds {
|
|
2372
|
+
required uint64 serverEpochId = 1;
|
|
2373
|
+
required int32 epochAnonId = 2;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
message EpochKey {
|
|
2377
|
+
required uint64 serverEpochId = 1;
|
|
2378
|
+
required int32 epochAnonId = 2;
|
|
2379
|
+
required bytes epochRootKey = 3;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2182
2382
|
message EventAdditionalMetadata {
|
|
2183
2383
|
optional bool isStale = 1;
|
|
2184
2384
|
}
|
|
@@ -2215,13 +2415,9 @@ message Field {
|
|
|
2215
2415
|
map<uint32, Field> subfield = 5;
|
|
2216
2416
|
}
|
|
2217
2417
|
|
|
2218
|
-
message
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
optional bytes lidIdentifier = 3;
|
|
2222
|
-
optional bytes usernameIdentifier = 4;
|
|
2223
|
-
optional HostedState hostedState = 5;
|
|
2224
|
-
optional bytes hashedPublicKey = 6;
|
|
2418
|
+
message ForwardEdgeInput {
|
|
2419
|
+
required bytes encryptedEntropy = 1;
|
|
2420
|
+
required bytes authPublicKey = 2;
|
|
2225
2421
|
}
|
|
2226
2422
|
|
|
2227
2423
|
message ForwardedAIBotMessageInfo {
|
|
@@ -2423,10 +2619,6 @@ message HistorySyncMsg {
|
|
|
2423
2619
|
optional uint64 msgOrderId = 2;
|
|
2424
2620
|
}
|
|
2425
2621
|
|
|
2426
|
-
enum HostedState {
|
|
2427
|
-
E2EE = 0;
|
|
2428
|
-
HOSTED = 1;
|
|
2429
|
-
}
|
|
2430
2622
|
message HydratedTemplateButton {
|
|
2431
2623
|
optional uint32 index = 4;
|
|
2432
2624
|
oneof hydratedButton {
|
|
@@ -2566,6 +2758,24 @@ message LIDMigrationMappingSyncMessage {
|
|
|
2566
2758
|
optional bytes encodedMappingPayload = 1;
|
|
2567
2759
|
}
|
|
2568
2760
|
|
|
2761
|
+
message LabyrinthWaCommand {
|
|
2762
|
+
oneof commandInput {
|
|
2763
|
+
CreateBackupInput createBackupInput = 1;
|
|
2764
|
+
EncryptMessageInput encryptMessageInput = 2;
|
|
2765
|
+
DecryptMessageInput decryptMessageInput = 3;
|
|
2766
|
+
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2767
|
+
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2768
|
+
RotateEpochInput rotateEpochInput = 6;
|
|
2769
|
+
DeriveVirtualDeviceIdInput deriveVirtualDeviceIdInput = 7;
|
|
2770
|
+
PrepareAddDeviceInput prepareAddDeviceInput = 8;
|
|
2771
|
+
ComputeClientSealTokenInput computeClientSealTokenInput = 9;
|
|
2772
|
+
OpenSealedThreadIdInput openSealedThreadIdInput = 10;
|
|
2773
|
+
DeriveEpochsInput deriveEpochsInput = 11;
|
|
2774
|
+
SealThreadIdInput sealThreadIdInput = 12;
|
|
2775
|
+
PrepareAddPeerDeviceInput prepareAddPeerDeviceInput = 13;
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2569
2779
|
message LegacyMessage {
|
|
2570
2780
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2571
2781
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -5112,6 +5322,40 @@ message OmittedConversationMetadata {
|
|
|
5112
5322
|
repeated Conversation conversations = 6;
|
|
5113
5323
|
}
|
|
5114
5324
|
|
|
5325
|
+
message OpenSealedThreadIdInput {
|
|
5326
|
+
required uint64 backupId = 1;
|
|
5327
|
+
required bytes sealedThreadId = 2;
|
|
5328
|
+
repeated EpochKey epochs = 3;
|
|
5329
|
+
}
|
|
5330
|
+
|
|
5331
|
+
message OpenSealedThreadIdOutput {
|
|
5332
|
+
oneof result {
|
|
5333
|
+
OpenSealedThreadIdSuccess success = 1;
|
|
5334
|
+
string error = 2;
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
message OpenSealedThreadIdSuccess {
|
|
5339
|
+
required string threadId = 1;
|
|
5340
|
+
required int32 sealEpochAnonId = 2;
|
|
5341
|
+
}
|
|
5342
|
+
|
|
5343
|
+
message OrfThreadIdInput {
|
|
5344
|
+
required bytes orfClientState = 1;
|
|
5345
|
+
required string threadId = 2;
|
|
5346
|
+
}
|
|
5347
|
+
|
|
5348
|
+
message OrfThreadIdOutput {
|
|
5349
|
+
oneof result {
|
|
5350
|
+
OrfThreadIdSuccess success = 1;
|
|
5351
|
+
string error = 2;
|
|
5352
|
+
}
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
message OrfThreadIdSuccess {
|
|
5356
|
+
required bytes orfThreadId = 1;
|
|
5357
|
+
}
|
|
5358
|
+
|
|
5115
5359
|
message PairingRequest {
|
|
5116
5360
|
optional bytes companionPublicKey = 1;
|
|
5117
5361
|
optional bytes companionIdentityKey = 2;
|
|
@@ -5331,6 +5575,56 @@ message PremiumMessageInfo {
|
|
|
5331
5575
|
optional string serverCampaignId = 1;
|
|
5332
5576
|
}
|
|
5333
5577
|
|
|
5578
|
+
message PrepareAddDeviceInput {
|
|
5579
|
+
required string recoveryCode = 1;
|
|
5580
|
+
required uint64 userId = 2;
|
|
5581
|
+
required string encryptedSecretValuesJson = 3;
|
|
5582
|
+
required uint64 virtualDeviceBaseEpochId = 4;
|
|
5583
|
+
required uint64 activeEpochId = 5;
|
|
5584
|
+
repeated AddDeviceSyncEpochInput syncEpochs = 6;
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
message PrepareAddDeviceOutput {
|
|
5588
|
+
oneof result {
|
|
5589
|
+
PrepareAddDeviceSuccess success = 1;
|
|
5590
|
+
string error = 2;
|
|
5591
|
+
}
|
|
5592
|
+
}
|
|
5593
|
+
|
|
5594
|
+
message PrepareAddDeviceSuccess {
|
|
5595
|
+
required AddDeviceKeysOutput deviceKeys = 1;
|
|
5596
|
+
required EpochKey currentEpoch = 2;
|
|
5597
|
+
required bytes mailboxRootSalt = 3;
|
|
5598
|
+
required bytes orfRotationToken = 4;
|
|
5599
|
+
required bytes deviceEpochHmac = 5;
|
|
5600
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5601
|
+
repeated int32 supportedEncryptionVersions = 7;
|
|
5602
|
+
required bytes encryptionVersionSignature = 8;
|
|
5603
|
+
required int32 clientVersion = 9;
|
|
5604
|
+
}
|
|
5605
|
+
|
|
5606
|
+
message PrepareAddPeerDeviceInput {
|
|
5607
|
+
required bytes advSecret = 1;
|
|
5608
|
+
required bytes sealedPayload = 2;
|
|
5609
|
+
required uint64 backupId = 3;
|
|
5610
|
+
required uint64 userId = 4;
|
|
5611
|
+
required bytes companionIdentityPub = 5;
|
|
5612
|
+
required uint64 activeEpochId = 6;
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5615
|
+
message PrepareAddPeerDeviceOutput {
|
|
5616
|
+
oneof result {
|
|
5617
|
+
PrepareAddPeerDeviceSuccess success = 1;
|
|
5618
|
+
string error = 2;
|
|
5619
|
+
}
|
|
5620
|
+
}
|
|
5621
|
+
|
|
5622
|
+
message PrepareAddPeerDeviceSuccess {
|
|
5623
|
+
required PrepareAddDeviceSuccess enrolment = 1;
|
|
5624
|
+
required uint64 serverDataId = 2;
|
|
5625
|
+
required bytes companionDeviceBinding = 3;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5334
5628
|
message PrimaryEphemeralIdentity {
|
|
5335
5629
|
optional bytes publicKey = 1;
|
|
5336
5630
|
optional bytes nonce = 2;
|
|
@@ -5431,6 +5725,43 @@ message ReportingTokenInfo {
|
|
|
5431
5725
|
optional uint64 reportingTagTimestamp = 2;
|
|
5432
5726
|
}
|
|
5433
5727
|
|
|
5728
|
+
message RotateEpochInput {
|
|
5729
|
+
required bytes currentEpochRootKey = 1;
|
|
5730
|
+
required int32 currentEpochAnonId = 2;
|
|
5731
|
+
required uint64 currentEpochFbid = 3;
|
|
5732
|
+
required bytes epochStorageAuthPrivateKey = 4;
|
|
5733
|
+
repeated RotateEpochMemberInput members = 5;
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
message RotateEpochMemberEdge {
|
|
5737
|
+
required uint64 deviceId = 1;
|
|
5738
|
+
required bytes encryptedEpochKey = 2;
|
|
5739
|
+
required bytes deviceEpochHmac = 3;
|
|
5740
|
+
}
|
|
5741
|
+
|
|
5742
|
+
message RotateEpochMemberInput {
|
|
5743
|
+
required uint64 deviceId = 1;
|
|
5744
|
+
required bytes epochStoragePublicKey = 2;
|
|
5745
|
+
required bytes devicePublicKey = 3;
|
|
5746
|
+
required bytes prevDeviceEpochHmac = 4;
|
|
5747
|
+
required bytes epochStoragePublicKeySig = 5;
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
message RotateEpochOutput {
|
|
5751
|
+
oneof result {
|
|
5752
|
+
RotateEpochSuccess success = 1;
|
|
5753
|
+
string error = 2;
|
|
5754
|
+
}
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
message RotateEpochSuccess {
|
|
5758
|
+
required bytes newEpochRootKey = 1;
|
|
5759
|
+
required int32 newEpochAnonId = 2;
|
|
5760
|
+
required BackwardEdge backwardEdge = 4;
|
|
5761
|
+
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
5762
|
+
required bytes epochRootKeyFingerprint = 6;
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5434
5765
|
message RoutingInfo {
|
|
5435
5766
|
repeated int32 regionId = 1;
|
|
5436
5767
|
repeated int32 clusterId = 2;
|
|
@@ -5446,6 +5777,24 @@ message ScheduledMessageMetadata {
|
|
|
5446
5777
|
optional uint64 scheduledTime = 3;
|
|
5447
5778
|
}
|
|
5448
5779
|
|
|
5780
|
+
message SealThreadIdInput {
|
|
5781
|
+
required bytes epochRootKey = 1;
|
|
5782
|
+
required int32 epochAnonId = 2;
|
|
5783
|
+
required uint64 backupId = 3;
|
|
5784
|
+
required string threadId = 4;
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5787
|
+
message SealThreadIdOutput {
|
|
5788
|
+
oneof result {
|
|
5789
|
+
SealThreadIdSuccess success = 1;
|
|
5790
|
+
string error = 2;
|
|
5791
|
+
}
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5794
|
+
message SealThreadIdSuccess {
|
|
5795
|
+
required bytes sealedThreadId = 1;
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5449
5798
|
message SenderKeyDistributionMessage {
|
|
5450
5799
|
optional uint32 id = 1;
|
|
5451
5800
|
optional uint32 iteration = 2;
|
|
@@ -6724,6 +7073,16 @@ message VerifiedNameCertificate {
|
|
|
6724
7073
|
|
|
6725
7074
|
}
|
|
6726
7075
|
|
|
7076
|
+
message VirtualDeviceOutput {
|
|
7077
|
+
required bytes vdId = 1;
|
|
7078
|
+
required bytes vdPublicKey = 2;
|
|
7079
|
+
required bytes vdEpochStoragePublicKey = 3;
|
|
7080
|
+
required bytes vdEpochStoragePublicKeySig = 4;
|
|
7081
|
+
required bytes ocmfRotationToken = 5;
|
|
7082
|
+
required bytes deviceEpochHmac = 6;
|
|
7083
|
+
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
7084
|
+
}
|
|
7085
|
+
|
|
6727
7086
|
message WallpaperSettings {
|
|
6728
7087
|
optional string filename = 1;
|
|
6729
7088
|
optional uint32 opacity = 2;
|