@wppconnect/wa-proto 1.1.30 → 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 +52 -0
- package/WAProto.proto +82 -18
- package/dist/index.d.ts +787 -263
- package/dist/index.js +2261 -646
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
|
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
|
+
|
|
45
|
+
## [1.1.32](https://github.com/wppconnect-team/wa-proto/compare/v1.1.31...v1.1.32) (2025-02-24)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [1.1.31](https://github.com/wppconnect-team/wa-proto/compare/v1.1.30...v1.1.31) (2025-02-24)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
1
53
|
## [1.1.30](https://github.com/wppconnect-team/wa-proto/compare/v1.1.29...v1.1.30) (2025-02-21)
|
|
2
54
|
|
|
3
55
|
|
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;
|
|
@@ -256,6 +267,7 @@ message BotAvatarMetadata {
|
|
|
256
267
|
message BotCapabilityMetadata {
|
|
257
268
|
repeated BotCapabilityType capabilities = 1;
|
|
258
269
|
enum BotCapabilityType {
|
|
270
|
+
UNKNOWN = 0;
|
|
259
271
|
PROGRESS_INDICATOR = 1;
|
|
260
272
|
RICH_RESPONSE_HEADING = 2;
|
|
261
273
|
RICH_RESPONSE_NESTED_LIST = 3;
|
|
@@ -282,6 +294,9 @@ message BotCapabilityMetadata {
|
|
|
282
294
|
RICH_RESPONSE_LATEX = 24;
|
|
283
295
|
RICH_RESPONSE_MAPS = 25;
|
|
284
296
|
RICH_RESPONSE_INLINE_REELS = 26;
|
|
297
|
+
AGENTIC_PLANNING = 27;
|
|
298
|
+
ACCOUNT_LINKING = 28;
|
|
299
|
+
STREAMING_DISAGGREGATION = 29;
|
|
285
300
|
}
|
|
286
301
|
}
|
|
287
302
|
|
|
@@ -357,6 +372,7 @@ message BotMetadata {
|
|
|
357
372
|
optional BotRenderingMetadata renderingMetadata = 16;
|
|
358
373
|
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
359
374
|
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
375
|
+
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
|
360
376
|
}
|
|
361
377
|
|
|
362
378
|
enum BotMetricsEntryPoint {
|
|
@@ -377,12 +393,23 @@ enum BotMetricsEntryPoint {
|
|
|
377
393
|
FORWARD = 15;
|
|
378
394
|
APP_SHORTCUT = 16;
|
|
379
395
|
FF_FAMILY = 17;
|
|
396
|
+
AI_TAB = 18;
|
|
397
|
+
AI_HOME = 19;
|
|
398
|
+
AI_DEEPLINK_IMMERSIVE = 20;
|
|
399
|
+
AI_DEEPLINK = 21;
|
|
380
400
|
}
|
|
381
401
|
message BotMetricsMetadata {
|
|
382
402
|
optional string destinationId = 1;
|
|
383
403
|
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
|
404
|
+
optional BotMetricsThreadEntryPoint threadOrigin = 3;
|
|
384
405
|
}
|
|
385
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
|
+
}
|
|
386
413
|
message BotModelMetadata {
|
|
387
414
|
optional ModelType modelType = 1;
|
|
388
415
|
optional PremiumModelStatus premiumModelStatus = 2;
|
|
@@ -439,6 +466,7 @@ message BotProgressIndicatorMetadata {
|
|
|
439
466
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
440
467
|
optional string sourceUrl = 3;
|
|
441
468
|
enum BotPlanningSearchSourceProvider {
|
|
469
|
+
UNKNOWN = 0;
|
|
442
470
|
OTHER = 1;
|
|
443
471
|
GOOGLE = 2;
|
|
444
472
|
BING = 3;
|
|
@@ -446,6 +474,7 @@ message BotProgressIndicatorMetadata {
|
|
|
446
474
|
}
|
|
447
475
|
|
|
448
476
|
enum PlanningStepStatus {
|
|
477
|
+
UNKNOWN = 0;
|
|
449
478
|
PLANNED = 1;
|
|
450
479
|
EXECUTING = 2;
|
|
451
480
|
FINISHED = 3;
|
|
@@ -507,6 +536,25 @@ enum BotSessionSource {
|
|
|
507
536
|
EMU_FLASH_FOLLOWUP = 5;
|
|
508
537
|
VOICE = 6;
|
|
509
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
|
+
|
|
510
558
|
message BotSuggestedPromptMetadata {
|
|
511
559
|
repeated string suggestedPrompts = 1;
|
|
512
560
|
optional uint32 selectedPromptIndex = 2;
|
|
@@ -908,6 +956,7 @@ message ContextInfo {
|
|
|
908
956
|
optional StatusAttributionType statusAttributionType = 57;
|
|
909
957
|
optional UrlTrackingMap urlTrackingMap = 58;
|
|
910
958
|
optional PairedMediaType pairedMediaType = 59;
|
|
959
|
+
optional uint32 rankingVersion = 60;
|
|
911
960
|
message AdReplyInfo {
|
|
912
961
|
optional string advertiserName = 1;
|
|
913
962
|
optional MediaType mediaType = 2;
|
|
@@ -1063,6 +1112,8 @@ message Conversation {
|
|
|
1063
1112
|
optional PrivacySystemMessage systemMessageToInsert = 47;
|
|
1064
1113
|
optional bool capiCreatedGroup = 48;
|
|
1065
1114
|
optional string accountLid = 49;
|
|
1115
|
+
optional bool limitSharing = 50;
|
|
1116
|
+
optional int64 limitSharingSettingTimestamp = 51;
|
|
1066
1117
|
enum EndOfHistoryTransferType {
|
|
1067
1118
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1068
1119
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1440,6 +1491,15 @@ message LegacyMessage {
|
|
|
1440
1491
|
optional Message.PollVoteMessage pollVote = 2;
|
|
1441
1492
|
}
|
|
1442
1493
|
|
|
1494
|
+
message LimitSharing {
|
|
1495
|
+
optional bool sharingLimited = 1;
|
|
1496
|
+
optional Trigger trigger = 2;
|
|
1497
|
+
enum Trigger {
|
|
1498
|
+
CHAT_SETTING = 0;
|
|
1499
|
+
BIZ_SUPPORTS_FB_HOSTING = 1;
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1443
1503
|
message LocalizedName {
|
|
1444
1504
|
optional string lg = 1;
|
|
1445
1505
|
optional string lc = 2;
|
|
@@ -2594,6 +2654,7 @@ message Message {
|
|
|
2594
2654
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
2595
2655
|
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
2596
2656
|
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
2657
|
+
optional LimitSharing limitSharing = 24;
|
|
2597
2658
|
enum Type {
|
|
2598
2659
|
REVOKE = 0;
|
|
2599
2660
|
EPHEMERAL_SETTING = 3;
|
|
@@ -2617,6 +2678,7 @@ message Message {
|
|
|
2617
2678
|
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
2618
2679
|
STATUS_MENTION_MESSAGE = 25;
|
|
2619
2680
|
STOP_GENERATION_MESSAGE = 26;
|
|
2681
|
+
LIMIT_SHARING = 27;
|
|
2620
2682
|
}
|
|
2621
2683
|
}
|
|
2622
2684
|
|
|
@@ -2844,6 +2906,7 @@ message Message {
|
|
|
2844
2906
|
repeated InteractiveAnnotation annotations = 25;
|
|
2845
2907
|
optional string accessibilityLabel = 26;
|
|
2846
2908
|
repeated ProcessedVideo processedVideos = 27;
|
|
2909
|
+
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
2847
2910
|
enum Attribution {
|
|
2848
2911
|
NONE = 0;
|
|
2849
2912
|
GIPHY = 1;
|
|
@@ -2893,6 +2956,7 @@ message MessageAssociation {
|
|
|
2893
2956
|
STATUS_NOTIFICATION = 9;
|
|
2894
2957
|
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
2895
2958
|
STICKER_ANNOTATION = 11;
|
|
2959
|
+
MOTION_PHOTO = 12;
|
|
2896
2960
|
}
|
|
2897
2961
|
}
|
|
2898
2962
|
|