@wppconnect/wa-proto 1.1.43 → 1.1.49
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/CHANGELOG.md +24 -0
- package/WAProto.proto +62 -2
- package/dist/index.d.ts +808 -7
- package/dist/index.js +2282 -102
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [1.1.49](https://github.com/wppconnect-team/wa-proto/compare/v1.1.48...v1.1.49) (2025-03-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.1.48](https://github.com/wppconnect-team/wa-proto/compare/v1.1.47...v1.1.48) (2025-03-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.1.47](https://github.com/wppconnect-team/wa-proto/compare/v1.1.46...v1.1.47) (2025-03-13)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 1.1.46 (2025-03-12)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 1.1.45 (2025-03-10)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [1.1.44](https://github.com/wppconnect-team/wa-proto/compare/v1.1.43...v1.1.44) (2025-03-10)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
1
25
|
## [1.1.43](https://github.com/wppconnect-team/wa-proto/compare/v1.1.42...v1.1.43) (2025-03-08)
|
|
2
26
|
|
|
3
27
|
|
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.1020903593
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -195,6 +195,13 @@ message AIRichResponseMessage {
|
|
|
195
195
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
message Account {
|
|
199
|
+
optional string lid = 1;
|
|
200
|
+
optional string username = 2;
|
|
201
|
+
optional string countryCode = 3;
|
|
202
|
+
optional bool isUsernameDeleted = 4;
|
|
203
|
+
}
|
|
204
|
+
|
|
198
205
|
message ActionLink {
|
|
199
206
|
optional string url = 1;
|
|
200
207
|
optional string buttonTitle = 2;
|
|
@@ -461,6 +468,14 @@ message BotProgressIndicatorMetadata {
|
|
|
461
468
|
optional PlanningStepStatus status = 4;
|
|
462
469
|
optional bool isReasoning = 5;
|
|
463
470
|
optional bool isEnhancedSearch = 6;
|
|
471
|
+
repeated BotPlanningStepSectionMetadata sections = 7;
|
|
472
|
+
message BotPlanningSearchSourceMetadata {
|
|
473
|
+
optional string title = 1;
|
|
474
|
+
optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
|
|
475
|
+
optional string sourceUrl = 3;
|
|
476
|
+
optional string favIconUrl = 4;
|
|
477
|
+
}
|
|
478
|
+
|
|
464
479
|
message BotPlanningSearchSourcesMetadata {
|
|
465
480
|
optional string sourceTitle = 1;
|
|
466
481
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
@@ -473,6 +488,18 @@ message BotProgressIndicatorMetadata {
|
|
|
473
488
|
}
|
|
474
489
|
}
|
|
475
490
|
|
|
491
|
+
message BotPlanningStepSectionMetadata {
|
|
492
|
+
optional string sectionTitle = 1;
|
|
493
|
+
optional string sectionBody = 2;
|
|
494
|
+
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
enum BotSearchSourceProvider {
|
|
498
|
+
UNKNOWN_PROVIDER = 0;
|
|
499
|
+
OTHER = 1;
|
|
500
|
+
GOOGLE = 2;
|
|
501
|
+
BING = 3;
|
|
502
|
+
}
|
|
476
503
|
enum PlanningStepStatus {
|
|
477
504
|
UNKNOWN = 0;
|
|
478
505
|
PLANNED = 1;
|
|
@@ -712,6 +739,7 @@ message ClientPayload {
|
|
|
712
739
|
optional int32 memClass = 37;
|
|
713
740
|
optional InteropData interopData = 38;
|
|
714
741
|
optional TrafficAnonymization trafficAnonymization = 40;
|
|
742
|
+
optional bool lidDbMigrated = 41;
|
|
715
743
|
enum ConnectReason {
|
|
716
744
|
PUSH = 0;
|
|
717
745
|
USER_ACTIVATED = 1;
|
|
@@ -1010,6 +1038,7 @@ message ContextInfo {
|
|
|
1010
1038
|
optional string ctaPayload = 20;
|
|
1011
1039
|
optional bool disableNudge = 21;
|
|
1012
1040
|
optional string originalImageUrl = 22;
|
|
1041
|
+
optional bool wtwaAdFormat = 23;
|
|
1013
1042
|
enum MediaType {
|
|
1014
1043
|
NONE = 0;
|
|
1015
1044
|
IMAGE = 1;
|
|
@@ -1378,6 +1407,7 @@ message HistorySync {
|
|
|
1378
1407
|
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
1379
1408
|
optional string companionMetaNonce = 16;
|
|
1380
1409
|
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
1410
|
+
repeated Account accounts = 18;
|
|
1381
1411
|
enum BotAIWaitListState {
|
|
1382
1412
|
IN_WAITLIST = 0;
|
|
1383
1413
|
AI_AVAILABLE = 1;
|
|
@@ -1438,12 +1468,18 @@ message InteractiveAnnotation {
|
|
|
1438
1468
|
repeated Point polygonVertices = 1;
|
|
1439
1469
|
optional bool shouldSkipConfirmation = 4;
|
|
1440
1470
|
optional EmbeddedContent embeddedContent = 5;
|
|
1471
|
+
optional StatusLinkType statusLinkType = 8;
|
|
1441
1472
|
oneof action {
|
|
1442
1473
|
Location location = 2;
|
|
1443
1474
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1444
1475
|
bool embeddedAction = 6;
|
|
1445
1476
|
TapLinkAction tapAction = 7;
|
|
1446
1477
|
}
|
|
1478
|
+
enum StatusLinkType {
|
|
1479
|
+
RASTERIZED_LINK_PREVIEW = 1;
|
|
1480
|
+
RASTERIZED_LINK_TRUNCATED = 2;
|
|
1481
|
+
RASTERIZED_LINK_FULL_URL = 3;
|
|
1482
|
+
}
|
|
1447
1483
|
}
|
|
1448
1484
|
|
|
1449
1485
|
message KeepInChat {
|
|
@@ -1623,6 +1659,7 @@ message Message {
|
|
|
1623
1659
|
optional FutureProofMessage groupStatusMessage = 96;
|
|
1624
1660
|
optional AIRichResponseMessage richResponseMessage = 97;
|
|
1625
1661
|
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
1662
|
+
optional FutureProofMessage limitSharingMessage = 99;
|
|
1626
1663
|
message AlbumMessage {
|
|
1627
1664
|
optional uint32 expectedImageCount = 2;
|
|
1628
1665
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1971,6 +2008,7 @@ message Message {
|
|
|
1971
2008
|
optional uint32 videoHeight = 31;
|
|
1972
2009
|
optional uint32 videoWidth = 32;
|
|
1973
2010
|
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
2011
|
+
optional LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
1974
2012
|
enum FontType {
|
|
1975
2013
|
SYSTEM = 0;
|
|
1976
2014
|
SYSTEM_TEXT = 1;
|
|
@@ -1987,6 +2025,10 @@ message Message {
|
|
|
1987
2025
|
SUB = 2;
|
|
1988
2026
|
DEFAULT_SUB = 3;
|
|
1989
2027
|
}
|
|
2028
|
+
message LinkPreviewMetadata {
|
|
2029
|
+
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
1990
2032
|
enum PreviewType {
|
|
1991
2033
|
NONE = 0;
|
|
1992
2034
|
VIDEO = 1;
|
|
@@ -2421,6 +2463,23 @@ message Message {
|
|
|
2421
2463
|
}
|
|
2422
2464
|
}
|
|
2423
2465
|
|
|
2466
|
+
message PaymentLinkMetadata {
|
|
2467
|
+
optional PaymentLinkButton button = 1;
|
|
2468
|
+
optional PaymentLinkHeader header = 2;
|
|
2469
|
+
message PaymentLinkButton {
|
|
2470
|
+
required string displayText = 1;
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
message PaymentLinkHeader {
|
|
2474
|
+
required PaymentLinkHeaderType headerType = 1;
|
|
2475
|
+
enum PaymentLinkHeaderType {
|
|
2476
|
+
LINK_PREVIEW = 0;
|
|
2477
|
+
ORDER = 1;
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2424
2483
|
message PeerDataOperationRequestMessage {
|
|
2425
2484
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
2426
2485
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
@@ -2906,7 +2965,6 @@ message Message {
|
|
|
2906
2965
|
repeated InteractiveAnnotation annotations = 25;
|
|
2907
2966
|
optional string accessibilityLabel = 26;
|
|
2908
2967
|
repeated ProcessedVideo processedVideos = 27;
|
|
2909
|
-
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
2910
2968
|
enum Attribution {
|
|
2911
2969
|
NONE = 0;
|
|
2912
2970
|
GIPHY = 1;
|
|
@@ -2957,6 +3015,8 @@ message MessageAssociation {
|
|
|
2957
3015
|
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2958
3016
|
STICKER_ANNOTATION = 11;
|
|
2959
3017
|
MOTION_PHOTO = 12;
|
|
3018
|
+
STATUS_LINK_ACTION = 13;
|
|
3019
|
+
VIEW_ALL_REPLIES = 14;
|
|
2960
3020
|
}
|
|
2961
3021
|
}
|
|
2962
3022
|
|