discord-protos 1.2.290 → 1.2.291
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.
|
@@ -474,6 +474,10 @@ export interface UserData_AgeAssuranceData {
|
|
|
474
474
|
* @generated from protobuf field: bool is_regional_adult = 7
|
|
475
475
|
*/
|
|
476
476
|
isRegionalAdult: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp cooldown_reset_at = 8
|
|
479
|
+
*/
|
|
480
|
+
cooldownResetAt?: Timestamp;
|
|
477
481
|
}
|
|
478
482
|
/**
|
|
479
483
|
* @generated from protobuf message discord_protos.users.v1.UserData.PerkConfigIncreasedFileUploadSize
|
|
@@ -4323,7 +4323,8 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4323
4323
|
{ no: 4, name: "vendor", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AgeAssuranceVendor", UserData_AgeAssuranceVendor, "AGE_ASSURANCE_VENDOR_"] },
|
|
4324
4324
|
{ no: 5, name: "verified_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4325
4325
|
{ no: 6, name: "estimated_age_group", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AgeAssuranceGroup", UserData_AgeAssuranceGroup] },
|
|
4326
|
-
{ no: 7, name: "is_regional_adult", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4326
|
+
{ no: 7, name: "is_regional_adult", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4327
|
+
{ no: 8, name: "cooldown_reset_at", kind: "message", T: () => timestamp_1.Timestamp }
|
|
4327
4328
|
]);
|
|
4328
4329
|
}
|
|
4329
4330
|
create(value) {
|
|
@@ -4363,6 +4364,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4363
4364
|
case /* bool is_regional_adult */ 7:
|
|
4364
4365
|
message.isRegionalAdult = reader.bool();
|
|
4365
4366
|
break;
|
|
4367
|
+
case /* optional google.protobuf.Timestamp cooldown_reset_at */ 8:
|
|
4368
|
+
message.cooldownResetAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.cooldownResetAt);
|
|
4369
|
+
break;
|
|
4366
4370
|
default:
|
|
4367
4371
|
let u = options.readUnknownField;
|
|
4368
4372
|
if (u === "throw")
|
|
@@ -4396,6 +4400,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4396
4400
|
/* bool is_regional_adult = 7; */
|
|
4397
4401
|
if (message.isRegionalAdult !== false)
|
|
4398
4402
|
writer.tag(7, runtime_1.WireType.Varint).bool(message.isRegionalAdult);
|
|
4403
|
+
/* optional google.protobuf.Timestamp cooldown_reset_at = 8; */
|
|
4404
|
+
if (message.cooldownResetAt)
|
|
4405
|
+
timestamp_1.Timestamp.internalBinaryWrite(message.cooldownResetAt, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4399
4406
|
let u = options.writeUnknownFields;
|
|
4400
4407
|
if (u !== false)
|
|
4401
4408
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|