discord-protos 1.2.409 → 1.2.411

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.
@@ -487,6 +487,7 @@ message PreloadedUserSettings {
487
487
  optional google.protobuf.BoolValue prune_inactive_threads = 5;
488
488
  uint32 prune_inactive_threads_days = 6;
489
489
  bool prune_all_favorited_threads = 7;
490
+ bool auto_add_joined_threads_per_guild = 8;
490
491
  }
491
492
 
492
493
  message AudioContextSetting {
@@ -38,6 +38,7 @@ message PremiumMarketingComponentProperties {
38
38
  BUTTON_ACTION_OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6;
39
39
  BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
40
40
  BUTTON_ACTION_OPEN_GUILD_BOOST_CHECKOUT = 8;
41
+ BUTTON_ACTION_OPEN_SHOP = 9;
41
42
  }
42
43
 
43
44
  message CTAButton {
@@ -46,6 +47,7 @@ message PremiumMarketingComponentProperties {
46
47
  string deeplink_section = 3;
47
48
  optional LocalizedString copy_localized = 4;
48
49
  optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
50
+ optional google.protobuf.UInt64Value shop_collection_id = 6;
49
51
  }
50
52
 
51
53
  message Subtitle {
@@ -669,6 +671,8 @@ message PremiumMarketingComponentProperties {
669
671
  DISMISSIBLE_CONTENT_AUTOCLIPPING_EARLY_ACCESS_LAUNCH_ANNOUNCEMENT = 894;
670
672
  DISMISSIBLE_CONTENT_ORB_WALLET_SHOP_CTA_CARD_MOBILE = 895;
671
673
  DISMISSIBLE_CONTENT_ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896;
674
+ DISMISSIBLE_CONTENT_CONSOLE_CONNECTION_COACHMARK = 897;
675
+ DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
672
676
  }
673
677
 
674
678
  message MobileBottomSheet {
@@ -809,6 +813,7 @@ message PremiumMarketingComponentProperties {
809
813
  optional LocalizedString body_localized = 6;
810
814
  optional LocalizedString cta_label_localized = 7;
811
815
  optional google.protobuf.UInt64Value navigable_storefront_application_id = 8;
816
+ optional google.protobuf.UInt64Value shop_collection_id = 9;
812
817
  }
813
818
 
814
819
  message PlanSelectCardBanner {
@@ -837,6 +842,7 @@ message PremiumMarketingComponentProperties {
837
842
  optional LocalizedString body_localized = 6;
838
843
  optional LocalizedString cta_label_localized = 7;
839
844
  optional google.protobuf.UInt64Value navigable_storefront_application_id = 8;
845
+ optional google.protobuf.UInt64Value shop_collection_id = 9;
840
846
  }
841
847
 
842
848
  enum AdminEditorTestSelectOption {
@@ -1266,6 +1266,10 @@ export interface PreloadedUserSettings_Favorites {
1266
1266
  * @generated from protobuf field: bool prune_all_favorited_threads = 7
1267
1267
  */
1268
1268
  pruneAllFavoritedThreads: boolean;
1269
+ /**
1270
+ * @generated from protobuf field: bool auto_add_joined_threads_per_guild = 8
1271
+ */
1272
+ autoAddJoinedThreadsPerGuild: boolean;
1269
1273
  }
1270
1274
  /**
1271
1275
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.AudioContextSetting
@@ -3937,7 +3937,8 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
3937
3937
  { no: 4, name: "auto_add_joined_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3938
3938
  { no: 5, name: "prune_inactive_threads", kind: "message", T: () => wrappers_5.BoolValue },
3939
3939
  { no: 6, name: "prune_inactive_threads_days", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
3940
- { no: 7, name: "prune_all_favorited_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
3940
+ { no: 7, name: "prune_all_favorited_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3941
+ { no: 8, name: "auto_add_joined_threads_per_guild", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
3941
3942
  ]);
3942
3943
  }
3943
3944
  create(value) {
@@ -3947,6 +3948,7 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
3947
3948
  message.autoAddJoinedThreads = false;
3948
3949
  message.pruneInactiveThreadsDays = 0;
3949
3950
  message.pruneAllFavoritedThreads = false;
3951
+ message.autoAddJoinedThreadsPerGuild = false;
3950
3952
  if (value !== undefined)
3951
3953
  (0, runtime_3.reflectionMergePartial)(this, message, value);
3952
3954
  return message;
@@ -3977,6 +3979,9 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
3977
3979
  case /* bool prune_all_favorited_threads */ 7:
3978
3980
  message.pruneAllFavoritedThreads = reader.bool();
3979
3981
  break;
3982
+ case /* bool auto_add_joined_threads_per_guild */ 8:
3983
+ message.autoAddJoinedThreadsPerGuild = reader.bool();
3984
+ break;
3980
3985
  default:
3981
3986
  let u = options.readUnknownField;
3982
3987
  if (u === "throw")
@@ -4030,6 +4035,9 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
4030
4035
  /* bool prune_all_favorited_threads = 7; */
4031
4036
  if (message.pruneAllFavoritedThreads !== false)
4032
4037
  writer.tag(7, runtime_1.WireType.Varint).bool(message.pruneAllFavoritedThreads);
4038
+ /* bool auto_add_joined_threads_per_guild = 8; */
4039
+ if (message.autoAddJoinedThreadsPerGuild !== false)
4040
+ writer.tag(8, runtime_1.WireType.Varint).bool(message.autoAddJoinedThreadsPerGuild);
4033
4041
  let u = options.writeUnknownFields;
4034
4042
  if (u !== false)
4035
4043
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -313,6 +313,10 @@ export interface PremiumMarketingComponentProperties_CTAButton {
313
313
  * @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
314
314
  */
315
315
  navigableStorefrontApplicationId?: UInt64Value;
316
+ /**
317
+ * @generated from protobuf field: optional google.protobuf.UInt64Value shop_collection_id = 6
318
+ */
319
+ shopCollectionId?: UInt64Value;
316
320
  }
317
321
  /**
318
322
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle
@@ -991,6 +995,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
991
995
  * @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 8
992
996
  */
993
997
  navigableStorefrontApplicationId?: UInt64Value;
998
+ /**
999
+ * @generated from protobuf field: optional google.protobuf.UInt64Value shop_collection_id = 9
1000
+ */
1001
+ shopCollectionId?: UInt64Value;
994
1002
  }
995
1003
  /**
996
1004
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PlanSelectCardBanner
@@ -1082,6 +1090,10 @@ export interface PremiumMarketingComponentProperties_ShopNagbar {
1082
1090
  * @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 8
1083
1091
  */
1084
1092
  navigableStorefrontApplicationId?: UInt64Value;
1093
+ /**
1094
+ * @generated from protobuf field: optional google.protobuf.UInt64Value shop_collection_id = 9
1095
+ */
1096
+ shopCollectionId?: UInt64Value;
1085
1097
  }
1086
1098
  /**
1087
1099
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AdminEditorTestComponent
@@ -1507,7 +1519,11 @@ export declare enum PremiumMarketingComponentProperties_ButtonAction {
1507
1519
  /**
1508
1520
  * @generated from protobuf enum value: BUTTON_ACTION_OPEN_GUILD_BOOST_CHECKOUT = 8;
1509
1521
  */
1510
- OPEN_GUILD_BOOST_CHECKOUT = 8
1522
+ OPEN_GUILD_BOOST_CHECKOUT = 8,
1523
+ /**
1524
+ * @generated from protobuf enum value: BUTTON_ACTION_OPEN_SHOP = 9;
1525
+ */
1526
+ OPEN_SHOP = 9
1511
1527
  }
1512
1528
  /**
1513
1529
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButtonVariant
@@ -3709,7 +3725,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
3709
3725
  /**
3710
3726
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896;
3711
3727
  */
3712
- ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896
3728
+ ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896,
3729
+ /**
3730
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_CONSOLE_CONNECTION_COACHMARK = 897;
3731
+ */
3732
+ CONSOLE_CONNECTION_COACHMARK = 897,
3733
+ /**
3734
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
3735
+ */
3736
+ GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898
3713
3737
  }
3714
3738
  /**
3715
3739
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -47,6 +47,10 @@ var PremiumMarketingComponentProperties_ButtonAction;
47
47
  * @generated from protobuf enum value: BUTTON_ACTION_OPEN_GUILD_BOOST_CHECKOUT = 8;
48
48
  */
49
49
  PremiumMarketingComponentProperties_ButtonAction[PremiumMarketingComponentProperties_ButtonAction["OPEN_GUILD_BOOST_CHECKOUT"] = 8] = "OPEN_GUILD_BOOST_CHECKOUT";
50
+ /**
51
+ * @generated from protobuf enum value: BUTTON_ACTION_OPEN_SHOP = 9;
52
+ */
53
+ PremiumMarketingComponentProperties_ButtonAction[PremiumMarketingComponentProperties_ButtonAction["OPEN_SHOP"] = 9] = "OPEN_SHOP";
50
54
  })(PremiumMarketingComponentProperties_ButtonAction || (exports.PremiumMarketingComponentProperties_ButtonAction = PremiumMarketingComponentProperties_ButtonAction = {}));
