discord-protos 1.2.147 → 1.2.149

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.
@@ -251,6 +251,7 @@ message PreloadedUserSettings {
251
251
  optional google.protobuf.BoolValue enable_summary_reminder_notifications = 19;
252
252
  optional google.protobuf.BoolValue enable_gdm_all_reaction_notifications = 20;
253
253
  optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications = 21;
254
+ optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22;
254
255
  }
255
256
 
256
257
  enum GuildActivityStatusRestrictionDefault {
@@ -609,6 +609,8 @@ message PremiumMarketingComponentProperties {
609
609
  DISMISSIBLE_CONTENT_ML_REVERSE_TRIAL_FOLLOWUP_UPSELL_MODAL = 724;
610
610
  DISMISSIBLE_CONTENT_GAME_SHOP_NEW_DROP_POPOVER = 725;
611
611
  DISMISSIBLE_CONTENT_PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL = 726;
612
+ DISMISSIBLE_CONTENT_WISHLISTING_NITRO_TAB_NEW_BADGE = 727;
613
+ DISMISSIBLE_CONTENT_QUEST_HOME_NEW_QUEST_BADGE = 728;
612
614
  }
613
615
 
614
616
  message MobileBottomSheet {
@@ -775,6 +775,10 @@ export interface PreloadedUserSettings_NotificationSettings {
775
775
  * @generated from protobuf field: optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications = 21
776
776
  */
777
777
  enableFriendGamingActivityNotifications?: BoolValue;
778
+ /**
779
+ * @generated from protobuf field: optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22
780
+ */
781
+ enableUpcomingServerEventNotifications?: BoolValue;
778
782
  }
779
783
  /**
780
784
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
@@ -2430,7 +2430,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2430
2430
  { no: 18, name: "enable_dm_reply_nudge_reminders", kind: "message", T: () => wrappers_5.BoolValue },
2431
2431
  { no: 19, name: "enable_summary_reminder_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2432
2432
  { no: 20, name: "enable_gdm_all_reaction_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2433
- { no: 21, name: "enable_friend_gaming_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2433
+ { no: 21, name: "enable_friend_gaming_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2434
+ { no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2434
2435
  ]);
2435
2436
  }
2436
2437
  create(value) {
@@ -2512,6 +2513,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2512
2513
  case /* optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications */ 21:
2513
2514
  message.enableFriendGamingActivityNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableFriendGamingActivityNotifications);
2514
2515
  break;
2516
+ case /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications */ 22:
2517
+ message.enableUpcomingServerEventNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableUpcomingServerEventNotifications);
2518
+ break;
2515
2519
  default:
2516
2520
  let u = options.readUnknownField;
2517
2521
  if (u === "throw")
@@ -2587,6 +2591,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2587
2591
  /* optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications = 21; */
2588
2592
  if (message.enableFriendGamingActivityNotifications)
2589
2593
  wrappers_5.BoolValue.internalBinaryWrite(message.enableFriendGamingActivityNotifications, writer.tag(21, runtime_1.WireType.LengthDelimited).fork(), options).join();
2594
+ /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22; */
2595
+ if (message.enableUpcomingServerEventNotifications)
2596
+ wrappers_5.BoolValue.internalBinaryWrite(message.enableUpcomingServerEventNotifications, writer.tag(22, runtime_1.WireType.LengthDelimited).fork(), options).join();
2590
2597
  let u = options.writeUnknownFields;
2591
2598
  if (u !== false)
2592
2599
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2805,7 +2805,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2805
2805
  /**
2806
2806
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL = 726;
2807
2807
  */
2808
- PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL = 726
2808
+ PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL = 726,
2809
+ /**
2810
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_WISHLISTING_NITRO_TAB_NEW_BADGE = 727;
2811
+ */
2812
+ WISHLISTING_NITRO_TAB_NEW_BADGE = 727,
2813
+ /**
2814
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_QUEST_HOME_NEW_QUEST_BADGE = 728;
2815
+ */
2816
+ QUEST_HOME_NEW_QUEST_BADGE = 728
2809
2817
  }
2810
2818
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
2811
2819
  constructor();
@@ -2140,6 +2140,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2140
2140
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL = 726;
2141
2141
  */
2142
2142
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL"] = 726] = "PREMIUM_MARKETING_MOMENT_NAGBAR_UPSELL";
2143
+ /**
2144
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_WISHLISTING_NITRO_TAB_NEW_BADGE = 727;
2145
+ */
2146
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["WISHLISTING_NITRO_TAB_NEW_BADGE"] = 727] = "WISHLISTING_NITRO_TAB_NEW_BADGE";
2147
+ /**
2148
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_QUEST_HOME_NEW_QUEST_BADGE = 728;
2149
+ */
2150
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["QUEST_HOME_NEW_QUEST_BADGE"] = 728] = "QUEST_HOME_NEW_QUEST_BADGE";
2143
2151
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2144
2152
  // @generated message type with reflection information, may provide speed optimized methods
2145
2153
  class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.147",
3
+ "version": "1.2.149",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",