discord-protos 1.2.191 → 1.2.193
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.
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +3 -2
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +12 -8
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +19 -12
- package/package.json +1 -1
|
@@ -56,16 +56,16 @@ message PremiumMarketingComponentProperties {
|
|
|
56
56
|
string help_article_id = 4;
|
|
57
57
|
repeated FeatureCard feature_cards = 5;
|
|
58
58
|
optional SubscriptionButton button = 6;
|
|
59
|
-
string dismiss_key = 7;
|
|
60
59
|
string hero_art_video_link_light_theme = 8;
|
|
61
60
|
string hero_art_image_link_dark_theme = 9;
|
|
62
61
|
string hero_art_image_link_light_theme = 10;
|
|
63
62
|
string modal_top_pill = 11;
|
|
64
|
-
string body = 12;
|
|
65
63
|
repeated Subtitle hero_art_video_subtitles = 13;
|
|
66
64
|
optional Variant1Storage storage = 14;
|
|
67
65
|
optional Disclaimer disclaimer = 15;
|
|
68
66
|
optional HelpArticle help_article = 18;
|
|
67
|
+
string dismiss_key = 7;
|
|
68
|
+
string body = 12;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
message PremiumTab {
|
|
@@ -768,6 +768,7 @@ message PremiumMarketingComponentProperties {
|
|
|
768
768
|
string cta_label = 2;
|
|
769
769
|
ButtonAction cta_action = 3;
|
|
770
770
|
string deeplink_section = 4;
|
|
771
|
+
optional HelpArticle help_article = 5;
|
|
771
772
|
}
|
|
772
773
|
|
|
773
774
|
string content_identifier = 3;
|
|
@@ -251,10 +251,6 @@ export interface PremiumMarketingComponentProperties_AnnouncementModalVariant1Pr
|
|
|
251
251
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButton button = 6
|
|
252
252
|
*/
|
|
253
253
|
button?: PremiumMarketingComponentProperties_SubscriptionButton;
|
|
254
|
-
/**
|
|
255
|
-
* @generated from protobuf field: string dismiss_key = 7
|
|
256
|
-
*/
|
|
257
|
-
dismissKey: string;
|
|
258
254
|
/**
|
|
259
255
|
* @generated from protobuf field: string hero_art_video_link_light_theme = 8
|
|
260
256
|
*/
|
|
@@ -271,10 +267,6 @@ export interface PremiumMarketingComponentProperties_AnnouncementModalVariant1Pr
|
|
|
271
267
|
* @generated from protobuf field: string modal_top_pill = 11
|
|
272
268
|
*/
|
|
273
269
|
modalTopPill: string;
|
|
274
|
-
/**
|
|
275
|
-
* @generated from protobuf field: string body = 12
|
|
276
|
-
*/
|
|
277
|
-
body: string;
|
|
278
270
|
/**
|
|
279
271
|
* @generated from protobuf field: repeated discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle hero_art_video_subtitles = 13
|
|
280
272
|
*/
|
|
@@ -291,6 +283,14 @@ export interface PremiumMarketingComponentProperties_AnnouncementModalVariant1Pr
|
|
|
291
283
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 18
|
|
292
284
|
*/
|
|
293
285
|
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from protobuf field: string dismiss_key = 7
|
|
288
|
+
*/
|
|
289
|
+
dismissKey: string;
|
|
290
|
+
/**
|
|
291
|
+
* @generated from protobuf field: string body = 12
|
|
292
|
+
*/
|
|
293
|
+
body: string;
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTab
|
|
@@ -746,6 +746,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
|
|
|
746
746
|
* @generated from protobuf field: string deeplink_section = 4
|
|
747
747
|
*/
|
|
748
748
|
deeplinkSection: string;
|
|
749
|
+
/**
|
|
750
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 5
|
|
751
|
+
*/
|
|
752
|
+
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
749
753
|
}
|
|
750
754
|
/**
|
|
751
755
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -2896,16 +2896,16 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
2896
2896
|
{ no: 4, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2897
2897
|
{ no: 5, name: "feature_cards", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.PremiumMarketingComponentProperties_FeatureCard },
|
|
2898
2898
|
{ no: 6, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_SubscriptionButton },
|
|
2899
|
-
{ no: 7, name: "dismiss_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2900
2899
|
{ no: 8, name: "hero_art_video_link_light_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2901
2900
|
{ no: 9, name: "hero_art_image_link_dark_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2902
2901
|
{ no: 10, name: "hero_art_image_link_light_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2903
2902
|
{ no: 11, name: "modal_top_pill", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2904
|
-
{ no: 12, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2905
2903
|
{ no: 13, name: "hero_art_video_subtitles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.PremiumMarketingComponentProperties_Subtitle },
|
|
2906
2904
|
{ no: 14, name: "storage", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Variant1Storage },
|
|
2907
2905
|
{ no: 15, name: "disclaimer", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Disclaimer },
|
|
2908
|
-
{ no: 18, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
|
|
2906
|
+
{ no: 18, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
2907
|
+
{ no: 7, name: "dismiss_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2908
|
+
{ no: 12, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2909
2909
|
]);
|
|
2910
2910
|
}
|
|
2911
2911
|
create(value) {
|
|
@@ -2915,13 +2915,13 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
2915
2915
|
message.videoLink = "";
|
|
2916
2916
|
message.helpArticleId = "";
|
|
2917
2917
|
message.featureCards = [];
|
|
2918
|
-
message.dismissKey = "";
|
|
2919
2918
|
message.heroArtVideoLinkLightTheme = "";
|
|
2920
2919
|
message.heroArtImageLinkDarkTheme = "";
|
|
2921
2920
|
message.heroArtImageLinkLightTheme = "";
|
|
2922
2921
|
message.modalTopPill = "";
|
|
2923
|
-
message.body = "";
|
|
2924
2922
|
message.heroArtVideoSubtitles = [];
|
|
2923
|
+
message.dismissKey = "";
|
|
2924
|
+
message.body = "";
|
|
2925
2925
|
if (value !== undefined)
|
|
2926
2926
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2927
2927
|
return message;
|
|
@@ -2949,9 +2949,6 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
2949
2949
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButton button */ 6:
|
|
2950
2950
|
message.button = exports.PremiumMarketingComponentProperties_SubscriptionButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
2951
2951
|
break;
|
|
2952
|
-
case /* string dismiss_key */ 7:
|
|
2953
|
-
message.dismissKey = reader.string();
|
|
2954
|
-
break;
|
|
2955
2952
|
case /* string hero_art_video_link_light_theme */ 8:
|
|
2956
2953
|
message.heroArtVideoLinkLightTheme = reader.string();
|
|
2957
2954
|
break;
|
|
@@ -2964,9 +2961,6 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
2964
2961
|
case /* string modal_top_pill */ 11:
|
|
2965
2962
|
message.modalTopPill = reader.string();
|
|
2966
2963
|
break;
|
|
2967
|
-
case /* string body */ 12:
|
|
2968
|
-
message.body = reader.string();
|
|
2969
|
-
break;
|
|
2970
2964
|
case /* repeated discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle hero_art_video_subtitles */ 13:
|
|
2971
2965
|
message.heroArtVideoSubtitles.push(exports.PremiumMarketingComponentProperties_Subtitle.internalBinaryRead(reader, reader.uint32(), options));
|
|
2972
2966
|
break;
|
|
@@ -2979,6 +2973,12 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
2979
2973
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 18:
|
|
2980
2974
|
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
2981
2975
|
break;
|
|
2976
|
+
case /* string dismiss_key */ 7:
|
|
2977
|
+
message.dismissKey = reader.string();
|
|
2978
|
+
break;
|
|
2979
|
+
case /* string body */ 12:
|
|
2980
|
+
message.body = reader.string();
|
|
2981
|
+
break;
|
|
2982
2982
|
default:
|
|
2983
2983
|
let u = options.readUnknownField;
|
|
2984
2984
|
if (u === "throw")
|
|
@@ -4422,7 +4422,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4422
4422
|
{ no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4423
4423
|
{ no: 2, name: "cta_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4424
4424
|
{ no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4425
|
-
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4425
|
+
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4426
|
+
{ no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
|
|
4426
4427
|
]);
|
|
4427
4428
|
}
|
|
4428
4429
|
create(value) {
|
|
@@ -4452,6 +4453,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4452
4453
|
case /* string deeplink_section */ 4:
|
|
4453
4454
|
message.deeplinkSection = reader.string();
|
|
4454
4455
|
break;
|
|
4456
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 5:
|
|
4457
|
+
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
4458
|
+
break;
|
|
4455
4459
|
default:
|
|
4456
4460
|
let u = options.readUnknownField;
|
|
4457
4461
|
if (u === "throw")
|
|
@@ -4476,6 +4480,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4476
4480
|
/* string deeplink_section = 4; */
|
|
4477
4481
|
if (message.deeplinkSection !== "")
|
|
4478
4482
|
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4483
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 5; */
|
|
4484
|
+
if (message.helpArticle)
|
|
4485
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4479
4486
|
let u = options.writeUnknownFields;
|
|
4480
4487
|
if (u !== false)
|
|
4481
4488
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|