@wppconnect/wa-proto 2.3000.1027531521 → 2.3000.1027646615

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.1027646615](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1027531521...v2.3000.1027646615) (2025-09-26)
2
+
3
+
4
+
1
5
  ## [2.3000.1027531521](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1027419443...v2.3000.1027531521) (2025-09-24)
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.1027531521
4
+ /// WhatsApp Version: 2.3000.1027646615
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -296,6 +296,11 @@ message BizIdentityInfo {
296
296
  message BotAgeCollectionMetadata {
297
297
  optional bool ageCollectionEligible = 1;
298
298
  optional bool shouldTriggerAgeCollectionOnClient = 2;
299
+ optional AgeCollectionType ageCollectionType = 3;
300
+ enum AgeCollectionType {
301
+ O18_BINARY = 0;
302
+ WAFFLE = 1;
303
+ }
299
304
  }
300
305
 
301
306
  message BotAvatarMetadata {
@@ -553,8 +558,10 @@ enum BotMetricsEntryPoint {
553
558
  INVOKE_META_AI_GROUP = 30;
554
559
  META_AI_FORWARD = 31;
555
560
  NEW_CHAT_AI_CONTACT = 32;
556
- MESSAGE_QUICK_ACTION = 33;
557
- ATTACHMENT_TRAY = 34;
561
+ MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
562
+ MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
563
+ ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
564
+ ATTACHMENT_TRAY_GROUP_CHAT = 36;
558
565
  }
559
566
  message BotMetricsMetadata {
560
567
  optional string destinationId = 1;
package/dist/index.d.ts CHANGED
@@ -3948,6 +3948,9 @@ export namespace waproto {
3948
3948
 
3949
3949
  /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient */
3950
3950
  shouldTriggerAgeCollectionOnClient?: (boolean|null);
3951
+
3952
+ /** BotAgeCollectionMetadata ageCollectionType */
3953
+ ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null);
3951
3954
  }
3952
3955
 
3953
3956
  /** Represents a BotAgeCollectionMetadata. */
@@ -3965,6 +3968,9 @@ export namespace waproto {
3965
3968
  /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient. */
3966
3969
  public shouldTriggerAgeCollectionOnClient?: (boolean|null);
3967
3970
 
3971
+ /** BotAgeCollectionMetadata ageCollectionType. */
3972
+ public ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null);
3973
+
3968
3974
  /**
3969
3975
  * Creates a new BotAgeCollectionMetadata instance using the specified properties.
3970
3976
  * @param [properties] Properties to set
@@ -4043,6 +4049,15 @@ export namespace waproto {
4043
4049
  public static getTypeUrl(typeUrlPrefix?: string): string;
4044
4050
  }
4045
4051
 
4052
+ namespace BotAgeCollectionMetadata {
4053
+
4054
+ /** AgeCollectionType enum. */
4055
+ enum AgeCollectionType {
4056
+ O18_BINARY = 0,
4057
+ WAFFLE = 1
4058
+ }
4059
+ }
4060
+
4046
4061
  /** Properties of a BotAvatarMetadata. */
4047
4062
  interface IBotAvatarMetadata {
4048
4063
 
@@ -6033,8 +6048,10 @@ export namespace waproto {
6033
6048
  INVOKE_META_AI_GROUP = 30,
6034
6049
  META_AI_FORWARD = 31,
6035
6050
  NEW_CHAT_AI_CONTACT = 32,
6036
- MESSAGE_QUICK_ACTION = 33,
6037
- ATTACHMENT_TRAY = 34
6051
+ MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33,
6052
+ MESSAGE_QUICK_ACTION_GROUP_CHAT = 34,
6053
+ ATTACHMENT_TRAY_1_ON_1_CHAT = 35,
6054
+ ATTACHMENT_TRAY_GROUP_CHAT = 36
6038
6055
  }
6039
6056
 
6040
6057
  /** Properties of a BotMetricsMetadata. */
package/dist/index.js CHANGED
@@ -11104,6 +11104,7 @@ $root.waproto = (function() {
11104
11104
  * @interface IBotAgeCollectionMetadata
11105
11105
  * @property {boolean|null} [ageCollectionEligible] BotAgeCollectionMetadata ageCollectionEligible
11106
11106
  * @property {boolean|null} [shouldTriggerAgeCollectionOnClient] BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient
11107
+ * @property {waproto.BotAgeCollectionMetadata.AgeCollectionType|null} [ageCollectionType] BotAgeCollectionMetadata ageCollectionType
11107
11108
  */
11108
11109
 
11109
11110
  /**
@@ -11137,6 +11138,14 @@ $root.waproto = (function() {
11137
11138
  */
11138
11139
  BotAgeCollectionMetadata.prototype.shouldTriggerAgeCollectionOnClient = null;
11139
11140
 
11141
+ /**
11142
+ * BotAgeCollectionMetadata ageCollectionType.
11143
+ * @member {waproto.BotAgeCollectionMetadata.AgeCollectionType|null|undefined} ageCollectionType
11144
+ * @memberof waproto.BotAgeCollectionMetadata
11145
+ * @instance
11146
+ */
11147
+ BotAgeCollectionMetadata.prototype.ageCollectionType = null;
11148
+
11140
11149
  // OneOf field names bound to virtual getters and setters
11141
11150
  var $oneOfFields;
11142
11151
 
@@ -11152,6 +11161,12 @@ $root.waproto = (function() {
11152
11161
  set: $util.oneOfSetter($oneOfFields)
11153
11162
  });
11154
11163
 
11164
+ // Virtual OneOf for proto3 optional field
11165
+ Object.defineProperty(BotAgeCollectionMetadata.prototype, "_ageCollectionType", {
11166
+ get: $util.oneOfGetter($oneOfFields = ["ageCollectionType"]),
11167
+ set: $util.oneOfSetter($oneOfFields)
11168
+ });
11169
+
11155
11170
  /**
11156
11171
  * Creates a new BotAgeCollectionMetadata instance using the specified properties.
11157
11172
  * @function create
@@ -11180,6 +11195,8 @@ $root.waproto = (function() {
11180
11195
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.ageCollectionEligible);
11181
11196
  if (message.shouldTriggerAgeCollectionOnClient != null && Object.hasOwnProperty.call(message, "shouldTriggerAgeCollectionOnClient"))
11182
11197
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.shouldTriggerAgeCollectionOnClient);
11198
+ if (message.ageCollectionType != null && Object.hasOwnProperty.call(message, "ageCollectionType"))
11199
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.ageCollectionType);
11183
11200
  return writer;
11184
11201
  };
11185
11202
 
@@ -11222,6 +11239,10 @@ $root.waproto = (function() {
11222
11239
  message.shouldTriggerAgeCollectionOnClient = reader.bool();
11223
11240
  break;
11224
11241
  }
11242
+ case 3: {
11243
+ message.ageCollectionType = reader.int32();
11244
+ break;
11245
+ }
11225
11246
  default:
11226
11247
  reader.skipType(tag & 7);
11227
11248
  break;
@@ -11268,6 +11289,16 @@ $root.waproto = (function() {
11268
11289
  if (typeof message.shouldTriggerAgeCollectionOnClient !== "boolean")
11269
11290
  return "shouldTriggerAgeCollectionOnClient: boolean expected";
11270
11291
  }
11292
+ if (message.ageCollectionType != null && message.hasOwnProperty("ageCollectionType")) {
11293
+ properties._ageCollectionType = 1;
11294
+ switch (message.ageCollectionType) {
11295
+ default:
11296
+ return "ageCollectionType: enum value expected";
11297
+ case 0:
11298
+ case 1:
11299
+ break;
11300
+ }
11301
+ }
11271
11302
  return null;
11272
11303
  };
11273
11304
 
@@ -11287,6 +11318,22 @@ $root.waproto = (function() {
11287
11318
  message.ageCollectionEligible = Boolean(object.ageCollectionEligible);
11288
11319
  if (object.shouldTriggerAgeCollectionOnClient != null)
11289
11320
  message.shouldTriggerAgeCollectionOnClient = Boolean(object.shouldTriggerAgeCollectionOnClient);
11321
+ switch (object.ageCollectionType) {
11322
+ default:
11323
+ if (typeof object.ageCollectionType === "number") {
11324
+ message.ageCollectionType = object.ageCollectionType;
11325
+ break;
11326
+ }
11327
+ break;
11328
+ case "O18_BINARY":
11329
+ case 0:
11330
+ message.ageCollectionType = 0;
11331
+ break;
11332
+ case "WAFFLE":
11333
+ case 1:
11334
+ message.ageCollectionType = 1;
11335
+ break;
11336
+ }
11290
11337
  return message;
11291
11338
  };
11292
11339
 
@@ -11313,6 +11360,11 @@ $root.waproto = (function() {
11313
11360
  if (options.oneofs)
11314
11361
  object._shouldTriggerAgeCollectionOnClient = "shouldTriggerAgeCollectionOnClient";
11315
11362
  }
11363
+ if (message.ageCollectionType != null && message.hasOwnProperty("ageCollectionType")) {
11364
+ object.ageCollectionType = options.enums === String ? $root.waproto.BotAgeCollectionMetadata.AgeCollectionType[message.ageCollectionType] === undefined ? message.ageCollectionType : $root.waproto.BotAgeCollectionMetadata.AgeCollectionType[message.ageCollectionType] : message.ageCollectionType;
11365
+ if (options.oneofs)
11366
+ object._ageCollectionType = "ageCollectionType";
11367
+ }
11316
11368
  return object;
11317
11369
  };
11318
11370
 
@@ -11342,6 +11394,20 @@ $root.waproto = (function() {
11342
11394
  return typeUrlPrefix + "/waproto.BotAgeCollectionMetadata";
11343
11395
  };
11344
11396
 
11397
+ /**
11398
+ * AgeCollectionType enum.
11399
+ * @name waproto.BotAgeCollectionMetadata.AgeCollectionType
11400
+ * @enum {number}
11401
+ * @property {number} O18_BINARY=0 O18_BINARY value
11402
+ * @property {number} WAFFLE=1 WAFFLE value
11403
+ */
11404
+ BotAgeCollectionMetadata.AgeCollectionType = (function() {
11405
+ var valuesById = {}, values = Object.create(valuesById);
11406
+ values[valuesById[0] = "O18_BINARY"] = 0;
11407
+ values[valuesById[1] = "WAFFLE"] = 1;
11408
+ return values;
11409
+ })();
11410
+
11345
11411
  return BotAgeCollectionMetadata;
11346
11412
  })();
11347
11413
 
@@ -17550,8 +17616,10 @@ $root.waproto = (function() {
17550
17616
  * @property {number} INVOKE_META_AI_GROUP=30 INVOKE_META_AI_GROUP value
17551
17617
  * @property {number} META_AI_FORWARD=31 META_AI_FORWARD value
17552
17618
  * @property {number} NEW_CHAT_AI_CONTACT=32 NEW_CHAT_AI_CONTACT value
17553
- * @property {number} MESSAGE_QUICK_ACTION=33 MESSAGE_QUICK_ACTION value
17554
- * @property {number} ATTACHMENT_TRAY=34 ATTACHMENT_TRAY value
17619
+ * @property {number} MESSAGE_QUICK_ACTION_1_ON_1_CHAT=33 MESSAGE_QUICK_ACTION_1_ON_1_CHAT value
17620
+ * @property {number} MESSAGE_QUICK_ACTION_GROUP_CHAT=34 MESSAGE_QUICK_ACTION_GROUP_CHAT value
17621
+ * @property {number} ATTACHMENT_TRAY_1_ON_1_CHAT=35 ATTACHMENT_TRAY_1_ON_1_CHAT value
17622
+ * @property {number} ATTACHMENT_TRAY_GROUP_CHAT=36 ATTACHMENT_TRAY_GROUP_CHAT value
17555
17623
  */
17556
17624
  waproto.BotMetricsEntryPoint = (function() {
17557
17625
  var valuesById = {}, values = Object.create(valuesById);
@@ -17588,8 +17656,10 @@ $root.waproto = (function() {
17588
17656
  values[valuesById[30] = "INVOKE_META_AI_GROUP"] = 30;
17589
17657
  values[valuesById[31] = "META_AI_FORWARD"] = 31;
17590
17658
  values[valuesById[32] = "NEW_CHAT_AI_CONTACT"] = 32;
17591
- values[valuesById[33] = "MESSAGE_QUICK_ACTION"] = 33;
17592
- values[valuesById[34] = "ATTACHMENT_TRAY"] = 34;
17659
+ values[valuesById[33] = "MESSAGE_QUICK_ACTION_1_ON_1_CHAT"] = 33;
17660
+ values[valuesById[34] = "MESSAGE_QUICK_ACTION_GROUP_CHAT"] = 34;
17661
+ values[valuesById[35] = "ATTACHMENT_TRAY_1_ON_1_CHAT"] = 35;
17662
+ values[valuesById[36] = "ATTACHMENT_TRAY_GROUP_CHAT"] = 36;
17593
17663
  return values;
17594
17664
  })();
17595
17665
 
@@ -17821,6 +17891,8 @@ $root.waproto = (function() {
17821
17891
  case 32:
17822
17892
  case 33:
17823
17893
  case 34:
17894
+ case 35:
17895
+ case 36:
17824
17896
  break;
17825
17897
  }
17826
17898
  }
@@ -17993,14 +18065,22 @@ $root.waproto = (function() {
17993
18065
  case 32:
17994
18066
  message.destinationEntryPoint = 32;
17995
18067
  break;
17996
- case "MESSAGE_QUICK_ACTION":
18068
+ case "MESSAGE_QUICK_ACTION_1_ON_1_CHAT":
17997
18069
  case 33:
17998
18070
  message.destinationEntryPoint = 33;
17999
18071
  break;
18000
- case "ATTACHMENT_TRAY":
18072
+ case "MESSAGE_QUICK_ACTION_GROUP_CHAT":
18001
18073
  case 34:
18002
18074
  message.destinationEntryPoint = 34;
18003
18075
  break;
18076
+ case "ATTACHMENT_TRAY_1_ON_1_CHAT":
18077
+ case 35:
18078
+ message.destinationEntryPoint = 35;
18079
+ break;
18080
+ case "ATTACHMENT_TRAY_GROUP_CHAT":
18081
+ case 36:
18082
+ message.destinationEntryPoint = 36;
18083
+ break;
18004
18084
  }
18005
18085
  switch (object.threadOrigin) {
18006
18086
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1027531521",
3
+ "version": "2.3000.1027646615",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {