@wppconnect/wa-proto 1.1.32 → 1.1.43
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 +44 -0
- package/WAProto.proto +66 -18
- package/dist/index.d.ts +634 -239
- package/dist/index.js +1872 -646
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
## [1.1.43](https://github.com/wppconnect-team/wa-proto/compare/v1.1.42...v1.1.43) (2025-03-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.1.42](https://github.com/wppconnect-team/wa-proto/compare/v1.1.41...v1.1.42) (2025-03-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.1.41](https://github.com/wppconnect-team/wa-proto/compare/v1.1.40...v1.1.41) (2025-03-06)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 1.1.40 (2025-03-05)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.1.39](https://github.com/wppconnect-team/wa-proto/compare/v1.1.38...v1.1.39) (2025-03-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [1.1.38](https://github.com/wppconnect-team/wa-proto/compare/v1.1.37...v1.1.38) (2025-03-04)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 1.1.37 (2025-03-03)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [1.1.36](https://github.com/wppconnect-team/wa-proto/compare/v1.1.35...v1.1.36) (2025-03-03)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [1.1.35](https://github.com/wppconnect-team/wa-proto/compare/v1.1.34...v1.1.35) (2025-02-28)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## 1.1.34 (2025-02-27)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [1.1.33](https://github.com/wppconnect-team/wa-proto/compare/v1.1.32...v1.1.33) (2025-02-27)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
1
45
|
## [1.1.32](https://github.com/wppconnect-team/wa-proto/compare/v1.1.31...v1.1.32) (2025-02-24)
|
|
2
46
|
|
|
3
47
|
|
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.1020685987
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -68,6 +68,28 @@ message AIRichResponseMessage {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
message AIRichResponseContentItemsMetadata {
|
|
72
|
+
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
73
|
+
optional ContentType contentType = 2;
|
|
74
|
+
message AIRichResponseContentItemMetadata {
|
|
75
|
+
oneof aIRichResponseContentItem {
|
|
76
|
+
AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message AIRichResponseReelItem {
|
|
81
|
+
optional string title = 1;
|
|
82
|
+
optional string profileIconUrl = 2;
|
|
83
|
+
optional string thumbnailUrl = 3;
|
|
84
|
+
optional string videoUrl = 4;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
enum ContentType {
|
|
88
|
+
DEFAULT = 0;
|
|
89
|
+
CAROUSEL = 1;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
71
93
|
message AIRichResponseDynamicMetadata {
|
|
72
94
|
optional AIRichResponseDynamicMetadataType type = 1;
|
|
73
95
|
optional uint64 version = 2;
|
|
@@ -118,15 +140,15 @@ message AIRichResponseMessage {
|
|
|
118
140
|
|
|
119
141
|
message AIRichResponseMapMetadata {
|
|
120
142
|
optional double centerLatitude = 1;
|
|
121
|
-
optional double
|
|
143
|
+
optional double centerLongitude = 2;
|
|
122
144
|
optional double latitudeDelta = 3;
|
|
123
|
-
optional double
|
|
124
|
-
repeated AIRichResponseMapAnnotation
|
|
145
|
+
optional double longitudeDelta = 4;
|
|
146
|
+
repeated AIRichResponseMapAnnotation annotations = 5;
|
|
125
147
|
optional bool showInfoList = 6;
|
|
126
148
|
message AIRichResponseMapAnnotation {
|
|
127
149
|
optional uint32 annotationNumber = 1;
|
|
128
150
|
optional double latitude = 2;
|
|
129
|
-
optional double
|
|
151
|
+
optional double longitude = 3;
|
|
130
152
|
optional string title = 4;
|
|
131
153
|
optional string body = 5;
|
|
132
154
|
}
|
|
@@ -137,17 +159,6 @@ message AIRichResponseMessage {
|
|
|
137
159
|
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
138
160
|
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
139
161
|
}
|
|
140
|
-
message AIRichResponseReelsMetadata {
|
|
141
|
-
repeated AIRichResponseReelMetadata reelsMetadata = 1;
|
|
142
|
-
message AIRichResponseReelMetadata {
|
|
143
|
-
optional string title = 1;
|
|
144
|
-
optional string profileIconUrl = 2;
|
|
145
|
-
optional string previewUrl = 3;
|
|
146
|
-
optional string videoUrl = 4;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
162
|
message AIRichResponseSubMessage {
|
|
152
163
|
optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
|
|
153
164
|
optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
@@ -158,7 +169,7 @@ message AIRichResponseMessage {
|
|
|
158
169
|
optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
159
170
|
optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
|
|
160
171
|
optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
|
|
161
|
-
optional AIRichResponseMessage.
|
|
172
|
+
optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
|
162
173
|
}
|
|
163
174
|
|
|
164
175
|
enum AIRichResponseSubMessageType {
|
|
@@ -171,7 +182,7 @@ message AIRichResponseMessage {
|
|
|
171
182
|
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
172
183
|
AI_RICH_RESPONSE_MAP = 7;
|
|
173
184
|
AI_RICH_RESPONSE_LATEX = 8;
|
|
174
|
-
|
|
185
|
+
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
175
186
|
}
|
|
176
187
|
message AIRichResponseTableMetadata {
|
|
177
188
|
repeated AIRichResponseTableRow rows = 1;
|
|
@@ -284,6 +295,8 @@ message BotCapabilityMetadata {
|
|
|
284
295
|
RICH_RESPONSE_MAPS = 25;
|
|
285
296
|
RICH_RESPONSE_INLINE_REELS = 26;
|
|
286
297
|
AGENTIC_PLANNING = 27;
|
|
298
|
+
ACCOUNT_LINKING = 28;
|
|
299
|
+
STREAMING_DISAGGREGATION = 29;
|
|
287
300
|
}
|
|
288
301
|
}
|
|
289
302
|
|
|
@@ -359,6 +372,7 @@ message BotMetadata {
|
|
|
359
372
|
optional BotRenderingMetadata renderingMetadata = 16;
|
|
360
373
|
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
361
374
|
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
375
|
+
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
|
362
376
|
}
|
|
363
377
|
|
|
364
378
|
enum BotMetricsEntryPoint {
|
|
@@ -379,12 +393,23 @@ enum BotMetricsEntryPoint {
|
|
|
379
393
|
FORWARD = 15;
|
|
380
394
|
APP_SHORTCUT = 16;
|
|
381
395
|
FF_FAMILY = 17;
|
|
396
|
+
AI_TAB = 18;
|
|
397
|
+
AI_HOME = 19;
|
|
398
|
+
AI_DEEPLINK_IMMERSIVE = 20;
|
|
399
|
+
AI_DEEPLINK = 21;
|
|
382
400
|
}
|
|
383
401
|
message BotMetricsMetadata {
|
|
384
402
|
optional string destinationId = 1;
|
|
385
403
|
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
|
404
|
+
optional BotMetricsThreadEntryPoint threadOrigin = 3;
|
|
386
405
|
}
|
|
387
406
|
|
|
407
|
+
enum BotMetricsThreadEntryPoint {
|
|
408
|
+
AI_TAB_THREAD = 1;
|
|
409
|
+
AI_HOME_THREAD = 2;
|
|
410
|
+
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
411
|
+
AI_DEEPLINK_THREAD = 4;
|
|
412
|
+
}
|
|
388
413
|
message BotModelMetadata {
|
|
389
414
|
optional ModelType modelType = 1;
|
|
390
415
|
optional PremiumModelStatus premiumModelStatus = 2;
|
|
@@ -511,6 +536,25 @@ enum BotSessionSource {
|
|
|
511
536
|
EMU_FLASH_FOLLOWUP = 5;
|
|
512
537
|
VOICE = 6;
|
|
513
538
|
}
|
|
539
|
+
message BotSourcesMetadata {
|
|
540
|
+
repeated BotSourceItem sources = 1;
|
|
541
|
+
message BotSourceItem {
|
|
542
|
+
optional SourceProvider provider = 1;
|
|
543
|
+
optional string thumbnailCdnUrl = 2;
|
|
544
|
+
optional string sourceProviderUrl = 3;
|
|
545
|
+
optional string sourceQuery = 4;
|
|
546
|
+
optional string faviconCdnUrl = 5;
|
|
547
|
+
optional uint32 citationNumber = 6;
|
|
548
|
+
enum SourceProvider {
|
|
549
|
+
UNKNOWN = 0;
|
|
550
|
+
BING = 1;
|
|
551
|
+
GOOGLE = 2;
|
|
552
|
+
SUPPORT = 3;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
}
|
|
557
|
+
|
|
514
558
|
message BotSuggestedPromptMetadata {
|
|
515
559
|
repeated string suggestedPrompts = 1;
|
|
516
560
|
optional uint32 selectedPromptIndex = 2;
|
|
@@ -1068,6 +1112,8 @@ message Conversation {
|
|
|
1068
1112
|
optional PrivacySystemMessage systemMessageToInsert = 47;
|
|
1069
1113
|
optional bool capiCreatedGroup = 48;
|
|
1070
1114
|
optional string accountLid = 49;
|
|
1115
|
+
optional bool limitSharing = 50;
|
|
1116
|
+
optional int64 limitSharingSettingTimestamp = 51;
|
|
1071
1117
|
enum EndOfHistoryTransferType {
|
|
1072
1118
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1073
1119
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -2860,6 +2906,7 @@ message Message {
|
|
|
2860
2906
|
repeated InteractiveAnnotation annotations = 25;
|
|
2861
2907
|
optional string accessibilityLabel = 26;
|
|
2862
2908
|
repeated ProcessedVideo processedVideos = 27;
|
|
2909
|
+
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
2863
2910
|
enum Attribution {
|
|
2864
2911
|
NONE = 0;
|
|
2865
2912
|
GIPHY = 1;
|
|
@@ -2909,6 +2956,7 @@ message MessageAssociation {
|
|
|
2909
2956
|
STATUS_NOTIFICATION = 9;
|
|
2910
2957
|
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2911
2958
|
STICKER_ANNOTATION = 11;
|
|
2959
|
+
MOTION_PHOTO = 12;
|
|
2912
2960
|
}
|
|
2913
2961
|
}
|
|
2914
2962
|
|