discord-protos 1.2.230 → 1.2.232
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 +10 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +35 -2
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +53 -5
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
+
import "google/protobuf/wrappers.proto";
|
|
4
|
+
|
|
3
5
|
package discord_protos.premium_marketing.v1;
|
|
4
6
|
|
|
5
7
|
message PremiumMarketingComponentProperties {
|
|
@@ -34,6 +36,7 @@ message PremiumMarketingComponentProperties {
|
|
|
34
36
|
BUTTON_ACTION_OPEN_TIER_2_PAYMENT_MODAL_CUSTOM_CONFIRMATION_FOOTER = 4;
|
|
35
37
|
BUTTON_ACTION_OPEN_PLAN_SELECTION_MODAL = 5;
|
|
36
38
|
BUTTON_ACTION_OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6;
|
|
39
|
+
BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
message SubscriptionButton {
|
|
@@ -41,6 +44,7 @@ message PremiumMarketingComponentProperties {
|
|
|
41
44
|
ButtonAction button_action = 2;
|
|
42
45
|
string deeplink_section = 3;
|
|
43
46
|
optional LocalizedString copy_localized = 4;
|
|
47
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
message Subtitle {
|
|
@@ -97,6 +101,7 @@ message PremiumMarketingComponentProperties {
|
|
|
97
101
|
ButtonAction button_action = 2;
|
|
98
102
|
string deeplink_section = 3;
|
|
99
103
|
optional LocalizedString copy_localized = 4;
|
|
104
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
message MarketingPageBanner {
|
|
@@ -123,6 +128,7 @@ message PremiumMarketingComponentProperties {
|
|
|
123
128
|
ButtonAction button_action = 2;
|
|
124
129
|
string deeplink_section = 3;
|
|
125
130
|
optional LocalizedString copy_localized = 4;
|
|
131
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
enum DismissibleContent {
|
|
@@ -692,6 +698,8 @@ message PremiumMarketingComponentProperties {
|
|
|
692
698
|
DISMISSIBLE_CONTENT_IN_APP_NOTIFICATION_EXPAND_NUX = 767;
|
|
693
699
|
DISMISSIBLE_CONTENT_PREMIUM_OFFER_TAB_BADGE_POPOVER = 768;
|
|
694
700
|
DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
701
|
+
DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION = 770;
|
|
702
|
+
DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_MODAL = 771;
|
|
695
703
|
}
|
|
696
704
|
|
|
697
705
|
message MobileBottomSheet {
|
|
@@ -815,6 +823,7 @@ message PremiumMarketingComponentProperties {
|
|
|
815
823
|
ButtonAction button_action = 2;
|
|
816
824
|
string deeplink_section = 3;
|
|
817
825
|
optional LocalizedString copy_localized = 4;
|
|
826
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
818
827
|
}
|
|
819
828
|
|
|
820
829
|
message PremiumTabPopover {
|
|
@@ -836,6 +845,7 @@ message PremiumMarketingComponentProperties {
|
|
|
836
845
|
optional HelpArticle help_article = 5;
|
|
837
846
|
optional LocalizedString body_localized = 6;
|
|
838
847
|
optional LocalizedString cta_label_localized = 7;
|
|
848
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 8;
|
|
839
849
|
}
|
|
840
850
|
|
|
841
851
|
string content_identifier = 3;
|
|
@@ -4,6 +4,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
4
4
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
5
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
6
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { UInt64Value } from "../../google/protobuf/wrappers";
|
|
7
8
|
/**
|
|
8
9
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties
|
|
9
10
|
*/
|
|
@@ -212,6 +213,10 @@ export interface PremiumMarketingComponentProperties_SubscriptionButton {
|
|
|
212
213
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
213
214
|
*/
|
|
214
215
|
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
218
|
+
*/
|
|
219
|
+
navigableStorefrontApplicationId?: UInt64Value;
|
|
215
220
|
}
|
|
216
221
|
/**
|
|
217
222
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle
|
|
@@ -400,6 +405,10 @@ export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
|
400
405
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
401
406
|
*/
|
|
402
407
|
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
408
|
+
/**
|
|
409
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
410
|
+
*/
|
|
411
|
+
navigableStorefrontApplicationId?: UInt64Value;
|
|
403
412
|
}
|
|
404
413
|
/**
|
|
405
414
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
@@ -483,6 +492,10 @@ export interface PremiumMarketingComponentProperties_CTAButton {
|
|
|
483
492
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
484
493
|
*/
|
|
485
494
|
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
495
|
+
/**
|
|
496
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
497
|
+
*/
|
|
498
|
+
navigableStorefrontApplicationId?: UInt64Value;
|
|
486
499
|
}
|
|
487
500
|
/**
|
|
488
501
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
@@ -867,6 +880,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton
|
|
|
867
880
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4
|
|
868
881
|
*/
|
|
869
882
|
copyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
883
|
+
/**
|
|
884
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 5
|
|
885
|
+
*/
|
|
886
|
+
navigableStorefrontApplicationId?: UInt64Value;
|
|
870
887
|
}
|
|
871
888
|
/**
|
|
872
889
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover
|
|
@@ -937,6 +954,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
|
|
|
937
954
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString cta_label_localized = 7
|
|
938
955
|
*/
|
|
939
956
|
ctaLabelLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
957
|
+
/**
|
|
958
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value navigable_storefront_application_id = 8
|
|
959
|
+
*/
|
|
960
|
+
navigableStorefrontApplicationId?: UInt64Value;
|
|
940
961
|
}
|
|
941
962
|
/**
|
|
942
963
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -969,7 +990,11 @@ export declare enum PremiumMarketingComponentProperties_ButtonAction {
|
|
|
969
990
|
/**
|
|
970
991
|
* @generated from protobuf enum value: BUTTON_ACTION_OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6;
|
|
971
992
|
*/
|
|
972
|
-
OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6
|
|
993
|
+
OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6,
|
|
994
|
+
/**
|
|
995
|
+
* @generated from protobuf enum value: BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
|
|
996
|
+
*/
|
|
997
|
+
OPEN_SOCIAL_LAYER_STOREFRONT = 7
|
|
973
998
|
}
|
|
974
999
|
/**
|
|
975
1000
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.DismissibleContent
|
|
@@ -3238,7 +3263,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3238
3263
|
/**
|
|
3239
3264
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
3240
3265
|
*/
|
|
3241
|
-
HOME_DRAWER_SWIPE_PEEK_NUX = 769
|
|
3266
|
+
HOME_DRAWER_SWIPE_PEEK_NUX = 769,
|
|
3267
|
+
/**
|
|
3268
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION = 770;
|
|
3269
|
+
*/
|
|
3270
|
+
FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION = 770,
|
|
3271
|
+
/**
|
|
3272
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_MODAL = 771;
|
|
3273
|
+
*/
|
|
3274
|
+
FILE_UPLOAD_POWERUP_ROLLBACK_MODAL = 771
|
|
3242
3275
|
}
|
|
3243
3276
|
/**
|
|
3244
3277
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -5,6 +5,7 @@ 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");
|
|
7
7
|
const runtime_4 = require("@protobuf-ts/runtime");
|
|
8
|
+
const wrappers_1 = require("../../google/protobuf/wrappers");
|
|
8
9
|
/**
|
|
9
10
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
10
11
|
*/
|
|
@@ -38,6 +39,10 @@ var PremiumMarketingComponentProperties_ButtonAction;
|
|
|
38
39
|
* @generated from protobuf enum value: BUTTON_ACTION_OPEN_PREMIUM_GROUP_PAYMENT_MODAL = 6;
|
|
39
40
|
*/
|
|
40
41
|
PremiumMarketingComponentProperties_ButtonAction[PremiumMarketingComponentProperties_ButtonAction["OPEN_PREMIUM_GROUP_PAYMENT_MODAL"] = 6] = "OPEN_PREMIUM_GROUP_PAYMENT_MODAL";
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf enum value: BUTTON_ACTION_OPEN_SOCIAL_LAYER_STOREFRONT = 7;
|
|
44
|
+
*/
|
|
45
|
+
PremiumMarketingComponentProperties_ButtonAction[PremiumMarketingComponentProperties_ButtonAction["OPEN_SOCIAL_LAYER_STOREFRONT"] = 7] = "OPEN_SOCIAL_LAYER_STOREFRONT";
|
|
41
46
|
})(PremiumMarketingComponentProperties_ButtonAction || (exports.PremiumMarketingComponentProperties_ButtonAction = PremiumMarketingComponentProperties_ButtonAction = {}));
|
|
42
47
|
/**
|
|
43
48
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.DismissibleContent
|
|
@@ -2308,6 +2313,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2308
2313
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
2309
2314
|
*/
|
|
2310
2315
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["HOME_DRAWER_SWIPE_PEEK_NUX"] = 769] = "HOME_DRAWER_SWIPE_PEEK_NUX";
|
|
2316
|
+
/**
|
|
2317
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION = 770;
|
|
2318
|
+
*/
|
|
2319
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION"] = 770] = "FILE_UPLOAD_POWERUP_ROLLBACK_NOTIFICATION";
|
|
2320
|
+
/**
|
|
2321
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_FILE_UPLOAD_POWERUP_ROLLBACK_MODAL = 771;
|
|
2322
|
+
*/
|
|
2323
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["FILE_UPLOAD_POWERUP_ROLLBACK_MODAL"] = 771] = "FILE_UPLOAD_POWERUP_ROLLBACK_MODAL";
|
|
2311
2324
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2312
2325
|
/**
|
|
2313
2326
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2790,7 +2803,8 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2790
2803
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2791
2804
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
2792
2805
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2793
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
2806
|
+
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
2807
|
+
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
2794
2808
|
]);
|
|
2795
2809
|
}
|
|
2796
2810
|
create(value) {
|
|
@@ -2819,6 +2833,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2819
2833
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
2820
2834
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
2821
2835
|
break;
|
|
2836
|
+
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
2837
|
+
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
2838
|
+
break;
|
|
2822
2839
|
default:
|
|
2823
2840
|
let u = options.readUnknownField;
|
|
2824
2841
|
if (u === "throw")
|
|
@@ -2843,6 +2860,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2843
2860
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
2844
2861
|
if (message.copyLocalized)
|
|
2845
2862
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2863
|
+
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
2864
|
+
if (message.navigableStorefrontApplicationId)
|
|
2865
|
+
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2846
2866
|
let u = options.writeUnknownFields;
|
|
2847
2867
|
if (u !== false)
|
|
2848
2868
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3364,7 +3384,8 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3364
3384
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3365
3385
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3366
3386
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3367
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
3387
|
+
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
3388
|
+
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
3368
3389
|
]);
|
|
3369
3390
|
}
|
|
3370
3391
|
create(value) {
|
|
@@ -3393,6 +3414,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3393
3414
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3394
3415
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3395
3416
|
break;
|
|
3417
|
+
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
3418
|
+
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
3419
|
+
break;
|
|
3396
3420
|
default:
|
|
3397
3421
|
let u = options.readUnknownField;
|
|
3398
3422
|
if (u === "throw")
|
|
@@ -3417,6 +3441,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3417
3441
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3418
3442
|
if (message.copyLocalized)
|
|
3419
3443
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3444
|
+
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
3445
|
+
if (message.navigableStorefrontApplicationId)
|
|
3446
|
+
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3420
3447
|
let u = options.writeUnknownFields;
|
|
3421
3448
|
if (u !== false)
|
|
3422
3449
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3610,7 +3637,8 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3610
3637
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3611
3638
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3612
3639
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3613
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
3640
|
+
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
3641
|
+
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
3614
3642
|
]);
|
|
3615
3643
|
}
|
|
3616
3644
|
create(value) {
|
|
@@ -3639,6 +3667,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3639
3667
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3640
3668
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3641
3669
|
break;
|
|
3670
|
+
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
3671
|
+
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
3672
|
+
break;
|
|
3642
3673
|
default:
|
|
3643
3674
|
let u = options.readUnknownField;
|
|
3644
3675
|
if (u === "throw")
|
|
@@ -3663,6 +3694,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3663
3694
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3664
3695
|
if (message.copyLocalized)
|
|
3665
3696
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3697
|
+
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
3698
|
+
if (message.navigableStorefrontApplicationId)
|
|
3699
|
+
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3666
3700
|
let u = options.writeUnknownFields;
|
|
3667
3701
|
if (u !== false)
|
|
3668
3702
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4689,7 +4723,8 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4689
4723
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4690
4724
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4691
4725
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4692
|
-
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
4726
|
+
{ no: 4, name: "copy_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4727
|
+
{ no: 5, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
4693
4728
|
]);
|
|
4694
4729
|
}
|
|
4695
4730
|
create(value) {
|
|
@@ -4718,6 +4753,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4718
4753
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
4719
4754
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
4720
4755
|
break;
|
|
4756
|
+
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 5:
|
|
4757
|
+
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
4758
|
+
break;
|
|
4721
4759
|
default:
|
|
4722
4760
|
let u = options.readUnknownField;
|
|
4723
4761
|
if (u === "throw")
|
|
@@ -4742,6 +4780,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4742
4780
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
4743
4781
|
if (message.copyLocalized)
|
|
4744
4782
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.copyLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4783
|
+
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 5; */
|
|
4784
|
+
if (message.navigableStorefrontApplicationId)
|
|
4785
|
+
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4745
4786
|
let u = options.writeUnknownFields;
|
|
4746
4787
|
if (u !== false)
|
|
4747
4788
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4860,7 +4901,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4860
4901
|
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4861
4902
|
{ no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
4862
4903
|
{ no: 6, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4863
|
-
{ no: 7, name: "cta_label_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString }
|
|
4904
|
+
{ no: 7, name: "cta_label_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4905
|
+
{ no: 8, name: "navigable_storefront_application_id", kind: "message", T: () => wrappers_1.UInt64Value }
|
|
4864
4906
|
]);
|
|
4865
4907
|
}
|
|
4866
4908
|
create(value) {
|
|
@@ -4899,6 +4941,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4899
4941
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString cta_label_localized */ 7:
|
|
4900
4942
|
message.ctaLabelLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.ctaLabelLocalized);
|
|
4901
4943
|
break;
|
|
4944
|
+
case /* optional google.protobuf.UInt64Value navigable_storefront_application_id */ 8:
|
|
4945
|
+
message.navigableStorefrontApplicationId = wrappers_1.UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.navigableStorefrontApplicationId);
|
|
4946
|
+
break;
|
|
4902
4947
|
default:
|
|
4903
4948
|
let u = options.readUnknownField;
|
|
4904
4949
|
if (u === "throw")
|
|
@@ -4932,6 +4977,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4932
4977
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString cta_label_localized = 7; */
|
|
4933
4978
|
if (message.ctaLabelLocalized)
|
|
4934
4979
|
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.ctaLabelLocalized, writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4980
|
+
/* optional google.protobuf.UInt64Value navigable_storefront_application_id = 8; */
|
|
4981
|
+
if (message.navigableStorefrontApplicationId)
|
|
4982
|
+
wrappers_1.UInt64Value.internalBinaryWrite(message.navigableStorefrontApplicationId, writer.tag(8, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4935
4983
|
let u = options.writeUnknownFields;
|
|
4936
4984
|
if (u !== false)
|
|
4937
4985
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|