discord-protos 1.2.200 → 1.2.202

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.
@@ -314,6 +314,7 @@ message Experiment {
314
314
  UserIP user_ip = 28;
315
315
  InstallationIds installation_ids = 29;
316
316
  }
317
+ bool negate = 30;
317
318
  }
318
319
 
319
320
  message Override {
@@ -271,6 +271,7 @@ message PreloadedUserSettings {
271
271
  optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22;
272
272
  optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23;
273
273
  optional google.protobuf.BoolValue notify_friends_on_profile_update = 24;
274
+ optional google.protobuf.BoolValue notify_friends_on_come_online = 25;
274
275
  }
275
276
 
276
277
  enum GuildActivityStatusRestrictionDefault {
@@ -657,6 +657,7 @@ message PremiumMarketingComponentProperties {
657
657
  DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
658
658
  DISMISSIBLE_CONTENT_XBOX_PERKS_RECONNECT_UPSELL = 756;
659
659
  DISMISSIBLE_CONTENT_STEELSERIES_LOGITECH_REHEAT = 757;
660
+ DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION = 758;
660
661
  }
661
662
 
662
663
  message MobileBottomSheet {
@@ -816,6 +816,7 @@ message UserData {
816
816
  message AprilFools2026Badge {
817
817
  optional BadgeCommon common = 1;
818
818
  int32 level = 2;
819
+ string combat_class = 3;
819
820
  }
820
821
 
821
822
  message Badge {
@@ -889,6 +889,10 @@ export interface Experiment_Filter {
889
889
  } | {
890
890
  oneofKind: undefined;
891
891
  };
892
+ /**
893
+ * @generated from protobuf field: bool negate = 30
894
+ */
895
+ negate: boolean;
892
896
  }
893
897
  /**
894
898
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Override
@@ -2946,12 +2946,14 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
2946
2946
  { no: 26, name: "guild_has_feature", kind: "message", oneof: "filter", T: () => exports.Experiment_GuildHasFeature },
2947
2947
  { no: 27, name: "user_location", kind: "message", oneof: "filter", T: () => exports.Experiment_UserLocation },
2948
2948
  { no: 28, name: "user_ip", kind: "message", oneof: "filter", T: () => exports.Experiment_UserIP },
2949
- { no: 29, name: "installation_ids", kind: "message", oneof: "filter", T: () => exports.Experiment_InstallationIds }
2949
+ { no: 29, name: "installation_ids", kind: "message", oneof: "filter", T: () => exports.Experiment_InstallationIds },
2950
+ { no: 30, name: "negate", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
2950
2951
  ]);
2951
2952
  }
2952
2953
  create(value) {
2953
2954
  const message = globalThis.Object.create((this.messagePrototype));
2954
2955
  message.filter = { oneofKind: undefined };
2956
+ message.negate = false;
2955
2957
  if (value !== undefined)
2956
2958
  (0, runtime_3.reflectionMergePartial)(this, message, value);
2957
2959
  return message;
@@ -3117,6 +3119,9 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
3117
3119
  installationIds: exports.Experiment_InstallationIds.internalBinaryRead(reader, reader.uint32(), options, message.filter.installationIds)
3118
3120
  };
3119
3121
  break;
3122
+ case /* bool negate */ 30:
3123
+ message.negate = reader.bool();
3124
+ break;
3120
3125
  default:
3121
3126
  let u = options.readUnknownField;
3122
3127
  if (u === "throw")
@@ -3207,6 +3212,9 @@ class Experiment_Filter$Type extends runtime_4.MessageType {
3207
3212
  /* discord_protos.discord_experimentation.v1.Experiment.InstallationIds installation_ids = 29; */
3208
3213
  if (message.filter.oneofKind === "installationIds")
3209
3214
  exports.Experiment_InstallationIds.internalBinaryWrite(message.filter.installationIds, writer.tag(29, runtime_2.WireType.LengthDelimited).fork(), options).join();
3215
+ /* bool negate = 30; */
3216
+ if (message.negate !== false)
3217
+ writer.tag(30, runtime_2.WireType.Varint).bool(message.negate);
3210
3218
  let u = options.writeUnknownFields;
3211
3219
  if (u !== false)
3212
3220
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -799,6 +799,10 @@ export interface PreloadedUserSettings_NotificationSettings {
799
799
  * @generated from protobuf field: optional google.protobuf.BoolValue notify_friends_on_profile_update = 24
800
800
  */
801
801
  notifyFriendsOnProfileUpdate?: BoolValue;
802
+ /**
803
+ * @generated from protobuf field: optional google.protobuf.BoolValue notify_friends_on_come_online = 25
804
+ */
805
+ notifyFriendsOnComeOnline?: BoolValue;
802
806
  }
803
807
  /**
804
808
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
@@ -2500,7 +2500,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2500
2500
  { no: 21, name: "enable_friend_gaming_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2501
2501
  { no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2502
2502
  { no: 23, name: "enable_screen_downtime_schedule_notifications", kind: "message", T: () => wrappers_5.BoolValue },
2503
- { no: 24, name: "notify_friends_on_profile_update", kind: "message", T: () => wrappers_5.BoolValue }
2503
+ { no: 24, name: "notify_friends_on_profile_update", kind: "message", T: () => wrappers_5.BoolValue },
2504
+ { no: 25, name: "notify_friends_on_come_online", kind: "message", T: () => wrappers_5.BoolValue }
2504
2505
  ]);
2505
2506
  }
2506
2507
  create(value) {
@@ -2591,6 +2592,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2591
2592
  case /* optional google.protobuf.BoolValue notify_friends_on_profile_update */ 24:
2592
2593
  message.notifyFriendsOnProfileUpdate = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.notifyFriendsOnProfileUpdate);
2593
2594
  break;
2595
+ case /* optional google.protobuf.BoolValue notify_friends_on_come_online */ 25:
2596
+ message.notifyFriendsOnComeOnline = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.notifyFriendsOnComeOnline);
2597
+ break;
2594
2598
  default:
2595
2599
  let u = options.readUnknownField;
2596
2600
  if (u === "throw")
@@ -2675,6 +2679,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
2675
2679
  /* optional google.protobuf.BoolValue notify_friends_on_profile_update = 24; */
2676
2680
  if (message.notifyFriendsOnProfileUpdate)
2677
2681
  wrappers_5.BoolValue.internalBinaryWrite(message.notifyFriendsOnProfileUpdate, writer.tag(24, runtime_1.WireType.LengthDelimited).fork(), options).join();
2682
+ /* optional google.protobuf.BoolValue notify_friends_on_come_online = 25; */
2683
+ if (message.notifyFriendsOnComeOnline)
2684
+ wrappers_5.BoolValue.internalBinaryWrite(message.notifyFriendsOnComeOnline, writer.tag(25, runtime_1.WireType.LengthDelimited).fork(), options).join();
2678
2685
  let u = options.writeUnknownFields;
2679
2686
  if (u !== false)
2680
2687
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3007,7 +3007,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3007
3007
  /**
3008
3008
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_STEELSERIES_LOGITECH_REHEAT = 757;
3009
3009
  */
3010
- STEELSERIES_LOGITECH_REHEAT = 757
3010
+ STEELSERIES_LOGITECH_REHEAT = 757,
3011
+ /**
3012
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION = 758;
3013
+ */
3014
+ REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION = 758
3011
3015
  }
3012
3016
  /**
3013
3017
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2260,6 +2260,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2260
2260
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_STEELSERIES_LOGITECH_REHEAT = 757;
2261
2261
  */
2262
2262
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["STEELSERIES_LOGITECH_REHEAT"] = 757] = "STEELSERIES_LOGITECH_REHEAT";
2263
+ /**
2264
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION = 758;
2265
+ */
2266
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION"] = 758] = "REFERRAL_PROGRAM_ENTRYPOINT_NITRO_BUTTON_NOTIFICATION";
2263
2267
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2264
2268
  /**
2265
2269
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -552,6 +552,10 @@ export interface UserData_AprilFools2026Badge {
552
552
  * @generated from protobuf field: int32 level = 2
553
553
  */
554
554
  level: number;
555
+ /**
556
+ * @generated from protobuf field: string combat_class = 3
557
+ */
558
+ combatClass: string;
555
559
  }
