@wppconnect/wa-proto 2.3000.1045833281 → 2.3000.1045836822

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.1045833281
4
+ /// WhatsApp Version: 2.3000.1045836822
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -1759,6 +1759,7 @@ message ContextInfo {
1759
1759
  optional string posterStatusId = 79;
1760
1760
  optional InstagramThreadLink instagramThreadLink = 80;
1761
1761
  optional AIProvenance aiProvenance = 81;
1762
+ repeated uint32 experienceIds = 82 [packed=true];
1762
1763
  message AdReplyInfo {
1763
1764
  optional string advertiserName = 1;
1764
1765
  optional MediaType mediaType = 2;
@@ -2974,6 +2975,7 @@ message Message {
2974
2975
  optional MusicMessage musicMessage = 129;
2975
2976
  optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
2976
2977
  optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
2978
+ optional FutureProofMessage newsletterScheduledMessage = 132;
2977
2979
  message AlbumMessage {
2978
2980
  optional uint32 expectedImageCount = 2;
2979
2981
  optional uint32 expectedVideoCount = 3;
package/dist/index.d.ts CHANGED
@@ -24157,6 +24157,9 @@ export namespace waproto {
24157
24157
  /** ContextInfo aiProvenance. */
24158
24158
  aiProvenance?: (waproto.AIProvenance.$Properties|null);
24159
24159
 
24160
+ /** ContextInfo experienceIds. */
24161
+ experienceIds: number[];
24162
+
24160
24163
  /**
24161
24164
  * Creates a new ContextInfo instance using the specified properties.
24162
24165
  * @param [properties] Properties to set
@@ -24433,6 +24436,9 @@ export namespace waproto {
24433
24436
  /** ContextInfo aiProvenance */
24434
24437
  aiProvenance?: (waproto.AIProvenance.$Properties|null);
24435
24438
 
24439
+ /** ContextInfo experienceIds */
24440
+ experienceIds?: (number[]|null);
24441
+
24436
24442
  /** Unknown fields preserved while decoding when enabled */
24437
24443
  $unknowns?: Uint8Array[];
24438
24444
  }
@@ -24503,6 +24509,7 @@ export namespace waproto {
24503
24509
  posterStatusId?: string|null;
24504
24510
  instagramThreadLink?: waproto.ContextInfo.InstagramThreadLink.$Shape|null;
24505
24511
  aiProvenance?: waproto.AIProvenance.$Shape|null;
24512
+ experienceIds?: number[]|null;
24506
24513
  $unknowns?: Uint8Array[];
24507
24514
  };
24508
24515
 
@@ -40184,6 +40191,9 @@ export namespace waproto {
40184
40191
  /** Message botPlatformRegistrationSuccessMessage. */
40185
40192
  botPlatformRegistrationSuccessMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
40186
40193
 
40194
+ /** Message newsletterScheduledMessage. */
40195
+ newsletterScheduledMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
40196
+
40187
40197
  /**
40188
40198
  * Creates a new Message instance using the specified properties.
40189
40199
  * @param [properties] Properties to set
@@ -40598,6 +40608,9 @@ export namespace waproto {
40598
40608
  /** Message botPlatformRegistrationSuccessMessage */
40599
40609
  botPlatformRegistrationSuccessMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
40600
40610
 
40611
+ /** Message newsletterScheduledMessage */
40612
+ newsletterScheduledMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
40613
+
40601
40614
  /** Unknown fields preserved while decoding when enabled */
40602
40615
  $unknowns?: Uint8Array[];
40603
40616
  }
@@ -40714,6 +40727,7 @@ export namespace waproto {
40714
40727
  musicMessage?: waproto.Message.MusicMessage.$Shape|null;
40715
40728
  statusLinkPreviewMetadata?: waproto.Message.StatusLinkPreviewMetadata.$Shape|null;
40716
40729
  botPlatformRegistrationSuccessMessage?: waproto.Message.FutureProofMessage.$Shape|null;
40730
+ newsletterScheduledMessage?: waproto.Message.FutureProofMessage.$Shape|null;
40717
40731
  $unknowns?: Uint8Array[];
40718
40732
  };
40719
40733
 
package/dist/index.js CHANGED
@@ -65633,6 +65633,7 @@ $root.waproto = (function() {
65633
65633
  * @property {string|null} [posterStatusId] ContextInfo posterStatusId
65634
65634
  * @property {waproto.ContextInfo.InstagramThreadLink.$Properties|null} [instagramThreadLink] ContextInfo instagramThreadLink
65635
65635
  * @property {waproto.AIProvenance.$Properties|null} [aiProvenance] ContextInfo aiProvenance
65636
+ * @property {Array.<number>|null} [experienceIds] ContextInfo experienceIds
65636
65637
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
65637
65638
  */
65638
65639
 
@@ -65711,6 +65712,7 @@ $root.waproto = (function() {
65711
65712
  * posterStatusId?: string|null;
65712
65713
  * instagramThreadLink?: waproto.ContextInfo.InstagramThreadLink.$Shape|null;
65713
65714
  * aiProvenance?: waproto.AIProvenance.$Shape|null;
65715
+ * experienceIds?: Array.<number>|null;
65714
65716
  * $unknowns?: Array.<Uint8Array>;
65715
65717
  * }} waproto.ContextInfo.$Shape
65716
65718
  */
@@ -65727,6 +65729,7 @@ $root.waproto = (function() {
65727
65729
  this.mentionedJid = [];
65728
65730
  this.groupMentions = [];
65729
65731
  this.statusAttributions = [];
65732
+ this.experienceIds = [];
65730
65733
  if (properties)
65731
65734
  for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
65732
65735
  if (properties[keys[i]] != null && keys[i] !== "__proto__")
@@ -66245,6 +66248,14 @@ $root.waproto = (function() {
66245
66248
  */
66246
66249
  ContextInfo.prototype.aiProvenance = null;
66247
66250
 
66251
+ /**
66252
+ * ContextInfo experienceIds.
66253
+ * @member {Array.<number>} experienceIds
66254
+ * @memberof waproto.ContextInfo
66255
+ * @instance
66256
+ */
66257
+ ContextInfo.prototype.experienceIds = $util.emptyArray;
66258
+
66248
66259
  // OneOf field names bound to virtual getters and setters
66249
66260
  var $oneOfFields;
66250
66261
 
@@ -66777,6 +66788,8 @@ $root.waproto = (function() {
66777
66788
  $root.waproto.ContextInfo.InstagramThreadLink.encode(message.instagramThreadLink, writer.uint32(/* id 80, wireType 2 =*/642).fork(), _depth + 1).ldelim();
66778
66789
  if (message.aiProvenance != null && $Object.hasOwnProperty.call(message, "aiProvenance"))
66779
66790
  $root.waproto.AIProvenance.encode(message.aiProvenance, writer.uint32(/* id 81, wireType 2 =*/650).fork(), _depth + 1).ldelim();
66791
+ if (message.experienceIds != null && message.experienceIds.length)
66792
+ writer.uint32(/* id 82, wireType 2 =*/658).uint32s(message.experienceIds);
66780
66793
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
66781
66794
  for (var i = 0; i < message.$unknowns.length; ++i)
66782
66795
  writer.raw(message.$unknowns[i]);
@@ -67275,6 +67288,20 @@ $root.waproto = (function() {
67275
67288
  message._aiProvenance = "aiProvenance";
67276
67289
  continue;
67277
67290
  }
67291
+ case 82: {
67292
+ if (wireType === 2) {
67293
+ if (!(message.experienceIds && message.experienceIds.length))
67294
+ message.experienceIds = [];
67295
+ reader.uint32s(message.experienceIds);
67296
+ continue;
67297
+ }
67298
+ if (wireType !== 0)
67299
+ break;
67300
+ if (!(message.experienceIds && message.experienceIds.length))
67301
+ message.experienceIds = [];
67302
+ message.experienceIds.push(reader.uint32());
67303
+ continue;
67304
+ }
67278
67305
  }
67279
67306
  reader.skipType(wireType, _depth, tag);
67280
67307
  if (!reader.discardUnknown) {
@@ -67715,6 +67742,13 @@ $root.waproto = (function() {
67715
67742
  return "aiProvenance." + error;
67716
67743
  }
67717
67744
  }
67745
+ if (message.experienceIds != null && $Object.hasOwnProperty.call(message, "experienceIds")) {
67746
+ if (!$Array.isArray(message.experienceIds))
67747
+ return "experienceIds: array expected";
67748
+ for (var i = 0; i < message.experienceIds.length; ++i)
67749
+ if (!$util.isInteger(message.experienceIds[i]))
67750
+ return "experienceIds: integer[] expected";
67751
+ }
67718
67752
  return null;
67719
67753
  };
67720
67754
 
@@ -68109,6 +68143,13 @@ $root.waproto = (function() {
68109
68143
  throw $TypeError(".waproto.ContextInfo.aiProvenance: object expected");
68110
68144
  message.aiProvenance = $root.waproto.AIProvenance.fromObject(object.aiProvenance, _depth + 1);
68111
68145
  }
68146
+ if (object.experienceIds) {
68147
+ if (!$Array.isArray(object.experienceIds))
68148
+ throw $TypeError(".waproto.ContextInfo.experienceIds: array expected");
68149
+ message.experienceIds = $Array(object.experienceIds.length);
68150
+ for (var i = 0; i < object.experienceIds.length; ++i)
68151
+ message.experienceIds[i] = object.experienceIds[i] >>> 0;
68152
+ }
68112
68153
  return message;
68113
68154
  };
68114
68155
 
@@ -68133,6 +68174,7 @@ $root.waproto = (function() {
68133
68174
  object.mentionedJid = [];
68134
68175
  object.groupMentions = [];
68135
68176
  object.statusAttributions = [];
68177
+ object.experienceIds = [];
68136
68178
  }
68137
68179
  if (message.stanzaId != null && $Object.hasOwnProperty.call(message, "stanzaId"))
68138
68180
  object.stanzaId = message.stanzaId;
@@ -68276,6 +68318,11 @@ $root.waproto = (function() {
68276
68318
  object.instagramThreadLink = $root.waproto.ContextInfo.InstagramThreadLink.toObject(message.instagramThreadLink, options, _depth + 1);
68277
68319
  if (message.aiProvenance != null && $Object.hasOwnProperty.call(message, "aiProvenance"))
68278
68320
  object.aiProvenance = $root.waproto.AIProvenance.toObject(message.aiProvenance, options, _depth + 1);
68321
+ if (message.experienceIds && message.experienceIds.length) {
68322
+ object.experienceIds = $Array(message.experienceIds.length);
68323
+ for (var j = 0; j < message.experienceIds.length; ++j)
68324
+ object.experienceIds[j] = message.experienceIds[j];
68325
+ }
68279
68326
  return object;
68280
68327
  };
68281
68328
 
@@ -113104,6 +113151,7 @@ $root.waproto = (function() {
113104
113151
  * @property {waproto.Message.MusicMessage.$Properties|null} [musicMessage] Message musicMessage
113105
113152
  * @property {waproto.Message.StatusLinkPreviewMetadata.$Properties|null} [statusLinkPreviewMetadata] Message statusLinkPreviewMetadata
113106
113153
  * @property {waproto.Message.FutureProofMessage.$Properties|null} [botPlatformRegistrationSuccessMessage] Message botPlatformRegistrationSuccessMessage
113154
+ * @property {waproto.Message.FutureProofMessage.$Properties|null} [newsletterScheduledMessage] Message newsletterScheduledMessage
113107
113155
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
113108
113156
  */
113109
113157
 
@@ -113228,6 +113276,7 @@ $root.waproto = (function() {
113228
113276
  * musicMessage?: waproto.Message.MusicMessage.$Shape|null;
113229
113277
  * statusLinkPreviewMetadata?: waproto.Message.StatusLinkPreviewMetadata.$Shape|null;
113230
113278
  * botPlatformRegistrationSuccessMessage?: waproto.Message.FutureProofMessage.$Shape|null;
113279
+ * newsletterScheduledMessage?: waproto.Message.FutureProofMessage.$Shape|null;
113231
113280
  * $unknowns?: Array.<Uint8Array>;
113232
113281
  * }} waproto.Message.$Shape
113233
113282
  */
@@ -114127,6 +114176,14 @@ $root.waproto = (function() {
114127
114176
  */
114128
114177
  Message.prototype.botPlatformRegistrationSuccessMessage = null;
114129
114178
 
114179
+ /**
114180
+ * Message newsletterScheduledMessage.
114181
+ * @member {waproto.Message.FutureProofMessage.$Properties|null|undefined} newsletterScheduledMessage
114182
+ * @memberof waproto.Message
114183
+ * @instance
114184
+ */
114185
+ Message.prototype.newsletterScheduledMessage = null;
114186
+
114130
114187
  // OneOf field names bound to virtual getters and setters
114131
114188
  var $oneOfFields;
114132
114189
 
@@ -114790,6 +114847,12 @@ $root.waproto = (function() {
114790
114847
  set: $util.oneOfSetter($oneOfFields)
114791
114848
  });
114792
114849
 
114850
+ // Virtual OneOf for proto3 optional field
114851
+ $Object.defineProperty(Message.prototype, "_newsletterScheduledMessage", {
114852
+ get: $util.oneOfGetter($oneOfFields = ["newsletterScheduledMessage"]),
114853
+ set: $util.oneOfSetter($oneOfFields)
114854
+ });
114855
+
114793
114856
  /**
114794
114857
  * Creates a new Message instance using the specified properties.
114795
114858
  * @function create
@@ -115042,6 +115105,8 @@ $root.waproto = (function() {
115042
115105
  $root.waproto.Message.StatusLinkPreviewMetadata.encode(message.statusLinkPreviewMetadata, writer.uint32(/* id 130, wireType 2 =*/1042).fork(), _depth + 1).ldelim();
115043
115106
  if (message.botPlatformRegistrationSuccessMessage != null && $Object.hasOwnProperty.call(message, "botPlatformRegistrationSuccessMessage"))
115044
115107
  $root.waproto.Message.FutureProofMessage.encode(message.botPlatformRegistrationSuccessMessage, writer.uint32(/* id 131, wireType 2 =*/1050).fork(), _depth + 1).ldelim();
115108
+ if (message.newsletterScheduledMessage != null && $Object.hasOwnProperty.call(message, "newsletterScheduledMessage"))
115109
+ $root.waproto.Message.FutureProofMessage.encode(message.newsletterScheduledMessage, writer.uint32(/* id 132, wireType 2 =*/1058).fork(), _depth + 1).ldelim();
115045
115110
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
115046
115111
  for (var i = 0; i < message.$unknowns.length; ++i)
115047
115112
  writer.raw(message.$unknowns[i]);
@@ -115859,6 +115924,13 @@ $root.waproto = (function() {
115859
115924
  message._botPlatformRegistrationSuccessMessage = "botPlatformRegistrationSuccessMessage";
115860
115925
  continue;
115861
115926
  }
115927
+ case 132: {
115928
+ if (wireType !== 2)
115929
+ break;
115930
+ message.newsletterScheduledMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32(), $undefined, _depth + 1, message.newsletterScheduledMessage);
115931
+ message._newsletterScheduledMessage = "newsletterScheduledMessage";
115932
+ continue;
115933
+ }
115862
115934
  }
115863
115935
  reader.skipType(wireType, _depth, tag);
115864
115936
  if (!reader.discardUnknown) {
@@ -116780,6 +116852,14 @@ $root.waproto = (function() {
116780
116852
  return "botPlatformRegistrationSuccessMessage." + error;
116781
116853
  }
116782
116854
  }
116855
+ if (message.newsletterScheduledMessage != null && $Object.hasOwnProperty.call(message, "newsletterScheduledMessage")) {
116856
+ properties._newsletterScheduledMessage = 1;
116857
+ {
116858
+ var error = $root.waproto.Message.FutureProofMessage.verify(message.newsletterScheduledMessage, _depth + 1);
116859
+ if (error)
116860
+ return "newsletterScheduledMessage." + error;
116861
+ }
116862
+ }
116783
116863
  return null;
116784
116864
  };
116785
116865
 
@@ -117348,6 +117428,11 @@ $root.waproto = (function() {
117348
117428
  throw $TypeError(".waproto.Message.botPlatformRegistrationSuccessMessage: object expected");
117349
117429
  message.botPlatformRegistrationSuccessMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.botPlatformRegistrationSuccessMessage, _depth + 1);
117350
117430
  }
117431
+ if (object.newsletterScheduledMessage != null) {
117432
+ if (!$util.isObject(object.newsletterScheduledMessage))
117433
+ throw $TypeError(".waproto.Message.newsletterScheduledMessage: object expected");
117434
+ message.newsletterScheduledMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.newsletterScheduledMessage, _depth + 1);
117435
+ }
117351
117436
  return message;
117352
117437
  };
117353
117438
 
@@ -117588,6 +117673,8 @@ $root.waproto = (function() {
117588
117673
  object.statusLinkPreviewMetadata = $root.waproto.Message.StatusLinkPreviewMetadata.toObject(message.statusLinkPreviewMetadata, options, _depth + 1);
117589
117674
  if (message.botPlatformRegistrationSuccessMessage != null && $Object.hasOwnProperty.call(message, "botPlatformRegistrationSuccessMessage"))
117590
117675
  object.botPlatformRegistrationSuccessMessage = $root.waproto.Message.FutureProofMessage.toObject(message.botPlatformRegistrationSuccessMessage, options, _depth + 1);
117676
+ if (message.newsletterScheduledMessage != null && $Object.hasOwnProperty.call(message, "newsletterScheduledMessage"))
117677
+ object.newsletterScheduledMessage = $root.waproto.Message.FutureProofMessage.toObject(message.newsletterScheduledMessage, options, _depth + 1);
117591
117678
  return object;
117592
117679
  };
117593
117680
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1045833281",
3
+ "version": "2.3000.1045836822",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {