discord-protos 1.2.168 → 1.2.170
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 +8 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +33 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +62 -6
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ message PremiumMarketingComponentProperties {
|
|
|
24
24
|
message SubscriptionButton {
|
|
25
25
|
string copy = 1;
|
|
26
26
|
ButtonAction button_action = 2;
|
|
27
|
+
string deeplink_section = 3;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
message Subtitle {
|
|
@@ -70,11 +71,13 @@ message PremiumMarketingComponentProperties {
|
|
|
70
71
|
message PremiumTab {
|
|
71
72
|
string badge_label = 1;
|
|
72
73
|
string acknowledged_badge_label = 2;
|
|
74
|
+
bool show_hover_gradient = 3;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
message MarketingPageBannerButton {
|
|
76
78
|
string copy = 1;
|
|
77
79
|
ButtonAction button_action = 2;
|
|
80
|
+
string deeplink_section = 3;
|
|
78
81
|
}
|
|
79
82
|
|
|
80
83
|
message MarketingPageBanner {
|
|
@@ -95,6 +98,7 @@ message PremiumMarketingComponentProperties {
|
|
|
95
98
|
message CTAButton {
|
|
96
99
|
string copy = 1;
|
|
97
100
|
ButtonAction button_action = 2;
|
|
101
|
+
string deeplink_section = 3;
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
enum DismissibleContent {
|
|
@@ -634,6 +638,8 @@ message PremiumMarketingComponentProperties {
|
|
|
634
638
|
DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN = 736;
|
|
635
639
|
DISMISSIBLE_CONTENT_RIOT_CONNECTION_DEPRECATION_ADMIN_DISABLE = 737;
|
|
636
640
|
DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
|
|
641
|
+
DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA = 739;
|
|
642
|
+
DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
637
643
|
}
|
|
638
644
|
|
|
639
645
|
message MobileBottomSheet {
|
|
@@ -730,6 +736,7 @@ message PremiumMarketingComponentProperties {
|
|
|
730
736
|
message PremiumTabPopoverCTAButton {
|
|
731
737
|
string copy = 1;
|
|
732
738
|
ButtonAction button_action = 2;
|
|
739
|
+
string deeplink_section = 3;
|
|
733
740
|
}
|
|
734
741
|
|
|
735
742
|
message PremiumTabPopover {
|
|
@@ -745,6 +752,7 @@ message PremiumMarketingComponentProperties {
|
|
|
745
752
|
string body = 1;
|
|
746
753
|
string cta_label = 2;
|
|
747
754
|
ButtonAction cta_action = 3;
|
|
755
|
+
string deeplink_section = 4;
|
|
748
756
|
}
|
|
749
757
|
|
|
750
758
|
string content_identifier = 3;
|
|
@@ -152,6 +152,10 @@ export interface PremiumMarketingComponentProperties_SubscriptionButton {
|
|
|
152
152
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
153
153
|
*/
|
|
154
154
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
157
|
+
*/
|
|
158
|
+
deeplinkSection: string;
|
|
155
159
|
}
|
|
156
160
|
/**
|
|
157
161
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle
|
|
@@ -300,6 +304,10 @@ export interface PremiumMarketingComponentProperties_PremiumTab {
|
|
|
300
304
|
* @generated from protobuf field: string acknowledged_badge_label = 2
|
|
301
305
|
*/
|
|
302
306
|
acknowledgedBadgeLabel: string;
|
|
307
|
+
/**
|
|
308
|
+
* @generated from protobuf field: bool show_hover_gradient = 3
|
|
309
|
+
*/
|
|
310
|
+
showHoverGradient: boolean;
|
|
303
311
|
}
|
|
304
312
|
/**
|
|
305
313
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton
|
|
@@ -313,6 +321,10 @@ export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
|
313
321
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
314
322
|
*/
|
|
315
323
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
326
|
+
*/
|
|
327
|
+
deeplinkSection: string;
|
|
316
328
|
}
|
|
317
329
|
/**
|
|
318
330
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
@@ -372,6 +384,10 @@ export interface PremiumMarketingComponentProperties_CTAButton {
|
|
|
372
384
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
373
385
|
*/
|
|
374
386
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
389
|
+
*/
|
|
390
|
+
deeplinkSection: string;
|
|
375
391
|
}
|
|
376
392
|
/**
|
|
377
393
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
@@ -672,6 +688,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton
|
|
|
672
688
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
673
689
|
*/
|
|
674
690
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
691
|
+
/**
|
|
692
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
693
|
+
*/
|
|
694
|
+
deeplinkSection: string;
|
|
675
695
|
}
|
|
676
696
|
/**
|
|
677
697
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover
|
|
@@ -718,6 +738,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
|
|
|
718
738
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3
|
|
719
739
|
*/
|
|
720
740
|
ctaAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
741
|
+
/**
|
|
742
|
+
* @generated from protobuf field: string deeplink_section = 4
|
|
743
|
+
*/
|
|
744
|
+
deeplinkSection: string;
|
|
721
745
|
}
|
|
722
746
|
/**
|
|
723
747
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -2899,7 +2923,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
2899
2923
|
/**
|
|
2900
2924
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
|
|
2901
2925
|
*/
|
|
2902
|
-
CROISSANT_REHEAT_MOMENT = 738
|
|
2926
|
+
CROISSANT_REHEAT_MOMENT = 738,
|
|
2927
|
+
/**
|
|
2928
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA = 739;
|
|
2929
|
+
*/
|
|
2930
|
+
SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA = 739,
|
|
2931
|
+
/**
|
|
2932
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
2933
|
+
*/
|
|
2934
|
+
PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740
|
|
2903
2935
|
}
|
|
2904
2936
|
declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
|
|
2905
2937
|
constructor();
|
|
@@ -2188,6 +2188,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2188
2188
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
|
|
2189
2189
|
*/
|
|
2190
2190
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CROISSANT_REHEAT_MOMENT"] = 738] = "CROISSANT_REHEAT_MOMENT";
|
|
2191
|
+
/**
|
|
2192
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA = 739;
|
|
2193
|
+
*/
|
|
2194
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA"] = 739] = "SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA";
|
|
2195
|
+
/**
|
|
2196
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
2197
|
+
*/
|
|
2198
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR"] = 740] = "PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR";
|
|
2191
2199
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2192
2200
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2193
2201
|
class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
@@ -2481,13 +2489,15 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2481
2489
|
constructor() {
|
|
2482
2490
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButton", [
|
|
2483
2491
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2484
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
2492
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
2493
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2485
2494
|
]);
|
|
2486
2495
|
}
|
|
2487
2496
|
create(value) {
|
|
2488
2497
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2489
2498
|
message.copy = "";
|
|
2490
2499
|
message.buttonAction = 0;
|
|
2500
|
+
message.deeplinkSection = "";
|
|
2491
2501
|
if (value !== undefined)
|
|
2492
2502
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2493
2503
|
return message;
|
|
@@ -2503,6 +2513,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2503
2513
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
2504
2514
|
message.buttonAction = reader.int32();
|
|
2505
2515
|
break;
|
|
2516
|
+
case /* string deeplink_section */ 3:
|
|
2517
|
+
message.deeplinkSection = reader.string();
|
|
2518
|
+
break;
|
|
2506
2519
|
default:
|
|
2507
2520
|
let u = options.readUnknownField;
|
|
2508
2521
|
if (u === "throw")
|
|
@@ -2521,6 +2534,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2521
2534
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
2522
2535
|
if (message.buttonAction !== 0)
|
|
2523
2536
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
2537
|
+
/* string deeplink_section = 3; */
|
|
2538
|
+
if (message.deeplinkSection !== "")
|
|
2539
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
2524
2540
|
let u = options.writeUnknownFields;
|
|
2525
2541
|
if (u !== false)
|
|
2526
2542
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2982,13 +2998,15 @@ class PremiumMarketingComponentProperties_PremiumTab$Type extends runtime_4.Mess
|
|
|
2982
2998
|
constructor() {
|
|
2983
2999
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTab", [
|
|
2984
3000
|
{ no: 1, name: "badge_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2985
|
-
{ no: 2, name: "acknowledged_badge_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3001
|
+
{ no: 2, name: "acknowledged_badge_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3002
|
+
{ no: 3, name: "show_hover_gradient", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2986
3003
|
]);
|
|
2987
3004
|
}
|
|
2988
3005
|
create(value) {
|
|
2989
3006
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2990
3007
|
message.badgeLabel = "";
|
|
2991
3008
|
message.acknowledgedBadgeLabel = "";
|
|
3009
|
+
message.showHoverGradient = false;
|
|
2992
3010
|
if (value !== undefined)
|
|
2993
3011
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2994
3012
|
return message;
|
|
@@ -3004,6 +3022,9 @@ class PremiumMarketingComponentProperties_PremiumTab$Type extends runtime_4.Mess
|
|
|
3004
3022
|
case /* string acknowledged_badge_label */ 2:
|
|
3005
3023
|
message.acknowledgedBadgeLabel = reader.string();
|
|
3006
3024
|
break;
|
|
3025
|
+
case /* bool show_hover_gradient */ 3:
|
|
3026
|
+
message.showHoverGradient = reader.bool();
|
|
3027
|
+
break;
|
|
3007
3028
|
default:
|
|
3008
3029
|
let u = options.readUnknownField;
|
|
3009
3030
|
if (u === "throw")
|
|
@@ -3022,6 +3043,9 @@ class PremiumMarketingComponentProperties_PremiumTab$Type extends runtime_4.Mess
|
|
|
3022
3043
|
/* string acknowledged_badge_label = 2; */
|
|
3023
3044
|
if (message.acknowledgedBadgeLabel !== "")
|
|
3024
3045
|
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.acknowledgedBadgeLabel);
|
|
3046
|
+
/* bool show_hover_gradient = 3; */
|
|
3047
|
+
if (message.showHoverGradient !== false)
|
|
3048
|
+
writer.tag(3, runtime_1.WireType.Varint).bool(message.showHoverGradient);
|
|
3025
3049
|
let u = options.writeUnknownFields;
|
|
3026
3050
|
if (u !== false)
|
|
3027
3051
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3037,13 +3061,15 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3037
3061
|
constructor() {
|
|
3038
3062
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton", [
|
|
3039
3063
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3040
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
3064
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3065
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3041
3066
|
]);
|
|
3042
3067
|
}
|
|
3043
3068
|
create(value) {
|
|
3044
3069
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3045
3070
|
message.copy = "";
|
|
3046
3071
|
message.buttonAction = 0;
|
|
3072
|
+
message.deeplinkSection = "";
|
|
3047
3073
|
if (value !== undefined)
|
|
3048
3074
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3049
3075
|
return message;
|
|
@@ -3059,6 +3085,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3059
3085
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3060
3086
|
message.buttonAction = reader.int32();
|
|
3061
3087
|
break;
|
|
3088
|
+
case /* string deeplink_section */ 3:
|
|
3089
|
+
message.deeplinkSection = reader.string();
|
|
3090
|
+
break;
|
|
3062
3091
|
default:
|
|
3063
3092
|
let u = options.readUnknownField;
|
|
3064
3093
|
if (u === "throw")
|
|
@@ -3077,6 +3106,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3077
3106
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3078
3107
|
if (message.buttonAction !== 0)
|
|
3079
3108
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3109
|
+
/* string deeplink_section = 3; */
|
|
3110
|
+
if (message.deeplinkSection !== "")
|
|
3111
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3080
3112
|
let u = options.writeUnknownFields;
|
|
3081
3113
|
if (u !== false)
|
|
3082
3114
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3240,13 +3272,15 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3240
3272
|
constructor() {
|
|
3241
3273
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton", [
|
|
3242
3274
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3243
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
3275
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3276
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3244
3277
|
]);
|
|
3245
3278
|
}
|
|
3246
3279
|
create(value) {
|
|
3247
3280
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3248
3281
|
message.copy = "";
|
|
3249
3282
|
message.buttonAction = 0;
|
|
3283
|
+
message.deeplinkSection = "";
|
|
3250
3284
|
if (value !== undefined)
|
|
3251
3285
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3252
3286
|
return message;
|
|
@@ -3262,6 +3296,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3262
3296
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3263
3297
|
message.buttonAction = reader.int32();
|
|
3264
3298
|
break;
|
|
3299
|
+
case /* string deeplink_section */ 3:
|
|
3300
|
+
message.deeplinkSection = reader.string();
|
|
3301
|
+
break;
|
|
3265
3302
|
default:
|
|
3266
3303
|
let u = options.readUnknownField;
|
|
3267
3304
|
if (u === "throw")
|
|
@@ -3280,6 +3317,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3280
3317
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3281
3318
|
if (message.buttonAction !== 0)
|
|
3282
3319
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3320
|
+
/* string deeplink_section = 3; */
|
|
3321
|
+
if (message.deeplinkSection !== "")
|
|
3322
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3283
3323
|
let u = options.writeUnknownFields;
|
|
3284
3324
|
if (u !== false)
|
|
3285
3325
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4169,13 +4209,15 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4169
4209
|
constructor() {
|
|
4170
4210
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton", [
|
|
4171
4211
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4172
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
4212
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4213
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4173
4214
|
]);
|
|
4174
4215
|
}
|
|
4175
4216
|
create(value) {
|
|
4176
4217
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4177
4218
|
message.copy = "";
|
|
4178
4219
|
message.buttonAction = 0;
|
|
4220
|
+
message.deeplinkSection = "";
|
|
4179
4221
|
if (value !== undefined)
|
|
4180
4222
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4181
4223
|
return message;
|
|
@@ -4191,6 +4233,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4191
4233
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
4192
4234
|
message.buttonAction = reader.int32();
|
|
4193
4235
|
break;
|
|
4236
|
+
case /* string deeplink_section */ 3:
|
|
4237
|
+
message.deeplinkSection = reader.string();
|
|
4238
|
+
break;
|
|
4194
4239
|
default:
|
|
4195
4240
|
let u = options.readUnknownField;
|
|
4196
4241
|
if (u === "throw")
|
|
@@ -4209,6 +4254,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4209
4254
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
4210
4255
|
if (message.buttonAction !== 0)
|
|
4211
4256
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
4257
|
+
/* string deeplink_section = 3; */
|
|
4258
|
+
if (message.deeplinkSection !== "")
|
|
4259
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4212
4260
|
let u = options.writeUnknownFields;
|
|
4213
4261
|
if (u !== false)
|
|
4214
4262
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4309,7 +4357,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4309
4357
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar", [
|
|
4310
4358
|
{ no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4311
4359
|
{ no: 2, name: "cta_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4312
|
-
{ no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
4360
|
+
{ no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4361
|
+
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4313
4362
|
]);
|
|
4314
4363
|
}
|
|
4315
4364
|
create(value) {
|
|
@@ -4317,6 +4366,7 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4317
4366
|
message.body = "";
|
|
4318
4367
|
message.ctaLabel = "";
|
|
4319
4368
|
message.ctaAction = 0;
|
|
4369
|
+
message.deeplinkSection = "";
|
|
4320
4370
|
if (value !== undefined)
|
|
4321
4371
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4322
4372
|
return message;
|
|
@@ -4335,6 +4385,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4335
4385
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action */ 3:
|
|
4336
4386
|
message.ctaAction = reader.int32();
|
|
4337
4387
|
break;
|
|
4388
|
+
case /* string deeplink_section */ 4:
|
|
4389
|
+
message.deeplinkSection = reader.string();
|
|
4390
|
+
break;
|
|
4338
4391
|
default:
|
|
4339
4392
|
let u = options.readUnknownField;
|
|
4340
4393
|
if (u === "throw")
|
|
@@ -4356,6 +4409,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4356
4409
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3; */
|
|
4357
4410
|
if (message.ctaAction !== 0)
|
|
4358
4411
|
writer.tag(3, runtime_1.WireType.Varint).int32(message.ctaAction);
|
|
4412
|
+
/* string deeplink_section = 4; */
|
|
4413
|
+
if (message.deeplinkSection !== "")
|
|
4414
|
+
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4359
4415
|
let u = options.writeUnknownFields;
|
|
4360
4416
|
if (u !== false)
|
|
4361
4417
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|