@wppconnect/wa-proto 2.3000.1025503119 → 2.3000.1025699514
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 +4 -0
- package/WAProto.proto +53 -3
- package/dist/index.d.ts +576 -6
- package/dist/index.js +1904 -27
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [2.3000.1025699514](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1025503119...v2.3000.1025699514) (2025-08-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
## [2.3000.1025503119](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1025424768...v2.3000.1025503119) (2025-08-05)
|
|
2
6
|
|
|
3
7
|
|
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.1025699514
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -428,6 +428,7 @@ message BotMetadata {
|
|
|
428
428
|
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
429
429
|
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
430
430
|
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
431
|
+
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
431
432
|
}
|
|
432
433
|
|
|
433
434
|
enum BotMetricsEntryPoint {
|
|
@@ -583,6 +584,7 @@ message BotPromotionMessageMetadata {
|
|
|
583
584
|
enum BotPromotionType {
|
|
584
585
|
UNKNOWN_TYPE = 0;
|
|
585
586
|
C50 = 1;
|
|
587
|
+
SURVEY_PLATFORM = 2;
|
|
586
588
|
}
|
|
587
589
|
}
|
|
588
590
|
|
|
@@ -1177,6 +1179,7 @@ message ContextInfo {
|
|
|
1177
1179
|
optional bool wtwaAdFormat = 24;
|
|
1178
1180
|
optional AdType adType = 25;
|
|
1179
1181
|
optional string wtwaWebsiteUrl = 26;
|
|
1182
|
+
optional string adPreviewUrl = 27;
|
|
1180
1183
|
enum AdType {
|
|
1181
1184
|
CTWA = 0;
|
|
1182
1185
|
CAWC = 1;
|
|
@@ -1646,6 +1649,43 @@ message IdentityKeyPairStructure {
|
|
|
1646
1649
|
optional bytes privateKey = 2;
|
|
1647
1650
|
}
|
|
1648
1651
|
|
|
1652
|
+
message InThreadSurveyMetadata {
|
|
1653
|
+
optional string tessaSessionId = 1;
|
|
1654
|
+
optional string simonSessionId = 2;
|
|
1655
|
+
optional string simonSurveyId = 3;
|
|
1656
|
+
optional string tessaRootId = 4;
|
|
1657
|
+
optional string requestId = 5;
|
|
1658
|
+
optional string tessaEvent = 6;
|
|
1659
|
+
optional string invitationHeaderText = 7;
|
|
1660
|
+
optional string invitationBodyText = 8;
|
|
1661
|
+
optional string invitationCtaText = 9;
|
|
1662
|
+
optional string invitationCtaUrl = 10;
|
|
1663
|
+
optional string surveyTitle = 11;
|
|
1664
|
+
repeated InThreadSurveyQuestion questions = 12;
|
|
1665
|
+
optional string surveyContinueButtonText = 13;
|
|
1666
|
+
optional string surveySubmitButtonText = 14;
|
|
1667
|
+
optional string privacyStatementFull = 15;
|
|
1668
|
+
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
|
|
1669
|
+
optional string feedbackToastText = 17;
|
|
1670
|
+
message InThreadSurveyOption {
|
|
1671
|
+
optional string stringValue = 1;
|
|
1672
|
+
optional uint32 numericValue = 2;
|
|
1673
|
+
optional string textTranslated = 3;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
message InThreadSurveyPrivacyStatementPart {
|
|
1677
|
+
optional string text = 1;
|
|
1678
|
+
optional string url = 2;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
message InThreadSurveyQuestion {
|
|
1682
|
+
optional string questionText = 1;
|
|
1683
|
+
optional string questionId = 2;
|
|
1684
|
+
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1649
1689
|
message InteractiveAnnotation {
|
|
1650
1690
|
repeated Point polygonVertices = 1;
|
|
1651
1691
|
optional bool shouldSkipConfirmation = 4;
|
|
@@ -2441,6 +2481,11 @@ message Message {
|
|
|
2441
2481
|
message CarouselMessage {
|
|
2442
2482
|
repeated Message.InteractiveMessage cards = 1;
|
|
2443
2483
|
optional int32 messageVersion = 2;
|
|
2484
|
+
optional CarouselCardType carouselCardType = 3;
|
|
2485
|
+
enum CarouselCardType {
|
|
2486
|
+
DEFAULT = 0;
|
|
2487
|
+
ALBUM = 1;
|
|
2488
|
+
}
|
|
2444
2489
|
}
|
|
2445
2490
|
|
|
2446
2491
|
message CollectionMessage {
|
|
@@ -2676,7 +2721,7 @@ message Message {
|
|
|
2676
2721
|
|
|
2677
2722
|
message MessageHistoryMetadata {
|
|
2678
2723
|
repeated string historyReceivers = 1;
|
|
2679
|
-
optional int64
|
|
2724
|
+
optional int64 oldestMessageTimestamp = 2;
|
|
2680
2725
|
optional int64 messageCount = 3;
|
|
2681
2726
|
}
|
|
2682
2727
|
|
|
@@ -2811,6 +2856,8 @@ message Message {
|
|
|
2811
2856
|
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
2812
2857
|
message CompanionCanonicalUserNonceFetchResponse {
|
|
2813
2858
|
optional string nonce = 1;
|
|
2859
|
+
optional string waFbid = 2;
|
|
2860
|
+
optional bool forceRefresh = 3;
|
|
2814
2861
|
}
|
|
2815
2862
|
|
|
2816
2863
|
message CompanionMetaNonceFetchResponse {
|
|
@@ -3115,6 +3162,7 @@ message Message {
|
|
|
3115
3162
|
optional Message noteMessage = 2;
|
|
3116
3163
|
optional MessageKey requestMessageKey = 3;
|
|
3117
3164
|
optional PaymentBackground background = 4;
|
|
3165
|
+
optional string transactionData = 5;
|
|
3118
3166
|
}
|
|
3119
3167
|
|
|
3120
3168
|
message SenderKeyDistributionMessage {
|
|
@@ -3934,6 +3982,7 @@ message StatusAttribution {
|
|
|
3934
3982
|
UNKNOWN = 0;
|
|
3935
3983
|
RAY_BAN_META_GLASSES = 1;
|
|
3936
3984
|
OAKLEY_META_GLASSES = 2;
|
|
3985
|
+
HYPERNOVA_GLASSES = 3;
|
|
3937
3986
|
}
|
|
3938
3987
|
}
|
|
3939
3988
|
|
|
@@ -4383,7 +4432,8 @@ message SyncActionValue {
|
|
|
4383
4432
|
optional bool isFavorite = 9;
|
|
4384
4433
|
optional uint32 deviceIdHint = 10;
|
|
4385
4434
|
optional bool isLottie = 11;
|
|
4386
|
-
optional
|
|
4435
|
+
optional string imageHash = 12;
|
|
4436
|
+
optional bool isAvatarSticker = 13;
|
|
4387
4437
|
}
|
|
4388
4438
|
|
|
4389
4439
|
message SubscriptionAction {
|