@wppconnect/wa-proto 2.3000.1055398528 → 2.3000.1055538507
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 +12 -2
- package/dist/index.d.ts +48 -7
- package/dist/index.js +215 -33
- package/package.json +1 -1
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.1055538507
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -519,6 +519,7 @@ message BotCapabilityMetadata {
|
|
|
519
519
|
AI_RICH_RESPONSE_ITEM_LISTS_ENABLED = 88;
|
|
520
520
|
RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH = 89;
|
|
521
521
|
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90;
|
|
522
|
+
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91;
|
|
522
523
|
}
|
|
523
524
|
}
|
|
524
525
|
|
|
@@ -3490,6 +3491,7 @@ message Message {
|
|
|
3490
3491
|
|
|
3491
3492
|
message InitialSecurityNotificationSettingSync {
|
|
3492
3493
|
optional bool securityNotificationEnabled = 1;
|
|
3494
|
+
optional int32 initialAppTheme = 2;
|
|
3493
3495
|
}
|
|
3494
3496
|
|
|
3495
3497
|
enum InsightDeliveryState {
|
|
@@ -4248,6 +4250,7 @@ message Message {
|
|
|
4248
4250
|
message Option {
|
|
4249
4251
|
optional string optionName = 1;
|
|
4250
4252
|
optional string optionHash = 2;
|
|
4253
|
+
optional int64 optionDatetime = 3;
|
|
4251
4254
|
}
|
|
4252
4255
|
|
|
4253
4256
|
}
|
|
@@ -4357,6 +4360,11 @@ message Message {
|
|
|
4357
4360
|
optional GroupRootKeyRequest groupRootKeyRequest = 39;
|
|
4358
4361
|
optional MembershipFormKeyFingerprintVerification membershipFormKeyFingerprintVerification = 40;
|
|
4359
4362
|
optional GroupRootKeyShare groupRootKeyShare = 41;
|
|
4363
|
+
optional MessageEditDisplayType messageEditDisplayType = 42;
|
|
4364
|
+
enum MessageEditDisplayType {
|
|
4365
|
+
DEFAULT = 0;
|
|
4366
|
+
LINK_PREVIEW_ONLY = 1;
|
|
4367
|
+
}
|
|
4360
4368
|
enum Type {
|
|
4361
4369
|
REVOKE = 0;
|
|
4362
4370
|
EPHEMERAL_SETTING = 3;
|
|
@@ -4869,7 +4877,6 @@ message MessageContextInfo {
|
|
|
4869
4877
|
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4870
4878
|
optional string teeContextAnchorMessageId = 20;
|
|
4871
4879
|
optional ACP2Setting acp2Setting = 21;
|
|
4872
|
-
optional bool lightE2Ee = 22;
|
|
4873
4880
|
enum MessageAddonExpiryType {
|
|
4874
4881
|
STATIC = 1;
|
|
4875
4882
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -6079,6 +6086,7 @@ message SyncActionValue {
|
|
|
6079
6086
|
optional string pnJid = 5;
|
|
6080
6087
|
optional string username = 6;
|
|
6081
6088
|
optional string birthday = 7;
|
|
6089
|
+
optional int32 nonE2EeType = 8;
|
|
6082
6090
|
}
|
|
6083
6091
|
|
|
6084
6092
|
message ContactManagerMetadataAction {
|
|
@@ -6232,6 +6240,7 @@ message SyncActionValue {
|
|
|
6232
6240
|
optional string firstName = 2;
|
|
6233
6241
|
optional string username = 3;
|
|
6234
6242
|
optional string birthday = 4;
|
|
6243
|
+
optional int32 nonE2EeType = 5;
|
|
6235
6244
|
}
|
|
6236
6245
|
|
|
6237
6246
|
message LocaleSetting {
|
|
@@ -7262,6 +7271,7 @@ message WebMessageInfo {
|
|
|
7262
7271
|
SPLIT_PAYMENT_MARKED_AS_PAID = 289;
|
|
7263
7272
|
POLL_OPTIONS_REMOVED = 290;
|
|
7264
7273
|
POLL_ADDED_OPTION_REMOVED = 291;
|
|
7274
|
+
POLL_OPTION_ADDED = 292;
|
|
7265
7275
|
GROUP_CUSTOM_REACTIONS = 293;
|
|
7266
7276
|
}
|
|
7267
7277
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7372,7 +7372,10 @@ export namespace waproto {
|
|
|
7372
7372
|
RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH = 89,
|
|
7373
7373
|
|
|
7374
7374
|
/** AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED value */
|
|
7375
|
-
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90
|
|
7375
|
+
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90,
|
|
7376
|
+
|
|
7377
|
+
/** AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED value */
|
|
7378
|
+
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91
|
|
7376
7379
|
}
|
|
7377
7380
|
}
|
|
7378
7381
|
|
|
@@ -46682,6 +46685,9 @@ export namespace waproto {
|
|
|
46682
46685
|
/** InitialSecurityNotificationSettingSync securityNotificationEnabled. */
|
|
46683
46686
|
securityNotificationEnabled?: (boolean|null);
|
|
46684
46687
|
|
|
46688
|
+
/** InitialSecurityNotificationSettingSync initialAppTheme. */
|
|
46689
|
+
initialAppTheme?: (number|null);
|
|
46690
|
+
|
|
46685
46691
|
/**
|
|
46686
46692
|
* Creates a new InitialSecurityNotificationSettingSync instance using the specified properties.
|
|
46687
46693
|
* @param [properties] Properties to set
|
|
@@ -46769,6 +46775,9 @@ export namespace waproto {
|
|
|
46769
46775
|
/** InitialSecurityNotificationSettingSync securityNotificationEnabled */
|
|
46770
46776
|
securityNotificationEnabled?: (boolean|null);
|
|
46771
46777
|
|
|
46778
|
+
/** InitialSecurityNotificationSettingSync initialAppTheme */
|
|
46779
|
+
initialAppTheme?: (number|null);
|
|
46780
|
+
|
|
46772
46781
|
/** Unknown fields preserved while decoding when enabled */
|
|
46773
46782
|
$unknowns?: Uint8Array[];
|
|
46774
46783
|
}
|
|
@@ -58427,6 +58436,9 @@ export namespace waproto {
|
|
|
58427
58436
|
/** Option optionHash. */
|
|
58428
58437
|
optionHash?: (string|null);
|
|
58429
58438
|
|
|
58439
|
+
/** Option optionDatetime. */
|
|
58440
|
+
optionDatetime?: (number|Long|null);
|
|
58441
|
+
|
|
58430
58442
|
/**
|
|
58431
58443
|
* Creates a new Option instance using the specified properties.
|
|
58432
58444
|
* @param [properties] Properties to set
|
|
@@ -58517,6 +58529,9 @@ export namespace waproto {
|
|
|
58517
58529
|
/** Option optionHash */
|
|
58518
58530
|
optionHash?: (string|null);
|
|
58519
58531
|
|
|
58532
|
+
/** Option optionDatetime */
|
|
58533
|
+
optionDatetime?: (number|Long|null);
|
|
58534
|
+
|
|
58520
58535
|
/** Unknown fields preserved while decoding when enabled */
|
|
58521
58536
|
$unknowns?: Uint8Array[];
|
|
58522
58537
|
}
|
|
@@ -59914,6 +59929,9 @@ export namespace waproto {
|
|
|
59914
59929
|
/** ProtocolMessage groupRootKeyShare. */
|
|
59915
59930
|
groupRootKeyShare?: (waproto.GroupRootKeyShare.$Properties|null);
|
|
59916
59931
|
|
|
59932
|
+
/** ProtocolMessage messageEditDisplayType. */
|
|
59933
|
+
messageEditDisplayType?: (waproto.Message.ProtocolMessage.MessageEditDisplayType|null);
|
|
59934
|
+
|
|
59917
59935
|
/**
|
|
59918
59936
|
* Creates a new ProtocolMessage instance using the specified properties.
|
|
59919
59937
|
* @param [properties] Properties to set
|
|
@@ -60109,6 +60127,9 @@ export namespace waproto {
|
|
|
60109
60127
|
/** ProtocolMessage groupRootKeyShare */
|
|
60110
60128
|
groupRootKeyShare?: (waproto.GroupRootKeyShare.$Properties|null);
|
|
60111
60129
|
|
|
60130
|
+
/** ProtocolMessage messageEditDisplayType */
|
|
60131
|
+
messageEditDisplayType?: (waproto.Message.ProtocolMessage.MessageEditDisplayType|null);
|
|
60132
|
+
|
|
60112
60133
|
/** Unknown fields preserved while decoding when enabled */
|
|
60113
60134
|
$unknowns?: Uint8Array[];
|
|
60114
60135
|
}
|
|
@@ -60152,9 +60173,20 @@ export namespace waproto {
|
|
|
60152
60173
|
groupRootKeyRequest?: waproto.GroupRootKeyRequest.$Shape|null;
|
|
60153
60174
|
membershipFormKeyFingerprintVerification?: waproto.MembershipFormKeyFingerprintVerification.$Shape|null;
|
|
60154
60175
|
groupRootKeyShare?: waproto.GroupRootKeyShare.$Shape|null;
|
|
60176
|
+
messageEditDisplayType?: waproto.Message.ProtocolMessage.MessageEditDisplayType|null;
|
|
60155
60177
|
$unknowns?: Uint8Array[];
|
|
60156
60178
|
};
|
|
60157
60179
|
|
|
60180
|
+
/** MessageEditDisplayType enum. */
|
|
60181
|
+
enum MessageEditDisplayType {
|
|
60182
|
+
|
|
60183
|
+
/** DEFAULT value */
|
|
60184
|
+
DEFAULT = 0,
|
|
60185
|
+
|
|
60186
|
+
/** LINK_PREVIEW_ONLY value */
|
|
60187
|
+
LINK_PREVIEW_ONLY = 1
|
|
60188
|
+
}
|
|
60189
|
+
|
|
60158
60190
|
/** Type enum. */
|
|
60159
60191
|
enum Type {
|
|
60160
60192
|
|
|
@@ -66420,9 +66452,6 @@ export namespace waproto {
|
|
|
66420
66452
|
/** MessageContextInfo acp2Setting. */
|
|
66421
66453
|
acp2Setting?: (waproto.ACP2Setting.$Properties|null);
|
|
66422
66454
|
|
|
66423
|
-
/** MessageContextInfo lightE2Ee. */
|
|
66424
|
-
lightE2Ee?: (boolean|null);
|
|
66425
|
-
|
|
66426
66455
|
/**
|
|
66427
66456
|
* Creates a new MessageContextInfo instance using the specified properties.
|
|
66428
66457
|
* @param [properties] Properties to set
|
|
@@ -66570,9 +66599,6 @@ export namespace waproto {
|
|
|
66570
66599
|
/** MessageContextInfo acp2Setting */
|
|
66571
66600
|
acp2Setting?: (waproto.ACP2Setting.$Properties|null);
|
|
66572
66601
|
|
|
66573
|
-
/** MessageContextInfo lightE2Ee */
|
|
66574
|
-
lightE2Ee?: (boolean|null);
|
|
66575
|
-
|
|
66576
66602
|
/** Unknown fields preserved while decoding when enabled */
|
|
66577
66603
|
$unknowns?: Uint8Array[];
|
|
66578
66604
|
}
|
|
@@ -82953,6 +82979,9 @@ export namespace waproto {
|
|
|
82953
82979
|
/** ContactAction birthday. */
|
|
82954
82980
|
birthday?: (string|null);
|
|
82955
82981
|
|
|
82982
|
+
/** ContactAction nonE2EeType. */
|
|
82983
|
+
nonE2EeType?: (number|null);
|
|
82984
|
+
|
|
82956
82985
|
/**
|
|
82957
82986
|
* Creates a new ContactAction instance using the specified properties.
|
|
82958
82987
|
* @param [properties] Properties to set
|
|
@@ -83058,6 +83087,9 @@ export namespace waproto {
|
|
|
83058
83087
|
/** ContactAction birthday */
|
|
83059
83088
|
birthday?: (string|null);
|
|
83060
83089
|
|
|
83090
|
+
/** ContactAction nonE2EeType */
|
|
83091
|
+
nonE2EeType?: (number|null);
|
|
83092
|
+
|
|
83061
83093
|
/** Unknown fields preserved while decoding when enabled */
|
|
83062
83094
|
$unknowns?: Uint8Array[];
|
|
83063
83095
|
}
|
|
@@ -85920,6 +85952,9 @@ export namespace waproto {
|
|
|
85920
85952
|
/** LidContactAction birthday. */
|
|
85921
85953
|
birthday?: (string|null);
|
|
85922
85954
|
|
|
85955
|
+
/** LidContactAction nonE2EeType. */
|
|
85956
|
+
nonE2EeType?: (number|null);
|
|
85957
|
+
|
|
85923
85958
|
/**
|
|
85924
85959
|
* Creates a new LidContactAction instance using the specified properties.
|
|
85925
85960
|
* @param [properties] Properties to set
|
|
@@ -86016,6 +86051,9 @@ export namespace waproto {
|
|
|
86016
86051
|
/** LidContactAction birthday */
|
|
86017
86052
|
birthday?: (string|null);
|
|
86018
86053
|
|
|
86054
|
+
/** LidContactAction nonE2EeType */
|
|
86055
|
+
nonE2EeType?: (number|null);
|
|
86056
|
+
|
|
86019
86057
|
/** Unknown fields preserved while decoding when enabled */
|
|
86020
86058
|
$unknowns?: Uint8Array[];
|
|
86021
86059
|
}
|
|
@@ -98603,6 +98641,9 @@ export namespace waproto {
|
|
|
98603
98641
|
/** POLL_ADDED_OPTION_REMOVED value */
|
|
98604
98642
|
POLL_ADDED_OPTION_REMOVED = 291,
|
|
98605
98643
|
|
|
98644
|
+
/** POLL_OPTION_ADDED value */
|
|
98645
|
+
POLL_OPTION_ADDED = 292,
|
|
98646
|
+
|
|
98606
98647
|
/** GROUP_CUSTOM_REACTIONS value */
|
|
98607
98648
|
GROUP_CUSTOM_REACTIONS = 293
|
|
98608
98649
|
}
|
package/dist/index.js
CHANGED
|
@@ -20028,6 +20028,10 @@ $root.waproto = (function() {
|
|
|
20028
20028
|
case 90:
|
|
20029
20029
|
message.capabilities[message.capabilities.length] = 90;
|
|
20030
20030
|
break;
|
|
20031
|
+
case "AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED":
|
|
20032
|
+
case 91:
|
|
20033
|
+
message.capabilities[message.capabilities.length] = 91;
|
|
20034
|
+
break;
|
|
20031
20035
|
default:
|
|
20032
20036
|
if (typeof object.capabilities[i] === "number" && (object.capabilities[i] | 0) === object.capabilities[i])
|
|
20033
20037
|
message.capabilities[message.capabilities.length] = object.capabilities[i];
|
|
@@ -20183,6 +20187,7 @@ $root.waproto = (function() {
|
|
|
20183
20187
|
* @property {number} AI_RICH_RESPONSE_ITEM_LISTS_ENABLED=88 AI_RICH_RESPONSE_ITEM_LISTS_ENABLED value
|
|
20184
20188
|
* @property {number} RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH=89 RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH value
|
|
20185
20189
|
* @property {number} AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED=90 AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED value
|
|
20190
|
+
* @property {number} AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED=91 AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED value
|
|
20186
20191
|
*/
|
|
20187
20192
|
BotCapabilityMetadata.BotCapabilityType = (function() {
|
|
20188
20193
|
var valuesById = $Object.create(null), values = $Object.create(valuesById);
|
|
@@ -20277,6 +20282,7 @@ $root.waproto = (function() {
|
|
|
20277
20282
|
values[valuesById[88] = "AI_RICH_RESPONSE_ITEM_LISTS_ENABLED"] = 88;
|
|
20278
20283
|
values[valuesById[89] = "RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH"] = 89;
|
|
20279
20284
|
values[valuesById[90] = "AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED"] = 90;
|
|
20285
|
+
values[valuesById[91] = "AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED"] = 91;
|
|
20280
20286
|
return values;
|
|
20281
20287
|
})();
|
|
20282
20288
|
|
|
@@ -140433,6 +140439,7 @@ $root.waproto = (function() {
|
|
|
140433
140439
|
* Properties of an InitialSecurityNotificationSettingSync.
|
|
140434
140440
|
* @typedef {Object} waproto.Message.InitialSecurityNotificationSettingSync.$Properties
|
|
140435
140441
|
* @property {boolean|null} [securityNotificationEnabled] InitialSecurityNotificationSettingSync securityNotificationEnabled
|
|
140442
|
+
* @property {number|null} [initialAppTheme] InitialSecurityNotificationSettingSync initialAppTheme
|
|
140436
140443
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
140437
140444
|
*/
|
|
140438
140445
|
|
|
@@ -140472,6 +140479,14 @@ $root.waproto = (function() {
|
|
|
140472
140479
|
*/
|
|
140473
140480
|
InitialSecurityNotificationSettingSync.prototype.securityNotificationEnabled = null;
|
|
140474
140481
|
|
|
140482
|
+
/**
|
|
140483
|
+
* InitialSecurityNotificationSettingSync initialAppTheme.
|
|
140484
|
+
* @member {number|null|undefined} initialAppTheme
|
|
140485
|
+
* @memberof waproto.Message.InitialSecurityNotificationSettingSync
|
|
140486
|
+
* @instance
|
|
140487
|
+
*/
|
|
140488
|
+
InitialSecurityNotificationSettingSync.prototype.initialAppTheme = null;
|
|
140489
|
+
|
|
140475
140490
|
// OneOf field names bound to virtual getters and setters
|
|
140476
140491
|
var $oneOfFields;
|
|
140477
140492
|
|
|
@@ -140481,6 +140496,12 @@ $root.waproto = (function() {
|
|
|
140481
140496
|
set: $util.oneOfSetter($oneOfFields)
|
|
140482
140497
|
});
|
|
140483
140498
|
|
|
140499
|
+
// Virtual OneOf for proto3 optional field
|
|
140500
|
+
$Object.defineProperty(InitialSecurityNotificationSettingSync.prototype, "_initialAppTheme", {
|
|
140501
|
+
get: $util.oneOfGetter($oneOfFields = ["initialAppTheme"]),
|
|
140502
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
140503
|
+
});
|
|
140504
|
+
|
|
140484
140505
|
/**
|
|
140485
140506
|
* Creates a new InitialSecurityNotificationSettingSync instance using the specified properties.
|
|
140486
140507
|
* @function create
|
|
@@ -140515,6 +140536,8 @@ $root.waproto = (function() {
|
|
|
140515
140536
|
throw $Error("max depth exceeded");
|
|
140516
140537
|
if (message.securityNotificationEnabled != null && $Object.hasOwnProperty.call(message, "securityNotificationEnabled"))
|
|
140517
140538
|
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.securityNotificationEnabled);
|
|
140539
|
+
if (message.initialAppTheme != null && $Object.hasOwnProperty.call(message, "initialAppTheme"))
|
|
140540
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.initialAppTheme);
|
|
140518
140541
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
140519
140542
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
140520
140543
|
writer.raw(message.$unknowns[i]);
|
|
@@ -140579,6 +140602,13 @@ $root.waproto = (function() {
|
|
|
140579
140602
|
message._securityNotificationEnabled = "securityNotificationEnabled";
|
|
140580
140603
|
continue;
|
|
140581
140604
|
}
|
|
140605
|
+
case 2: {
|
|
140606
|
+
if (wireType !== 0)
|
|
140607
|
+
break;
|
|
140608
|
+
message.initialAppTheme = reader.int32();
|
|
140609
|
+
message._initialAppTheme = "initialAppTheme";
|
|
140610
|
+
continue;
|
|
140611
|
+
}
|
|
140582
140612
|
}
|
|
140583
140613
|
reader.skipType(wireType, _depth, tag);
|
|
140584
140614
|
if (!reader.discardUnknown) {
|
|
@@ -140633,6 +140663,11 @@ $root.waproto = (function() {
|
|
|
140633
140663
|
if (typeof message.securityNotificationEnabled !== "boolean")
|
|
140634
140664
|
return "securityNotificationEnabled: boolean expected";
|
|
140635
140665
|
}
|
|
140666
|
+
if (message.initialAppTheme != null && $Object.hasOwnProperty.call(message, "initialAppTheme")) {
|
|
140667
|
+
properties._initialAppTheme = 1;
|
|
140668
|
+
if (!$util.isInteger(message.initialAppTheme))
|
|
140669
|
+
return "initialAppTheme: integer expected";
|
|
140670
|
+
}
|
|
140636
140671
|
return null;
|
|
140637
140672
|
};
|
|
140638
140673
|
|
|
@@ -140656,6 +140691,8 @@ $root.waproto = (function() {
|
|
|
140656
140691
|
var message = new $root.waproto.Message.InitialSecurityNotificationSettingSync();
|
|
140657
140692
|
if (object.securityNotificationEnabled != null)
|
|
140658
140693
|
message.securityNotificationEnabled = $Boolean(object.securityNotificationEnabled);
|
|
140694
|
+
if (object.initialAppTheme != null)
|
|
140695
|
+
message.initialAppTheme = object.initialAppTheme | 0;
|
|
140659
140696
|
return message;
|
|
140660
140697
|
};
|
|
140661
140698
|
|
|
@@ -140678,6 +140715,8 @@ $root.waproto = (function() {
|
|
|
140678
140715
|
var object = {};
|
|
140679
140716
|
if (message.securityNotificationEnabled != null && $Object.hasOwnProperty.call(message, "securityNotificationEnabled"))
|
|
140680
140717
|
object.securityNotificationEnabled = message.securityNotificationEnabled;
|
|
140718
|
+
if (message.initialAppTheme != null && $Object.hasOwnProperty.call(message, "initialAppTheme"))
|
|
140719
|
+
object.initialAppTheme = message.initialAppTheme;
|
|
140681
140720
|
return object;
|
|
140682
140721
|
};
|
|
140683
140722
|
|
|
@@ -174799,6 +174838,7 @@ $root.waproto = (function() {
|
|
|
174799
174838
|
* @typedef {Object} waproto.Message.PollCreationMessage.Option.$Properties
|
|
174800
174839
|
* @property {string|null} [optionName] Option optionName
|
|
174801
174840
|
* @property {string|null} [optionHash] Option optionHash
|
|
174841
|
+
* @property {number|Long|null} [optionDatetime] Option optionDatetime
|
|
174802
174842
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
174803
174843
|
*/
|
|
174804
174844
|
|
|
@@ -174846,6 +174886,14 @@ $root.waproto = (function() {
|
|
|
174846
174886
|
*/
|
|
174847
174887
|
Option.prototype.optionHash = null;
|
|
174848
174888
|
|
|
174889
|
+
/**
|
|
174890
|
+
* Option optionDatetime.
|
|
174891
|
+
* @member {number|Long|null|undefined} optionDatetime
|
|
174892
|
+
* @memberof waproto.Message.PollCreationMessage.Option
|
|
174893
|
+
* @instance
|
|
174894
|
+
*/
|
|
174895
|
+
Option.prototype.optionDatetime = null;
|
|
174896
|
+
|
|
174849
174897
|
// OneOf field names bound to virtual getters and setters
|
|
174850
174898
|
var $oneOfFields;
|
|
174851
174899
|
|
|
@@ -174861,6 +174909,12 @@ $root.waproto = (function() {
|
|
|
174861
174909
|
set: $util.oneOfSetter($oneOfFields)
|
|
174862
174910
|
});
|
|
174863
174911
|
|
|
174912
|
+
// Virtual OneOf for proto3 optional field
|
|
174913
|
+
$Object.defineProperty(Option.prototype, "_optionDatetime", {
|
|
174914
|
+
get: $util.oneOfGetter($oneOfFields = ["optionDatetime"]),
|
|
174915
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
174916
|
+
});
|
|
174917
|
+
|
|
174864
174918
|
/**
|
|
174865
174919
|
* Creates a new Option instance using the specified properties.
|
|
174866
174920
|
* @function create
|
|
@@ -174897,6 +174951,8 @@ $root.waproto = (function() {
|
|
|
174897
174951
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.optionName);
|
|
174898
174952
|
if (message.optionHash != null && $Object.hasOwnProperty.call(message, "optionHash"))
|
|
174899
174953
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.optionHash);
|
|
174954
|
+
if (message.optionDatetime != null && $Object.hasOwnProperty.call(message, "optionDatetime"))
|
|
174955
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int64(message.optionDatetime);
|
|
174900
174956
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
174901
174957
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
174902
174958
|
writer.raw(message.$unknowns[i]);
|
|
@@ -174968,6 +175024,13 @@ $root.waproto = (function() {
|
|
|
174968
175024
|
message._optionHash = "optionHash";
|
|
174969
175025
|
continue;
|
|
174970
175026
|
}
|
|
175027
|
+
case 3: {
|
|
175028
|
+
if (wireType !== 0)
|
|
175029
|
+
break;
|
|
175030
|
+
message.optionDatetime = reader.int64();
|
|
175031
|
+
message._optionDatetime = "optionDatetime";
|
|
175032
|
+
continue;
|
|
175033
|
+
}
|
|
174971
175034
|
}
|
|
174972
175035
|
reader.skipType(wireType, _depth, tag);
|
|
174973
175036
|
if (!reader.discardUnknown) {
|
|
@@ -175027,6 +175090,11 @@ $root.waproto = (function() {
|
|
|
175027
175090
|
if (!$util.isString(message.optionHash))
|
|
175028
175091
|
return "optionHash: string expected";
|
|
175029
175092
|
}
|
|
175093
|
+
if (message.optionDatetime != null && $Object.hasOwnProperty.call(message, "optionDatetime")) {
|
|
175094
|
+
properties._optionDatetime = 1;
|
|
175095
|
+
if (!$util.isInteger(message.optionDatetime) && !(message.optionDatetime && $util.isInteger(message.optionDatetime.low) && $util.isInteger(message.optionDatetime.high)))
|
|
175096
|
+
return "optionDatetime: integer|Long expected";
|
|
175097
|
+
}
|
|
175030
175098
|
return null;
|
|
175031
175099
|
};
|
|
175032
175100
|
|
|
@@ -175052,6 +175120,15 @@ $root.waproto = (function() {
|
|
|
175052
175120
|
message.optionName = $String(object.optionName);
|
|
175053
175121
|
if (object.optionHash != null)
|
|
175054
175122
|
message.optionHash = $String(object.optionHash);
|
|
175123
|
+
if (object.optionDatetime != null)
|
|
175124
|
+
if ($util.Long)
|
|
175125
|
+
message.optionDatetime = $util.Long.fromValue(object.optionDatetime, false);
|
|
175126
|
+
else if (typeof object.optionDatetime === "string")
|
|
175127
|
+
message.optionDatetime = $parseInt(object.optionDatetime, 10);
|
|
175128
|
+
else if (typeof object.optionDatetime === "number")
|
|
175129
|
+
message.optionDatetime = object.optionDatetime;
|
|
175130
|
+
else if (typeof object.optionDatetime === "object")
|
|
175131
|
+
message.optionDatetime = new $util.LongBits(object.optionDatetime.low >>> 0, object.optionDatetime.high >>> 0).toNumber();
|
|
175055
175132
|
return message;
|
|
175056
175133
|
};
|
|
175057
175134
|
|
|
@@ -175076,6 +175153,13 @@ $root.waproto = (function() {
|
|
|
175076
175153
|
object.optionName = message.optionName;
|
|
175077
175154
|
if (message.optionHash != null && $Object.hasOwnProperty.call(message, "optionHash"))
|
|
175078
175155
|
object.optionHash = message.optionHash;
|
|
175156
|
+
if (message.optionDatetime != null && $Object.hasOwnProperty.call(message, "optionDatetime"))
|
|
175157
|
+
if (typeof $BigInt !== "undefined" && options.longs === $BigInt)
|
|
175158
|
+
object.optionDatetime = typeof message.optionDatetime === "number" ? $BigInt(message.optionDatetime) : $util.Long.fromBits(message.optionDatetime.low >>> 0, message.optionDatetime.high >>> 0, false).toBigInt();
|
|
175159
|
+
else if (typeof message.optionDatetime === "number")
|
|
175160
|
+
object.optionDatetime = options.longs === $String ? $String(message.optionDatetime) : message.optionDatetime;
|
|
175161
|
+
else
|
|
175162
|
+
object.optionDatetime = options.longs === $String ? $util.Long.prototype.toString.call(message.optionDatetime) : options.longs === $Number ? new $util.LongBits(message.optionDatetime.low >>> 0, message.optionDatetime.high >>> 0).toNumber() : message.optionDatetime;
|
|
175079
175163
|
return object;
|
|
175080
175164
|
};
|
|
175081
175165
|
|
|
@@ -178772,6 +178856,7 @@ $root.waproto = (function() {
|
|
|
178772
178856
|
* @property {waproto.GroupRootKeyRequest.$Properties|null} [groupRootKeyRequest] ProtocolMessage groupRootKeyRequest
|
|
178773
178857
|
* @property {waproto.MembershipFormKeyFingerprintVerification.$Properties|null} [membershipFormKeyFingerprintVerification] ProtocolMessage membershipFormKeyFingerprintVerification
|
|
178774
178858
|
* @property {waproto.GroupRootKeyShare.$Properties|null} [groupRootKeyShare] ProtocolMessage groupRootKeyShare
|
|
178859
|
+
* @property {waproto.Message.ProtocolMessage.MessageEditDisplayType|null} [messageEditDisplayType] ProtocolMessage messageEditDisplayType
|
|
178775
178860
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
178776
178861
|
*/
|
|
178777
178862
|
|
|
@@ -178823,6 +178908,7 @@ $root.waproto = (function() {
|
|
|
178823
178908
|
* groupRootKeyRequest?: waproto.GroupRootKeyRequest.$Shape|null;
|
|
178824
178909
|
* membershipFormKeyFingerprintVerification?: waproto.MembershipFormKeyFingerprintVerification.$Shape|null;
|
|
178825
178910
|
* groupRootKeyShare?: waproto.GroupRootKeyShare.$Shape|null;
|
|
178911
|
+
* messageEditDisplayType?: waproto.Message.ProtocolMessage.MessageEditDisplayType|null;
|
|
178826
178912
|
* $unknowns?: Array.<Uint8Array>;
|
|
178827
178913
|
* }} waproto.Message.ProtocolMessage.$Shape
|
|
178828
178914
|
*/
|
|
@@ -179139,6 +179225,14 @@ $root.waproto = (function() {
|
|
|
179139
179225
|
*/
|
|
179140
179226
|
ProtocolMessage.prototype.groupRootKeyShare = null;
|
|
179141
179227
|
|
|
179228
|
+
/**
|
|
179229
|
+
* ProtocolMessage messageEditDisplayType.
|
|
179230
|
+
* @member {waproto.Message.ProtocolMessage.MessageEditDisplayType|null|undefined} messageEditDisplayType
|
|
179231
|
+
* @memberof waproto.Message.ProtocolMessage
|
|
179232
|
+
* @instance
|
|
179233
|
+
*/
|
|
179234
|
+
ProtocolMessage.prototype.messageEditDisplayType = null;
|
|
179235
|
+
|
|
179142
179236
|
// OneOf field names bound to virtual getters and setters
|
|
179143
179237
|
var $oneOfFields;
|
|
179144
179238
|
|
|
@@ -179358,6 +179452,12 @@ $root.waproto = (function() {
|
|
|
179358
179452
|
set: $util.oneOfSetter($oneOfFields)
|
|
179359
179453
|
});
|
|
179360
179454
|
|
|
179455
|
+
// Virtual OneOf for proto3 optional field
|
|
179456
|
+
$Object.defineProperty(ProtocolMessage.prototype, "_messageEditDisplayType", {
|
|
179457
|
+
get: $util.oneOfGetter($oneOfFields = ["messageEditDisplayType"]),
|
|
179458
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
179459
|
+
});
|
|
179460
|
+
|
|
179361
179461
|
/**
|
|
179362
179462
|
* Creates a new ProtocolMessage instance using the specified properties.
|
|
179363
179463
|
* @function create
|
|
@@ -179465,6 +179565,8 @@ $root.waproto = (function() {
|
|
|
179465
179565
|
$root.waproto.MembershipFormKeyFingerprintVerification.encode(message.membershipFormKeyFingerprintVerification, writer.uint32(/* id 40, wireType 2 =*/322).fork(), _depth + 1).ldelim();
|
|
179466
179566
|
if (message.groupRootKeyShare != null && $Object.hasOwnProperty.call(message, "groupRootKeyShare"))
|
|
179467
179567
|
$root.waproto.GroupRootKeyShare.encode(message.groupRootKeyShare, writer.uint32(/* id 41, wireType 2 =*/330).fork(), _depth + 1).ldelim();
|
|
179568
|
+
if (message.messageEditDisplayType != null && $Object.hasOwnProperty.call(message, "messageEditDisplayType"))
|
|
179569
|
+
writer.uint32(/* id 42, wireType 0 =*/336).int32(message.messageEditDisplayType);
|
|
179468
179570
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
179469
179571
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
179470
179572
|
writer.raw(message.$unknowns[i]);
|
|
@@ -179782,6 +179884,13 @@ $root.waproto = (function() {
|
|
|
179782
179884
|
message._groupRootKeyShare = "groupRootKeyShare";
|
|
179783
179885
|
continue;
|
|
179784
179886
|
}
|
|
179887
|
+
case 42: {
|
|
179888
|
+
if (wireType !== 0)
|
|
179889
|
+
break;
|
|
179890
|
+
message.messageEditDisplayType = reader.int32();
|
|
179891
|
+
message._messageEditDisplayType = "messageEditDisplayType";
|
|
179892
|
+
continue;
|
|
179893
|
+
}
|
|
179785
179894
|
}
|
|
179786
179895
|
reader.skipType(wireType, _depth, tag);
|
|
179787
179896
|
if (!reader.discardUnknown) {
|
|
@@ -180105,6 +180214,11 @@ $root.waproto = (function() {
|
|
|
180105
180214
|
return "groupRootKeyShare." + error;
|
|
180106
180215
|
}
|
|
180107
180216
|
}
|
|
180217
|
+
if (message.messageEditDisplayType != null && $Object.hasOwnProperty.call(message, "messageEditDisplayType")) {
|
|
180218
|
+
properties._messageEditDisplayType = 1;
|
|
180219
|
+
if (typeof message.messageEditDisplayType !== "number" || (message.messageEditDisplayType | 0) !== message.messageEditDisplayType)
|
|
180220
|
+
return "messageEditDisplayType: enum value expected";
|
|
180221
|
+
}
|
|
180108
180222
|
return null;
|
|
180109
180223
|
};
|
|
180110
180224
|
|
|
@@ -180464,6 +180578,19 @@ $root.waproto = (function() {
|
|
|
180464
180578
|
throw $TypeError(".waproto.Message.ProtocolMessage.groupRootKeyShare: object expected");
|
|
180465
180579
|
message.groupRootKeyShare = $root.waproto.GroupRootKeyShare.fromObject(object.groupRootKeyShare, _depth + 1);
|
|
180466
180580
|
}
|
|
180581
|
+
switch (object.messageEditDisplayType) {
|
|
180582
|
+
case "DEFAULT":
|
|
180583
|
+
case 0:
|
|
180584
|
+
message.messageEditDisplayType = 0;
|
|
180585
|
+
break;
|
|
180586
|
+
case "LINK_PREVIEW_ONLY":
|
|
180587
|
+
case 1:
|
|
180588
|
+
message.messageEditDisplayType = 1;
|
|
180589
|
+
break;
|
|
180590
|
+
default:
|
|
180591
|
+
if (typeof object.messageEditDisplayType === "number" && (object.messageEditDisplayType | 0) === object.messageEditDisplayType)
|
|
180592
|
+
message.messageEditDisplayType = object.messageEditDisplayType;
|
|
180593
|
+
}
|
|
180467
180594
|
return message;
|
|
180468
180595
|
};
|
|
180469
180596
|
|
|
@@ -180573,6 +180700,8 @@ $root.waproto = (function() {
|
|
|
180573
180700
|
object.membershipFormKeyFingerprintVerification = $root.waproto.MembershipFormKeyFingerprintVerification.toObject(message.membershipFormKeyFingerprintVerification, options, _depth + 1);
|
|
180574
180701
|
if (message.groupRootKeyShare != null && $Object.hasOwnProperty.call(message, "groupRootKeyShare"))
|
|
180575
180702
|
object.groupRootKeyShare = $root.waproto.GroupRootKeyShare.toObject(message.groupRootKeyShare, options, _depth + 1);
|
|
180703
|
+
if (message.messageEditDisplayType != null && $Object.hasOwnProperty.call(message, "messageEditDisplayType"))
|
|
180704
|
+
object.messageEditDisplayType = options.enums === $String ? $root.waproto.Message.ProtocolMessage.MessageEditDisplayType[message.messageEditDisplayType] === $undefined ? message.messageEditDisplayType : $root.waproto.Message.ProtocolMessage.MessageEditDisplayType[message.messageEditDisplayType] : message.messageEditDisplayType;
|
|
180576
180705
|
return object;
|
|
180577
180706
|
};
|
|
180578
180707
|
|
|
@@ -180601,6 +180730,20 @@ $root.waproto = (function() {
|
|
|
180601
180730
|
return prefix + "/waproto.Message.ProtocolMessage";
|
|
180602
180731
|
};
|
|
180603
180732
|
|
|
180733
|
+
/**
|
|
180734
|
+
* MessageEditDisplayType enum.
|
|
180735
|
+
* @name waproto.Message.ProtocolMessage.MessageEditDisplayType
|
|
180736
|
+
* @enum {number}
|
|
180737
|
+
* @property {number} DEFAULT=0 DEFAULT value
|
|
180738
|
+
* @property {number} LINK_PREVIEW_ONLY=1 LINK_PREVIEW_ONLY value
|
|
180739
|
+
*/
|
|
180740
|
+
ProtocolMessage.MessageEditDisplayType = (function() {
|
|
180741
|
+
var valuesById = $Object.create(null), values = $Object.create(valuesById);
|
|
180742
|
+
values[valuesById[0] = "DEFAULT"] = 0;
|
|
180743
|
+
values[valuesById[1] = "LINK_PREVIEW_ONLY"] = 1;
|
|
180744
|
+
return values;
|
|
180745
|
+
})();
|
|
180746
|
+
|
|
180604
180747
|
/**
|
|
180605
180748
|
* Type enum.
|
|
180606
180749
|
* @name waproto.Message.ProtocolMessage.Type
|
|
@@ -198814,7 +198957,6 @@ $root.waproto = (function() {
|
|
|
198814
198957
|
* @property {Uint8Array|null} [associatedPrimaryIdentityKey] MessageContextInfo associatedPrimaryIdentityKey
|
|
198815
198958
|
* @property {string|null} [teeContextAnchorMessageId] MessageContextInfo teeContextAnchorMessageId
|
|
198816
198959
|
* @property {waproto.ACP2Setting.$Properties|null} [acp2Setting] MessageContextInfo acp2Setting
|
|
198817
|
-
* @property {boolean|null} [lightE2Ee] MessageContextInfo lightE2Ee
|
|
198818
198960
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
198819
198961
|
*/
|
|
198820
198962
|
|
|
@@ -199015,14 +199157,6 @@ $root.waproto = (function() {
|
|
|
199015
199157
|
*/
|
|
199016
199158
|
MessageContextInfo.prototype.acp2Setting = null;
|
|
199017
199159
|
|
|
199018
|
-
/**
|
|
199019
|
-
* MessageContextInfo lightE2Ee.
|
|
199020
|
-
* @member {boolean|null|undefined} lightE2Ee
|
|
199021
|
-
* @memberof waproto.MessageContextInfo
|
|
199022
|
-
* @instance
|
|
199023
|
-
*/
|
|
199024
|
-
MessageContextInfo.prototype.lightE2Ee = null;
|
|
199025
|
-
|
|
199026
199160
|
// OneOf field names bound to virtual getters and setters
|
|
199027
199161
|
var $oneOfFields;
|
|
199028
199162
|
|
|
@@ -199146,12 +199280,6 @@ $root.waproto = (function() {
|
|
|
199146
199280
|
set: $util.oneOfSetter($oneOfFields)
|
|
199147
199281
|
});
|
|
199148
199282
|
|
|
199149
|
-
// Virtual OneOf for proto3 optional field
|
|
199150
|
-
$Object.defineProperty(MessageContextInfo.prototype, "_lightE2Ee", {
|
|
199151
|
-
get: $util.oneOfGetter($oneOfFields = ["lightE2Ee"]),
|
|
199152
|
-
set: $util.oneOfSetter($oneOfFields)
|
|
199153
|
-
});
|
|
199154
|
-
|
|
199155
199283
|
/**
|
|
199156
199284
|
* Creates a new MessageContextInfo instance using the specified properties.
|
|
199157
199285
|
* @function create
|
|
@@ -199227,8 +199355,6 @@ $root.waproto = (function() {
|
|
|
199227
199355
|
writer.uint32(/* id 20, wireType 2 =*/162).string(message.teeContextAnchorMessageId);
|
|
199228
199356
|
if (message.acp2Setting != null && $Object.hasOwnProperty.call(message, "acp2Setting"))
|
|
199229
199357
|
$root.waproto.ACP2Setting.encode(message.acp2Setting, writer.uint32(/* id 21, wireType 2 =*/170).fork(), _depth + 1).ldelim();
|
|
199230
|
-
if (message.lightE2Ee != null && $Object.hasOwnProperty.call(message, "lightE2Ee"))
|
|
199231
|
-
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.lightE2Ee);
|
|
199232
199358
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
199233
199359
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
199234
199360
|
writer.raw(message.$unknowns[i]);
|
|
@@ -199434,13 +199560,6 @@ $root.waproto = (function() {
|
|
|
199434
199560
|
message._acp2Setting = "acp2Setting";
|
|
199435
199561
|
continue;
|
|
199436
199562
|
}
|
|
199437
|
-
case 22: {
|
|
199438
|
-
if (wireType !== 0)
|
|
199439
|
-
break;
|
|
199440
|
-
message.lightE2Ee = reader.bool();
|
|
199441
|
-
message._lightE2Ee = "lightE2Ee";
|
|
199442
|
-
continue;
|
|
199443
|
-
}
|
|
199444
199563
|
}
|
|
199445
199564
|
reader.skipType(wireType, _depth, tag);
|
|
199446
199565
|
if (!reader.discardUnknown) {
|
|
@@ -199620,11 +199739,6 @@ $root.waproto = (function() {
|
|
|
199620
199739
|
return "acp2Setting." + error;
|
|
199621
199740
|
}
|
|
199622
199741
|
}
|
|
199623
|
-
if (message.lightE2Ee != null && $Object.hasOwnProperty.call(message, "lightE2Ee")) {
|
|
199624
|
-
properties._lightE2Ee = 1;
|
|
199625
|
-
if (typeof message.lightE2Ee !== "boolean")
|
|
199626
|
-
return "lightE2Ee: boolean expected";
|
|
199627
|
-
}
|
|
199628
199742
|
return null;
|
|
199629
199743
|
};
|
|
199630
199744
|
|
|
@@ -199754,8 +199868,6 @@ $root.waproto = (function() {
|
|
|
199754
199868
|
throw $TypeError(".waproto.MessageContextInfo.acp2Setting: object expected");
|
|
199755
199869
|
message.acp2Setting = $root.waproto.ACP2Setting.fromObject(object.acp2Setting, _depth + 1);
|
|
199756
199870
|
}
|
|
199757
|
-
if (object.lightE2Ee != null)
|
|
199758
|
-
message.lightE2Ee = $Boolean(object.lightE2Ee);
|
|
199759
199871
|
return message;
|
|
199760
199872
|
};
|
|
199761
199873
|
|
|
@@ -199823,8 +199935,6 @@ $root.waproto = (function() {
|
|
|
199823
199935
|
object.teeContextAnchorMessageId = message.teeContextAnchorMessageId;
|
|
199824
199936
|
if (message.acp2Setting != null && $Object.hasOwnProperty.call(message, "acp2Setting"))
|
|
199825
199937
|
object.acp2Setting = $root.waproto.ACP2Setting.toObject(message.acp2Setting, options, _depth + 1);
|
|
199826
|
-
if (message.lightE2Ee != null && $Object.hasOwnProperty.call(message, "lightE2Ee"))
|
|
199827
|
-
object.lightE2Ee = message.lightE2Ee;
|
|
199828
199938
|
return object;
|
|
199829
199939
|
};
|
|
199830
199940
|
|
|
@@ -248405,6 +248515,7 @@ $root.waproto = (function() {
|
|
|
248405
248515
|
* @property {string|null} [pnJid] ContactAction pnJid
|
|
248406
248516
|
* @property {string|null} [username] ContactAction username
|
|
248407
248517
|
* @property {string|null} [birthday] ContactAction birthday
|
|
248518
|
+
* @property {number|null} [nonE2EeType] ContactAction nonE2EeType
|
|
248408
248519
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
248409
248520
|
*/
|
|
248410
248521
|
|
|
@@ -248492,6 +248603,14 @@ $root.waproto = (function() {
|
|
|
248492
248603
|
*/
|
|
248493
248604
|
ContactAction.prototype.birthday = null;
|
|
248494
248605
|
|
|
248606
|
+
/**
|
|
248607
|
+
* ContactAction nonE2EeType.
|
|
248608
|
+
* @member {number|null|undefined} nonE2EeType
|
|
248609
|
+
* @memberof waproto.SyncActionValue.ContactAction
|
|
248610
|
+
* @instance
|
|
248611
|
+
*/
|
|
248612
|
+
ContactAction.prototype.nonE2EeType = null;
|
|
248613
|
+
|
|
248495
248614
|
// OneOf field names bound to virtual getters and setters
|
|
248496
248615
|
var $oneOfFields;
|
|
248497
248616
|
|
|
@@ -248537,6 +248656,12 @@ $root.waproto = (function() {
|
|
|
248537
248656
|
set: $util.oneOfSetter($oneOfFields)
|
|
248538
248657
|
});
|
|
248539
248658
|
|
|
248659
|
+
// Virtual OneOf for proto3 optional field
|
|
248660
|
+
$Object.defineProperty(ContactAction.prototype, "_nonE2EeType", {
|
|
248661
|
+
get: $util.oneOfGetter($oneOfFields = ["nonE2EeType"]),
|
|
248662
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
248663
|
+
});
|
|
248664
|
+
|
|
248540
248665
|
/**
|
|
248541
248666
|
* Creates a new ContactAction instance using the specified properties.
|
|
248542
248667
|
* @function create
|
|
@@ -248583,6 +248708,8 @@ $root.waproto = (function() {
|
|
|
248583
248708
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.username);
|
|
248584
248709
|
if (message.birthday != null && $Object.hasOwnProperty.call(message, "birthday"))
|
|
248585
248710
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.birthday);
|
|
248711
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType"))
|
|
248712
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.nonE2EeType);
|
|
248586
248713
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
248587
248714
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
248588
248715
|
writer.raw(message.$unknowns[i]);
|
|
@@ -248689,6 +248816,13 @@ $root.waproto = (function() {
|
|
|
248689
248816
|
message._birthday = "birthday";
|
|
248690
248817
|
continue;
|
|
248691
248818
|
}
|
|
248819
|
+
case 8: {
|
|
248820
|
+
if (wireType !== 0)
|
|
248821
|
+
break;
|
|
248822
|
+
message.nonE2EeType = reader.int32();
|
|
248823
|
+
message._nonE2EeType = "nonE2EeType";
|
|
248824
|
+
continue;
|
|
248825
|
+
}
|
|
248692
248826
|
}
|
|
248693
248827
|
reader.skipType(wireType, _depth, tag);
|
|
248694
248828
|
if (!reader.discardUnknown) {
|
|
@@ -248773,6 +248907,11 @@ $root.waproto = (function() {
|
|
|
248773
248907
|
if (!$util.isString(message.birthday))
|
|
248774
248908
|
return "birthday: string expected";
|
|
248775
248909
|
}
|
|
248910
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType")) {
|
|
248911
|
+
properties._nonE2EeType = 1;
|
|
248912
|
+
if (!$util.isInteger(message.nonE2EeType))
|
|
248913
|
+
return "nonE2EeType: integer expected";
|
|
248914
|
+
}
|
|
248776
248915
|
return null;
|
|
248777
248916
|
};
|
|
248778
248917
|
|
|
@@ -248808,6 +248947,8 @@ $root.waproto = (function() {
|
|
|
248808
248947
|
message.username = $String(object.username);
|
|
248809
248948
|
if (object.birthday != null)
|
|
248810
248949
|
message.birthday = $String(object.birthday);
|
|
248950
|
+
if (object.nonE2EeType != null)
|
|
248951
|
+
message.nonE2EeType = object.nonE2EeType | 0;
|
|
248811
248952
|
return message;
|
|
248812
248953
|
};
|
|
248813
248954
|
|
|
@@ -248842,6 +248983,8 @@ $root.waproto = (function() {
|
|
|
248842
248983
|
object.username = message.username;
|
|
248843
248984
|
if (message.birthday != null && $Object.hasOwnProperty.call(message, "birthday"))
|
|
248844
248985
|
object.birthday = message.birthday;
|
|
248986
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType"))
|
|
248987
|
+
object.nonE2EeType = message.nonE2EeType;
|
|
248845
248988
|
return object;
|
|
248846
248989
|
};
|
|
248847
248990
|
|
|
@@ -256252,6 +256395,7 @@ $root.waproto = (function() {
|
|
|
256252
256395
|
* @property {string|null} [firstName] LidContactAction firstName
|
|
256253
256396
|
* @property {string|null} [username] LidContactAction username
|
|
256254
256397
|
* @property {string|null} [birthday] LidContactAction birthday
|
|
256398
|
+
* @property {number|null} [nonE2EeType] LidContactAction nonE2EeType
|
|
256255
256399
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
256256
256400
|
*/
|
|
256257
256401
|
|
|
@@ -256315,6 +256459,14 @@ $root.waproto = (function() {
|
|
|
256315
256459
|
*/
|
|
256316
256460
|
LidContactAction.prototype.birthday = null;
|
|
256317
256461
|
|
|
256462
|
+
/**
|
|
256463
|
+
* LidContactAction nonE2EeType.
|
|
256464
|
+
* @member {number|null|undefined} nonE2EeType
|
|
256465
|
+
* @memberof waproto.SyncActionValue.LidContactAction
|
|
256466
|
+
* @instance
|
|
256467
|
+
*/
|
|
256468
|
+
LidContactAction.prototype.nonE2EeType = null;
|
|
256469
|
+
|
|
256318
256470
|
// OneOf field names bound to virtual getters and setters
|
|
256319
256471
|
var $oneOfFields;
|
|
256320
256472
|
|
|
@@ -256342,6 +256494,12 @@ $root.waproto = (function() {
|
|
|
256342
256494
|
set: $util.oneOfSetter($oneOfFields)
|
|
256343
256495
|
});
|
|
256344
256496
|
|
|
256497
|
+
// Virtual OneOf for proto3 optional field
|
|
256498
|
+
$Object.defineProperty(LidContactAction.prototype, "_nonE2EeType", {
|
|
256499
|
+
get: $util.oneOfGetter($oneOfFields = ["nonE2EeType"]),
|
|
256500
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
256501
|
+
});
|
|
256502
|
+
|
|
256345
256503
|
/**
|
|
256346
256504
|
* Creates a new LidContactAction instance using the specified properties.
|
|
256347
256505
|
* @function create
|
|
@@ -256382,6 +256540,8 @@ $root.waproto = (function() {
|
|
|
256382
256540
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.username);
|
|
256383
256541
|
if (message.birthday != null && $Object.hasOwnProperty.call(message, "birthday"))
|
|
256384
256542
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.birthday);
|
|
256543
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType"))
|
|
256544
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.nonE2EeType);
|
|
256385
256545
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
256386
256546
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
256387
256547
|
writer.raw(message.$unknowns[i]);
|
|
@@ -256467,6 +256627,13 @@ $root.waproto = (function() {
|
|
|
256467
256627
|
message._birthday = "birthday";
|
|
256468
256628
|
continue;
|
|
256469
256629
|
}
|
|
256630
|
+
case 5: {
|
|
256631
|
+
if (wireType !== 0)
|
|
256632
|
+
break;
|
|
256633
|
+
message.nonE2EeType = reader.int32();
|
|
256634
|
+
message._nonE2EeType = "nonE2EeType";
|
|
256635
|
+
continue;
|
|
256636
|
+
}
|
|
256470
256637
|
}
|
|
256471
256638
|
reader.skipType(wireType, _depth, tag);
|
|
256472
256639
|
if (!reader.discardUnknown) {
|
|
@@ -256536,6 +256703,11 @@ $root.waproto = (function() {
|
|
|
256536
256703
|
if (!$util.isString(message.birthday))
|
|
256537
256704
|
return "birthday: string expected";
|
|
256538
256705
|
}
|
|
256706
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType")) {
|
|
256707
|
+
properties._nonE2EeType = 1;
|
|
256708
|
+
if (!$util.isInteger(message.nonE2EeType))
|
|
256709
|
+
return "nonE2EeType: integer expected";
|
|
256710
|
+
}
|
|
256539
256711
|
return null;
|
|
256540
256712
|
};
|
|
256541
256713
|
|
|
@@ -256565,6 +256737,8 @@ $root.waproto = (function() {
|
|
|
256565
256737
|
message.username = $String(object.username);
|
|
256566
256738
|
if (object.birthday != null)
|
|
256567
256739
|
message.birthday = $String(object.birthday);
|
|
256740
|
+
if (object.nonE2EeType != null)
|
|
256741
|
+
message.nonE2EeType = object.nonE2EeType | 0;
|
|
256568
256742
|
return message;
|
|
256569
256743
|
};
|
|
256570
256744
|
|
|
@@ -256593,6 +256767,8 @@ $root.waproto = (function() {
|
|
|
256593
256767
|
object.username = message.username;
|
|
256594
256768
|
if (message.birthday != null && $Object.hasOwnProperty.call(message, "birthday"))
|
|
256595
256769
|
object.birthday = message.birthday;
|
|
256770
|
+
if (message.nonE2EeType != null && $Object.hasOwnProperty.call(message, "nonE2EeType"))
|
|
256771
|
+
object.nonE2EeType = message.nonE2EeType;
|
|
256596
256772
|
return object;
|
|
256597
256773
|
};
|
|
256598
256774
|
|
|
@@ -292089,6 +292265,10 @@ $root.waproto = (function() {
|
|
|
292089
292265
|
case 291:
|
|
292090
292266
|
message.messageStubType = 291;
|
|
292091
292267
|
break;
|
|
292268
|
+
case "POLL_OPTION_ADDED":
|
|
292269
|
+
case 292:
|
|
292270
|
+
message.messageStubType = 292;
|
|
292271
|
+
break;
|
|
292092
292272
|
case "GROUP_CUSTOM_REACTIONS":
|
|
292093
292273
|
case 293:
|
|
292094
292274
|
message.messageStubType = 293;
|
|
@@ -293004,6 +293184,7 @@ $root.waproto = (function() {
|
|
|
293004
293184
|
* @property {number} SPLIT_PAYMENT_MARKED_AS_PAID=289 SPLIT_PAYMENT_MARKED_AS_PAID value
|
|
293005
293185
|
* @property {number} POLL_OPTIONS_REMOVED=290 POLL_OPTIONS_REMOVED value
|
|
293006
293186
|
* @property {number} POLL_ADDED_OPTION_REMOVED=291 POLL_ADDED_OPTION_REMOVED value
|
|
293187
|
+
* @property {number} POLL_OPTION_ADDED=292 POLL_OPTION_ADDED value
|
|
293007
293188
|
* @property {number} GROUP_CUSTOM_REACTIONS=293 GROUP_CUSTOM_REACTIONS value
|
|
293008
293189
|
*/
|
|
293009
293190
|
WebMessageInfo.StubType = (function() {
|
|
@@ -293275,6 +293456,7 @@ $root.waproto = (function() {
|
|
|
293275
293456
|
values[valuesById[289] = "SPLIT_PAYMENT_MARKED_AS_PAID"] = 289;
|
|
293276
293457
|
values[valuesById[290] = "POLL_OPTIONS_REMOVED"] = 290;
|
|
293277
293458
|
values[valuesById[291] = "POLL_ADDED_OPTION_REMOVED"] = 291;
|
|
293459
|
+
values[valuesById[292] = "POLL_OPTION_ADDED"] = 292;
|
|
293278
293460
|
values[valuesById[293] = "GROUP_CUSTOM_REACTIONS"] = 293;
|
|
293279
293461
|
return values;
|
|
293280
293462
|
})();
|