discord-protos 1.2.231 → 1.2.233
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/discord_protos/users/v1/User.proto +1 -0
- package/discord_protos/users/v1/UserData.proto +1 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +26 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +45 -5
- package/dist/discord_protos/users/v1/User.d.ts +4 -0
- package/dist/discord_protos/users/v1/User.js +4 -0
- package/dist/discord_protos/users/v1/UserData.d.ts +4 -0
- package/dist/discord_protos/users/v1/UserData.js +4 -0
- 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 {
|
|
@@ -817,6 +823,7 @@ message PremiumMarketingComponentProperties {
|
|
|
817
823
|
ButtonAction button_action = 2;
|
|
818
824
|
string deeplink_section = 3;
|
|
819
825
|
optional LocalizedString copy_localized = 4;
|
|
826
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 5;
|
|
820
827
|
}
|
|
821
828
|
|
|
822
829
|
message PremiumTabPopover {
|
|
@@ -838,6 +845,7 @@ message PremiumMarketingComponentProperties {
|
|
|
838
845
|
optional HelpArticle help_article = 5;
|
|
839
846
|
optional LocalizedString body_localized = 6;
|
|
840
847
|
optional LocalizedString cta_label_localized = 7;
|
|
848
|
+
optional google.protobuf.UInt64Value navigable_storefront_application_id = 8;
|
|
841
849
|
}
|
|
842
850
|
|
|
843
851
|
string content_identifier = 3;
|
|
@@ -189,6 +189,7 @@ message User {
|
|
|
189
189
|
CLASSIFICATION_TYPE_EARLY_FRAUD_WARNING_HIGH_RISK_SMITE = 3110;
|
|
190
190
|
CLASSIFICATION_TYPE_INAPPROPRIATE_SEXUAL_INTERACTIONS_WITH_MINORS_NON_GROOMING_SMITE = 3115;
|
|
191
191
|
CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
192
|
+
CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
192
193
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
193
194
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_MEDIUM_RISK = 4010;
|
|
194
195
|
CLASSIFICATION_TYPE_OWNER_OF_VIOLATIVE_GUILD_VERY_HIGH_RISK = 4100;
|
|
@@ -227,6 +227,7 @@ message UserData {
|
|
|
227
227
|
CLASSIFICATION_TYPE_EARLY_FRAUD_WARNING_HIGH_RISK_SMITE = 3110;
|
|
228
228
|
CLASSIFICATION_TYPE_INAPPROPRIATE_SEXUAL_INTERACTIONS_WITH_MINORS_NON_GROOMING_SMITE = 3115;
|
|
229
229
|
CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
230
|
+
CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
230
231
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
231
232
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_MEDIUM_RISK = 4010;
|
|
232
233
|
CLASSIFICATION_TYPE_OWNER_OF_VIOLATIVE_GUILD_VERY_HIGH_RISK = 4100;
|
|
@@ -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
|
|
@@ -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
|
|
@@ -2798,7 +2803,8 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2798
2803
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2799
2804
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
2800
2805
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2801
|
-
{ 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 }
|
|
2802
2808
|
]);
|
|
2803
2809
|
}
|
|
2804
2810
|
create(value) {
|
|
@@ -2827,6 +2833,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2827
2833
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
2828
2834
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
2829
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;
|
|
2830
2839
|
default:
|
|
2831
2840
|
let u = options.readUnknownField;
|
|
2832
2841
|
if (u === "throw")
|
|
@@ -2851,6 +2860,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2851
2860
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
2852
2861
|
if (message.copyLocalized)
|
|
2853
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();
|
|
2854
2866
|
let u = options.writeUnknownFields;
|
|
2855
2867
|
if (u !== false)
|
|
2856
2868
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3372,7 +3384,8 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3372
3384
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3373
3385
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3374
3386
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3375
|
-
{ 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 }
|
|
3376
3389
|
]);
|
|
3377
3390
|
}
|
|
3378
3391
|
create(value) {
|
|
@@ -3401,6 +3414,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3401
3414
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3402
3415
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3403
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;
|
|
3404
3420
|
default:
|
|
3405
3421
|
let u = options.readUnknownField;
|
|
3406
3422
|
if (u === "throw")
|
|
@@ -3425,6 +3441,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3425
3441
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3426
3442
|
if (message.copyLocalized)
|
|
3427
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();
|
|
3428
3447
|
let u = options.writeUnknownFields;
|
|
3429
3448
|
if (u !== false)
|
|
3430
3449
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3618,7 +3637,8 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3618
3637
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3619
3638
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3620
3639
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3621
|
-
{ 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 }
|
|
3622
3642
|
]);
|
|
3623
3643
|
}
|
|
3624
3644
|
create(value) {
|
|
@@ -3647,6 +3667,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3647
3667
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
3648
3668
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
3649
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;
|
|
3650
3673
|
default:
|
|
3651
3674
|
let u = options.readUnknownField;
|
|
3652
3675
|
if (u === "throw")
|
|
@@ -3671,6 +3694,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3671
3694
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
3672
3695
|
if (message.copyLocalized)
|
|
3673
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();
|
|
3674
3700
|
let u = options.writeUnknownFields;
|
|
3675
3701
|
if (u !== false)
|
|
3676
3702
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4697,7 +4723,8 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4697
4723
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4698
4724
|
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4699
4725
|
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4700
|
-
{ 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 }
|
|
4701
4728
|
]);
|
|
4702
4729
|
}
|
|
4703
4730
|
create(value) {
|
|
@@ -4726,6 +4753,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4726
4753
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized */ 4:
|
|
4727
4754
|
message.copyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.copyLocalized);
|
|
4728
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;
|
|
4729
4759
|
default:
|
|
4730
4760
|
let u = options.readUnknownField;
|
|
4731
4761
|
if (u === "throw")
|
|
@@ -4750,6 +4780,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4750
4780
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString copy_localized = 4; */
|
|
4751
4781
|
if (message.copyLocalized)
|
|
4752
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();
|
|
4753
4786
|
let u = options.writeUnknownFields;
|
|
4754
4787
|
if (u !== false)
|
|
4755
4788
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4868,7 +4901,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4868
4901
|
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4869
4902
|
{ no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
4870
4903
|
{ no: 6, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
4871
|
-
{ 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 }
|
|
4872
4906
|
]);
|
|
4873
4907
|
}
|
|
4874
4908
|
create(value) {
|
|
@@ -4907,6 +4941,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4907
4941
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString cta_label_localized */ 7:
|
|
4908
4942
|
message.ctaLabelLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.ctaLabelLocalized);
|
|
4909
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;
|
|
4910
4947
|
default:
|
|
4911
4948
|
let u = options.readUnknownField;
|
|
4912
4949
|
if (u === "throw")
|
|
@@ -4940,6 +4977,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4940
4977
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString cta_label_localized = 7; */
|
|
4941
4978
|
if (message.ctaLabelLocalized)
|
|
4942
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();
|
|
4943
4983
|
let u = options.writeUnknownFields;
|
|
4944
4984
|
if (u !== false)
|
|
4945
4985
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -845,6 +845,10 @@ export declare enum User_ClassificationType {
|
|
|
845
845
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
846
846
|
*/
|
|
847
847
|
HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125,
|
|
848
|
+
/**
|
|
849
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
850
|
+
*/
|
|
851
|
+
QUARANTINE_SMITE = 3200,
|
|
848
852
|
/**
|
|
849
853
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
850
854
|
*/
|
|
@@ -595,6 +595,10 @@ var User_ClassificationType;
|
|
|
595
595
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
596
596
|
*/
|
|
597
597
|
User_ClassificationType[User_ClassificationType["HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE"] = 3125] = "HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE";
|
|
598
|
+
/**
|
|
599
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
600
|
+
*/
|
|
601
|
+
User_ClassificationType[User_ClassificationType["QUARANTINE_SMITE"] = 3200] = "QUARANTINE_SMITE";
|
|
598
602
|
/**
|
|
599
603
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
600
604
|
*/
|
|
@@ -1240,6 +1240,10 @@ export declare enum UserData_ClassificationType {
|
|
|
1240
1240
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
1241
1241
|
*/
|
|
1242
1242
|
HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125,
|
|
1243
|
+
/**
|
|
1244
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
1245
|
+
*/
|
|
1246
|
+
QUARANTINE_SMITE = 3200,
|
|
1243
1247
|
/**
|
|
1244
1248
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
1245
1249
|
*/
|
|
@@ -638,6 +638,10 @@ var UserData_ClassificationType;
|
|
|
638
638
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE = 3125;
|
|
639
639
|
*/
|
|
640
640
|
UserData_ClassificationType[UserData_ClassificationType["HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE"] = 3125] = "HARASSMENT_AND_NONIMMINENT_AND_OR_NON_PHYSICAL_THREATS_GUILD_SMITE";
|
|
641
|
+
/**
|
|
642
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_QUARANTINE_SMITE = 3200;
|
|
643
|
+
*/
|
|
644
|
+
UserData_ClassificationType[UserData_ClassificationType["QUARANTINE_SMITE"] = 3200] = "QUARANTINE_SMITE";
|
|
641
645
|
/**
|
|
642
646
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
643
647
|
*/
|