discord-protos 1.2.392 → 1.2.394

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.
@@ -530,4 +530,5 @@ message Experiment {
530
530
  EligibilityPersistence eligibility_persistence = 42;
531
531
  optional LifecyclePlan lifecycle_plan = 48;
532
532
  bool is_feature_flag = 49;
533
+ bool is_official_holdout = 50;
533
534
  }
@@ -642,6 +642,8 @@ message PremiumMarketingComponentProperties {
642
642
  DISMISSIBLE_CONTENT_DISCORD_ANNIVERSARY_INTRO = 865;
643
643
  DISMISSIBLE_CONTENT_DISCORD_ANNIVERSARY_CHAT_COACHMARK = 866;
644
644
  DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
645
+ DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
646
+ DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
645
647
  }
646
648
 
647
649
  message MobileBottomSheet {
@@ -921,6 +923,7 @@ message PremiumMarketingComponentProperties {
921
923
  string body = 12;
922
924
  string button_label = 13;
923
925
  string badge_text = 14;
926
+ uint32 version = 15;
924
927
  }
925
928
 
926
929
  string content_identifier = 3;
@@ -198,6 +198,10 @@ export interface Experiment {
198
198
  * @generated from protobuf field: bool is_feature_flag = 49
199
199
  */
200
200
  isFeatureFlag: boolean;
201
+ /**
202
+ * @generated from protobuf field: bool is_official_holdout = 50
203
+ */
204
+ isOfficialHoldout: boolean;
201
205
  }
202
206
  /**
203
207
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
@@ -449,7 +449,8 @@ class Experiment$Type extends runtime_4.MessageType {
449
449
  { no: 43, name: "number_line_settings", kind: "message", T: () => exports.Experiment_NumberLineSettings },
450
450
  { no: 42, name: "eligibility_persistence", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.EligibilityPersistence", Experiment_EligibilityPersistence, "ELIGIBILITY_PERSISTENCE_"] },
451
451
  { no: 48, name: "lifecycle_plan", kind: "message", T: () => exports.Experiment_LifecyclePlan },
452
- { no: 49, name: "is_feature_flag", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
452
+ { no: 49, name: "is_feature_flag", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
453
+ { no: 50, name: "is_official_holdout", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
453
454
  ]);
454
455
  }
455
456
  create(value) {
@@ -489,6 +490,7 @@ class Experiment$Type extends runtime_4.MessageType {
489
490
  message.isManaged = false;
490
491
  message.eligibilityPersistence = 0;
491
492
  message.isFeatureFlag = false;
493
+ message.isOfficialHoldout = false;
492
494
  if (value !== undefined)
493
495
  (0, runtime_3.reflectionMergePartial)(this, message, value);
494
496
  return message;
@@ -648,6 +650,9 @@ class Experiment$Type extends runtime_4.MessageType {
648
650
  case /* bool is_feature_flag */ 49:
649
651
  message.isFeatureFlag = reader.bool();
650
652
  break;
653
+ case /* bool is_official_holdout */ 50:
654
+ message.isOfficialHoldout = reader.bool();
655
+ break;
651
656
  default:
652
657
  let u = options.readUnknownField;
653
658
  if (u === "throw")
@@ -810,6 +815,9 @@ class Experiment$Type extends runtime_4.MessageType {
810
815
  /* bool is_feature_flag = 49; */
811
816
  if (message.isFeatureFlag !== false)
812
817
  writer.tag(49, runtime_2.WireType.Varint).bool(message.isFeatureFlag);
818
+ /* bool is_official_holdout = 50; */
819
+ if (message.isOfficialHoldout !== false)
820
+ writer.tag(50, runtime_2.WireType.Varint).bool(message.isOfficialHoldout);
813
821
  let u = options.writeUnknownFields;
814
822
  if (u !== false)
815
823
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1381,6 +1381,10 @@ export interface PremiumMarketingComponentProperties_ShopCoachmark {
1381
1381
  * @generated from protobuf field: string badge_text = 14
1382
1382
  */
1383
1383
  badgeText: string;
1384
+ /**
1385
+ * @generated from protobuf field: uint32 version = 15
1386
+ */
1387
+ version: number;
1384
1388
  }
1385
1389
  /**
1386
1390
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
@@ -3515,7 +3519,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3515
3519
  /**
3516
3520
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
3517
3521
  */
3518
- DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867
3522
+ DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867,
3523
+ /**
3524
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
3525
+ */
3526
+ MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868,
3527
+ /**
3528
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
3529
+ */
3530
+ COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869
3519
3531
  }
3520
3532
  /**
3521
3533
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2143,6 +2143,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2143
2143
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
2144
2144
  */
2145
2145
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT"] = 867] = "DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT";
2146
+ /**
2147
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
2148
+ */
2149
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK"] = 868] = "MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK";
2150
+ /**
2151
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
2152
+ */
2153
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK"] = 869] = "COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK";
2146
2154
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2147
2155
  /**
2148
2156
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -5820,7 +5828,8 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5820
5828
  { no: 11, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5821
5829
  { no: 12, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5822
5830
  { no: 13, name: "button_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5823
- { no: 14, name: "badge_text", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
5831
+ { no: 14, name: "badge_text", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5832
+ { no: 15, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
5824
5833
  ]);
5825
5834
  }
5826
5835
  create(value) {
@@ -5833,6 +5842,7 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5833
5842
  message.body = "";
5834
5843
  message.buttonLabel = "";
5835
5844
  message.badgeText = "";
5845
+ message.version = 0;
5836
5846
  if (value !== undefined)
5837
5847
  (0, runtime_3.reflectionMergePartial)(this, message, value);
5838
5848
  return message;
@@ -5884,6 +5894,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5884
5894
  case /* string badge_text */ 14:
5885
5895
  message.badgeText = reader.string();
5886
5896
  break;
5897
+ case /* uint32 version */ 15:
5898
+ message.version = reader.uint32();
5899
+ break;
5887
5900
  default:
5888
5901
  let u = options.readUnknownField;
5889
5902
  if (u === "throw")
@@ -5938,6 +5951,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5938
5951
  /* string badge_text = 14; */
5939
5952
  if (message.badgeText !== "")
5940
5953
  writer.tag(14, runtime_1.WireType.LengthDelimited).string(message.badgeText);
5954
+ /* uint32 version = 15; */
5955
+ if (message.version !== 0)
5956
+ writer.tag(15, runtime_1.WireType.Varint).uint32(message.version);
5941
5957
  let u = options.writeUnknownFields;
5942
5958
  if (u !== false)
5943
5959
  (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.392",
3
+ "version": "1.2.394",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",