discord-protos 1.2.194 → 1.2.196

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.
@@ -269,6 +269,7 @@ message PreloadedUserSettings {
269
269
  optional google.protobuf.BoolValue enable_gdm_all_reaction_notifications = 20;
270
270
  optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications = 21;
271
271
  optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22;
272
+ optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23;
272
273
  }
273
274
 
274
275
  enum GuildActivityStatusRestrictionDefault {
@@ -655,6 +655,7 @@ message PremiumMarketingComponentProperties {
655
655
  DISMISSIBLE_CONTENT_CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753;
656
656
  DISMISSIBLE_CONTENT_GUILD_THEME_NUX = 754;
657
657
  DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
658
+ DISMISSIBLE_CONTENT_XBOX_PERKS_RECONNECT_UPSELL = 756;
658
659
  }
659
660
 
660
661
  message MobileBottomSheet {
@@ -791,6 +791,10 @@ export interface PreloadedUserSettings_NotificationSettings {
791
791
  * @generated from protobuf field: optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22
792
792
  */
793
793
  enableUpcomingServerEventNotifications?: BoolValue;
794
+ /**
795
+ * @generated from protobuf field: optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23
796
+ */
797
+ enableScreenDowntimeScheduleNotifications?: BoolValue;
794
798
  }
795
799
  /**
796
800
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
@@ -2498,7 +2498,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2498
2498
  { no: 19, name: "enable_summary_reminder_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2499
2499
  { no: 20, name: "enable_gdm_all_reaction_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2500
2500
  { no: 21, name: "enable_friend_gaming_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2501
- { no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2501
+ { no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2502
+ { no: 23, name: "enable_screen_downtime_schedule_notifications", kind: "message", T: () => wrappers_5.BoolValue }
2502
2503
  ]);
2503
2504
  }
2504
2505
  create(value) {
@@ -2583,6 +2584,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2583
2584
  case /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications */ 22:
2584
2585
  message.enableUpcomingServerEventNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableUpcomingServerEventNotifications);
2585
2586
  break;
2587
+ case /* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications */ 23:
2588
+ message.enableScreenDowntimeScheduleNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableScreenDowntimeScheduleNotifications);
2589
+ break;
2586
2590
  default:
2587
2591
  let u = options.readUnknownField;
2588
2592
  if (u === "throw")
@@ -2661,6 +2665,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2661
2665
  /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22; */
2662
2666
  if (message.enableUpcomingServerEventNotifications)
2663
2667
  wrappers_5.BoolValue.internalBinaryWrite(message.enableUpcomingServerEventNotifications, writer.tag(22, runtime_1.WireType.LengthDelimited).fork(), options).join();
2668
+ /* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23; */
2669
+ if (message.enableScreenDowntimeScheduleNotifications)
2670
+ wrappers_5.BoolValue.internalBinaryWrite(message.enableScreenDowntimeScheduleNotifications, writer.tag(23, runtime_1.WireType.LengthDelimited).fork(), options).join();
2664
2671
  let u = options.writeUnknownFields;
2665
2672
  if (u !== false)
2666
2673
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2995,7 +2995,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2995
2995
  /**
2996
2996
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
2997
2997
  */
2998
- GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755
2998
+ GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755,
2999
+ /**
3000
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_XBOX_PERKS_RECONNECT_UPSELL = 756;
3001
+ */
3002
+ XBOX_PERKS_RECONNECT_UPSELL = 756
2999
3003
  }
3000
3004
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
3001
3005
  constructor();
@@ -2252,6 +2252,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2252
2252
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
2253
2253
  */
2254
2254
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_SETTINGS_GUILD_THEME_NEW_BADGE"] = 755] = "GUILD_SETTINGS_GUILD_THEME_NEW_BADGE";
2255
+ /**
2256
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_XBOX_PERKS_RECONNECT_UPSELL = 756;
2257
+ */
2258
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["XBOX_PERKS_RECONNECT_UPSELL"] = 756] = "XBOX_PERKS_RECONNECT_UPSELL";
2255
2259
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2256
2260
  // @generated message type with reflection information, may provide speed optimized methods
2257
2261
  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.194",
3
+ "version": "1.2.196",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",