51
55
  /**
52
56
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButtonVariant
@@ -2251,6 +2255,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
2251
2255
  * @generated from protobuf enum value: DISMISSIBLE_CONTENT_ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE = 896;
2252
2256
  */
2253
2257
  PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE"] = 896] = "ORB_WALLET_NITRO_UPSELL_CTA_CARD_MOBILE";
2258
+ /**
2259
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_CONSOLE_CONNECTION_COACHMARK = 897;
2260
+ */
2261
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CONSOLE_CONNECTION_COACHMARK"] = 897] = "CONSOLE_CONNECTION_COACHMARK";
2262
+ /**
2263
+ * @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT = 898;
2264
+ */
2265
+ PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT"] = 898] = "GUILD_SPACE_CHANNEL_ROW_HIGHLIGHT";
2254
2266
  })(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
2255
2267
  /**
2256
2268
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
@@ -2956,7 +2968,8 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
2956
2968
  { no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
2957
2969
  { no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2958
2970
  { no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
2959
- { no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
2971
+ { no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value },
2972
+ { no: 6, name: "shop_collection_id", kind: "message", T: () => wrappers_1.UInt64Value }
2960
2973
  ]);
2961
2974
  }
2962
2975
  create(value) {
@@ -2988,6 +3001,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
2988
3001
  case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
2989
3002
  message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
2990
3003
  break;
3004
+ case /* optional google.protobuf.UInt64Value shop_collection_id */ 6:
3005
+ message.shopCollectionId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.shopCollectionId);
3006
+ break;
2991
3007
  default:
