@wppconnect/wa-proto 2.3000.1050834002 → 2.3000.1050908835
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 +71 -1
- package/dist/index.d.ts +1150 -5
- package/dist/index.js +3418 -0
- 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.1050908835
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1576,6 +1576,7 @@ message ContextInfo {
|
|
|
1576
1576
|
optional AIProvenance aiProvenance = 81;
|
|
1577
1577
|
repeated uint32 experienceIds = 82 [packed=true];
|
|
1578
1578
|
optional string partnerDeepLinkToken = 83;
|
|
1579
|
+
optional uint32 sourceExperienceId = 84;
|
|
1579
1580
|
message AdReplyInfo {
|
|
1580
1581
|
optional string advertiserName = 1;
|
|
1581
1582
|
optional MediaType mediaType = 2;
|
|
@@ -1792,9 +1793,12 @@ message ContextInfo {
|
|
|
1792
1793
|
optional AudienceType audienceType = 1;
|
|
1793
1794
|
optional string listName = 2;
|
|
1794
1795
|
optional string listEmoji = 3;
|
|
1796
|
+
optional string networkId = 4;
|
|
1795
1797
|
enum AudienceType {
|
|
1796
1798
|
UNKNOWN = 0;
|
|
1797
1799
|
CLOSE_FRIENDS = 1;
|
|
1800
|
+
CUSTOM_LIST = 2;
|
|
1801
|
+
NETWORK = 3;
|
|
1798
1802
|
}
|
|
1799
1803
|
}
|
|
1800
1804
|
|
|
@@ -2356,6 +2360,7 @@ message HistorySync {
|
|
|
2356
2360
|
PUSH_NAME = 4;
|
|
2357
2361
|
NON_BLOCKING_DATA = 5;
|
|
2358
2362
|
ON_DEMAND = 6;
|
|
2363
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
2359
2364
|
}
|
|
2360
2365
|
}
|
|
2361
2366
|
|
|
@@ -2503,6 +2508,14 @@ message KeyId {
|
|
|
2503
2508
|
optional bytes id = 1;
|
|
2504
2509
|
}
|
|
2505
2510
|
|
|
2511
|
+
message KeyTransparencyCommand {
|
|
2512
|
+
oneof commandInput {
|
|
2513
|
+
VerifyKeyTransparencyForUserSignalCommand verifyKtForUserSignal = 5;
|
|
2514
|
+
VerifyKeyTransparencyForUserMinosCommand verifyKtForUserMinos = 6;
|
|
2515
|
+
VerifyKeyTransparencyForUserMandrakeCommand verifyKtForUserMandrake = 7;
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2506
2519
|
message LIDMigrationMappingSyncMessage {
|
|
2507
2520
|
optional bytes encodedMappingPayload = 1;
|
|
2508
2521
|
}
|
|
@@ -3306,6 +3319,7 @@ message Message {
|
|
|
3306
3319
|
ON_DEMAND = 6;
|
|
3307
3320
|
NO_HISTORY = 7;
|
|
3308
3321
|
MESSAGE_ACCESS_STATUS = 8;
|
|
3322
|
+
RECENT_CONVERSATIONS_ON_DEMAND = 9;
|
|
3309
3323
|
}
|
|
3310
3324
|
message ImageMessage {
|
|
3311
3325
|
optional string url = 1;
|
|
@@ -3790,6 +3804,7 @@ message Message {
|
|
|
3790
3804
|
optional CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
|
|
3791
3805
|
optional BizBroadcastInsightsContactListRequest bizBroadcastInsightsContactListRequest = 11;
|
|
3792
3806
|
optional BizBroadcastInsightsRefreshRequest bizBroadcastInsightsRefreshRequest = 12;
|
|
3807
|
+
optional RecentConversationsOnDemandRequest recentConversationsOnDemandRequest = 13;
|
|
3793
3808
|
message BizBroadcastInsightsContactListRequest {
|
|
3794
3809
|
optional string campaignId = 1;
|
|
3795
3810
|
}
|
|
@@ -3841,6 +3856,11 @@ message Message {
|
|
|
3841
3856
|
optional MessageKey messageKey = 1;
|
|
3842
3857
|
}
|
|
3843
3858
|
|
|
3859
|
+
message RecentConversationsOnDemandRequest {
|
|
3860
|
+
optional uint32 conversationCount = 1;
|
|
3861
|
+
optional uint32 messagesPerConversation = 2;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3844
3864
|
message RequestStickerReupload {
|
|
3845
3865
|
optional string fileSha256 = 1;
|
|
3846
3866
|
}
|
|
@@ -4010,6 +4030,7 @@ message Message {
|
|
|
4010
4030
|
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
4011
4031
|
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
4012
4032
|
CONTACT_REFRESH_REQUEST = 14;
|
|
4033
|
+
RECENT_CONVERSATIONS_ON_DEMAND_REQUEST = 15;
|
|
4013
4034
|
}
|
|
4014
4035
|
message PinInChatMessage {
|
|
4015
4036
|
optional MessageKey key = 1;
|
|
@@ -4654,6 +4675,7 @@ message MessageContextInfo {
|
|
|
4654
4675
|
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4655
4676
|
optional string teeContextAnchorMessageId = 20;
|
|
4656
4677
|
optional ACP2Setting acp2Setting = 21;
|
|
4678
|
+
optional bool lightE2Ee = 22;
|
|
4657
4679
|
enum MessageAddonExpiryType {
|
|
4658
4680
|
STATIC = 1;
|
|
4659
4681
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -6538,6 +6560,52 @@ message VerifiedNameCertificate {
|
|
|
6538
6560
|
|
|
6539
6561
|
}
|
|
6540
6562
|
|
|
6563
|
+
message VerifyKeyTransparencyForUserMandrakeCommand {
|
|
6564
|
+
required bytes lookupResponse = 1;
|
|
6565
|
+
required int64 userFbid = 2;
|
|
6566
|
+
required uint64 auditorSignatureTtlSecs = 3;
|
|
6567
|
+
repeated string requestedAuditorList = 4;
|
|
6568
|
+
required bool isProductionBuild = 5;
|
|
6569
|
+
required bytes localMailboxHead = 6;
|
|
6570
|
+
}
|
|
6571
|
+
|
|
6572
|
+
message VerifyKeyTransparencyForUserMandrakeResult {
|
|
6573
|
+
optional bool success = 1;
|
|
6574
|
+
optional string error = 2;
|
|
6575
|
+
}
|
|
6576
|
+
|
|
6577
|
+
message VerifyKeyTransparencyForUserMinosCommand {
|
|
6578
|
+
required bytes lookupResponse = 1;
|
|
6579
|
+
required int64 userFbid = 2;
|
|
6580
|
+
required uint64 auditorSignatureTtlSecs = 3;
|
|
6581
|
+
repeated string requestedAuditorList = 4;
|
|
6582
|
+
required bool isProductionBuild = 5;
|
|
6583
|
+
required bytes localEpochHead = 6;
|
|
6584
|
+
}
|
|
6585
|
+
|
|
6586
|
+
message VerifyKeyTransparencyForUserMinosResult {
|
|
6587
|
+
optional bool success = 1;
|
|
6588
|
+
optional string error = 2;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
message VerifyKeyTransparencyForUserSignalCommand {
|
|
6592
|
+
required bytes rootHash = 1;
|
|
6593
|
+
required uint64 currentEpoch = 2;
|
|
6594
|
+
required int64 userFbid = 3;
|
|
6595
|
+
required bytes historyProof = 4;
|
|
6596
|
+
required bytes metaSignature = 5;
|
|
6597
|
+
required bytes cloudflareSignature = 6;
|
|
6598
|
+
required bytes cloudflareMessage = 7;
|
|
6599
|
+
required bytes cloudflarePubKey = 8;
|
|
6600
|
+
required uint64 auditorSignatureTtlSecs = 9;
|
|
6601
|
+
map<uint64, bytes> local_device_keys = 10;
|
|
6602
|
+
}
|
|
6603
|
+
|
|
6604
|
+
message VerifyKeyTransparencyForUserSignalResult {
|
|
6605
|
+
optional bool success = 1;
|
|
6606
|
+
optional string error = 2;
|
|
6607
|
+
}
|
|
6608
|
+
|
|
6541
6609
|
message WallpaperSettings {
|
|
6542
6610
|
optional string filename = 1;
|
|
6543
6611
|
optional uint32 opacity = 2;
|
|
@@ -6956,6 +7024,8 @@ message WebMessageInfo {
|
|
|
6956
7024
|
META_AI_THREAD_CREATED = 284;
|
|
6957
7025
|
META_AI_CONNECTOR_LINKED = 285;
|
|
6958
7026
|
SPLIT_PAYMENT_MARKED_AS_PAID = 289;
|
|
7027
|
+
POLL_OPTIONS_REMOVED = 290;
|
|
7028
|
+
POLL_ADDED_OPTION_REMOVED = 291;
|
|
6959
7029
|
}
|
|
6960
7030
|
}
|
|
6961
7031
|
|