@wppconnect/wa-proto 2.3000.1046821791 → 2.3000.1046846055
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/WAProto.proto +3 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +66 -0
- package/package.json +1 -1
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.1046846055
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -4681,6 +4681,8 @@ message MsgOpaqueData {
|
|
|
4681
4681
|
optional bool sharableEventInviteIsCanceled = 58;
|
|
4682
4682
|
optional bytes sharableEventInviteJpegThumbnail = 59;
|
|
4683
4683
|
optional string sharableEventInviteCallLink = 60;
|
|
4684
|
+
optional string mediaPngThumbnail = 61;
|
|
4685
|
+
optional string qrUrl = 62;
|
|
4684
4686
|
message EventLocation {
|
|
4685
4687
|
optional double degreesLatitude = 1;
|
|
4686
4688
|
optional double degreesLongitude = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -63922,6 +63922,12 @@ export namespace waproto {
|
|
|
63922
63922
|
/** MsgOpaqueData sharableEventInviteCallLink. */
|
|
63923
63923
|
sharableEventInviteCallLink?: (string|null);
|
|
63924
63924
|
|
|
63925
|
+
/** MsgOpaqueData mediaPngThumbnail. */
|
|
63926
|
+
mediaPngThumbnail?: (string|null);
|
|
63927
|
+
|
|
63928
|
+
/** MsgOpaqueData qrUrl. */
|
|
63929
|
+
qrUrl?: (string|null);
|
|
63930
|
+
|
|
63925
63931
|
/**
|
|
63926
63932
|
* Creates a new MsgOpaqueData instance using the specified properties.
|
|
63927
63933
|
* @param [properties] Properties to set
|
|
@@ -64171,6 +64177,12 @@ export namespace waproto {
|
|
|
64171
64177
|
/** MsgOpaqueData sharableEventInviteCallLink */
|
|
64172
64178
|
sharableEventInviteCallLink?: (string|null);
|
|
64173
64179
|
|
|
64180
|
+
/** MsgOpaqueData mediaPngThumbnail */
|
|
64181
|
+
mediaPngThumbnail?: (string|null);
|
|
64182
|
+
|
|
64183
|
+
/** MsgOpaqueData qrUrl */
|
|
64184
|
+
qrUrl?: (string|null);
|
|
64185
|
+
|
|
64174
64186
|
/** Unknown fields preserved while decoding when enabled */
|
|
64175
64187
|
$unknowns?: Uint8Array[];
|
|
64176
64188
|
}
|
package/dist/index.js
CHANGED
|
@@ -191550,6 +191550,8 @@ $root.waproto = (function() {
|
|
|
191550
191550
|
* @property {boolean|null} [sharableEventInviteIsCanceled] MsgOpaqueData sharableEventInviteIsCanceled
|
|
191551
191551
|
* @property {Uint8Array|null} [sharableEventInviteJpegThumbnail] MsgOpaqueData sharableEventInviteJpegThumbnail
|
|
191552
191552
|
* @property {string|null} [sharableEventInviteCallLink] MsgOpaqueData sharableEventInviteCallLink
|
|
191553
|
+
* @property {string|null} [mediaPngThumbnail] MsgOpaqueData mediaPngThumbnail
|
|
191554
|
+
* @property {string|null} [qrUrl] MsgOpaqueData qrUrl
|
|
191553
191555
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
191554
191556
|
*/
|
|
191555
191557
|
|
|
@@ -192022,6 +192024,22 @@ $root.waproto = (function() {
|
|
|
192022
192024
|
*/
|
|
192023
192025
|
MsgOpaqueData.prototype.sharableEventInviteCallLink = null;
|
|
192024
192026
|
|
|
192027
|
+
/**
|
|
192028
|
+
* MsgOpaqueData mediaPngThumbnail.
|
|
192029
|
+
* @member {string|null|undefined} mediaPngThumbnail
|
|
192030
|
+
* @memberof waproto.MsgOpaqueData
|
|
192031
|
+
* @instance
|
|
192032
|
+
*/
|
|
192033
|
+
MsgOpaqueData.prototype.mediaPngThumbnail = null;
|
|
192034
|
+
|
|
192035
|
+
/**
|
|
192036
|
+
* MsgOpaqueData qrUrl.
|
|
192037
|
+
* @member {string|null|undefined} qrUrl
|
|
192038
|
+
* @memberof waproto.MsgOpaqueData
|
|
192039
|
+
* @instance
|
|
192040
|
+
*/
|
|
192041
|
+
MsgOpaqueData.prototype.qrUrl = null;
|
|
192042
|
+
|
|
192025
192043
|
// OneOf field names bound to virtual getters and setters
|
|
192026
192044
|
var $oneOfFields;
|
|
192027
192045
|
|
|
@@ -192349,6 +192367,18 @@ $root.waproto = (function() {
|
|
|
192349
192367
|
set: $util.oneOfSetter($oneOfFields)
|
|
192350
192368
|
});
|
|
192351
192369
|
|
|
192370
|
+
// Virtual OneOf for proto3 optional field
|
|
192371
|
+
$Object.defineProperty(MsgOpaqueData.prototype, "_mediaPngThumbnail", {
|
|
192372
|
+
get: $util.oneOfGetter($oneOfFields = ["mediaPngThumbnail"]),
|
|
192373
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
192374
|
+
});
|
|
192375
|
+
|
|
192376
|
+
// Virtual OneOf for proto3 optional field
|
|
192377
|
+
$Object.defineProperty(MsgOpaqueData.prototype, "_qrUrl", {
|
|
192378
|
+
get: $util.oneOfGetter($oneOfFields = ["qrUrl"]),
|
|
192379
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
192380
|
+
});
|
|
192381
|
+
|
|
192352
192382
|
/**
|
|
192353
192383
|
* Creates a new MsgOpaqueData instance using the specified properties.
|
|
192354
192384
|
* @function create
|
|
@@ -192492,6 +192522,10 @@ $root.waproto = (function() {
|
|
|
192492
192522
|
writer.uint32(/* id 59, wireType 2 =*/474).bytes(message.sharableEventInviteJpegThumbnail);
|
|
192493
192523
|
if (message.sharableEventInviteCallLink != null && $Object.hasOwnProperty.call(message, "sharableEventInviteCallLink"))
|
|
192494
192524
|
writer.uint32(/* id 60, wireType 2 =*/482).string(message.sharableEventInviteCallLink);
|
|
192525
|
+
if (message.mediaPngThumbnail != null && $Object.hasOwnProperty.call(message, "mediaPngThumbnail"))
|
|
192526
|
+
writer.uint32(/* id 61, wireType 2 =*/490).string(message.mediaPngThumbnail);
|
|
192527
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl"))
|
|
192528
|
+
writer.uint32(/* id 62, wireType 2 =*/498).string(message.qrUrl);
|
|
192495
192529
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
192496
192530
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
192497
192531
|
writer.raw(message.$unknowns[i]);
|
|
@@ -192935,6 +192969,20 @@ $root.waproto = (function() {
|
|
|
192935
192969
|
message._sharableEventInviteCallLink = "sharableEventInviteCallLink";
|
|
192936
192970
|
continue;
|
|
192937
192971
|
}
|
|
192972
|
+
case 61: {
|
|
192973
|
+
if (wireType !== 2)
|
|
192974
|
+
break;
|
|
192975
|
+
message.mediaPngThumbnail = reader.stringVerify();
|
|
192976
|
+
message._mediaPngThumbnail = "mediaPngThumbnail";
|
|
192977
|
+
continue;
|
|
192978
|
+
}
|
|
192979
|
+
case 62: {
|
|
192980
|
+
if (wireType !== 2)
|
|
192981
|
+
break;
|
|
192982
|
+
message.qrUrl = reader.stringVerify();
|
|
192983
|
+
message._qrUrl = "qrUrl";
|
|
192984
|
+
continue;
|
|
192985
|
+
}
|
|
192938
192986
|
}
|
|
192939
192987
|
reader.skipType(wireType, _depth, tag);
|
|
192940
192988
|
if (!reader.discardUnknown) {
|
|
@@ -193272,6 +193320,16 @@ $root.waproto = (function() {
|
|
|
193272
193320
|
if (!$util.isString(message.sharableEventInviteCallLink))
|
|
193273
193321
|
return "sharableEventInviteCallLink: string expected";
|
|
193274
193322
|
}
|
|
193323
|
+
if (message.mediaPngThumbnail != null && $Object.hasOwnProperty.call(message, "mediaPngThumbnail")) {
|
|
193324
|
+
properties._mediaPngThumbnail = 1;
|
|
193325
|
+
if (!$util.isString(message.mediaPngThumbnail))
|
|
193326
|
+
return "mediaPngThumbnail: string expected";
|
|
193327
|
+
}
|
|
193328
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl")) {
|
|
193329
|
+
properties._qrUrl = 1;
|
|
193330
|
+
if (!$util.isString(message.qrUrl))
|
|
193331
|
+
return "qrUrl: string expected";
|
|
193332
|
+
}
|
|
193275
193333
|
return null;
|
|
193276
193334
|
};
|
|
193277
193335
|
|
|
@@ -193515,6 +193573,10 @@ $root.waproto = (function() {
|
|
|
193515
193573
|
message.sharableEventInviteJpegThumbnail = object.sharableEventInviteJpegThumbnail;
|
|
193516
193574
|
if (object.sharableEventInviteCallLink != null)
|
|
193517
193575
|
message.sharableEventInviteCallLink = $String(object.sharableEventInviteCallLink);
|
|
193576
|
+
if (object.mediaPngThumbnail != null)
|
|
193577
|
+
message.mediaPngThumbnail = $String(object.mediaPngThumbnail);
|
|
193578
|
+
if (object.qrUrl != null)
|
|
193579
|
+
message.qrUrl = $String(object.qrUrl);
|
|
193518
193580
|
return message;
|
|
193519
193581
|
};
|
|
193520
193582
|
|
|
@@ -193680,6 +193742,10 @@ $root.waproto = (function() {
|
|
|
193680
193742
|
object.sharableEventInviteJpegThumbnail = options.bytes === $String ? $util.base64.encode(message.sharableEventInviteJpegThumbnail, 0, message.sharableEventInviteJpegThumbnail.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.sharableEventInviteJpegThumbnail) : message.sharableEventInviteJpegThumbnail;
|
|
193681
193743
|
if (message.sharableEventInviteCallLink != null && $Object.hasOwnProperty.call(message, "sharableEventInviteCallLink"))
|
|
193682
193744
|
object.sharableEventInviteCallLink = message.sharableEventInviteCallLink;
|
|
193745
|
+
if (message.mediaPngThumbnail != null && $Object.hasOwnProperty.call(message, "mediaPngThumbnail"))
|
|
193746
|
+
object.mediaPngThumbnail = message.mediaPngThumbnail;
|
|
193747
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl"))
|
|
193748
|
+
object.qrUrl = message.qrUrl;
|
|
193683
193749
|
return object;
|
|
193684
193750
|
};
|
|
193685
193751
|
|