@wppconnect/wa-proto 2.3000.1046964124 → 2.3000.1046977494
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 +50 -1
- package/dist/index.d.ts +857 -3
- package/dist/index.js +2594 -4
- 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.1046977494
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -314,6 +314,22 @@ 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
|
+
|
|
317
333
|
message AutoDownloadSettings {
|
|
318
334
|
optional bool downloadImages = 1;
|
|
319
335
|
optional bool downloadAudio = 2;
|
|
@@ -1892,6 +1908,16 @@ message DeriveMessageKeyOutput {
|
|
|
1892
1908
|
optional string error = 2;
|
|
1893
1909
|
}
|
|
1894
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
|
+
|
|
1895
1921
|
message DeviceCapabilities {
|
|
1896
1922
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1897
1923
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2534,6 +2560,8 @@ message LabyrinthWaCommand {
|
|
|
2534
2560
|
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2535
2561
|
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2536
2562
|
RotateEpochInput rotateEpochInput = 6;
|
|
2563
|
+
DeriveVirtualDeviceIdInput deriveVirtualDeviceIdInput = 7;
|
|
2564
|
+
PrepareAddDeviceInput prepareAddDeviceInput = 8;
|
|
2537
2565
|
}
|
|
2538
2566
|
}
|
|
2539
2567
|
|
|
@@ -5083,6 +5111,27 @@ message PremiumMessageInfo {
|
|
|
5083
5111
|
optional string serverCampaignId = 1;
|
|
5084
5112
|
}
|
|
5085
5113
|
|
|
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
|
+
|
|
5086
5135
|
message PrimaryEphemeralIdentity {
|
|
5087
5136
|
optional bytes publicKey = 1;
|
|
5088
5137
|
optional bytes nonce = 2;
|