@wppconnect/wa-proto 2.3000.1047086005 → 2.3000.1047124276
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 +51 -2
- package/dist/index.d.ts +603 -6
- package/dist/index.js +1650 -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.1047124276
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1676,6 +1676,7 @@ message ContextInfo {
|
|
|
1676
1676
|
optional int32 agmTitleStrategy = 30;
|
|
1677
1677
|
optional int32 agmSubtitleStrategy = 31;
|
|
1678
1678
|
optional int32 agmHeaderInteractionStrategy = 32;
|
|
1679
|
+
optional bool containsCtwaFlowsAutoLabel = 33;
|
|
1679
1680
|
enum AdType {
|
|
1680
1681
|
CTWA = 0;
|
|
1681
1682
|
CAWC = 1;
|
|
@@ -1842,6 +1843,7 @@ message Conversation {
|
|
|
1842
1843
|
optional string authAgentParentCompanyName = 61;
|
|
1843
1844
|
optional string authAgentObaPhoneNumber = 62;
|
|
1844
1845
|
optional IdentityVerificationState identityVerification = 63;
|
|
1846
|
+
optional ACP2Setting acp2Setting = 64;
|
|
1845
1847
|
enum EndOfHistoryTransferType {
|
|
1846
1848
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1847
1849
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -2002,6 +2004,8 @@ message DeviceProps {
|
|
|
2002
2004
|
CLOUD_API = 23;
|
|
2003
2005
|
SMARTGLASSES = 24;
|
|
2004
2006
|
WAIL = 25;
|
|
2007
|
+
WASS = 26;
|
|
2008
|
+
BUSINESS_BACK_OFFICE = 27;
|
|
2005
2009
|
}
|
|
2006
2010
|
}
|
|
2007
2011
|
|
|
@@ -2840,6 +2844,11 @@ message Message {
|
|
|
2840
2844
|
optional string id = 2;
|
|
2841
2845
|
}
|
|
2842
2846
|
|
|
2847
|
+
message ChatAnimatedWallpaper {
|
|
2848
|
+
optional string animatedWallpaperId = 1;
|
|
2849
|
+
optional float dimLevel = 2;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2843
2852
|
message ChatCustomImageWallpaper {
|
|
2844
2853
|
optional string directPath = 1;
|
|
2845
2854
|
optional bytes mediaKey = 2;
|
|
@@ -2872,6 +2881,7 @@ message Message {
|
|
|
2872
2881
|
Message.ChatSolidColorWallpaper solidColor = 11;
|
|
2873
2882
|
Message.ChatStockImageWallpaper stockImage = 12;
|
|
2874
2883
|
Message.ChatCustomImageWallpaper customImage = 13;
|
|
2884
|
+
Message.ChatAnimatedWallpaper animatedWallpaper = 14;
|
|
2875
2885
|
}
|
|
2876
2886
|
}
|
|
2877
2887
|
|
|
@@ -4049,6 +4059,8 @@ message Message {
|
|
|
4049
4059
|
optional Message.MarkAsVerifiedAction markAsVerifiedAction = 32;
|
|
4050
4060
|
optional CoexStateSync coexStateSync = 33;
|
|
4051
4061
|
optional ACP2Setting acp2Setting = 35;
|
|
4062
|
+
optional Message.SharedDeviceContactHashKeyShare sharedDeviceContactHashKeyShare = 36;
|
|
4063
|
+
optional Message.SharedDeviceContactHashKeyRequest sharedDeviceContactHashKeyRequest = 37;
|
|
4052
4064
|
enum Type {
|
|
4053
4065
|
REVOKE = 0;
|
|
4054
4066
|
EPHEMERAL_SETTING = 3;
|
|
@@ -4083,6 +4095,8 @@ message Message {
|
|
|
4083
4095
|
MARK_AS_VERIFIED_ACTION = 36;
|
|
4084
4096
|
COEX_STATE_SYNC = 37;
|
|
4085
4097
|
ACP2_SETTING = 39;
|
|
4098
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40;
|
|
4099
|
+
SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41;
|
|
4086
4100
|
}
|
|
4087
4101
|
}
|
|
4088
4102
|
|
|
@@ -4178,6 +4192,25 @@ message Message {
|
|
|
4178
4192
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
4179
4193
|
}
|
|
4180
4194
|
|
|
4195
|
+
message SharedDeviceContactHashKey {
|
|
4196
|
+
optional uint32 epoch = 1;
|
|
4197
|
+
optional Kind kind = 2;
|
|
4198
|
+
optional bytes keyData = 3;
|
|
4199
|
+
enum Kind {
|
|
4200
|
+
UNKNOWN = 0;
|
|
4201
|
+
LID = 1;
|
|
4202
|
+
PHONE_NUMBER = 2;
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
message SharedDeviceContactHashKeyRequest {
|
|
4207
|
+
optional uint32 knownEpoch = 1;
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
message SharedDeviceContactHashKeyShare {
|
|
4211
|
+
repeated Message.SharedDeviceContactHashKey keys = 1;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4181
4214
|
message SplitPaymentMessage {
|
|
4182
4215
|
optional string splitId = 1;
|
|
4183
4216
|
optional Money totalAmount = 2;
|
|
@@ -5513,8 +5546,22 @@ message SyncActionValue {
|
|
|
5513
5546
|
optional int64 scheduledTimestamp = 7;
|
|
5514
5547
|
optional int64 createTimestamp = 8;
|
|
5515
5548
|
optional SyncActionValue.BusinessBroadcastCampaignStatus status = 9;
|
|
5549
|
+
optional SyncActionValue.BusinessBroadcastCampaignBBProStatus bbProStatus = 10;
|
|
5550
|
+
optional string customAudienceFbid = 11;
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
enum BusinessBroadcastCampaignBBProStatus {
|
|
5554
|
+
BB_PRO_ACTIVE = 1;
|
|
5555
|
+
BB_PRO_COMPLETED = 2;
|
|
5556
|
+
BB_PRO_IN_DRAFT = 3;
|
|
5557
|
+
BB_PRO_IN_REVIEW = 4;
|
|
5558
|
+
BB_PRO_NOT_SENDING = 5;
|
|
5559
|
+
BB_PRO_OFF = 6;
|
|
5560
|
+
BB_PRO_REJECTED = 7;
|
|
5561
|
+
BB_PRO_SCHEDULED = 8;
|
|
5562
|
+
BB_PRO_SENDING_LIMITED = 9;
|
|
5563
|
+
BB_PRO_PROCESSING = 10;
|
|
5516
5564
|
}
|
|
5517
|
-
|
|
5518
5565
|
enum BusinessBroadcastCampaignStatus {
|
|
5519
5566
|
DRAFT = 1;
|
|
5520
5567
|
SCHEDULED = 2;
|
|
@@ -6683,6 +6730,8 @@ message WebMessageInfo {
|
|
|
6683
6730
|
IDENTITY_TRUST_UNMARKED = 227;
|
|
6684
6731
|
IDENTITY_TRUST_REVOKED = 228;
|
|
6685
6732
|
CTWA_CONSUMER_DISCLOSURE = 230;
|
|
6733
|
+
CHANGE_ACP2_SETTING = 240;
|
|
6734
|
+
EPHEMERAL_CHANGED_FOR_COEX = 248;
|
|
6686
6735
|
}
|
|
6687
6736
|
}
|
|
6688
6737
|
|