@wppconnect/wa-proto 2.3000.1046969912 → 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.1046969912
4
+ /// WhatsApp Version: 2.3000.1046992358
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -326,12 +326,6 @@ message AvatarUserSettings {
326
326
  optional string password = 2;
327
327
  }
328
328
 
329
- message BackwardEdge {
330
- optional bytes encryptedPrevEpochAnonId = 1;
331
- optional bytes encryptedPrevEpochRootKey = 2;
332
- optional bytes prevEpochRootKeyFingerprint = 3;
333
- }
334
-
335
329
  message BizAIMetadataSync {
336
330
  oneof operation {
337
331
  BizAIMetadataSync.ServerEvent serverEvent = 1;
@@ -1855,43 +1849,6 @@ message Conversation {
1855
1849
  }
1856
1850
  }
1857
1851
 
1858
- message CreateBackupInput {
1859
- required string recoveryCode = 1;
1860
- required uint64 userId = 2;
1861
- }
1862
-
1863
- message CreateBackupOutput {
1864
- optional DeviceOutput device = 1;
1865
- optional VirtualDeviceOutput virtualDevice = 2;
1866
- optional Epoch0Output epoch0 = 3;
1867
- optional bytes mailboxRootKey = 4;
1868
- optional string error = 5;
1869
- }
1870
-
1871
- message DecryptMessageInput {
1872
- required bytes epochRootKey = 1;
1873
- required bytes epochAnonId = 2;
1874
- required string threadId = 3;
1875
- required int32 encryptionVersion = 4;
1876
- required bytes ciphertext = 5;
1877
- }
1878
-
1879
- message DecryptMessageOutput {
1880
- optional bytes plaintextPayload = 1;
1881
- optional string error = 2;
1882
- }
1883
-
1884
- message DeriveMessageKeyInput {
1885
- required bytes epochRootKey = 1;
1886
- required bytes epochAnonId = 2;
1887
- required string threadId = 3;
1888
- }
1889
-
1890
- message DeriveMessageKeyOutput {
1891
- optional bytes messageKey = 1;
1892
- optional string error = 2;
1893
- }
1894
-
1895
1852
  message DeviceCapabilities {
1896
1853
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
1897
1854
  optional LIDMigration lidMigration = 2;
@@ -1969,19 +1926,6 @@ message DeviceListMetadata {
1969
1926
  repeated uint32 recipientKeyIndexes = 10 [packed=true];
1970
1927
  }
1971
1928
 
1972
- message DeviceOutput {
1973
- required bytes publicKey = 1;
1974
- required bytes epochAuthPublicKey = 2;
1975
- required bytes epochAuthPublicKeySig = 3;
1976
- required bytes epochStoragePublicKey = 4;
1977
- required bytes epochStoragePublicKeySig = 5;
1978
- repeated int32 supportedEncryptionVersions = 6;
1979
- required bytes encryptionVersionSignature = 7;
1980
- required int32 clientVersion = 8;
1981
- required bytes ocmfClientState = 9;
1982
- required bytes epochStoragePrivateKey = 10;
1983
- }
1984
-
1985
1929
  message DeviceProps {
1986
1930
  optional string os = 1;
1987
1931
  optional AppVersion version = 2;
@@ -2104,60 +2048,16 @@ message EmbeddedMusic {
2104
2048
  optional int64 overlapDurationInMs = 14;
2105
2049
  }
2106
2050
 
2107
- message EncryptMessageInput {
2108
- required bytes epochRootKey = 1;
2109
- required bytes mailboxRootKey = 2;
2110
- required bytes orfClientState = 3;
2111
- required bytes epochAnonId = 4;
2112
- required uint64 epochId = 5;
2113
- required string threadId = 6;
2114
- required uint64 waCanonicalUserFbid = 7;
2115
- required uint64 timestampMs = 8;
2116
- required uint64 backupId = 9;
2117
- required bytes plaintextPayload = 10;
2118
- required string stanzaId = 11;
2119
- }
2120
-
2121
- message EncryptMessageOutput {
2122
- optional bytes encryptedProtobuf = 1;
2123
- optional bytes orfThreadId = 2;
2124
- optional string valueSecretRef = 3;
2125
- optional uint64 offlineThreadingId = 4;
2126
- optional uint64 timestampMs = 5;
2127
- optional string error = 7;
2128
- }
2129
-
2130
2051
  message EncryptedPairingRequest {
2131
2052
  optional bytes encryptedPayload = 1;
2132
2053
  optional bytes iv = 2;
2133
2054
  }
2134
2055
 
2135
- message EncryptedSecretValuesOutput {
2136
- required bytes encryptedDevicePrivateKey = 1;
2137
- required bytes encryptedObliviousValidationTokenBlob = 2;
2138
- required bytes encryptedEpochStoragePrivateKey = 3;
2139
- required bytes encryptedOcmfClientState = 4;
2140
- optional bytes encryptedOrfClientStateV2 = 5;
2141
- required bytes encryptedMailboxRootKeyBlob = 6;
2142
- required bytes encryptedEpochAnonId = 7;
2143
- required bytes encryptedEpochRootKey = 8;
2144
- }
2145
-
2146
2056
  message EphemeralSetting {
2147
2057
  optional sfixed32 duration = 1;
2148
2058
  optional sfixed64 timestamp = 2;
2149
2059
  }
2150
2060
 
2151
- message Epoch0Output {
2152
- required uint64 epochFbid = 1;
2153
- required bytes epochAnonId = 2;
2154
- required bytes epochData = 3;
2155
- required bytes wrappedRootKeyForSelf = 4;
2156
- required bytes epochSignature = 5;
2157
- required bytes epochRootKeyFingerprint = 6;
2158
- optional bytes epochRootKey = 7;
2159
- }
2160
-
2161
2061
  message EventAdditionalMetadata {
2162
2062
  optional bool isStale = 1;
2163
2063
  }
@@ -2526,17 +2426,6 @@ message LIDMigrationMappingSyncMessage {
2526
2426
  optional bytes encodedMappingPayload = 1;
2527
2427
  }
2528
2428
 
2529
- message LabyrinthWaCommand {
2530
- oneof commandInput {
2531
- CreateBackupInput createBackupInput = 1;
2532
- EncryptMessageInput encryptMessageInput = 2;
2533
- DecryptMessageInput decryptMessageInput = 3;
2534
- OrfThreadIdInput orfThreadIdInput = 4;
2535
- DeriveMessageKeyInput deriveMessageKeyInput = 5;
2536
- RotateEpochInput rotateEpochInput = 6;
2537
- }
2538
- }
2539
-
2540
2429
  message LegacyMessage {
2541
2430
  optional Message.EventResponseMessage eventResponseMessage = 1;
2542
2431
  optional Message.PollVoteMessage pollVote = 2;
@@ -4855,16 +4744,6 @@ message NotificationSettings {
4855
4744
  optional string callVibrate = 6;
4856
4745
  }
4857
4746
 
4858
- message OrfThreadIdInput {
4859
- required bytes orfClientState = 1;
4860
- required string threadId = 2;
4861
- }
4862
-
4863
- message OrfThreadIdOutput {
4864
- optional bytes orfThreadId = 1;
4865
- optional string error = 2;
4866
- }
4867
-
4868
4747
  message PairingRequest {
4869
4748
  optional bytes companionPublicKey = 1;
4870
4749
  optional bytes companionIdentityKey = 2;
@@ -5190,37 +5069,6 @@ message ReportingTokenInfo {
5190
5069
  optional uint64 reportingTagTimestamp = 2;
5191
5070
  }
5192
5071
 
5193
- message RotateEpochInput {
5194
- required bytes currentEpochRootKey = 1;
5195
- required bytes currentEpochAnonId = 2;
5196
- required uint64 currentEpochFbid = 3;
5197
- required bytes epochStoragePrivateKey = 4;
5198
- repeated RotateEpochMemberInput members = 5;
5199
- }
5200
-
5201
- message RotateEpochMemberEdge {
5202
- optional uint64 deviceId = 1;
5203
- optional bytes encryptedEpochKey = 2;
5204
- optional bytes deviceEpochHmac = 3;
5205
- }
5206
-
5207
- message RotateEpochMemberInput {
5208
- required uint64 deviceId = 1;
5209
- required bytes epochStoragePublicKey = 2;
5210
- required bytes devicePublicKey = 3;
5211
- }
5212
-
5213
- message RotateEpochOutput {
5214
- optional bytes newEpochRootKey = 1;
5215
- optional uint64 newEpochAnonId = 2;
5216
- optional uint64 newEpochFbid = 8;
5217
- optional bytes epochAnonId = 3;
5218
- optional BackwardEdge backwardEdge = 4;
5219
- repeated RotateEpochMemberEdge memberEdges = 5;
5220
- optional bytes epochRootKeyFingerprint = 6;
5221
- optional string error = 7;
5222
- }
5223
-
5224
5072
  message RoutingInfo {
5225
5073
  repeated int32 regionId = 1;
5226
5074
  repeated int32 clusterId = 2;
@@ -6442,16 +6290,6 @@ message VerifiedNameCertificate {
6442
6290
 
6443
6291
  }
6444
6292
 
6445
- message VirtualDeviceOutput {
6446
- required bytes vdId = 1;
6447
- required bytes vdPublicKey = 2;
6448
- required bytes vdEpochStoragePublicKey = 3;
6449
- required bytes vdEpochStoragePublicKeySig = 4;
6450
- required bytes ocmfRotationToken = 5;
6451
- required bytes deviceEpochHmac = 6;
6452
- required EncryptedSecretValuesOutput encryptedSecretValues = 7;
6453
- }
6454
-
6455
6293
  message WallpaperSettings {
6456
6294
  optional string filename = 1;
6457
6295
  optional uint32 opacity = 2;