discord-protos 1.2.393 → 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
  }
@@ -643,6 +643,7 @@ message PremiumMarketingComponentProperties {
643
643
  DISMISSIBLE_CONTENT_DISCORD_ANNIVERSARY_CHAT_COACHMARK = 866;
644
644
  DISMISSIBLE_CONTENT_DEFAULT_EMOJIS_PACKS_DISCOVERY_DOT = 867;
645
645
  DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
646
+ DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_ENTRY_MARKETING_COACHMARK = 869;
646
647
  }
647
648
 
648
649
  message MobileBottomSheet {
@@ -922,6 +923,7 @@ message PremiumMarketingComponentProperties {
922
923
  string body = 12;
923
924
  string button_label = 13;
924
925
  string badge_text = 14;
926
+ uint32 version = 15;
925
927
  }
926
928
 
927
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
@@ -3519,7 +3523,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3519
3523
  /**
3520
3524
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
3521
3525
  */
3522
- MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868
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
3523
3531
  }
3524
3532
  /**
3525
3533
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2147,6 +2147,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2147
2147
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_MOBILE_MARKDOWN_FORMAT_MENU_COACHMARK = 868;
2148
2148
  */
2149
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";
2150
2154
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2151
2155
  /**
2152
2156
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -5824,7 +5828,8 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5824
5828
  { no: 11, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5825
5829
  { no: 12, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5826
5830
  { no: 13, name: "button_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5827
- { 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*/ }
5828
5833
  ]);
5829
5834
  }
5830
5835
  create(value) {
@@ -5837,6 +5842,7 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5837
5842
  message.body = "";
5838
5843
  message.buttonLabel = "";
5839
5844
  message.badgeText = "";
5845
+ message.version = 0;
5840
5846
  if (value !== undefined)
5841
5847
  (0, runtime_3.reflectionMergePartial)(this, message, value);
5842
5848
  return message;
@@ -5888,6 +5894,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5888
5894
  case /* string badge_text */ 14:
5889
5895
  message.badgeText = reader.string();
5890
5896
  break;
5897
+ case /* uint32 version */ 15:
5898
+ message.version = reader.uint32();
5899
+ break;
5891
5900
  default:
5892
5901
  let u = options.readUnknownField;
5893
5902
  if (u === "throw")
@@ -5942,6 +5951,9 @@ class PremiumMarketingComponentProperties_ShopCoachmark$Type extends runtime_4.M
5942
5951
  /* string badge_text = 14; */
5943
5952
  if (message.badgeText !== "")
5944
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);
5945
5957
  let u = options.writeUnknownFields;
5946
5958
  if (u !== false)
5947
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.393",
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",