discord-protos 1.2.185 → 1.2.187
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 {
|
|
@@ -651,6 +651,7 @@ message PremiumMarketingComponentProperties {
|
|
|
651
651
|
DISMISSIBLE_CONTENT_NOTIFICATION_NUDGE_POST_CALL_DISCONNECT = 749;
|
|
652
652
|
DISMISSIBLE_CONTENT_PROFILE_FRAME_USER_PROFILE_NEW_BADGE = 750;
|
|
653
653
|
DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
654
|
+
DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK = 752;
|
|
654
655
|
}
|
|
655
656
|
|
|
656
657
|
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);
|
|
@@ -2975,7 +2975,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
2975
2975
|
/**
|
|
2976
2976
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
2977
2977
|
*/
|
|
2978
|
-
BOUNTIES_NUX_PROMO_SHEET = 751
|
|
2978
|
+
BOUNTIES_NUX_PROMO_SHEET = 751,
|
|
2979
|
+
/**
|
|
2980
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK = 752;
|
|
2981
|
+
*/
|
|
2982
|
+
SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK = 752
|
|
2979
2983
|
}
|
|
2980
2984
|
declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
|
|
2981
2985
|
constructor();
|
|
@@ -2236,6 +2236,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2236
2236
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
2237
2237
|
*/
|
|
2238
2238
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["BOUNTIES_NUX_PROMO_SHEET"] = 751] = "BOUNTIES_NUX_PROMO_SHEET";
|
|
2239
|
+
/**
|
|
2240
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK = 752;
|
|
2241
|
+
*/
|
|
2242
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK"] = 752] = "SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK";
|
|
2239
2243
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2240
2244
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2241
2245
|
class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|