discord-protos 1.2.134 → 1.2.136

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.
@@ -395,4 +395,5 @@ message Experiment {
395
395
  optional google.protobuf.Int32Value guild_experiment_version = 35;
396
396
  CustomUnitPrefix custom_unit_prefix = 36;
397
397
  repeated string growthbook_tags = 37 [packed = false];
398
+ bool allocate_right_to_left = 38;
398
399
  }
@@ -599,6 +599,7 @@ message PremiumMarketingComponentProperties {
599
599
  DISMISSIBLE_CONTENT_PREMIUM_GROUP_POPOVER_UPSELL_V2 = 715;
600
600
  DISMISSIBLE_CONTENT_L_3PP_NON_NITRO_POPOVER = 716;
601
601
  DISMISSIBLE_CONTENT_L_3PP_NITRO_TOOLTIP = 717;
602
+ DISMISSIBLE_CONTENT_MOBILE_ACCOUNT_LINKING_BANNER = 718;
602
603
  }
603
604
 
604
605
  message MobileBottomSheet {
@@ -157,6 +157,10 @@ export interface Experiment {
157
157
  * @generated from protobuf field: repeated string growthbook_tags = 37 [packed = false]
158
158
  */
159
159
  growthbookTags: string[];
160
+ /**
161
+ * @generated from protobuf field: bool allocate_right_to_left = 38
162
+ */
163
+ allocateRightToLeft: boolean;
160
164
  }
161
165
  /**
162
166
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
@@ -260,7 +260,8 @@ class Experiment$Type extends runtime_4.MessageType {
260
260
  { no: 33, name: "archive_at", kind: "message", T: () => timestamp_1.Timestamp },
261
261
  { no: 35, name: "guild_experiment_version", kind: "message", T: () => wrappers_3.Int32Value },
262
262
  { no: 36, name: "custom_unit_prefix", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix", Experiment_CustomUnitPrefix, "CUSTOM_UNIT_PREFIX_"] },
263
- { no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
263
+ { no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
264
+ { no: 38, name: "allocate_right_to_left", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
264
265
  ]);
265
266
  }
266
267
  create(value) {
@@ -293,6 +294,7 @@ class Experiment$Type extends runtime_4.MessageType {
293
294
  message.isAutomatedChange = false;
294
295
  message.customUnitPrefix = 0;
295
296
  message.growthbookTags = [];
297
+ message.allocateRightToLeft = false;
296
298
  if (value !== undefined)
297
299
  (0, runtime_3.reflectionMergePartial)(this, message, value);
298
300
  return message;
@@ -418,6 +420,9 @@ class Experiment$Type extends runtime_4.MessageType {
418
420
  case /* repeated string growthbook_tags = 37 [packed = false] */ 37:
419
421
  message.growthbookTags.push(reader.string());
420
422
  break;
423
+ case /* bool allocate_right_to_left */ 38:
424
+ message.allocateRightToLeft = reader.bool();
425
+ break;
421
426
  default:
422
427
  let u = options.readUnknownField;
423
428
  if (u === "throw")
@@ -546,6 +551,9 @@ class Experiment$Type extends runtime_4.MessageType {
546
551
  /* repeated string growthbook_tags = 37 [packed = false]; */
547
552
  for (let i = 0; i < message.growthbookTags.length; i++)
548
553
  writer.tag(37, runtime_2.WireType.LengthDelimited).string(message.growthbookTags[i]);
554
+ /* bool allocate_right_to_left = 38; */
555
+ if (message.allocateRightToLeft !== false)
556
+ writer.tag(38, runtime_2.WireType.Varint).bool(message.allocateRightToLeft);
549
557
  let u = options.writeUnknownFields;
550
558
  if (u !== false)
551
559
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2698,7 +2698,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
2698
2698
  /**
2699
2699
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_L_3PP_NITRO_TOOLTIP = 717;
2700
2700
  */
2701
- L_3PP_NITRO_TOOLTIP = 717
2701
+ L_3PP_NITRO_TOOLTIP = 717,
2702
+ /**
2703
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_ACCOUNT_LINKING_BANNER = 718;
2704
+ */
2705
+ MOBILE_ACCOUNT_LINKING_BANNER = 718
2702
2706
  }
2703
2707
  declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
2704
2708
  constructor();
@@ -2100,6 +2100,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2100
2100
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_L_3PP_NITRO_TOOLTIP = 717;
2101
2101
  */
2102
2102
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["L_3PP_NITRO_TOOLTIP"] = 717] = "L_3PP_NITRO_TOOLTIP";
2103
+ /**
2104
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_ACCOUNT_LINKING_BANNER = 718;
2105
+ */
2106
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["MOBILE_ACCOUNT_LINKING_BANNER"] = 718] = "MOBILE_ACCOUNT_LINKING_BANNER";
2103
2107
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2104
2108
  // @generated message type with reflection information, may provide speed optimized methods
2105
2109
  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.134",
3
+ "version": "1.2.136",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",