@wppconnect/wa-proto 2.3000.1025139211 → 2.3000.1025178181
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 +8 -0
- package/WAProto.proto +5 -1
- package/dist/index.d.ts +24 -0
- package/dist/index.js +132 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1025178181](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1025150051...v2.3000.1025178181) (2025-07-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## 2.3000.1025150051 (2025-07-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1025139211](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024884592...v2.3000.1025139211) (2025-07-25)
|
|
2
10
|
|
|
3
11
|
|
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.1025178181
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -1175,6 +1175,7 @@ message ContextInfo {
|
|
|
1175
1175
|
optional string automatedGreetingMessageCtaType = 23;
|
|
1176
1176
|
optional bool wtwaAdFormat = 24;
|
|
1177
1177
|
optional AdType adType = 25;
|
|
1178
|
+
optional string wtwaWebsiteUrl = 26;
|
|
1178
1179
|
enum AdType {
|
|
1179
1180
|
CTWA = 0;
|
|
1180
1181
|
CAWC = 1;
|
|
@@ -2083,6 +2084,7 @@ message Message {
|
|
|
2083
2084
|
optional string consumerLid = 3;
|
|
2084
2085
|
optional string consumerPhoneNumber = 4;
|
|
2085
2086
|
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
|
2087
|
+
optional bool shouldSuppressNotification = 6;
|
|
2086
2088
|
enum CloudAPIThreadControl {
|
|
2087
2089
|
UNKNOWN = 0;
|
|
2088
2090
|
CONTROL_PASSED = 1;
|
|
@@ -3415,6 +3417,8 @@ message MsgOpaqueData {
|
|
|
3415
3417
|
optional int64 eventStartTime = 37;
|
|
3416
3418
|
optional EventLocation eventLocation = 38;
|
|
3417
3419
|
optional int64 eventEndTime = 40;
|
|
3420
|
+
optional bool eventIsScheduledCall = 44;
|
|
3421
|
+
optional bool eventExtraGuestsAllowed = 45;
|
|
3418
3422
|
optional bytes plainProtobufBytes = 43;
|
|
3419
3423
|
message EventLocation {
|
|
3420
3424
|
optional double degreesLatitude = 1;
|
package/dist/index.d.ts
CHANGED
|
@@ -12368,6 +12368,9 @@ export namespace waproto {
|
|
|
12368
12368
|
|
|
12369
12369
|
/** ExternalAdReplyInfo adType */
|
|
12370
12370
|
adType?: (waproto.ContextInfo.ExternalAdReplyInfo.AdType|null);
|
|
12371
|
+
|
|
12372
|
+
/** ExternalAdReplyInfo wtwaWebsiteUrl */
|
|
12373
|
+
wtwaWebsiteUrl?: (string|null);
|
|
12371
12374
|
}
|
|
12372
12375
|
|
|
12373
12376
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -12454,6 +12457,9 @@ export namespace waproto {
|
|
|
12454
12457
|
/** ExternalAdReplyInfo adType. */
|
|
12455
12458
|
public adType?: (waproto.ContextInfo.ExternalAdReplyInfo.AdType|null);
|
|
12456
12459
|
|
|
12460
|
+
/** ExternalAdReplyInfo wtwaWebsiteUrl. */
|
|
12461
|
+
public wtwaWebsiteUrl?: (string|null);
|
|
12462
|
+
|
|
12457
12463
|
/**
|
|
12458
12464
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
12459
12465
|
* @param [properties] Properties to set
|
|
@@ -22472,6 +22478,9 @@ export namespace waproto {
|
|
|
22472
22478
|
|
|
22473
22479
|
/** CloudAPIThreadControlNotification notificationContent */
|
|
22474
22480
|
notificationContent?: (waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null);
|
|
22481
|
+
|
|
22482
|
+
/** CloudAPIThreadControlNotification shouldSuppressNotification */
|
|
22483
|
+
shouldSuppressNotification?: (boolean|null);
|
|
22475
22484
|
}
|
|
22476
22485
|
|
|
22477
22486
|
/** Represents a CloudAPIThreadControlNotification. */
|
|
@@ -22498,6 +22507,9 @@ export namespace waproto {
|
|
|
22498
22507
|
/** CloudAPIThreadControlNotification notificationContent. */
|
|
22499
22508
|
public notificationContent?: (waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null);
|
|
22500
22509
|
|
|
22510
|
+
/** CloudAPIThreadControlNotification shouldSuppressNotification. */
|
|
22511
|
+
public shouldSuppressNotification?: (boolean|null);
|
|
22512
|
+
|
|
22501
22513
|
/**
|
|
22502
22514
|
* Creates a new CloudAPIThreadControlNotification instance using the specified properties.
|
|
22503
22515
|
* @param [properties] Properties to set
|
|
@@ -38328,6 +38340,12 @@ export namespace waproto {
|
|
|
38328
38340
|
/** MsgOpaqueData eventEndTime */
|
|
38329
38341
|
eventEndTime?: (number|Long|null);
|
|
38330
38342
|
|
|
38343
|
+
/** MsgOpaqueData eventIsScheduledCall */
|
|
38344
|
+
eventIsScheduledCall?: (boolean|null);
|
|
38345
|
+
|
|
38346
|
+
/** MsgOpaqueData eventExtraGuestsAllowed */
|
|
38347
|
+
eventExtraGuestsAllowed?: (boolean|null);
|
|
38348
|
+
|
|
38331
38349
|
/** MsgOpaqueData plainProtobufBytes */
|
|
38332
38350
|
plainProtobufBytes?: (Uint8Array|null);
|
|
38333
38351
|
}
|
|
@@ -38455,6 +38473,12 @@ export namespace waproto {
|
|
|
38455
38473
|
/** MsgOpaqueData eventEndTime. */
|
|
38456
38474
|
public eventEndTime?: (number|Long|null);
|
|
38457
38475
|
|
|
38476
|
+
/** MsgOpaqueData eventIsScheduledCall. */
|
|
38477
|
+
public eventIsScheduledCall?: (boolean|null);
|
|
38478
|
+
|
|
38479
|
+
/** MsgOpaqueData eventExtraGuestsAllowed. */
|
|
38480
|
+
public eventExtraGuestsAllowed?: (boolean|null);
|
|
38481
|
+
|
|
38458
38482
|
/** MsgOpaqueData plainProtobufBytes. */
|
|
38459
38483
|
public plainProtobufBytes?: (Uint8Array|null);
|
|
38460
38484
|
|
package/dist/index.js
CHANGED
|
@@ -37633,6 +37633,7 @@ $root.waproto = (function() {
|
|
|
37633
37633
|
* @property {string|null} [automatedGreetingMessageCtaType] ExternalAdReplyInfo automatedGreetingMessageCtaType
|
|
37634
37634
|
* @property {boolean|null} [wtwaAdFormat] ExternalAdReplyInfo wtwaAdFormat
|
|
37635
37635
|
* @property {waproto.ContextInfo.ExternalAdReplyInfo.AdType|null} [adType] ExternalAdReplyInfo adType
|
|
37636
|
+
* @property {string|null} [wtwaWebsiteUrl] ExternalAdReplyInfo wtwaWebsiteUrl
|
|
37636
37637
|
*/
|
|
37637
37638
|
|
|
37638
37639
|
/**
|
|
@@ -37850,6 +37851,14 @@ $root.waproto = (function() {
|
|
|
37850
37851
|
*/
|
|
37851
37852
|
ExternalAdReplyInfo.prototype.adType = null;
|
|
37852
37853
|
|
|
37854
|
+
/**
|
|
37855
|
+
* ExternalAdReplyInfo wtwaWebsiteUrl.
|
|
37856
|
+
* @member {string|null|undefined} wtwaWebsiteUrl
|
|
37857
|
+
* @memberof waproto.ContextInfo.ExternalAdReplyInfo
|
|
37858
|
+
* @instance
|
|
37859
|
+
*/
|
|
37860
|
+
ExternalAdReplyInfo.prototype.wtwaWebsiteUrl = null;
|
|
37861
|
+
|
|
37853
37862
|
// OneOf field names bound to virtual getters and setters
|
|
37854
37863
|
var $oneOfFields;
|
|
37855
37864
|
|
|
@@ -38003,6 +38012,12 @@ $root.waproto = (function() {
|
|
|
38003
38012
|
set: $util.oneOfSetter($oneOfFields)
|
|
38004
38013
|
});
|
|
38005
38014
|
|
|
38015
|
+
// Virtual OneOf for proto3 optional field
|
|
38016
|
+
Object.defineProperty(ExternalAdReplyInfo.prototype, "_wtwaWebsiteUrl", {
|
|
38017
|
+
get: $util.oneOfGetter($oneOfFields = ["wtwaWebsiteUrl"]),
|
|
38018
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
38019
|
+
});
|
|
38020
|
+
|
|
38006
38021
|
/**
|
|
38007
38022
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
38008
38023
|
* @function create
|
|
@@ -38077,6 +38092,8 @@ $root.waproto = (function() {
|
|
|
38077
38092
|
writer.uint32(/* id 24, wireType 0 =*/192).bool(message.wtwaAdFormat);
|
|
38078
38093
|
if (message.adType != null && Object.hasOwnProperty.call(message, "adType"))
|
|
38079
38094
|
writer.uint32(/* id 25, wireType 0 =*/200).int32(message.adType);
|
|
38095
|
+
if (message.wtwaWebsiteUrl != null && Object.hasOwnProperty.call(message, "wtwaWebsiteUrl"))
|
|
38096
|
+
writer.uint32(/* id 26, wireType 2 =*/210).string(message.wtwaWebsiteUrl);
|
|
38080
38097
|
return writer;
|
|
38081
38098
|
};
|
|
38082
38099
|
|
|
@@ -38211,6 +38228,10 @@ $root.waproto = (function() {
|
|
|
38211
38228
|
message.adType = reader.int32();
|
|
38212
38229
|
break;
|
|
38213
38230
|
}
|
|
38231
|
+
case 26: {
|
|
38232
|
+
message.wtwaWebsiteUrl = reader.string();
|
|
38233
|
+
break;
|
|
38234
|
+
}
|
|
38214
38235
|
default:
|
|
38215
38236
|
reader.skipType(tag & 7);
|
|
38216
38237
|
break;
|
|
@@ -38383,6 +38404,11 @@ $root.waproto = (function() {
|
|
|
38383
38404
|
break;
|
|
38384
38405
|
}
|
|
38385
38406
|
}
|
|
38407
|
+
if (message.wtwaWebsiteUrl != null && message.hasOwnProperty("wtwaWebsiteUrl")) {
|
|
38408
|
+
properties._wtwaWebsiteUrl = 1;
|
|
38409
|
+
if (!$util.isString(message.wtwaWebsiteUrl))
|
|
38410
|
+
return "wtwaWebsiteUrl: string expected";
|
|
38411
|
+
}
|
|
38386
38412
|
return null;
|
|
38387
38413
|
};
|
|
38388
38414
|
|
|
@@ -38483,6 +38509,8 @@ $root.waproto = (function() {
|
|
|
38483
38509
|
message.adType = 1;
|
|
38484
38510
|
break;
|
|
38485
38511
|
}
|
|
38512
|
+
if (object.wtwaWebsiteUrl != null)
|
|
38513
|
+
message.wtwaWebsiteUrl = String(object.wtwaWebsiteUrl);
|
|
38486
38514
|
return message;
|
|
38487
38515
|
};
|
|
38488
38516
|
|
|
@@ -38624,6 +38652,11 @@ $root.waproto = (function() {
|
|
|
38624
38652
|
if (options.oneofs)
|
|
38625
38653
|
object._adType = "adType";
|
|
38626
38654
|
}
|
|
38655
|
+
if (message.wtwaWebsiteUrl != null && message.hasOwnProperty("wtwaWebsiteUrl")) {
|
|
38656
|
+
object.wtwaWebsiteUrl = message.wtwaWebsiteUrl;
|
|
38657
|
+
if (options.oneofs)
|
|
38658
|
+
object._wtwaWebsiteUrl = "wtwaWebsiteUrl";
|
|
38659
|
+
}
|
|
38627
38660
|
return object;
|
|
38628
38661
|
};
|
|
38629
38662
|
|
|
@@ -70302,6 +70335,7 @@ $root.waproto = (function() {
|
|
|
70302
70335
|
* @property {string|null} [consumerLid] CloudAPIThreadControlNotification consumerLid
|
|
70303
70336
|
* @property {string|null} [consumerPhoneNumber] CloudAPIThreadControlNotification consumerPhoneNumber
|
|
70304
70337
|
* @property {waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null} [notificationContent] CloudAPIThreadControlNotification notificationContent
|
|
70338
|
+
* @property {boolean|null} [shouldSuppressNotification] CloudAPIThreadControlNotification shouldSuppressNotification
|
|
70305
70339
|
*/
|
|
70306
70340
|
|
|
70307
70341
|
/**
|
|
@@ -70359,6 +70393,14 @@ $root.waproto = (function() {
|
|
|
70359
70393
|
*/
|
|
70360
70394
|
CloudAPIThreadControlNotification.prototype.notificationContent = null;
|
|
70361
70395
|
|
|
70396
|
+
/**
|
|
70397
|
+
* CloudAPIThreadControlNotification shouldSuppressNotification.
|
|
70398
|
+
* @member {boolean|null|undefined} shouldSuppressNotification
|
|
70399
|
+
* @memberof waproto.Message.CloudAPIThreadControlNotification
|
|
70400
|
+
* @instance
|
|
70401
|
+
*/
|
|
70402
|
+
CloudAPIThreadControlNotification.prototype.shouldSuppressNotification = null;
|
|
70403
|
+
|
|
70362
70404
|
// OneOf field names bound to virtual getters and setters
|
|
70363
70405
|
var $oneOfFields;
|
|
70364
70406
|
|
|
@@ -70392,6 +70434,12 @@ $root.waproto = (function() {
|
|
|
70392
70434
|
set: $util.oneOfSetter($oneOfFields)
|
|
70393
70435
|
});
|
|
70394
70436
|
|
|
70437
|
+
// Virtual OneOf for proto3 optional field
|
|
70438
|
+
Object.defineProperty(CloudAPIThreadControlNotification.prototype, "_shouldSuppressNotification", {
|
|
70439
|
+
get: $util.oneOfGetter($oneOfFields = ["shouldSuppressNotification"]),
|
|
70440
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
70441
|
+
});
|
|
70442
|
+
|
|
70395
70443
|
/**
|
|
70396
70444
|
* Creates a new CloudAPIThreadControlNotification instance using the specified properties.
|
|
70397
70445
|
* @function create
|
|
@@ -70426,6 +70474,8 @@ $root.waproto = (function() {
|
|
|
70426
70474
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.consumerPhoneNumber);
|
|
70427
70475
|
if (message.notificationContent != null && Object.hasOwnProperty.call(message, "notificationContent"))
|
|
70428
70476
|
$root.waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.encode(message.notificationContent, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
70477
|
+
if (message.shouldSuppressNotification != null && Object.hasOwnProperty.call(message, "shouldSuppressNotification"))
|
|
70478
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.shouldSuppressNotification);
|
|
70429
70479
|
return writer;
|
|
70430
70480
|
};
|
|
70431
70481
|
|
|
@@ -70480,6 +70530,10 @@ $root.waproto = (function() {
|
|
|
70480
70530
|
message.notificationContent = $root.waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.decode(reader, reader.uint32());
|
|
70481
70531
|
break;
|
|
70482
70532
|
}
|
|
70533
|
+
case 6: {
|
|
70534
|
+
message.shouldSuppressNotification = reader.bool();
|
|
70535
|
+
break;
|
|
70536
|
+
}
|
|
70483
70537
|
default:
|
|
70484
70538
|
reader.skipType(tag & 7);
|
|
70485
70539
|
break;
|
|
@@ -70550,6 +70604,11 @@ $root.waproto = (function() {
|
|
|
70550
70604
|
return "notificationContent." + error;
|
|
70551
70605
|
}
|
|
70552
70606
|
}
|
|
70607
|
+
if (message.shouldSuppressNotification != null && message.hasOwnProperty("shouldSuppressNotification")) {
|
|
70608
|
+
properties._shouldSuppressNotification = 1;
|
|
70609
|
+
if (typeof message.shouldSuppressNotification !== "boolean")
|
|
70610
|
+
return "shouldSuppressNotification: boolean expected";
|
|
70611
|
+
}
|
|
70553
70612
|
return null;
|
|
70554
70613
|
};
|
|
70555
70614
|
|
|
@@ -70603,6 +70662,8 @@ $root.waproto = (function() {
|
|
|
70603
70662
|
throw TypeError(".waproto.Message.CloudAPIThreadControlNotification.notificationContent: object expected");
|
|
70604
70663
|
message.notificationContent = $root.waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.fromObject(object.notificationContent);
|
|
70605
70664
|
}
|
|
70665
|
+
if (object.shouldSuppressNotification != null)
|
|
70666
|
+
message.shouldSuppressNotification = Boolean(object.shouldSuppressNotification);
|
|
70606
70667
|
return message;
|
|
70607
70668
|
};
|
|
70608
70669
|
|
|
@@ -70647,6 +70708,11 @@ $root.waproto = (function() {
|
|
|
70647
70708
|
if (options.oneofs)
|
|
70648
70709
|
object._notificationContent = "notificationContent";
|
|
70649
70710
|
}
|
|
70711
|
+
if (message.shouldSuppressNotification != null && message.hasOwnProperty("shouldSuppressNotification")) {
|
|
70712
|
+
object.shouldSuppressNotification = message.shouldSuppressNotification;
|
|
70713
|
+
if (options.oneofs)
|
|
70714
|
+
object._shouldSuppressNotification = "shouldSuppressNotification";
|
|
70715
|
+
}
|
|
70650
70716
|
return object;
|
|
70651
70717
|
};
|
|
70652
70718
|
|
|
@@ -118854,6 +118920,8 @@ $root.waproto = (function() {
|
|
|
118854
118920
|
* @property {number|Long|null} [eventStartTime] MsgOpaqueData eventStartTime
|
|
118855
118921
|
* @property {waproto.MsgOpaqueData.IEventLocation|null} [eventLocation] MsgOpaqueData eventLocation
|
|
118856
118922
|
* @property {number|Long|null} [eventEndTime] MsgOpaqueData eventEndTime
|
|
118923
|
+
* @property {boolean|null} [eventIsScheduledCall] MsgOpaqueData eventIsScheduledCall
|
|
118924
|
+
* @property {boolean|null} [eventExtraGuestsAllowed] MsgOpaqueData eventExtraGuestsAllowed
|
|
118857
118925
|
* @property {Uint8Array|null} [plainProtobufBytes] MsgOpaqueData plainProtobufBytes
|
|
118858
118926
|
*/
|
|
118859
118927
|
|
|
@@ -119177,6 +119245,22 @@ $root.waproto = (function() {
|
|
|
119177
119245
|
*/
|
|
119178
119246
|
MsgOpaqueData.prototype.eventEndTime = null;
|
|
119179
119247
|
|
|
119248
|
+
/**
|
|
119249
|
+
* MsgOpaqueData eventIsScheduledCall.
|
|
119250
|
+
* @member {boolean|null|undefined} eventIsScheduledCall
|
|
119251
|
+
* @memberof waproto.MsgOpaqueData
|
|
119252
|
+
* @instance
|
|
119253
|
+
*/
|
|
119254
|
+
MsgOpaqueData.prototype.eventIsScheduledCall = null;
|
|
119255
|
+
|
|
119256
|
+
/**
|
|
119257
|
+
* MsgOpaqueData eventExtraGuestsAllowed.
|
|
119258
|
+
* @member {boolean|null|undefined} eventExtraGuestsAllowed
|
|
119259
|
+
* @memberof waproto.MsgOpaqueData
|
|
119260
|
+
* @instance
|
|
119261
|
+
*/
|
|
119262
|
+
MsgOpaqueData.prototype.eventExtraGuestsAllowed = null;
|
|
119263
|
+
|
|
119180
119264
|
/**
|
|
119181
119265
|
* MsgOpaqueData plainProtobufBytes.
|
|
119182
119266
|
* @member {Uint8Array|null|undefined} plainProtobufBytes
|
|
@@ -119410,6 +119494,18 @@ $root.waproto = (function() {
|
|
|
119410
119494
|
set: $util.oneOfSetter($oneOfFields)
|
|
119411
119495
|
});
|
|
119412
119496
|
|
|
119497
|
+
// Virtual OneOf for proto3 optional field
|
|
119498
|
+
Object.defineProperty(MsgOpaqueData.prototype, "_eventIsScheduledCall", {
|
|
119499
|
+
get: $util.oneOfGetter($oneOfFields = ["eventIsScheduledCall"]),
|
|
119500
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
119501
|
+
});
|
|
119502
|
+
|
|
119503
|
+
// Virtual OneOf for proto3 optional field
|
|
119504
|
+
Object.defineProperty(MsgOpaqueData.prototype, "_eventExtraGuestsAllowed", {
|
|
119505
|
+
get: $util.oneOfGetter($oneOfFields = ["eventExtraGuestsAllowed"]),
|
|
119506
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
119507
|
+
});
|
|
119508
|
+
|
|
119413
119509
|
// Virtual OneOf for proto3 optional field
|
|
119414
119510
|
Object.defineProperty(MsgOpaqueData.prototype, "_plainProtobufBytes", {
|
|
119415
119511
|
get: $util.oneOfGetter($oneOfFields = ["plainProtobufBytes"]),
|
|
@@ -119517,6 +119613,10 @@ $root.waproto = (function() {
|
|
|
119517
119613
|
writer.uint32(/* id 42, wireType 0 =*/336).int32(message.pollContentType);
|
|
119518
119614
|
if (message.plainProtobufBytes != null && Object.hasOwnProperty.call(message, "plainProtobufBytes"))
|
|
119519
119615
|
writer.uint32(/* id 43, wireType 2 =*/346).bytes(message.plainProtobufBytes);
|
|
119616
|
+
if (message.eventIsScheduledCall != null && Object.hasOwnProperty.call(message, "eventIsScheduledCall"))
|
|
119617
|
+
writer.uint32(/* id 44, wireType 0 =*/352).bool(message.eventIsScheduledCall);
|
|
119618
|
+
if (message.eventExtraGuestsAllowed != null && Object.hasOwnProperty.call(message, "eventExtraGuestsAllowed"))
|
|
119619
|
+
writer.uint32(/* id 45, wireType 0 =*/360).bool(message.eventExtraGuestsAllowed);
|
|
119520
119620
|
if (message.originalSelfAuthor != null && Object.hasOwnProperty.call(message, "originalSelfAuthor"))
|
|
119521
119621
|
writer.uint32(/* id 51, wireType 2 =*/410).string(message.originalSelfAuthor);
|
|
119522
119622
|
return writer;
|
|
@@ -119707,6 +119807,14 @@ $root.waproto = (function() {
|
|
|
119707
119807
|
message.eventEndTime = reader.int64();
|
|
119708
119808
|
break;
|
|
119709
119809
|
}
|
|
119810
|
+
case 44: {
|
|
119811
|
+
message.eventIsScheduledCall = reader.bool();
|
|
119812
|
+
break;
|
|
119813
|
+
}
|
|
119814
|
+
case 45: {
|
|
119815
|
+
message.eventExtraGuestsAllowed = reader.bool();
|
|
119816
|
+
break;
|
|
119817
|
+
}
|
|
119710
119818
|
case 43: {
|
|
119711
119819
|
message.plainProtobufBytes = reader.bytes();
|
|
119712
119820
|
break;
|
|
@@ -119956,6 +120064,16 @@ $root.waproto = (function() {
|
|
|
119956
120064
|
if (!$util.isInteger(message.eventEndTime) && !(message.eventEndTime && $util.isInteger(message.eventEndTime.low) && $util.isInteger(message.eventEndTime.high)))
|
|
119957
120065
|
return "eventEndTime: integer|Long expected";
|
|
119958
120066
|
}
|
|
120067
|
+
if (message.eventIsScheduledCall != null && message.hasOwnProperty("eventIsScheduledCall")) {
|
|
120068
|
+
properties._eventIsScheduledCall = 1;
|
|
120069
|
+
if (typeof message.eventIsScheduledCall !== "boolean")
|
|
120070
|
+
return "eventIsScheduledCall: boolean expected";
|
|
120071
|
+
}
|
|
120072
|
+
if (message.eventExtraGuestsAllowed != null && message.hasOwnProperty("eventExtraGuestsAllowed")) {
|
|
120073
|
+
properties._eventExtraGuestsAllowed = 1;
|
|
120074
|
+
if (typeof message.eventExtraGuestsAllowed !== "boolean")
|
|
120075
|
+
return "eventExtraGuestsAllowed: boolean expected";
|
|
120076
|
+
}
|
|
119959
120077
|
if (message.plainProtobufBytes != null && message.hasOwnProperty("plainProtobufBytes")) {
|
|
119960
120078
|
properties._plainProtobufBytes = 1;
|
|
119961
120079
|
if (!(message.plainProtobufBytes && typeof message.plainProtobufBytes.length === "number" || $util.isString(message.plainProtobufBytes)))
|
|
@@ -120129,6 +120247,10 @@ $root.waproto = (function() {
|
|
|
120129
120247
|
message.eventEndTime = object.eventEndTime;
|
|
120130
120248
|
else if (typeof object.eventEndTime === "object")
|
|
120131
120249
|
message.eventEndTime = new $util.LongBits(object.eventEndTime.low >>> 0, object.eventEndTime.high >>> 0).toNumber();
|
|
120250
|
+
if (object.eventIsScheduledCall != null)
|
|
120251
|
+
message.eventIsScheduledCall = Boolean(object.eventIsScheduledCall);
|
|
120252
|
+
if (object.eventExtraGuestsAllowed != null)
|
|
120253
|
+
message.eventExtraGuestsAllowed = Boolean(object.eventExtraGuestsAllowed);
|
|
120132
120254
|
if (object.plainProtobufBytes != null)
|
|
120133
120255
|
if (typeof object.plainProtobufBytes === "string")
|
|
120134
120256
|
$util.base64.decode(object.plainProtobufBytes, message.plainProtobufBytes = $util.newBuffer($util.base64.length(object.plainProtobufBytes)), 0);
|
|
@@ -120351,6 +120473,16 @@ $root.waproto = (function() {
|
|
|
120351
120473
|
if (options.oneofs)
|
|
120352
120474
|
object._plainProtobufBytes = "plainProtobufBytes";
|
|
120353
120475
|
}
|
|
120476
|
+
if (message.eventIsScheduledCall != null && message.hasOwnProperty("eventIsScheduledCall")) {
|
|
120477
|
+
object.eventIsScheduledCall = message.eventIsScheduledCall;
|
|
120478
|
+
if (options.oneofs)
|
|
120479
|
+
object._eventIsScheduledCall = "eventIsScheduledCall";
|
|
120480
|
+
}
|
|
120481
|
+
if (message.eventExtraGuestsAllowed != null && message.hasOwnProperty("eventExtraGuestsAllowed")) {
|
|
120482
|
+
object.eventExtraGuestsAllowed = message.eventExtraGuestsAllowed;
|
|
120483
|
+
if (options.oneofs)
|
|
120484
|
+
object._eventExtraGuestsAllowed = "eventExtraGuestsAllowed";
|
|
120485
|
+
}
|
|
120354
120486
|
if (message.originalSelfAuthor != null && message.hasOwnProperty("originalSelfAuthor")) {
|
|
120355
120487
|
object.originalSelfAuthor = message.originalSelfAuthor;
|
|
120356
120488
|
if (options.oneofs)
|