discord-protos 1.2.169 → 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 +5 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +20 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +45 -5
- 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 {
|
|
@@ -76,6 +77,7 @@ message PremiumMarketingComponentProperties {
|
|
|
76
77
|
message MarketingPageBannerButton {
|
|
77
78
|
string copy = 1;
|
|
78
79
|
ButtonAction button_action = 2;
|
|
80
|
+
string deeplink_section = 3;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
message MarketingPageBanner {
|
|
@@ -96,6 +98,7 @@ message PremiumMarketingComponentProperties {
|
|
|
96
98
|
message CTAButton {
|
|
97
99
|
string copy = 1;
|
|
98
100
|
ButtonAction button_action = 2;
|
|
101
|
+
string deeplink_section = 3;
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
enum DismissibleContent {
|
|
@@ -733,6 +736,7 @@ message PremiumMarketingComponentProperties {
|
|
|
733
736
|
message PremiumTabPopoverCTAButton {
|
|
734
737
|
string copy = 1;
|
|
735
738
|
ButtonAction button_action = 2;
|
|
739
|
+
string deeplink_section = 3;
|
|
736
740
|
}
|
|
737
741
|
|
|
738
742
|
message PremiumTabPopover {
|
|
@@ -748,6 +752,7 @@ message PremiumMarketingComponentProperties {
|
|
|
748
752
|
string body = 1;
|
|
749
753
|
string cta_label = 2;
|
|
750
754
|
ButtonAction cta_action = 3;
|
|
755
|
+
string deeplink_section = 4;
|
|
751
756
|
}
|
|
752
757
|
|
|
753
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
|
|
@@ -317,6 +321,10 @@ export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
|
317
321
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
318
322
|
*/
|
|
319
323
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
326
|
+
*/
|
|
327
|
+
deeplinkSection: string;
|
|
320
328
|
}
|
|
321
329
|
/**
|
|
322
330
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
@@ -376,6 +384,10 @@ export interface PremiumMarketingComponentProperties_CTAButton {
|
|
|
376
384
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
377
385
|
*/
|
|
378
386
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
389
|
+
*/
|
|
390
|
+
deeplinkSection: string;
|
|
379
391
|
}
|
|
380
392
|
/**
|
|
381
393
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
@@ -676,6 +688,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton
|
|
|
676
688
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
677
689
|
*/
|
|
678
690
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
691
|
+
/**
|
|
692
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
693
|
+
*/
|
|
694
|
+
deeplinkSection: string;
|
|
679
695
|
}
|
|
680
696
|
/**
|
|
681
697
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover
|
|
@@ -722,6 +738,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
|
|
|
722
738
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3
|
|
723
739
|
*/
|
|
724
740
|
ctaAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
741
|
+
/**
|
|
742
|
+
* @generated from protobuf field: string deeplink_section = 4
|
|
743
|
+
*/
|
|
744
|
+
deeplinkSection: string;
|
|
725
745
|
}
|
|
726
746
|
/**
|
|
727
747
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -2489,13 +2489,15 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2489
2489
|
constructor() {
|
|
2490
2490
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButton", [
|
|
2491
2491
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2492
|
-
{ 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*/ }
|
|
2493
2494
|
]);
|
|
2494
2495
|
}
|
|
2495
2496
|
create(value) {
|
|
2496
2497
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2497
2498
|
message.copy = "";
|
|
2498
2499
|
message.buttonAction = 0;
|
|
2500
|
+
message.deeplinkSection = "";
|
|
2499
2501
|
if (value !== undefined)
|
|
2500
2502
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2501
2503
|
return message;
|
|
@@ -2511,6 +2513,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2511
2513
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
2512
2514
|
message.buttonAction = reader.int32();
|
|
2513
2515
|
break;
|
|
2516
|
+
case /* string deeplink_section */ 3:
|
|
2517
|
+
message.deeplinkSection = reader.string();
|
|
2518
|
+
break;
|
|
2514
2519
|
default:
|
|
2515
2520
|
let u = options.readUnknownField;
|
|
2516
2521
|
if (u === "throw")
|
|
@@ -2529,6 +2534,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2529
2534
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
2530
2535
|
if (message.buttonAction !== 0)
|
|
2531
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);
|
|
2532
2540
|
let u = options.writeUnknownFields;
|
|
2533
2541
|
if (u !== false)
|
|
2534
2542
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3053,13 +3061,15 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3053
3061
|
constructor() {
|
|
3054
3062
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton", [
|
|
3055
3063
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3056
|
-
{ 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*/ }
|
|
3057
3066
|
]);
|
|
3058
3067
|
}
|
|
3059
3068
|
create(value) {
|
|
3060
3069
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3061
3070
|
message.copy = "";
|
|
3062
3071
|
message.buttonAction = 0;
|
|
3072
|
+
message.deeplinkSection = "";
|
|
3063
3073
|
if (value !== undefined)
|
|
3064
3074
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3065
3075
|
return message;
|
|
@@ -3075,6 +3085,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3075
3085
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3076
3086
|
message.buttonAction = reader.int32();
|
|
3077
3087
|
break;
|
|
3088
|
+
case /* string deeplink_section */ 3:
|
|
3089
|
+
message.deeplinkSection = reader.string();
|
|
3090
|
+
break;
|
|
3078
3091
|
default:
|
|
3079
3092
|
let u = options.readUnknownField;
|
|
3080
3093
|
if (u === "throw")
|
|
@@ -3093,6 +3106,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3093
3106
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3094
3107
|
if (message.buttonAction !== 0)
|
|
3095
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);
|
|
3096
3112
|
let u = options.writeUnknownFields;
|
|
3097
3113
|
if (u !== false)
|
|
3098
3114
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3256,13 +3272,15 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3256
3272
|
constructor() {
|
|
3257
3273
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton", [
|
|
3258
3274
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3259
|
-
{ 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*/ }
|
|
3260
3277
|
]);
|
|
3261
3278
|
}
|
|
3262
3279
|
create(value) {
|
|
3263
3280
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3264
3281
|
message.copy = "";
|
|
3265
3282
|
message.buttonAction = 0;
|
|
3283
|
+
message.deeplinkSection = "";
|
|
3266
3284
|
if (value !== undefined)
|
|
3267
3285
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3268
3286
|
return message;
|
|
@@ -3278,6 +3296,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3278
3296
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3279
3297
|
message.buttonAction = reader.int32();
|
|
3280
3298
|
break;
|
|
3299
|
+
case /* string deeplink_section */ 3:
|
|
3300
|
+
message.deeplinkSection = reader.string();
|
|
3301
|
+
break;
|
|
3281
3302
|
default:
|
|
3282
3303
|
let u = options.readUnknownField;
|
|
3283
3304
|
if (u === "throw")
|
|
@@ -3296,6 +3317,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3296
3317
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3297
3318
|
if (message.buttonAction !== 0)
|
|
3298
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);
|
|
3299
3323
|
let u = options.writeUnknownFields;
|
|
3300
3324
|
if (u !== false)
|
|
3301
3325
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4185,13 +4209,15 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4185
4209
|
constructor() {
|
|
4186
4210
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton", [
|
|
4187
4211
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4188
|
-
{ 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*/ }
|
|
4189
4214
|
]);
|
|
4190
4215
|
}
|
|
4191
4216
|
create(value) {
|
|
4192
4217
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4193
4218
|
message.copy = "";
|
|
4194
4219
|
message.buttonAction = 0;
|
|
4220
|
+
message.deeplinkSection = "";
|
|
4195
4221
|
if (value !== undefined)
|
|
4196
4222
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4197
4223
|
return message;
|
|
@@ -4207,6 +4233,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4207
4233
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
4208
4234
|
message.buttonAction = reader.int32();
|
|
4209
4235
|
break;
|
|
4236
|
+
case /* string deeplink_section */ 3:
|
|
4237
|
+
message.deeplinkSection = reader.string();
|
|
4238
|
+
break;
|
|
4210
4239
|
default:
|
|
4211
4240
|
let u = options.readUnknownField;
|
|
4212
4241
|
if (u === "throw")
|
|
@@ -4225,6 +4254,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4225
4254
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
4226
4255
|
if (message.buttonAction !== 0)
|
|
4227
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);
|
|
4228
4260
|
let u = options.writeUnknownFields;
|
|
4229
4261
|
if (u !== false)
|
|
4230
4262
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4325,7 +4357,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4325
4357
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar", [
|
|
4326
4358
|
{ no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4327
4359
|
{ no: 2, name: "cta_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4328
|
-
{ 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*/ }
|
|
4329
4362
|
]);
|
|
4330
4363
|
}
|
|
4331
4364
|
create(value) {
|
|
@@ -4333,6 +4366,7 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4333
4366
|
message.body = "";
|
|
4334
4367
|
message.ctaLabel = "";
|
|
4335
4368
|
message.ctaAction = 0;
|
|
4369
|
+
message.deeplinkSection = "";
|
|
4336
4370
|
if (value !== undefined)
|
|
4337
4371
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4338
4372
|
return message;
|
|
@@ -4351,6 +4385,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4351
4385
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action */ 3:
|
|
4352
4386
|
message.ctaAction = reader.int32();
|
|
4353
4387
|
break;
|
|
4388
|
+
case /* string deeplink_section */ 4:
|
|
4389
|
+
message.deeplinkSection = reader.string();
|
|
4390
|
+
break;
|
|
4354
4391
|
default:
|
|
4355
4392
|
let u = options.readUnknownField;
|
|
4356
4393
|
if (u === "throw")
|
|
@@ -4372,6 +4409,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4372
4409
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3; */
|
|
4373
4410
|
if (message.ctaAction !== 0)
|
|
4374
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);
|
|
4375
4415
|
let u = options.writeUnknownFields;
|
|
4376
4416
|
if (u !== false)
|
|
4377
4417
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|