@wppconnect/wa-proto 2.3000.1052045173 → 2.3000.1052070306

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.1052045173
4
+ /// WhatsApp Version: 2.3000.1052070306
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -4951,6 +4951,7 @@ enum MutationProps {
4951
4951
  BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98;
4952
4952
  COMMUNITY_NESTING_STATE_ACTION = 99;
4953
4953
  SHARED_DEVICE_SECRET_ACTION = 100;
4954
+ HATCH_CVM_SECRET_ACTION = 101;
4954
4955
  SHARE_OWN_PN = 10001;
4955
4956
  BUSINESS_BROADCAST_ACTION = 10002;
4956
4957
  AI_THREAD_DELETE_ACTION = 10003;
@@ -5690,6 +5691,7 @@ message SyncActionValue {
5690
5691
  optional BBProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
5691
5692
  optional CommunityNestingStateAction communityNestingStateAction = 99;
5692
5693
  optional SharedDeviceSecretAction sharedDeviceSecretAction = 100;
5694
+ optional HatchCVMSecretAction hatchCvmSecretAction = 101;
5693
5695
  message AgentAction {
5694
5696
  optional string name = 1;
5695
5697
  optional int32 deviceId = 2;
@@ -5836,9 +5838,9 @@ message SyncActionValue {
5836
5838
  message CommunityNestingStateAction {
5837
5839
  optional NestingState nestingState = 1;
5838
5840
  enum NestingState {
5839
- NESTING_STATE_UNKNOWN = 0;
5840
- NESTING_STATE_NESTED = 1;
5841
- NESTING_STATE_UNNESTED = 2;
5841
+ PLATFORM_DEFAULT = 0;
5842
+ NESTED = 1;
5843
+ UNNESTED = 2;
5842
5844
  }
5843
5845
  }
5844
5846
 
@@ -5933,6 +5935,11 @@ message SyncActionValue {
5933
5935
  }
5934
5936
  }
5935
5937
 
5938
+ message HatchCVMSecretAction {
5939
+ optional bytes secret = 1;
5940
+ optional int64 generation = 2;
5941
+ }
5942
+
5936
5943
  message InteractiveMessageAction {
5937
5944
  required InteractiveMessageActionMode type = 1;
5938
5945
  optional string agmId = 2;
@@ -6212,12 +6219,19 @@ message SyncActionValue {
6212
6219
  optional string chatThemeId = 32;
6213
6220
  optional string colorSchemeId = 33;
6214
6221
  optional string stockWallpaperImageId = 34;
6222
+ optional MediaAutoDownloadQualitySetting mediaAutoDownloadQuality = 35;
6215
6223
  enum DisplayMode {
6216
6224
  DISPLAY_MODE_UNKNOWN = 0;
6217
6225
  ALWAYS = 1;
6218
6226
  NEVER = 2;
6219
6227
  ONLY_WHEN_APP_IS_OPEN = 3;
6220
6228
  }
6229
+ enum MediaAutoDownloadQualitySetting {
6230
+ MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN = 0;
6231
+ MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD = 1;
6232
+ MEDIA_AUTO_DOWNLOAD_QUALITY_HD = 2;
6233
+ MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO = 3;
6234
+ }
6221
6235
  enum MediaQualitySetting {
6222
6236
  MEDIA_QUALITY_UNKNOWN = 0;
6223
6237
  STANDARD = 1;
@@ -6259,6 +6273,7 @@ message SyncActionValue {
6259
6273
  CHAT_THEME_ID = 32;
6260
6274
  COLOR_SCHEME_ID = 33;
6261
6275
  STOCK_WALLPAPER_IMAGE_ID = 34;
6276
+ MEDIA_AUTO_DOWNLOAD_QUALITY = 35;
6262
6277
  }
6263
6278
  enum SettingPlatform {
6264
6279
  PLATFORM_UNKNOWN = 0;
package/dist/index.d.ts CHANGED
@@ -66407,6 +66407,9 @@ export namespace waproto {
66407
66407
  /** SHARED_DEVICE_SECRET_ACTION value */
66408
66408
  SHARED_DEVICE_SECRET_ACTION = 100,
66409
66409
 
66410
+ /** HATCH_CVM_SECRET_ACTION value */
66411
+ HATCH_CVM_SECRET_ACTION = 101,
66412
+
66410
66413
  /** SHARE_OWN_PN value */
66411
66414
  SHARE_OWN_PN = 10001,
66412
66415
 
@@ -76492,6 +76495,9 @@ export namespace waproto {
76492
76495
  /** SyncActionValue sharedDeviceSecretAction. */
76493
76496
  sharedDeviceSecretAction?: (waproto.SyncActionValue.SharedDeviceSecretAction.$Properties|null);
76494
76497
 
76498
+ /** SyncActionValue hatchCvmSecretAction. */
76499
+ hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
76500
+
76495
76501
  /**
76496
76502
  * Creates a new SyncActionValue instance using the specified properties.
76497
76503
  * @param [properties] Properties to set
@@ -76849,6 +76855,9 @@ export namespace waproto {
76849
76855
  /** SyncActionValue sharedDeviceSecretAction */
76850
76856
  sharedDeviceSecretAction?: (waproto.SyncActionValue.SharedDeviceSecretAction.$Properties|null);
76851
76857
 
76858
+ /** SyncActionValue hatchCvmSecretAction */
76859
+ hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
76860
+
76852
76861
  /** Unknown fields preserved while decoding when enabled */
76853
76862
  $unknowns?: Uint8Array[];
76854
76863
  }
@@ -76946,6 +76955,7 @@ export namespace waproto {
76946
76955
  bbProPendingCustomerBaseAction?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape|null;
76947
76956
  communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
76948
76957
  sharedDeviceSecretAction?: waproto.SyncActionValue.SharedDeviceSecretAction.$Shape|null;
76958
+ hatchCvmSecretAction?: waproto.SyncActionValue.HatchCVMSecretAction.$Shape|null;
76949
76959
  $unknowns?: Uint8Array[];
76950
76960
  };
76951
76961
 
@@ -79772,14 +79782,14 @@ export namespace waproto {
79772
79782
  /** NestingState enum. */
79773
79783
  enum NestingState {
79774
79784
 
79775
- /** NESTING_STATE_UNKNOWN value */
79776
- NESTING_STATE_UNKNOWN = 0,
79785
+ /** PLATFORM_DEFAULT value */
79786
+ PLATFORM_DEFAULT = 0,
79777
79787
 
79778
- /** NESTING_STATE_NESTED value */
79779
- NESTING_STATE_NESTED = 1,
79788
+ /** NESTED value */
79789
+ NESTED = 1,
79780
79790
 
79781
- /** NESTING_STATE_UNNESTED value */
79782
- NESTING_STATE_UNNESTED = 2
79791
+ /** UNNESTED value */
79792
+ UNNESTED = 2
79783
79793
  }
79784
79794
  }
79785
79795
 
@@ -81800,6 +81810,129 @@ export namespace waproto {
81800
81810
  }
81801
81811
  }
81802
81812
 
81813
+ /**
81814
+ * Properties of a HatchCVMSecretAction.
81815
+ * @deprecated Use waproto.SyncActionValue.HatchCVMSecretAction.$Properties instead.
81816
+ */
81817
+ interface IHatchCVMSecretAction extends waproto.SyncActionValue.HatchCVMSecretAction.$Properties {
81818
+ }
81819
+
81820
+ /** Represents a HatchCVMSecretAction. */
81821
+ class HatchCVMSecretAction {
81822
+
81823
+ /**
81824
+ * Constructs a new HatchCVMSecretAction.
81825
+ * @param [properties] Properties to set
81826
+ */
81827
+ constructor(properties?: waproto.SyncActionValue.HatchCVMSecretAction.$Properties);
81828
+
81829
+ /** Unknown fields preserved while decoding when enabled */
81830
+ $unknowns?: Uint8Array[];
81831
+
81832
+ /** HatchCVMSecretAction secret. */
81833
+ secret?: (Uint8Array|null);
81834
+
81835
+ /** HatchCVMSecretAction generation. */
81836
+ generation?: (number|Long|null);
81837
+
81838
+ /**
81839
+ * Creates a new HatchCVMSecretAction instance using the specified properties.
81840
+ * @param [properties] Properties to set
81841
+ * @returns HatchCVMSecretAction instance
81842
+ */
81843
+ static create(properties: waproto.SyncActionValue.HatchCVMSecretAction.$Shape): waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape;
81844
+ static create(properties?: waproto.SyncActionValue.HatchCVMSecretAction.$Properties): waproto.SyncActionValue.HatchCVMSecretAction;
81845
+
81846
+ /**
81847
+ * Encodes the specified HatchCVMSecretAction message. Does not implicitly {@link waproto.SyncActionValue.HatchCVMSecretAction.verify|verify} messages.
81848
+ * @param message HatchCVMSecretAction message or plain object to encode
81849
+ * @param [writer] Writer to encode to
81850
+ * @returns Writer
81851
+ */
81852
+ static encode(message: waproto.SyncActionValue.HatchCVMSecretAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
81853
+
81854
+ /**
81855
+ * Encodes the specified HatchCVMSecretAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.HatchCVMSecretAction.verify|verify} messages.
81856
+ * @param message HatchCVMSecretAction message or plain object to encode
81857
+ * @param [writer] Writer to encode to
81858
+ * @returns Writer
81859
+ */
81860
+ static encodeDelimited(message: waproto.SyncActionValue.HatchCVMSecretAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
81861
+
81862
+ /**
81863
+ * Decodes a HatchCVMSecretAction message from the specified reader or buffer.
81864
+ * @param reader Reader or buffer to decode from
81865
+ * @param [length] Message length if known beforehand
81866
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape} HatchCVMSecretAction
81867
+ * @throws {Error} If the payload is not a reader or valid buffer
81868
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
81869
+ */
81870
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape;
81871
+
81872
+ /**
81873
+ * Decodes a HatchCVMSecretAction message from the specified reader or buffer, length delimited.
81874
+ * @param reader Reader or buffer to decode from
81875
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape} HatchCVMSecretAction
81876
+ * @throws {Error} If the payload is not a reader or valid buffer
81877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
81878
+ */
81879
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape;
81880
+
81881
+ /**
81882
+ * Verifies a HatchCVMSecretAction message.
81883
+ * @param message Plain object to verify
81884
+ * @returns `null` if valid, otherwise the reason why it is not
81885
+ */
81886
+ static verify(message: { [k: string]: any }): (string|null);
81887
+
81888
+ /**
81889
+ * Creates a HatchCVMSecretAction message from a plain object. Also converts values to their respective internal types.
81890
+ * @param object Plain object
81891
+ * @returns HatchCVMSecretAction
81892
+ */
81893
+ static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.HatchCVMSecretAction;
81894
+
81895
+ /**
81896
+ * Creates a plain object from a HatchCVMSecretAction message. Also converts values to other types if specified.
81897
+ * @param message HatchCVMSecretAction
81898
+ * @param [options] Conversion options
81899
+ * @returns Plain object
81900
+ */
81901
+ static toObject(message: waproto.SyncActionValue.HatchCVMSecretAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
81902
+
81903
+ /**
81904
+ * Converts this HatchCVMSecretAction to JSON.
81905
+ * @returns JSON object
81906
+ */
81907
+ toJSON(): { [k: string]: any };
81908
+
81909
+ /**
81910
+ * Gets the type url for HatchCVMSecretAction
81911
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
81912
+ * @returns The type url
81913
+ */
81914
+ static getTypeUrl(prefix?: string): string;
81915
+ }
81916
+
81917
+ namespace HatchCVMSecretAction {
81918
+
81919
+ /** Properties of a HatchCVMSecretAction. */
81920
+ interface $Properties {
81921
+
81922
+ /** HatchCVMSecretAction secret */
81923
+ secret?: (Uint8Array|null);
81924
+
81925
+ /** HatchCVMSecretAction generation */
81926
+ generation?: (number|Long|null);
81927
+
81928
+ /** Unknown fields preserved while decoding when enabled */
81929
+ $unknowns?: Uint8Array[];
81930
+ }
81931
+
81932
+ /** Shape of a HatchCVMSecretAction. */
81933
+ type $Shape = waproto.SyncActionValue.HatchCVMSecretAction.$Properties;
81934
+ }
81935
+
81803
81936
  /**
81804
81937
  * Properties of an InteractiveMessageAction.
81805
81938
  * @deprecated Use waproto.SyncActionValue.InteractiveMessageAction.$Properties instead.
@@ -86530,6 +86663,9 @@ export namespace waproto {
86530
86663
  /** SettingsSyncAction stockWallpaperImageId. */
86531
86664
  stockWallpaperImageId?: (string|null);
86532
86665
 
86666
+ /** SettingsSyncAction mediaAutoDownloadQuality. */
86667
+ mediaAutoDownloadQuality?: (waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting|null);
86668
+
86533
86669
  /**
86534
86670
  * Creates a new SettingsSyncAction instance using the specified properties.
86535
86671
  * @param [properties] Properties to set
@@ -86716,6 +86852,9 @@ export namespace waproto {
86716
86852
  /** SettingsSyncAction stockWallpaperImageId */
86717
86853
  stockWallpaperImageId?: (string|null);
86718
86854
 
86855
+ /** SettingsSyncAction mediaAutoDownloadQuality */
86856
+ mediaAutoDownloadQuality?: (waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting|null);
86857
+
86719
86858
  /** Unknown fields preserved while decoding when enabled */
86720
86859
  $unknowns?: Uint8Array[];
86721
86860
  }
@@ -86739,6 +86878,22 @@ export namespace waproto {
86739
86878
  ONLY_WHEN_APP_IS_OPEN = 3
86740
86879
  }
86741
86880
 
86881
+ /** MediaAutoDownloadQualitySetting enum. */
86882
+ enum MediaAutoDownloadQualitySetting {
86883
+
86884
+ /** MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN value */
86885
+ MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN = 0,
86886
+
86887
+ /** MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD value */
86888
+ MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD = 1,
86889
+
86890
+ /** MEDIA_AUTO_DOWNLOAD_QUALITY_HD value */
86891
+ MEDIA_AUTO_DOWNLOAD_QUALITY_HD = 2,
86892
+
86893
+ /** MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO value */
86894
+ MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO = 3
86895
+ }
86896
+
86742
86897
  /** MediaQualitySetting enum. */
86743
86898
  enum MediaQualitySetting {
86744
86899
 
@@ -86858,7 +87013,10 @@ export namespace waproto {
86858
87013
  COLOR_SCHEME_ID = 33,
86859
87014
 
86860
87015
  /** STOCK_WALLPAPER_IMAGE_ID value */
86861
- STOCK_WALLPAPER_IMAGE_ID = 34
87016
+ STOCK_WALLPAPER_IMAGE_ID = 34,
87017
+
87018
+ /** MEDIA_AUTO_DOWNLOAD_QUALITY value */
87019
+ MEDIA_AUTO_DOWNLOAD_QUALITY = 35
86862
87020
  }
86863
87021
 
86864
87022
  /** SettingPlatform enum. */
package/dist/index.js CHANGED
@@ -199738,6 +199738,7 @@ $root.waproto = (function() {
199738
199738
  * @property {number} BB_PRO_PENDING_CUSTOMER_BASE_ACTION=98 BB_PRO_PENDING_CUSTOMER_BASE_ACTION value
199739
199739
  * @property {number} COMMUNITY_NESTING_STATE_ACTION=99 COMMUNITY_NESTING_STATE_ACTION value
199740
199740
  * @property {number} SHARED_DEVICE_SECRET_ACTION=100 SHARED_DEVICE_SECRET_ACTION value
199741
+ * @property {number} HATCH_CVM_SECRET_ACTION=101 HATCH_CVM_SECRET_ACTION value
199741
199742
  * @property {number} SHARE_OWN_PN=10001 SHARE_OWN_PN value
199742
199743
  * @property {number} BUSINESS_BROADCAST_ACTION=10002 BUSINESS_BROADCAST_ACTION value
199743
199744
  * @property {number} AI_THREAD_DELETE_ACTION=10003 AI_THREAD_DELETE_ACTION value
@@ -199838,6 +199839,7 @@ $root.waproto = (function() {
199838
199839
  values[valuesById[98] = "BB_PRO_PENDING_CUSTOMER_BASE_ACTION"] = 98;
199839
199840
  values[valuesById[99] = "COMMUNITY_NESTING_STATE_ACTION"] = 99;
199840
199841
  values[valuesById[100] = "SHARED_DEVICE_SECRET_ACTION"] = 100;
199842
+ values[valuesById[101] = "HATCH_CVM_SECRET_ACTION"] = 101;
199841
199843
  values[valuesById[10001] = "SHARE_OWN_PN"] = 10001;
199842
199844
  values[valuesById[10002] = "BUSINESS_BROADCAST_ACTION"] = 10002;
199843
199845
  values[valuesById[10003] = "AI_THREAD_DELETE_ACTION"] = 10003;
@@ -227939,6 +227941,7 @@ $root.waproto = (function() {
227939
227941
  * @property {waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null} [bbProPendingCustomerBaseAction] SyncActionValue bbProPendingCustomerBaseAction
227940
227942
  * @property {waproto.SyncActionValue.CommunityNestingStateAction.$Properties|null} [communityNestingStateAction] SyncActionValue communityNestingStateAction
227941
227943
  * @property {waproto.SyncActionValue.SharedDeviceSecretAction.$Properties|null} [sharedDeviceSecretAction] SyncActionValue sharedDeviceSecretAction
227944
+ * @property {waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null} [hatchCvmSecretAction] SyncActionValue hatchCvmSecretAction
227942
227945
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
227943
227946
  */
227944
227947
 
@@ -228044,6 +228047,7 @@ $root.waproto = (function() {
228044
228047
  * bbProPendingCustomerBaseAction?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape|null;
228045
228048
  * communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
228046
228049
  * sharedDeviceSecretAction?: waproto.SyncActionValue.SharedDeviceSecretAction.$Shape|null;
228050
+ * hatchCvmSecretAction?: waproto.SyncActionValue.HatchCVMSecretAction.$Shape|null;
228047
228051
  * $unknowns?: Array.<Uint8Array>;
228048
228052
  * }} waproto.SyncActionValue.$Shape
228049
228053
  */
@@ -228791,6 +228795,14 @@ $root.waproto = (function() {
228791
228795
  */
228792
228796
  SyncActionValue.prototype.sharedDeviceSecretAction = null;
228793
228797
 
228798
+ /**
228799
+ * SyncActionValue hatchCvmSecretAction.
228800
+ * @member {waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null|undefined} hatchCvmSecretAction
228801
+ * @memberof waproto.SyncActionValue
228802
+ * @instance
228803
+ */
228804
+ SyncActionValue.prototype.hatchCvmSecretAction = null;
228805
+
228794
228806
  // OneOf field names bound to virtual getters and setters
228795
228807
  var $oneOfFields;
228796
228808
 
@@ -229340,6 +229352,12 @@ $root.waproto = (function() {
229340
229352
  set: $util.oneOfSetter($oneOfFields)
229341
229353
  });
229342
229354
 
229355
+ // Virtual OneOf for proto3 optional field
229356
+ $Object.defineProperty(SyncActionValue.prototype, "_hatchCvmSecretAction", {
229357
+ get: $util.oneOfGetter($oneOfFields = ["hatchCvmSecretAction"]),
229358
+ set: $util.oneOfSetter($oneOfFields)
229359
+ });
229360
+
229343
229361
  /**
229344
229362
  * Creates a new SyncActionValue instance using the specified properties.
229345
229363
  * @function create
@@ -229554,6 +229572,8 @@ $root.waproto = (function() {
229554
229572
  $root.waproto.SyncActionValue.CommunityNestingStateAction.encode(message.communityNestingStateAction, writer.uint32(/* id 99, wireType 2 =*/794).fork(), _depth + 1).ldelim();
229555
229573
  if (message.sharedDeviceSecretAction != null && $Object.hasOwnProperty.call(message, "sharedDeviceSecretAction"))
229556
229574
  $root.waproto.SyncActionValue.SharedDeviceSecretAction.encode(message.sharedDeviceSecretAction, writer.uint32(/* id 100, wireType 2 =*/802).fork(), _depth + 1).ldelim();
229575
+ if (message.hatchCvmSecretAction != null && $Object.hasOwnProperty.call(message, "hatchCvmSecretAction"))
229576
+ $root.waproto.SyncActionValue.HatchCVMSecretAction.encode(message.hatchCvmSecretAction, writer.uint32(/* id 101, wireType 2 =*/810).fork(), _depth + 1).ldelim();
229557
229577
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
229558
229578
  for (var i = 0; i < message.$unknowns.length; ++i)
229559
229579
  writer.raw(message.$unknowns[i]);
@@ -230248,6 +230268,13 @@ $root.waproto = (function() {
230248
230268
  message._sharedDeviceSecretAction = "sharedDeviceSecretAction";
230249
230269
  continue;
230250
230270
  }
230271
+ case 101: {
230272
+ if (wireType !== 2)
230273
+ break;
230274
+ message.hatchCvmSecretAction = $root.waproto.SyncActionValue.HatchCVMSecretAction.decode(reader, reader.size(), $undefined, _depth + 1, message.hatchCvmSecretAction);
230275
+ message._hatchCvmSecretAction = "hatchCvmSecretAction";
230276
+ continue;
230277
+ }
230251
230278
  }
230252
230279
  reader.skipType(wireType, _depth, tag);
230253
230280
  if (!reader.discardUnknown) {
@@ -231022,6 +231049,14 @@ $root.waproto = (function() {
231022
231049
  return "sharedDeviceSecretAction." + error;
231023
231050
  }
231024
231051
  }
231052
+ if (message.hatchCvmSecretAction != null && $Object.hasOwnProperty.call(message, "hatchCvmSecretAction")) {
231053
+ properties._hatchCvmSecretAction = 1;
231054
+ {
231055
+ var error = $root.waproto.SyncActionValue.HatchCVMSecretAction.verify(message.hatchCvmSecretAction, _depth + 1);
231056
+ if (error)
231057
+ return "hatchCvmSecretAction." + error;
231058
+ }
231059
+ }
231025
231060
  return null;
231026
231061
  };
231027
231062
 
@@ -231502,6 +231537,11 @@ $root.waproto = (function() {
231502
231537
  throw $TypeError(".waproto.SyncActionValue.sharedDeviceSecretAction: object expected");
231503
231538
  message.sharedDeviceSecretAction = $root.waproto.SyncActionValue.SharedDeviceSecretAction.fromObject(object.sharedDeviceSecretAction, _depth + 1);
231504
231539
  }
231540
+ if (object.hatchCvmSecretAction != null) {
231541
+ if (!$util.isObject(object.hatchCvmSecretAction))
231542
+ throw $TypeError(".waproto.SyncActionValue.hatchCvmSecretAction: object expected");
231543
+ message.hatchCvmSecretAction = $root.waproto.SyncActionValue.HatchCVMSecretAction.fromObject(object.hatchCvmSecretAction, _depth + 1);
231544
+ }
231505
231545
  return message;
231506
231546
  };
231507
231547
 
@@ -231709,6 +231749,8 @@ $root.waproto = (function() {
231709
231749
  object.communityNestingStateAction = $root.waproto.SyncActionValue.CommunityNestingStateAction.toObject(message.communityNestingStateAction, options, _depth + 1);
231710
231750
  if (message.sharedDeviceSecretAction != null && $Object.hasOwnProperty.call(message, "sharedDeviceSecretAction"))
231711
231751
  object.sharedDeviceSecretAction = $root.waproto.SyncActionValue.SharedDeviceSecretAction.toObject(message.sharedDeviceSecretAction, options, _depth + 1);
231752
+ if (message.hatchCvmSecretAction != null && $Object.hasOwnProperty.call(message, "hatchCvmSecretAction"))
231753
+ object.hatchCvmSecretAction = $root.waproto.SyncActionValue.HatchCVMSecretAction.toObject(message.hatchCvmSecretAction, options, _depth + 1);
231712
231754
  return object;
231713
231755
  };
231714
231756
 
@@ -239055,15 +239097,15 @@ $root.waproto = (function() {
239055
239097
  throw $Error("max depth exceeded");
239056
239098
  var message = new $root.waproto.SyncActionValue.CommunityNestingStateAction();
239057
239099
  switch (object.nestingState) {
239058
- case "NESTING_STATE_UNKNOWN":
239100
+ case "PLATFORM_DEFAULT":
239059
239101
  case 0:
239060
239102
  message.nestingState = 0;
239061
239103
  break;
239062
- case "NESTING_STATE_NESTED":
239104
+ case "NESTED":
239063
239105
  case 1:
239064
239106
  message.nestingState = 1;
239065
239107
  break;
239066
- case "NESTING_STATE_UNNESTED":
239108
+ case "UNNESTED":
239067
239109
  case 2:
239068
239110
  message.nestingState = 2;
239069
239111
  break;
@@ -239125,15 +239167,15 @@ $root.waproto = (function() {
239125
239167
  * NestingState enum.
239126
239168
  * @name waproto.SyncActionValue.CommunityNestingStateAction.NestingState
239127
239169
  * @enum {number}
239128
- * @property {number} NESTING_STATE_UNKNOWN=0 NESTING_STATE_UNKNOWN value
239129
- * @property {number} NESTING_STATE_NESTED=1 NESTING_STATE_NESTED value
239130
- * @property {number} NESTING_STATE_UNNESTED=2 NESTING_STATE_UNNESTED value
239170
+ * @property {number} PLATFORM_DEFAULT=0 PLATFORM_DEFAULT value
239171
+ * @property {number} NESTED=1 NESTED value
239172
+ * @property {number} UNNESTED=2 UNNESTED value
239131
239173
  */
239132
239174
  CommunityNestingStateAction.NestingState = (function() {
239133
239175
  var valuesById = $Object.create(null), values = $Object.create(valuesById);
239134
- values[valuesById[0] = "NESTING_STATE_UNKNOWN"] = 0;
239135
- values[valuesById[1] = "NESTING_STATE_NESTED"] = 1;
239136
- values[valuesById[2] = "NESTING_STATE_UNNESTED"] = 2;
239176
+ values[valuesById[0] = "PLATFORM_DEFAULT"] = 0;
239177
+ values[valuesById[1] = "NESTED"] = 1;
239178
+ values[valuesById[2] = "UNNESTED"] = 2;
239137
239179
  return values;
239138
239180
  })();
239139
239181
 
@@ -244465,6 +244507,336 @@ $root.waproto = (function() {
244465
244507
  return GroupHistoryToggleAction;
244466
244508
  })();
244467
244509
 
244510
+ SyncActionValue.HatchCVMSecretAction = (function() {
244511
+
244512
+ /**
244513
+ * Properties of a HatchCVMSecretAction.
244514
+ * @typedef {Object} waproto.SyncActionValue.HatchCVMSecretAction.$Properties
244515
+ * @property {Uint8Array|null} [secret] HatchCVMSecretAction secret
244516
+ * @property {number|Long|null} [generation] HatchCVMSecretAction generation
244517
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
244518
+ */
244519
+
244520
+ /**
244521
+ * Properties of a HatchCVMSecretAction.
244522
+ * @memberof waproto.SyncActionValue
244523
+ * @interface IHatchCVMSecretAction
244524
+ * @augments waproto.SyncActionValue.HatchCVMSecretAction.$Properties
244525
+ * @deprecated Use waproto.SyncActionValue.HatchCVMSecretAction.$Properties instead.
244526
+ */
244527
+
244528
+ /**
244529
+ * Shape of a HatchCVMSecretAction.
244530
+ * @typedef {waproto.SyncActionValue.HatchCVMSecretAction.$Properties} waproto.SyncActionValue.HatchCVMSecretAction.$Shape
244531
+ */
244532
+
244533
+ /**
244534
+ * Constructs a new HatchCVMSecretAction.
244535
+ * @memberof waproto.SyncActionValue
244536
+ * @classdesc Represents a HatchCVMSecretAction.
244537
+ * @constructor
244538
+ * @param {waproto.SyncActionValue.HatchCVMSecretAction.$Properties=} [properties] Properties to set
244539
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
244540
+ */
244541
+ var HatchCVMSecretAction = function (properties) {
244542
+ if (properties)
244543
+ for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
244544
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
244545
+ this[keys[i]] = properties[keys[i]];
244546
+ };
244547
+
244548
+ /**
244549
+ * HatchCVMSecretAction secret.
244550
+ * @member {Uint8Array|null|undefined} secret
244551
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244552
+ * @instance
244553
+ */
244554
+ HatchCVMSecretAction.prototype.secret = null;
244555
+
244556
+ /**
244557
+ * HatchCVMSecretAction generation.
244558
+ * @member {number|Long|null|undefined} generation
244559
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244560
+ * @instance
244561
+ */
244562
+ HatchCVMSecretAction.prototype.generation = null;
244563
+
244564
+ // OneOf field names bound to virtual getters and setters
244565
+ var $oneOfFields;
244566
+
244567
+ // Virtual OneOf for proto3 optional field
244568
+ $Object.defineProperty(HatchCVMSecretAction.prototype, "_secret", {
244569
+ get: $util.oneOfGetter($oneOfFields = ["secret"]),
244570
+ set: $util.oneOfSetter($oneOfFields)
244571
+ });
244572
+
244573
+ // Virtual OneOf for proto3 optional field
244574
+ $Object.defineProperty(HatchCVMSecretAction.prototype, "_generation", {
244575
+ get: $util.oneOfGetter($oneOfFields = ["generation"]),
244576
+ set: $util.oneOfSetter($oneOfFields)
244577
+ });
244578
+
244579
+ /**
244580
+ * Creates a new HatchCVMSecretAction instance using the specified properties.
244581
+ * @function create
244582
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244583
+ * @static
244584
+ * @param {waproto.SyncActionValue.HatchCVMSecretAction.$Properties=} [properties] Properties to set
244585
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction} HatchCVMSecretAction instance
244586
+ * @type {{
244587
+ * (properties: waproto.SyncActionValue.HatchCVMSecretAction.$Shape): waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape;
244588
+ * (properties?: waproto.SyncActionValue.HatchCVMSecretAction.$Properties): waproto.SyncActionValue.HatchCVMSecretAction;
244589
+ * }}
244590
+ */
244591
+ HatchCVMSecretAction.create = function(properties) {
244592
+ return new HatchCVMSecretAction(properties);
244593
+ };
244594
+
244595
+ /**
244596
+ * Encodes the specified HatchCVMSecretAction message. Does not implicitly {@link waproto.SyncActionValue.HatchCVMSecretAction.verify|verify} messages.
244597
+ * @function encode
244598
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244599
+ * @static
244600
+ * @param {waproto.SyncActionValue.HatchCVMSecretAction.$Properties} message HatchCVMSecretAction message or plain object to encode
244601
+ * @param {$protobuf.Writer} [writer] Writer to encode to
244602
+ * @returns {$protobuf.Writer} Writer
244603
+ */
244604
+ HatchCVMSecretAction.encode = function (message, writer, _depth) {
244605
+ if (!writer)
244606
+ writer = $Writer.create();
244607
+ if (_depth === $undefined)
244608
+ _depth = 0;
244609
+ if (_depth > $util.recursionLimit)
244610
+ throw $Error("max depth exceeded");
244611
+ if (message.secret != null && $Object.hasOwnProperty.call(message, "secret"))
244612
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.secret);
244613
+ if (message.generation != null && $Object.hasOwnProperty.call(message, "generation"))
244614
+ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.generation);
244615
+ if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
244616
+ for (var i = 0; i < message.$unknowns.length; ++i)
244617
+ writer.raw(message.$unknowns[i]);
244618
+ return writer;
244619
+ };
244620
+
244621
+ /**
244622
+ * Encodes the specified HatchCVMSecretAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.HatchCVMSecretAction.verify|verify} messages.
244623
+ * @function encodeDelimited
244624
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244625
+ * @static
244626
+ * @param {waproto.SyncActionValue.HatchCVMSecretAction.$Properties} message HatchCVMSecretAction message or plain object to encode
244627
+ * @param {$protobuf.Writer} [writer] Writer to encode to
244628
+ * @returns {$protobuf.Writer} Writer
244629
+ */
244630
+ HatchCVMSecretAction.encodeDelimited = function(message, writer) {
244631
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
244632
+ };
244633
+
244634
+ /**
244635
+ * Decodes a HatchCVMSecretAction message from the specified reader or buffer.
244636
+ * @function decode
244637
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244638
+ * @static
244639
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
244640
+ * @param {number} [length] Message length if known beforehand
244641
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape} HatchCVMSecretAction
244642
+ * @throws {Error} If the payload is not a reader or valid buffer
244643
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
244644
+ */
244645
+ HatchCVMSecretAction.decode = function (reader, length, _end, _depth, _target) {
244646
+ if (!(reader instanceof $Reader))
244647
+ reader = $Reader.create(reader);
244648
+ if (_depth === $undefined)
244649
+ _depth = 0;
244650
+ if (_depth > $Reader.recursionLimit)
244651
+ throw $Error("max depth exceeded");
244652
+ var end, message;
244653
+ if (length === $undefined)
244654
+ end = reader.len;
244655
+ else {
244656
+ end = reader.pos + length;
244657
+ if (end > reader.len)
244658
+ throw $RangeError("index out of range");
244659
+ length = reader.len;
244660
+ reader.len = end;
244661
+ }
244662
+ message = _target || new $root.waproto.SyncActionValue.HatchCVMSecretAction();
244663
+ while (reader.pos < end) {
244664
+ var start = reader.pos;
244665
+ var tag = reader.tag();
244666
+ if (tag === _end) {
244667
+ _end = $undefined;
244668
+ break;
244669
+ }
244670
+ var wireType = tag & 7;
244671
+ switch (tag >>>= 3) {
244672
+ case 1: {
244673
+ if (wireType !== 2)
244674
+ break;
244675
+ message.secret = reader.bytes();
244676
+ message._secret = "secret";
244677
+ continue;
244678
+ }
244679
+ case 2: {
244680
+ if (wireType !== 0)
244681
+ break;
244682
+ message.generation = reader.int64();
244683
+ message._generation = "generation";
244684
+ continue;
244685
+ }
244686
+ }
244687
+ reader.skipType(wireType, _depth, tag);
244688
+ if (!reader.discardUnknown) {
244689
+ $util.makeProp(message, "$unknowns", false);
244690
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
244691
+ }
244692
+ }
244693
+ if (length !== $undefined) {
244694
+ if (reader.pos !== end)
244695
+ throw $RangeError("index out of range");
244696
+ reader.len = length;
244697
+ }
244698
+ if (_end !== $undefined)
244699
+ throw $Error("missing end group");
244700
+ return message;
244701
+ };
244702
+
244703
+ /**
244704
+ * Decodes a HatchCVMSecretAction message from the specified reader or buffer, length delimited.
244705
+ * @function decodeDelimited
244706
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244707
+ * @static
244708
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
244709
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction & waproto.SyncActionValue.HatchCVMSecretAction.$Shape} HatchCVMSecretAction
244710
+ * @throws {Error} If the payload is not a reader or valid buffer
244711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
244712
+ */
244713
+ HatchCVMSecretAction.decodeDelimited = function(reader) {
244714
+ if (!(reader instanceof $Reader))
244715
+ reader = new $Reader(reader);
244716
+ return this.decode(reader, reader.size());
244717
+ };
244718
+
244719
+ /**
244720
+ * Verifies a HatchCVMSecretAction message.
244721
+ * @function verify
244722
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244723
+ * @static
244724
+ * @param {Object.<string,*>} message Plain object to verify
244725
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
244726
+ */
244727
+ HatchCVMSecretAction.verify = function (message, _depth) {
244728
+ if (typeof message !== "object" || message === null)
244729
+ return "object expected";
244730
+ if (_depth === $undefined)
244731
+ _depth = 0;
244732
+ if (_depth > $util.recursionLimit)
244733
+ return "max depth exceeded";
244734
+ var properties = {};
244735
+ if (message.secret != null && $Object.hasOwnProperty.call(message, "secret")) {
244736
+ properties._secret = 1;
244737
+ if (!(message.secret && typeof message.secret.length === "number" || $util.isString(message.secret)))
244738
+ return "secret: buffer expected";
244739
+ }
244740
+ if (message.generation != null && $Object.hasOwnProperty.call(message, "generation")) {
244741
+ properties._generation = 1;
244742
+ if (!$util.isInteger(message.generation) && !(message.generation && $util.isInteger(message.generation.low) && $util.isInteger(message.generation.high)))
244743
+ return "generation: integer|Long expected";
244744
+ }
244745
+ return null;
244746
+ };
244747
+
244748
+ /**
244749
+ * Creates a HatchCVMSecretAction message from a plain object. Also converts values to their respective internal types.
244750
+ * @function fromObject
244751
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244752
+ * @static
244753
+ * @param {Object.<string,*>} object Plain object
244754
+ * @returns {waproto.SyncActionValue.HatchCVMSecretAction} HatchCVMSecretAction
244755
+ */
244756
+ HatchCVMSecretAction.fromObject = function (object, _depth) {
244757
+ if (object instanceof $root.waproto.SyncActionValue.HatchCVMSecretAction)
244758
+ return object;
244759
+ if (!$util.isObject(object))
244760
+ throw $TypeError(".waproto.SyncActionValue.HatchCVMSecretAction: object expected");
244761
+ if (_depth === $undefined)
244762
+ _depth = 0;
244763
+ if (_depth > $util.recursionLimit)
244764
+ throw $Error("max depth exceeded");
244765
+ var message = new $root.waproto.SyncActionValue.HatchCVMSecretAction();
244766
+ if (object.secret != null)
244767
+ if (typeof object.secret === "string")
244768
+ $util.base64.decode(object.secret, message.secret = $util.newBuffer($util.base64.length(object.secret)), 0);
244769
+ else if (object.secret.length >= 0)
244770
+ message.secret = object.secret;
244771
+ if (object.generation != null)
244772
+ if ($util.Long)
244773
+ message.generation = $util.Long.fromValue(object.generation, false);
244774
+ else if (typeof object.generation === "string")
244775
+ message.generation = $parseInt(object.generation, 10);
244776
+ else if (typeof object.generation === "number")
244777
+ message.generation = object.generation;
244778
+ else if (typeof object.generation === "object")
244779
+ message.generation = new $util.LongBits(object.generation.low >>> 0, object.generation.high >>> 0).toNumber();
244780
+ return message;
244781
+ };
244782
+
244783
+ /**
244784
+ * Creates a plain object from a HatchCVMSecretAction message. Also converts values to other types if specified.
244785
+ * @function toObject
244786
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244787
+ * @static
244788
+ * @param {waproto.SyncActionValue.HatchCVMSecretAction} message HatchCVMSecretAction
244789
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
244790
+ * @returns {Object.<string,*>} Plain object
244791
+ */
244792
+ HatchCVMSecretAction.toObject = function (message, options, _depth) {
244793
+ if (!options)
244794
+ options = {};
244795
+ if (_depth === $undefined)
244796
+ _depth = 0;
244797
+ if (_depth > $util.recursionLimit)
244798
+ throw $Error("max depth exceeded");
244799
+ var object = {};
244800
+ if (message.secret != null && $Object.hasOwnProperty.call(message, "secret"))
244801
+ object.secret = options.bytes === $String ? $util.base64.encode(message.secret, 0, message.secret.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.secret) : message.secret;
244802
+ if (message.generation != null && $Object.hasOwnProperty.call(message, "generation"))
244803
+ if (typeof $BigInt !== "undefined" && options.longs === $BigInt)
244804
+ object.generation = typeof message.generation === "number" ? $BigInt(message.generation) : $util.Long.fromBits(message.generation.low >>> 0, message.generation.high >>> 0, false).toBigInt();
244805
+ else if (typeof message.generation === "number")
244806
+ object.generation = options.longs === $String ? $String(message.generation) : message.generation;
244807
+ else
244808
+ object.generation = options.longs === $String ? $util.Long.prototype.toString.call(message.generation) : options.longs === $Number ? new $util.LongBits(message.generation.low >>> 0, message.generation.high >>> 0).toNumber() : message.generation;
244809
+ return object;
244810
+ };
244811
+
244812
+ /**
244813
+ * Converts this HatchCVMSecretAction to JSON.
244814
+ * @function toJSON
244815
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244816
+ * @instance
244817
+ * @returns {Object.<string,*>} JSON object
244818
+ */
244819
+ HatchCVMSecretAction.prototype.toJSON = function() {
244820
+ return HatchCVMSecretAction.toObject(this, $protobuf.util.toJSONOptions);
244821
+ };
244822
+
244823
+ /**
244824
+ * Gets the type url for HatchCVMSecretAction
244825
+ * @function getTypeUrl
244826
+ * @memberof waproto.SyncActionValue.HatchCVMSecretAction
244827
+ * @static
244828
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
244829
+ * @returns {string} The type url
244830
+ */
244831
+ HatchCVMSecretAction.getTypeUrl = function(prefix) {
244832
+ if (prefix === $undefined)
244833
+ prefix = "type.googleapis.com";
244834
+ return prefix + "/waproto.SyncActionValue.HatchCVMSecretAction";
244835
+ };
244836
+
244837
+ return HatchCVMSecretAction;
244838
+ })();
244839
+
244468
244840
  SyncActionValue.InteractiveMessageAction = (function() {
244469
244841
 
244470
244842
  /**
@@ -256461,6 +256833,7 @@ $root.waproto = (function() {
256461
256833
  * @property {string|null} [chatThemeId] SettingsSyncAction chatThemeId
256462
256834
  * @property {string|null} [colorSchemeId] SettingsSyncAction colorSchemeId
256463
256835
  * @property {string|null} [stockWallpaperImageId] SettingsSyncAction stockWallpaperImageId
256836
+ * @property {waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting|null} [mediaAutoDownloadQuality] SettingsSyncAction mediaAutoDownloadQuality
256464
256837
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
256465
256838
  */
256466
256839
 
@@ -256764,6 +257137,14 @@ $root.waproto = (function() {
256764
257137
  */
256765
257138
  SettingsSyncAction.prototype.stockWallpaperImageId = null;
256766
257139
 
257140
+ /**
257141
+ * SettingsSyncAction mediaAutoDownloadQuality.
257142
+ * @member {waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting|null|undefined} mediaAutoDownloadQuality
257143
+ * @memberof waproto.SyncActionValue.SettingsSyncAction
257144
+ * @instance
257145
+ */
257146
+ SettingsSyncAction.prototype.mediaAutoDownloadQuality = null;
257147
+
256767
257148
  // OneOf field names bound to virtual getters and setters
256768
257149
  var $oneOfFields;
256769
257150
 
@@ -256971,6 +257352,12 @@ $root.waproto = (function() {
256971
257352
  set: $util.oneOfSetter($oneOfFields)
256972
257353
  });
256973
257354
 
257355
+ // Virtual OneOf for proto3 optional field
257356
+ $Object.defineProperty(SettingsSyncAction.prototype, "_mediaAutoDownloadQuality", {
257357
+ get: $util.oneOfGetter($oneOfFields = ["mediaAutoDownloadQuality"]),
257358
+ set: $util.oneOfSetter($oneOfFields)
257359
+ });
257360
+
256974
257361
  /**
256975
257362
  * Creates a new SettingsSyncAction instance using the specified properties.
256976
257363
  * @function create
@@ -257071,6 +257458,8 @@ $root.waproto = (function() {
257071
257458
  writer.uint32(/* id 33, wireType 2 =*/266).string(message.colorSchemeId);
257072
257459
  if (message.stockWallpaperImageId != null && $Object.hasOwnProperty.call(message, "stockWallpaperImageId"))
257073
257460
  writer.uint32(/* id 34, wireType 2 =*/274).string(message.stockWallpaperImageId);
257461
+ if (message.mediaAutoDownloadQuality != null && $Object.hasOwnProperty.call(message, "mediaAutoDownloadQuality"))
257462
+ writer.uint32(/* id 35, wireType 0 =*/280).int32(message.mediaAutoDownloadQuality);
257074
257463
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
257075
257464
  for (var i = 0; i < message.$unknowns.length; ++i)
257076
257465
  writer.raw(message.$unknowns[i]);
@@ -257366,6 +257755,13 @@ $root.waproto = (function() {
257366
257755
  message._stockWallpaperImageId = "stockWallpaperImageId";
257367
257756
  continue;
257368
257757
  }
257758
+ case 35: {
257759
+ if (wireType !== 0)
257760
+ break;
257761
+ message.mediaAutoDownloadQuality = reader.int32();
257762
+ message._mediaAutoDownloadQuality = "mediaAutoDownloadQuality";
257763
+ continue;
257764
+ }
257369
257765
  }
257370
257766
  reader.skipType(wireType, _depth, tag);
257371
257767
  if (!reader.discardUnknown) {
@@ -257585,6 +257981,11 @@ $root.waproto = (function() {
257585
257981
  if (!$util.isString(message.stockWallpaperImageId))
257586
257982
  return "stockWallpaperImageId: string expected";
257587
257983
  }
257984
+ if (message.mediaAutoDownloadQuality != null && $Object.hasOwnProperty.call(message, "mediaAutoDownloadQuality")) {
257985
+ properties._mediaAutoDownloadQuality = 1;
257986
+ if (typeof message.mediaAutoDownloadQuality !== "number" || (message.mediaAutoDownloadQuality | 0) !== message.mediaAutoDownloadQuality)
257987
+ return "mediaAutoDownloadQuality: enum value expected";
257988
+ }
257588
257989
  return null;
257589
257990
  };
257590
257991
 
@@ -257727,6 +258128,27 @@ $root.waproto = (function() {
257727
258128
  message.colorSchemeId = $String(object.colorSchemeId);
257728
258129
  if (object.stockWallpaperImageId != null)
257729
258130
  message.stockWallpaperImageId = $String(object.stockWallpaperImageId);
258131
+ switch (object.mediaAutoDownloadQuality) {
258132
+ case "MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN":
258133
+ case 0:
258134
+ message.mediaAutoDownloadQuality = 0;
258135
+ break;
258136
+ case "MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD":
258137
+ case 1:
258138
+ message.mediaAutoDownloadQuality = 1;
258139
+ break;
258140
+ case "MEDIA_AUTO_DOWNLOAD_QUALITY_HD":
258141
+ case 2:
258142
+ message.mediaAutoDownloadQuality = 2;
258143
+ break;
258144
+ case "MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO":
258145
+ case 3:
258146
+ message.mediaAutoDownloadQuality = 3;
258147
+ break;
258148
+ default:
258149
+ if (typeof object.mediaAutoDownloadQuality === "number" && (object.mediaAutoDownloadQuality | 0) === object.mediaAutoDownloadQuality)
258150
+ message.mediaAutoDownloadQuality = object.mediaAutoDownloadQuality;
258151
+ }
257730
258152
  return message;
257731
258153
  };
257732
258154
 
@@ -257815,6 +258237,8 @@ $root.waproto = (function() {
257815
258237
  object.colorSchemeId = message.colorSchemeId;
257816
258238
  if (message.stockWallpaperImageId != null && $Object.hasOwnProperty.call(message, "stockWallpaperImageId"))
257817
258239
  object.stockWallpaperImageId = message.stockWallpaperImageId;
258240
+ if (message.mediaAutoDownloadQuality != null && $Object.hasOwnProperty.call(message, "mediaAutoDownloadQuality"))
258241
+ object.mediaAutoDownloadQuality = options.enums === $String ? $root.waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting[message.mediaAutoDownloadQuality] === $undefined ? message.mediaAutoDownloadQuality : $root.waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting[message.mediaAutoDownloadQuality] : message.mediaAutoDownloadQuality;
257818
258242
  return object;
257819
258243
  };
257820
258244
 
@@ -257861,6 +258285,24 @@ $root.waproto = (function() {
257861
258285
  return values;
257862
258286
  })();
257863
258287
 
258288
+ /**
258289
+ * MediaAutoDownloadQualitySetting enum.
258290
+ * @name waproto.SyncActionValue.SettingsSyncAction.MediaAutoDownloadQualitySetting
258291
+ * @enum {number}
258292
+ * @property {number} MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN=0 MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN value
258293
+ * @property {number} MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD=1 MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD value
258294
+ * @property {number} MEDIA_AUTO_DOWNLOAD_QUALITY_HD=2 MEDIA_AUTO_DOWNLOAD_QUALITY_HD value
258295
+ * @property {number} MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO=3 MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO value
258296
+ */
258297
+ SettingsSyncAction.MediaAutoDownloadQualitySetting = (function() {
258298
+ var valuesById = $Object.create(null), values = $Object.create(valuesById);
258299
+ values[valuesById[0] = "MEDIA_AUTO_DOWNLOAD_QUALITY_UNKNOWN"] = 0;
258300
+ values[valuesById[1] = "MEDIA_AUTO_DOWNLOAD_QUALITY_STANDARD"] = 1;
258301
+ values[valuesById[2] = "MEDIA_AUTO_DOWNLOAD_QUALITY_HD"] = 2;
258302
+ values[valuesById[3] = "MEDIA_AUTO_DOWNLOAD_QUALITY_AUTO"] = 3;
258303
+ return values;
258304
+ })();
258305
+
257864
258306
  /**
257865
258307
  * MediaQualitySetting enum.
257866
258308
  * @name waproto.SyncActionValue.SettingsSyncAction.MediaQualitySetting
@@ -257916,6 +258358,7 @@ $root.waproto = (function() {
257916
258358
  * @property {number} CHAT_THEME_ID=32 CHAT_THEME_ID value
257917
258359
  * @property {number} COLOR_SCHEME_ID=33 COLOR_SCHEME_ID value
257918
258360
  * @property {number} STOCK_WALLPAPER_IMAGE_ID=34 STOCK_WALLPAPER_IMAGE_ID value
258361
+ * @property {number} MEDIA_AUTO_DOWNLOAD_QUALITY=35 MEDIA_AUTO_DOWNLOAD_QUALITY value
257919
258362
  */
257920
258363
  SettingsSyncAction.SettingKey = (function() {
257921
258364
  var valuesById = $Object.create(null), values = $Object.create(valuesById);
@@ -257954,6 +258397,7 @@ $root.waproto = (function() {
257954
258397
  values[valuesById[32] = "CHAT_THEME_ID"] = 32;
257955
258398
  values[valuesById[33] = "COLOR_SCHEME_ID"] = 33;
257956
258399
  values[valuesById[34] = "STOCK_WALLPAPER_IMAGE_ID"] = 34;
258400
+ values[valuesById[35] = "MEDIA_AUTO_DOWNLOAD_QUALITY"] = 35;
257957
258401
  return values;
257958
258402
  })();
257959
258403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1052045173",
3
+ "version": "2.3000.1052070306",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {