discord-protos 1.2.290 → 1.2.292
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/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +2 -0
- package/discord_protos/users/v1/UserData.proto +1 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +8 -0
- package/dist/discord_protos/users/v1/UserData.d.ts +4 -0
- package/dist/discord_protos/users/v1/UserData.js +8 -1
- package/package.json +1 -1
|
@@ -728,6 +728,8 @@ message PremiumMarketingComponentProperties {
|
|
|
728
728
|
DISMISSIBLE_CONTENT_BADGE_CUSTOMIZATION_COACHMARK = 806;
|
|
729
729
|
DISMISSIBLE_CONTENT_FAVORITES_GUILD_SUGGESTIONS = 807;
|
|
730
730
|
DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
731
|
+
DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
|
|
732
|
+
DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
|
|
731
733
|
}
|
|
732
734
|
|
|
733
735
|
message MobileBottomSheet {
|
|
@@ -3517,7 +3517,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3517
3517
|
/**
|
|
3518
3518
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
3519
3519
|
*/
|
|
3520
|
-
USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808
|
|
3520
|
+
USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808,
|
|
3521
|
+
/**
|
|
3522
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
|
|
3523
|
+
*/
|
|
3524
|
+
GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809,
|
|
3525
|
+
/**
|
|
3526
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
|
|
3527
|
+
*/
|
|
3528
|
+
GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810
|
|
3521
3529
|
}
|
|
3522
3530
|
/**
|
|
3523
3531
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2487,6 +2487,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2487
2487
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_COACHMARK = 808;
|
|
2488
2488
|
*/
|
|
2489
2489
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["USER_PROFILE_PERSONAL_WIDGET_COACHMARK"] = 808] = "USER_PROFILE_PERSONAL_WIDGET_COACHMARK";
|
|
2490
|
+
/**
|
|
2491
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK = 809;
|
|
2492
|
+
*/
|
|
2493
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK"] = 809] = "GAME_SERVER_HOSTING_IN_SHOP_DETECTION_COACHMARK";
|
|
2494
|
+
/**
|
|
2495
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE = 810;
|
|
2496
|
+
*/
|
|
2497
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE"] = 810] = "GAME_SERVER_HOSTING_IN_SHOP_DETECTION_NEW_BADGE";
|
|
2490
2498
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2491
2499
|
/**
|
|
2492
2500
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -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);
|