@wppconnect/wa-proto 1.1.4 → 1.1.5
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 +38 -6
- package/dist/index.d.ts +469 -10
- package/dist/index.js +1330 -35
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.1018934872
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -434,6 +434,7 @@ message ChatRowOpaqueData {
|
|
|
434
434
|
|
|
435
435
|
message ClientPairingProps {
|
|
436
436
|
optional bool isChatDbLidMigrated = 1;
|
|
437
|
+
optional bool isSyncdPureLidSession = 2;
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
message ClientPayload {
|
|
@@ -705,6 +706,7 @@ message ContextInfo {
|
|
|
705
706
|
optional bytes ctwaPayload = 55;
|
|
706
707
|
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
|
707
708
|
optional StatusAttributionType statusAttributionType = 57;
|
|
709
|
+
optional UrlTrackingMap urlTrackingMap = 58;
|
|
708
710
|
message AdReplyInfo {
|
|
709
711
|
optional string advertiserName = 1;
|
|
710
712
|
optional MediaType mediaType = 2;
|
|
@@ -1204,10 +1206,20 @@ message KeyId {
|
|
|
1204
1206
|
optional bytes id = 1;
|
|
1205
1207
|
}
|
|
1206
1208
|
|
|
1209
|
+
message LIDMigrationMapping {
|
|
1210
|
+
required uint64 pn = 1;
|
|
1211
|
+
required uint64 assignedLid = 2;
|
|
1212
|
+
optional uint64 latestLid = 3;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1207
1215
|
message LIDMigrationMappingSyncMessage {
|
|
1208
1216
|
optional bytes encodedMappingPayload = 1;
|
|
1209
1217
|
}
|
|
1210
1218
|
|
|
1219
|
+
message LIDMigrationMappingSyncPayload {
|
|
1220
|
+
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1211
1223
|
message LegacyMessage {
|
|
1212
1224
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
1213
1225
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -1333,6 +1345,7 @@ message Message {
|
|
|
1333
1345
|
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
1334
1346
|
optional FutureProofMessage pollCreationMessageV5 = 94;
|
|
1335
1347
|
optional FutureProofMessage statusAddYours = 95;
|
|
1348
|
+
optional FutureProofMessage groupStatusMessage = 96;
|
|
1336
1349
|
message AlbumMessage {
|
|
1337
1350
|
optional uint32 expectedImageCount = 2;
|
|
1338
1351
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1860,6 +1873,7 @@ message Message {
|
|
|
1860
1873
|
optional Body body = 2;
|
|
1861
1874
|
optional Footer footer = 3;
|
|
1862
1875
|
optional ContextInfo contextInfo = 15;
|
|
1876
|
+
optional UrlTrackingMap urlTrackingMap = 16;
|
|
1863
1877
|
oneof interactiveMessage {
|
|
1864
1878
|
Message.InteractiveMessage.ShopMessage shopStorefrontMessage = 4;
|
|
1865
1879
|
Message.InteractiveMessage.CollectionMessage collectionMessage = 5;
|
|
@@ -2255,13 +2269,18 @@ message Message {
|
|
|
2255
2269
|
}
|
|
2256
2270
|
}
|
|
2257
2271
|
|
|
2272
|
+
enum PollContentType {
|
|
2273
|
+
UNKNOWN = 0;
|
|
2274
|
+
TEXT = 1;
|
|
2275
|
+
IMAGE = 2;
|
|
2276
|
+
}
|
|
2258
2277
|
message PollCreationMessage {
|
|
2259
2278
|
optional bytes encKey = 1;
|
|
2260
2279
|
optional string name = 2;
|
|
2261
2280
|
repeated Option options = 3;
|
|
2262
2281
|
optional uint32 selectableOptionsCount = 4;
|
|
2263
2282
|
optional ContextInfo contextInfo = 5;
|
|
2264
|
-
optional Message.
|
|
2283
|
+
optional Message.PollContentType pollContentType = 6;
|
|
2265
2284
|
optional PollType pollType = 7;
|
|
2266
2285
|
optional Option correctAnswer = 8;
|
|
2267
2286
|
message Option {
|
|
@@ -2280,10 +2299,6 @@ message Message {
|
|
|
2280
2299
|
optional bytes encIv = 2;
|
|
2281
2300
|
}
|
|
2282
2301
|
|
|
2283
|
-
enum PollMediaType {
|
|
2284
|
-
TEXT = 1;
|
|
2285
|
-
IMAGE = 2;
|
|
2286
|
-
}
|
|
2287
2302
|
message PollResultSnapshotMessage {
|
|
2288
2303
|
optional string name = 1;
|
|
2289
2304
|
repeated PollVote pollVotes = 2;
|
|
@@ -2708,6 +2723,7 @@ message MsgOpaqueData {
|
|
|
2708
2723
|
optional string pollUpdateParentKey = 23;
|
|
2709
2724
|
optional PollEncValue encPollVote = 24;
|
|
2710
2725
|
optional bool isSentCagPollCreation = 28;
|
|
2726
|
+
optional PollContentType pollContentType = 42;
|
|
2711
2727
|
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
2712
2728
|
optional string encReactionTargetMessageKey = 25;
|
|
2713
2729
|
optional bytes encReactionEncPayload = 26;
|
|
@@ -2732,6 +2748,11 @@ message MsgOpaqueData {
|
|
|
2732
2748
|
optional bytes jpegThumbnail = 6;
|
|
2733
2749
|
}
|
|
2734
2750
|
|
|
2751
|
+
enum PollContentType {
|
|
2752
|
+
UNKNOWN = 0;
|
|
2753
|
+
TEXT = 1;
|
|
2754
|
+
IMAGE = 2;
|
|
2755
|
+
}
|
|
2735
2756
|
message PollOption {
|
|
2736
2757
|
optional string name = 1;
|
|
2737
2758
|
}
|
|
@@ -3644,6 +3665,17 @@ message TemplateButton {
|
|
|
3644
3665
|
|
|
3645
3666
|
}
|
|
3646
3667
|
|
|
3668
|
+
message UrlTrackingMap {
|
|
3669
|
+
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
3670
|
+
message UrlTrackingMapElement {
|
|
3671
|
+
optional string originalUrl = 1;
|
|
3672
|
+
optional string unconsentedUsersUrl = 2;
|
|
3673
|
+
optional string consentedUsersUrl = 3;
|
|
3674
|
+
optional uint32 cardIndex = 4;
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3647
3679
|
message UserPassword {
|
|
3648
3680
|
optional Encoding encoding = 1;
|
|
3649
3681
|
optional Transformer transformer = 2;
|