discord-protos 1.2.184 → 1.2.186
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/discord_users/v1/PreloadedUserSettings.proto +1 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +1 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +4 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +8 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +5 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +4 -0
- package/package.json +1 -1
|
@@ -327,6 +327,7 @@ message PreloadedUserSettings {
|
|
|
327
327
|
optional google.protobuf.BoolValue quests_3p_data_opted_out = 30;
|
|
328
328
|
optional google.protobuf.BoolValue show_local_time = 31;
|
|
329
329
|
ProfileVisibility profile_visibility = 32;
|
|
330
|
+
optional google.protobuf.BoolValue hide_friend_request_notes = 33;
|
|
330
331
|
}
|
|
331
332
|
|
|
332
333
|
message DebugSettings {
|
|
@@ -650,6 +650,7 @@ message PremiumMarketingComponentProperties {
|
|
|
650
650
|
DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_GUILD_OPEN_PER_GUILD = 748;
|
|
651
651
|
DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_POST_CALL_DISCONNECT = 749;
|
|
652
652
|
DISMISSIBLE_CONTENT_PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750;
|
|
653
|
+
DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
653
654
|
}
|
|
654
655
|
|
|
655
656
|
message MobileBottomSheet {
|
|
@@ -912,6 +912,10 @@ export interface PreloadedUserSettings_PrivacySettings {
|
|
|
912
912
|
* @generated from protobuf field: discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility = 32
|
|
913
913
|
*/
|
|
914
914
|
profileVisibility: PreloadedUserSettings_ProfileVisibility;
|
|
915
|
+
/**
|
|
916
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue hide_friend_request_notes = 33
|
|
917
|
+
*/
|
|
918
|
+
hideFriendRequestNotes?: BoolValue;
|
|
915
919
|
}
|
|
916
920
|
/**
|
|
917
921
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.DebugSettings
|
|
@@ -2678,7 +2678,8 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
|
|
|
2678
2678
|
{ no: 29, name: "default_guilds_activity_restricted_v2", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.GuildActivityStatusRestrictionDefaultV2", PreloadedUserSettings_GuildActivityStatusRestrictionDefaultV2, "GUILD_ACTIVITY_STATUS_RESTRICTION_DEFAULT_V2_"] },
|
|
2679
2679
|
{ no: 30, name: "quests_3p_data_opted_out", kind: "message", jsonName: "quests3pDataOptedOut", T: () => wrappers_5.BoolValue },
|
|
2680
2680
|
{ no: 31, name: "show_local_time", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2681
|
-
{ no: 32, name: "profile_visibility", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility", PreloadedUserSettings_ProfileVisibility, "PROFILE_VISIBILITY_"] }
|
|
2681
|
+
{ no: 32, name: "profile_visibility", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility", PreloadedUserSettings_ProfileVisibility, "PROFILE_VISIBILITY_"] },
|
|
2682
|
+
{ no: 33, name: "hide_friend_request_notes", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2682
2683
|
]);
|
|
2683
2684
|
}
|
|
2684
2685
|
create(value) {
|
|
@@ -2809,6 +2810,9 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
|
|
|
2809
2810
|
case /* discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility */ 32:
|
|
2810
2811
|
message.profileVisibility = reader.int32();
|
|
2811
2812
|
break;
|
|
2813
|
+
case /* optional google.protobuf.BoolValue hide_friend_request_notes */ 33:
|
|
2814
|
+
message.hideFriendRequestNotes = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.hideFriendRequestNotes);
|
|
2815
|
+
break;
|
|
2812
2816
|
default:
|
|
2813
2817
|
let u = options.readUnknownField;
|
|
2814
2818
|
if (u === "throw")
|
|
@@ -2927,6 +2931,9 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
|
|
|
2927
2931
|
/* discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility = 32; */
|
|
2928
2932
|
if (message.profileVisibility !== 0)
|
|
2929
2933
|
writer.tag(32, runtime_1.WireType.Varint).int32(message.profileVisibility);
|
|
2934
|
+
/* optional google.protobuf.BoolValue hide_friend_request_notes = 33; */
|
|
2935
|
+
if (message.hideFriendRequestNotes)
|
|
2936
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.hideFriendRequestNotes, writer.tag(33, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2930
2937
|
let u = options.writeUnknownFields;
|
|
2931
2938
|
if (u !== false)
|
|
2932
2939
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2971,7 +2971,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
2971
2971
|
/**
|
|
2972
2972
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750;
|
|
2973
2973
|
*/
|
|
2974
|
-
PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750
|
|
2974
|
+
PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750,
|
|
2975
|
+
/**
|
|
2976
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
2977
|
+
*/
|
|
2978
|
+
BOUNTIES_NUX_PROMO_SHEET = 751
|
|
2975
2979
|
}
|
|
2976
2980
|
declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
|
|
2977
2981
|
constructor();
|
|
@@ -2232,6 +2232,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2232
2232
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750;
|
|
2233
2233
|
*/
|
|
2234
2234
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PROFILE_FRAME_USER_PROFILE_NEW_BADGE"] = 750] = "PROFILE_FRAME_USER_PROFILE_NEW_BADGE";
|
|
2235
|
+
/**
|
|
2236
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
2237
|
+
*/
|
|
2238
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["BOUNTIES_NUX_PROMO_SHEET"] = 751] = "BOUNTIES_NUX_PROMO_SHEET";
|
|
2235
2239
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2236
2240
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2237
2241
|
class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|