discord-protos 1.2.201 → 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 {
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.201",
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",