@wppconnect/wa-proto 2.3000.1046977494 → 2.3000.1046992358

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1046977494
4
+ /// WhatsApp Version: 2.3000.1046992358
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -314,22 +314,6 @@ message ActionLink {
314
314
  optional string buttonTitle = 2;
315
315
  }
316
316
 
317
- message AddDeviceEpochOutput {
318
- required uint64 serverEpochId = 1;
319
- required bytes epochAnonId = 2;
320
- required bytes epochRootKey = 3;
321
- }
322
-
323
- message AddDeviceKeysOutput {
324
- required bytes devicePublicKey = 1;
325
- required bytes epochAuthPublicKey = 2;
326
- required bytes epochAuthPublicKeySig = 3;
327
- required bytes epochStoragePublicKey = 4;
328
- required bytes epochStoragePublicKeySig = 5;
329
- required bytes epochStoragePrivateKey = 6;
330
- required bytes orfClientState = 7;
331
- }
332
-
333
317
  message AutoDownloadSettings {
334
318
  optional bool downloadImages = 1;
335
319
  optional bool downloadAudio = 2;
@@ -342,12 +326,6 @@ message AvatarUserSettings {
342
326
  optional string password = 2;
343
327
  }
344
328
 
345
- message BackwardEdge {
346
- optional bytes encryptedPrevEpochAnonId = 1;
347
- optional bytes encryptedPrevEpochRootKey = 2;
348
- optional bytes prevEpochRootKeyFingerprint = 3;
349
- }
350
-
351
329
  message BizAIMetadataSync {
352
330
  oneof operation {
353
331
  BizAIMetadataSync.ServerEvent serverEvent = 1;
@@ -1871,53 +1849,6 @@ message Conversation {
1871
1849
  }
1872
1850
  }
1873
1851
 
1874
- message CreateBackupInput {
1875
- required string recoveryCode = 1;
1876
- required uint64 userId = 2;
1877
- }
1878
-
1879
- message CreateBackupOutput {
1880
- optional DeviceOutput device = 1;
1881
- optional VirtualDeviceOutput virtualDevice = 2;
1882
- optional Epoch0Output epoch0 = 3;
1883
- optional bytes mailboxRootKey = 4;
1884
- optional string error = 5;
1885
- }
1886
-
1887
- message DecryptMessageInput {
1888
- required bytes epochRootKey = 1;
1889
- required bytes epochAnonId = 2;
1890
- required string threadId = 3;
1891
- required int32 encryptionVersion = 4;
1892
- required bytes ciphertext = 5;
1893
- }
1894
-
1895
- message DecryptMessageOutput {
1896
- optional bytes plaintextPayload = 1;
1897
- optional string error = 2;
1898
- }
1899
-
1900
- message DeriveMessageKeyInput {
1901
- required bytes epochRootKey = 1;
1902
- required bytes epochAnonId = 2;
1903
- required string threadId = 3;
1904
- }
1905
-
1906
- message DeriveMessageKeyOutput {
1907
- optional bytes messageKey = 1;
1908
- optional string error = 2;
1909
- }
1910
-
1911
- message DeriveVirtualDeviceIdInput {
1912
- required string recoveryCode = 1;
1913
- required uint64 userId = 2;
1914
- }
1915
-
1916
- message DeriveVirtualDeviceIdOutput {
1917
- optional bytes virtualDeviceId = 1;
1918
- optional string error = 2;
1919
- }
1920
-
1921
1852
  message DeviceCapabilities {
1922
1853
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
1923
1854
  optional LIDMigration lidMigration = 2;
@@ -1995,19 +1926,6 @@ message DeviceListMetadata {
1995
1926
  repeated uint32 recipientKeyIndexes = 10 [packed=true];
1996
1927
  }
1997
1928
 
1998
- message DeviceOutput {
1999
- required bytes publicKey = 1;
2000
- required bytes epochAuthPublicKey = 2;
2001
- required bytes epochAuthPublicKeySig = 3;
2002
- required bytes epochStoragePublicKey = 4;
2003
- required bytes epochStoragePublicKeySig = 5;
2004
- repeated int32 supportedEncryptionVersions = 6;
2005
- required bytes encryptionVersionSignature = 7;
2006
- required int32 clientVersion = 8;
2007
- required bytes ocmfClientState = 9;
2008
- required bytes epochStoragePrivateKey = 10;
2009
- }
2010
-
2011
1929
  message DeviceProps {
2012
1930
  optional string os = 1;
2013
1931
  optional AppVersion version = 2;
@@ -2130,60 +2048,16 @@ message EmbeddedMusic {
2130
2048
  optional int64 overlapDurationInMs = 14;
2131
2049
  }
2132
2050
 
2133
- message EncryptMessageInput {
2134
- required bytes epochRootKey = 1;
2135
- required bytes mailboxRootKey = 2;
2136
- required bytes orfClientState = 3;
2137
- required bytes epochAnonId = 4;
2138
- required uint64 epochId = 5;
2139
- required string threadId = 6;
2140
- required uint64 waCanonicalUserFbid = 7;
2141
- required uint64 timestampMs = 8;
2142
- required uint64 backupId = 9;
2143
- required bytes plaintextPayload = 10;
2144
- required string stanzaId = 11;
2145
- }
2146
-
2147
- message EncryptMessageOutput {
2148
- optional bytes encryptedProtobuf = 1;
2149
- optional bytes orfThreadId = 2;
2150
- optional string valueSecretRef = 3;
2151
- optional uint64 offlineThreadingId = 4;
2152
- optional uint64 timestampMs = 5;
2153
- optional string error = 7;
2154
- }
2155
-
2156
2051
  message EncryptedPairingRequest {
2157
2052
  optional bytes encryptedPayload = 1;
2158
2053
  optional bytes iv = 2;
2159
2054
  }
2160
2055
 
2161
- message EncryptedSecretValuesOutput {
2162
- required bytes encryptedDevicePrivateKey = 1;
2163
- required bytes encryptedObliviousValidationTokenBlob = 2;
2164
- required bytes encryptedEpochStoragePrivateKey = 3;
2165
- required bytes encryptedOcmfClientState = 4;
2166
- optional bytes encryptedOrfClientStateV2 = 5;
2167
- required bytes encryptedMailboxRootKeyBlob = 6;
2168
- required bytes encryptedEpochAnonId = 7;
2169
- required bytes encryptedEpochRootKey = 8;
2170
- }
2171
-
2172
2056
  message EphemeralSetting {
2173
2057
  optional sfixed32 duration = 1;
2174
2058
  optional sfixed64 timestamp = 2;
2175
2059
  }
2176
2060
 
2177
- message Epoch0Output {
2178
- required uint64 epochFbid = 1;
2179
- required bytes epochAnonId = 2;
2180
- required bytes epochData = 3;
2181
- required bytes wrappedRootKeyForSelf = 4;
2182
- required bytes epochSignature = 5;
2183
- required bytes epochRootKeyFingerprint = 6;
2184
- optional bytes epochRootKey = 7;
2185
- }
2186
-
2187
2061
  message EventAdditionalMetadata {
2188
2062
  optional bool isStale = 1;
2189
2063
  }
@@ -2552,19 +2426,6 @@ message LIDMigrationMappingSyncMessage {
2552
2426
  optional bytes encodedMappingPayload = 1;
2553
2427
  }
2554
2428
 
2555
- message LabyrinthWaCommand {
2556
- oneof commandInput {
2557
- CreateBackupInput createBackupInput = 1;
2558
- EncryptMessageInput encryptMessageInput = 2;
2559
- DecryptMessageInput decryptMessageInput = 3;
2560
- OrfThreadIdInput orfThreadIdInput = 4;
2561
- DeriveMessageKeyInput deriveMessageKeyInput = 5;
2562
- RotateEpochInput rotateEpochInput = 6;
2563
- DeriveVirtualDeviceIdInput deriveVirtualDeviceIdInput = 7;
2564
- PrepareAddDeviceInput prepareAddDeviceInput = 8;
2565
- }
2566
- }
2567
-
2568
2429
  message LegacyMessage {
2569
2430
  optional Message.EventResponseMessage eventResponseMessage = 1;
2570
2431
  optional Message.PollVoteMessage pollVote = 2;
@@ -4883,16 +4744,6 @@ message NotificationSettings {
4883
4744
  optional string callVibrate = 6;
4884
4745
  }
4885
4746
 
4886
- message OrfThreadIdInput {
4887
- required bytes orfClientState = 1;
4888
- required string threadId = 2;
4889
- }
4890
-
4891
- message OrfThreadIdOutput {
4892
- optional bytes orfThreadId = 1;
4893
- optional string error = 2;
4894
- }
4895
-
4896
4747
  message PairingRequest {
4897
4748
  optional bytes companionPublicKey = 1;
4898
4749
  optional bytes companionIdentityKey = 2;
@@ -5111,27 +4962,6 @@ message PremiumMessageInfo {
5111
4962
  optional string serverCampaignId = 1;
5112
4963
  }
5113
4964
 
5114
- message PrepareAddDeviceInput {
5115
- required string recoveryCode = 1;
5116
- required uint64 userId = 2;
5117
- required string encryptedSecretValuesJson = 3;
5118
- required uint64 virtualDeviceBaseEpochId = 4;
5119
- required uint64 activeEpochId = 5;
5120
- }
5121
-
5122
- message PrepareAddDeviceOutput {
5123
- optional AddDeviceKeysOutput deviceKeys = 1;
5124
- optional AddDeviceEpochOutput currentEpoch = 2;
5125
- optional bytes mailboxRootSalt = 3;
5126
- optional bytes orfRotationToken = 4;
5127
- optional bytes deviceEpochHmac = 5;
5128
- optional bytes epochRootKeyFingerprint = 6;
5129
- repeated int32 supportedEncryptionVersions = 7;
5130
- optional bytes encryptionVersionSignature = 8;
5131
- optional int32 clientVersion = 9;
5132
- optional string error = 10;
5133
- }
5134
-
5135
4965
  message PrimaryEphemeralIdentity {
5136
4966
  optional bytes publicKey = 1;
5137
4967
  optional bytes nonce = 2;
@@ -5239,37 +5069,6 @@ message ReportingTokenInfo {
5239
5069
  optional uint64 reportingTagTimestamp = 2;
5240
5070
  }
5241
5071
 
5242
- message RotateEpochInput {
5243
- required bytes currentEpochRootKey = 1;
5244
- required bytes currentEpochAnonId = 2;
5245
- required uint64 currentEpochFbid = 3;
5246
- required bytes epochStoragePrivateKey = 4;
5247
- repeated RotateEpochMemberInput members = 5;
5248
- }
5249
-
5250
- message RotateEpochMemberEdge {
5251
- optional uint64 deviceId = 1;
5252
- optional bytes encryptedEpochKey = 2;
5253
- optional bytes deviceEpochHmac = 3;
5254
- }
5255
-
5256
- message RotateEpochMemberInput {
5257
- required uint64 deviceId = 1;
5258
- required bytes epochStoragePublicKey = 2;
5259
- required bytes devicePublicKey = 3;
5260
- }
5261
-
5262
- message RotateEpochOutput {
5263
- optional bytes newEpochRootKey = 1;
5264
- optional uint64 newEpochAnonId = 2;
5265
- optional uint64 newEpochFbid = 8;
5266
- optional bytes epochAnonId = 3;
5267
- optional BackwardEdge backwardEdge = 4;
5268
- repeated RotateEpochMemberEdge memberEdges = 5;
5269
- optional bytes epochRootKeyFingerprint = 6;
5270
- optional string error = 7;
5271
- }
5272
-
5273
5072
  message RoutingInfo {
5274
5073
  repeated int32 regionId = 1;
5275
5074
  repeated int32 clusterId = 2;
@@ -6491,16 +6290,6 @@ message VerifiedNameCertificate {
6491
6290
 
6492
6291
  }
6493
6292
 
6494
- message VirtualDeviceOutput {
6495
- required bytes vdId = 1;
6496
- required bytes vdPublicKey = 2;
6497
- required bytes vdEpochStoragePublicKey = 3;
6498
- required bytes vdEpochStoragePublicKeySig = 4;
6499
- required bytes ocmfRotationToken = 5;
6500
- required bytes deviceEpochHmac = 6;
6501
- required EncryptedSecretValuesOutput encryptedSecretValues = 7;
6502
- }
6503
-
6504
6293
  message WallpaperSettings {
6505
6294
  optional string filename = 1;
6506
6295
  optional uint32 opacity = 2;