556
560
  /**
557
561
  * @generated from protobuf message discord_protos.users.v1.UserData.Badge
@@ -4453,12 +4453,14 @@ class UserData_AprilFools2026Badge$Type extends runtime_4.MessageType {
4453
4453
  constructor() {
4454
4454
  super("discord_protos.users.v1.UserData.AprilFools2026Badge", [
4455
4455
  { no: 1, name: "common", kind: "message", T: () => exports.UserData_BadgeCommon },
4456
- { no: 2, name: "level", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
4456
+ { no: 2, name: "level", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
4457
+ { no: 3, name: "combat_class", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4457
4458
  ]);
4458
4459
  }
4459
4460
  create(value) {
4460
4461
  const message = globalThis.Object.create((this.messagePrototype));
4461
4462
  message.level = 0;
4463
+ message.combatClass = "";
4462
4464
  if (value !== undefined)
4463
4465
  (0, runtime_3.reflectionMergePartial)(this, message, value);
4464
4466
  return message;
@@ -4474,6 +4476,9 @@ class UserData_AprilFools2026Badge$Type extends runtime_4.MessageType {
4474
4476
  case /* int32 level */ 2:
4475
4477
  message.level = reader.int32();
4476
4478
  break;
4479
+ case /* string combat_class */ 3:
4480
+ message.combatClass = reader.string();
4481
+ break;
4477
4482
  default:
4478
4483
  let u = options.readUnknownField;
4479
4484
  if (u === "throw")
@@ -4492,6 +4497,9 @@ class UserData_AprilFools2026Badge$Type extends runtime_4.MessageType {
4492
4497
  /* int32 level = 2; */
4493
4498
  if (message.level !== 0)
4494
4499
  writer.tag(2, runtime_1.WireType.Varint).int32(message.level);
4500
+ /* string combat_class = 3; */
4501
+ if (message.combatClass !== "")
4502
+ writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.combatClass);
4495
4503
  let u = options.writeUnknownFields;
4496
4504
  if (u !== false)
4497
4505
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.200",
3
+ "version": "1.2.202",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",