@wppconnect/wa-proto 2.3000.1052645975 → 2.3000.1052769028

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1052645975
4
+ /// WhatsApp Version: 2.3000.1052769028
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -4796,6 +4796,10 @@ message MsgOpaqueData {
4796
4796
  optional string qrUrl = 62;
4797
4797
  optional MusicData musicData = 63;
4798
4798
  optional string pollAddedOptionName = 64;
4799
+ optional string sharableEventInviteStatus = 65;
4800
+ optional string sharableEventInviteLocationName = 66;
4801
+ optional string sharableEventInviteCoverImageHandle = 67;
4802
+ optional int64 sharableEventInviteLastUpdatedTsUsec = 68;
4799
4803
  message EventLocation {
4800
4804
  optional double degreesLatitude = 1;
4801
4805
  optional double degreesLongitude = 2;
package/dist/index.d.ts CHANGED
@@ -64969,6 +64969,18 @@ export namespace waproto {
64969
64969
  /** MsgOpaqueData pollAddedOptionName. */
64970
64970
  pollAddedOptionName?: (string|null);
64971
64971
 
64972
+ /** MsgOpaqueData sharableEventInviteStatus. */
64973
+ sharableEventInviteStatus?: (string|null);
64974
+
64975
+ /** MsgOpaqueData sharableEventInviteLocationName. */
64976
+ sharableEventInviteLocationName?: (string|null);
64977
+
64978
+ /** MsgOpaqueData sharableEventInviteCoverImageHandle. */
64979
+ sharableEventInviteCoverImageHandle?: (string|null);
64980
+
64981
+ /** MsgOpaqueData sharableEventInviteLastUpdatedTsUsec. */
64982
+ sharableEventInviteLastUpdatedTsUsec?: (number|Long|null);
64983
+
64972
64984
  /**
64973
64985
  * Creates a new MsgOpaqueData instance using the specified properties.
64974
64986
  * @param [properties] Properties to set
@@ -65230,6 +65242,18 @@ export namespace waproto {
65230
65242
  /** MsgOpaqueData pollAddedOptionName */
65231
65243
  pollAddedOptionName?: (string|null);
65232
65244
 
65245
+ /** MsgOpaqueData sharableEventInviteStatus */
65246
+ sharableEventInviteStatus?: (string|null);
65247
+
65248
+ /** MsgOpaqueData sharableEventInviteLocationName */
65249
+ sharableEventInviteLocationName?: (string|null);
65250
+
65251
+ /** MsgOpaqueData sharableEventInviteCoverImageHandle */
65252
+ sharableEventInviteCoverImageHandle?: (string|null);
65253
+
65254
+ /** MsgOpaqueData sharableEventInviteLastUpdatedTsUsec */
65255
+ sharableEventInviteLastUpdatedTsUsec?: (number|Long|null);
65256
+
65233
65257
  /** Unknown fields preserved while decoding when enabled */
65234
65258
  $unknowns?: Uint8Array[];
65235
65259
  }
package/dist/index.js CHANGED
@@ -194662,6 +194662,10 @@ $root.waproto = (function() {
194662
194662
  * @property {string|null} [qrUrl] MsgOpaqueData qrUrl
194663
194663
  * @property {waproto.MsgOpaqueData.MusicData.$Properties|null} [musicData] MsgOpaqueData musicData
194664
194664
  * @property {string|null} [pollAddedOptionName] MsgOpaqueData pollAddedOptionName
194665
+ * @property {string|null} [sharableEventInviteStatus] MsgOpaqueData sharableEventInviteStatus
194666
+ * @property {string|null} [sharableEventInviteLocationName] MsgOpaqueData sharableEventInviteLocationName
194667
+ * @property {string|null} [sharableEventInviteCoverImageHandle] MsgOpaqueData sharableEventInviteCoverImageHandle
194668
+ * @property {number|Long|null} [sharableEventInviteLastUpdatedTsUsec] MsgOpaqueData sharableEventInviteLastUpdatedTsUsec
194665
194669
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
194666
194670
  */
194667
194671
 
@@ -195166,6 +195170,38 @@ $root.waproto = (function() {
195166
195170
  */
195167
195171
  MsgOpaqueData.prototype.pollAddedOptionName = null;
195168
195172
 
195173
+ /**
195174
+ * MsgOpaqueData sharableEventInviteStatus.
195175
+ * @member {string|null|undefined} sharableEventInviteStatus
195176
+ * @memberof waproto.MsgOpaqueData
195177
+ * @instance
195178
+ */
195179
+ MsgOpaqueData.prototype.sharableEventInviteStatus = null;
195180
+
195181
+ /**
195182
+ * MsgOpaqueData sharableEventInviteLocationName.
195183
+ * @member {string|null|undefined} sharableEventInviteLocationName
195184
+ * @memberof waproto.MsgOpaqueData
195185
+ * @instance
195186
+ */
195187
+ MsgOpaqueData.prototype.sharableEventInviteLocationName = null;
195188
+
195189
+ /**
195190
+ * MsgOpaqueData sharableEventInviteCoverImageHandle.
195191
+ * @member {string|null|undefined} sharableEventInviteCoverImageHandle
195192
+ * @memberof waproto.MsgOpaqueData
195193
+ * @instance
195194
+ */
195195
+ MsgOpaqueData.prototype.sharableEventInviteCoverImageHandle = null;
195196
+
195197
+ /**
195198
+ * MsgOpaqueData sharableEventInviteLastUpdatedTsUsec.
195199
+ * @member {number|Long|null|undefined} sharableEventInviteLastUpdatedTsUsec
195200
+ * @memberof waproto.MsgOpaqueData
195201
+ * @instance
195202
+ */
195203
+ MsgOpaqueData.prototype.sharableEventInviteLastUpdatedTsUsec = null;
195204
+
195169
195205
  // OneOf field names bound to virtual getters and setters
195170
195206
  var $oneOfFields;
195171
195207
 
@@ -195517,6 +195553,30 @@ $root.waproto = (function() {
195517
195553
  set: $util.oneOfSetter($oneOfFields)
195518
195554
  });
195519
195555
 
195556
+ // Virtual OneOf for proto3 optional field
195557
+ $Object.defineProperty(MsgOpaqueData.prototype, "_sharableEventInviteStatus", {
195558
+ get: $util.oneOfGetter($oneOfFields = ["sharableEventInviteStatus"]),
195559
+ set: $util.oneOfSetter($oneOfFields)
195560
+ });
195561
+
195562
+ // Virtual OneOf for proto3 optional field
195563
+ $Object.defineProperty(MsgOpaqueData.prototype, "_sharableEventInviteLocationName", {
195564
+ get: $util.oneOfGetter($oneOfFields = ["sharableEventInviteLocationName"]),
195565
+ set: $util.oneOfSetter($oneOfFields)
195566
+ });
195567
+
195568
+ // Virtual OneOf for proto3 optional field
195569
+ $Object.defineProperty(MsgOpaqueData.prototype, "_sharableEventInviteCoverImageHandle", {
195570
+ get: $util.oneOfGetter($oneOfFields = ["sharableEventInviteCoverImageHandle"]),
195571
+ set: $util.oneOfSetter($oneOfFields)
195572
+ });
195573
+
195574
+ // Virtual OneOf for proto3 optional field
195575
+ $Object.defineProperty(MsgOpaqueData.prototype, "_sharableEventInviteLastUpdatedTsUsec", {
195576
+ get: $util.oneOfGetter($oneOfFields = ["sharableEventInviteLastUpdatedTsUsec"]),
195577
+ set: $util.oneOfSetter($oneOfFields)
195578
+ });
195579
+
195520
195580
  /**
195521
195581
  * Creates a new MsgOpaqueData instance using the specified properties.
195522
195582
  * @function create
@@ -195668,6 +195728,14 @@ $root.waproto = (function() {
195668
195728
  $root.waproto.MsgOpaqueData.MusicData.encode(message.musicData, writer.uint32(/* id 63, wireType 2 =*/506).fork(), _depth + 1).ldelim();
195669
195729
  if (message.pollAddedOptionName != null && $Object.hasOwnProperty.call(message, "pollAddedOptionName"))
195670
195730
  writer.uint32(/* id 64, wireType 2 =*/514).string(message.pollAddedOptionName);
195731
+ if (message.sharableEventInviteStatus != null && $Object.hasOwnProperty.call(message, "sharableEventInviteStatus"))
195732
+ writer.uint32(/* id 65, wireType 2 =*/522).string(message.sharableEventInviteStatus);
195733
+ if (message.sharableEventInviteLocationName != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLocationName"))
195734
+ writer.uint32(/* id 66, wireType 2 =*/530).string(message.sharableEventInviteLocationName);
195735
+ if (message.sharableEventInviteCoverImageHandle != null && $Object.hasOwnProperty.call(message, "sharableEventInviteCoverImageHandle"))
195736
+ writer.uint32(/* id 67, wireType 2 =*/538).string(message.sharableEventInviteCoverImageHandle);
195737
+ if (message.sharableEventInviteLastUpdatedTsUsec != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLastUpdatedTsUsec"))
195738
+ writer.uint32(/* id 68, wireType 0 =*/544).int64(message.sharableEventInviteLastUpdatedTsUsec);
195671
195739
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
195672
195740
  for (var i = 0; i < message.$unknowns.length; ++i)
195673
195741
  writer.raw(message.$unknowns[i]);
@@ -196139,6 +196207,34 @@ $root.waproto = (function() {
196139
196207
  message._pollAddedOptionName = "pollAddedOptionName";
196140
196208
  continue;
196141
196209
  }
196210
+ case 65: {
196211
+ if (wireType !== 2)
196212
+ break;
196213
+ message.sharableEventInviteStatus = reader.stringVerify();
196214
+ message._sharableEventInviteStatus = "sharableEventInviteStatus";
196215
+ continue;
196216
+ }
196217
+ case 66: {
196218
+ if (wireType !== 2)
196219
+ break;
196220
+ message.sharableEventInviteLocationName = reader.stringVerify();
196221
+ message._sharableEventInviteLocationName = "sharableEventInviteLocationName";
196222
+ continue;
196223
+ }
196224
+ case 67: {
196225
+ if (wireType !== 2)
196226
+ break;
196227
+ message.sharableEventInviteCoverImageHandle = reader.stringVerify();
196228
+ message._sharableEventInviteCoverImageHandle = "sharableEventInviteCoverImageHandle";
196229
+ continue;
196230
+ }
196231
+ case 68: {
196232
+ if (wireType !== 0)
196233
+ break;
196234
+ message.sharableEventInviteLastUpdatedTsUsec = reader.int64();
196235
+ message._sharableEventInviteLastUpdatedTsUsec = "sharableEventInviteLastUpdatedTsUsec";
196236
+ continue;
196237
+ }
196142
196238
  }
196143
196239
  reader.skipType(wireType, _depth, tag);
196144
196240
  if (!reader.discardUnknown) {
@@ -196499,6 +196595,26 @@ $root.waproto = (function() {
196499
196595
  if (!$util.isString(message.pollAddedOptionName))
196500
196596
  return "pollAddedOptionName: string expected";
196501
196597
  }
196598
+ if (message.sharableEventInviteStatus != null && $Object.hasOwnProperty.call(message, "sharableEventInviteStatus")) {
196599
+ properties._sharableEventInviteStatus = 1;
196600
+ if (!$util.isString(message.sharableEventInviteStatus))
196601
+ return "sharableEventInviteStatus: string expected";
196602
+ }
196603
+ if (message.sharableEventInviteLocationName != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLocationName")) {
196604
+ properties._sharableEventInviteLocationName = 1;
196605
+ if (!$util.isString(message.sharableEventInviteLocationName))
196606
+ return "sharableEventInviteLocationName: string expected";
196607
+ }
196608
+ if (message.sharableEventInviteCoverImageHandle != null && $Object.hasOwnProperty.call(message, "sharableEventInviteCoverImageHandle")) {
196609
+ properties._sharableEventInviteCoverImageHandle = 1;
196610
+ if (!$util.isString(message.sharableEventInviteCoverImageHandle))
196611
+ return "sharableEventInviteCoverImageHandle: string expected";
196612
+ }
196613
+ if (message.sharableEventInviteLastUpdatedTsUsec != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLastUpdatedTsUsec")) {
196614
+ properties._sharableEventInviteLastUpdatedTsUsec = 1;
196615
+ if (!$util.isInteger(message.sharableEventInviteLastUpdatedTsUsec) && !(message.sharableEventInviteLastUpdatedTsUsec && $util.isInteger(message.sharableEventInviteLastUpdatedTsUsec.low) && $util.isInteger(message.sharableEventInviteLastUpdatedTsUsec.high)))
196616
+ return "sharableEventInviteLastUpdatedTsUsec: integer|Long expected";
196617
+ }
196502
196618
  return null;
196503
196619
  };
196504
196620
 
@@ -196753,6 +196869,21 @@ $root.waproto = (function() {
196753
196869
  }
196754
196870
  if (object.pollAddedOptionName != null)
196755
196871
  message.pollAddedOptionName = $String(object.pollAddedOptionName);
196872
+ if (object.sharableEventInviteStatus != null)
196873
+ message.sharableEventInviteStatus = $String(object.sharableEventInviteStatus);
196874
+ if (object.sharableEventInviteLocationName != null)
196875
+ message.sharableEventInviteLocationName = $String(object.sharableEventInviteLocationName);
196876
+ if (object.sharableEventInviteCoverImageHandle != null)
196877
+ message.sharableEventInviteCoverImageHandle = $String(object.sharableEventInviteCoverImageHandle);
196878
+ if (object.sharableEventInviteLastUpdatedTsUsec != null)
196879
+ if ($util.Long)
196880
+ message.sharableEventInviteLastUpdatedTsUsec = $util.Long.fromValue(object.sharableEventInviteLastUpdatedTsUsec, false);
196881
+ else if (typeof object.sharableEventInviteLastUpdatedTsUsec === "string")
196882
+ message.sharableEventInviteLastUpdatedTsUsec = $parseInt(object.sharableEventInviteLastUpdatedTsUsec, 10);
196883
+ else if (typeof object.sharableEventInviteLastUpdatedTsUsec === "number")
196884
+ message.sharableEventInviteLastUpdatedTsUsec = object.sharableEventInviteLastUpdatedTsUsec;
196885
+ else if (typeof object.sharableEventInviteLastUpdatedTsUsec === "object")
196886
+ message.sharableEventInviteLastUpdatedTsUsec = new $util.LongBits(object.sharableEventInviteLastUpdatedTsUsec.low >>> 0, object.sharableEventInviteLastUpdatedTsUsec.high >>> 0).toNumber();
196756
196887
  return message;
196757
196888
  };
196758
196889
 
@@ -196926,6 +197057,19 @@ $root.waproto = (function() {
196926
197057
  object.musicData = $root.waproto.MsgOpaqueData.MusicData.toObject(message.musicData, options, _depth + 1);
196927
197058
  if (message.pollAddedOptionName != null && $Object.hasOwnProperty.call(message, "pollAddedOptionName"))
196928
197059
  object.pollAddedOptionName = message.pollAddedOptionName;
197060
+ if (message.sharableEventInviteStatus != null && $Object.hasOwnProperty.call(message, "sharableEventInviteStatus"))
197061
+ object.sharableEventInviteStatus = message.sharableEventInviteStatus;
197062
+ if (message.sharableEventInviteLocationName != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLocationName"))
197063
+ object.sharableEventInviteLocationName = message.sharableEventInviteLocationName;
197064
+ if (message.sharableEventInviteCoverImageHandle != null && $Object.hasOwnProperty.call(message, "sharableEventInviteCoverImageHandle"))
197065
+ object.sharableEventInviteCoverImageHandle = message.sharableEventInviteCoverImageHandle;
197066
+ if (message.sharableEventInviteLastUpdatedTsUsec != null && $Object.hasOwnProperty.call(message, "sharableEventInviteLastUpdatedTsUsec"))
197067
+ if (typeof $BigInt !== "undefined" && options.longs === $BigInt)
197068
+ object.sharableEventInviteLastUpdatedTsUsec = typeof message.sharableEventInviteLastUpdatedTsUsec === "number" ? $BigInt(message.sharableEventInviteLastUpdatedTsUsec) : $util.Long.fromBits(message.sharableEventInviteLastUpdatedTsUsec.low >>> 0, message.sharableEventInviteLastUpdatedTsUsec.high >>> 0, false).toBigInt();
197069
+ else if (typeof message.sharableEventInviteLastUpdatedTsUsec === "number")
197070
+ object.sharableEventInviteLastUpdatedTsUsec = options.longs === $String ? $String(message.sharableEventInviteLastUpdatedTsUsec) : message.sharableEventInviteLastUpdatedTsUsec;
197071
+ else
197072
+ object.sharableEventInviteLastUpdatedTsUsec = options.longs === $String ? $util.Long.prototype.toString.call(message.sharableEventInviteLastUpdatedTsUsec) : options.longs === $Number ? new $util.LongBits(message.sharableEventInviteLastUpdatedTsUsec.low >>> 0, message.sharableEventInviteLastUpdatedTsUsec.high >>> 0).toNumber() : message.sharableEventInviteLastUpdatedTsUsec;
196929
197073
  return object;
196930
197074
  };
196931
197075
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1052645975",
3
+ "version": "2.3000.1052769028",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {