@wppconnect/wa-proto 2.3000.1028355510 → 2.3000.1028596186
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 +8 -0
- package/WAProto.proto +4 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.js +47 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1028596186](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028401180...v2.3000.1028596186) (2025-10-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1028401180](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028355510...v2.3000.1028401180) (2025-10-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1028355510](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028340218...v2.3000.1028355510) (2025-10-13)
|
|
2
10
|
|
|
3
11
|
|
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.1028596186
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -361,6 +361,7 @@ message BotCapabilityMetadata {
|
|
|
361
361
|
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
|
|
362
362
|
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
363
363
|
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
364
|
+
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
367
|
|
|
@@ -3712,6 +3713,7 @@ message MsgOpaqueData {
|
|
|
3712
3713
|
optional bool isSentCagPollCreation = 28;
|
|
3713
3714
|
optional PollContentType pollContentType = 42;
|
|
3714
3715
|
optional PollType pollType = 46;
|
|
3716
|
+
optional int32 correctOptionIndex = 47;
|
|
3715
3717
|
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
3716
3718
|
optional string encReactionTargetMessageKey = 25;
|
|
3717
3719
|
optional bytes encReactionEncPayload = 26;
|
|
@@ -4707,6 +4709,7 @@ message SyncActionValue {
|
|
|
4707
4709
|
ALLOW_LIST = 0;
|
|
4708
4710
|
DENY_LIST = 1;
|
|
4709
4711
|
CONTACTS = 2;
|
|
4712
|
+
CLOSE_FRIENDS = 3;
|
|
4710
4713
|
}
|
|
4711
4714
|
}
|
|
4712
4715
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4326,7 +4326,8 @@ export namespace waproto {
|
|
|
4326
4326
|
RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43,
|
|
4327
4327
|
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44,
|
|
4328
4328
|
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45,
|
|
4329
|
-
RICH_RESPONSE_IN_APP_SURVEY = 46
|
|
4329
|
+
RICH_RESPONSE_IN_APP_SURVEY = 46,
|
|
4330
|
+
AI_RESPONSE_MODEL_BRANDING = 47
|
|
4330
4331
|
}
|
|
4331
4332
|
}
|
|
4332
4333
|
|
|
@@ -42033,6 +42034,9 @@ export namespace waproto {
|
|
|
42033
42034
|
/** MsgOpaqueData pollType */
|
|
42034
42035
|
pollType?: (waproto.MsgOpaqueData.PollType|null);
|
|
42035
42036
|
|
|
42037
|
+
/** MsgOpaqueData correctOptionIndex */
|
|
42038
|
+
correctOptionIndex?: (number|null);
|
|
42039
|
+
|
|
42036
42040
|
/** MsgOpaqueData pollVotesSnapshot */
|
|
42037
42041
|
pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
42038
42042
|
|
|
@@ -42169,6 +42173,9 @@ export namespace waproto {
|
|
|
42169
42173
|
/** MsgOpaqueData pollType. */
|
|
42170
42174
|
public pollType?: (waproto.MsgOpaqueData.PollType|null);
|
|
42171
42175
|
|
|
42176
|
+
/** MsgOpaqueData correctOptionIndex. */
|
|
42177
|
+
public correctOptionIndex?: (number|null);
|
|
42178
|
+
|
|
42172
42179
|
/** MsgOpaqueData pollVotesSnapshot. */
|
|
42173
42180
|
public pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
42174
42181
|
|
|
@@ -56342,7 +56349,8 @@ export namespace waproto {
|
|
|
56342
56349
|
enum StatusDistributionMode {
|
|
56343
56350
|
ALLOW_LIST = 0,
|
|
56344
56351
|
DENY_LIST = 1,
|
|
56345
|
-
CONTACTS = 2
|
|
56352
|
+
CONTACTS = 2,
|
|
56353
|
+
CLOSE_FRIENDS = 3
|
|
56346
56354
|
}
|
|
56347
56355
|
}
|
|
56348
56356
|
|
package/dist/index.js
CHANGED
|
@@ -11956,6 +11956,7 @@ $root.waproto = (function() {
|
|
|
11956
11956
|
case 44:
|
|
11957
11957
|
case 45:
|
|
11958
11958
|
case 46:
|
|
11959
|
+
case 47:
|
|
11959
11960
|
break;
|
|
11960
11961
|
}
|
|
11961
11962
|
}
|
|
@@ -12173,6 +12174,10 @@ $root.waproto = (function() {
|
|
|
12173
12174
|
case 46:
|
|
12174
12175
|
message.capabilities[i] = 46;
|
|
12175
12176
|
break;
|
|
12177
|
+
case "AI_RESPONSE_MODEL_BRANDING":
|
|
12178
|
+
case 47:
|
|
12179
|
+
message.capabilities[i] = 47;
|
|
12180
|
+
break;
|
|
12176
12181
|
}
|
|
12177
12182
|
}
|
|
12178
12183
|
return message;
|
|
@@ -12278,6 +12283,7 @@ $root.waproto = (function() {
|
|
|
12278
12283
|
* @property {number} RICH_RESPONSE_UR_MEDIA_GRID_ENABLED=44 RICH_RESPONSE_UR_MEDIA_GRID_ENABLED value
|
|
12279
12284
|
* @property {number} RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER=45 RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER value
|
|
12280
12285
|
* @property {number} RICH_RESPONSE_IN_APP_SURVEY=46 RICH_RESPONSE_IN_APP_SURVEY value
|
|
12286
|
+
* @property {number} AI_RESPONSE_MODEL_BRANDING=47 AI_RESPONSE_MODEL_BRANDING value
|
|
12281
12287
|
*/
|
|
12282
12288
|
BotCapabilityMetadata.BotCapabilityType = (function() {
|
|
12283
12289
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -12328,6 +12334,7 @@ $root.waproto = (function() {
|
|
|
12328
12334
|
values[valuesById[44] = "RICH_RESPONSE_UR_MEDIA_GRID_ENABLED"] = 44;
|
|
12329
12335
|
values[valuesById[45] = "RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER"] = 45;
|
|
12330
12336
|
values[valuesById[46] = "RICH_RESPONSE_IN_APP_SURVEY"] = 46;
|
|
12337
|
+
values[valuesById[47] = "AI_RESPONSE_MODEL_BRANDING"] = 47;
|
|
12331
12338
|
return values;
|
|
12332
12339
|
})();
|
|
12333
12340
|
|
|
@@ -130445,6 +130452,7 @@ $root.waproto = (function() {
|
|
|
130445
130452
|
* @property {boolean|null} [isSentCagPollCreation] MsgOpaqueData isSentCagPollCreation
|
|
130446
130453
|
* @property {waproto.MsgOpaqueData.PollContentType|null} [pollContentType] MsgOpaqueData pollContentType
|
|
130447
130454
|
* @property {waproto.MsgOpaqueData.PollType|null} [pollType] MsgOpaqueData pollType
|
|
130455
|
+
* @property {number|null} [correctOptionIndex] MsgOpaqueData correctOptionIndex
|
|
130448
130456
|
* @property {waproto.MsgOpaqueData.IPollVotesSnapshot|null} [pollVotesSnapshot] MsgOpaqueData pollVotesSnapshot
|
|
130449
130457
|
* @property {string|null} [encReactionTargetMessageKey] MsgOpaqueData encReactionTargetMessageKey
|
|
130450
130458
|
* @property {Uint8Array|null} [encReactionEncPayload] MsgOpaqueData encReactionEncPayload
|
|
@@ -130673,6 +130681,14 @@ $root.waproto = (function() {
|
|
|
130673
130681
|
*/
|
|
130674
130682
|
MsgOpaqueData.prototype.pollType = null;
|
|
130675
130683
|
|
|
130684
|
+
/**
|
|
130685
|
+
* MsgOpaqueData correctOptionIndex.
|
|
130686
|
+
* @member {number|null|undefined} correctOptionIndex
|
|
130687
|
+
* @memberof waproto.MsgOpaqueData
|
|
130688
|
+
* @instance
|
|
130689
|
+
*/
|
|
130690
|
+
MsgOpaqueData.prototype.correctOptionIndex = null;
|
|
130691
|
+
|
|
130676
130692
|
/**
|
|
130677
130693
|
* MsgOpaqueData pollVotesSnapshot.
|
|
130678
130694
|
* @member {waproto.MsgOpaqueData.IPollVotesSnapshot|null|undefined} pollVotesSnapshot
|
|
@@ -130958,6 +130974,12 @@ $root.waproto = (function() {
|
|
|
130958
130974
|
set: $util.oneOfSetter($oneOfFields)
|
|
130959
130975
|
});
|
|
130960
130976
|
|
|
130977
|
+
// Virtual OneOf for proto3 optional field
|
|
130978
|
+
Object.defineProperty(MsgOpaqueData.prototype, "_correctOptionIndex", {
|
|
130979
|
+
get: $util.oneOfGetter($oneOfFields = ["correctOptionIndex"]),
|
|
130980
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
130981
|
+
});
|
|
130982
|
+
|
|
130961
130983
|
// Virtual OneOf for proto3 optional field
|
|
130962
130984
|
Object.defineProperty(MsgOpaqueData.prototype, "_pollVotesSnapshot", {
|
|
130963
130985
|
get: $util.oneOfGetter($oneOfFields = ["pollVotesSnapshot"]),
|
|
@@ -131173,6 +131195,8 @@ $root.waproto = (function() {
|
|
|
131173
131195
|
writer.uint32(/* id 45, wireType 0 =*/360).bool(message.eventExtraGuestsAllowed);
|
|
131174
131196
|
if (message.pollType != null && Object.hasOwnProperty.call(message, "pollType"))
|
|
131175
131197
|
writer.uint32(/* id 46, wireType 0 =*/368).int32(message.pollType);
|
|
131198
|
+
if (message.correctOptionIndex != null && Object.hasOwnProperty.call(message, "correctOptionIndex"))
|
|
131199
|
+
writer.uint32(/* id 47, wireType 0 =*/376).int32(message.correctOptionIndex);
|
|
131176
131200
|
if (message.originalSelfAuthor != null && Object.hasOwnProperty.call(message, "originalSelfAuthor"))
|
|
131177
131201
|
writer.uint32(/* id 51, wireType 2 =*/410).string(message.originalSelfAuthor);
|
|
131178
131202
|
return writer;
|
|
@@ -131307,6 +131331,10 @@ $root.waproto = (function() {
|
|
|
131307
131331
|
message.pollType = reader.int32();
|
|
131308
131332
|
break;
|
|
131309
131333
|
}
|
|
131334
|
+
case 47: {
|
|
131335
|
+
message.correctOptionIndex = reader.int32();
|
|
131336
|
+
break;
|
|
131337
|
+
}
|
|
131310
131338
|
case 41: {
|
|
131311
131339
|
message.pollVotesSnapshot = $root.waproto.MsgOpaqueData.PollVotesSnapshot.decode(reader, reader.uint32());
|
|
131312
131340
|
break;
|
|
@@ -131553,6 +131581,11 @@ $root.waproto = (function() {
|
|
|
131553
131581
|
break;
|
|
131554
131582
|
}
|
|
131555
131583
|
}
|
|
131584
|
+
if (message.correctOptionIndex != null && message.hasOwnProperty("correctOptionIndex")) {
|
|
131585
|
+
properties._correctOptionIndex = 1;
|
|
131586
|
+
if (!$util.isInteger(message.correctOptionIndex))
|
|
131587
|
+
return "correctOptionIndex: integer expected";
|
|
131588
|
+
}
|
|
131556
131589
|
if (message.pollVotesSnapshot != null && message.hasOwnProperty("pollVotesSnapshot")) {
|
|
131557
131590
|
properties._pollVotesSnapshot = 1;
|
|
131558
131591
|
{
|
|
@@ -131768,6 +131801,8 @@ $root.waproto = (function() {
|
|
|
131768
131801
|
message.pollType = 1;
|
|
131769
131802
|
break;
|
|
131770
131803
|
}
|
|
131804
|
+
if (object.correctOptionIndex != null)
|
|
131805
|
+
message.correctOptionIndex = object.correctOptionIndex | 0;
|
|
131771
131806
|
if (object.pollVotesSnapshot != null) {
|
|
131772
131807
|
if (typeof object.pollVotesSnapshot !== "object")
|
|
131773
131808
|
throw TypeError(".waproto.MsgOpaqueData.pollVotesSnapshot: object expected");
|
|
@@ -132074,6 +132109,11 @@ $root.waproto = (function() {
|
|
|
132074
132109
|
if (options.oneofs)
|
|
132075
132110
|
object._pollType = "pollType";
|
|
132076
132111
|
}
|
|
132112
|
+
if (message.correctOptionIndex != null && message.hasOwnProperty("correctOptionIndex")) {
|
|
132113
|
+
object.correctOptionIndex = message.correctOptionIndex;
|
|
132114
|
+
if (options.oneofs)
|
|
132115
|
+
object._correctOptionIndex = "correctOptionIndex";
|
|
132116
|
+
}
|
|
132077
132117
|
if (message.originalSelfAuthor != null && message.hasOwnProperty("originalSelfAuthor")) {
|
|
132078
132118
|
object.originalSelfAuthor = message.originalSelfAuthor;
|
|
132079
132119
|
if (options.oneofs)
|
|
@@ -170870,6 +170910,7 @@ $root.waproto = (function() {
|
|
|
170870
170910
|
case 0:
|
|
170871
170911
|
case 1:
|
|
170872
170912
|
case 2:
|
|
170913
|
+
case 3:
|
|
170873
170914
|
break;
|
|
170874
170915
|
}
|
|
170875
170916
|
}
|
|
@@ -170914,6 +170955,10 @@ $root.waproto = (function() {
|
|
|
170914
170955
|
case 2:
|
|
170915
170956
|
message.mode = 2;
|
|
170916
170957
|
break;
|
|
170958
|
+
case "CLOSE_FRIENDS":
|
|
170959
|
+
case 3:
|
|
170960
|
+
message.mode = 3;
|
|
170961
|
+
break;
|
|
170917
170962
|
}
|
|
170918
170963
|
if (object.userJid) {
|
|
170919
170964
|
if (!Array.isArray(object.userJid))
|
|
@@ -170986,12 +171031,14 @@ $root.waproto = (function() {
|
|
|
170986
171031
|
* @property {number} ALLOW_LIST=0 ALLOW_LIST value
|
|
170987
171032
|
* @property {number} DENY_LIST=1 DENY_LIST value
|
|
170988
171033
|
* @property {number} CONTACTS=2 CONTACTS value
|
|
171034
|
+
* @property {number} CLOSE_FRIENDS=3 CLOSE_FRIENDS value
|
|
170989
171035
|
*/
|
|
170990
171036
|
StatusPrivacyAction.StatusDistributionMode = (function() {
|
|
170991
171037
|
var valuesById = {}, values = Object.create(valuesById);
|
|
170992
171038
|
values[valuesById[0] = "ALLOW_LIST"] = 0;
|
|
170993
171039
|
values[valuesById[1] = "DENY_LIST"] = 1;
|
|
170994
171040
|
values[valuesById[2] = "CONTACTS"] = 2;
|
|
171041
|
+
values[valuesById[3] = "CLOSE_FRIENDS"] = 3;
|
|
170995
171042
|
return values;
|
|
170996
171043
|
})();
|
|
170997
171044
|
|