discord-protos 1.2.272 → 1.2.273
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 +5 -37
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +16 -156
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +25 -333
- package/package.json +1 -1
|
@@ -39,7 +39,7 @@ message PremiumMarketingComponentProperties {
|
|
|
39
39
|
BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
message
|
|
42
|
+
message CTAButton {
|
|
43
43
|
string copy = 1;
|
|
44
44
|
ButtonAction button_action = 2;
|
|
45
45
|
string deeplink_section = 3;
|
|
@@ -71,7 +71,7 @@ message PremiumMarketingComponentProperties {
|
|
|
71
71
|
string video_link = 3;
|
|
72
72
|
string help_article_id = 4;
|
|
73
73
|
repeated FeatureCard feature_cards = 5;
|
|
74
|
-
optional
|
|
74
|
+
optional CTAButton button = 6;
|
|
75
75
|
string hero_art_video_link_light_theme = 8;
|
|
76
76
|
string hero_art_image_link_dark_theme = 9;
|
|
77
77
|
string hero_art_image_link_light_theme = 10;
|
|
@@ -96,14 +96,6 @@ message PremiumMarketingComponentProperties {
|
|
|
96
96
|
optional LocalizedString acknowledged_badge_label_localized = 6;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
message MarketingPageBannerButton {
|
|
100
|
-
string copy = 1;
|
|
101
|
-
ButtonAction button_action = 2;
|
|
102
|
-
string deeplink_section = 3;
|
|
103
|
-
optional LocalizedString copy_localized = 4;
|
|
104
|
-
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
99
|
enum MarketingPageBannerButtonVariant {
|
|
108
100
|
MARKETING_PAGE_BANNER_BUTTON_VARIANT_UNSPECIFIED = 0;
|
|
109
101
|
MARKETING_PAGE_BANNER_BUTTON_VARIANT_EXPRESSIVE = 1;
|
|
@@ -115,7 +107,7 @@ message PremiumMarketingComponentProperties {
|
|
|
115
107
|
string header = 2;
|
|
116
108
|
string body = 3;
|
|
117
109
|
string help_article_id = 4;
|
|
118
|
-
optional
|
|
110
|
+
optional CTAButton button = 5;
|
|
119
111
|
optional HelpArticle help_article = 6;
|
|
120
112
|
optional LocalizedString header_localized = 7;
|
|
121
113
|
optional LocalizedString body_localized = 8;
|
|
@@ -130,14 +122,6 @@ message PremiumMarketingComponentProperties {
|
|
|
130
122
|
optional LocalizedString body_localized = 5;
|
|
131
123
|
}
|
|
132
124
|
|
|
133
|
-
message CTAButton {
|
|
134
|
-
string copy = 1;
|
|
135
|
-
ButtonAction button_action = 2;
|
|
136
|
-
string deeplink_section = 3;
|
|
137
|
-
optional LocalizedString copy_localized = 4;
|
|
138
|
-
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
125
|
enum DismissibleContent {
|
|
142
126
|
DISMISSIBLE_CONTENT_HUB_WAITLIST_UPSELL = 0;
|
|
143
127
|
DISMISSIBLE_CONTENT_APPLICATION_COMMAND_TOOLTIP = 1;
|
|
@@ -855,19 +839,11 @@ message PremiumMarketingComponentProperties {
|
|
|
855
839
|
optional LocalizedString body_localized = 5;
|
|
856
840
|
}
|
|
857
841
|
|
|
858
|
-
message PremiumTabPopoverCTAButton {
|
|
859
|
-
string copy = 1;
|
|
860
|
-
ButtonAction button_action = 2;
|
|
861
|
-
string deeplink_section = 3;
|
|
862
|
-
optional LocalizedString copy_localized = 4;
|
|
863
|
-
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
842
|
message PremiumTabPopover {
|
|
867
843
|
string header = 1;
|
|
868
844
|
string body = 2;
|
|
869
845
|
optional ThemeAwareAsset asset = 3;
|
|
870
|
-
optional
|
|
846
|
+
optional CTAButton button = 4;
|
|
871
847
|
string help_article_id = 5;
|
|
872
848
|
optional HelpArticle help_article = 6;
|
|
873
849
|
optional LocalizedString header_localized = 7;
|
|
@@ -892,19 +868,11 @@ message PremiumMarketingComponentProperties {
|
|
|
892
868
|
optional HelpArticle help_article = 4;
|
|
893
869
|
}
|
|
894
870
|
|
|
895
|
-
message BillingSettingsBannerCTAButton {
|
|
896
|
-
string copy = 1;
|
|
897
|
-
ButtonAction button_action = 2;
|
|
898
|
-
string deeplink_section = 3;
|
|
899
|
-
optional LocalizedString copy_localized = 4;
|
|
900
|
-
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
871
|
message BillingSettingsBanner {
|
|
904
872
|
string header = 1;
|
|
905
873
|
string body = 2;
|
|
906
874
|
optional ThemeAwareAsset asset = 3;
|
|
907
|
-
optional
|
|
875
|
+
optional CTAButton button = 4;
|
|
908
876
|
optional LocalizedString header_localized = 5;
|
|
909
877
|
optional LocalizedString body_localized = 6;
|
|
910
878
|
optional HelpArticle help_article = 7;
|
|
@@ -212,9 +212,9 @@ export interface PremiumMarketingComponentProperties_FeatureCard {
|
|
|
212
212
|
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
215
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
216
216
|
*/
|
|
217
|
-
export interface
|
|
217
|
+
export interface PremiumMarketingComponentProperties_CTAButton {
|
|
218
218
|
/**
|
|
219
219
|
* @generated from protobuf field: string copy = 1
|
|
220
220
|
*/
|
|
@@ -318,9 +318,9 @@ export interface PremiumMarketingComponentProperties_AnnouncementModalVariant1Pr
|
|
|
318
318
|
*/
|
|
319
319
|
featureCards: PremiumMarketingComponentProperties_FeatureCard[];
|
|
320
320
|
/**
|
|
321
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
321
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 6
|
|
322
322
|
*/
|
|
323
|
-
button?:
|
|
323
|
+
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
324
324
|
/**
|
|
325
325
|
* @generated from protobuf field: string hero_art_video_link_light_theme = 8
|
|
326
326
|
*/
|
|
@@ -403,31 +403,6 @@ export interface PremiumMarketingComponentProperties_PremiumTab {
|
|
|
403
403
|
*/
|
|
404
404
|
acknowledgedBadgeLabelLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
405
405
|
}
|
|
406
|
-
/**
|
|
407
|
-
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
408
|
-
*/
|
|
409
|
-
export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
410
|
-
/**
|
|
411
|
-
* @generated from protobuf field: string copy = 1
|
|
412
|
-
*/
|
|
413
|
-
copy: string;
|
|
414
|
-
/**
|
|
415
|
-
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
416
|
-
*/
|
|
417
|
-
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
418
|
-
/**
|
|
419
|
-
* @generated from protobuf field: string deeplink_section = 3
|
|
420
|
-
*/
|
|
421
|
-
deeplinkSection: string;
|
|
422
|
-
/**
|
|
423
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
424
|
-
*/
|
|
425
|
-
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
426
|
-
/**
|
|
427
|
-
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
428
|
-
*/
|
|
429
|
-
navigableStorefrontApplicationId?: UInt64Value;
|
|
430
|
-
}
|
|
431
406
|
/**
|
|
432
407
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
433
408
|
*/
|
|
@@ -449,9 +424,9 @@ export interface PremiumMarketingComponentProperties_MarketingPageBanner {
|
|
|
449
424
|
*/
|
|
450
425
|
helpArticleId: string;
|
|
451
426
|
/**
|
|
452
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
427
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 5
|
|
453
428
|
*/
|
|
454
|
-
button?:
|
|
429
|
+
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
455
430
|
/**
|
|
456
431
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 6
|
|
457
432
|
*/
|
|
@@ -494,31 +469,6 @@ export interface PremiumMarketingComponentProperties_PaymentModalBanner {
|
|
|
494
469
|
*/
|
|
495
470
|
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
496
471
|
}
|
|
497
|
-
/**
|
|
498
|
-
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
499
|
-
*/
|
|
500
|
-
export interface PremiumMarketingComponentProperties_CTAButton {
|
|
501
|
-
/**
|
|
502
|
-
* @generated from protobuf field: string copy = 1
|
|
503
|
-
*/
|
|
504
|
-
copy: string;
|
|
505
|
-
/**
|
|
506
|
-
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
507
|
-
*/
|
|
508
|
-
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
509
|
-
/**
|
|
510
|
-
* @generated from protobuf field: string deeplink_section = 3
|
|
511
|
-
*/
|
|
512
|
-
deeplinkSection: string;
|
|
513
|
-
/**
|
|
514
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
515
|
-
*/
|
|
516
|
-
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
517
|
-
/**
|
|
518
|
-
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
519
|
-
*/
|
|
520
|
-
navigableStorefrontApplicationId?: UInt64Value;
|
|
521
|
-
}
|
|
522
472
|
/**
|
|
523
473
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
524
474
|
*/
|
|
@@ -882,31 +832,6 @@ export interface PremiumMarketingComponentProperties_PremiumTabTooltip {
|
|
|
882
832
|
*/
|
|
883
833
|
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
884
834
|
}
|
|
885
|
-
/**
|
|
886
|
-
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton
|
|
887
|
-
*/
|
|
888
|
-
export interface PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton {
|
|
889
|
-
/**
|
|
890
|
-
* @generated from protobuf field: string copy = 1
|
|
891
|
-
*/
|
|
892
|
-
copy: string;
|
|
893
|
-
/**
|
|
894
|
-
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
895
|
-
*/
|
|
896
|
-
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
897
|
-
/**
|
|
898
|
-
* @generated from protobuf field: string deeplink_section = 3
|
|
899
|
-
*/
|
|
900
|
-
deeplinkSection: string;
|
|
901
|
-
/**
|
|
902
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
903
|
-
*/
|
|
904
|
-
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
905
|
-
/**
|
|
906
|
-
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
907
|
-
*/
|
|
908
|
-
navigableStorefrontApplicationId?: UInt64Value;
|
|
909
|
-
}
|
|
910
835
|
/**
|
|
911
836
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover
|
|
912
837
|
*/
|
|
@@ -924,9 +849,9 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopover {
|
|
|
924
849
|
*/
|
|
925
850
|
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
926
851
|
/**
|
|
927
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
852
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 4
|
|
928
853
|
*/
|
|
929
|
-
button?:
|
|
854
|
+
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
930
855
|
/**
|
|
931
856
|
* @generated from protobuf field: string help_article_id = 5
|
|
932
857
|
*/
|
|
@@ -1002,31 +927,6 @@ export interface PremiumMarketingComponentProperties_PlanSelectCardBanner {
|
|
|
1002
927
|
*/
|
|
1003
928
|
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1004
929
|
}
|
|
1005
|
-
/**
|
|
1006
|
-
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBannerCTAButton
|
|
1007
|
-
*/
|
|
1008
|
-
export interface PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton {
|
|
1009
|
-
/**
|
|
1010
|
-
* @generated from protobuf field: string copy = 1
|
|
1011
|
-
*/
|
|
1012
|
-
copy: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
1015
|
-
*/
|
|
1016
|
-
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
1017
|
-
/**
|
|
1018
|
-
* @generated from protobuf field: string deeplink_section = 3
|
|
1019
|
-
*/
|
|
1020
|
-
deeplinkSection: string;
|
|
1021
|
-
/**
|
|
1022
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
1023
|
-
*/
|
|
1024
|
-
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1025
|
-
/**
|
|
1026
|
-
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
1027
|
-
*/
|
|
1028
|
-
navigableStorefrontApplicationId?: UInt64Value;
|
|
1029
|
-
}
|
|
1030
930
|
/**
|
|
1031
931
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBanner
|
|
1032
932
|
*/
|
|
@@ -1044,9 +944,9 @@ export interface PremiumMarketingComponentProperties_BillingSettingsBanner {
|
|
|
1044
944
|
*/
|
|
1045
945
|
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1046
946
|
/**
|
|
1047
|
-
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
947
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 4
|
|
1048
948
|
*/
|
|
1049
|
-
button?:
|
|
949
|
+
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
1050
950
|
/**
|
|
1051
951
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 5
|
|
1052
952
|
*/
|
|
@@ -3606,16 +3506,16 @@ declare class PremiumMarketingComponentProperties_FeatureCard$Type extends Messa
|
|
|
3606
3506
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.FeatureCard
|
|
3607
3507
|
*/
|
|
3608
3508
|
export declare const PremiumMarketingComponentProperties_FeatureCard: PremiumMarketingComponentProperties_FeatureCard$Type;
|
|
3609
|
-
declare class
|
|
3509
|
+
declare class PremiumMarketingComponentProperties_CTAButton$Type extends MessageType<PremiumMarketingComponentProperties_CTAButton> {
|
|
3610
3510
|
constructor();
|
|
3611
|
-
create(value?: PartialMessage<
|
|
3612
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
3613
|
-
internalBinaryWrite(message:
|
|
3511
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_CTAButton>): PremiumMarketingComponentProperties_CTAButton;
|
|
3512
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_CTAButton): PremiumMarketingComponentProperties_CTAButton;
|
|
3513
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_CTAButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3614
3514
|
}
|
|
3615
3515
|
/**
|
|
3616
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3516
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
3617
3517
|
*/
|
|
3618
|
-
export declare const
|
|
3518
|
+
export declare const PremiumMarketingComponentProperties_CTAButton: PremiumMarketingComponentProperties_CTAButton$Type;
|
|
3619
3519
|
declare class PremiumMarketingComponentProperties_Subtitle$Type extends MessageType<PremiumMarketingComponentProperties_Subtitle> {
|
|
3620
3520
|
constructor();
|
|
3621
3521
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_Subtitle>): PremiumMarketingComponentProperties_Subtitle;
|
|
@@ -3669,16 +3569,6 @@ declare class PremiumMarketingComponentProperties_PremiumTab$Type extends Messag
|
|
|
3669
3569
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTab
|
|
3670
3570
|
*/
|
|
3671
3571
|
export declare const PremiumMarketingComponentProperties_PremiumTab: PremiumMarketingComponentProperties_PremiumTab$Type;
|
|
3672
|
-
declare class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends MessageType<PremiumMarketingComponentProperties_MarketingPageBannerButton> {
|
|
3673
|
-
constructor();
|
|
3674
|
-
create(value?: PartialMessage<PremiumMarketingComponentProperties_MarketingPageBannerButton>): PremiumMarketingComponentProperties_MarketingPageBannerButton;
|
|
3675
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_MarketingPageBannerButton): PremiumMarketingComponentProperties_MarketingPageBannerButton;
|
|
3676
|
-
internalBinaryWrite(message: PremiumMarketingComponentProperties_MarketingPageBannerButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3677
|
-
}
|
|
3678
|
-
/**
|
|
3679
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
3680
|
-
*/
|
|
3681
|
-
export declare const PremiumMarketingComponentProperties_MarketingPageBannerButton: PremiumMarketingComponentProperties_MarketingPageBannerButton$Type;
|
|
3682
3572
|
declare class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends MessageType<PremiumMarketingComponentProperties_MarketingPageBanner> {
|
|
3683
3573
|
constructor();
|
|
3684
3574
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_MarketingPageBanner>): PremiumMarketingComponentProperties_MarketingPageBanner;
|
|
@@ -3699,16 +3589,6 @@ declare class PremiumMarketingComponentProperties_PaymentModalBanner$Type extend
|
|
|
3699
3589
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PaymentModalBanner
|
|
3700
3590
|
*/
|
|
3701
3591
|
export declare const PremiumMarketingComponentProperties_PaymentModalBanner: PremiumMarketingComponentProperties_PaymentModalBanner$Type;
|
|
3702
|
-
declare class PremiumMarketingComponentProperties_CTAButton$Type extends MessageType<PremiumMarketingComponentProperties_CTAButton> {
|
|
3703
|
-
constructor();
|
|
3704
|
-
create(value?: PartialMessage<PremiumMarketingComponentProperties_CTAButton>): PremiumMarketingComponentProperties_CTAButton;
|
|
3705
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_CTAButton): PremiumMarketingComponentProperties_CTAButton;
|
|
3706
|
-
internalBinaryWrite(message: PremiumMarketingComponentProperties_CTAButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3707
|
-
}
|
|
3708
|
-
/**
|
|
3709
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
3710
|
-
*/
|
|
3711
|
-
export declare const PremiumMarketingComponentProperties_CTAButton: PremiumMarketingComponentProperties_CTAButton$Type;
|
|
3712
3592
|
declare class PremiumMarketingComponentProperties_MobileBottomSheet$Type extends MessageType<PremiumMarketingComponentProperties_MobileBottomSheet> {
|
|
3713
3593
|
constructor();
|
|
3714
3594
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_MobileBottomSheet>): PremiumMarketingComponentProperties_MobileBottomSheet;
|
|
@@ -3819,16 +3699,6 @@ declare class PremiumMarketingComponentProperties_PremiumTabTooltip$Type extends
|
|
|
3819
3699
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabTooltip
|
|
3820
3700
|
*/
|
|
3821
3701
|
export declare const PremiumMarketingComponentProperties_PremiumTabTooltip: PremiumMarketingComponentProperties_PremiumTabTooltip$Type;
|
|
3822
|
-
declare class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extends MessageType<PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton> {
|
|
3823
|
-
constructor();
|
|
3824
|
-
create(value?: PartialMessage<PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton>): PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton;
|
|
3825
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton): PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton;
|
|
3826
|
-
internalBinaryWrite(message: PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3827
|
-
}
|
|
3828
|
-
/**
|
|
3829
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton
|
|
3830
|
-
*/
|
|
3831
|
-
export declare const PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton: PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type;
|
|
3832
3702
|
declare class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends MessageType<PremiumMarketingComponentProperties_PremiumTabPopover> {
|
|
3833
3703
|
constructor();
|
|
3834
3704
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_PremiumTabPopover>): PremiumMarketingComponentProperties_PremiumTabPopover;
|
|
@@ -3859,16 +3729,6 @@ declare class PremiumMarketingComponentProperties_PlanSelectCardBanner$Type exte
|
|
|
3859
3729
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PlanSelectCardBanner
|
|
3860
3730
|
*/
|
|
3861
3731
|
export declare const PremiumMarketingComponentProperties_PlanSelectCardBanner: PremiumMarketingComponentProperties_PlanSelectCardBanner$Type;
|
|
3862
|
-
declare class PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton$Type extends MessageType<PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton> {
|
|
3863
|
-
constructor();
|
|
3864
|
-
create(value?: PartialMessage<PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton>): PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton;
|
|
3865
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton): PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton;
|
|
3866
|
-
internalBinaryWrite(message: PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3867
|
-
}
|
|
3868
|
-
/**
|
|
3869
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBannerCTAButton
|
|
3870
|
-
*/
|
|
3871
|
-
export declare const PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton: PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton$Type;
|
|
3872
3732
|
declare class PremiumMarketingComponentProperties_BillingSettingsBanner$Type extends MessageType<PremiumMarketingComponentProperties_BillingSettingsBanner> {
|
|
3873
3733
|
constructor();
|
|
3874
3734
|
create(value?: PartialMessage<PremiumMarketingComponentProperties_BillingSettingsBanner>): PremiumMarketingComponentProperties_BillingSettingsBanner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PremiumMarketingComponentProperties_ShopNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsBanner = exports.
|
|
3
|
+
exports.PremiumMarketingComponentProperties_ShopNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsBanner = exports.PremiumMarketingComponentProperties_PlanSelectCardBanner = exports.PremiumMarketingComponentProperties_Nagbar = exports.PremiumMarketingComponentProperties_PremiumTabPopover = exports.PremiumMarketingComponentProperties_PremiumTabTooltip = exports.PremiumMarketingComponentProperties_GiftReminderCoachmark = exports.PremiumMarketingComponentProperties_GiftReminderNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner = exports.PremiumMarketingComponentProperties_GiftCustomizationBanner = exports.PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner = exports.PremiumMarketingComponentProperties_GiftIconCoachmark = exports.PremiumMarketingComponentProperties_ThemeAwareAsset = exports.PremiumMarketingComponentProperties_GiftIcon = exports.PremiumMarketingComponentProperties_Gradient = exports.PremiumMarketingComponentProperties_MobileBottomSheet = exports.PremiumMarketingComponentProperties_PaymentModalBanner = exports.PremiumMarketingComponentProperties_MarketingPageBanner = exports.PremiumMarketingComponentProperties_PremiumTab = exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties = exports.PremiumMarketingComponentProperties_Disclaimer = exports.PremiumMarketingComponentProperties_Variant1Storage = exports.PremiumMarketingComponentProperties_Subtitle = exports.PremiumMarketingComponentProperties_CTAButton = exports.PremiumMarketingComponentProperties_FeatureCard = exports.PremiumMarketingComponentProperties_HelpArticle = exports.PremiumMarketingComponentProperties_LocalizedString = exports.PremiumMarketingComponentProperties = exports.PremiumMarketingComponentProperties_AssetVariant = exports.PremiumMarketingComponentProperties_DismissibleContent = exports.PremiumMarketingComponentProperties_MarketingPageBannerButtonVariant = exports.PremiumMarketingComponentProperties_ButtonAction = void 0;
|
|
4
4
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
5
5
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -2965,9 +2965,9 @@ class PremiumMarketingComponentProperties_FeatureCard$Type extends runtime_4.Mes
|
|
|
2965
2965
|
*/
|
|
2966
2966
|
exports.PremiumMarketingComponentProperties_FeatureCard = new PremiumMarketingComponentProperties_FeatureCard$Type();
|
|
2967
2967
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2968
|
-
class
|
|
2968
|
+
class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.MessageType {
|
|
2969
2969
|
constructor() {
|
|
2970
|
-
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
2970
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton", [
|
|
2971
2971
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2972
2972
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
2973
2973
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3038,9 +3038,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
3038
3038
|
}
|
|
3039
3039
|
}
|
|
3040
3040
|
/**
|
|
3041
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3041
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
3042
3042
|
*/
|
|
3043
|
-
exports.
|
|
3043
|
+
exports.PremiumMarketingComponentProperties_CTAButton = new PremiumMarketingComponentProperties_CTAButton$Type();
|
|
3044
3044
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3045
3045
|
class PremiumMarketingComponentProperties_Subtitle$Type extends runtime_4.MessageType {
|
|
3046
3046
|
constructor() {
|
|
@@ -3285,7 +3285,7 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
3285
3285
|
{ no: 3, name: "video_link", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3286
3286
|
{ no: 4, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3287
3287
|
{ no: 5, name: "feature_cards", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.PremiumMarketingComponentProperties_FeatureCard },
|
|
3288
|
-
{ no: 6, name: "button", kind: "message", T: () => exports.
|
|
3288
|
+
{ no: 6, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton },
|
|
3289
3289
|
{ no: 8, name: "hero_art_video_link_light_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3290
3290
|
{ no: 9, name: "hero_art_image_link_dark_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3291
3291
|
{ no: 10, name: "hero_art_image_link_light_theme", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3339,8 +3339,8 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
3339
3339
|
case /* repeated discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.FeatureCard feature_cards */ 5:
|
|
3340
3340
|
message.featureCards.push(exports.PremiumMarketingComponentProperties_FeatureCard.internalBinaryRead(reader, reader.uint32(), options));
|
|
3341
3341
|
break;
|
|
3342
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3343
|
-
message.button = exports.
|
|
3342
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button */ 6:
|
|
3343
|
+
message.button = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
3344
3344
|
break;
|
|
3345
3345
|
case /* string hero_art_video_link_light_theme */ 8:
|
|
3346
3346
|
message.heroArtVideoLinkLightTheme = reader.string();
|
|
@@ -3408,9 +3408,9 @@ class PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties$Ty
|
|
|
3408
3408
|
/* repeated discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.FeatureCard feature_cards = 5; */
|
|
3409
3409
|
for (let i = 0; i < message.featureCards.length; i++)
|
|
3410
3410
|
exports.PremiumMarketingComponentProperties_FeatureCard.internalBinaryWrite(message.featureCards[i], writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3411
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3411
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 6; */
|
|
3412
3412
|
if (message.button)
|
|
3413
|
-
exports.
|
|
3413
|
+
exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.button, writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3414
3414
|
/* string dismiss_key = 7; */
|
|
3415
3415
|
if (message.dismissKey !== "")
|
|
3416
3416
|
writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.dismissKey);
|
|
@@ -3546,83 +3546,6 @@ class PremiumMarketingComponentProperties_PremiumTab$Type extends runtime_4.Mess
|
|
|
3546
3546
|
*/
|
|
3547
3547
|
exports.PremiumMarketingComponentProperties_PremiumTab = new PremiumMarketingComponentProperties_PremiumTab$Type();
|
|
3548
3548
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3549
|
-
class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends runtime_4.MessageType {
|
|
3550
|
-
constructor() {
|
|
3551
|
-
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton", [
|
|
3552
|
-
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3553
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3554
|
-
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3555
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
3556
|
-
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
3557
|
-
]);
|
|
3558
|
-
}
|
|
3559
|
-
create(value) {
|
|
3560
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
3561
|
-
message.copy = "";
|
|
3562
|
-
message.buttonAction = 0;
|
|
3563
|
-
message.deeplinkSection = "";
|
|
3564
|
-
if (value !== undefined)
|
|
3565
|
-
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3566
|
-
return message;
|
|
3567
|
-
}
|
|
3568
|
-
internalBinaryRead(reader, length, options, target) {
|
|
3569
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3570
|
-
while (reader.pos < end) {
|
|
3571
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3572
|
-
switch (fieldNo) {
|
|
3573
|
-
case /* string copy */ 1:
|
|
3574
|
-
message.copy = reader.string();
|
|
3575
|
-
break;
|
|
3576
|
-
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3577
|
-
message.buttonAction = reader.int32();
|
|
3578
|
-
break;
|
|
3579
|
-
case /* string deeplink_section */ 3:
|
|
3580
|
-
message.deeplinkSection = reader.string();
|
|
3581
|
-
break;
|
|
3582
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3583
|
-
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3584
|
-
break;
|
|
3585
|
-
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
3586
|
-
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
3587
|
-
break;
|
|
3588
|
-
default:
|
|
3589
|
-
let u = options.readUnknownField;
|
|
3590
|
-
if (u === "throw")
|
|
3591
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3592
|
-
let d = reader.skip(wireType);
|
|
3593
|
-
if (u !== false)
|
|
3594
|
-
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3595
|
-
}
|
|
3596
|
-
}
|
|
3597
|
-
return message;
|
|
3598
|
-
}
|
|
3599
|
-
internalBinaryWrite(message, writer, options) {
|
|
3600
|
-
/* string copy = 1; */
|
|
3601
|
-
if (message.copy !== "")
|
|
3602
|
-
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.copy);
|
|
3603
|
-
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3604
|
-
if (message.buttonAction !== 0)
|
|
3605
|
-
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3606
|
-
/* string deeplink_section = 3; */
|
|
3607
|
-
if (message.deeplinkSection !== "")
|
|
3608
|
-
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3609
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3610
|
-
if (message.copyLocalized)
|
|
3611
|
-
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3612
|
-
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
3613
|
-
if (message.navigableStorefrontApplicationId)
|
|
3614
|
-
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3615
|
-
let u = options.writeUnknownFields;
|
|
3616
|
-
if (u !== false)
|
|
3617
|
-
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3618
|
-
return writer;
|
|
3619
|
-
}
|
|
3620
|
-
}
|
|
3621
|
-
/**
|
|
3622
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
3623
|
-
*/
|
|
3624
|
-
exports.PremiumMarketingComponentProperties_MarketingPageBannerButton = new PremiumMarketingComponentProperties_MarketingPageBannerButton$Type();
|
|
3625
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3626
3549
|
class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runtime_4.MessageType {
|
|
3627
3550
|
constructor() {
|
|
3628
3551
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner", [
|
|
@@ -3630,7 +3553,7 @@ class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runti
|
|
|
3630
3553
|
{ no: 2, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3631
3554
|
{ no: 3, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3632
3555
|
{ no: 4, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3633
|
-
{ no: 5, name: "button", kind: "message", T: () => exports.
|
|
3556
|
+
{ no: 5, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton },
|
|
3634
3557
|
{ no: 6, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
3635
3558
|
{ no: 7, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
3636
3559
|
{ no: 8, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
@@ -3665,8 +3588,8 @@ class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runti
|
|
|
3665
3588
|
case /* string help_article_id */ 4:
|
|
3666
3589
|
message.helpArticleId = reader.string();
|
|
3667
3590
|
break;
|
|
3668
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3669
|
-
message.button = exports.
|
|
3591
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button */ 5:
|
|
3592
|
+
message.button = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
3670
3593
|
break;
|
|
3671
3594
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 6:
|
|
3672
3595
|
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
@@ -3704,9 +3627,9 @@ class PremiumMarketingComponentProperties_MarketingPageBanner$Type extends runti
|
|
|
3704
3627
|
/* string help_article_id = 4; */
|
|
3705
3628
|
if (message.helpArticleId !== "")
|
|
3706
3629
|
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.helpArticleId);
|
|
3707
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
3630
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 5; */
|
|
3708
3631
|
if (message.button)
|
|
3709
|
-
exports.
|
|
3632
|
+
exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.button, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3710
3633
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 6; */
|
|
3711
3634
|
if (message.helpArticle)
|
|
3712
3635
|
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3807,83 +3730,6 @@ class PremiumMarketingComponentProperties_PaymentModalBanner$Type extends runtim
|
|
|
3807
3730
|
*/
|
|
3808
3731
|
exports.PremiumMarketingComponentProperties_PaymentModalBanner = new PremiumMarketingComponentProperties_PaymentModalBanner$Type();
|
|
3809
3732
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3810
|
-
class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.MessageType {
|
|
3811
|
-
constructor() {
|
|
3812
|
-
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton", [
|
|
3813
|
-
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3814
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3815
|
-
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3816
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
3817
|
-
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
3818
|
-
]);
|
|
3819
|
-
}
|
|
3820
|
-
create(value) {
|
|
3821
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
3822
|
-
message.copy = "";
|
|
3823
|
-
message.buttonAction = 0;
|
|
3824
|
-
message.deeplinkSection = "";
|
|
3825
|
-
if (value !== undefined)
|
|
3826
|
-
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3827
|
-
return message;
|
|
3828
|
-
}
|
|
3829
|
-
internalBinaryRead(reader, length, options, target) {
|
|
3830
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3831
|
-
while (reader.pos < end) {
|
|
3832
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3833
|
-
switch (fieldNo) {
|
|
3834
|
-
case /* string copy */ 1:
|
|
3835
|
-
message.copy = reader.string();
|
|
3836
|
-
break;
|
|
3837
|
-
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3838
|
-
message.buttonAction = reader.int32();
|
|
3839
|
-
break;
|
|
3840
|
-
case /* string deeplink_section */ 3:
|
|
3841
|
-
message.deeplinkSection = reader.string();
|
|
3842
|
-
break;
|
|
3843
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3844
|
-
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3845
|
-
break;
|
|
3846
|
-
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
3847
|
-
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
3848
|
-
break;
|
|
3849
|
-
default:
|
|
3850
|
-
let u = options.readUnknownField;
|
|
3851
|
-
if (u === "throw")
|
|
3852
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3853
|
-
let d = reader.skip(wireType);
|
|
3854
|
-
if (u !== false)
|
|
3855
|
-
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3856
|
-
}
|
|
3857
|
-
}
|
|
3858
|
-
return message;
|
|
3859
|
-
}
|
|
3860
|
-
internalBinaryWrite(message, writer, options) {
|
|
3861
|
-
/* string copy = 1; */
|
|
3862
|
-
if (message.copy !== "")
|
|
3863
|
-
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.copy);
|
|
3864
|
-
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3865
|
-
if (message.buttonAction !== 0)
|
|
3866
|
-
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3867
|
-
/* string deeplink_section = 3; */
|
|
3868
|
-
if (message.deeplinkSection !== "")
|
|
3869
|
-
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3870
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3871
|
-
if (message.copyLocalized)
|
|
3872
|
-
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3873
|
-
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
3874
|
-
if (message.navigableStorefrontApplicationId)
|
|
3875
|
-
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3876
|
-
let u = options.writeUnknownFields;
|
|
3877
|
-
if (u !== false)
|
|
3878
|
-
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3879
|
-
return writer;
|
|
3880
|
-
}
|
|
3881
|
-
}
|
|
3882
|
-
/**
|
|
3883
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton
|
|
3884
|
-
*/
|
|
3885
|
-
exports.PremiumMarketingComponentProperties_CTAButton = new PremiumMarketingComponentProperties_CTAButton$Type();
|
|
3886
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3887
3733
|
class PremiumMarketingComponentProperties_MobileBottomSheet$Type extends runtime_4.MessageType {
|
|
3888
3734
|
constructor() {
|
|
3889
3735
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet", [
|
|
@@ -4893,90 +4739,13 @@ class PremiumMarketingComponentProperties_PremiumTabTooltip$Type extends runtime
|
|
|
4893
4739
|
*/
|
|
4894
4740
|
exports.PremiumMarketingComponentProperties_PremiumTabTooltip = new PremiumMarketingComponentProperties_PremiumTabTooltip$Type();
|
|
4895
4741
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4896
|
-
class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extends runtime_4.MessageType {
|
|
4897
|
-
constructor() {
|
|
4898
|
-
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton", [
|
|
4899
|
-
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4900
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4901
|
-
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4902
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4903
|
-
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
4904
|
-
]);
|
|
4905
|
-
}
|
|
4906
|
-
create(value) {
|
|
4907
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
4908
|
-
message.copy = "";
|
|
4909
|
-
message.buttonAction = 0;
|
|
4910
|
-
message.deeplinkSection = "";
|
|
4911
|
-
if (value !== undefined)
|
|
4912
|
-
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4913
|
-
return message;
|
|
4914
|
-
}
|
|
4915
|
-
internalBinaryRead(reader, length, options, target) {
|
|
4916
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4917
|
-
while (reader.pos < end) {
|
|
4918
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4919
|
-
switch (fieldNo) {
|
|
4920
|
-
case /* string copy */ 1:
|
|
4921
|
-
message.copy = reader.string();
|
|
4922
|
-
break;
|
|
4923
|
-
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
4924
|
-
message.buttonAction = reader.int32();
|
|
4925
|
-
break;
|
|
4926
|
-
case /* string deeplink_section */ 3:
|
|
4927
|
-
message.deeplinkSection = reader.string();
|
|
4928
|
-
break;
|
|
4929
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
4930
|
-
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
4931
|
-
break;
|
|
4932
|
-
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
4933
|
-
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
4934
|
-
break;
|
|
4935
|
-
default:
|
|
4936
|
-
let u = options.readUnknownField;
|
|
4937
|
-
if (u === "throw")
|
|
4938
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4939
|
-
let d = reader.skip(wireType);
|
|
4940
|
-
if (u !== false)
|
|
4941
|
-
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4942
|
-
}
|
|
4943
|
-
}
|
|
4944
|
-
return message;
|
|
4945
|
-
}
|
|
4946
|
-
internalBinaryWrite(message, writer, options) {
|
|
4947
|
-
/* string copy = 1; */
|
|
4948
|
-
if (message.copy !== "")
|
|
4949
|
-
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.copy);
|
|
4950
|
-
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
4951
|
-
if (message.buttonAction !== 0)
|
|
4952
|
-
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
4953
|
-
/* string deeplink_section = 3; */
|
|
4954
|
-
if (message.deeplinkSection !== "")
|
|
4955
|
-
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4956
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
4957
|
-
if (message.copyLocalized)
|
|
4958
|
-
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4959
|
-
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
4960
|
-
if (message.navigableStorefrontApplicationId)
|
|
4961
|
-
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4962
|
-
let u = options.writeUnknownFields;
|
|
4963
|
-
if (u !== false)
|
|
4964
|
-
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4965
|
-
return writer;
|
|
4966
|
-
}
|
|
4967
|
-
}
|
|
4968
|
-
/**
|
|
4969
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton
|
|
4970
|
-
*/
|
|
4971
|
-
exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton = new PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type();
|
|
4972
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4973
4742
|
class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime_4.MessageType {
|
|
4974
4743
|
constructor() {
|
|
4975
4744
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover", [
|
|
4976
4745
|
{ no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4977
4746
|
{ no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4978
4747
|
{ no: 3, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
4979
|
-
{ no: 4, name: "button", kind: "message", T: () => exports.
|
|
4748
|
+
{ no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton },
|
|
4980
4749
|
{ no: 5, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4981
4750
|
{ no: 6, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
4982
4751
|
{ no: 7, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
@@ -5006,8 +4775,8 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
|
|
|
5006
4775
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 3:
|
|
5007
4776
|
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5008
4777
|
break;
|
|
5009
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
5010
|
-
message.button = exports.
|
|
4778
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button */ 4:
|
|
4779
|
+
message.button = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
5011
4780
|
break;
|
|
5012
4781
|
case /* string help_article_id */ 5:
|
|
5013
4782
|
message.helpArticleId = reader.string();
|
|
@@ -5042,9 +4811,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
|
|
|
5042
4811
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 3; */
|
|
5043
4812
|
if (message.asset)
|
|
5044
4813
|
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5045
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
4814
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 4; */
|
|
5046
4815
|
if (message.button)
|
|
5047
|
-
exports.
|
|
4816
|
+
exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.button, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5048
4817
|
/* string help_article_id = 5; */
|
|
5049
4818
|
if (message.helpArticleId !== "")
|
|
5050
4819
|
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.helpArticleId);
|
|
@@ -5235,90 +5004,13 @@ class PremiumMarketingComponentProperties_PlanSelectCardBanner$Type extends runt
|
|
|
5235
5004
|
*/
|
|
5236
5005
|
exports.PremiumMarketingComponentProperties_PlanSelectCardBanner = new PremiumMarketingComponentProperties_PlanSelectCardBanner$Type();
|
|
5237
5006
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
5238
|
-
class PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton$Type extends runtime_4.MessageType {
|
|
5239
|
-
constructor() {
|
|
5240
|
-
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBannerCTAButton", [
|
|
5241
|
-
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5242
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
5243
|
-
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5244
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5245
|
-
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
5246
|
-
]);
|
|
5247
|
-
}
|
|
5248
|
-
create(value) {
|
|
5249
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
5250
|
-
message.copy = "";
|
|
5251
|
-
message.buttonAction = 0;
|
|
5252
|
-
message.deeplinkSection = "";
|
|
5253
|
-
if (value !== undefined)
|
|
5254
|
-
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5255
|
-
return message;
|
|
5256
|
-
}
|
|
5257
|
-
internalBinaryRead(reader, length, options, target) {
|
|
5258
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
5259
|
-
while (reader.pos < end) {
|
|
5260
|
-
let [fieldNo, wireType] = reader.tag();
|
|
5261
|
-
switch (fieldNo) {
|
|
5262
|
-
case /* string copy */ 1:
|
|
5263
|
-
message.copy = reader.string();
|
|
5264
|
-
break;
|
|
5265
|
-
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
5266
|
-
message.buttonAction = reader.int32();
|
|
5267
|
-
break;
|
|
5268
|
-
case /* string deeplink_section */ 3:
|
|
5269
|
-
message.deeplinkSection = reader.string();
|
|
5270
|
-
break;
|
|
5271
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
5272
|
-
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
5273
|
-
break;
|
|
5274
|
-
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
5275
|
-
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
5276
|
-
break;
|
|
5277
|
-
default:
|
|
5278
|
-
let u = options.readUnknownField;
|
|
5279
|
-
if (u === "throw")
|
|
5280
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5281
|
-
let d = reader.skip(wireType);
|
|
5282
|
-
if (u !== false)
|
|
5283
|
-
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5284
|
-
}
|
|
5285
|
-
}
|
|
5286
|
-
return message;
|
|
5287
|
-
}
|
|
5288
|
-
internalBinaryWrite(message, writer, options) {
|
|
5289
|
-
/* string copy = 1; */
|
|
5290
|
-
if (message.copy !== "")
|
|
5291
|
-
writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.copy);
|
|
5292
|
-
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
5293
|
-
if (message.buttonAction !== 0)
|
|
5294
|
-
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
5295
|
-
/* string deeplink_section = 3; */
|
|
5296
|
-
if (message.deeplinkSection !== "")
|
|
5297
|
-
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
5298
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
5299
|
-
if (message.copyLocalized)
|
|
5300
|
-
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5301
|
-
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
5302
|
-
if (message.navigableStorefrontApplicationId)
|
|
5303
|
-
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5304
|
-
let u = options.writeUnknownFields;
|
|
5305
|
-
if (u !== false)
|
|
5306
|
-
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5307
|
-
return writer;
|
|
5308
|
-
}
|
|
5309
|
-
}
|
|
5310
|
-
/**
|
|
5311
|
-
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBannerCTAButton
|
|
5312
|
-
*/
|
|
5313
|
-
exports.PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton = new PremiumMarketingComponentProperties_BillingSettingsBannerCTAButton$Type();
|
|
5314
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
5315
5007
|
class PremiumMarketingComponentProperties_BillingSettingsBanner$Type extends runtime_4.MessageType {
|
|
5316
5008
|
constructor() {
|
|
5317
5009
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.BillingSettingsBanner", [
|
|
5318
5010
|
{ no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5319
5011
|
{ no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5320
5012
|
{ no: 3, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5321
|
-
{ no: 4, name: "button", kind: "message", T: () => exports.
|
|
5013
|
+
{ no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton },
|
|
5322
5014
|
{ no: 5, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5323
5015
|
{ no: 6, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5324
5016
|
{ no: 7, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
|
|
@@ -5346,8 +5038,8 @@ class PremiumMarketingComponentProperties_BillingSettingsBanner$Type extends run
|
|
|
5346
5038
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 3:
|
|
5347
5039
|
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5348
5040
|
break;
|
|
5349
|
-
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
5350
|
-
message.button = exports.
|
|
5041
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button */ 4:
|
|
5042
|
+
message.button = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
5351
5043
|
break;
|
|
5352
5044
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized */ 5:
|
|
5353
5045
|
message.headerLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.headerLocalized);
|
|
@@ -5379,9 +5071,9 @@ class PremiumMarketingComponentProperties_BillingSettingsBanner$Type extends run
|
|
|
5379
5071
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 3; */
|
|
5380
5072
|
if (message.asset)
|
|
5381
5073
|
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5382
|
-
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.
|
|
5074
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 4; */
|
|
5383
5075
|
if (message.button)
|
|
5384
|
-
exports.
|
|
5076
|
+
exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.button, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5385
5077
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 5; */
|
|
5386
5078
|
if (message.headerLocalized)
|
|
5387
5079
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.headerLocalized, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|