2992
3008
  let u = options.readUnknownField;
2993
3009
  if (u === "throw")
@@ -3015,6 +3031,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
3015
3031
  /* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
3016
3032
  if (message.navigableStorefrontApplicationId)
3017
3033
  wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
3034
+ /* optional google.protobuf.UInt64Value shop_collection_id = 6; */
3035
+ if (message.shopCollectionId)
3036
+ wrappers_1.UInt64Value.internalBinaryWrite(message.shopCollectionId, writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
3018
3037
  let u = options.writeUnknownFields;
3019
3038
  if (u !== false)
3020
3039
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4846,7 +4865,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4846
4865
  { no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
4847
4866
  { no: 6, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
4848
4867
  { no: 7, name: "cta_label_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
4849
- { no: 8, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
4868
+ { no: 8, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value },
4869
+ { no: 9, name: "shop_collection_id", kind: "message", T: () => wrappers_1.UInt64Value }
4850
4870
  ]);
4851
4871
  }
4852
4872
  create(value) {
@@ -4888,6 +4908,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4888
4908
  case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 8:
4889
4909
  message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
4890
4910
  break;
4911
+ case /* optional google.protobuf.UInt64Value shop_collection_id */ 9:
4912
+ message.shopCollectionId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.shopCollectionId);
4913
+ break;
4891
4914
  default:
4892
4915
  let u = options.readUnknownField;
4893
4916
  if (u === "throw")
@@ -4924,6 +4947,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4924
4947
  /* optional google.protobuf.UInt64Value navigable_storefront_application_id = 8; */
4925
4948
  if (message.navigableStorefrontApplicationId)
4926
4949
  wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
4950
+ /* optional google.protobuf.UInt64Value shop_collection_id = 9; */
4951
+ if (message.shopCollectionId)
4952
+ wrappers_1.UInt64Value.internalBinaryWrite(message.shopCollectionId, writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
4927
4953
  let u = options.writeUnknownFields;
4928
4954
  if (u !== false)
4929
4955
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -5103,7 +5129,8 @@ class PremiumMarketingComponentProperties_ShopNagbar$Type extends runtime_4.Mess
5103
5129
  { no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
5104
5130
  { no: 6, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
5105
5131
  { no: 7, name: "cta_label_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
5106
- { no: 8, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
5132
+ { no: 8, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value },
5133
+ { no: 9, name: "shop_collection_id", kind: "message", T: () => wrappers_1.UInt64Value }
5107
5134
  ]);
5108
5135
  }
5109
5136
  create(value) {
@@ -5145,6 +5172,9 @@ class PremiumMarketingComponentProperties_ShopNagbar$Type extends runtime_4.Mess
5145
5172
  case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 8:
5146
5173
  message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
5147
5174
  break;
5175
+ case /* optional google.protobuf.UInt64Value shop_collection_id */ 9:
5176
+ message.shopCollectionId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.shopCollectionId);
5177
+ break;
5148
5178
  default:
5149
5179
  let u = options.readUnknownField;
5150
5180
  if (u === "throw")
@@ -5181,6 +5211,9 @@ class PremiumMarketingComponentProperties_ShopNagbar$Type extends runtime_4.Mess
5181
5211
  /* optional google.protobuf.UInt64Value navigable_storefront_application_id = 8; */
5182
5212
  if (message.navigableStorefrontApplicationId)
5183
5213
  wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
5214
+ /* optional google.protobuf.UInt64Value shop_collection_id = 9; */
5215
+ if (message.shopCollectionId)
5216
+ wrappers_1.UInt64Value.internalBinaryWrite(message.shopCollectionId, writer.tag(9, runtime_1.WireType.LengthDelimited).fork(), options).join();
5184
5217
  let u = options.writeUnknownFields;
5185
5218
  if (u !== false)
5186
5219
  (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.409",
3
+ "version": "1.2.411",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",