discord-protos 1.2.348 → 1.2.350

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.
@@ -360,6 +360,7 @@ message Experiment {
360
360
  bool is_sunset_rule = 4;
361
361
  Subtype subtype = 5;
362
362
  string hash = 6;
363
+ optional google.protobuf.StringValue title = 7;
363
364
  }
364
365
 
365
366
  enum Phase {
@@ -436,7 +436,6 @@ message PremiumMarketingComponentProperties {
436
436
  DISMISSIBLE_CONTENT_RECENT_AVATARS_SETTINGS_PROFILE_PAGE_NEW_BADGE = 517;
437
437
  DISMISSIBLE_CONTENT_PERMADECOS_NITRO_TAB_NEW_BADGE = 518;
438
438
  DISMISSIBLE_CONTENT_PERMADECOS_NITRO_HOME_CARD_NEW_BADGE = 520;
439
- DISMISSIBLE_CONTENT_RING_USER_TO_VC_NEW_BADGE = 522;
440
439
  DISMISSIBLE_CONTENT_DESKTOP_REFRESH_ONBOARDING_MODAL = 525;
441
440
  DISMISSIBLE_CONTENT_GUILD_POWERUP_NOTIFICATION = 529;
442
441
  DISMISSIBLE_CONTENT_GUILD_POWERUP_PERKS_COACHMARK = 531;
@@ -1002,6 +1002,10 @@ export interface Experiment_Rule {
1002
1002
  * @generated from protobuf field: string hash = 6
1003
1003
  */
1004
1004
  hash: string;
1005
+ /**
1006
+ * @generated from protobuf field: optional google.protobuf.StringValue title = 7
1007
+ */
1008
+ title?: StringValue;
1005
1009
  }
1006
1010
  /**
1007
1011
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.DebugConfig
@@ -3623,7 +3623,8 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3623
3623
  { no: 3, name: "override", kind: "message", T: () => exports.Experiment_Override },
3624
3624
  { no: 4, name: "is_sunset_rule", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3625
3625
  { no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] },
3626
- { no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
3626
+ { no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
3627
+ { no: 7, name: "title", kind: "message", T: () => wrappers_4.StringValue }
3627
3628
  ]);
3628
3629
  }
3629
3630
  create(value) {
@@ -3660,6 +3661,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3660
3661
  case /* string hash */ 6:
3661
3662
  message.hash = reader.string();
3662
3663
  break;
3664
+ case /* optional google.protobuf.StringValue title */ 7:
3665
+ message.title = wrappers_4.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.title);
3666
+ break;
3663
3667
  default:
3664
3668
  let u = options.readUnknownField;
3665
3669
  if (u === "throw")
@@ -3690,6 +3694,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3690
3694
  /* string hash = 6; */
3691
3695
  if (message.hash !== "")
3692
3696
  writer.tag(6, runtime_2.WireType.LengthDelimited).string(message.hash);
3697
+ /* optional google.protobuf.StringValue title = 7; */
3698
+ if (message.title)
3699
+ wrappers_4.StringValue.internalBinaryWrite(message.title, writer.tag(7, runtime_2.WireType.LengthDelimited).fork(), options).join();
3693
3700
  let u = options.writeUnknownFields;
3694
3701
  if (u !== false)
3695
3702
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2506,10 +2506,6 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2506
2506
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_PERMADECOS_NITRO_HOME_CARD_NEW_BADGE = 520;
2507
2507
  */
2508
2508
  PERMADECOS_NITRO_HOME_CARD_NEW_BADGE = 520,
2509
- /**
2510
- * @generated from protobuf enum value: DISMISSIBLE_CONTENT_RING_USER_TO_VC_NEW_BADGE = 522;
2511
- */
2512
- RING_USER_TO_VC_NEW_BADGE = 522,
2513
2509
  /**
2514
2510
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DESKTOP_REFRESH_ONBOARDING_MODAL = 525;
2515
2511
  */
@@ -1319,10 +1319,6 @@ var PremiumMarketingComponentProperties_DismissibleContent;
1319
1319
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_PERMADECOS_NITRO_HOME_CARD_NEW_BADGE = 520;
1320
1320
  */
1321
1321
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PERMADECOS_NITRO_HOME_CARD_NEW_BADGE"] = 520] = "PERMADECOS_NITRO_HOME_CARD_NEW_BADGE";
1322
- /**
1323
- * @generated from protobuf enum value: DISMISSIBLE_CONTENT_RING_USER_TO_VC_NEW_BADGE = 522;
1324
- */
1325
- PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["RING_USER_TO_VC_NEW_BADGE"] = 522] = "RING_USER_TO_VC_NEW_BADGE";
1326
1322
  /**
1327
1323
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DESKTOP_REFRESH_ONBOARDING_MODAL = 525;
1328
1324
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.348",
3
+ "version": "1.2.350",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",