discord-protos 1.2.305 → 1.2.306
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.
|
@@ -856,6 +856,7 @@ message UserData {
|
|
|
856
856
|
AgeAssuranceGroup estimated_age_group = 6;
|
|
857
857
|
bool is_regional_adult = 7;
|
|
858
858
|
optional google.protobuf.Timestamp cooldown_reset_at = 8;
|
|
859
|
+
optional google.protobuf.Timestamp excluded_from_prediction_since = 9;
|
|
859
860
|
}
|
|
860
861
|
|
|
861
862
|
enum PerkSource {
|
|
@@ -482,6 +482,10 @@ export interface UserData_AgeAssuranceData {
|
|
|
482
482
|
* @generated from protobuf field: optional google.protobuf.Timestamp cooldown_reset_at = 8
|
|
483
483
|
*/
|
|
484
484
|
cooldownResetAt?: Timestamp;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp excluded_from_prediction_since = 9
|
|
487
|
+
*/
|
|
488
|
+
excludedFromPredictionSince?: Timestamp;
|
|
485
489
|
}
|
|
486
490
|
/**
|
|
487
491
|
* @generated from protobuf message discord_protos.users.v1.UserData.PerkConfigIncreasedFileUploadSize
|
|
@@ -4472,7 +4472,8 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4472
4472
|
{ no: 5, name: "verified_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4473
4473
|
{ no: 6, name: "estimated_age_group", kind: "enum", T: () => ["discord_protos.users.v1.UserData.AgeAssuranceGroup", UserData_AgeAssuranceGroup] },
|
|
4474
4474
|
{ no: 7, name: "is_regional_adult", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4475
|
-
{ no: 8, name: "cooldown_reset_at", kind: "message", T: () => timestamp_1.Timestamp }
|
|
4475
|
+
{ no: 8, name: "cooldown_reset_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
4476
|
+
{ no: 9, name: "excluded_from_prediction_since", kind: "message", T: () => timestamp_1.Timestamp }
|
|
4476
4477
|
]);
|
|
4477
4478
|
}
|
|
4478
4479
|
create(value) {
|
|
@@ -4515,6 +4516,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4515
4516
|
case /* optional google.protobuf.Timestamp cooldown_reset_at */ 8:
|
|
4516
4517
|
message.cooldownResetAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.cooldownResetAt);
|
|
4517
4518
|
break;
|
|
4519
|
+
case /* optional google.protobuf.Timestamp excluded_from_prediction_since */ 9:
|
|
4520
|
+
message.excludedFromPredictionSince = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.excludedFromPredictionSince);
|
|
4521
|
+
break;
|
|
4518
4522
|
default:
|
|
4519
4523
|
let u = options.readUnknownField;
|
|
4520
4524
|
if (u === "throw")
|
|
@@ -4551,6 +4555,9 @@ class UserData_AgeAssuranceData$Type extends runtime_4.MessageType {
|
|
|
4551
4555
|
/* optional google.protobuf.Timestamp cooldown_reset_at = 8; */
|
|
4552
4556
|
if (message.cooldownResetAt)
|
|
4553
4557
|
timestamp_1.Timestamp.internalBinaryWrite(message.cooldownResetAt, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4558
|
+
/* optional google.protobuf.Timestamp excluded_from_prediction_since = 9; */
|
|
4559
|
+
if (message.excludedFromPredictionSince)
|
|
4560
|
+
timestamp_1.Timestamp.internalBinaryWrite(message.excludedFromPredictionSince, writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4554
4561
|
let u = options.writeUnknownFields;
|
|
4555
4562
|
if (u !== false)
|
|
4556
4563
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|