@wppconnect/wa-proto 2.3000.1028088934 → 2.3000.1028178858

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.3000.1028178858](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028088934...v2.3000.1028178858) (2025-10-09)
2
+
3
+
4
+
1
5
  ## [2.3000.1028088934](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028056377...v2.3000.1028088934) (2025-10-07)
2
6
 
3
7
 
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1028088934
4
+ /// WhatsApp Version: 2.3000.1028178858
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -1691,6 +1691,7 @@ message GroupHistoryBundleInfo {
1691
1691
 
1692
1692
  message GroupHistoryIndividualMessageInfo {
1693
1693
  optional MessageKey bundleMessageKey = 1;
1694
+ optional bool editedAfterReceivedAsHistory = 2;
1694
1695
  }
1695
1696
 
1696
1697
  message GroupMention {
@@ -2064,7 +2065,6 @@ message Message {
2064
2065
  optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
2065
2066
  optional FutureProofMessage questionReplyMessage = 106;
2066
2067
  optional QuestionResponseMessage questionResponseMessage = 107;
2067
- optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessage = 108;
2068
2068
  optional StatusQuotedMessage statusQuotedMessage = 109;
2069
2069
  optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
2070
2070
  optional PollCreationMessage pollCreationMessageV5 = 111;
@@ -2951,9 +2951,9 @@ message Message {
2951
2951
  }
2952
2952
 
2953
2953
  message GalaxyFlowAction {
2954
- required GalaxyFlowActionType type = 1;
2955
- required string flowId = 2;
2956
- required string stanzaId = 3;
2954
+ optional GalaxyFlowActionType type = 1;
2955
+ optional string flowId = 2;
2956
+ optional string stanzaId = 3;
2957
2957
  enum GalaxyFlowActionType {
2958
2958
  NOTIFY_LAUNCH = 1;
2959
2959
  }
package/dist/index.d.ts CHANGED
@@ -17498,6 +17498,9 @@ export namespace waproto {
17498
17498
 
17499
17499
  /** GroupHistoryIndividualMessageInfo bundleMessageKey */
17500
17500
  bundleMessageKey?: (waproto.IMessageKey|null);
17501
+
17502
+ /** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory */
17503
+ editedAfterReceivedAsHistory?: (boolean|null);
17501
17504
  }
17502
17505
 
17503
17506
  /** Represents a GroupHistoryIndividualMessageInfo. */
@@ -17512,6 +17515,9 @@ export namespace waproto {
17512
17515
  /** GroupHistoryIndividualMessageInfo bundleMessageKey. */
17513
17516
  public bundleMessageKey?: (waproto.IMessageKey|null);
17514
17517
 
17518
+ /** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory. */
17519
+ public editedAfterReceivedAsHistory?: (boolean|null);
17520
+
17515
17521
  /**
17516
17522
  * Creates a new GroupHistoryIndividualMessageInfo instance using the specified properties.
17517
17523
  * @param [properties] Properties to set
@@ -21729,9 +21735,6 @@ export namespace waproto {
21729
21735
  /** Message questionResponseMessage */
21730
21736
  questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null);
21731
21737
 
21732
- /** Message newsletterFollowerInviteMessage */
21733
- newsletterFollowerInviteMessage?: (waproto.Message.INewsletterFollowerInviteMessage|null);
21734
-
21735
21738
  /** Message statusQuotedMessage */
21736
21739
  statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null);
21737
21740
 
@@ -22030,9 +22033,6 @@ export namespace waproto {
22030
22033
  /** Message questionResponseMessage. */
22031
22034
  public questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null);
22032
22035
 
22033
- /** Message newsletterFollowerInviteMessage. */
22034
- public newsletterFollowerInviteMessage?: (waproto.Message.INewsletterFollowerInviteMessage|null);
22035
-
22036
22036
  /** Message statusQuotedMessage. */
22037
22037
  public statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null);
22038
22038
 
@@ -33007,13 +33007,13 @@ export namespace waproto {
33007
33007
  interface IGalaxyFlowAction {
33008
33008
 
33009
33009
  /** GalaxyFlowAction type */
33010
- type: waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType;
33010
+ type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null);
33011
33011
 
33012
33012
  /** GalaxyFlowAction flowId */
33013
- flowId: string;
33013
+ flowId?: (string|null);
33014
33014
 
33015
33015
  /** GalaxyFlowAction stanzaId */
33016
- stanzaId: string;
33016
+ stanzaId?: (string|null);
33017
33017
  }
33018
33018
 
33019
33019
  /** Represents a GalaxyFlowAction. */
@@ -33026,13 +33026,13 @@ export namespace waproto {
33026
33026
  constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction);
33027
33027
 
33028
33028
  /** GalaxyFlowAction type. */
33029
- public type: waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType;
33029
+ public type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null);
33030
33030
 
33031
33031
  /** GalaxyFlowAction flowId. */
33032
- public flowId: string;
33032
+ public flowId?: (string|null);
33033
33033
 
33034
33034
  /** GalaxyFlowAction stanzaId. */
33035
- public stanzaId: string;
33035
+ public stanzaId?: (string|null);
33036
33036
 
33037
33037
  /**
33038
33038
  * Creates a new GalaxyFlowAction instance using the specified properties.
package/dist/index.js CHANGED
@@ -54766,6 +54766,7 @@ $root.waproto = (function() {
54766
54766
  * @memberof waproto
54767
54767
  * @interface IGroupHistoryIndividualMessageInfo
54768
54768
  * @property {waproto.IMessageKey|null} [bundleMessageKey] GroupHistoryIndividualMessageInfo bundleMessageKey
54769
+ * @property {boolean|null} [editedAfterReceivedAsHistory] GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory
54769
54770
  */
54770
54771
 
54771
54772
  /**
@@ -54791,6 +54792,14 @@ $root.waproto = (function() {
54791
54792
  */
54792
54793
  GroupHistoryIndividualMessageInfo.prototype.bundleMessageKey = null;
54793
54794
 
54795
+ /**
54796
+ * GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory.
54797
+ * @member {boolean|null|undefined} editedAfterReceivedAsHistory
54798
+ * @memberof waproto.GroupHistoryIndividualMessageInfo
54799
+ * @instance
54800
+ */
54801
+ GroupHistoryIndividualMessageInfo.prototype.editedAfterReceivedAsHistory = null;
54802
+
54794
54803
  // OneOf field names bound to virtual getters and setters
54795
54804
  var $oneOfFields;
54796
54805
 
@@ -54800,6 +54809,12 @@ $root.waproto = (function() {
54800
54809
  set: $util.oneOfSetter($oneOfFields)
54801
54810
  });
54802
54811
 
54812
+ // Virtual OneOf for proto3 optional field
54813
+ Object.defineProperty(GroupHistoryIndividualMessageInfo.prototype, "_editedAfterReceivedAsHistory", {
54814
+ get: $util.oneOfGetter($oneOfFields = ["editedAfterReceivedAsHistory"]),
54815
+ set: $util.oneOfSetter($oneOfFields)
54816
+ });
54817
+
54803
54818
  /**
54804
54819
  * Creates a new GroupHistoryIndividualMessageInfo instance using the specified properties.
54805
54820
  * @function create
@@ -54826,6 +54841,8 @@ $root.waproto = (function() {
54826
54841
  writer = $Writer.create();
54827
54842
  if (message.bundleMessageKey != null && Object.hasOwnProperty.call(message, "bundleMessageKey"))
54828
54843
  $root.waproto.MessageKey.encode(message.bundleMessageKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
54844
+ if (message.editedAfterReceivedAsHistory != null && Object.hasOwnProperty.call(message, "editedAfterReceivedAsHistory"))
54845
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.editedAfterReceivedAsHistory);
54829
54846
  return writer;
54830
54847
  };
54831
54848
 
@@ -54864,6 +54881,10 @@ $root.waproto = (function() {
54864
54881
  message.bundleMessageKey = $root.waproto.MessageKey.decode(reader, reader.uint32());
54865
54882
  break;
54866
54883
  }
54884
+ case 2: {
54885
+ message.editedAfterReceivedAsHistory = reader.bool();
54886
+ break;
54887
+ }
54867
54888
  default:
54868
54889
  reader.skipType(tag & 7);
54869
54890
  break;
@@ -54908,6 +54929,11 @@ $root.waproto = (function() {
54908
54929
  return "bundleMessageKey." + error;
54909
54930
  }
54910
54931
  }
54932
+ if (message.editedAfterReceivedAsHistory != null && message.hasOwnProperty("editedAfterReceivedAsHistory")) {
54933
+ properties._editedAfterReceivedAsHistory = 1;
54934
+ if (typeof message.editedAfterReceivedAsHistory !== "boolean")
54935
+ return "editedAfterReceivedAsHistory: boolean expected";
54936
+ }
54911
54937
  return null;
54912
54938
  };
54913
54939
 
@@ -54928,6 +54954,8 @@ $root.waproto = (function() {
54928
54954
  throw TypeError(".waproto.GroupHistoryIndividualMessageInfo.bundleMessageKey: object expected");
54929
54955
  message.bundleMessageKey = $root.waproto.MessageKey.fromObject(object.bundleMessageKey);
54930
54956
  }
54957
+ if (object.editedAfterReceivedAsHistory != null)
54958
+ message.editedAfterReceivedAsHistory = Boolean(object.editedAfterReceivedAsHistory);
54931
54959
  return message;
54932
54960
  };
54933
54961
 
@@ -54949,6 +54977,11 @@ $root.waproto = (function() {
54949
54977
  if (options.oneofs)
54950
54978
  object._bundleMessageKey = "bundleMessageKey";
54951
54979
  }
54980
+ if (message.editedAfterReceivedAsHistory != null && message.hasOwnProperty("editedAfterReceivedAsHistory")) {
54981
+ object.editedAfterReceivedAsHistory = message.editedAfterReceivedAsHistory;
54982
+ if (options.oneofs)
54983
+ object._editedAfterReceivedAsHistory = "editedAfterReceivedAsHistory";
54984
+ }
54952
54985
  return object;
54953
54986
  };
54954
54987
 
@@ -66065,7 +66098,6 @@ $root.waproto = (function() {
66065
66098
  * @property {waproto.Message.IStatusQuestionAnswerMessage|null} [statusQuestionAnswerMessage] Message statusQuestionAnswerMessage
66066
66099
  * @property {waproto.Message.IFutureProofMessage|null} [questionReplyMessage] Message questionReplyMessage
66067
66100
  * @property {waproto.Message.IQuestionResponseMessage|null} [questionResponseMessage] Message questionResponseMessage
66068
- * @property {waproto.Message.INewsletterFollowerInviteMessage|null} [newsletterFollowerInviteMessage] Message newsletterFollowerInviteMessage
66069
66101
  * @property {waproto.Message.IStatusQuotedMessage|null} [statusQuotedMessage] Message statusQuotedMessage
66070
66102
  * @property {waproto.Message.IStatusStickerInteractionMessage|null} [statusStickerInteractionMessage] Message statusStickerInteractionMessage
66071
66103
  * @property {waproto.Message.IPollCreationMessage|null} [pollCreationMessageV5] Message pollCreationMessageV5
@@ -66809,14 +66841,6 @@ $root.waproto = (function() {
66809
66841
  */
66810
66842
  Message.prototype.questionResponseMessage = null;
66811
66843
 
66812
- /**
66813
- * Message newsletterFollowerInviteMessage.
66814
- * @member {waproto.Message.INewsletterFollowerInviteMessage|null|undefined} newsletterFollowerInviteMessage
66815
- * @memberof waproto.Message
66816
- * @instance
66817
- */
66818
- Message.prototype.newsletterFollowerInviteMessage = null;
66819
-
66820
66844
  /**
66821
66845
  * Message statusQuotedMessage.
66822
66846
  * @member {waproto.Message.IStatusQuotedMessage|null|undefined} statusQuotedMessage
@@ -67408,12 +67432,6 @@ $root.waproto = (function() {
67408
67432
  set: $util.oneOfSetter($oneOfFields)
67409
67433
  });
67410
67434
 
67411
- // Virtual OneOf for proto3 optional field
67412
- Object.defineProperty(Message.prototype, "_newsletterFollowerInviteMessage", {
67413
- get: $util.oneOfGetter($oneOfFields = ["newsletterFollowerInviteMessage"]),
67414
- set: $util.oneOfSetter($oneOfFields)
67415
- });
67416
-
67417
67435
  // Virtual OneOf for proto3 optional field
67418
67436
  Object.defineProperty(Message.prototype, "_statusQuotedMessage", {
67419
67437
  get: $util.oneOfGetter($oneOfFields = ["statusQuotedMessage"]),
@@ -67654,8 +67672,6 @@ $root.waproto = (function() {
67654
67672
  $root.waproto.Message.FutureProofMessage.encode(message.questionReplyMessage, writer.uint32(/* id 106, wireType 2 =*/850).fork()).ldelim();
