@wppconnect/wa-proto 2.3000.1028056377 → 2.3000.1028088934

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.3000.1028088934](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028056377...v2.3000.1028088934) (2025-10-07)
2
+
3
+
4
+
1
5
  ## [2.3000.1028056377](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028028707...v2.3000.1028056377) (2025-10-07)
2
6
 
3
7
 
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1028056377
4
+ /// WhatsApp Version: 2.3000.1028088934
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -360,6 +360,7 @@ message BotCapabilityMetadata {
360
360
  RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
361
361
  RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
362
362
  RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
363
+ RICH_RESPONSE_IN_APP_SURVEY = 46;
363
364
  }
364
365
  }
365
366
 
@@ -1681,9 +1682,10 @@ message GroupHistoryBundleInfo {
1681
1682
  optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
1682
1683
  optional ProcessState processState = 2;
1683
1684
  enum ProcessState {
1684
- NOT_DOWNLOADED = 0;
1685
- DOWNLOADED = 1;
1686
- DOWNLOAD_FAILED = 2;
1685
+ NOT_INJECTED = 0;
1686
+ INJECTED = 1;
1687
+ INJECTED_PARTIAL = 2;
1688
+ INJECTION_FAILED = 3;
1687
1689
  }
1688
1690
  }
1689
1691
 
