discord-protos 1.2.166 → 1.2.168

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.
@@ -317,6 +317,7 @@ message Experiment {
317
317
  optional Override override = 3;
318
318
  bool is_sunset_rule = 4;
319
319
  Subtype subtype = 5;
320
+ string hash = 6;
320
321
  }
321
322
 
322
323
  enum Phase {
@@ -633,6 +633,7 @@ message PremiumMarketingComponentProperties {
633
633
  DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_DISABLE = 735;
634
634
  DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN = 736;
635
635
  DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737;
636
+ DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
636
637
  }
637
638
 
638
639
  message MobileBottomSheet {
@@ -915,6 +915,10 @@ export interface Experiment_Rule {
915
915
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Subtype subtype = 5
916
916
  */
917
917
  subtype: Experiment_Subtype;
918
+ /**
919
+ * @generated from protobuf field: string hash = 6
920
+ */
921
+ hash: string;
918
922
  }
919
923
  /**
920
924
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.DebugConfig
@@ -3234,7 +3234,8 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3234
3234
  { no: 2, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Filter },
3235
3235
  { no: 3, name: "override", kind: "message", T: () => exports.Experiment_Override },
3236
3236
  { no: 4, name: "is_sunset_rule", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3237
- { no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] }
3237
+ { no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] },
3238
+ { no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
3238
3239
  ]);
3239
3240
  }
3240
3241
  create(value) {
@@ -3243,6 +3244,7 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3243
3244
  message.filters = [];
3244
3245
  message.isSunsetRule = false;
3245
3246
  message.subtype = 0;
3247
+ message.hash = "";
3246
3248
  if (value !== undefined)
3247
3249
  (0, runtime_3.reflectionMergePartial)(this, message, value);
3248
3250
  return message;
@@ -3267,6 +3269,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3267
3269
  case /* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype */ 5:
3268
3270
  message.subtype = reader.int32();
3269
3271
  break;
3272
+ case /* string hash */ 6:
3273
+ message.hash = reader.string();
3274
+ break;
3270
3275
  default:
3271
3276
  let u = options.readUnknownField;
3272
3277
  if (u === "throw")
@@ -3294,6 +3299,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
3294
3299
  /* discord_protos.discord_experimentation.v1.Experiment.Subtype subtype = 5; */
3295
3300
  if (message.subtype !== 0)
3296
3301
  writer.tag(5, runtime_2.WireType.Varint).int32(message.subtype);
3302
+ /* string hash = 6; */
3303
+ if (message.hash !== "")
3304
+ writer.tag(6, runtime_2.WireType.LengthDelimited).string(message.hash);
3297
3305
  let u = options.writeUnknownFields;
3298
3306
  if (u !== false)
3299
3307
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2895,7 +2895,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2895
2895
  /**
2896
2896
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737;
2897
2897
  */
2898
- RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737
2898
+ RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737,
2899
+ /**
2900
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
2901
+ */
2902
+ CROISSANT_REHEAT_MOMENT = 738
2899
2903
  }
2900
2904
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
2901
2905
  constructor();
@@ -2184,6 +2184,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2184
2184
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737;
2185
2185
  */
2186
2186
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE"] = 737] = "RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE";
2187
+ /**
2188
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
2189
+ */
2190
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CROISSANT_REHEAT_MOMENT"] = 738] = "CROISSANT_REHEAT_MOMENT";
2187
2191
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2188
2192
  // @generated message type with reflection information, may provide speed optimized methods
2189
2193
  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.166",
3
+ "version": "1.2.168",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",