67655
67673
  if (message.questionResponseMessage != null && Object.hasOwnProperty.call(message, "questionResponseMessage"))
67656
67674
  $root.waproto.Message.QuestionResponseMessage.encode(message.questionResponseMessage, writer.uint32(/* id 107, wireType 2 =*/858).fork()).ldelim();
67657
- if (message.newsletterFollowerInviteMessage != null && Object.hasOwnProperty.call(message, "newsletterFollowerInviteMessage"))
67658
- $root.waproto.Message.NewsletterFollowerInviteMessage.encode(message.newsletterFollowerInviteMessage, writer.uint32(/* id 108, wireType 2 =*/866).fork()).ldelim();
67659
67675
  if (message.statusQuotedMessage != null && Object.hasOwnProperty.call(message, "statusQuotedMessage"))
67660
67676
  $root.waproto.Message.StatusQuotedMessage.encode(message.statusQuotedMessage, writer.uint32(/* id 109, wireType 2 =*/874).fork()).ldelim();
67661
67677
  if (message.statusStickerInteractionMessage != null && Object.hasOwnProperty.call(message, "statusStickerInteractionMessage"))
@@ -68062,10 +68078,6 @@ $root.waproto = (function() {
68062
68078
  message.questionResponseMessage = $root.waproto.Message.QuestionResponseMessage.decode(reader, reader.uint32());
68063
68079
  break;
68064
68080
  }
68065
- case 108: {
68066
- message.newsletterFollowerInviteMessage = $root.waproto.Message.NewsletterFollowerInviteMessage.decode(reader, reader.uint32());
68067
- break;
68068
- }
68069
68081
  case 109: {
68070
68082
  message.statusQuotedMessage = $root.waproto.Message.StatusQuotedMessage.decode(reader, reader.uint32());
68071
68083
  break;
@@ -68843,14 +68855,6 @@ $root.waproto = (function() {
68843
68855
  return "questionResponseMessage." + error;
68844
68856
  }
68845
68857
  }
68846
- if (message.newsletterFollowerInviteMessage != null && message.hasOwnProperty("newsletterFollowerInviteMessage")) {
68847
- properties._newsletterFollowerInviteMessage = 1;
68848
- {
68849
- var error = $root.waproto.Message.NewsletterFollowerInviteMessage.verify(message.newsletterFollowerInviteMessage);
68850
- if (error)
68851
- return "newsletterFollowerInviteMessage." + error;
68852
- }
68853
- }
68854
68858
  if (message.statusQuotedMessage != null && message.hasOwnProperty("statusQuotedMessage")) {
68855
68859
  properties._statusQuotedMessage = 1;
68856
68860
  {
@@ -69361,11 +69365,6 @@ $root.waproto = (function() {
69361
69365
  throw TypeError(".waproto.Message.questionResponseMessage: object expected");
69362
69366
  message.questionResponseMessage = $root.waproto.Message.QuestionResponseMessage.fromObject(object.questionResponseMessage);
69363
69367
  }
69364
- if (object.newsletterFollowerInviteMessage != null) {
69365
- if (typeof object.newsletterFollowerInviteMessage !== "object")
69366
- throw TypeError(".waproto.Message.newsletterFollowerInviteMessage: object expected");
69367
- message.newsletterFollowerInviteMessage = $root.waproto.Message.NewsletterFollowerInviteMessage.fromObject(object.newsletterFollowerInviteMessage);
69368
- }
69369
69368
  if (object.statusQuotedMessage != null) {
69370
69369
  if (typeof object.statusQuotedMessage !== "object")
69371
69370
  throw TypeError(".waproto.Message.statusQuotedMessage: object expected");
@@ -69862,11 +69861,6 @@ $root.waproto = (function() {
69862
69861
  if (options.oneofs)
69863
69862
  object._questionResponseMessage = "questionResponseMessage";
69864
69863
  }
69865
- if (message.newsletterFollowerInviteMessage != null && message.hasOwnProperty("newsletterFollowerInviteMessage")) {
69866
- object.newsletterFollowerInviteMessage = $root.waproto.Message.NewsletterFollowerInviteMessage.toObject(message.newsletterFollowerInviteMessage, options);
69867
- if (options.oneofs)
69868
- object._newsletterFollowerInviteMessage = "newsletterFollowerInviteMessage";
69869
- }
69870
69864
  if (message.statusQuotedMessage != null && message.hasOwnProperty("statusQuotedMessage")) {
69871
69865
  object.statusQuotedMessage = $root.waproto.Message.StatusQuotedMessage.toObject(message.statusQuotedMessage, options);
69872
69866
  if (options.oneofs)
@@ -103104,9 +103098,9 @@ $root.waproto = (function() {
103104
103098
  * Properties of a GalaxyFlowAction.
103105
103099
  * @memberof waproto.Message.PeerDataOperationRequestMessage
103106
103100
  * @interface IGalaxyFlowAction
103107
- * @property {waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType} type GalaxyFlowAction type
103108
- * @property {string} flowId GalaxyFlowAction flowId
103109
- * @property {string} stanzaId GalaxyFlowAction stanzaId
103101
+ * @property {waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null} [type] GalaxyFlowAction type
103102
+ * @property {string|null} [flowId] GalaxyFlowAction flowId
103103
+ * @property {string|null} [stanzaId] GalaxyFlowAction stanzaId
103110
103104
  */
103111
103105
 
103112
103106
  /**
@@ -103126,27 +103120,48 @@ $root.waproto = (function() {
103126
103120
 
103127
103121
  /**
103128
103122
  * GalaxyFlowAction type.
103129
- * @member {waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType} type
103123
+ * @member {waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null|undefined} type
103130
103124
  * @memberof waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction
103131
103125
  * @instance
103132
103126
  */
103133
- GalaxyFlowAction.prototype.type = 1;
103127
+ GalaxyFlowAction.prototype.type = null;
103134
103128
 
103135
103129
  /**
103136
103130
  * GalaxyFlowAction flowId.
103137
- * @member {string} flowId
103131
+ * @member {string|null|undefined} flowId
103138
103132
  * @memberof waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction
103139
103133
  * @instance
103140
103134
  */
103141
- GalaxyFlowAction.prototype.flowId = "";
103135
+ GalaxyFlowAction.prototype.flowId = null;
103142
103136
 
103143
103137
  /**
103144
103138
  * GalaxyFlowAction stanzaId.
103145
- * @member {string} stanzaId
103139
+ * @member {string|null|undefined} stanzaId
103146
103140
  * @memberof waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction
103147
103141
  * @instance
103148
103142
  */
103149
- GalaxyFlowAction.prototype.stanzaId = "";
103143
+ GalaxyFlowAction.prototype.stanzaId = null;
103144
+
103145
+ // OneOf field names bound to virtual getters and setters
103146
+ var $oneOfFields;
103147
+
103148
+ // Virtual OneOf for proto3 optional field
103149
+ Object.defineProperty(GalaxyFlowAction.prototype, "_type", {
103150
+ get: $util.oneOfGetter($oneOfFields = ["type"]),
103151
+ set: $util.oneOfSetter($oneOfFields)
103152
+ });
103153
+
103154
+ // Virtual OneOf for proto3 optional field
103155
+ Object.defineProperty(GalaxyFlowAction.prototype, "_flowId", {
103156
+ get: $util.oneOfGetter($oneOfFields = ["flowId"]),
103157
+ set: $util.oneOfSetter($oneOfFields)
103158
+ });
103159
+
103160
+ // Virtual OneOf for proto3 optional field
103161
+ Object.defineProperty(GalaxyFlowAction.prototype, "_stanzaId", {
103162
+ get: $util.oneOfGetter($oneOfFields = ["stanzaId"]),
103163
+ set: $util.oneOfSetter($oneOfFields)
103164
+ });
103150
103165
 
103151
103166
  /**
103152
103167
  * Creates a new GalaxyFlowAction instance using the specified properties.
@@ -103172,9 +103187,12 @@ $root.waproto = (function() {
103172
103187
  GalaxyFlowAction.encode = function encode(message, writer) {
103173
103188
  if (!writer)
103174
103189
  writer = $Writer.create();
103175
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
103176
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.flowId);
103177
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.stanzaId);
103190
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
103191
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
103192
+ if (message.flowId != null && Object.hasOwnProperty.call(message, "flowId"))
103193
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.flowId);
103194
+ if (message.stanzaId != null && Object.hasOwnProperty.call(message, "stanzaId"))
103195
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.stanzaId);
103178
103196
  return writer;
103179
103197
  };
103180
103198
 
@@ -103226,12 +103244,6 @@ $root.waproto = (function() {
103226
103244
  break;
103227
103245
  }
103228
103246
  }
103229
- if (!message.hasOwnProperty("type"))
103230
- throw $util.ProtocolError("missing required 'type'", { instance: message });
103231
- if (!message.hasOwnProperty("flowId"))
103232
- throw $util.ProtocolError("missing required 'flowId'", { instance: message });
103233
- if (!message.hasOwnProperty("stanzaId"))
103234
- throw $util.ProtocolError("missing required 'stanzaId'", { instance: message });
103235
103247
  return message;
103236
103248
  };
103237
103249
 
@@ -103262,16 +103274,26 @@ $root.waproto = (function() {
103262
103274
  GalaxyFlowAction.verify = function verify(message) {
103263
103275
  if (typeof message !== "object" || message === null)
103264
103276
  return "object expected";
103265
- switch (message.type) {
103266
- default:
103267
- return "type: enum value expected";
103268
- case 1:
103269
- break;
103277
+ var properties = {};
103278
+ if (message.type != null && message.hasOwnProperty("type")) {
103279
+ properties._type = 1;
103280
+ switch (message.type) {
103281
+ default:
103282
+ return "type: enum value expected";
103283
+ case 1:
103284
+ break;
103285
+ }
103286
+ }
103287
+ if (message.flowId != null && message.hasOwnProperty("flowId")) {
103288
+ properties._flowId = 1;
103289
+ if (!$util.isString(message.flowId))
103290
+ return "flowId: string expected";
103291
+ }
103292
+ if (message.stanzaId != null && message.hasOwnProperty("stanzaId")) {
103293
+ properties._stanzaId = 1;
103294
+ if (!$util.isString(message.stanzaId))
103295
+ return "stanzaId: string expected";
103270
103296
  }
103271
- if (!$util.isString(message.flowId))
103272
- return "flowId: string expected";
103273
- if (!$util.isString(message.stanzaId))
103274
- return "stanzaId: string expected";
103275
103297
  return null;
103276
103298
  };
103277
103299
 
@@ -103319,17 +103341,21 @@ $root.waproto = (function() {
103319
103341
  if (!options)
103320
103342
  options = {};
103321
103343
  var object = {};
103322
- if (options.defaults) {
103323
- object.type = options.enums === String ? "NOTIFY_LAUNCH" : 1;
103324
- object.flowId = "";
103325
- object.stanzaId = "";
103326
- }
103327
- if (message.type != null && message.hasOwnProperty("type"))
103344
+ if (message.type != null && message.hasOwnProperty("type")) {
103328
103345
  object.type = options.enums === String ? $root.waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType[message.type] === undefined ? message.type : $root.waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType[message.type] : message.type;
103329
- if (message.flowId != null && message.hasOwnProperty("flowId"))
103346
+ if (options.oneofs)
103347
+ object._type = "type";
103348
+ }
103349
+ if (message.flowId != null && message.hasOwnProperty("flowId")) {
103330
103350
  object.flowId = message.flowId;
103331
- if (message.stanzaId != null && message.hasOwnProperty("stanzaId"))
103351
+ if (options.oneofs)
103352
+ object._flowId = "flowId";
103353
+ }
103354
+ if (message.stanzaId != null && message.hasOwnProperty("stanzaId")) {
103332
103355
  object.stanzaId = message.stanzaId;
103356
+ if (options.oneofs)
103357
+ object._stanzaId = "stanzaId";
103358
+ }
103333
103359
  return object;
103334
103360
  };
103335
103361
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1028088934",
3
+ "version": "2.3000.1028178858",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {