@wppconnect/wa-proto 2.3000.1023529440 → 2.3000.1023759987

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,11 @@
1
+ ## [2.3000.1023759987](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023577570...v2.3000.1023759987) (2025-06-12)
2
+
3
+
4
+
5
+ ## 2.3000.1023577570 (2025-06-06)
6
+
7
+
8
+
1
9
  ## [2.3000.1023529440](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023482657...v2.3000.1023529440) (2025-06-05)
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.1023529440
4
+ /// WhatsApp Version: 2.3000.1023759987
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -773,6 +773,7 @@ message Citation {
773
773
  message ClientPairingProps {
774
774
  optional bool isChatDbLidMigrated = 1;
775
775
  optional bool isSyncdPureLidSession = 2;
776
+ optional bool isSyncdSnapshotRecoveryEnabled = 3;
776
777
  }
777
778
 
778
779
  message ClientPayload {
@@ -2427,6 +2428,16 @@ message Message {
2427
2428
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
2428
2429
  optional Message.URLMetadata urlMetadata = 2;
2429
2430
  optional uint32 fbExperimentId = 3;
2431
+ optional uint32 linkMediaDuration = 4;
2432
+ optional SocialMediaPostType socialMediaPostType = 5;
2433
+ enum SocialMediaPostType {
2434
+ NONE = 0;
2435
+ REEL = 1;
2436
+ LIVE_VIDEO = 2;
2437
+ LONG_VIDEO = 3;
2438
+ SINGLE_IMAGE = 4;
2439
+ CAROUSEL = 5;
2440
+ }
2430
2441
  }
2431
2442
 
2432
2443
  message ListMessage {
@@ -3189,6 +3200,7 @@ message MessageAssociation {
3189
3200
  MOTION_PHOTO = 12;
3190
3201
  STATUS_LINK_ACTION = 13;
3191
3202
  VIEW_ALL_REPLIES = 14;
3203
+ STATUS_ADD_YOURS_AI_IMAGINE = 15;
3192
3204
  }
3193
3205
  }
3194
3206
 
package/dist/index.d.ts CHANGED
@@ -8897,6 +8897,9 @@ export namespace waproto {
8897
8897
 
8898
8898
  /** ClientPairingProps isSyncdPureLidSession */
8899
8899
  isSyncdPureLidSession?: (boolean|null);
8900
+
8901
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
8902
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
8900
8903
  }
8901
8904
 
8902
8905
  /** Represents a ClientPairingProps. */
@@ -8914,6 +8917,9 @@ export namespace waproto {
8914
8917
  /** ClientPairingProps isSyncdPureLidSession. */
8915
8918
  public isSyncdPureLidSession?: (boolean|null);
8916
8919
 
8920
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
8921
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
8922
+
8917
8923
  /**
8918
8924
  * Creates a new ClientPairingProps instance using the specified properties.
8919
8925
  * @param [properties] Properties to set
@@ -26640,6 +26646,12 @@ export namespace waproto {
26640
26646
 
26641
26647
  /** LinkPreviewMetadata fbExperimentId */
26642
26648
  fbExperimentId?: (number|null);
26649
+
26650
+ /** LinkPreviewMetadata linkMediaDuration */
26651
+ linkMediaDuration?: (number|null);
26652
+
26653
+ /** LinkPreviewMetadata socialMediaPostType */
26654
+ socialMediaPostType?: (waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null);
26643
26655
  }
26644
26656
 
26645
26657
  /** Represents a LinkPreviewMetadata. */
@@ -26660,6 +26672,12 @@ export namespace waproto {
26660
26672
  /** LinkPreviewMetadata fbExperimentId. */
26661
26673
  public fbExperimentId?: (number|null);
26662
26674
 
26675
+ /** LinkPreviewMetadata linkMediaDuration. */
26676
+ public linkMediaDuration?: (number|null);
26677
+
26678
+ /** LinkPreviewMetadata socialMediaPostType. */
26679
+ public socialMediaPostType?: (waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null);
26680
+
26663
26681
  /**
26664
26682
  * Creates a new LinkPreviewMetadata instance using the specified properties.
26665
26683
  * @param [properties] Properties to set
@@ -26738,6 +26756,19 @@ export namespace waproto {
26738
26756
  public static getTypeUrl(typeUrlPrefix?: string): string;
26739
26757
  }
26740
26758
 
26759
+ namespace LinkPreviewMetadata {
26760
+
26761
+ /** SocialMediaPostType enum. */
26762
+ enum SocialMediaPostType {
26763
+ NONE = 0,
26764
+ REEL = 1,
26765
+ LIVE_VIDEO = 2,
26766
+ LONG_VIDEO = 3,
26767
+ SINGLE_IMAGE = 4,
26768
+ CAROUSEL = 5
26769
+ }
26770
+ }
26771
+
26741
26772
  /** Properties of a ListMessage. */
26742
26773
  interface IListMessage {
26743
26774
 
@@ -36108,7 +36139,8 @@ export namespace waproto {
36108
36139
  STICKER_ANNOTATION = 11,
36109
36140
  MOTION_PHOTO = 12,
36110
36141
  STATUS_LINK_ACTION = 13,
36111
- VIEW_ALL_REPLIES = 14
36142
+ VIEW_ALL_REPLIES = 14,
36143
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
36112
36144
  }
36113
36145
  }
36114
36146
 
package/dist/index.js CHANGED
@@ -25902,6 +25902,7 @@ $root.waproto = (function() {
25902
25902
  * @interface IClientPairingProps
25903
25903
  * @property {boolean|null} [isChatDbLidMigrated] ClientPairingProps isChatDbLidMigrated
25904
25904
  * @property {boolean|null} [isSyncdPureLidSession] ClientPairingProps isSyncdPureLidSession
25905
+ * @property {boolean|null} [isSyncdSnapshotRecoveryEnabled] ClientPairingProps isSyncdSnapshotRecoveryEnabled
25905
25906
  */
25906
25907
 
25907
25908
  /**
@@ -25935,6 +25936,14 @@ $root.waproto = (function() {
25935
25936
  */
25936
25937
  ClientPairingProps.prototype.isSyncdPureLidSession = null;
25937
25938
 
25939
+ /**
25940
+ * ClientPairingProps isSyncdSnapshotRecoveryEnabled.
25941
+ * @member {boolean|null|undefined} isSyncdSnapshotRecoveryEnabled
25942
+ * @memberof waproto.ClientPairingProps
25943
+ * @instance
25944
+ */
25945
+ ClientPairingProps.prototype.isSyncdSnapshotRecoveryEnabled = null;
25946
+
25938
25947
  // OneOf field names bound to virtual getters and setters
25939
25948
  var $oneOfFields;
25940
25949
 
@@ -25950,6 +25959,12 @@ $root.waproto = (function() {
25950
25959
  set: $util.oneOfSetter($oneOfFields)
25951
25960
  });
25952
25961
 
25962
+ // Virtual OneOf for proto3 optional field
25963
+ Object.defineProperty(ClientPairingProps.prototype, "_isSyncdSnapshotRecoveryEnabled", {
25964
+ get: $util.oneOfGetter($oneOfFields = ["isSyncdSnapshotRecoveryEnabled"]),
25965
+ set: $util.oneOfSetter($oneOfFields)
25966
+ });
25967
+
25953
25968
  /**
25954
25969
  * Creates a new ClientPairingProps instance using the specified properties.
25955
25970
  * @function create
@@ -25978,6 +25993,8 @@ $root.waproto = (function() {
25978
25993
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.isChatDbLidMigrated);
25979
25994
  if (message.isSyncdPureLidSession != null && Object.hasOwnProperty.call(message, "isSyncdPureLidSession"))
25980
25995
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isSyncdPureLidSession);
25996
+ if (message.isSyncdSnapshotRecoveryEnabled != null && Object.hasOwnProperty.call(message, "isSyncdSnapshotRecoveryEnabled"))
25997
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isSyncdSnapshotRecoveryEnabled);
25981
25998
  return writer;
25982
25999
  };
25983
26000
 
@@ -26020,6 +26037,10 @@ $root.waproto = (function() {
26020
26037
  message.isSyncdPureLidSession = reader.bool();
26021
26038
  break;
26022
26039
  }
26040
+ case 3: {
26041
+ message.isSyncdSnapshotRecoveryEnabled = reader.bool();
26042
+ break;
26043
+ }
26023
26044
  default:
26024
26045
  reader.skipType(tag & 7);
26025
26046
  break;
@@ -26066,6 +26087,11 @@ $root.waproto = (function() {
26066
26087
  if (typeof message.isSyncdPureLidSession !== "boolean")
26067
26088
  return "isSyncdPureLidSession: boolean expected";
26068
26089
  }
26090
+ if (message.isSyncdSnapshotRecoveryEnabled != null && message.hasOwnProperty("isSyncdSnapshotRecoveryEnabled")) {
26091
+ properties._isSyncdSnapshotRecoveryEnabled = 1;
26092
+ if (typeof message.isSyncdSnapshotRecoveryEnabled !== "boolean")
26093
+ return "isSyncdSnapshotRecoveryEnabled: boolean expected";
26094
+ }
26069
26095
  return null;
26070
26096
  };
26071
26097
 
@@ -26085,6 +26111,8 @@ $root.waproto = (function() {
26085
26111
  message.isChatDbLidMigrated = Boolean(object.isChatDbLidMigrated);
26086
26112
  if (object.isSyncdPureLidSession != null)
26087
26113
  message.isSyncdPureLidSession = Boolean(object.isSyncdPureLidSession);
26114
+ if (object.isSyncdSnapshotRecoveryEnabled != null)
26115
+ message.isSyncdSnapshotRecoveryEnabled = Boolean(object.isSyncdSnapshotRecoveryEnabled);
26088
26116
  return message;
26089
26117
  };
26090
26118
 
@@ -26111,6 +26139,11 @@ $root.waproto = (function() {
26111
26139
  if (options.oneofs)
26112
26140
  object._isSyncdPureLidSession = "isSyncdPureLidSession";
26113
26141
  }
26142
+ if (message.isSyncdSnapshotRecoveryEnabled != null && message.hasOwnProperty("isSyncdSnapshotRecoveryEnabled")) {
26143
+ object.isSyncdSnapshotRecoveryEnabled = message.isSyncdSnapshotRecoveryEnabled;
26144
+ if (options.oneofs)
26145
+ object._isSyncdSnapshotRecoveryEnabled = "isSyncdSnapshotRecoveryEnabled";
26146
+ }
26114
26147
  return object;
26115
26148
  };
26116
26149
 
@@ -83405,6 +83438,8 @@ $root.waproto = (function() {
83405
83438
  * @property {waproto.Message.IPaymentLinkMetadata|null} [paymentLinkMetadata] LinkPreviewMetadata paymentLinkMetadata
83406
83439
  * @property {waproto.Message.IURLMetadata|null} [urlMetadata] LinkPreviewMetadata urlMetadata
83407
83440
  * @property {number|null} [fbExperimentId] LinkPreviewMetadata fbExperimentId
83441
+ * @property {number|null} [linkMediaDuration] LinkPreviewMetadata linkMediaDuration
83442
+ * @property {waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null} [socialMediaPostType] LinkPreviewMetadata socialMediaPostType
83408
83443
  */
83409
83444
 
83410
83445
  /**
@@ -83446,6 +83481,22 @@ $root.waproto = (function() {
83446
83481
  */
83447
83482
  LinkPreviewMetadata.prototype.fbExperimentId = null;
83448
83483
 
83484
+ /**
83485
+ * LinkPreviewMetadata linkMediaDuration.
83486
+ * @member {number|null|undefined} linkMediaDuration
83487
+ * @memberof waproto.Message.LinkPreviewMetadata
83488
+ * @instance
83489
+ */
83490
+ LinkPreviewMetadata.prototype.linkMediaDuration = null;
83491
+
83492
+ /**
83493
+ * LinkPreviewMetadata socialMediaPostType.
83494
+ * @member {waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null|undefined} socialMediaPostType
83495
+ * @memberof waproto.Message.LinkPreviewMetadata
83496
+ * @instance
83497
+ */
83498
+ LinkPreviewMetadata.prototype.socialMediaPostType = null;
83499
+
83449
83500
  // OneOf field names bound to virtual getters and setters
83450
83501
  var $oneOfFields;
83451
83502
 
@@ -83467,6 +83518,18 @@ $root.waproto = (function() {
83467
83518
  set: $util.oneOfSetter($oneOfFields)
83468
83519
  });
83469
83520
 
83521
+ // Virtual OneOf for proto3 optional field
83522
+ Object.defineProperty(LinkPreviewMetadata.prototype, "_linkMediaDuration", {
83523
+ get: $util.oneOfGetter($oneOfFields = ["linkMediaDuration"]),
83524
+ set: $util.oneOfSetter($oneOfFields)
83525
+ });
83526
+
83527
+ // Virtual OneOf for proto3 optional field
83528
+ Object.defineProperty(LinkPreviewMetadata.prototype, "_socialMediaPostType", {
83529
+ get: $util.oneOfGetter($oneOfFields = ["socialMediaPostType"]),
83530
+ set: $util.oneOfSetter($oneOfFields)
83531
+ });
83532
+
83470
83533
  /**
83471
83534
  * Creates a new LinkPreviewMetadata instance using the specified properties.
83472
83535
  * @function create
@@ -83497,6 +83560,10 @@ $root.waproto = (function() {
83497
83560
  $root.waproto.Message.URLMetadata.encode(message.urlMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
83498
83561
  if (message.fbExperimentId != null && Object.hasOwnProperty.call(message, "fbExperimentId"))
83499
83562
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.fbExperimentId);
83563
+ if (message.linkMediaDuration != null && Object.hasOwnProperty.call(message, "linkMediaDuration"))
83564
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.linkMediaDuration);
83565
+ if (message.socialMediaPostType != null && Object.hasOwnProperty.call(message, "socialMediaPostType"))
83566
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.socialMediaPostType);
83500
83567
  return writer;
83501
83568
  };
83502
83569
 
@@ -83543,6 +83610,14 @@ $root.waproto = (function() {
83543
83610
  message.fbExperimentId = reader.uint32();
83544
83611
  break;
83545
83612
  }
83613
+ case 4: {
83614
+ message.linkMediaDuration = reader.uint32();
83615
+ break;
83616
+ }
83617
+ case 5: {
83618
+ message.socialMediaPostType = reader.int32();
83619
+ break;
83620
+ }
83546
83621
  default:
83547
83622
  reader.skipType(tag & 7);
83548
83623
  break;
@@ -83600,6 +83675,25 @@ $root.waproto = (function() {
83600
83675
  if (!$util.isInteger(message.fbExperimentId))
83601
83676
  return "fbExperimentId: integer expected";
83602
83677
  }
83678
+ if (message.linkMediaDuration != null && message.hasOwnProperty("linkMediaDuration")) {
83679
+ properties._linkMediaDuration = 1;
83680
+ if (!$util.isInteger(message.linkMediaDuration))
83681
+ return "linkMediaDuration: integer expected";
83682
+ }
83683
+ if (message.socialMediaPostType != null && message.hasOwnProperty("socialMediaPostType")) {
83684
+ properties._socialMediaPostType = 1;
83685
+ switch (message.socialMediaPostType) {
83686
+ default:
83687
+ return "socialMediaPostType: enum value expected";
83688
+ case 0:
83689
+ case 1:
83690
+ case 2:
83691
+ case 3:
83692
+ case 4:
83693
+ case 5:
83694
+ break;
83695
+ }
83696
+ }
83603
83697
  return null;
83604
83698
  };
83605
83699
 
@@ -83627,6 +83721,40 @@ $root.waproto = (function() {
83627
83721
  }
83628
83722
  if (object.fbExperimentId != null)
83629
83723
  message.fbExperimentId = object.fbExperimentId >>> 0;
83724
+ if (object.linkMediaDuration != null)
83725
+ message.linkMediaDuration = object.linkMediaDuration >>> 0;
83726
+ switch (object.socialMediaPostType) {
83727
+ default:
83728
+ if (typeof object.socialMediaPostType === "number") {
83729
+ message.socialMediaPostType = object.socialMediaPostType;
83730
+ break;
83731
+ }
83732
+ break;
83733
+ case "NONE":
83734
+ case 0:
83735
+ message.socialMediaPostType = 0;
83736
+ break;
83737
+ case "REEL":
83738
+ case 1:
83739
+ message.socialMediaPostType = 1;
83740
+ break;
83741
+ case "LIVE_VIDEO":
83742
+ case 2:
83743
+ message.socialMediaPostType = 2;
83744
+ break;
83745
+ case "LONG_VIDEO":
83746
+ case 3:
83747
+ message.socialMediaPostType = 3;
83748
+ break;
83749
+ case "SINGLE_IMAGE":
83750
+ case 4:
83751
+ message.socialMediaPostType = 4;
83752
+ break;
83753
+ case "CAROUSEL":
83754
+ case 5:
83755
+ message.socialMediaPostType = 5;
83756
+ break;
83757
+ }
83630
83758
  return message;
83631
83759
  };
83632
83760
 
@@ -83658,6 +83786,16 @@ $root.waproto = (function() {
83658
83786
  if (options.oneofs)
83659
83787
  object._fbExperimentId = "fbExperimentId";
83660
83788
  }
83789
+ if (message.linkMediaDuration != null && message.hasOwnProperty("linkMediaDuration")) {
83790
+ object.linkMediaDuration = message.linkMediaDuration;
83791
+ if (options.oneofs)
83792
+ object._linkMediaDuration = "linkMediaDuration";
83793
+ }
83794
+ if (message.socialMediaPostType != null && message.hasOwnProperty("socialMediaPostType")) {
83795
+ object.socialMediaPostType = options.enums === String ? $root.waproto.Message.LinkPreviewMetadata.SocialMediaPostType[message.socialMediaPostType] === undefined ? message.socialMediaPostType : $root.waproto.Message.LinkPreviewMetadata.SocialMediaPostType[message.socialMediaPostType] : message.socialMediaPostType;
83796
+ if (options.oneofs)
83797
+ object._socialMediaPostType = "socialMediaPostType";
83798
+ }
83661
83799
  return object;
83662
83800
  };
83663
83801
 
@@ -83687,6 +83825,28 @@ $root.waproto = (function() {
83687
83825
  return typeUrlPrefix + "/waproto.Message.LinkPreviewMetadata";
83688
83826
  };
83689
83827
 
83828
+ /**
83829
+ * SocialMediaPostType enum.
83830
+ * @name waproto.Message.LinkPreviewMetadata.SocialMediaPostType
83831
+ * @enum {number}
83832
+ * @property {number} NONE=0 NONE value
83833
+ * @property {number} REEL=1 REEL value
83834
+ * @property {number} LIVE_VIDEO=2 LIVE_VIDEO value
83835
+ * @property {number} LONG_VIDEO=3 LONG_VIDEO value
83836
+ * @property {number} SINGLE_IMAGE=4 SINGLE_IMAGE value
83837
+ * @property {number} CAROUSEL=5 CAROUSEL value
83838
+ */
83839
+ LinkPreviewMetadata.SocialMediaPostType = (function() {
83840
+ var valuesById = {}, values = Object.create(valuesById);
83841
+ values[valuesById[0] = "NONE"] = 0;
83842
+ values[valuesById[1] = "REEL"] = 1;
83843
+ values[valuesById[2] = "LIVE_VIDEO"] = 2;
83844
+ values[valuesById[3] = "LONG_VIDEO"] = 3;
83845
+ values[valuesById[4] = "SINGLE_IMAGE"] = 4;
83846
+ values[valuesById[5] = "CAROUSEL"] = 5;
83847
+ return values;
83848
+ })();
83849
+
83690
83850
  return LinkPreviewMetadata;
83691
83851
  })();
83692
83852
 
@@ -112212,6 +112372,7 @@ $root.waproto = (function() {
112212
112372
  case 12:
112213
112373
  case 13:
112214
112374
  case 14:
112375
+ case 15:
112215
112376
  break;
112216
112377
  }
112217
112378
  }
@@ -112310,6 +112471,10 @@ $root.waproto = (function() {
112310
112471
  case 14:
112311
112472
  message.associationType = 14;
112312
112473
  break;
112474
+ case "STATUS_ADD_YOURS_AI_IMAGINE":
112475
+ case 15:
112476
+ message.associationType = 15;
112477
+ break;
112313
112478
  }
112314
112479
  if (object.parentMessageKey != null) {
112315
112480
  if (typeof object.parentMessageKey !== "object")
@@ -112397,6 +112562,7 @@ $root.waproto = (function() {
112397
112562
  * @property {number} MOTION_PHOTO=12 MOTION_PHOTO value
112398
112563
  * @property {number} STATUS_LINK_ACTION=13 STATUS_LINK_ACTION value
112399
112564
  * @property {number} VIEW_ALL_REPLIES=14 VIEW_ALL_REPLIES value
112565
+ * @property {number} STATUS_ADD_YOURS_AI_IMAGINE=15 STATUS_ADD_YOURS_AI_IMAGINE value
112400
112566
  */
112401
112567
  MessageAssociation.AssociationType = (function() {
112402
112568
  var valuesById = {}, values = Object.create(valuesById);
@@ -112415,6 +112581,7 @@ $root.waproto = (function() {
112415
112581
  values[valuesById[12] = "MOTION_PHOTO"] = 12;
112416
112582
  values[valuesById[13] = "STATUS_LINK_ACTION"] = 13;
112417
112583
  values[valuesById[14] = "VIEW_ALL_REPLIES"] = 14;
112584
+ values[valuesById[15] = "STATUS_ADD_YOURS_AI_IMAGINE"] = 15;
112418
112585
  return values;
112419
112586
  })();
112420
112587
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1023529440",
3
+ "version": "2.3000.1023759987",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {