@wppconnect/wa-proto 2.3000.1046196466 → 2.3000.1046285972
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 +1 -163
- package/dist/index.d.ts +0 -2836
- package/dist/index.js +907 -9437
- 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.1046285972
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -325,12 +325,6 @@ message AvatarUserSettings {
|
|
|
325
325
|
optional string password = 2;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
message BackwardEdge {
|
|
329
|
-
optional bytes encryptedPrevEpochAnonId = 1;
|
|
330
|
-
optional bytes encryptedPrevEpochRootKey = 2;
|
|
331
|
-
optional bytes prevEpochRootKeyFingerprint = 3;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
328
|
message BizAccountLinkInfo {
|
|
335
329
|
optional uint64 whatsappBizAcctFbid = 1;
|
|
336
330
|
optional string whatsappAcctNumber = 2;
|
|
@@ -2066,43 +2060,6 @@ message Conversation {
|
|
|
2066
2060
|
}
|
|
2067
2061
|
}
|
|
2068
2062
|
|
|
2069
|
-
message CreateBackupInput {
|
|
2070
|
-
required string recoveryCode = 1;
|
|
2071
|
-
required uint64 userId = 2;
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
message CreateBackupOutput {
|
|
2075
|
-
optional DeviceOutput device = 1;
|
|
2076
|
-
optional VirtualDeviceOutput virtualDevice = 2;
|
|
2077
|
-
optional Epoch0Output epoch0 = 3;
|
|
2078
|
-
optional bytes mailboxRootKey = 4;
|
|
2079
|
-
optional string error = 5;
|
|
2080
|
-
}
|
|
2081
|
-
|
|
2082
|
-
message DecryptMessageInput {
|
|
2083
|
-
required bytes epochRootKey = 1;
|
|
2084
|
-
required bytes epochAnonId = 2;
|
|
2085
|
-
required string threadId = 3;
|
|
2086
|
-
required int32 encryptionVersion = 4;
|
|
2087
|
-
required bytes ciphertext = 5;
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
message DecryptMessageOutput {
|
|
2091
|
-
optional bytes plaintextPayload = 1;
|
|
2092
|
-
optional string error = 2;
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
message DeriveMessageKeyInput {
|
|
2096
|
-
required bytes epochRootKey = 1;
|
|
2097
|
-
required bytes epochAnonId = 2;
|
|
2098
|
-
required string threadId = 3;
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
message DeriveMessageKeyOutput {
|
|
2102
|
-
optional bytes messageKey = 1;
|
|
2103
|
-
optional string error = 2;
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
2063
|
message DeviceCapabilities {
|
|
2107
2064
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
2108
2065
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2179,19 +2136,6 @@ message DeviceListMetadata {
|
|
|
2179
2136
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2180
2137
|
}
|
|
2181
2138
|
|
|
2182
|
-
message DeviceOutput {
|
|
2183
|
-
required bytes publicKey = 1;
|
|
2184
|
-
required bytes epochAuthPublicKey = 2;
|
|
2185
|
-
required bytes epochAuthPublicKeySig = 3;
|
|
2186
|
-
required bytes epochStoragePublicKey = 4;
|
|
2187
|
-
required bytes epochStoragePublicKeySig = 5;
|
|
2188
|
-
repeated int32 supportedEncryptionVersions = 6;
|
|
2189
|
-
required bytes encryptionVersionSignature = 7;
|
|
2190
|
-
required int32 clientVersion = 8;
|
|
2191
|
-
required bytes ocmfClientState = 9;
|
|
2192
|
-
required bytes epochStoragePrivateKey = 10;
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
2139
|
message DeviceProps {
|
|
2196
2140
|
optional string os = 1;
|
|
2197
2141
|
optional AppVersion version = 2;
|
|
@@ -2314,60 +2258,16 @@ message EmbeddedMusic {
|
|
|
2314
2258
|
optional int64 overlapDurationInMs = 14;
|
|
2315
2259
|
}
|
|
2316
2260
|
|
|
2317
|
-
message EncryptMessageInput {
|
|
2318
|
-
required bytes epochRootKey = 1;
|
|
2319
|
-
required bytes mailboxRootKey = 2;
|
|
2320
|
-
required bytes orfClientState = 3;
|
|
2321
|
-
required bytes epochAnonId = 4;
|
|
2322
|
-
required uint64 epochId = 5;
|
|
2323
|
-
required string threadId = 6;
|
|
2324
|
-
required uint64 waCanonicalUserFbid = 7;
|
|
2325
|
-
required uint64 timestampMs = 8;
|
|
2326
|
-
required uint64 backupId = 9;
|
|
2327
|
-
required bytes plaintextPayload = 10;
|
|
2328
|
-
required string stanzaId = 11;
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
message EncryptMessageOutput {
|
|
2332
|
-
optional bytes encryptedProtobuf = 1;
|
|
2333
|
-
optional bytes orfThreadId = 2;
|
|
2334
|
-
optional string valueSecretRef = 3;
|
|
2335
|
-
optional uint64 offlineThreadingId = 4;
|
|
2336
|
-
optional uint64 timestampMs = 5;
|
|
2337
|
-
optional string error = 7;
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
2261
|
message EncryptedPairingRequest {
|
|
2341
2262
|
optional bytes encryptedPayload = 1;
|
|
2342
2263
|
optional bytes iv = 2;
|
|
2343
2264
|
}
|
|
2344
2265
|
|
|
2345
|
-
message EncryptedSecretValuesOutput {
|
|
2346
|
-
required bytes encryptedDevicePrivateKey = 1;
|
|
2347
|
-
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2348
|
-
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2349
|
-
required bytes encryptedOcmfClientState = 4;
|
|
2350
|
-
optional bytes encryptedOrfClientStateV2 = 5;
|
|
2351
|
-
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2352
|
-
required bytes encryptedEpochAnonId = 7;
|
|
2353
|
-
required bytes encryptedEpochRootKey = 8;
|
|
2354
|
-
}
|
|
2355
|
-
|
|
2356
2266
|
message EphemeralSetting {
|
|
2357
2267
|
optional sfixed32 duration = 1;
|
|
2358
2268
|
optional sfixed64 timestamp = 2;
|
|
2359
2269
|
}
|
|
2360
2270
|
|
|
2361
|
-
message Epoch0Output {
|
|
2362
|
-
required uint64 epochFbid = 1;
|
|
2363
|
-
required bytes epochAnonId = 2;
|
|
2364
|
-
required bytes epochData = 3;
|
|
2365
|
-
required bytes wrappedRootKeyForSelf = 4;
|
|
2366
|
-
required bytes epochSignature = 5;
|
|
2367
|
-
required bytes epochRootKeyFingerprint = 6;
|
|
2368
|
-
optional bytes epochRootKey = 7;
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
2271
|
message EventAdditionalMetadata {
|
|
2372
2272
|
optional bool isStale = 1;
|
|
2373
2273
|
}
|
|
@@ -2741,17 +2641,6 @@ message LIDMigrationMappingSyncMessage {
|
|
|
2741
2641
|
optional bytes encodedMappingPayload = 1;
|
|
2742
2642
|
}
|
|
2743
2643
|
|
|
2744
|
-
message LabyrinthWaCommand {
|
|
2745
|
-
oneof commandInput {
|
|
2746
|
-
CreateBackupInput createBackupInput = 1;
|
|
2747
|
-
EncryptMessageInput encryptMessageInput = 2;
|
|
2748
|
-
DecryptMessageInput decryptMessageInput = 3;
|
|
2749
|
-
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2750
|
-
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2751
|
-
RotateEpochInput rotateEpochInput = 6;
|
|
2752
|
-
}
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
2644
|
message LegacyMessage {
|
|
2756
2645
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2757
2646
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -5084,16 +4973,6 @@ message NotificationSettings {
|
|
|
5084
4973
|
optional string callVibrate = 6;
|
|
5085
4974
|
}
|
|
5086
4975
|
|
|
5087
|
-
message OrfThreadIdInput {
|
|
5088
|
-
required bytes orfClientState = 1;
|
|
5089
|
-
required string threadId = 2;
|
|
5090
|
-
}
|
|
5091
|
-
|
|
5092
|
-
message OrfThreadIdOutput {
|
|
5093
|
-
optional bytes orfThreadId = 1;
|
|
5094
|
-
optional string error = 2;
|
|
5095
|
-
}
|
|
5096
|
-
|
|
5097
4976
|
message PairingRequest {
|
|
5098
4977
|
optional bytes companionPublicKey = 1;
|
|
5099
4978
|
optional bytes companionIdentityKey = 2;
|
|
@@ -5419,37 +5298,6 @@ message ReportingTokenInfo {
|
|
|
5419
5298
|
optional uint64 reportingTagTimestamp = 2;
|
|
5420
5299
|
}
|
|
5421
5300
|
|
|
5422
|
-
message RotateEpochInput {
|
|
5423
|
-
required bytes currentEpochRootKey = 1;
|
|
5424
|
-
required bytes currentEpochAnonId = 2;
|
|
5425
|
-
required uint64 currentEpochFbid = 3;
|
|
5426
|
-
required bytes epochStoragePrivateKey = 4;
|
|
5427
|
-
repeated RotateEpochMemberInput members = 5;
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
message RotateEpochMemberEdge {
|
|
5431
|
-
optional uint64 deviceId = 1;
|
|
5432
|
-
optional bytes encryptedEpochKey = 2;
|
|
5433
|
-
optional bytes deviceEpochHmac = 3;
|
|
5434
|
-
}
|
|
5435
|
-
|
|
5436
|
-
message RotateEpochMemberInput {
|
|
5437
|
-
required uint64 deviceId = 1;
|
|
5438
|
-
required bytes epochStoragePublicKey = 2;
|
|
5439
|
-
required bytes devicePublicKey = 3;
|
|
5440
|
-
}
|
|
5441
|
-
|
|
5442
|
-
message RotateEpochOutput {
|
|
5443
|
-
optional bytes newEpochRootKey = 1;
|
|
5444
|
-
optional uint64 newEpochAnonId = 2;
|
|
5445
|
-
optional uint64 newEpochFbid = 8;
|
|
5446
|
-
optional bytes epochAnonId = 3;
|
|
5447
|
-
optional BackwardEdge backwardEdge = 4;
|
|
5448
|
-
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
5449
|
-
optional bytes epochRootKeyFingerprint = 6;
|
|
5450
|
-
optional string error = 7;
|
|
5451
|
-
}
|
|
5452
|
-
|
|
5453
5301
|
message RoutingInfo {
|
|
5454
5302
|
repeated int32 regionId = 1;
|
|
5455
5303
|
repeated int32 clusterId = 2;
|
|
@@ -6676,16 +6524,6 @@ message VerifiedNameCertificate {
|
|
|
6676
6524
|
|
|
6677
6525
|
}
|
|
6678
6526
|
|
|
6679
|
-
message VirtualDeviceOutput {
|
|
6680
|
-
required bytes vdId = 1;
|
|
6681
|
-
required bytes vdPublicKey = 2;
|
|
6682
|
-
required bytes vdEpochStoragePublicKey = 3;
|
|
6683
|
-
required bytes vdEpochStoragePublicKeySig = 4;
|
|
6684
|
-
required bytes ocmfRotationToken = 5;
|
|
6685
|
-
required bytes deviceEpochHmac = 6;
|
|
6686
|
-
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
6687
|
-
}
|
|
6688
|
-
|
|
6689
6527
|
message WallpaperSettings {
|
|
6690
6528
|
optional string filename = 1;
|
|
6691
6529
|
optional uint32 opacity = 2;
|