@wppconnect/wa-proto 2.3000.1045589620 → 2.3000.1045601094

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.1045589620
4
+ /// WhatsApp Version: 2.3000.1045601094
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -5748,6 +5748,8 @@ enum MutationProps {
5748
5748
  LABEL_SUBLIST_ACTION = 91;
5749
5749
  DEVICE_CAPABILITIES_V2 = 92;
5750
5750
  CTWA_MESSAGE_RECEIVED_ACTION = 93;
5751
+ SHARED_DEVICE_ALLOWLIST_ACTION = 94;
5752
+ CONTACT_MANAGER_METADATA_ACTION = 95;
5751
5753
  SHARE_OWN_PN = 10001;
5752
5754
  BUSINESS_BROADCAST_ACTION = 10002;
5753
5755
  AI_THREAD_DELETE_ACTION = 10003;
@@ -6522,6 +6524,8 @@ message SyncActionValue {
6522
6524
  optional LabelSublistAction labelSublistAction = 91;
6523
6525
  optional DeviceCapabilities deviceCapabilitiesV2 = 92;
6524
6526
  optional CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
6527
+ optional SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
6528
+ optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
6525
6529
  message AgentAction {
6526
6530
  optional string name = 1;
6527
6531
  optional int32 deviceId = 2;
@@ -6652,6 +6656,10 @@ message SyncActionValue {
6652
6656
  optional string username = 6;
6653
6657
  }
6654
6658
 
6659
+ message ContactManagerMetadataAction {
6660
+ optional bool isHidden = 1;
6661
+ }
6662
+
6655
6663
  message CtwaMessageReceivedAction {
6656
6664
  optional bool isCtwaMessageReceived = 1;
6657
6665
  }
@@ -7052,6 +7060,10 @@ message SyncActionValue {
7052
7060
  }
7053
7061
  }
7054
7062
 
7063
+ message SharedDeviceAllowlistAction {
7064
+ optional bool allowed = 1;
7065
+ }
7066
+
7055
7067
  message StarAction {
7056
7068
  optional bool starred = 1;
7057
7069
  }
package/dist/index.d.ts CHANGED
@@ -81714,6 +81714,12 @@ export namespace waproto {
81714
81714
  /** CTWA_MESSAGE_RECEIVED_ACTION value */
81715
81715
  CTWA_MESSAGE_RECEIVED_ACTION = 93,
81716
81716
 
81717
+ /** SHARED_DEVICE_ALLOWLIST_ACTION value */
81718
+ SHARED_DEVICE_ALLOWLIST_ACTION = 94,
81719
+
81720
+ /** CONTACT_MANAGER_METADATA_ACTION value */
81721
+ CONTACT_MANAGER_METADATA_ACTION = 95,
81722
+
81717
81723
  /** SHARE_OWN_PN value */
81718
81724
  SHARE_OWN_PN = 10001,
81719
81725
 
@@ -92673,6 +92679,12 @@ export namespace waproto {
92673
92679
  /** SyncActionValue ctwaMessageReceivedAction. */
92674
92680
  ctwaMessageReceivedAction?: (waproto.SyncActionValue.CtwaMessageReceivedAction.$Properties|null);
92675
92681
 
92682
+ /** SyncActionValue sharedDeviceAllowlistAction. */
92683
+ sharedDeviceAllowlistAction?: (waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties|null);
92684
+
92685
+ /** SyncActionValue contactManagerMetadataAction. */
92686
+ contactManagerMetadataAction?: (waproto.SyncActionValue.ContactManagerMetadataAction.$Properties|null);
92687
+
92676
92688
  /**
92677
92689
  * Creates a new SyncActionValue instance using the specified properties.
92678
92690
  * @param [properties] Properties to set
@@ -93009,6 +93021,12 @@ export namespace waproto {
93009
93021
  /** SyncActionValue ctwaMessageReceivedAction */
93010
93022
  ctwaMessageReceivedAction?: (waproto.SyncActionValue.CtwaMessageReceivedAction.$Properties|null);
93011
93023
 
93024
+ /** SyncActionValue sharedDeviceAllowlistAction */
93025
+ sharedDeviceAllowlistAction?: (waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties|null);
93026
+
93027
+ /** SyncActionValue contactManagerMetadataAction */
93028
+ contactManagerMetadataAction?: (waproto.SyncActionValue.ContactManagerMetadataAction.$Properties|null);
93029
+
93012
93030
  /** Unknown fields preserved while decoding when enabled */
93013
93031
  $unknowns?: Uint8Array[];
93014
93032
  }
@@ -93099,6 +93117,8 @@ export namespace waproto {
93099
93117
  labelSublistAction?: waproto.SyncActionValue.LabelSublistAction.$Shape|null;
93100
93118
  deviceCapabilitiesV2?: waproto.DeviceCapabilities.$Shape|null;
93101
93119
  ctwaMessageReceivedAction?: waproto.SyncActionValue.CtwaMessageReceivedAction.$Shape|null;
93120
+ sharedDeviceAllowlistAction?: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape|null;
93121
+ contactManagerMetadataAction?: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape|null;
93102
93122
  $unknowns?: Uint8Array[];
93103
93123
  };
93104
93124
 
@@ -95673,6 +95693,123 @@ export namespace waproto {
95673
95693
  type $Shape = waproto.SyncActionValue.ContactAction.$Properties;
95674
95694
  }
95675
95695
 
95696
+ /**
95697
+ * Properties of a ContactManagerMetadataAction.
95698
+ * @deprecated Use waproto.SyncActionValue.ContactManagerMetadataAction.$Properties instead.
95699
+ */
95700
+ interface IContactManagerMetadataAction extends waproto.SyncActionValue.ContactManagerMetadataAction.$Properties {
95701
+ }
95702
+
95703
+ /** Represents a ContactManagerMetadataAction. */
95704
+ class ContactManagerMetadataAction {
95705
+
95706
+ /**
95707
+ * Constructs a new ContactManagerMetadataAction.
95708
+ * @param [properties] Properties to set
95709
+ */
95710
+ constructor(properties?: waproto.SyncActionValue.ContactManagerMetadataAction.$Properties);
95711
+
95712
+ /** Unknown fields preserved while decoding when enabled */
95713
+ $unknowns?: Uint8Array[];
95714
+
95715
+ /** ContactManagerMetadataAction isHidden. */
95716
+ isHidden?: (boolean|null);
95717
+
95718
+ /**
95719
+ * Creates a new ContactManagerMetadataAction instance using the specified properties.
95720
+ * @param [properties] Properties to set
95721
+ * @returns ContactManagerMetadataAction instance
95722
+ */
95723
+ static create(properties: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape): waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape;
95724
+ static create(properties?: waproto.SyncActionValue.ContactManagerMetadataAction.$Properties): waproto.SyncActionValue.ContactManagerMetadataAction;
95725
+
95726
+ /**
95727
+ * Encodes the specified ContactManagerMetadataAction message. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages.
95728
+ * @param message ContactManagerMetadataAction message or plain object to encode
95729
+ * @param [writer] Writer to encode to
95730
+ * @returns Writer
95731
+ */
95732
+ static encode(message: waproto.SyncActionValue.ContactManagerMetadataAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
95733
+
95734
+ /**
95735
+ * Encodes the specified ContactManagerMetadataAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages.
95736
+ * @param message ContactManagerMetadataAction message or plain object to encode
95737
+ * @param [writer] Writer to encode to
95738
+ * @returns Writer
95739
+ */
95740
+ static encodeDelimited(message: waproto.SyncActionValue.ContactManagerMetadataAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
95741
+
95742
+ /**
95743
+ * Decodes a ContactManagerMetadataAction message from the specified reader or buffer.
95744
+ * @param reader Reader or buffer to decode from
95745
+ * @param [length] Message length if known beforehand
95746
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape} ContactManagerMetadataAction
95747
+ * @throws {Error} If the payload is not a reader or valid buffer
95748
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
95749
+ */
95750
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape;
95751
+
95752
+ /**
95753
+ * Decodes a ContactManagerMetadataAction message from the specified reader or buffer, length delimited.
95754
+ * @param reader Reader or buffer to decode from
95755
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape} ContactManagerMetadataAction
95756
+ * @throws {Error} If the payload is not a reader or valid buffer
95757
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
95758
+ */
95759
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape;
95760
+
95761
+ /**
95762
+ * Verifies a ContactManagerMetadataAction message.
95763
+ * @param message Plain object to verify
95764
+ * @returns `null` if valid, otherwise the reason why it is not
95765
+ */
95766
+ static verify(message: { [k: string]: any }): (string|null);
95767
+
95768
+ /**
95769
+ * Creates a ContactManagerMetadataAction message from a plain object. Also converts values to their respective internal types.
95770
+ * @param object Plain object
95771
+ * @returns ContactManagerMetadataAction
95772
+ */
95773
+ static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ContactManagerMetadataAction;
95774
+
95775
+ /**
95776
+ * Creates a plain object from a ContactManagerMetadataAction message. Also converts values to other types if specified.
95777
+ * @param message ContactManagerMetadataAction
95778
+ * @param [options] Conversion options
95779
+ * @returns Plain object
95780
+ */
95781
+ static toObject(message: waproto.SyncActionValue.ContactManagerMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
95782
+
95783
+ /**
95784
+ * Converts this ContactManagerMetadataAction to JSON.
95785
+ * @returns JSON object
95786
+ */
95787
+ toJSON(): { [k: string]: any };
95788
+
95789
+ /**
95790
+ * Gets the type url for ContactManagerMetadataAction
95791
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
95792
+ * @returns The type url
95793
+ */
95794
+ static getTypeUrl(prefix?: string): string;
95795
+ }
95796
+
95797
+ namespace ContactManagerMetadataAction {
95798
+
95799
+ /** Properties of a ContactManagerMetadataAction. */
95800
+ interface $Properties {
95801
+
95802
+ /** ContactManagerMetadataAction isHidden */
95803
+ isHidden?: (boolean|null);
95804
+
95805
+ /** Unknown fields preserved while decoding when enabled */
95806
+ $unknowns?: Uint8Array[];
95807
+ }
95808
+
95809
+ /** Shape of a ContactManagerMetadataAction. */
95810
+ type $Shape = waproto.SyncActionValue.ContactManagerMetadataAction.$Properties;
95811
+ }
95812
+
95676
95813
  /**
95677
95814
  * Properties of a CtwaMessageReceivedAction.
95678
95815
  * @deprecated Use waproto.SyncActionValue.CtwaMessageReceivedAction.$Properties instead.
@@ -102356,6 +102493,123 @@ export namespace waproto {
102356
102493
  }
102357
102494
  }
102358
102495
 
102496
+ /**
102497
+ * Properties of a SharedDeviceAllowlistAction.
102498
+ * @deprecated Use waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties instead.
102499
+ */
102500
+ interface ISharedDeviceAllowlistAction extends waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties {
102501
+ }
102502
+
102503
+ /** Represents a SharedDeviceAllowlistAction. */
102504
+ class SharedDeviceAllowlistAction {
102505
+
102506
+ /**
102507
+ * Constructs a new SharedDeviceAllowlistAction.
102508
+ * @param [properties] Properties to set
102509
+ */
102510
+ constructor(properties?: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties);
102511
+
102512
+ /** Unknown fields preserved while decoding when enabled */
102513
+ $unknowns?: Uint8Array[];
102514
+
102515
+ /** SharedDeviceAllowlistAction allowed. */
102516
+ allowed?: (boolean|null);
102517
+
102518
+ /**
102519
+ * Creates a new SharedDeviceAllowlistAction instance using the specified properties.
102520
+ * @param [properties] Properties to set
102521
+ * @returns SharedDeviceAllowlistAction instance
102522
+ */
102523
+ static create(properties: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape): waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape;
102524
+ static create(properties?: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties): waproto.SyncActionValue.SharedDeviceAllowlistAction;
102525
+
102526
+ /**
102527
+ * Encodes the specified SharedDeviceAllowlistAction message. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages.
102528
+ * @param message SharedDeviceAllowlistAction message or plain object to encode
102529
+ * @param [writer] Writer to encode to
102530
+ * @returns Writer
102531
+ */
102532
+ static encode(message: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
102533
+
102534
+ /**
102535
+ * Encodes the specified SharedDeviceAllowlistAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages.
102536
+ * @param message SharedDeviceAllowlistAction message or plain object to encode
102537
+ * @param [writer] Writer to encode to
102538
+ * @returns Writer
102539
+ */
102540
+ static encodeDelimited(message: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
102541
+
102542
+ /**
102543
+ * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer.
102544
+ * @param reader Reader or buffer to decode from
102545
+ * @param [length] Message length if known beforehand
102546
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape} SharedDeviceAllowlistAction
102547
+ * @throws {Error} If the payload is not a reader or valid buffer
102548
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
102549
+ */
102550
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape;
102551
+
102552
+ /**
102553
+ * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer, length delimited.
102554
+ * @param reader Reader or buffer to decode from
102555
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape} SharedDeviceAllowlistAction
102556
+ * @throws {Error} If the payload is not a reader or valid buffer
102557
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
102558
+ */
102559
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape;
102560
+
102561
+ /**
102562
+ * Verifies a SharedDeviceAllowlistAction message.
102563
+ * @param message Plain object to verify
102564
+ * @returns `null` if valid, otherwise the reason why it is not
102565
+ */
102566
+ static verify(message: { [k: string]: any }): (string|null);
102567
+
102568
+ /**
102569
+ * Creates a SharedDeviceAllowlistAction message from a plain object. Also converts values to their respective internal types.
102570
+ * @param object Plain object
102571
+ * @returns SharedDeviceAllowlistAction
102572
+ */
102573
+ static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SharedDeviceAllowlistAction;
102574
+
102575
+ /**
102576
+ * Creates a plain object from a SharedDeviceAllowlistAction message. Also converts values to other types if specified.
102577
+ * @param message SharedDeviceAllowlistAction
102578
+ * @param [options] Conversion options
102579
+ * @returns Plain object
102580
+ */
102581
+ static toObject(message: waproto.SyncActionValue.SharedDeviceAllowlistAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
102582
+
102583
+ /**
102584
+ * Converts this SharedDeviceAllowlistAction to JSON.
102585
+ * @returns JSON object
102586
+ */
102587
+ toJSON(): { [k: string]: any };
102588
+
102589
+ /**
102590
+ * Gets the type url for SharedDeviceAllowlistAction
102591
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
102592
+ * @returns The type url
102593
+ */
102594
+ static getTypeUrl(prefix?: string): string;
102595
+ }
102596
+
102597
+ namespace SharedDeviceAllowlistAction {
102598
+
102599
+ /** Properties of a SharedDeviceAllowlistAction. */
102600
+ interface $Properties {
102601
+
102602
+ /** SharedDeviceAllowlistAction allowed */
102603
+ allowed?: (boolean|null);
102604
+
102605
+ /** Unknown fields preserved while decoding when enabled */
102606
+ $unknowns?: Uint8Array[];
102607
+ }
102608
+
102609
+ /** Shape of a SharedDeviceAllowlistAction. */
102610
+ type $Shape = waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties;
102611
+ }
102612
+
102359
102613
  /**
102360
102614
  * Properties of a StarAction.
102361
102615
  * @deprecated Use waproto.SyncActionValue.StarAction.$Properties instead.
package/dist/index.js CHANGED
@@ -233085,6 +233085,8 @@ $root.waproto = (function() {
233085
233085
  * @property {number} LABEL_SUBLIST_ACTION=91 LABEL_SUBLIST_ACTION value
233086
233086
  * @property {number} DEVICE_CAPABILITIES_V2=92 DEVICE_CAPABILITIES_V2 value
233087
233087
  * @property {number} CTWA_MESSAGE_RECEIVED_ACTION=93 CTWA_MESSAGE_RECEIVED_ACTION value
233088
+ * @property {number} SHARED_DEVICE_ALLOWLIST_ACTION=94 SHARED_DEVICE_ALLOWLIST_ACTION value
233089
+ * @property {number} CONTACT_MANAGER_METADATA_ACTION=95 CONTACT_MANAGER_METADATA_ACTION value
233088
233090
  * @property {number} SHARE_OWN_PN=10001 SHARE_OWN_PN value
233089
233091
  * @property {number} BUSINESS_BROADCAST_ACTION=10002 BUSINESS_BROADCAST_ACTION value
233090
233092
  * @property {number} AI_THREAD_DELETE_ACTION=10003 AI_THREAD_DELETE_ACTION value
@@ -233178,6 +233180,8 @@ $root.waproto = (function() {
233178
233180
  values[valuesById[91] = "LABEL_SUBLIST_ACTION"] = 91;
233179
233181
  values[valuesById[92] = "DEVICE_CAPABILITIES_V2"] = 92;
233180
233182
  values[valuesById[93] = "CTWA_MESSAGE_RECEIVED_ACTION"] = 93;
233183
+ values[valuesById[94] = "SHARED_DEVICE_ALLOWLIST_ACTION"] = 94;
233184
+ values[valuesById[95] = "CONTACT_MANAGER_METADATA_ACTION"] = 95;
233181
233185
  values[valuesById[10001] = "SHARE_OWN_PN"] = 10001;
233182
233186
  values[valuesById[10002] = "BUSINESS_BROADCAST_ACTION"] = 10002;
233183
233187
  values[valuesById[10003] = "AI_THREAD_DELETE_ACTION"] = 10003;
@@ -262614,6 +262618,8 @@ $root.waproto = (function() {
262614
262618
  * @property {waproto.SyncActionValue.LabelSublistAction.$Properties|null} [labelSublistAction] SyncActionValue labelSublistAction
262615
262619
  * @property {waproto.DeviceCapabilities.$Properties|null} [deviceCapabilitiesV2] SyncActionValue deviceCapabilitiesV2
262616
262620
  * @property {waproto.SyncActionValue.CtwaMessageReceivedAction.$Properties|null} [ctwaMessageReceivedAction] SyncActionValue ctwaMessageReceivedAction
262621
+ * @property {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties|null} [sharedDeviceAllowlistAction] SyncActionValue sharedDeviceAllowlistAction
262622
+ * @property {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties|null} [contactManagerMetadataAction] SyncActionValue contactManagerMetadataAction
262617
262623
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
262618
262624
  */
262619
262625
 
@@ -262712,6 +262718,8 @@ $root.waproto = (function() {
262712
262718
  * labelSublistAction?: waproto.SyncActionValue.LabelSublistAction.$Shape|null;
262713
262719
  * deviceCapabilitiesV2?: waproto.DeviceCapabilities.$Shape|null;
262714
262720
  * ctwaMessageReceivedAction?: waproto.SyncActionValue.CtwaMessageReceivedAction.$Shape|null;
262721
+ * sharedDeviceAllowlistAction?: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape|null;
262722
+ * contactManagerMetadataAction?: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape|null;
262715
262723
  * $unknowns?: Array.<Uint8Array>;
262716
262724
  * }} waproto.SyncActionValue.$Shape
262717
262725
  */
@@ -263403,6 +263411,22 @@ $root.waproto = (function() {
263403
263411
  */
263404
263412
  SyncActionValue.prototype.ctwaMessageReceivedAction = null;
263405
263413
 
263414
+ /**
263415
+ * SyncActionValue sharedDeviceAllowlistAction.
263416
+ * @member {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties|null|undefined} sharedDeviceAllowlistAction
263417
+ * @memberof waproto.SyncActionValue
263418
+ * @instance
263419
+ */
263420
+ SyncActionValue.prototype.sharedDeviceAllowlistAction = null;
263421
+
263422
+ /**
263423
+ * SyncActionValue contactManagerMetadataAction.
263424
+ * @member {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties|null|undefined} contactManagerMetadataAction
263425
+ * @memberof waproto.SyncActionValue
263426
+ * @instance
263427
+ */
263428
+ SyncActionValue.prototype.contactManagerMetadataAction = null;
263429
+
263406
263430
  // OneOf field names bound to virtual getters and setters
263407
263431
  var $oneOfFields;
263408
263432
 
@@ -263910,6 +263934,18 @@ $root.waproto = (function() {
263910
263934
  set: $util.oneOfSetter($oneOfFields)
263911
263935
  });
263912
263936
 
263937
+ // Virtual OneOf for proto3 optional field
263938
+ $Object.defineProperty(SyncActionValue.prototype, "_sharedDeviceAllowlistAction", {
263939
+ get: $util.oneOfGetter($oneOfFields = ["sharedDeviceAllowlistAction"]),
263940
+ set: $util.oneOfSetter($oneOfFields)
263941
+ });
263942
+
263943
+ // Virtual OneOf for proto3 optional field
263944
+ $Object.defineProperty(SyncActionValue.prototype, "_contactManagerMetadataAction", {
263945
+ get: $util.oneOfGetter($oneOfFields = ["contactManagerMetadataAction"]),
263946
+ set: $util.oneOfSetter($oneOfFields)
263947
+ });
263948
+
263913
263949
  /**
263914
263950
  * Creates a new SyncActionValue instance using the specified properties.
263915
263951
  * @function create
@@ -264110,6 +264146,10 @@ $root.waproto = (function() {
264110
264146
  $root.waproto.DeviceCapabilities.encode(message.deviceCapabilitiesV2, writer.uint32(/* id 92, wireType 2 =*/738).fork(), _depth + 1).ldelim();
264111
264147
  if (message.ctwaMessageReceivedAction != null && $Object.hasOwnProperty.call(message, "ctwaMessageReceivedAction"))
264112
264148
  $root.waproto.SyncActionValue.CtwaMessageReceivedAction.encode(message.ctwaMessageReceivedAction, writer.uint32(/* id 93, wireType 2 =*/746).fork(), _depth + 1).ldelim();
264149
+ if (message.sharedDeviceAllowlistAction != null && $Object.hasOwnProperty.call(message, "sharedDeviceAllowlistAction"))
264150
+ $root.waproto.SyncActionValue.SharedDeviceAllowlistAction.encode(message.sharedDeviceAllowlistAction, writer.uint32(/* id 94, wireType 2 =*/754).fork(), _depth + 1).ldelim();
264151
+ if (message.contactManagerMetadataAction != null && $Object.hasOwnProperty.call(message, "contactManagerMetadataAction"))
264152
+ $root.waproto.SyncActionValue.ContactManagerMetadataAction.encode(message.contactManagerMetadataAction, writer.uint32(/* id 95, wireType 2 =*/762).fork(), _depth + 1).ldelim();
264113
264153
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
264114
264154
  for (var i = 0; i < message.$unknowns.length; ++i)
264115
264155
  writer.raw(message.$unknowns[i]);
@@ -264745,6 +264785,20 @@ $root.waproto = (function() {
264745
264785
  message._ctwaMessageReceivedAction = "ctwaMessageReceivedAction";
264746
264786
  continue;
264747
264787
  }
264788
+ case 94: {
264789
+ if (wireType !== 2)
264790
+ break;
264791
+ message.sharedDeviceAllowlistAction = $root.waproto.SyncActionValue.SharedDeviceAllowlistAction.decode(reader, reader.uint32(), $undefined, _depth + 1, message.sharedDeviceAllowlistAction);
264792
+ message._sharedDeviceAllowlistAction = "sharedDeviceAllowlistAction";
264793
+ continue;
264794
+ }
264795
+ case 95: {
264796
+ if (wireType !== 2)
264797
+ break;
264798
+ message.contactManagerMetadataAction = $root.waproto.SyncActionValue.ContactManagerMetadataAction.decode(reader, reader.uint32(), $undefined, _depth + 1, message.contactManagerMetadataAction);
264799
+ message._contactManagerMetadataAction = "contactManagerMetadataAction";
264800
+ continue;
264801
+ }
264748
264802
  }
264749
264803
  reader.skipType(wireType, _depth, tag);
264750
264804
  if (!reader.discardUnknown) {
@@ -265458,6 +265512,22 @@ $root.waproto = (function() {
265458
265512
  return "ctwaMessageReceivedAction." + error;
265459
265513
  }
265460
265514
  }
265515
+ if (message.sharedDeviceAllowlistAction != null && $Object.hasOwnProperty.call(message, "sharedDeviceAllowlistAction")) {
265516
+ properties._sharedDeviceAllowlistAction = 1;
265517
+ {
265518
+ var error = $root.waproto.SyncActionValue.SharedDeviceAllowlistAction.verify(message.sharedDeviceAllowlistAction, _depth + 1);
265519
+ if (error)
265520
+ return "sharedDeviceAllowlistAction." + error;
265521
+ }
265522
+ }
265523
+ if (message.contactManagerMetadataAction != null && $Object.hasOwnProperty.call(message, "contactManagerMetadataAction")) {
265524
+ properties._contactManagerMetadataAction = 1;
265525
+ {
265526
+ var error = $root.waproto.SyncActionValue.ContactManagerMetadataAction.verify(message.contactManagerMetadataAction, _depth + 1);
265527
+ if (error)
265528
+ return "contactManagerMetadataAction." + error;
265529
+ }
265530
+ }
265461
265531
  return null;
265462
265532
  };
265463
265533
 
@@ -265903,6 +265973,16 @@ $root.waproto = (function() {
265903
265973
  throw $TypeError(".waproto.SyncActionValue.ctwaMessageReceivedAction: object expected");
265904
265974
  message.ctwaMessageReceivedAction = $root.waproto.SyncActionValue.CtwaMessageReceivedAction.fromObject(object.ctwaMessageReceivedAction, _depth + 1);
265905
265975
  }
265976
+ if (object.sharedDeviceAllowlistAction != null) {
265977
+ if (!$util.isObject(object.sharedDeviceAllowlistAction))
265978
+ throw $TypeError(".waproto.SyncActionValue.sharedDeviceAllowlistAction: object expected");
265979
+ message.sharedDeviceAllowlistAction = $root.waproto.SyncActionValue.SharedDeviceAllowlistAction.fromObject(object.sharedDeviceAllowlistAction, _depth + 1);
265980
+ }
265981
+ if (object.contactManagerMetadataAction != null) {
265982
+ if (!$util.isObject(object.contactManagerMetadataAction))
265983
+ throw $TypeError(".waproto.SyncActionValue.contactManagerMetadataAction: object expected");
265984
+ message.contactManagerMetadataAction = $root.waproto.SyncActionValue.ContactManagerMetadataAction.fromObject(object.contactManagerMetadataAction, _depth + 1);
265985
+ }
265906
265986
  return message;
265907
265987
  };
265908
265988
 
@@ -266096,6 +266176,10 @@ $root.waproto = (function() {
266096
266176
  object.deviceCapabilitiesV2 = $root.waproto.DeviceCapabilities.toObject(message.deviceCapabilitiesV2, options, _depth + 1);
266097
266177
  if (message.ctwaMessageReceivedAction != null && $Object.hasOwnProperty.call(message, "ctwaMessageReceivedAction"))
266098
266178
  object.ctwaMessageReceivedAction = $root.waproto.SyncActionValue.CtwaMessageReceivedAction.toObject(message.ctwaMessageReceivedAction, options, _depth + 1);
266179
+ if (message.sharedDeviceAllowlistAction != null && $Object.hasOwnProperty.call(message, "sharedDeviceAllowlistAction"))
266180
+ object.sharedDeviceAllowlistAction = $root.waproto.SyncActionValue.SharedDeviceAllowlistAction.toObject(message.sharedDeviceAllowlistAction, options, _depth + 1);
266181
+ if (message.contactManagerMetadataAction != null && $Object.hasOwnProperty.call(message, "contactManagerMetadataAction"))
266182
+ object.contactManagerMetadataAction = $root.waproto.SyncActionValue.ContactManagerMetadataAction.toObject(message.contactManagerMetadataAction, options, _depth + 1);
266099
266183
  return object;
266100
266184
  };
266101
266185
 
@@ -272658,6 +272742,273 @@ $root.waproto = (function() {
272658
272742
  return ContactAction;
272659
272743
  })();
272660
272744
 
272745
+ SyncActionValue.ContactManagerMetadataAction = (function() {
272746
+
272747
+ /**
272748
+ * Properties of a ContactManagerMetadataAction.
272749
+ * @typedef {Object} waproto.SyncActionValue.ContactManagerMetadataAction.$Properties
272750
+ * @property {boolean|null} [isHidden] ContactManagerMetadataAction isHidden
272751
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
272752
+ */
272753
+
272754
+ /**
272755
+ * Properties of a ContactManagerMetadataAction.
272756
+ * @memberof waproto.SyncActionValue
272757
+ * @interface IContactManagerMetadataAction
272758
+ * @augments waproto.SyncActionValue.ContactManagerMetadataAction.$Properties
272759
+ * @deprecated Use waproto.SyncActionValue.ContactManagerMetadataAction.$Properties instead.
272760
+ */
272761
+
272762
+ /**
272763
+ * Shape of a ContactManagerMetadataAction.
272764
+ * @typedef {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties} waproto.SyncActionValue.ContactManagerMetadataAction.$Shape
272765
+ */
272766
+
272767
+ /**
272768
+ * Constructs a new ContactManagerMetadataAction.
272769
+ * @memberof waproto.SyncActionValue
272770
+ * @classdesc Represents a ContactManagerMetadataAction.
272771
+ * @constructor
272772
+ * @param {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties=} [properties] Properties to set
272773
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
272774
+ */
272775
+ var ContactManagerMetadataAction = function (properties) {
272776
+ if (properties)
272777
+ for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
272778
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
272779
+ this[keys[i]] = properties[keys[i]];
272780
+ };
272781
+
272782
+ /**
272783
+ * ContactManagerMetadataAction isHidden.
272784
+ * @member {boolean|null|undefined} isHidden
272785
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272786
+ * @instance
272787
+ */
272788
+ ContactManagerMetadataAction.prototype.isHidden = null;
272789
+
272790
+ // OneOf field names bound to virtual getters and setters
272791
+ var $oneOfFields;
272792
+
272793
+ // Virtual OneOf for proto3 optional field
272794
+ $Object.defineProperty(ContactManagerMetadataAction.prototype, "_isHidden", {
272795
+ get: $util.oneOfGetter($oneOfFields = ["isHidden"]),
272796
+ set: $util.oneOfSetter($oneOfFields)
272797
+ });
272798
+
272799
+ /**
272800
+ * Creates a new ContactManagerMetadataAction instance using the specified properties.
272801
+ * @function create
272802
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272803
+ * @static
272804
+ * @param {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties=} [properties] Properties to set
272805
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction} ContactManagerMetadataAction instance
272806
+ * @type {{
272807
+ * (properties: waproto.SyncActionValue.ContactManagerMetadataAction.$Shape): waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape;
272808
+ * (properties?: waproto.SyncActionValue.ContactManagerMetadataAction.$Properties): waproto.SyncActionValue.ContactManagerMetadataAction;
272809
+ * }}
272810
+ */
272811
+ ContactManagerMetadataAction.create = function(properties) {
272812
+ return new ContactManagerMetadataAction(properties);
272813
+ };
272814
+
272815
+ /**
272816
+ * Encodes the specified ContactManagerMetadataAction message. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages.
272817
+ * @function encode
272818
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272819
+ * @static
272820
+ * @param {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties} message ContactManagerMetadataAction message or plain object to encode
272821
+ * @param {$protobuf.Writer} [writer] Writer to encode to
272822
+ * @returns {$protobuf.Writer} Writer
272823
+ */
272824
+ ContactManagerMetadataAction.encode = function (message, writer, _depth) {
272825
+ if (!writer)
272826
+ writer = $Writer.create();
272827
+ if (_depth === $undefined)
272828
+ _depth = 0;
272829
+ if (_depth > $util.recursionLimit)
272830
+ throw $Error("max depth exceeded");
272831
+ if (message.isHidden != null && $Object.hasOwnProperty.call(message, "isHidden"))
272832
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.isHidden);
272833
+ if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
272834
+ for (var i = 0; i < message.$unknowns.length; ++i)
272835
+ writer.raw(message.$unknowns[i]);
272836
+ return writer;
272837
+ };
272838
+
272839
+ /**
272840
+ * Encodes the specified ContactManagerMetadataAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages.
272841
+ * @function encodeDelimited
272842
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272843
+ * @static
272844
+ * @param {waproto.SyncActionValue.ContactManagerMetadataAction.$Properties} message ContactManagerMetadataAction message or plain object to encode
272845
+ * @param {$protobuf.Writer} [writer] Writer to encode to
272846
+ * @returns {$protobuf.Writer} Writer
272847
+ */
272848
+ ContactManagerMetadataAction.encodeDelimited = function(message, writer) {
272849
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
272850
+ };
272851
+
272852
+ /**
272853
+ * Decodes a ContactManagerMetadataAction message from the specified reader or buffer.
272854
+ * @function decode
272855
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272856
+ * @static
272857
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
272858
+ * @param {number} [length] Message length if known beforehand
272859
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape} ContactManagerMetadataAction
272860
+ * @throws {Error} If the payload is not a reader or valid buffer
272861
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
272862
+ */
272863
+ ContactManagerMetadataAction.decode = function (reader, length, _end, _depth, _target) {
272864
+ if (!(reader instanceof $Reader))
272865
+ reader = $Reader.create(reader);
272866
+ if (_depth === $undefined)
272867
+ _depth = 0;
272868
+ if (_depth > $Reader.recursionLimit)
272869
+ throw $Error("max depth exceeded");
272870
+ var end = length === $undefined ? reader.len : reader.pos + length, message = _target || new $root.waproto.SyncActionValue.ContactManagerMetadataAction();
272871
+ while (reader.pos < end) {
272872
+ var start = reader.pos;
272873
+ var tag = reader.tag();
272874
+ if (tag === _end) {
272875
+ _end = $undefined;
272876
+ break;
272877
+ }
272878
+ var wireType = tag & 7;
272879
+ switch (tag >>>= 3) {
272880
+ case 1: {
272881
+ if (wireType !== 0)
272882
+ break;
272883
+ message.isHidden = reader.bool();
272884
+ message._isHidden = "isHidden";
272885
+ continue;
272886
+ }
272887
+ }
272888
+ reader.skipType(wireType, _depth, tag);
272889
+ if (!reader.discardUnknown) {
272890
+ $util.makeProp(message, "$unknowns", false);
272891
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
272892
+ }
272893
+ }
272894
+ if (_end !== $undefined)
272895
+ throw $Error("missing end group");
272896
+ return message;
272897
+ };
272898
+
272899
+ /**
272900
+ * Decodes a ContactManagerMetadataAction message from the specified reader or buffer, length delimited.
272901
+ * @function decodeDelimited
272902
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272903
+ * @static
272904
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
272905
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction & waproto.SyncActionValue.ContactManagerMetadataAction.$Shape} ContactManagerMetadataAction
272906
+ * @throws {Error} If the payload is not a reader or valid buffer
272907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
272908
+ */
272909
+ ContactManagerMetadataAction.decodeDelimited = function(reader) {
272910
+ if (!(reader instanceof $Reader))
272911
+ reader = new $Reader(reader);
272912
+ return this.decode(reader, reader.uint32());
272913
+ };
272914
+
272915
+ /**
272916
+ * Verifies a ContactManagerMetadataAction message.
272917
+ * @function verify
272918
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272919
+ * @static
272920
+ * @param {Object.<string,*>} message Plain object to verify
272921
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
272922
+ */
272923
+ ContactManagerMetadataAction.verify = function (message, _depth) {
272924
+ if (typeof message !== "object" || message === null)
272925
+ return "object expected";
272926
+ if (_depth === $undefined)
272927
+ _depth = 0;
272928
+ if (_depth > $util.recursionLimit)
272929
+ return "max depth exceeded";
272930
+ var properties = {};
272931
+ if (message.isHidden != null && $Object.hasOwnProperty.call(message, "isHidden")) {
272932
+ properties._isHidden = 1;
272933
+ if (typeof message.isHidden !== "boolean")
272934
+ return "isHidden: boolean expected";
272935
+ }
272936
+ return null;
272937
+ };
272938
+
272939
+ /**
272940
+ * Creates a ContactManagerMetadataAction message from a plain object. Also converts values to their respective internal types.
272941
+ * @function fromObject
272942
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272943
+ * @static
272944
+ * @param {Object.<string,*>} object Plain object
272945
+ * @returns {waproto.SyncActionValue.ContactManagerMetadataAction} ContactManagerMetadataAction
272946
+ */
272947
+ ContactManagerMetadataAction.fromObject = function (object, _depth) {
272948
+ if (object instanceof $root.waproto.SyncActionValue.ContactManagerMetadataAction)
272949
+ return object;
272950
+ if (!$util.isObject(object))
272951
+ throw $TypeError(".waproto.SyncActionValue.ContactManagerMetadataAction: object expected");
272952
+ if (_depth === $undefined)
272953
+ _depth = 0;
272954
+ if (_depth > $util.recursionLimit)
272955
+ throw $Error("max depth exceeded");
272956
+ var message = new $root.waproto.SyncActionValue.ContactManagerMetadataAction();
272957
+ if (object.isHidden != null)
272958
+ message.isHidden = $Boolean(object.isHidden);
272959
+ return message;
272960
+ };
272961
+
272962
+ /**
272963
+ * Creates a plain object from a ContactManagerMetadataAction message. Also converts values to other types if specified.
272964
+ * @function toObject
272965
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272966
+ * @static
272967
+ * @param {waproto.SyncActionValue.ContactManagerMetadataAction} message ContactManagerMetadataAction
272968
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
272969
+ * @returns {Object.<string,*>} Plain object
272970
+ */
272971
+ ContactManagerMetadataAction.toObject = function (message, options, _depth) {
272972
+ if (!options)
272973
+ options = {};
272974
+ if (_depth === $undefined)
272975
+ _depth = 0;
272976
+ if (_depth > $util.recursionLimit)
272977
+ throw $Error("max depth exceeded");
272978
+ var object = {};
272979
+ if (message.isHidden != null && $Object.hasOwnProperty.call(message, "isHidden"))
272980
+ object.isHidden = message.isHidden;
272981
+ return object;
272982
+ };
272983
+
272984
+ /**
272985
+ * Converts this ContactManagerMetadataAction to JSON.
272986
+ * @function toJSON
272987
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272988
+ * @instance
272989
+ * @returns {Object.<string,*>} JSON object
272990
+ */
272991
+ ContactManagerMetadataAction.prototype.toJSON = function() {
272992
+ return ContactManagerMetadataAction.toObject(this, $protobuf.util.toJSONOptions);
272993
+ };
272994
+
272995
+ /**
272996
+ * Gets the type url for ContactManagerMetadataAction
272997
+ * @function getTypeUrl
272998
+ * @memberof waproto.SyncActionValue.ContactManagerMetadataAction
272999
+ * @static
273000
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
273001
+ * @returns {string} The type url
273002
+ */
273003
+ ContactManagerMetadataAction.getTypeUrl = function(prefix) {
273004
+ if (prefix === $undefined)
273005
+ prefix = "type.googleapis.com";
273006
+ return prefix + "/waproto.SyncActionValue.ContactManagerMetadataAction";
273007
+ };
273008
+
273009
+ return ContactManagerMetadataAction;
273010
+ })();
273011
+
272661
273012
  SyncActionValue.CtwaMessageReceivedAction = (function() {
272662
273013
 
272663
273014
  /**
@@ -289616,6 +289967,273 @@ $root.waproto = (function() {
289616
289967
  return SettingsSyncAction;
289617
289968
  })();
289618
289969
 
289970
+ SyncActionValue.SharedDeviceAllowlistAction = (function() {
289971
+
289972
+ /**
289973
+ * Properties of a SharedDeviceAllowlistAction.
289974
+ * @typedef {Object} waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties
289975
+ * @property {boolean|null} [allowed] SharedDeviceAllowlistAction allowed
289976
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
289977
+ */
289978
+
289979
+ /**
289980
+ * Properties of a SharedDeviceAllowlistAction.
289981
+ * @memberof waproto.SyncActionValue
289982
+ * @interface ISharedDeviceAllowlistAction
289983
+ * @augments waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties
289984
+ * @deprecated Use waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties instead.
289985
+ */
289986
+
289987
+ /**
289988
+ * Shape of a SharedDeviceAllowlistAction.
289989
+ * @typedef {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties} waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape
289990
+ */
289991
+
289992
+ /**
289993
+ * Constructs a new SharedDeviceAllowlistAction.
289994
+ * @memberof waproto.SyncActionValue
289995
+ * @classdesc Represents a SharedDeviceAllowlistAction.
289996
+ * @constructor
289997
+ * @param {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties=} [properties] Properties to set
289998
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
289999
+ */
290000
+ var SharedDeviceAllowlistAction = function (properties) {
290001
+ if (properties)
290002
+ for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i)
290003
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
290004
+ this[keys[i]] = properties[keys[i]];
290005
+ };
290006
+
290007
+ /**
290008
+ * SharedDeviceAllowlistAction allowed.
290009
+ * @member {boolean|null|undefined} allowed
290010
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290011
+ * @instance
290012
+ */
290013
+ SharedDeviceAllowlistAction.prototype.allowed = null;
290014
+
290015
+ // OneOf field names bound to virtual getters and setters
290016
+ var $oneOfFields;
290017
+
290018
+ // Virtual OneOf for proto3 optional field
290019
+ $Object.defineProperty(SharedDeviceAllowlistAction.prototype, "_allowed", {
290020
+ get: $util.oneOfGetter($oneOfFields = ["allowed"]),
290021
+ set: $util.oneOfSetter($oneOfFields)
290022
+ });
290023
+
290024
+ /**
290025
+ * Creates a new SharedDeviceAllowlistAction instance using the specified properties.
290026
+ * @function create
290027
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290028
+ * @static
290029
+ * @param {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties=} [properties] Properties to set
290030
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction} SharedDeviceAllowlistAction instance
290031
+ * @type {{
290032
+ * (properties: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape): waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape;
290033
+ * (properties?: waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties): waproto.SyncActionValue.SharedDeviceAllowlistAction;
290034
+ * }}
290035
+ */
290036
+ SharedDeviceAllowlistAction.create = function(properties) {
290037
+ return new SharedDeviceAllowlistAction(properties);
290038
+ };
290039
+
290040
+ /**
290041
+ * Encodes the specified SharedDeviceAllowlistAction message. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages.
290042
+ * @function encode
290043
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290044
+ * @static
290045
+ * @param {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties} message SharedDeviceAllowlistAction message or plain object to encode
290046
+ * @param {$protobuf.Writer} [writer] Writer to encode to
290047
+ * @returns {$protobuf.Writer} Writer
290048
+ */
290049
+ SharedDeviceAllowlistAction.encode = function (message, writer, _depth) {
290050
+ if (!writer)
290051
+ writer = $Writer.create();
290052
+ if (_depth === $undefined)
290053
+ _depth = 0;
290054
+ if (_depth > $util.recursionLimit)
290055
+ throw $Error("max depth exceeded");
290056
+ if (message.allowed != null && $Object.hasOwnProperty.call(message, "allowed"))
290057
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.allowed);
290058
+ if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
290059
+ for (var i = 0; i < message.$unknowns.length; ++i)
290060
+ writer.raw(message.$unknowns[i]);
290061
+ return writer;
290062
+ };
290063
+
290064
+ /**
290065
+ * Encodes the specified SharedDeviceAllowlistAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages.
290066
+ * @function encodeDelimited
290067
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290068
+ * @static
290069
+ * @param {waproto.SyncActionValue.SharedDeviceAllowlistAction.$Properties} message SharedDeviceAllowlistAction message or plain object to encode
290070
+ * @param {$protobuf.Writer} [writer] Writer to encode to
290071
+ * @returns {$protobuf.Writer} Writer
290072
+ */
290073
+ SharedDeviceAllowlistAction.encodeDelimited = function(message, writer) {
290074
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
290075
+ };
290076
+
290077
+ /**
290078
+ * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer.
290079
+ * @function decode
290080
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290081
+ * @static
290082
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
290083
+ * @param {number} [length] Message length if known beforehand
290084
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape} SharedDeviceAllowlistAction
290085
+ * @throws {Error} If the payload is not a reader or valid buffer
290086
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
290087
+ */
290088
+ SharedDeviceAllowlistAction.decode = function (reader, length, _end, _depth, _target) {
290089
+ if (!(reader instanceof $Reader))
290090
+ reader = $Reader.create(reader);
290091
+ if (_depth === $undefined)
290092
+ _depth = 0;
290093
+ if (_depth > $Reader.recursionLimit)
290094
+ throw $Error("max depth exceeded");
290095
+ var end = length === $undefined ? reader.len : reader.pos + length, message = _target || new $root.waproto.SyncActionValue.SharedDeviceAllowlistAction();
290096
+ while (reader.pos < end) {
290097
+ var start = reader.pos;
290098
+ var tag = reader.tag();
290099
+ if (tag === _end) {
290100
+ _end = $undefined;
290101
+ break;
290102
+ }
290103
+ var wireType = tag & 7;
290104
+ switch (tag >>>= 3) {
290105
+ case 1: {
290106
+ if (wireType !== 0)
290107
+ break;
290108
+ message.allowed = reader.bool();
290109
+ message._allowed = "allowed";
290110
+ continue;
290111
+ }
290112
+ }
290113
+ reader.skipType(wireType, _depth, tag);
290114
+ if (!reader.discardUnknown) {
290115
+ $util.makeProp(message, "$unknowns", false);
290116
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
290117
+ }
290118
+ }
290119
+ if (_end !== $undefined)
290120
+ throw $Error("missing end group");
290121
+ return message;
290122
+ };
290123
+
290124
+ /**
290125
+ * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer, length delimited.
290126
+ * @function decodeDelimited
290127
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290128
+ * @static
290129
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
290130
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction & waproto.SyncActionValue.SharedDeviceAllowlistAction.$Shape} SharedDeviceAllowlistAction
290131
+ * @throws {Error} If the payload is not a reader or valid buffer
290132
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
290133
+ */
290134
+ SharedDeviceAllowlistAction.decodeDelimited = function(reader) {
290135
+ if (!(reader instanceof $Reader))
290136
+ reader = new $Reader(reader);
290137
+ return this.decode(reader, reader.uint32());
290138
+ };
290139
+
290140
+ /**
290141
+ * Verifies a SharedDeviceAllowlistAction message.
290142
+ * @function verify
290143
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290144
+ * @static
290145
+ * @param {Object.<string,*>} message Plain object to verify
290146
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
290147
+ */
290148
+ SharedDeviceAllowlistAction.verify = function (message, _depth) {
290149
+ if (typeof message !== "object" || message === null)
290150
+ return "object expected";
290151
+ if (_depth === $undefined)
290152
+ _depth = 0;
290153
+ if (_depth > $util.recursionLimit)
290154
+ return "max depth exceeded";
290155
+ var properties = {};
290156
+ if (message.allowed != null && $Object.hasOwnProperty.call(message, "allowed")) {
290157
+ properties._allowed = 1;
290158
+ if (typeof message.allowed !== "boolean")
290159
+ return "allowed: boolean expected";
290160
+ }
290161
+ return null;
290162
+ };
290163
+
290164
+ /**
290165
+ * Creates a SharedDeviceAllowlistAction message from a plain object. Also converts values to their respective internal types.
290166
+ * @function fromObject
290167
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290168
+ * @static
290169
+ * @param {Object.<string,*>} object Plain object
290170
+ * @returns {waproto.SyncActionValue.SharedDeviceAllowlistAction} SharedDeviceAllowlistAction
290171
+ */
290172
+ SharedDeviceAllowlistAction.fromObject = function (object, _depth) {
290173
+ if (object instanceof $root.waproto.SyncActionValue.SharedDeviceAllowlistAction)
290174
+ return object;
290175
+ if (!$util.isObject(object))
290176
+ throw $TypeError(".waproto.SyncActionValue.SharedDeviceAllowlistAction: object expected");
290177
+ if (_depth === $undefined)
290178
+ _depth = 0;
290179
+ if (_depth > $util.recursionLimit)
290180
+ throw $Error("max depth exceeded");
290181
+ var message = new $root.waproto.SyncActionValue.SharedDeviceAllowlistAction();
290182
+ if (object.allowed != null)
290183
+ message.allowed = $Boolean(object.allowed);
290184
+ return message;
290185
+ };
290186
+
290187
+ /**
290188
+ * Creates a plain object from a SharedDeviceAllowlistAction message. Also converts values to other types if specified.
290189
+ * @function toObject
290190
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290191
+ * @static
290192
+ * @param {waproto.SyncActionValue.SharedDeviceAllowlistAction} message SharedDeviceAllowlistAction
290193
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
290194
+ * @returns {Object.<string,*>} Plain object
290195
+ */
290196
+ SharedDeviceAllowlistAction.toObject = function (message, options, _depth) {
290197
+ if (!options)
290198
+ options = {};
290199
+ if (_depth === $undefined)
290200
+ _depth = 0;
290201
+ if (_depth > $util.recursionLimit)
290202
+ throw $Error("max depth exceeded");
290203
+ var object = {};
290204
+ if (message.allowed != null && $Object.hasOwnProperty.call(message, "allowed"))
290205
+ object.allowed = message.allowed;
290206
+ return object;
290207
+ };
290208
+
290209
+ /**
290210
+ * Converts this SharedDeviceAllowlistAction to JSON.
290211
+ * @function toJSON
290212
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290213
+ * @instance
290214
+ * @returns {Object.<string,*>} JSON object
290215
+ */
290216
+ SharedDeviceAllowlistAction.prototype.toJSON = function() {
290217
+ return SharedDeviceAllowlistAction.toObject(this, $protobuf.util.toJSONOptions);
290218
+ };
290219
+
290220
+ /**
290221
+ * Gets the type url for SharedDeviceAllowlistAction
290222
+ * @function getTypeUrl
290223
+ * @memberof waproto.SyncActionValue.SharedDeviceAllowlistAction
290224
+ * @static
290225
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
290226
+ * @returns {string} The type url
290227
+ */
290228
+ SharedDeviceAllowlistAction.getTypeUrl = function(prefix) {
290229
+ if (prefix === $undefined)
290230
+ prefix = "type.googleapis.com";
290231
+ return prefix + "/waproto.SyncActionValue.SharedDeviceAllowlistAction";
290232
+ };
290233
+
290234
+ return SharedDeviceAllowlistAction;
290235
+ })();
290236
+
289619
290237
  SyncActionValue.StarAction = (function() {
289620
290238
 
289621
290239
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1045589620",
3
+ "version": "2.3000.1045601094",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {