@wppconnect/wa-proto 2.3000.1044953900 → 2.3000.1045008355

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.1044953900
4
+ /// WhatsApp Version: 2.3000.1045008355
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -2055,19 +2055,6 @@ message Conversation {
2055
2055
  }
2056
2056
  }
2057
2057
 
2058
- message CreateBackupInput {
2059
- required string recoveryCode = 1;
2060
- required uint64 userId = 2;
2061
- }
2062
-
2063
- message CreateBackupOutput {
2064
- optional DeviceOutput device = 1;
2065
- optional VirtualDeviceOutput virtualDevice = 2;
2066
- optional Epoch0Output epoch0 = 3;
2067
- optional bytes mailboxRootKey = 4;
2068
- optional string error = 5;
2069
- }
2070
-
2071
2058
  message DecryptMekForDistributionFromTransportSenderInput {
2072
2059
  required TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
2073
2060
  required bytes mekId = 2;
@@ -2119,19 +2106,6 @@ message DecryptMekForDistributionSuccess {
2119
2106
  required bytes mek = 1;
2120
2107
  }
2121
2108
 
2122
- message DecryptMessageInput {
2123
- required bytes epochRootKey = 1;
2124
- required bytes epochAnonId = 2;
2125
- required string threadId = 3;
2126
- required int32 encryptionVersion = 4;
2127
- required bytes ciphertext = 5;
2128
- }
2129
-
2130
- message DecryptMessageOutput {
2131
- optional bytes plaintextPayload = 1;
2132
- optional string error = 2;
2133
- }
2134
-
2135
2109
  message DecryptSelfMmkDistributionInput {
2136
2110
  required bytes encryptedMmk = 1;
2137
2111
  required bytes exportRootKey = 2;
@@ -2202,17 +2176,6 @@ message DeriveMailboxSigningKeypairSuccess {
2202
2176
  required bytes mailboxSigningPrivateKey = 2;
2203
2177
  }
2204
2178
 
2205
- message DeriveMessageKeyInput {
2206
- required bytes epochRootKey = 1;
2207
- required bytes epochAnonId = 2;
2208
- required string threadId = 3;
2209
- }
2210
-
2211
- message DeriveMessageKeyOutput {
2212
- optional bytes messageKey = 1;
2213
- optional string error = 2;
2214
- }
2215
-
2216
2179
  message DeriveMessagingMailboxKeypairsInput {
2217
2180
  required bytes mmkSeed = 1;
2218
2181
  }
@@ -2310,18 +2273,6 @@ message DeviceListMetadata {
2310
2273
  repeated uint32 recipientKeyIndexes = 10 [packed=true];
2311
2274
  }
2312
2275
 
2313
- message DeviceOutput {
2314
- required bytes publicKey = 1;
2315
- required bytes epochAuthPublicKey = 2;
2316
- required bytes epochAuthPublicKeySig = 3;
2317
- required bytes epochStoragePublicKey = 4;
2318
- required bytes epochStoragePublicKeySig = 5;
2319
- repeated int32 supportedEncryptionVersions = 6;
2320
- required bytes encryptionVersionSignature = 7;
2321
- required int32 clientVersion = 8;
2322
- required bytes ocmfClientState = 9;
2323
- }
2324
-
2325
2276
  message DeviceProps {
2326
2277
  optional string os = 1;
2327
2278
  optional AppVersion version = 2;
@@ -2597,60 +2548,16 @@ message EncryptMeksForDistributionFromTransportSenderResult {
2597
2548
  required uint64 version = 5;
2598
2549
  }
2599
2550
 
2600
- message EncryptMessageInput {
2601
- required bytes epochRootKey = 1;
2602
- required bytes mailboxRootKey = 2;
2603
- required bytes orfClientState = 3;
2604
- required bytes epochAnonId = 4;
2605
- required uint64 epochId = 5;
2606
- required string threadId = 6;
2607
- required uint64 waCanonicalUserFbid = 7;
2608
- required uint64 timestampMs = 8;
2609
- required uint64 backupId = 9;
2610
- required bytes plaintextPayload = 10;
2611
- required string stanzaId = 11;
2612
- }
2613
-
2614
- message EncryptMessageOutput {
2615
- optional bytes encryptedProtobuf = 1;
2616
- optional bytes orfThreadId = 2;
2617
- optional string valueSecretRef = 3;
2618
- optional uint64 offlineThreadingId = 4;
2619
- optional uint64 timestampMs = 5;
2620
- optional string error = 7;
2621
- }
2622
-
2623
2551
  message EncryptedPairingRequest {
2624
2552
  optional bytes encryptedPayload = 1;
2625
2553
  optional bytes iv = 2;
2626
2554
  }
2627
2555
 
2628
- message EncryptedSecretValuesOutput {
2629
- required bytes encryptedDevicePrivateKey = 1;
2630
- required bytes encryptedObliviousValidationTokenBlob = 2;
2631
- required bytes encryptedEpochStoragePrivateKey = 3;
2632
- required bytes encryptedOcmfClientState = 4;
2633
- optional bytes encryptedOrfClientStateV2 = 5;
2634
- required bytes encryptedMailboxRootKeyBlob = 6;
2635
- required bytes encryptedEpochAnonId = 7;
2636
- required bytes encryptedEpochRootKey = 8;
2637
- }
2638
-
2639
2556
  message EphemeralSetting {
2640
2557
  optional sfixed32 duration = 1;
2641
2558
  optional sfixed64 timestamp = 2;
2642
2559
  }
2643
2560
 
2644
- message Epoch0Output {
2645
- required uint64 epochFbid = 1;
2646
- required bytes epochAnonId = 2;
2647
- required bytes epochData = 3;
2648
- required bytes wrappedRootKeyForSelf = 4;
2649
- required bytes epochSignature = 5;
2650
- required bytes epochRootKeyFingerprint = 6;
2651
- optional bytes epochRootKey = 7;
2652
- }
2653
-
2654
2561
  message EpochPublicData {
2655
2562
  required uint64 epochNumber = 1;
2656
2563
  required string userFbid = 2;
@@ -3095,17 +3002,6 @@ message LIDMigrationMappingSyncMessage {
3095
3002
  optional bytes encodedMappingPayload = 1;
3096
3003
  }
3097
3004
 
3098
- message LabyrinthWaCommand {
3099
- oneof commandInput {
3100
- CreateBackupInput createBackupInput = 1;
3101
- EncryptMessageInput encryptMessageInput = 2;
3102
- DecryptMessageInput decryptMessageInput = 3;
3103
- OrfThreadIdInput orfThreadIdInput = 4;
3104
- DeriveMessageKeyInput deriveMessageKeyInput = 5;
3105
- RotateEpochInput rotateEpochInput = 6;
3106
- }
3107
- }
3108
-
3109
3005
  message LegacyMessage {
3110
3006
  optional Message.EventResponseMessage eventResponseMessage = 1;
3111
3007
  optional Message.PollVoteMessage pollVote = 2;
@@ -5779,16 +5675,6 @@ message NotificationSettings {
5779
5675
  optional string callVibrate = 6;
5780
5676
  }
5781
5677
 
5782
- message OrfThreadIdInput {
5783
- required bytes orfClientState = 1;
5784
- required string threadId = 2;
5785
- }
5786
-
5787
- message OrfThreadIdOutput {
5788
- optional bytes orfThreadId = 1;
5789
- optional string error = 2;
5790
- }
5791
-
5792
5678
  message PairingRequest {
5793
5679
  optional bytes companionPublicKey = 1;
5794
5680
  optional bytes companionIdentityKey = 2;
@@ -6114,37 +6000,6 @@ message ReportingTokenInfo {
6114
6000
  optional uint64 reportingTagTimestamp = 2;
6115
6001
  }
6116
6002
 
6117
- message RotateEpochInput {
6118
- required bytes currentEpochRootKey = 1;
6119
- required uint64 currentEpochAnonId = 2;
6120
- required uint64 currentEpochFbid = 3;
6121
- required uint64 newEpochFbid = 4;
6122
- required bytes epochStoragePrivateKey = 5;
6123
- repeated RotateEpochMemberInput members = 6;
6124
- }
6125
-
6126
- message RotateEpochMemberEdge {
6127
- optional uint64 deviceId = 1;
6128
- optional bytes encryptedEpochKey = 2;
6129
- optional bytes deviceEpochHmac = 3;
6130
- }
6131
-
6132
- message RotateEpochMemberInput {
6133
- required uint64 deviceId = 1;
6134
- required bytes epochStoragePublicKey = 2;
6135
- required bytes devicePublicKey = 3;
6136
- }
6137
-
6138
- message RotateEpochOutput {
6139
- optional bytes newEpochRootKey = 1;
6140
- optional uint64 newEpochAnonId = 2;
6141
- optional bytes epochAnonId = 3;
6142
- optional bytes epochData = 4;
6143
- repeated RotateEpochMemberEdge memberEdges = 5;
6144
- optional bytes epochRootKeyFingerprint = 6;
6145
- optional string error = 7;
6146
- }
6147
-
6148
6003
  message RoutingInfo {
6149
6004
  repeated int32 regionId = 1;
6150
6005
  repeated int32 clusterId = 2;
@@ -7362,16 +7217,6 @@ message VerifiedNameCertificate {
7362
7217
 
7363
7218
  }
7364
7219
 
7365
- message VirtualDeviceOutput {
7366
- required bytes vdId = 1;
7367
- required bytes vdPublicKey = 2;
7368
- required bytes vdEpochStoragePublicKey = 3;
7369
- required bytes vdEpochStoragePublicKeySig = 4;
7370
- required bytes ocmfRotationToken = 5;
7371
- required bytes deviceEpochHmac = 6;
7372
- required EncryptedSecretValuesOutput encryptedSecretValues = 7;
7373
- }
7374
-
7375
7220
  message WallpaperSettings {
7376
7221
  optional string filename = 1;
7377
7222
  optional uint32 opacity = 2;