@wppconnect/wa-proto 2.3000.1029564202 → 2.3000.1029659368
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 +4 -0
- package/WAProto.proto +2 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +33 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1029659368
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -1928,6 +1928,7 @@ message InThreadSurveyMetadata {
|
|
|
1928
1928
|
optional string privacyStatementFull = 15;
|
|
1929
1929
|
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
|
|
1930
1930
|
optional string feedbackToastText = 17;
|
|
1931
|
+
optional int32 startQuestionIndex = 18;
|
|
1931
1932
|
message InThreadSurveyOption {
|
|
1932
1933
|
optional string stringValue = 1;
|
|
1933
1934
|
optional uint32 numericValue = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -20388,6 +20388,9 @@ export namespace waproto {
|
|
|
20388
20388
|
|
|
20389
20389
|
/** InThreadSurveyMetadata feedbackToastText */
|
|
20390
20390
|
feedbackToastText?: (string|null);
|
|
20391
|
+
|
|
20392
|
+
/** InThreadSurveyMetadata startQuestionIndex */
|
|
20393
|
+
startQuestionIndex?: (number|null);
|
|
20391
20394
|
}
|
|
20392
20395
|
|
|
20393
20396
|
/** Represents an InThreadSurveyMetadata. */
|
|
@@ -20450,6 +20453,9 @@ export namespace waproto {
|
|
|
20450
20453
|
/** InThreadSurveyMetadata feedbackToastText. */
|
|
20451
20454
|
public feedbackToastText?: (string|null);
|
|
20452
20455
|
|
|
20456
|
+
/** InThreadSurveyMetadata startQuestionIndex. */
|
|
20457
|
+
public startQuestionIndex?: (number|null);
|
|
20458
|
+
|
|
20453
20459
|
/**
|
|
20454
20460
|
* Creates a new InThreadSurveyMetadata instance using the specified properties.
|
|
20455
20461
|
* @param [properties] Properties to set
|
package/dist/index.js
CHANGED
|
@@ -62912,6 +62912,7 @@ $root.waproto = (function() {
|
|
|
62912
62912
|
* @property {string|null} [privacyStatementFull] InThreadSurveyMetadata privacyStatementFull
|
|
62913
62913
|
* @property {Array.<waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart>|null} [privacyStatementParts] InThreadSurveyMetadata privacyStatementParts
|
|
62914
62914
|
* @property {string|null} [feedbackToastText] InThreadSurveyMetadata feedbackToastText
|
|
62915
|
+
* @property {number|null} [startQuestionIndex] InThreadSurveyMetadata startQuestionIndex
|
|
62915
62916
|
*/
|
|
62916
62917
|
|
|
62917
62918
|
/**
|
|
@@ -63067,6 +63068,14 @@ $root.waproto = (function() {
|
|
|
63067
63068
|
*/
|
|
63068
63069
|
InThreadSurveyMetadata.prototype.feedbackToastText = null;
|
|
63069
63070
|
|
|
63071
|
+
/**
|
|
63072
|
+
* InThreadSurveyMetadata startQuestionIndex.
|
|
63073
|
+
* @member {number|null|undefined} startQuestionIndex
|
|
63074
|
+
* @memberof waproto.InThreadSurveyMetadata
|
|
63075
|
+
* @instance
|
|
63076
|
+
*/
|
|
63077
|
+
InThreadSurveyMetadata.prototype.startQuestionIndex = null;
|
|
63078
|
+
|
|
63070
63079
|
// OneOf field names bound to virtual getters and setters
|
|
63071
63080
|
var $oneOfFields;
|
|
63072
63081
|
|
|
@@ -63160,6 +63169,12 @@ $root.waproto = (function() {
|
|
|
63160
63169
|
set: $util.oneOfSetter($oneOfFields)
|
|
63161
63170
|
});
|
|
63162
63171
|
|
|
63172
|
+
// Virtual OneOf for proto3 optional field
|
|
63173
|
+
Object.defineProperty(InThreadSurveyMetadata.prototype, "_startQuestionIndex", {
|
|
63174
|
+
get: $util.oneOfGetter($oneOfFields = ["startQuestionIndex"]),
|
|
63175
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
63176
|
+
});
|
|
63177
|
+
|
|
63163
63178
|
/**
|
|
63164
63179
|
* Creates a new InThreadSurveyMetadata instance using the specified properties.
|
|
63165
63180
|
* @function create
|
|
@@ -63220,6 +63235,8 @@ $root.waproto = (function() {
|
|
|
63220
63235
|
$root.waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.encode(message.privacyStatementParts[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
63221
63236
|
if (message.feedbackToastText != null && Object.hasOwnProperty.call(message, "feedbackToastText"))
|
|
63222
63237
|
writer.uint32(/* id 17, wireType 2 =*/138).string(message.feedbackToastText);
|
|
63238
|
+
if (message.startQuestionIndex != null && Object.hasOwnProperty.call(message, "startQuestionIndex"))
|
|
63239
|
+
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.startQuestionIndex);
|
|
63223
63240
|
return writer;
|
|
63224
63241
|
};
|
|
63225
63242
|
|
|
@@ -63326,6 +63343,10 @@ $root.waproto = (function() {
|
|
|
63326
63343
|
message.feedbackToastText = reader.string();
|
|
63327
63344
|
break;
|
|
63328
63345
|
}
|
|
63346
|
+
case 18: {
|
|
63347
|
+
message.startQuestionIndex = reader.int32();
|
|
63348
|
+
break;
|
|
63349
|
+
}
|
|
63329
63350
|
default:
|
|
63330
63351
|
reader.skipType(tag & 7);
|
|
63331
63352
|
break;
|
|
@@ -63455,6 +63476,11 @@ $root.waproto = (function() {
|
|
|
63455
63476
|
if (!$util.isString(message.feedbackToastText))
|
|
63456
63477
|
return "feedbackToastText: string expected";
|
|
63457
63478
|
}
|
|
63479
|
+
if (message.startQuestionIndex != null && message.hasOwnProperty("startQuestionIndex")) {
|
|
63480
|
+
properties._startQuestionIndex = 1;
|
|
63481
|
+
if (!$util.isInteger(message.startQuestionIndex))
|
|
63482
|
+
return "startQuestionIndex: integer expected";
|
|
63483
|
+
}
|
|
63458
63484
|
return null;
|
|
63459
63485
|
};
|
|
63460
63486
|
|
|
@@ -63520,6 +63546,8 @@ $root.waproto = (function() {
|
|
|
63520
63546
|
}
|
|
63521
63547
|
if (object.feedbackToastText != null)
|
|
63522
63548
|
message.feedbackToastText = String(object.feedbackToastText);
|
|
63549
|
+
if (object.startQuestionIndex != null)
|
|
63550
|
+
message.startQuestionIndex = object.startQuestionIndex | 0;
|
|
63523
63551
|
return message;
|
|
63524
63552
|
};
|
|
63525
63553
|
|
|
@@ -63625,6 +63653,11 @@ $root.waproto = (function() {
|
|
|
63625
63653
|
if (options.oneofs)
|
|
63626
63654
|
object._feedbackToastText = "feedbackToastText";
|
|
63627
63655
|
}
|
|
63656
|
+
if (message.startQuestionIndex != null && message.hasOwnProperty("startQuestionIndex")) {
|
|
63657
|
+
object.startQuestionIndex = message.startQuestionIndex;
|
|
63658
|
+
if (options.oneofs)
|
|
63659
|
+
object._startQuestionIndex = "startQuestionIndex";
|
|
63660
|
+
}
|
|
63628
63661
|
return object;
|
|
63629
63662
|
};
|
|
63630
63663
|
|