@itsliaaa/baileys 0.1.5 → 0.1.7

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/index.js CHANGED
@@ -6758,6 +6758,10 @@ export const proto = $root.proto = (() => {
6758
6758
  case 58:
6759
6759
  m.capabilities[i] = 58;
6760
6760
  break;
6761
+ case "AI_TAB_FORCE_CLIPPY":
6762
+ case 59:
6763
+ m.capabilities[i] = 59;
6764
+ break;
6761
6765
  }
6762
6766
  }
6763
6767
  }
@@ -6852,6 +6856,7 @@ export const proto = $root.proto = (() => {
6852
6856
  values[valuesById[56] = "RICH_RESPONSE_INLINE_LINKS_ENABLED"] = 56;
6853
6857
  values[valuesById[57] = "RICH_RESPONSE_UR_IMAGINE_VIDEO"] = 57;
6854
6858
  values[valuesById[58] = "JSON_PATCH_STREAMING"] = 58;
6859
+ values[valuesById[59] = "AI_TAB_FORCE_CLIPPY"] = 59;
6855
6860
  return values;
6856
6861
  })();
6857
6862
 
@@ -17529,10 +17534,32 @@ export const proto = $root.proto = (() => {
17529
17534
  this[ks[i]] = p[ks[i]];
17530
17535
  }
17531
17536
 
17532
- Citation.prototype.title = "";
17533
- Citation.prototype.subtitle = "";
17534
- Citation.prototype.cmsId = "";
17535
- Citation.prototype.imageUrl = "";
17537
+ Citation.prototype.title = null;
17538
+ Citation.prototype.subtitle = null;
17539
+ Citation.prototype.cmsId = null;
17540
+ Citation.prototype.imageUrl = null;
17541
+
17542
+ let $oneOfFields;
17543
+
17544
+ Object.defineProperty(Citation.prototype, "_title", {
17545
+ get: $util.oneOfGetter($oneOfFields = ["title"]),
17546
+ set: $util.oneOfSetter($oneOfFields)
17547
+ });
17548
+
17549
+ Object.defineProperty(Citation.prototype, "_subtitle", {
17550
+ get: $util.oneOfGetter($oneOfFields = ["subtitle"]),
17551
+ set: $util.oneOfSetter($oneOfFields)
17552
+ });
17553
+
17554
+ Object.defineProperty(Citation.prototype, "_cmsId", {
17555
+ get: $util.oneOfGetter($oneOfFields = ["cmsId"]),
17556
+ set: $util.oneOfSetter($oneOfFields)
17557
+ });
17558
+
17559
+ Object.defineProperty(Citation.prototype, "_imageUrl", {
17560
+ get: $util.oneOfGetter($oneOfFields = ["imageUrl"]),
17561
+ set: $util.oneOfSetter($oneOfFields)
17562
+ });
17536
17563
 
17537
17564
  Citation.create = function create(properties) {
17538
17565
  return new Citation(properties);
@@ -17608,23 +17635,25 @@ export const proto = $root.proto = (() => {
17608
17635
  if (!o)
17609
17636
  o = {};
17610
17637
  var d = {};
17611
- if (o.defaults) {
17612
- d.title = "";
17613
- d.subtitle = "";
17614
- d.cmsId = "";
17615
- d.imageUrl = "";
17616
- }
17617
17638
  if (m.title != null && m.hasOwnProperty("title")) {
17618
17639
  d.title = m.title;
17640
+ if (o.oneofs)
17641
+ d._title = "title";
17619
17642
  }
17620
17643
  if (m.subtitle != null && m.hasOwnProperty("subtitle")) {
17621
17644
  d.subtitle = m.subtitle;
17645
+ if (o.oneofs)
17646
+ d._subtitle = "subtitle";
17622
17647
  }
17623
17648
  if (m.cmsId != null && m.hasOwnProperty("cmsId")) {
17624
17649
  d.cmsId = m.cmsId;
17650
+ if (o.oneofs)
17651
+ d._cmsId = "cmsId";
17625
17652
  }
17626
17653
  if (m.imageUrl != null && m.hasOwnProperty("imageUrl")) {
17627
17654
  d.imageUrl = m.imageUrl;
17655
+ if (o.oneofs)
17656
+ d._imageUrl = "imageUrl";
17628
17657
  }
17629
17658
  return d;
17630
17659
  };
@@ -17656,6 +17685,7 @@ export const proto = $root.proto = (() => {
17656
17685
  ClientPairingProps.prototype.isSyncdPureLidSession = null;
17657
17686
  ClientPairingProps.prototype.isSyncdSnapshotRecoveryEnabled = null;
17658
17687
  ClientPairingProps.prototype.isHsThumbnailSyncEnabled = null;
17688
+ ClientPairingProps.prototype.subscriptionSyncPayload = null;
17659
17689
 
17660
17690
  let $oneOfFields;
17661
17691
 
@@ -17679,6 +17709,11 @@ export const proto = $root.proto = (() => {
17679
17709
  set: $util.oneOfSetter($oneOfFields)
17680
17710
  });
17681
17711
 
17712
+ Object.defineProperty(ClientPairingProps.prototype, "_subscriptionSyncPayload", {
17713
+ get: $util.oneOfGetter($oneOfFields = ["subscriptionSyncPayload"]),
17714
+ set: $util.oneOfSetter($oneOfFields)
17715
+ });
17716
+
17682
17717
  ClientPairingProps.create = function create(properties) {
17683
17718
  return new ClientPairingProps(properties);
17684
17719
  };
@@ -17694,6 +17729,8 @@ export const proto = $root.proto = (() => {
17694
17729
  w.uint32(24).bool(m.isSyncdSnapshotRecoveryEnabled);
17695
17730
  if (m.isHsThumbnailSyncEnabled != null && Object.hasOwnProperty.call(m, "isHsThumbnailSyncEnabled"))
17696
17731
  w.uint32(32).bool(m.isHsThumbnailSyncEnabled);
17732
+ if (m.subscriptionSyncPayload != null && Object.hasOwnProperty.call(m, "subscriptionSyncPayload"))
17733
+ w.uint32(42).bytes(m.subscriptionSyncPayload);
17697
17734
  return w;
17698
17735
  };
17699
17736
 
@@ -17722,6 +17759,10 @@ export const proto = $root.proto = (() => {
17722
17759
  m.isHsThumbnailSyncEnabled = r.bool();
17723
17760
  break;
17724
17761
  }
17762
+ case 5: {
17763
+ m.subscriptionSyncPayload = r.bytes();
17764
+ break;
17765
+ }
17725
17766
  default:
17726
17767
  r.skipType(t & 7);
17727
17768
  break;
@@ -17746,6 +17787,12 @@ export const proto = $root.proto = (() => {
17746
17787
  if (d.isHsThumbnailSyncEnabled != null) {
17747
17788
  m.isHsThumbnailSyncEnabled = Boolean(d.isHsThumbnailSyncEnabled);
17748
17789
  }
17790
+ if (d.subscriptionSyncPayload != null) {
17791
+ if (typeof d.subscriptionSyncPayload === "string")
17792
+ $util.base64.decode(d.subscriptionSyncPayload, m.subscriptionSyncPayload = $util.newBuffer($util.base64.length(d.subscriptionSyncPayload)), 0);
17793
+ else if (d.subscriptionSyncPayload.length >= 0)
17794
+ m.subscriptionSyncPayload = d.subscriptionSyncPayload;
17795
+ }
17749
17796
  return m;
17750
17797
  };
17751
17798
 
@@ -17773,6 +17820,11 @@ export const proto = $root.proto = (() => {
17773
17820
  if (o.oneofs)
17774
17821
  d._isHsThumbnailSyncEnabled = "isHsThumbnailSyncEnabled";
17775
17822
  }
17823
+ if (m.subscriptionSyncPayload != null && m.hasOwnProperty("subscriptionSyncPayload")) {
17824
+ d.subscriptionSyncPayload = o.bytes === String ? $util.base64.encode(m.subscriptionSyncPayload, 0, m.subscriptionSyncPayload.length) : o.bytes === Array ? Array.prototype.slice.call(m.subscriptionSyncPayload) : m.subscriptionSyncPayload;
17825
+ if (o.oneofs)
17826
+ d._subscriptionSyncPayload = "subscriptionSyncPayload";
17827
+ }
17776
17828
  return d;
17777
17829
  };
17778
17830
 
@@ -24967,7 +25019,7 @@ export const proto = $root.proto = (() => {
24967
25019
  this[ks[i]] = p[ks[i]];
24968
25020
  }
24969
25021
 
24970
- Conversation.prototype.id = "";
25022
+ Conversation.prototype.id = null;
24971
25023
  Conversation.prototype.messages = $util.emptyArray;
24972
25024
  Conversation.prototype.newJid = null;
24973
25025
  Conversation.prototype.oldJid = null;
@@ -25022,9 +25074,15 @@ export const proto = $root.proto = (() => {
25022
25074
  Conversation.prototype.limitSharingInitiatedByMe = null;
25023
25075
  Conversation.prototype.maibaAiThreadEnabled = null;
25024
25076
  Conversation.prototype.isMarketingMessageThread = null;
25077
+ Conversation.prototype.isSenderNewAccount = null;
25025
25078
 
25026
25079
  let $oneOfFields;
25027
25080
 
25081
+ Object.defineProperty(Conversation.prototype, "_id", {
25082
+ get: $util.oneOfGetter($oneOfFields = ["id"]),
25083
+ set: $util.oneOfSetter($oneOfFields)
25084
+ });
25085
+
25028
25086
  Object.defineProperty(Conversation.prototype, "_newJid", {
25029
25087
  get: $util.oneOfGetter($oneOfFields = ["newJid"]),
25030
25088
  set: $util.oneOfSetter($oneOfFields)
@@ -25285,6 +25343,11 @@ export const proto = $root.proto = (() => {
25285
25343
  set: $util.oneOfSetter($oneOfFields)
25286
25344
  });
25287
25345
 
25346
+ Object.defineProperty(Conversation.prototype, "_isSenderNewAccount", {
25347
+ get: $util.oneOfGetter($oneOfFields = ["isSenderNewAccount"]),
25348
+ set: $util.oneOfSetter($oneOfFields)
25349
+ });
25350
+
25288
25351
  Conversation.create = function create(properties) {
25289
25352
  return new Conversation(properties);
25290
25353
  };
@@ -25406,6 +25469,8 @@ export const proto = $root.proto = (() => {
25406
25469
  w.uint32(432).bool(m.maibaAiThreadEnabled);
25407
25470
  if (m.isMarketingMessageThread != null && Object.hasOwnProperty.call(m, "isMarketingMessageThread"))
25408
25471
  w.uint32(440).bool(m.isMarketingMessageThread);
25472
+ if (m.isSenderNewAccount != null && Object.hasOwnProperty.call(m, "isSenderNewAccount"))
25473
+ w.uint32(448).bool(m.isSenderNewAccount);
25409
25474
  return w;
25410
25475
  };
25411
25476
 
@@ -25642,6 +25707,10 @@ export const proto = $root.proto = (() => {
25642
25707
  m.isMarketingMessageThread = r.bool();
25643
25708
  break;
25644
25709
  }
25710
+ case 56: {
25711
+ m.isSenderNewAccount = r.bool();
25712
+ break;
25713
+ }
25645
25714
  default:
25646
25715
  r.skipType(t & 7);
25647
25716
  break;
@@ -25979,6 +26048,9 @@ export const proto = $root.proto = (() => {
25979
26048
  if (d.isMarketingMessageThread != null) {
25980
26049
  m.isMarketingMessageThread = Boolean(d.isMarketingMessageThread);
25981
26050
  }
26051
+ if (d.isSenderNewAccount != null) {
26052
+ m.isSenderNewAccount = Boolean(d.isSenderNewAccount);
26053
+ }
25982
26054
  return m;
25983
26055
  };
25984
26056
 
@@ -25990,11 +26062,10 @@ export const proto = $root.proto = (() => {
25990
26062
  d.messages = [];
25991
26063
  d.participant = [];
25992
26064
  }
25993
- if (o.defaults) {
25994
- d.id = "";
25995
- }
25996
26065
  if (m.id != null && m.hasOwnProperty("id")) {
25997
26066
  d.id = m.id;
26067
+ if (o.oneofs)
26068
+ d._id = "id";
25998
26069
  }
25999
26070
  if (m.messages && m.messages.length) {
26000
26071
  d.messages = [];
@@ -26292,6 +26363,11 @@ export const proto = $root.proto = (() => {
26292
26363
  if (o.oneofs)
26293
26364
  d._isMarketingMessageThread = "isMarketingMessageThread";
26294
26365
  }
26366
+ if (m.isSenderNewAccount != null && m.hasOwnProperty("isSenderNewAccount")) {
26367
+ d.isSenderNewAccount = m.isSenderNewAccount;
26368
+ if (o.oneofs)
26369
+ d._isSenderNewAccount = "isSenderNewAccount";
26370
+ }
26295
26371
  return d;
26296
26372
  };
26297
26373
 
@@ -31243,12 +31319,17 @@ export const proto = $root.proto = (() => {
31243
31319
  this[ks[i]] = p[ks[i]];
31244
31320
  }
31245
31321
 
31246
- GroupParticipant.prototype.userJid = "";
31322
+ GroupParticipant.prototype.userJid = null;
31247
31323
  GroupParticipant.prototype.rank = null;
31248
31324
  GroupParticipant.prototype.memberLabel = null;
31249
31325
 
31250
31326
  let $oneOfFields;
31251
31327
 
31328
+ Object.defineProperty(GroupParticipant.prototype, "_userJid", {
31329
+ get: $util.oneOfGetter($oneOfFields = ["userJid"]),
31330
+ set: $util.oneOfSetter($oneOfFields)
31331
+ });
31332
+
31252
31333
  Object.defineProperty(GroupParticipant.prototype, "_rank", {
31253
31334
  get: $util.oneOfGetter($oneOfFields = ["rank"]),
31254
31335
  set: $util.oneOfSetter($oneOfFields)
@@ -31343,11 +31424,10 @@ export const proto = $root.proto = (() => {
31343
31424
  if (!o)
31344
31425
  o = {};
31345
31426
  var d = {};
31346
- if (o.defaults) {
31347
- d.userJid = "";
31348
- }
31349
31427
  if (m.userJid != null && m.hasOwnProperty("userJid")) {
31350
31428
  d.userJid = m.userJid;
31429
+ if (o.oneofs)
31430
+ d._userJid = "userJid";
31351
31431
  }
31352
31432
  if (m.rank != null && m.hasOwnProperty("rank")) {
31353
31433
  d.rank = o.enums === String ? $root.proto.GroupParticipant.Rank[m.rank] === undefined ? m.rank : $root.proto.GroupParticipant.Rank[m.rank] : m.rank;
@@ -31526,6 +31606,8 @@ export const proto = $root.proto = (() => {
31526
31606
  ClientFinish.prototype["static"] = null;
31527
31607
  ClientFinish.prototype.payload = null;
31528
31608
  ClientFinish.prototype.extendedCiphertext = null;
31609
+ ClientFinish.prototype.paddedBytes = null;
31610
+ ClientFinish.prototype.simulateXxkemFs = null;
31529
31611
 
31530
31612
  let $oneOfFields;
31531
31613
 
@@ -31544,6 +31626,16 @@ export const proto = $root.proto = (() => {
31544
31626
  set: $util.oneOfSetter($oneOfFields)
31545
31627
  });
31546
31628
 
31629
+ Object.defineProperty(ClientFinish.prototype, "_paddedBytes", {
31630
+ get: $util.oneOfGetter($oneOfFields = ["paddedBytes"]),
31631
+ set: $util.oneOfSetter($oneOfFields)
31632
+ });
31633
+
31634
+ Object.defineProperty(ClientFinish.prototype, "_simulateXxkemFs", {
31635
+ get: $util.oneOfGetter($oneOfFields = ["simulateXxkemFs"]),
31636
+ set: $util.oneOfSetter($oneOfFields)
31637
+ });
31638
+
31547
31639
  ClientFinish.create = function create(properties) {
31548
31640
  return new ClientFinish(properties);
31549
31641
  };
@@ -31557,6 +31649,10 @@ export const proto = $root.proto = (() => {
31557
31649
  w.uint32(18).bytes(m.payload);
31558
31650
  if (m.extendedCiphertext != null && Object.hasOwnProperty.call(m, "extendedCiphertext"))
31559
31651
  w.uint32(26).bytes(m.extendedCiphertext);
31652
+ if (m.paddedBytes != null && Object.hasOwnProperty.call(m, "paddedBytes"))
31653
+ w.uint32(34).bytes(m.paddedBytes);
31654
+ if (m.simulateXxkemFs != null && Object.hasOwnProperty.call(m, "simulateXxkemFs"))
31655
+ w.uint32(40).bool(m.simulateXxkemFs);
31560
31656
  return w;
31561
31657
  };
31562
31658
 
@@ -31581,6 +31677,14 @@ export const proto = $root.proto = (() => {
31581
31677
  m.extendedCiphertext = r.bytes();
31582
31678
  break;
31583
31679
  }
31680
+ case 4: {
31681
+ m.paddedBytes = r.bytes();
31682
+ break;
31683
+ }
31684
+ case 5: {
31685
+ m.simulateXxkemFs = r.bool();
31686
+ break;
31687
+ }
31584
31688
  default:
31585
31689
  r.skipType(t & 7);
31586
31690
  break;
@@ -31611,6 +31715,15 @@ export const proto = $root.proto = (() => {
31611
31715
  else if (d.extendedCiphertext.length >= 0)
31612
31716
  m.extendedCiphertext = d.extendedCiphertext;
31613
31717
  }
31718
+ if (d.paddedBytes != null) {
31719
+ if (typeof d.paddedBytes === "string")
31720
+ $util.base64.decode(d.paddedBytes, m.paddedBytes = $util.newBuffer($util.base64.length(d.paddedBytes)), 0);
31721
+ else if (d.paddedBytes.length >= 0)
31722
+ m.paddedBytes = d.paddedBytes;
31723
+ }
31724
+ if (d.simulateXxkemFs != null) {
31725
+ m.simulateXxkemFs = Boolean(d.simulateXxkemFs);
31726
+ }
31614
31727
  return m;
31615
31728
  };
31616
31729
 
@@ -31633,6 +31746,16 @@ export const proto = $root.proto = (() => {
31633
31746
  if (o.oneofs)
31634
31747
  d._extendedCiphertext = "extendedCiphertext";
31635
31748
  }
31749
+ if (m.paddedBytes != null && m.hasOwnProperty("paddedBytes")) {
31750
+ d.paddedBytes = o.bytes === String ? $util.base64.encode(m.paddedBytes, 0, m.paddedBytes.length) : o.bytes === Array ? Array.prototype.slice.call(m.paddedBytes) : m.paddedBytes;
31751
+ if (o.oneofs)
31752
+ d._paddedBytes = "paddedBytes";
31753
+ }
31754
+ if (m.simulateXxkemFs != null && m.hasOwnProperty("simulateXxkemFs")) {
31755
+ d.simulateXxkemFs = m.simulateXxkemFs;
31756
+ if (o.oneofs)
31757
+ d._simulateXxkemFs = "simulateXxkemFs";
31758
+ }
31636
31759
  return d;
31637
31760
  };
31638
31761
 
@@ -31664,6 +31787,9 @@ export const proto = $root.proto = (() => {
31664
31787
  ClientHello.prototype.payload = null;
31665
31788
  ClientHello.prototype.useExtended = null;
31666
31789
  ClientHello.prototype.extendedCiphertext = null;
31790
+ ClientHello.prototype.paddedBytes = null;
31791
+ ClientHello.prototype.sendServerHelloPaddedBytes = null;
31792
+ ClientHello.prototype.simulateXxkemFs = null;
31667
31793
 
31668
31794
  let $oneOfFields;
31669
31795
 
@@ -31692,6 +31818,21 @@ export const proto = $root.proto = (() => {
31692
31818
  set: $util.oneOfSetter($oneOfFields)
31693
31819
  });
31694
31820
 
31821
+ Object.defineProperty(ClientHello.prototype, "_paddedBytes", {
31822
+ get: $util.oneOfGetter($oneOfFields = ["paddedBytes"]),
31823
+ set: $util.oneOfSetter($oneOfFields)
31824
+ });
31825
+
31826
+ Object.defineProperty(ClientHello.prototype, "_sendServerHelloPaddedBytes", {
31827
+ get: $util.oneOfGetter($oneOfFields = ["sendServerHelloPaddedBytes"]),
31828
+ set: $util.oneOfSetter($oneOfFields)
31829
+ });
31830
+
31831
+ Object.defineProperty(ClientHello.prototype, "_simulateXxkemFs", {
31832
+ get: $util.oneOfGetter($oneOfFields = ["simulateXxkemFs"]),
31833
+ set: $util.oneOfSetter($oneOfFields)
31834
+ });
31835
+
31695
31836
  ClientHello.create = function create(properties) {
31696
31837
  return new ClientHello(properties);
31697
31838
  };
@@ -31709,6 +31850,12 @@ export const proto = $root.proto = (() => {
31709
31850
  w.uint32(32).bool(m.useExtended);
31710
31851
  if (m.extendedCiphertext != null && Object.hasOwnProperty.call(m, "extendedCiphertext"))
31711
31852
  w.uint32(42).bytes(m.extendedCiphertext);
31853
+ if (m.paddedBytes != null && Object.hasOwnProperty.call(m, "paddedBytes"))
31854
+ w.uint32(50).bytes(m.paddedBytes);
31855
+ if (m.sendServerHelloPaddedBytes != null && Object.hasOwnProperty.call(m, "sendServerHelloPaddedBytes"))
31856
+ w.uint32(56).bool(m.sendServerHelloPaddedBytes);
31857
+ if (m.simulateXxkemFs != null && Object.hasOwnProperty.call(m, "simulateXxkemFs"))
31858
+ w.uint32(64).bool(m.simulateXxkemFs);
31712
31859
  return w;
31713
31860
  };
31714
31861
 
@@ -31741,6 +31888,18 @@ export const proto = $root.proto = (() => {
31741
31888
  m.extendedCiphertext = r.bytes();
31742
31889
  break;
31743
31890
  }
31891
+ case 6: {
31892
+ m.paddedBytes = r.bytes();
31893
+ break;
31894
+ }
31895
+ case 7: {
31896
+ m.sendServerHelloPaddedBytes = r.bool();
31897
+ break;
31898
+ }
31899
+ case 8: {
31900
+ m.simulateXxkemFs = r.bool();
31901
+ break;
31902
+ }
31744
31903
  default:
31745
31904
  r.skipType(t & 7);
31746
31905
  break;
@@ -31780,6 +31939,18 @@ export const proto = $root.proto = (() => {
31780
31939
  else if (d.extendedCiphertext.length >= 0)
31781
31940
  m.extendedCiphertext = d.extendedCiphertext;
31782
31941
  }
31942
+ if (d.paddedBytes != null) {
31943
+ if (typeof d.paddedBytes === "string")
31944
+ $util.base64.decode(d.paddedBytes, m.paddedBytes = $util.newBuffer($util.base64.length(d.paddedBytes)), 0);
31945
+ else if (d.paddedBytes.length >= 0)
31946
+ m.paddedBytes = d.paddedBytes;
31947
+ }
31948
+ if (d.sendServerHelloPaddedBytes != null) {
31949
+ m.sendServerHelloPaddedBytes = Boolean(d.sendServerHelloPaddedBytes);
31950
+ }
31951
+ if (d.simulateXxkemFs != null) {
31952
+ m.simulateXxkemFs = Boolean(d.simulateXxkemFs);
31953
+ }
31783
31954
  return m;
31784
31955
  };
31785
31956
 
@@ -31812,6 +31983,21 @@ export const proto = $root.proto = (() => {
31812
31983
  if (o.oneofs)
31813
31984
  d._extendedCiphertext = "extendedCiphertext";
31814
31985
  }
31986
+ if (m.paddedBytes != null && m.hasOwnProperty("paddedBytes")) {
31987
+ d.paddedBytes = o.bytes === String ? $util.base64.encode(m.paddedBytes, 0, m.paddedBytes.length) : o.bytes === Array ? Array.prototype.slice.call(m.paddedBytes) : m.paddedBytes;
31988
+ if (o.oneofs)
31989
+ d._paddedBytes = "paddedBytes";
31990
+ }
31991
+ if (m.sendServerHelloPaddedBytes != null && m.hasOwnProperty("sendServerHelloPaddedBytes")) {
31992
+ d.sendServerHelloPaddedBytes = m.sendServerHelloPaddedBytes;
31993
+ if (o.oneofs)
31994
+ d._sendServerHelloPaddedBytes = "sendServerHelloPaddedBytes";
31995
+ }
31996
+ if (m.simulateXxkemFs != null && m.hasOwnProperty("simulateXxkemFs")) {
31997
+ d.simulateXxkemFs = m.simulateXxkemFs;
31998
+ if (o.oneofs)
31999
+ d._simulateXxkemFs = "simulateXxkemFs";
32000
+ }
31815
32001
  return d;
31816
32002
  };
31817
32003
 
@@ -31842,6 +32028,7 @@ export const proto = $root.proto = (() => {
31842
32028
  ServerHello.prototype["static"] = null;
31843
32029
  ServerHello.prototype.payload = null;
31844
32030
  ServerHello.prototype.extendedStatic = null;
32031
+ ServerHello.prototype.paddingBytes = null;
31845
32032
 
31846
32033
  let $oneOfFields;
31847
32034
 
@@ -31865,6 +32052,11 @@ export const proto = $root.proto = (() => {
31865
32052
  set: $util.oneOfSetter($oneOfFields)
31866
32053
  });
31867
32054
 
32055
+ Object.defineProperty(ServerHello.prototype, "_paddingBytes", {
32056
+ get: $util.oneOfGetter($oneOfFields = ["paddingBytes"]),
32057
+ set: $util.oneOfSetter($oneOfFields)
32058
+ });
32059
+
31868
32060
  ServerHello.create = function create(properties) {
31869
32061
  return new ServerHello(properties);
31870
32062
  };
@@ -31880,6 +32072,8 @@ export const proto = $root.proto = (() => {
31880
32072
  w.uint32(26).bytes(m.payload);
31881
32073
  if (m.extendedStatic != null && Object.hasOwnProperty.call(m, "extendedStatic"))
31882
32074
  w.uint32(34).bytes(m.extendedStatic);
32075
+ if (m.paddingBytes != null && Object.hasOwnProperty.call(m, "paddingBytes"))
32076
+ w.uint32(42).bytes(m.paddingBytes);
31883
32077
  return w;
31884
32078
  };
31885
32079
 
@@ -31908,6 +32102,10 @@ export const proto = $root.proto = (() => {
31908
32102
  m.extendedStatic = r.bytes();
31909
32103
  break;
31910
32104
  }
32105
+ case 5: {
32106
+ m.paddingBytes = r.bytes();
32107
+ break;
32108
+ }
31911
32109
  default:
31912
32110
  r.skipType(t & 7);
31913
32111
  break;
@@ -31944,6 +32142,12 @@ export const proto = $root.proto = (() => {
31944
32142
  else if (d.extendedStatic.length >= 0)
31945
32143
  m.extendedStatic = d.extendedStatic;
31946
32144
  }
32145
+ if (d.paddingBytes != null) {
32146
+ if (typeof d.paddingBytes === "string")
32147
+ $util.base64.decode(d.paddingBytes, m.paddingBytes = $util.newBuffer($util.base64.length(d.paddingBytes)), 0);
32148
+ else if (d.paddingBytes.length >= 0)
32149
+ m.paddingBytes = d.paddingBytes;
32150
+ }
31947
32151
  return m;
31948
32152
  };
31949
32153
 
@@ -31971,6 +32175,11 @@ export const proto = $root.proto = (() => {
31971
32175
  if (o.oneofs)
31972
32176
  d._extendedStatic = "extendedStatic";
31973
32177
  }
32178
+ if (m.paddingBytes != null && m.hasOwnProperty("paddingBytes")) {
32179
+ d.paddingBytes = o.bytes === String ? $util.base64.encode(m.paddingBytes, 0, m.paddingBytes.length) : o.bytes === Array ? Array.prototype.slice.call(m.paddingBytes) : m.paddingBytes;
32180
+ if (o.oneofs)
32181
+ d._paddingBytes = "paddingBytes";
32182
+ }
31974
32183
  return d;
31975
32184
  };
31976
32185
 
@@ -55144,6 +55353,7 @@ export const proto = $root.proto = (() => {
55144
55353
  PaymentInviteMessage.prototype.expiryTimestamp = null;
55145
55354
  PaymentInviteMessage.prototype.incentiveEligible = null;
55146
55355
  PaymentInviteMessage.prototype.referralId = null;
55356
+ PaymentInviteMessage.prototype.inviteType = null;
55147
55357
 
55148
55358
  let $oneOfFields;
55149
55359
 
@@ -55167,6 +55377,11 @@ export const proto = $root.proto = (() => {
55167
55377
  set: $util.oneOfSetter($oneOfFields)
55168
55378
  });
55169
55379
 
55380
+ Object.defineProperty(PaymentInviteMessage.prototype, "_inviteType", {
55381
+ get: $util.oneOfGetter($oneOfFields = ["inviteType"]),
55382
+ set: $util.oneOfSetter($oneOfFields)
55383
+ });
55384
+
55170
55385
  PaymentInviteMessage.create = function create(properties) {
55171
55386
  return new PaymentInviteMessage(properties);
55172
55387
  };
@@ -55182,6 +55397,8 @@ export const proto = $root.proto = (() => {
55182
55397
  w.uint32(24).bool(m.incentiveEligible);
55183
55398
  if (m.referralId != null && Object.hasOwnProperty.call(m, "referralId"))
55184
55399
  w.uint32(34).string(m.referralId);
55400
+ if (m.inviteType != null && Object.hasOwnProperty.call(m, "inviteType"))
55401
+ w.uint32(40).int32(m.inviteType);
55185
55402
  return w;
55186
55403
  };
55187
55404
 
@@ -55210,6 +55427,10 @@ export const proto = $root.proto = (() => {
55210
55427
  m.referralId = r.string();
55211
55428
  break;
55212
55429
  }
55430
+ case 5: {
55431
+ m.inviteType = r.int32();
55432
+ break;
55433
+ }
55213
55434
  default:
55214
55435
  r.skipType(t & 7);
55215
55436
  break;
@@ -55262,6 +55483,22 @@ export const proto = $root.proto = (() => {
55262
55483
  if (d.referralId != null) {
55263
55484
  m.referralId = String(d.referralId);
55264
55485
  }
55486
+ switch (d.inviteType) {
55487
+ default:
55488
+ if (typeof d.inviteType === "number") {
55489
+ m.inviteType = d.inviteType;
55490
+ break;
55491
+ }
55492
+ break;
55493
+ case "DEFAULT":
55494
+ case 0:
55495
+ m.inviteType = 0;
55496
+ break;
55497
+ case "MAPPER":
55498
+ case 1:
55499
+ m.inviteType = 1;
55500
+ break;
55501
+ }
55265
55502
  return m;
55266
55503
  };
55267
55504
 
@@ -55292,6 +55529,11 @@ export const proto = $root.proto = (() => {
55292
55529
  if (o.oneofs)
55293
55530
  d._referralId = "referralId";
55294
55531
  }
55532
+ if (m.inviteType != null && m.hasOwnProperty("inviteType")) {
55533
+ d.inviteType = o.enums === String ? $root.proto.Message.PaymentInviteMessage.InviteType[m.inviteType] === undefined ? m.inviteType : $root.proto.Message.PaymentInviteMessage.InviteType[m.inviteType] : m.inviteType;
55534
+ if (o.oneofs)
55535
+ d._inviteType = "inviteType";
55536
+ }
55295
55537
  return d;
55296
55538
  };
55297
55539
 
@@ -55306,6 +55548,13 @@ export const proto = $root.proto = (() => {
55306
55548
  return typeUrlPrefix + "/proto.Message.PaymentInviteMessage";
55307
55549
  };
55308
55550
 
55551
+ PaymentInviteMessage.InviteType = (function() {
55552
+ const valuesById = {}, values = Object.create(valuesById);
55553
+ values[valuesById[0] = "DEFAULT"] = 0;
55554
+ values[valuesById[1] = "MAPPER"] = 1;
55555
+ return values;
55556
+ })();
55557
+
55309
55558
  PaymentInviteMessage.ServiceType = (function() {
55310
55559
  const valuesById = {}, values = Object.create(valuesById);
55311
55560
  values[valuesById[0] = "UNKNOWN"] = 0;
@@ -67765,10 +68014,32 @@ export const proto = $root.proto = (() => {
67765
68014
  this[ks[i]] = p[ks[i]];
67766
68015
  }
67767
68016
 
67768
- VideoEndCard.prototype.username = "";
67769
- VideoEndCard.prototype.caption = "";
67770
- VideoEndCard.prototype.thumbnailImageUrl = "";
67771
- VideoEndCard.prototype.profilePictureUrl = "";
68017
+ VideoEndCard.prototype.username = null;
68018
+ VideoEndCard.prototype.caption = null;
68019
+ VideoEndCard.prototype.thumbnailImageUrl = null;
68020
+ VideoEndCard.prototype.profilePictureUrl = null;
68021
+
68022
+ let $oneOfFields;
68023
+
68024
+ Object.defineProperty(VideoEndCard.prototype, "_username", {
68025
+ get: $util.oneOfGetter($oneOfFields = ["username"]),
68026
+ set: $util.oneOfSetter($oneOfFields)
68027
+ });
68028
+
68029
+ Object.defineProperty(VideoEndCard.prototype, "_caption", {
68030
+ get: $util.oneOfGetter($oneOfFields = ["caption"]),
68031
+ set: $util.oneOfSetter($oneOfFields)
68032
+ });
68033
+
68034
+ Object.defineProperty(VideoEndCard.prototype, "_thumbnailImageUrl", {
68035
+ get: $util.oneOfGetter($oneOfFields = ["thumbnailImageUrl"]),
68036
+ set: $util.oneOfSetter($oneOfFields)
68037
+ });
68038
+
68039
+ Object.defineProperty(VideoEndCard.prototype, "_profilePictureUrl", {
68040
+ get: $util.oneOfGetter($oneOfFields = ["profilePictureUrl"]),
68041
+ set: $util.oneOfSetter($oneOfFields)
68042
+ });
67772
68043
 
67773
68044
  VideoEndCard.create = function create(properties) {
67774
68045
  return new VideoEndCard(properties);
@@ -67844,23 +68115,25 @@ export const proto = $root.proto = (() => {
67844
68115
  if (!o)
67845
68116
  o = {};
67846
68117
  var d = {};
67847
- if (o.defaults) {
67848
- d.username = "";
67849
- d.caption = "";
67850
- d.thumbnailImageUrl = "";
67851
- d.profilePictureUrl = "";
67852
- }
67853
68118
  if (m.username != null && m.hasOwnProperty("username")) {
67854
68119
  d.username = m.username;
68120
+ if (o.oneofs)
68121
+ d._username = "username";
67855
68122
  }
67856
68123
  if (m.caption != null && m.hasOwnProperty("caption")) {
67857
68124
  d.caption = m.caption;
68125
+ if (o.oneofs)
68126
+ d._caption = "caption";
67858
68127
  }
67859
68128
  if (m.thumbnailImageUrl != null && m.hasOwnProperty("thumbnailImageUrl")) {
67860
68129
  d.thumbnailImageUrl = m.thumbnailImageUrl;
68130
+ if (o.oneofs)
68131
+ d._thumbnailImageUrl = "thumbnailImageUrl";
67861
68132
  }
67862
68133
  if (m.profilePictureUrl != null && m.hasOwnProperty("profilePictureUrl")) {
67863
68134
  d.profilePictureUrl = m.profilePictureUrl;
68135
+ if (o.oneofs)
68136
+ d._profilePictureUrl = "profilePictureUrl";
67864
68137
  }
67865
68138
  return d;
67866
68139
  };
@@ -72057,6 +72330,7 @@ export const proto = $root.proto = (() => {
72057
72330
  values[valuesById[82] = "BUSINESS_BROADCAST_INSIGHTS_ACTION"] = 82;
72058
72331
  values[valuesById[83] = "CUSTOMER_DATA_ACTION"] = 83;
72059
72332
  values[valuesById[84] = "SUBSCRIPTIONS_SYNC_V2_ACTION"] = 84;
72333
+ values[valuesById[85] = "THREAD_PIN_ACTION"] = 85;
72060
72334
  values[valuesById[10001] = "SHARE_OWN_PN"] = 10001;
72061
72335
  values[valuesById[10002] = "BUSINESS_BROADCAST_ACTION"] = 10002;
72062
72336
  values[valuesById[10003] = "AI_THREAD_DELETE_ACTION"] = 10003;
@@ -80482,6 +80756,10 @@ export const proto = $root.proto = (() => {
80482
80756
  case 10:
80483
80757
  m.source = 10;
80484
80758
  break;
80759
+ case "SOUNDCLOUD":
80760
+ case 11:
80761
+ m.source = 11;
80762
+ break;
80485
80763
  }
80486
80764
  if (d.duration != null) {
80487
80765
  m.duration = d.duration | 0;
@@ -80543,6 +80821,7 @@ export const proto = $root.proto = (() => {
80543
80821
  values[valuesById[8] = "APPLE_MUSIC"] = 8;
80544
80822
  values[valuesById[9] = "SHARECHAT"] = 9;
80545
80823
  values[valuesById[10] = "GOOGLE_PHOTOS"] = 10;
80824
+ values[valuesById[11] = "SOUNDCLOUD"] = 11;
80546
80825
  return values;
80547
80826
  })();
80548
80827
 
@@ -82081,6 +82360,7 @@ export const proto = $root.proto = (() => {
82081
82360
  SyncActionValue.prototype.businessBroadcastInsightsAction = null;
82082
82361
  SyncActionValue.prototype.customerDataAction = null;
82083
82362
  SyncActionValue.prototype.subscriptionsSyncV2Action = null;
82363
+ SyncActionValue.prototype.threadPinAction = null;
82084
82364
 
82085
82365
  let $oneOfFields;
82086
82366
 
@@ -82459,6 +82739,11 @@ export const proto = $root.proto = (() => {
82459
82739
  set: $util.oneOfSetter($oneOfFields)
82460
82740
  });
82461
82741
 
82742
+ Object.defineProperty(SyncActionValue.prototype, "_threadPinAction", {
82743
+ get: $util.oneOfGetter($oneOfFields = ["threadPinAction"]),
82744
+ set: $util.oneOfSetter($oneOfFields)
82745
+ });
82746
+
82462
82747
  SyncActionValue.create = function create(properties) {
82463
82748
  return new SyncActionValue(properties);
82464
82749
  };
@@ -82616,6 +82901,8 @@ export const proto = $root.proto = (() => {
82616
82901
  $root.proto.SyncActionValue.CustomerDataAction.encode(m.customerDataAction, w.uint32(666).fork()).ldelim();
82617
82902
  if (m.subscriptionsSyncV2Action != null && Object.hasOwnProperty.call(m, "subscriptionsSyncV2Action"))
82618
82903
  $root.proto.SyncActionValue.SubscriptionsSyncV2Action.encode(m.subscriptionsSyncV2Action, w.uint32(674).fork()).ldelim();
82904
+ if (m.threadPinAction != null && Object.hasOwnProperty.call(m, "threadPinAction"))
82905
+ $root.proto.SyncActionValue.ThreadPinAction.encode(m.threadPinAction, w.uint32(682).fork()).ldelim();
82619
82906
  return w;
82620
82907
  };
82621
82908
 
@@ -82928,6 +83215,10 @@ export const proto = $root.proto = (() => {
82928
83215
  m.subscriptionsSyncV2Action = $root.proto.SyncActionValue.SubscriptionsSyncV2Action.decode(r, r.uint32());
82929
83216
  break;
82930
83217
  }
83218
+ case 85: {
83219
+ m.threadPinAction = $root.proto.SyncActionValue.ThreadPinAction.decode(r, r.uint32());
83220
+ break;
83221
+ }
82931
83222
  default:
82932
83223
  r.skipType(t & 7);
82933
83224
  break;
@@ -83320,6 +83611,11 @@ export const proto = $root.proto = (() => {
83320
83611
  throw TypeError(".proto.SyncActionValue.subscriptionsSyncV2Action: object expected");
83321
83612
  m.subscriptionsSyncV2Action = $root.proto.SyncActionValue.SubscriptionsSyncV2Action.fromObject(d.subscriptionsSyncV2Action);
83322
83613
  }
83614
+ if (d.threadPinAction != null) {
83615
+ if (typeof d.threadPinAction !== "object")
83616
+ throw TypeError(".proto.SyncActionValue.threadPinAction: object expected");
83617
+ m.threadPinAction = $root.proto.SyncActionValue.ThreadPinAction.fromObject(d.threadPinAction);
83618
+ }
83323
83619
  return m;
83324
83620
  };
83325
83621
 
@@ -83705,6 +84001,11 @@ export const proto = $root.proto = (() => {
83705
84001
  if (o.oneofs)
83706
84002
  d._subscriptionsSyncV2Action = "subscriptionsSyncV2Action";
83707
84003
  }
84004
+ if (m.threadPinAction != null && m.hasOwnProperty("threadPinAction")) {
84005
+ d.threadPinAction = $root.proto.SyncActionValue.ThreadPinAction.toObject(m.threadPinAction, o);
84006
+ if (o.oneofs)
84007
+ d._threadPinAction = "threadPinAction";
84008
+ }
83708
84009
  return d;
83709
84010
  };
83710
84011
 
@@ -85819,11 +86120,28 @@ export const proto = $root.proto = (() => {
85819
86120
  this[ks[i]] = p[ks[i]];
85820
86121
  }
85821
86122
 
85822
- CustomPaymentMethod.prototype.credentialId = "";
85823
- CustomPaymentMethod.prototype.country = "";
85824
- CustomPaymentMethod.prototype.type = "";
86123
+ CustomPaymentMethod.prototype.credentialId = null;
86124
+ CustomPaymentMethod.prototype.country = null;
86125
+ CustomPaymentMethod.prototype.type = null;
85825
86126
  CustomPaymentMethod.prototype.metadata = $util.emptyArray;
85826
86127
 
86128
+ let $oneOfFields;
86129
+
86130
+ Object.defineProperty(CustomPaymentMethod.prototype, "_credentialId", {
86131
+ get: $util.oneOfGetter($oneOfFields = ["credentialId"]),
86132
+ set: $util.oneOfSetter($oneOfFields)
86133
+ });
86134
+
86135
+ Object.defineProperty(CustomPaymentMethod.prototype, "_country", {
86136
+ get: $util.oneOfGetter($oneOfFields = ["country"]),
86137
+ set: $util.oneOfSetter($oneOfFields)
86138
+ });
86139
+
86140
+ Object.defineProperty(CustomPaymentMethod.prototype, "_type", {
86141
+ get: $util.oneOfGetter($oneOfFields = ["type"]),
86142
+ set: $util.oneOfSetter($oneOfFields)
86143
+ });
86144
+
85827
86145
  CustomPaymentMethod.create = function create(properties) {
85828
86146
  return new CustomPaymentMethod(properties);
85829
86147
  };
@@ -85912,19 +86230,20 @@ export const proto = $root.proto = (() => {
85912
86230
  if (o.arrays || o.defaults) {
85913
86231
  d.metadata = [];
85914
86232
  }
85915
- if (o.defaults) {
85916
- d.credentialId = "";
85917
- d.country = "";
85918
- d.type = "";
85919
- }
85920
86233
  if (m.credentialId != null && m.hasOwnProperty("credentialId")) {
85921
86234
  d.credentialId = m.credentialId;
86235
+ if (o.oneofs)
86236
+ d._credentialId = "credentialId";
85922
86237
  }
85923
86238
  if (m.country != null && m.hasOwnProperty("country")) {
85924
86239
  d.country = m.country;
86240
+ if (o.oneofs)
86241
+ d._country = "country";
85925
86242
  }
85926
86243
  if (m.type != null && m.hasOwnProperty("type")) {
85927
86244
  d.type = m.type;
86245
+ if (o.oneofs)
86246
+ d._type = "type";
85928
86247
  }
85929
86248
  if (m.metadata && m.metadata.length) {
85930
86249
  d.metadata = [];
@@ -85958,8 +86277,20 @@ export const proto = $root.proto = (() => {
85958
86277
  this[ks[i]] = p[ks[i]];
85959
86278
  }
85960
86279
 
85961
- CustomPaymentMethodMetadata.prototype.key = "";
85962
- CustomPaymentMethodMetadata.prototype.value = "";
86280
+ CustomPaymentMethodMetadata.prototype.key = null;
86281
+ CustomPaymentMethodMetadata.prototype.value = null;
86282
+
86283
+ let $oneOfFields;
86284
+
86285
+ Object.defineProperty(CustomPaymentMethodMetadata.prototype, "_key", {
86286
+ get: $util.oneOfGetter($oneOfFields = ["key"]),
86287
+ set: $util.oneOfSetter($oneOfFields)
86288
+ });
86289
+
86290
+ Object.defineProperty(CustomPaymentMethodMetadata.prototype, "_value", {
86291
+ get: $util.oneOfGetter($oneOfFields = ["value"]),
86292
+ set: $util.oneOfSetter($oneOfFields)
86293
+ });
85963
86294
 
85964
86295
  CustomPaymentMethodMetadata.create = function create(properties) {
85965
86296
  return new CustomPaymentMethodMetadata(properties);
@@ -86017,15 +86348,15 @@ export const proto = $root.proto = (() => {
86017
86348
  if (!o)
86018
86349
  o = {};
86019
86350
  var d = {};
86020
- if (o.defaults) {
86021
- d.key = "";
86022
- d.value = "";
86023
- }
86024
86351
  if (m.key != null && m.hasOwnProperty("key")) {
86025
86352
  d.key = m.key;
86353
+ if (o.oneofs)
86354
+ d._key = "key";
86026
86355
  }
86027
86356
  if (m.value != null && m.hasOwnProperty("value")) {
86028
86357
  d.value = m.value;
86358
+ if (o.oneofs)
86359
+ d._value = "value";
86029
86360
  }
86030
86361
  return d;
86031
86362
  };
@@ -87146,11 +87477,16 @@ export const proto = $root.proto = (() => {
87146
87477
  this[ks[i]] = p[ks[i]];
87147
87478
  }
87148
87479
 
87149
- InteractiveMessageAction.prototype.type = 1;
87480
+ InteractiveMessageAction.prototype.type = null;
87150
87481
  InteractiveMessageAction.prototype.agmId = null;
87151
87482
 
87152
87483
  let $oneOfFields;
87153
87484
 
87485
+ Object.defineProperty(InteractiveMessageAction.prototype, "_type", {
87486
+ get: $util.oneOfGetter($oneOfFields = ["type"]),
87487
+ set: $util.oneOfSetter($oneOfFields)
87488
+ });
87489
+
87154
87490
  Object.defineProperty(InteractiveMessageAction.prototype, "_agmId", {
87155
87491
  get: $util.oneOfGetter($oneOfFields = ["agmId"]),
87156
87492
  set: $util.oneOfSetter($oneOfFields)
@@ -87221,11 +87557,10 @@ export const proto = $root.proto = (() => {
87221
87557
  if (!o)
87222
87558
  o = {};
87223
87559
  var d = {};
87224
- if (o.defaults) {
87225
- d.type = o.enums === String ? "DISABLE_CTA" : 1;
87226
- }
87227
87560
  if (m.type != null && m.hasOwnProperty("type")) {
87228
87561
  d.type = o.enums === String ? $root.proto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode[m.type] === undefined ? m.type : $root.proto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode[m.type] : m.type;
87562
+ if (o.oneofs)
87563
+ d._type = "type";
87229
87564
  }
87230
87565
  if (m.agmId != null && m.hasOwnProperty("agmId")) {
87231
87566
  d.agmId = m.agmId;
@@ -88712,13 +89047,23 @@ export const proto = $root.proto = (() => {
88712
89047
  this[ks[i]] = p[ks[i]];
88713
89048
  }
88714
89049
 
88715
- MerchantPaymentPartnerAction.prototype.status = 0;
88716
- MerchantPaymentPartnerAction.prototype.country = "";
89050
+ MerchantPaymentPartnerAction.prototype.status = null;
89051
+ MerchantPaymentPartnerAction.prototype.country = null;
88717
89052
  MerchantPaymentPartnerAction.prototype.gatewayName = null;
88718
89053
  MerchantPaymentPartnerAction.prototype.credentialId = null;
88719
89054
 
88720
89055
  let $oneOfFields;
88721
89056
 
89057
+ Object.defineProperty(MerchantPaymentPartnerAction.prototype, "_status", {
89058
+ get: $util.oneOfGetter($oneOfFields = ["status"]),
89059
+ set: $util.oneOfSetter($oneOfFields)
89060
+ });
89061
+
89062
+ Object.defineProperty(MerchantPaymentPartnerAction.prototype, "_country", {
89063
+ get: $util.oneOfGetter($oneOfFields = ["country"]),
89064
+ set: $util.oneOfSetter($oneOfFields)
89065
+ });
89066
+
88722
89067
  Object.defineProperty(MerchantPaymentPartnerAction.prototype, "_gatewayName", {
88723
89068
  get: $util.oneOfGetter($oneOfFields = ["gatewayName"]),
88724
89069
  set: $util.oneOfSetter($oneOfFields)
@@ -88816,15 +89161,15 @@ export const proto = $root.proto = (() => {
88816
89161
  if (!o)
88817
89162
  o = {};
88818
89163
  var d = {};
88819
- if (o.defaults) {
88820
- d.status = o.enums === String ? "ACTIVE" : 0;
88821
- d.country = "";
88822
- }
88823
89164
  if (m.status != null && m.hasOwnProperty("status")) {
88824
89165
  d.status = o.enums === String ? $root.proto.SyncActionValue.MerchantPaymentPartnerAction.Status[m.status] === undefined ? m.status : $root.proto.SyncActionValue.MerchantPaymentPartnerAction.Status[m.status] : m.status;
89166
+ if (o.oneofs)
89167
+ d._status = "status";
88825
89168
  }
88826
89169
  if (m.country != null && m.hasOwnProperty("country")) {
88827
89170
  d.country = m.country;
89171
+ if (o.oneofs)
89172
+ d._country = "country";
88828
89173
  }
88829
89174
  if (m.gatewayName != null && m.hasOwnProperty("gatewayName")) {
88830
89175
  d.gatewayName = m.gatewayName;
@@ -89943,8 +90288,20 @@ export const proto = $root.proto = (() => {
89943
90288
  this[ks[i]] = p[ks[i]];
89944
90289
  }
89945
90290
 
89946
- PaymentTosAction.prototype.paymentNotice = 0;
89947
- PaymentTosAction.prototype.accepted = false;
90291
+ PaymentTosAction.prototype.paymentNotice = null;
90292
+ PaymentTosAction.prototype.accepted = null;
90293
+
90294
+ let $oneOfFields;
90295
+
90296
+ Object.defineProperty(PaymentTosAction.prototype, "_paymentNotice", {
90297
+ get: $util.oneOfGetter($oneOfFields = ["paymentNotice"]),
90298
+ set: $util.oneOfSetter($oneOfFields)
90299
+ });
90300
+
90301
+ Object.defineProperty(PaymentTosAction.prototype, "_accepted", {
90302
+ get: $util.oneOfGetter($oneOfFields = ["accepted"]),
90303
+ set: $util.oneOfSetter($oneOfFields)
90304
+ });
89948
90305
 
89949
90306
  PaymentTosAction.create = function create(properties) {
89950
90307
  return new PaymentTosAction(properties);
@@ -90011,15 +90368,15 @@ export const proto = $root.proto = (() => {
90011
90368
  if (!o)
90012
90369
  o = {};
90013
90370
  var d = {};
90014
- if (o.defaults) {
90015
- d.paymentNotice = o.enums === String ? "BR_PAY_PRIVACY_POLICY" : 0;
90016
- d.accepted = false;
90017
- }
90018
90371
  if (m.paymentNotice != null && m.hasOwnProperty("paymentNotice")) {
90019
90372
  d.paymentNotice = o.enums === String ? $root.proto.SyncActionValue.PaymentTosAction.PaymentNotice[m.paymentNotice] === undefined ? m.paymentNotice : $root.proto.SyncActionValue.PaymentTosAction.PaymentNotice[m.paymentNotice] : m.paymentNotice;
90373
+ if (o.oneofs)
90374
+ d._paymentNotice = "paymentNotice";
90020
90375
  }
90021
90376
  if (m.accepted != null && m.hasOwnProperty("accepted")) {
90022
90377
  d.accepted = m.accepted;
90378
+ if (o.oneofs)
90379
+ d._accepted = "accepted";
90023
90380
  }
90024
90381
  return d;
90025
90382
  };
@@ -93694,6 +94051,93 @@ export const proto = $root.proto = (() => {
93694
94051
  return SyncActionMessageRange;
93695
94052
  })();
93696
94053
 
94054
+ SyncActionValue.ThreadPinAction = (function() {
94055
+
94056
+ function ThreadPinAction(p) {
94057
+ if (p)
94058
+ for (var ks = Object.keys(p), i = 0; i < ks.length; ++i)
94059
+ if (p[ks[i]] != null)
94060
+ this[ks[i]] = p[ks[i]];
94061
+ }
94062
+
94063
+ ThreadPinAction.prototype.pinned = null;
94064
+
94065
+ let $oneOfFields;
94066
+
94067
+ Object.defineProperty(ThreadPinAction.prototype, "_pinned", {
94068
+ get: $util.oneOfGetter($oneOfFields = ["pinned"]),
94069
+ set: $util.oneOfSetter($oneOfFields)
94070
+ });
94071
+
94072
+ ThreadPinAction.create = function create(properties) {
94073
+ return new ThreadPinAction(properties);
94074
+ };
94075
+
94076
+ ThreadPinAction.encode = function encode(m, w) {
94077
+ if (!w)
94078
+ w = $Writer.create();
94079
+ if (m.pinned != null && Object.hasOwnProperty.call(m, "pinned"))
94080
+ w.uint32(8).bool(m.pinned);
94081
+ return w;
94082
+ };
94083
+
94084
+ ThreadPinAction.decode = function decode(r, l, e) {
94085
+ if (!(r instanceof $Reader))
94086
+ r = $Reader.create(r);
94087
+ var c = l === undefined ? r.len : r.pos + l, m = new $root.proto.SyncActionValue.ThreadPinAction();
94088
+ while (r.pos < c) {
94089
+ var t = r.uint32();
94090
+ if (t === e)
94091
+ break;
94092
+ switch (t >>> 3) {
94093
+ case 1: {
94094
+ m.pinned = r.bool();
94095
+ break;
94096
+ }
94097
+ default:
94098
+ r.skipType(t & 7);
94099
+ break;
94100
+ }
94101
+ }
94102
+ return m;
94103
+ };
94104
+
94105
+ ThreadPinAction.fromObject = function fromObject(d) {
94106
+ if (d instanceof $root.proto.SyncActionValue.ThreadPinAction)
94107
+ return d;
94108
+ var m = new $root.proto.SyncActionValue.ThreadPinAction();
94109
+ if (d.pinned != null) {
94110
+ m.pinned = Boolean(d.pinned);
94111
+ }
94112
+ return m;
94113
+ };
94114
+
94115
+ ThreadPinAction.toObject = function toObject(m, o) {
94116
+ if (!o)
94117
+ o = {};
94118
+ var d = {};
94119
+ if (m.pinned != null && m.hasOwnProperty("pinned")) {
94120
+ d.pinned = m.pinned;
94121
+ if (o.oneofs)
94122
+ d._pinned = "pinned";
94123
+ }
94124
+ return d;
94125
+ };
94126
+
94127
+ ThreadPinAction.prototype.toJSON = function toJSON() {
94128
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
94129
+ };
94130
+
94131
+ ThreadPinAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
94132
+ if (typeUrlPrefix === undefined) {
94133
+ typeUrlPrefix = "type.googleapis.com";
94134
+ }
94135
+ return typeUrlPrefix + "/proto.SyncActionValue.ThreadPinAction";
94136
+ };
94137
+
94138
+ return ThreadPinAction;
94139
+ })();
94140
+
93697
94141
  SyncActionValue.TimeFormatAction = (function() {
93698
94142
 
93699
94143
  function TimeFormatAction(p) {