@@ -2707,6 +2709,9 @@ message Message {
2707
2709
  optional uint32 linkMediaDuration = 4;
2708
2710
  optional SocialMediaPostType socialMediaPostType = 5;
2709
2711
  optional bool linkInlineVideoMuted = 6;
2712
+ optional string videoContentUrl = 7;
2713
+ optional EmbeddedMusic musicMetadata = 8;
2714
+ optional string videoContentCaption = 9;
2710
2715
  enum SocialMediaPostType {
2711
2716
  NONE = 0;
2712
2717
  REEL = 1;
package/dist/index.d.ts CHANGED
@@ -4325,7 +4325,8 @@ export namespace waproto {
4325
4325
  RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42,
4326
4326
  RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43,
4327
4327
  RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44,
4328
- RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45
4328
+ RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45,
4329
+ RICH_RESPONSE_IN_APP_SURVEY = 46
4329
4330
  }
4330
4331
  }
4331
4332
 
@@ -17485,9 +17486,10 @@ export namespace waproto {
17485
17486
 
17486
17487
  /** ProcessState enum. */
17487
17488
  enum ProcessState {
17488
- NOT_DOWNLOADED = 0,
17489
- DOWNLOADED = 1,
17490
- DOWNLOAD_FAILED = 2
17489
+ NOT_INJECTED = 0,
17490
+ INJECTED = 1,
17491
+ INJECTED_PARTIAL = 2,
17492
+ INJECTION_FAILED = 3
17491
17493
  }
17492
17494
  }
17493
17495
 
@@ -29721,6 +29723,15 @@ export namespace waproto {
29721
29723
 
29722
29724
  /** LinkPreviewMetadata linkInlineVideoMuted */
29723
29725
  linkInlineVideoMuted?: (boolean|null);
29726
+
29727
+ /** LinkPreviewMetadata videoContentUrl */
29728
+ videoContentUrl?: (string|null);
29729
+
29730
+ /** LinkPreviewMetadata musicMetadata */
29731
+ musicMetadata?: (waproto.IEmbeddedMusic|null);
29732
+
29733
+ /** LinkPreviewMetadata videoContentCaption */
29734
+ videoContentCaption?: (string|null);
29724
29735
  }
29725
29736
 
29726
29737
  /** Represents a LinkPreviewMetadata. */
@@ -29750,6 +29761,15 @@ export namespace waproto {
29750
29761
  /** LinkPreviewMetadata linkInlineVideoMuted. */
29751
29762
  public linkInlineVideoMuted?: (boolean|null);
29752
29763
 
29764
+ /** LinkPreviewMetadata videoContentUrl. */
29765
+ public videoContentUrl?: (string|null);
29766
+
29767
+ /** LinkPreviewMetadata musicMetadata. */
29768
+ public musicMetadata?: (waproto.IEmbeddedMusic|null);
29769
+
29770
+ /** LinkPreviewMetadata videoContentCaption. */
29771
+ public videoContentCaption?: (string|null);
29772
+
29753
29773
  /**
29754
29774
  * Creates a new LinkPreviewMetadata instance using the specified properties.
29755
29775
  * @param [properties] Properties to set
package/dist/index.js CHANGED
@@ -11955,6 +11955,7 @@ $root.waproto = (function() {
11955
11955
  case 43:
11956
11956
  case 44:
11957
11957
  case 45:
11958
+ case 46:
11958
11959
  break;
11959
11960
  }
11960
11961
  }
@@ -12168,6 +12169,10 @@ $root.waproto = (function() {
12168
12169
  case 45:
12169
12170
  message.capabilities[i] = 45;
12170
12171
  break;
12172
+ case "RICH_RESPONSE_IN_APP_SURVEY":
12173
+ case 46:
12174
+ message.capabilities[i] = 46;
12175
+ break;
12171
12176
  }
12172
12177
  }
12173
12178
  return message;
@@ -12272,6 +12277,7 @@ $root.waproto = (function() {
12272
12277
  * @property {number} RICH_RESPONSE_UR_INLINE_REELS_ENABLED=43 RICH_RESPONSE_UR_INLINE_REELS_ENABLED value
12273
12278
  * @property {number} RICH_RESPONSE_UR_MEDIA_GRID_ENABLED=44 RICH_RESPONSE_UR_MEDIA_GRID_ENABLED value
12274
12279
  * @property {number} RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER=45 RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER value
12280
+ * @property {number} RICH_RESPONSE_IN_APP_SURVEY=46 RICH_RESPONSE_IN_APP_SURVEY value
12275
12281
  */
12276
12282
  BotCapabilityMetadata.BotCapabilityType = (function() {
12277
12283
  var valuesById = {}, values = Object.create(valuesById);
@@ -12321,6 +12327,7 @@ $root.waproto = (function() {
12321
12327
  values[valuesById[43] = "RICH_RESPONSE_UR_INLINE_REELS_ENABLED"] = 43;
12322
12328
  values[valuesById[44] = "RICH_RESPONSE_UR_MEDIA_GRID_ENABLED"] = 44;
12323
12329
  values[valuesById[45] = "RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER"] = 45;
12330
+ values[valuesById[46] = "RICH_RESPONSE_IN_APP_SURVEY"] = 46;
12324
12331
  return values;
12325
12332
  })();
12326
12333
 
@@ -54628,6 +54635,7 @@ $root.waproto = (function() {
54628
54635
  case 0:
54629
54636
  case 1:
54630
54637
  case 2:
54638
+ case 3:
54631
54639
  break;
54632
54640
  }
54633
54641
  }
@@ -54658,18 +54666,22 @@ $root.waproto = (function() {
54658
54666
  break;
54659
54667
  }
54660
54668
  break;
54661
- case "NOT_DOWNLOADED":
54669
+ case "NOT_INJECTED":
54662
54670
  case 0:
54663
54671
  message.processState = 0;
54664
54672
  break;
54665
- case "DOWNLOADED":
54673
+ case "INJECTED":
54666
54674
  case 1:
54667
54675
  message.processState = 1;
54668
54676
  break;
54669
- case "DOWNLOAD_FAILED":
54677
+ case "INJECTED_PARTIAL":
54670
54678
  case 2:
54671
54679
  message.processState = 2;
54672
54680
  break;
54681
+ case "INJECTION_FAILED":
54682
+ case 3:
54683
+ message.processState = 3;
54684
+ break;
54673
54685
  }
54674
54686
  return message;
54675
54687
  };
@@ -54730,15 +54742,17 @@ $root.waproto = (function() {
54730
54742
  * ProcessState enum.
54731
54743
  * @name waproto.GroupHistoryBundleInfo.ProcessState
54732
54744
  * @enum {number}
54733
- * @property {number} NOT_DOWNLOADED=0 NOT_DOWNLOADED value
54734
- * @property {number} DOWNLOADED=1 DOWNLOADED value
54735
- * @property {number} DOWNLOAD_FAILED=2 DOWNLOAD_FAILED value
54745
+ * @property {number} NOT_INJECTED=0 NOT_INJECTED value
54746
+ * @property {number} INJECTED=1 INJECTED value
54747
+ * @property {number} INJECTED_PARTIAL=2 INJECTED_PARTIAL value
54748
+ * @property {number} INJECTION_FAILED=3 INJECTION_FAILED value
54736
54749
  */
54737
54750
  GroupHistoryBundleInfo.ProcessState = (function() {
54738
54751
  var valuesById = {}, values = Object.create(valuesById);
54739
- values[valuesById[0] = "NOT_DOWNLOADED"] = 0;
54740
- values[valuesById[1] = "DOWNLOADED"] = 1;
54741
- values[valuesById[2] = "DOWNLOAD_FAILED"] = 2;
54752
+ values[valuesById[0] = "NOT_INJECTED"] = 0;
54753
+ values[valuesById[1] = "INJECTED"] = 1;
54754
+ values[valuesById[2] = "INJECTED_PARTIAL"] = 2;
54755
+ values[valuesById[3] = "INJECTION_FAILED"] = 3;
54742
54756
  return values;
54743
54757
  })();
54744
54758
 
@@ -93190,6 +93204,9 @@ $root.waproto = (function() {
93190
93204
  * @property {number|null} [linkMediaDuration] LinkPreviewMetadata linkMediaDuration
93191
93205
  * @property {waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null} [socialMediaPostType] LinkPreviewMetadata socialMediaPostType
93192
93206
  * @property {boolean|null} [linkInlineVideoMuted] LinkPreviewMetadata linkInlineVideoMuted
93207
+ * @property {string|null} [videoContentUrl] LinkPreviewMetadata videoContentUrl
93208
+ * @property {waproto.IEmbeddedMusic|null} [musicMetadata] LinkPreviewMetadata musicMetadata
93209
+ * @property {string|null} [videoContentCaption] LinkPreviewMetadata videoContentCaption
93193
93210
  */
93194
93211
 
93195
93212
  /**
@@ -93255,6 +93272,30 @@ $root.waproto = (function() {
93255
93272
  */
93256
93273
  LinkPreviewMetadata.prototype.linkInlineVideoMuted = null;
93257
93274
 
93275
+ /**
93276
+ * LinkPreviewMetadata videoContentUrl.
93277
+ * @member {string|null|undefined} videoContentUrl
93278
+ * @memberof waproto.Message.LinkPreviewMetadata
93279
+ * @instance
93280
+ */
93281
+ LinkPreviewMetadata.prototype.videoContentUrl = null;
93282
+
93283
+ /**
93284
+ * LinkPreviewMetadata musicMetadata.
93285
+ * @member {waproto.IEmbeddedMusic|null|undefined} musicMetadata
93286
+ * @memberof waproto.Message.LinkPreviewMetadata
93287
+ * @instance
93288
+ */
93289
+ LinkPreviewMetadata.prototype.musicMetadata = null;
93290
+
93291
+ /**
93292
+ * LinkPreviewMetadata videoContentCaption.
93293
+ * @member {string|null|undefined} videoContentCaption
93294
+ * @memberof waproto.Message.LinkPreviewMetadata
93295
+ * @instance
93296
+ */
93297
+ LinkPreviewMetadata.prototype.videoContentCaption = null;
93298
+
93258
93299
  // OneOf field names bound to virtual getters and setters
93259
93300
  var $oneOfFields;
93260
93301
 
@@ -93294,6 +93335,24 @@ $root.waproto = (function() {
93294
93335
  set: $util.oneOfSetter($oneOfFields)
93295
93336
  });
93296
93337
 
93338
+ // Virtual OneOf for proto3 optional field
93339
+ Object.defineProperty(LinkPreviewMetadata.prototype, "_videoContentUrl", {
93340
+ get: $util.oneOfGetter($oneOfFields = ["videoContentUrl"]),
93341
+ set: $util.oneOfSetter($oneOfFields)
93342
+ });
93343
+
93344
+ // Virtual OneOf for proto3 optional field
93345
+ Object.defineProperty(LinkPreviewMetadata.prototype, "_musicMetadata", {
93346
+ get: $util.oneOfGetter($oneOfFields = ["musicMetadata"]),
93347
+ set: $util.oneOfSetter($oneOfFields)
93348
+ });
93349
+
93350
+ // Virtual OneOf for proto3 optional field
93351
+ Object.defineProperty(LinkPreviewMetadata.prototype, "_videoContentCaption", {
93352
+ get: $util.oneOfGetter($oneOfFields = ["videoContentCaption"]),
93353
+ set: $util.oneOfSetter($oneOfFields)
93354
+ });
93355
+
93297
93356
  /**
93298
93357
  * Creates a new LinkPreviewMetadata instance using the specified properties.
93299
93358
  * @function create
@@ -93330,6 +93389,12 @@ $root.waproto = (function() {
93330
93389
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.socialMediaPostType);
93331
93390
  if (message.linkInlineVideoMuted != null && Object.hasOwnProperty.call(message, "linkInlineVideoMuted"))
93332
93391
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.linkInlineVideoMuted);
93392
+ if (message.videoContentUrl != null && Object.hasOwnProperty.call(message, "videoContentUrl"))
93393
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.videoContentUrl);
93394
+ if (message.musicMetadata != null && Object.hasOwnProperty.call(message, "musicMetadata"))
93395
+ $root.waproto.EmbeddedMusic.encode(message.musicMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
93396
+ if (message.videoContentCaption != null && Object.hasOwnProperty.call(message, "videoContentCaption"))
93397
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.videoContentCaption);
93333
93398
  return writer;
93334
93399
  };
93335
93400
 
@@ -93388,6 +93453,18 @@ $root.waproto = (function() {
93388
93453
  message.linkInlineVideoMuted = reader.bool();
93389
93454
  break;
93390
93455
  }
93456
+ case 7: {
93457
+ message.videoContentUrl = reader.string();
93458
+ break;
93459
+ }
93460
+ case 8: {
93461
+ message.musicMetadata = $root.waproto.EmbeddedMusic.decode(reader, reader.uint32());
93462
+ break;
93463
+ }
93464
+ case 9: {
93465
+ message.videoContentCaption = reader.string();
93466
+ break;
93467
+ }
93391
93468
  default:
93392
93469
  reader.skipType(tag & 7);
93393
93470
  break;
@@ -93469,6 +93546,24 @@ $root.waproto = (function() {
93469
93546
  if (typeof message.linkInlineVideoMuted !== "boolean")
93470
93547
  return "linkInlineVideoMuted: boolean expected";
93471
93548
  }
93549
+ if (message.videoContentUrl != null && message.hasOwnProperty("videoContentUrl")) {
93550
+ properties._videoContentUrl = 1;
93551
+ if (!$util.isString(message.videoContentUrl))
93552
+ return "videoContentUrl: string expected";
93553
+ }
93554
+ if (message.musicMetadata != null && message.hasOwnProperty("musicMetadata")) {
93555
+ properties._musicMetadata = 1;
93556
+ {
93557
+ var error = $root.waproto.EmbeddedMusic.verify(message.musicMetadata);
93558
+ if (error)
93559
+ return "musicMetadata." + error;
93560
+ }
93561
+ }
93562
+ if (message.videoContentCaption != null && message.hasOwnProperty("videoContentCaption")) {
93563
+ properties._videoContentCaption = 1;
93564
+ if (!$util.isString(message.videoContentCaption))
93565
+ return "videoContentCaption: string expected";
93566
+ }
93472
93567
  return null;
93473
93568
  };
93474
93569
 
@@ -93532,6 +93627,15 @@ $root.waproto = (function() {
93532
93627
  }
93533
93628
  if (object.linkInlineVideoMuted != null)
93534
93629
  message.linkInlineVideoMuted = Boolean(object.linkInlineVideoMuted);
93630
+ if (object.videoContentUrl != null)
93631
+ message.videoContentUrl = String(object.videoContentUrl);
93632
+ if (object.musicMetadata != null) {
93633
+ if (typeof object.musicMetadata !== "object")
93634
+ throw TypeError(".waproto.Message.LinkPreviewMetadata.musicMetadata: object expected");
93635
+ message.musicMetadata = $root.waproto.EmbeddedMusic.fromObject(object.musicMetadata);
93636
+ }
93637
+ if (object.videoContentCaption != null)
93638
+ message.videoContentCaption = String(object.videoContentCaption);
93535
93639
  return message;
93536
93640
  };
93537
93641
 
@@ -93578,6 +93682,21 @@ $root.waproto = (function() {
93578
93682
  if (options.oneofs)
93579
93683
  object._linkInlineVideoMuted = "linkInlineVideoMuted";
93580
93684
  }
93685
+ if (message.videoContentUrl != null && message.hasOwnProperty("videoContentUrl")) {
93686
+ object.videoContentUrl = message.videoContentUrl;
93687
+ if (options.oneofs)
93688
+ object._videoContentUrl = "videoContentUrl";
93689
+ }
93690
+ if (message.musicMetadata != null && message.hasOwnProperty("musicMetadata")) {
93691
+ object.musicMetadata = $root.waproto.EmbeddedMusic.toObject(message.musicMetadata, options);
93692
+ if (options.oneofs)
93693
+ object._musicMetadata = "musicMetadata";
93694
+ }
93695
+ if (message.videoContentCaption != null && message.hasOwnProperty("videoContentCaption")) {
93696
+ object.videoContentCaption = message.videoContentCaption;
93697
+ if (options.oneofs)
93698
+ object._videoContentCaption = "videoContentCaption";
93699
+ }
93581
93700
  return object;
93582
93701
  };
93583
93702
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1028056377",
3
+ "version": "2.3000.1028088934",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {