discord-protos 1.2.310 → 1.2.312
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 +44 -0
- package/discord_protos/users/v1/User.proto +5 -0
- package/discord_protos/users/v1/UserData.proto +5 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +197 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +393 -2
- package/dist/discord_protos/users/v1/User.d.ts +23 -0
- package/dist/discord_protos/users/v1/User.js +64 -2
- package/dist/discord_protos/users/v1/UserData.d.ts +23 -0
- package/dist/discord_protos/users/v1/UserData.js +64 -2
- package/package.json +1 -1
|
@@ -734,6 +734,9 @@ message PremiumMarketingComponentProperties {
|
|
|
734
734
|
DISMISSIBLE_CONTENT_TINY_BRONCO = 812;
|
|
735
735
|
DISMISSIBLE_CONTENT_USER_PROFILE_PERSONAL_WIDGET_NEW_BADGE = 813;
|
|
736
736
|
DISMISSIBLE_CONTENT_SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814;
|
|
737
|
+
DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT = 815;
|
|
738
|
+
DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_UPSELL = 816;
|
|
739
|
+
DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_NEW_BADGE = 817;
|
|
737
740
|
}
|
|
738
741
|
|
|
739
742
|
message MobileBottomSheet {
|
|
@@ -914,6 +917,43 @@ message PremiumMarketingComponentProperties {
|
|
|
914
917
|
optional CTAButton cta_field = 9;
|
|
915
918
|
}
|
|
916
919
|
|
|
920
|
+
message GuildHeaderCoachmark {
|
|
921
|
+
optional ThemeAwareAsset asset = 1;
|
|
922
|
+
optional CTAButton button = 2;
|
|
923
|
+
optional HelpArticle help_article = 3;
|
|
924
|
+
optional LocalizedString header_localized = 4;
|
|
925
|
+
optional LocalizedString body_localized = 5;
|
|
926
|
+
string header = 6;
|
|
927
|
+
string body = 7;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
message GuildBoostCheckoutBanner {
|
|
931
|
+
optional ThemeAwareAsset asset = 1;
|
|
932
|
+
optional LocalizedString header_localized = 2;
|
|
933
|
+
optional LocalizedString body_localized = 3;
|
|
934
|
+
optional HelpArticle help_article = 4;
|
|
935
|
+
string header = 5;
|
|
936
|
+
string body = 6;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
message GuildBoostMarketingPageBanner {
|
|
940
|
+
optional ThemeAwareAsset asset = 1;
|
|
941
|
+
optional LocalizedString header_localized = 2;
|
|
942
|
+
optional LocalizedString body_localized = 3;
|
|
943
|
+
optional HelpArticle help_article = 4;
|
|
944
|
+
string header = 5;
|
|
945
|
+
string body = 6;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
message GuildBoostTabBanner {
|
|
949
|
+
optional ThemeAwareAsset asset = 1;
|
|
950
|
+
optional LocalizedString header_localized = 2;
|
|
951
|
+
optional LocalizedString body_localized = 3;
|
|
952
|
+
optional HelpArticle help_article = 4;
|
|
953
|
+
string header = 5;
|
|
954
|
+
string body = 6;
|
|
955
|
+
}
|
|
956
|
+
|
|
917
957
|
string content_identifier = 3;
|
|
918
958
|
bool is_default_base = 18;
|
|
919
959
|
oneof properties {
|
|
@@ -937,6 +977,10 @@ message PremiumMarketingComponentProperties {
|
|
|
937
977
|
BillingSettingsBanner billing_settings_banner = 20;
|
|
938
978
|
ShopNagbar shop_nagbar = 21;
|
|
939
979
|
AdminEditorTestComponent admin_editor_test_component = 22;
|
|
980
|
+
GuildHeaderCoachmark guild_header_coachmark = 23;
|
|
981
|
+
GuildBoostCheckoutBanner guild_boost_checkout_banner = 24;
|
|
982
|
+
GuildBoostMarketingPageBanner guild_boost_marketing_page_banner = 25;
|
|
983
|
+
GuildBoostTabBanner guild_boost_tab_banner = 26;
|
|
940
984
|
}
|
|
941
985
|
|
|
942
986
|
}
|
|
@@ -707,6 +707,10 @@ message User {
|
|
|
707
707
|
optional google.protobuf.BoolValue animated = 4;
|
|
708
708
|
}
|
|
709
709
|
|
|
710
|
+
message VadColors {
|
|
711
|
+
repeated uint32 colors = 1;
|
|
712
|
+
}
|
|
713
|
+
|
|
710
714
|
uint64 id = 1;
|
|
711
715
|
string username = 2;
|
|
712
716
|
string discriminator = 3;
|
|
@@ -719,4 +723,5 @@ message User {
|
|
|
719
723
|
optional UserCollectibles collectibles = 11;
|
|
720
724
|
optional SafetyState safety_state = 12;
|
|
721
725
|
optional DisplayNameStyles display_name_styles = 13;
|
|
726
|
+
optional VadColors vad_colors = 14;
|
|
722
727
|
}
|
|
@@ -963,6 +963,10 @@ message UserData {
|
|
|
963
963
|
TypingSuggestion typing_suggestion = 3;
|
|
964
964
|
}
|
|
965
965
|
|
|
966
|
+
message VadColors {
|
|
967
|
+
repeated uint32 colors = 1;
|
|
968
|
+
}
|
|
969
|
+
|
|
966
970
|
map<fixed64, LinkedUser> linked_users = 1;
|
|
967
971
|
map<uint32, FeatureLimits> safety_feature_limits = 2;
|
|
968
972
|
map<uint32, SafetyFlag> safety_flags = 3;
|
|
@@ -983,4 +987,5 @@ message UserData {
|
|
|
983
987
|
optional AnonymizationInfo anonymization_info = 18;
|
|
984
988
|
optional UserTypingIndicatorStyle typing_indicator_style = 19;
|
|
985
989
|
bool disable_staff_discount = 20;
|
|
990
|
+
optional VadColors vad_colors = 21;
|
|
986
991
|
}
|
|
@@ -140,6 +140,30 @@ export interface PremiumMarketingComponentProperties {
|
|
|
140
140
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AdminEditorTestComponent admin_editor_test_component = 22
|
|
141
141
|
*/
|
|
142
142
|
adminEditorTestComponent: PremiumMarketingComponentProperties_AdminEditorTestComponent;
|
|
143
|
+
} | {
|
|
144
|
+
oneofKind: "guildHeaderCoachmark";
|
|
145
|
+
/**
|
|
146
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark guild_header_coachmark = 23
|
|
147
|
+
*/
|
|
148
|
+
guildHeaderCoachmark: PremiumMarketingComponentProperties_GuildHeaderCoachmark;
|
|
149
|
+
} | {
|
|
150
|
+
oneofKind: "guildBoostCheckoutBanner";
|
|
151
|
+
/**
|
|
152
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner guild_boost_checkout_banner = 24
|
|
153
|
+
*/
|
|
154
|
+
guildBoostCheckoutBanner: PremiumMarketingComponentProperties_GuildBoostCheckoutBanner;
|
|
155
|
+
} | {
|
|
156
|
+
oneofKind: "guildBoostMarketingPageBanner";
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner guild_boost_marketing_page_banner = 25
|
|
159
|
+
*/
|
|
160
|
+
guildBoostMarketingPageBanner: PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner;
|
|
161
|
+
} | {
|
|
162
|
+
oneofKind: "guildBoostTabBanner";
|
|
163
|
+
/**
|
|
164
|
+
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner guild_boost_tab_banner = 26
|
|
165
|
+
*/
|
|
166
|
+
guildBoostTabBanner: PremiumMarketingComponentProperties_GuildBoostTabBanner;
|
|
143
167
|
} | {
|
|
144
168
|
oneofKind: undefined;
|
|
145
169
|
};
|
|
@@ -1044,6 +1068,126 @@ export interface PremiumMarketingComponentProperties_AdminEditorTestComponent {
|
|
|
1044
1068
|
*/
|
|
1045
1069
|
ctaField?: PremiumMarketingComponentProperties_CTAButton;
|
|
1046
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark
|
|
1073
|
+
*/
|
|
1074
|
+
export interface PremiumMarketingComponentProperties_GuildHeaderCoachmark {
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1
|
|
1077
|
+
*/
|
|
1078
|
+
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1079
|
+
/**
|
|
1080
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 2
|
|
1081
|
+
*/
|
|
1082
|
+
button?: PremiumMarketingComponentProperties_CTAButton;
|
|
1083
|
+
/**
|
|
1084
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 3
|
|
1085
|
+
*/
|
|
1086
|
+
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1087
|
+
/**
|
|
1088
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 4
|
|
1089
|
+
*/
|
|
1090
|
+
headerLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1091
|
+
/**
|
|
1092
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 5
|
|
1093
|
+
*/
|
|
1094
|
+
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1095
|
+
/**
|
|
1096
|
+
* @generated from protobuf field: string header = 6
|
|
1097
|
+
*/
|
|
1098
|
+
header: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* @generated from protobuf field: string body = 7
|
|
1101
|
+
*/
|
|
1102
|
+
body: string;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner
|
|
1106
|
+
*/
|
|
1107
|
+
export interface PremiumMarketingComponentProperties_GuildBoostCheckoutBanner {
|
|
1108
|
+
/**
|
|
1109
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1
|
|
1110
|
+
*/
|
|
1111
|
+
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1112
|
+
/**
|
|
1113
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2
|
|
1114
|
+
*/
|
|
1115
|
+
headerLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3
|
|
1118
|
+
*/
|
|
1119
|
+
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1120
|
+
/**
|
|
1121
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4
|
|
1122
|
+
*/
|
|
1123
|
+
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from protobuf field: string header = 5
|
|
1126
|
+
*/
|
|
1127
|
+
header: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from protobuf field: string body = 6
|
|
1130
|
+
*/
|
|
1131
|
+
body: string;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner
|
|
1135
|
+
*/
|
|
1136
|
+
export interface PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner {
|
|
1137
|
+
/**
|
|
1138
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1
|
|
1139
|
+
*/
|
|
1140
|
+
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1141
|
+
/**
|
|
1142
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2
|
|
1143
|
+
*/
|
|
1144
|
+
headerLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1145
|
+
/**
|
|
1146
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3
|
|
1147
|
+
*/
|
|
1148
|
+
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1149
|
+
/**
|
|
1150
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4
|
|
1151
|
+
*/
|
|
1152
|
+
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1153
|
+
/**
|
|
1154
|
+
* @generated from protobuf field: string header = 5
|
|
1155
|
+
*/
|
|
1156
|
+
header: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* @generated from protobuf field: string body = 6
|
|
1159
|
+
*/
|
|
1160
|
+
body: string;
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner
|
|
1164
|
+
*/
|
|
1165
|
+
export interface PremiumMarketingComponentProperties_GuildBoostTabBanner {
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1
|
|
1168
|
+
*/
|
|
1169
|
+
asset?: PremiumMarketingComponentProperties_ThemeAwareAsset;
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2
|
|
1172
|
+
*/
|
|
1173
|
+
headerLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1174
|
+
/**
|
|
1175
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3
|
|
1176
|
+
*/
|
|
1177
|
+
bodyLocalized?: PremiumMarketingComponentProperties_LocalizedString;
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4
|
|
1180
|
+
*/
|
|
1181
|
+
helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
|
|
1182
|
+
/**
|
|
1183
|
+
* @generated from protobuf field: string header = 5
|
|
1184
|
+
*/
|
|
1185
|
+
header: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from protobuf field: string body = 6
|
|
1188
|
+
*/
|
|
1189
|
+
body: string;
|
|
1190
|
+
}
|
|
1047
1191
|
/**
|
|
1048
1192
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
1049
1193
|
*/
|
|
@@ -3545,7 +3689,19 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3545
3689
|
/**
|
|
3546
3690
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814;
|
|
3547
3691
|
*/
|
|
3548
|
-
SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814
|
|
3692
|
+
SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814,
|
|
3693
|
+
/**
|
|
3694
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT = 815;
|
|
3695
|
+
*/
|
|
3696
|
+
NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT = 815,
|
|
3697
|
+
/**
|
|
3698
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_UPSELL = 816;
|
|
3699
|
+
*/
|
|
3700
|
+
NITRO_FILE_UPLOAD_1GB_UPSELL = 816,
|
|
3701
|
+
/**
|
|
3702
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_NEW_BADGE = 817;
|
|
3703
|
+
*/
|
|
3704
|
+
NITRO_FILE_UPLOAD_1GB_NEW_BADGE = 817
|
|
3549
3705
|
}
|
|
3550
3706
|
/**
|
|
3551
3707
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -3858,4 +4014,44 @@ declare class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type
|
|
|
3858
4014
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AdminEditorTestComponent
|
|
3859
4015
|
*/
|
|
3860
4016
|
export declare const PremiumMarketingComponentProperties_AdminEditorTestComponent: PremiumMarketingComponentProperties_AdminEditorTestComponent$Type;
|
|
4017
|
+
declare class PremiumMarketingComponentProperties_GuildHeaderCoachmark$Type extends MessageType<PremiumMarketingComponentProperties_GuildHeaderCoachmark> {
|
|
4018
|
+
constructor();
|
|
4019
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GuildHeaderCoachmark>): PremiumMarketingComponentProperties_GuildHeaderCoachmark;
|
|
4020
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GuildHeaderCoachmark): PremiumMarketingComponentProperties_GuildHeaderCoachmark;
|
|
4021
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GuildHeaderCoachmark, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4022
|
+
}
|
|
4023
|
+
/**
|
|
4024
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark
|
|
4025
|
+
*/
|
|
4026
|
+
export declare const PremiumMarketingComponentProperties_GuildHeaderCoachmark: PremiumMarketingComponentProperties_GuildHeaderCoachmark$Type;
|
|
4027
|
+
declare class PremiumMarketingComponentProperties_GuildBoostCheckoutBanner$Type extends MessageType<PremiumMarketingComponentProperties_GuildBoostCheckoutBanner> {
|
|
4028
|
+
constructor();
|
|
4029
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GuildBoostCheckoutBanner>): PremiumMarketingComponentProperties_GuildBoostCheckoutBanner;
|
|
4030
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GuildBoostCheckoutBanner): PremiumMarketingComponentProperties_GuildBoostCheckoutBanner;
|
|
4031
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GuildBoostCheckoutBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4032
|
+
}
|
|
4033
|
+
/**
|
|
4034
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner
|
|
4035
|
+
*/
|
|
4036
|
+
export declare const PremiumMarketingComponentProperties_GuildBoostCheckoutBanner: PremiumMarketingComponentProperties_GuildBoostCheckoutBanner$Type;
|
|
4037
|
+
declare class PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner$Type extends MessageType<PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner> {
|
|
4038
|
+
constructor();
|
|
4039
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner>): PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner;
|
|
4040
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner): PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner;
|
|
4041
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4042
|
+
}
|
|
4043
|
+
/**
|
|
4044
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner
|
|
4045
|
+
*/
|
|
4046
|
+
export declare const PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner: PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner$Type;
|
|
4047
|
+
declare class PremiumMarketingComponentProperties_GuildBoostTabBanner$Type extends MessageType<PremiumMarketingComponentProperties_GuildBoostTabBanner> {
|
|
4048
|
+
constructor();
|
|
4049
|
+
create(value?: PartialMessage<PremiumMarketingComponentProperties_GuildBoostTabBanner>): PremiumMarketingComponentProperties_GuildBoostTabBanner;
|
|
4050
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PremiumMarketingComponentProperties_GuildBoostTabBanner): PremiumMarketingComponentProperties_GuildBoostTabBanner;
|
|
4051
|
+
internalBinaryWrite(message: PremiumMarketingComponentProperties_GuildBoostTabBanner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4052
|
+
}
|
|
4053
|
+
/**
|
|
4054
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner
|
|
4055
|
+
*/
|
|
4056
|
+
export declare const PremiumMarketingComponentProperties_GuildBoostTabBanner: PremiumMarketingComponentProperties_GuildBoostTabBanner$Type;
|
|
3861
4057
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PremiumMarketingComponentProperties_AdminEditorTestComponent = exports.PremiumMarketingComponentProperties_ShopNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsBanner = exports.PremiumMarketingComponentProperties_PlanSelectCardBanner = exports.PremiumMarketingComponentProperties_Nagbar = exports.PremiumMarketingComponentProperties_PremiumTabPopover = exports.PremiumMarketingComponentProperties_PremiumTabTooltip = exports.PremiumMarketingComponentProperties_GiftReminderCoachmark = exports.PremiumMarketingComponentProperties_GiftReminderNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner = exports.PremiumMarketingComponentProperties_GiftCustomizationBanner = exports.PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner = exports.PremiumMarketingComponentProperties_GiftIconCoachmark = exports.PremiumMarketingComponentProperties_ThemeAwareAsset = exports.PremiumMarketingComponentProperties_GiftIcon = exports.PremiumMarketingComponentProperties_Gradient = exports.PremiumMarketingComponentProperties_MobileBottomSheet = exports.PremiumMarketingComponentProperties_PaymentModalBanner = exports.PremiumMarketingComponentProperties_MarketingPageBanner = exports.PremiumMarketingComponentProperties_PremiumTab = exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties = exports.PremiumMarketingComponentProperties_Disclaimer = exports.PremiumMarketingComponentProperties_Variant1Storage = exports.PremiumMarketingComponentProperties_Subtitle = exports.PremiumMarketingComponentProperties_CTAButton = exports.PremiumMarketingComponentProperties_FeatureCard = exports.PremiumMarketingComponentProperties_HelpArticle = exports.PremiumMarketingComponentProperties_LocalizedString = exports.PremiumMarketingComponentProperties = exports.PremiumMarketingComponentProperties_AssetVariant = exports.PremiumMarketingComponentProperties_DismissibleContent = exports.PremiumMarketingComponentProperties_MarketingPageBannerButtonVariant = exports.PremiumMarketingComponentProperties_ButtonAction = void 0;
|
|
3
|
+
exports.PremiumMarketingComponentProperties_GuildBoostTabBanner = exports.PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner = exports.PremiumMarketingComponentProperties_GuildBoostCheckoutBanner = exports.PremiumMarketingComponentProperties_GuildHeaderCoachmark = exports.PremiumMarketingComponentProperties_AdminEditorTestComponent = exports.PremiumMarketingComponentProperties_ShopNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsBanner = exports.PremiumMarketingComponentProperties_PlanSelectCardBanner = exports.PremiumMarketingComponentProperties_Nagbar = exports.PremiumMarketingComponentProperties_PremiumTabPopover = exports.PremiumMarketingComponentProperties_PremiumTabTooltip = exports.PremiumMarketingComponentProperties_GiftReminderCoachmark = exports.PremiumMarketingComponentProperties_GiftReminderNagbar = exports.PremiumMarketingComponentProperties_BillingSettingsNitroGiftBanner = exports.PremiumMarketingComponentProperties_GiftCustomizationBanner = exports.PremiumMarketingComponentProperties_GiftPlanSelectionCardBanner = exports.PremiumMarketingComponentProperties_GiftIconCoachmark = exports.PremiumMarketingComponentProperties_ThemeAwareAsset = exports.PremiumMarketingComponentProperties_GiftIcon = exports.PremiumMarketingComponentProperties_Gradient = exports.PremiumMarketingComponentProperties_MobileBottomSheet = exports.PremiumMarketingComponentProperties_PaymentModalBanner = exports.PremiumMarketingComponentProperties_MarketingPageBanner = exports.PremiumMarketingComponentProperties_PremiumTab = exports.PremiumMarketingComponentProperties_AnnouncementModalVariant1Properties = exports.PremiumMarketingComponentProperties_Disclaimer = exports.PremiumMarketingComponentProperties_Variant1Storage = exports.PremiumMarketingComponentProperties_Subtitle = exports.PremiumMarketingComponentProperties_CTAButton = exports.PremiumMarketingComponentProperties_FeatureCard = exports.PremiumMarketingComponentProperties_HelpArticle = exports.PremiumMarketingComponentProperties_LocalizedString = exports.PremiumMarketingComponentProperties = exports.PremiumMarketingComponentProperties_AssetVariant = exports.PremiumMarketingComponentProperties_DismissibleContent = exports.PremiumMarketingComponentProperties_MarketingPageBannerButtonVariant = exports.PremiumMarketingComponentProperties_ButtonAction = void 0;
|
|
4
4
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
5
5
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -2511,6 +2511,18 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2511
2511
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SCHEDULED_MESSAGES_DRAFT_COACHMARK = 814;
|
|
2512
2512
|
*/
|
|
2513
2513
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SCHEDULED_MESSAGES_DRAFT_COACHMARK"] = 814] = "SCHEDULED_MESSAGES_DRAFT_COACHMARK";
|
|
2514
|
+
/**
|
|
2515
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT = 815;
|
|
2516
|
+
*/
|
|
2517
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT"] = 815] = "NITRO_FILE_UPLOAD_1GB_ANNOUNCEMENT";
|
|
2518
|
+
/**
|
|
2519
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_UPSELL = 816;
|
|
2520
|
+
*/
|
|
2521
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NITRO_FILE_UPLOAD_1GB_UPSELL"] = 816] = "NITRO_FILE_UPLOAD_1GB_UPSELL";
|
|
2522
|
+
/**
|
|
2523
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_NITRO_FILE_UPLOAD_1GB_NEW_BADGE = 817;
|
|
2524
|
+
*/
|
|
2525
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["NITRO_FILE_UPLOAD_1GB_NEW_BADGE"] = 817] = "NITRO_FILE_UPLOAD_1GB_NEW_BADGE";
|
|
2514
2526
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2515
2527
|
/**
|
|
2516
2528
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2555,7 +2567,11 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2555
2567
|
{ no: 19, name: "plan_select_card_banner", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_PlanSelectCardBanner },
|
|
2556
2568
|
{ no: 20, name: "billing_settings_banner", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_BillingSettingsBanner },
|
|
2557
2569
|
{ no: 21, name: "shop_nagbar", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_ShopNagbar },
|
|
2558
|
-
{ no: 22, name: "admin_editor_test_component", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_AdminEditorTestComponent }
|
|
2570
|
+
{ no: 22, name: "admin_editor_test_component", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_AdminEditorTestComponent },
|
|
2571
|
+
{ no: 23, name: "guild_header_coachmark", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_GuildHeaderCoachmark },
|
|
2572
|
+
{ no: 24, name: "guild_boost_checkout_banner", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_GuildBoostCheckoutBanner },
|
|
2573
|
+
{ no: 25, name: "guild_boost_marketing_page_banner", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner },
|
|
2574
|
+
{ no: 26, name: "guild_boost_tab_banner", kind: "message", oneof: "properties", T: () => exports.PremiumMarketingComponentProperties_GuildBoostTabBanner }
|
|
2559
2575
|
]);
|
|
2560
2576
|
}
|
|
2561
2577
|
create(value) {
|
|
@@ -2698,6 +2714,30 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2698
2714
|
adminEditorTestComponent: exports.PremiumMarketingComponentProperties_AdminEditorTestComponent.internalBinaryRead(reader, reader.uint32(), options, message.properties.adminEditorTestComponent)
|
|
2699
2715
|
};
|
|
2700
2716
|
break;
|
|
2717
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark guild_header_coachmark */ 23:
|
|
2718
|
+
message.properties = {
|
|
2719
|
+
oneofKind: "guildHeaderCoachmark",
|
|
2720
|
+
guildHeaderCoachmark: exports.PremiumMarketingComponentProperties_GuildHeaderCoachmark.internalBinaryRead(reader, reader.uint32(), options, message.properties.guildHeaderCoachmark)
|
|
2721
|
+
};
|
|
2722
|
+
break;
|
|
2723
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner guild_boost_checkout_banner */ 24:
|
|
2724
|
+
message.properties = {
|
|
2725
|
+
oneofKind: "guildBoostCheckoutBanner",
|
|
2726
|
+
guildBoostCheckoutBanner: exports.PremiumMarketingComponentProperties_GuildBoostCheckoutBanner.internalBinaryRead(reader, reader.uint32(), options, message.properties.guildBoostCheckoutBanner)
|
|
2727
|
+
};
|
|
2728
|
+
break;
|
|
2729
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner guild_boost_marketing_page_banner */ 25:
|
|
2730
|
+
message.properties = {
|
|
2731
|
+
oneofKind: "guildBoostMarketingPageBanner",
|
|
2732
|
+
guildBoostMarketingPageBanner: exports.PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner.internalBinaryRead(reader, reader.uint32(), options, message.properties.guildBoostMarketingPageBanner)
|
|
2733
|
+
};
|
|
2734
|
+
break;
|
|
2735
|
+
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner guild_boost_tab_banner */ 26:
|
|
2736
|
+
message.properties = {
|
|
2737
|
+
oneofKind: "guildBoostTabBanner",
|
|
2738
|
+
guildBoostTabBanner: exports.PremiumMarketingComponentProperties_GuildBoostTabBanner.internalBinaryRead(reader, reader.uint32(), options, message.properties.guildBoostTabBanner)
|
|
2739
|
+
};
|
|
2740
|
+
break;
|
|
2701
2741
|
default:
|
|
2702
2742
|
let u = options.readUnknownField;
|
|
2703
2743
|
if (u === "throw")
|
|
@@ -2776,6 +2816,18 @@ class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
|
2776
2816
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AdminEditorTestComponent admin_editor_test_component = 22; */
|
|
2777
2817
|
if (message.properties.oneofKind === "adminEditorTestComponent")
|
|
2778
2818
|
exports.PremiumMarketingComponentProperties_AdminEditorTestComponent.internalBinaryWrite(message.properties.adminEditorTestComponent, writer.tag(22, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2819
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark guild_header_coachmark = 23; */
|
|
2820
|
+
if (message.properties.oneofKind === "guildHeaderCoachmark")
|
|
2821
|
+
exports.PremiumMarketingComponentProperties_GuildHeaderCoachmark.internalBinaryWrite(message.properties.guildHeaderCoachmark, writer.tag(23, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2822
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner guild_boost_checkout_banner = 24; */
|
|
2823
|
+
if (message.properties.oneofKind === "guildBoostCheckoutBanner")
|
|
2824
|
+
exports.PremiumMarketingComponentProperties_GuildBoostCheckoutBanner.internalBinaryWrite(message.properties.guildBoostCheckoutBanner, writer.tag(24, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2825
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner guild_boost_marketing_page_banner = 25; */
|
|
2826
|
+
if (message.properties.oneofKind === "guildBoostMarketingPageBanner")
|
|
2827
|
+
exports.PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner.internalBinaryWrite(message.properties.guildBoostMarketingPageBanner, writer.tag(25, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2828
|
+
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner guild_boost_tab_banner = 26; */
|
|
2829
|
+
if (message.properties.oneofKind === "guildBoostTabBanner")
|
|
2830
|
+
exports.PremiumMarketingComponentProperties_GuildBoostTabBanner.internalBinaryWrite(message.properties.guildBoostTabBanner, writer.tag(26, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2779
2831
|
let u = options.writeUnknownFields;
|
|
2780
2832
|
if (u !== false)
|
|
2781
2833
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5360,3 +5412,342 @@ class PremiumMarketingComponentProperties_AdminEditorTestComponent$Type extends
|
|
|
5360
5412
|
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AdminEditorTestComponent
|
|
5361
5413
|
*/
|
|
5362
5414
|
exports.PremiumMarketingComponentProperties_AdminEditorTestComponent = new PremiumMarketingComponentProperties_AdminEditorTestComponent$Type();
|
|
5415
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5416
|
+
class PremiumMarketingComponentProperties_GuildHeaderCoachmark$Type extends runtime_4.MessageType {
|
|
5417
|
+
constructor() {
|
|
5418
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark", [
|
|
5419
|
+
{ no: 1, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5420
|
+
{ no: 2, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_CTAButton },
|
|
5421
|
+
{ no: 3, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
5422
|
+
{ no: 4, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5423
|
+
{ no: 5, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5424
|
+
{ no: 6, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5425
|
+
{ no: 7, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5426
|
+
]);
|
|
5427
|
+
}
|
|
5428
|
+
create(value) {
|
|
5429
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5430
|
+
message.header = "";
|
|
5431
|
+
message.body = "";
|
|
5432
|
+
if (value !== undefined)
|
|
5433
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5434
|
+
return message;
|
|
5435
|
+
}
|
|
5436
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5437
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5438
|
+
while (reader.pos < end) {
|
|
5439
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5440
|
+
switch (fieldNo) {
|
|
5441
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 1:
|
|
5442
|
+
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5443
|
+
break;
|
|
5444
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button */ 2:
|
|
5445
|
+
message.button = exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
|
|
5446
|
+
break;
|
|
5447
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 3:
|
|
5448
|
+
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
5449
|
+
break;
|
|
5450
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized */ 4:
|
|
5451
|
+
message.headerLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.headerLocalized);
|
|
5452
|
+
break;
|
|
5453
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized */ 5:
|
|
5454
|
+
message.bodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.bodyLocalized);
|
|
5455
|
+
break;
|
|
5456
|
+
case /* string header */ 6:
|
|
5457
|
+
message.header = reader.string();
|
|
5458
|
+
break;
|
|
5459
|
+
case /* string body */ 7:
|
|
5460
|
+
message.body = reader.string();
|
|
5461
|
+
break;
|
|
5462
|
+
default:
|
|
5463
|
+
let u = options.readUnknownField;
|
|
5464
|
+
if (u === "throw")
|
|
5465
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5466
|
+
let d = reader.skip(wireType);
|
|
5467
|
+
if (u !== false)
|
|
5468
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5469
|
+
}
|
|
5470
|
+
}
|
|
5471
|
+
return message;
|
|
5472
|
+
}
|
|
5473
|
+
internalBinaryWrite(message, writer, options) {
|
|
5474
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1; */
|
|
5475
|
+
if (message.asset)
|
|
5476
|
+
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5477
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton button = 2; */
|
|
5478
|
+
if (message.button)
|
|
5479
|
+
exports.PremiumMarketingComponentProperties_CTAButton.internalBinaryWrite(message.button, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5480
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 3; */
|
|
5481
|
+
if (message.helpArticle)
|
|
5482
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5483
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 4; */
|
|
5484
|
+
if (message.headerLocalized)
|
|
5485
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.headerLocalized, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5486
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 5; */
|
|
5487
|
+
if (message.bodyLocalized)
|
|
5488
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.bodyLocalized, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5489
|
+
/* string header = 6; */
|
|
5490
|
+
if (message.header !== "")
|
|
5491
|
+
writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.header);
|
|
5492
|
+
/* string body = 7; */
|
|
5493
|
+
if (message.body !== "")
|
|
5494
|
+
writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.body);
|
|
5495
|
+
let u = options.writeUnknownFields;
|
|
5496
|
+
if (u !== false)
|
|
5497
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5498
|
+
return writer;
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5501
|
+
/**
|
|
5502
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildHeaderCoachmark
|
|
5503
|
+
*/
|
|
5504
|
+
exports.PremiumMarketingComponentProperties_GuildHeaderCoachmark = new PremiumMarketingComponentProperties_GuildHeaderCoachmark$Type();
|
|
5505
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5506
|
+
class PremiumMarketingComponentProperties_GuildBoostCheckoutBanner$Type extends runtime_4.MessageType {
|
|
5507
|
+
constructor() {
|
|
5508
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner", [
|
|
5509
|
+
{ no: 1, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5510
|
+
{ no: 2, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5511
|
+
{ no: 3, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5512
|
+
{ no: 4, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
5513
|
+
{ no: 5, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5514
|
+
{ no: 6, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5515
|
+
]);
|
|
5516
|
+
}
|
|
5517
|
+
create(value) {
|
|
5518
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5519
|
+
message.header = "";
|
|
5520
|
+
message.body = "";
|
|
5521
|
+
if (value !== undefined)
|
|
5522
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5523
|
+
return message;
|
|
5524
|
+
}
|
|
5525
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5526
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5527
|
+
while (reader.pos < end) {
|
|
5528
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5529
|
+
switch (fieldNo) {
|
|
5530
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 1:
|
|
5531
|
+
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5532
|
+
break;
|
|
5533
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized */ 2:
|
|
5534
|
+
message.headerLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.headerLocalized);
|
|
5535
|
+
break;
|
|
5536
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized */ 3:
|
|
5537
|
+
message.bodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.bodyLocalized);
|
|
5538
|
+
break;
|
|
5539
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 4:
|
|
5540
|
+
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
5541
|
+
break;
|
|
5542
|
+
case /* string header */ 5:
|
|
5543
|
+
message.header = reader.string();
|
|
5544
|
+
break;
|
|
5545
|
+
case /* string body */ 6:
|
|
5546
|
+
message.body = reader.string();
|
|
5547
|
+
break;
|
|
5548
|
+
default:
|
|
5549
|
+
let u = options.readUnknownField;
|
|
5550
|
+
if (u === "throw")
|
|
5551
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5552
|
+
let d = reader.skip(wireType);
|
|
5553
|
+
if (u !== false)
|
|
5554
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
return message;
|
|
5558
|
+
}
|
|
5559
|
+
internalBinaryWrite(message, writer, options) {
|
|
5560
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1; */
|
|
5561
|
+
if (message.asset)
|
|
5562
|
+
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5563
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2; */
|
|
5564
|
+
if (message.headerLocalized)
|
|
5565
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.headerLocalized, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5566
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3; */
|
|
5567
|
+
if (message.bodyLocalized)
|
|
5568
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.bodyLocalized, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5569
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4; */
|
|
5570
|
+
if (message.helpArticle)
|
|
5571
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5572
|
+
/* string header = 5; */
|
|
5573
|
+
if (message.header !== "")
|
|
5574
|
+
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.header);
|
|
5575
|
+
/* string body = 6; */
|
|
5576
|
+
if (message.body !== "")
|
|
5577
|
+
writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.body);
|
|
5578
|
+
let u = options.writeUnknownFields;
|
|
5579
|
+
if (u !== false)
|
|
5580
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5581
|
+
return writer;
|
|
5582
|
+
}
|
|
5583
|
+
}
|
|
5584
|
+
/**
|
|
5585
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostCheckoutBanner
|
|
5586
|
+
*/
|
|
5587
|
+
exports.PremiumMarketingComponentProperties_GuildBoostCheckoutBanner = new PremiumMarketingComponentProperties_GuildBoostCheckoutBanner$Type();
|
|
5588
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5589
|
+
class PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner$Type extends runtime_4.MessageType {
|
|
5590
|
+
constructor() {
|
|
5591
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner", [
|
|
5592
|
+
{ no: 1, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5593
|
+
{ no: 2, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5594
|
+
{ no: 3, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5595
|
+
{ no: 4, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
5596
|
+
{ no: 5, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5597
|
+
{ no: 6, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5598
|
+
]);
|
|
5599
|
+
}
|
|
5600
|
+
create(value) {
|
|
5601
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5602
|
+
message.header = "";
|
|
5603
|
+
message.body = "";
|
|
5604
|
+
if (value !== undefined)
|
|
5605
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5606
|
+
return message;
|
|
5607
|
+
}
|
|
5608
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5609
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5610
|
+
while (reader.pos < end) {
|
|
5611
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5612
|
+
switch (fieldNo) {
|
|
5613
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 1:
|
|
5614
|
+
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5615
|
+
break;
|
|
5616
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized */ 2:
|
|
5617
|
+
message.headerLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.headerLocalized);
|
|
5618
|
+
break;
|
|
5619
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized */ 3:
|
|
5620
|
+
message.bodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.bodyLocalized);
|
|
5621
|
+
break;
|
|
5622
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 4:
|
|
5623
|
+
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
5624
|
+
break;
|
|
5625
|
+
case /* string header */ 5:
|
|
5626
|
+
message.header = reader.string();
|
|
5627
|
+
break;
|
|
5628
|
+
case /* string body */ 6:
|
|
5629
|
+
message.body = reader.string();
|
|
5630
|
+
break;
|
|
5631
|
+
default:
|
|
5632
|
+
let u = options.readUnknownField;
|
|
5633
|
+
if (u === "throw")
|
|
5634
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5635
|
+
let d = reader.skip(wireType);
|
|
5636
|
+
if (u !== false)
|
|
5637
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5638
|
+
}
|
|
5639
|
+
}
|
|
5640
|
+
return message;
|
|
5641
|
+
}
|
|
5642
|
+
internalBinaryWrite(message, writer, options) {
|
|
5643
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1; */
|
|
5644
|
+
if (message.asset)
|
|
5645
|
+
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5646
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2; */
|
|
5647
|
+
if (message.headerLocalized)
|
|
5648
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.headerLocalized, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5649
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3; */
|
|
5650
|
+
if (message.bodyLocalized)
|
|
5651
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.bodyLocalized, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5652
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4; */
|
|
5653
|
+
if (message.helpArticle)
|
|
5654
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5655
|
+
/* string header = 5; */
|
|
5656
|
+
if (message.header !== "")
|
|
5657
|
+
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.header);
|
|
5658
|
+
/* string body = 6; */
|
|
5659
|
+
if (message.body !== "")
|
|
5660
|
+
writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.body);
|
|
5661
|
+
let u = options.writeUnknownFields;
|
|
5662
|
+
if (u !== false)
|
|
5663
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5664
|
+
return writer;
|
|
5665
|
+
}
|
|
5666
|
+
}
|
|
5667
|
+
/**
|
|
5668
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostMarketingPageBanner
|
|
5669
|
+
*/
|
|
5670
|
+
exports.PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner = new PremiumMarketingComponentProperties_GuildBoostMarketingPageBanner$Type();
|
|
5671
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5672
|
+
class PremiumMarketingComponentProperties_GuildBoostTabBanner$Type extends runtime_4.MessageType {
|
|
5673
|
+
constructor() {
|
|
5674
|
+
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner", [
|
|
5675
|
+
{ no: 1, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
|
|
5676
|
+
{ no: 2, name: "header_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5677
|
+
{ no: 3, name: "body_localized", kind: "message", T: () => exports.PremiumMarketingComponentProperties_LocalizedString },
|
|
5678
|
+
{ no: 4, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle },
|
|
5679
|
+
{ no: 5, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5680
|
+
{ no: 6, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5681
|
+
]);
|
|
5682
|
+
}
|
|
5683
|
+
create(value) {
|
|
5684
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5685
|
+
message.header = "";
|
|
5686
|
+
message.body = "";
|
|
5687
|
+
if (value !== undefined)
|
|
5688
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5689
|
+
return message;
|
|
5690
|
+
}
|
|
5691
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5692
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5693
|
+
while (reader.pos < end) {
|
|
5694
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5695
|
+
switch (fieldNo) {
|
|
5696
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset */ 1:
|
|
5697
|
+
message.asset = exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryRead(reader, reader.uint32(), options, message.asset);
|
|
5698
|
+
break;
|
|
5699
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized */ 2:
|
|
5700
|
+
message.headerLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.headerLocalized);
|
|
5701
|
+
break;
|
|
5702
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized */ 3:
|
|
5703
|
+
message.bodyLocalized = exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryRead(reader, reader.uint32(), options, message.bodyLocalized);
|
|
5704
|
+
break;
|
|
5705
|
+
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 4:
|
|
5706
|
+
message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
|
|
5707
|
+
break;
|
|
5708
|
+
case /* string header */ 5:
|
|
5709
|
+
message.header = reader.string();
|
|
5710
|
+
break;
|
|
5711
|
+
case /* string body */ 6:
|
|
5712
|
+
message.body = reader.string();
|
|
5713
|
+
break;
|
|
5714
|
+
default:
|
|
5715
|
+
let u = options.readUnknownField;
|
|
5716
|
+
if (u === "throw")
|
|
5717
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5718
|
+
let d = reader.skip(wireType);
|
|
5719
|
+
if (u !== false)
|
|
5720
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5721
|
+
}
|
|
5722
|
+
}
|
|
5723
|
+
return message;
|
|
5724
|
+
}
|
|
5725
|
+
internalBinaryWrite(message, writer, options) {
|
|
5726
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset asset = 1; */
|
|
5727
|
+
if (message.asset)
|
|
5728
|
+
exports.PremiumMarketingComponentProperties_ThemeAwareAsset.internalBinaryWrite(message.asset, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5729
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString header_localized = 2; */
|
|
5730
|
+
if (message.headerLocalized)
|
|
5731
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.headerLocalized, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5732
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.LocalizedString body_localized = 3; */
|
|
5733
|
+
if (message.bodyLocalized)
|
|
5734
|
+
exports.PremiumMarketingComponentProperties_LocalizedString.internalBinaryWrite(message.bodyLocalized, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5735
|
+
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 4; */
|
|
5736
|
+
if (message.helpArticle)
|
|
5737
|
+
exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5738
|
+
/* string header = 5; */
|
|
5739
|
+
if (message.header !== "")
|
|
5740
|
+
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.header);
|
|
5741
|
+
/* string body = 6; */
|
|
5742
|
+
if (message.body !== "")
|
|
5743
|
+
writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.body);
|
|
5744
|
+
let u = options.writeUnknownFields;
|
|
5745
|
+
if (u !== false)
|
|
5746
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5747
|
+
return writer;
|
|
5748
|
+
}
|
|
5749
|
+
}
|
|
5750
|
+
/**
|
|
5751
|
+
* @generated MessageType for protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.GuildBoostTabBanner
|
|
5752
|
+
*/
|
|
5753
|
+
exports.PremiumMarketingComponentProperties_GuildBoostTabBanner = new PremiumMarketingComponentProperties_GuildBoostTabBanner$Type();
|
|
@@ -61,6 +61,10 @@ export interface User {
|
|
|
61
61
|
* @generated from protobuf field: optional discord_protos.users.v1.User.DisplayNameStyles display_name_styles = 13
|
|
62
62
|
*/
|
|
63
63
|
displayNameStyles?: User_DisplayNameStyles;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf field: optional discord_protos.users.v1.User.VadColors vad_colors = 14
|
|
66
|
+
*/
|
|
67
|
+
vadColors?: User_VadColors;
|
|
64
68
|
}
|
|
65
69
|
/**
|
|
66
70
|
* @generated from protobuf message discord_protos.users.v1.User.UserAvatarDecoration
|
|
@@ -261,6 +265,15 @@ export interface User_DisplayNameStyles {
|
|
|
261
265
|
*/
|
|
262
266
|
animated?: BoolValue;
|
|
263
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* @generated from protobuf message discord_protos.users.v1.User.VadColors
|
|
270
|
+
*/
|
|
271
|
+
export interface User_VadColors {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from protobuf field: repeated uint32 colors = 1
|
|
274
|
+
*/
|
|
275
|
+
colors: number[];
|
|
276
|
+
}
|
|
264
277
|
/**
|
|
265
278
|
* @generated from protobuf enum discord_protos.users.v1.User.ClassificationType
|
|
266
279
|
*/
|
|
@@ -2878,4 +2891,14 @@ declare class User_DisplayNameStyles$Type extends MessageType<User_DisplayNameSt
|
|
|
2878
2891
|
* @generated MessageType for protobuf message discord_protos.users.v1.User.DisplayNameStyles
|
|
2879
2892
|
*/
|
|
2880
2893
|
export declare const User_DisplayNameStyles: User_DisplayNameStyles$Type;
|
|
2894
|
+
declare class User_VadColors$Type extends MessageType<User_VadColors> {
|
|
2895
|
+
constructor();
|
|
2896
|
+
create(value?: PartialMessage<User_VadColors>): User_VadColors;
|
|
2897
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: User_VadColors): User_VadColors;
|
|
2898
|
+
internalBinaryWrite(message: User_VadColors, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
2899
|
+
}
|
|
2900
|
+
/**
|
|
2901
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.User.VadColors
|
|
2902
|
+
*/
|
|
2903
|
+
export declare const User_VadColors: User_VadColors$Type;
|
|
2881
2904
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.User_DisplayNameStyles = exports.User_SafetyState = exports.User_BannedState = exports.User_TempBannedState = exports.User_DeferredActionState = exports.User_RestrictedState = exports.User_NormalState = exports.User_UserCollectibles = exports.User_UserNameplate = exports.User_UserPrimaryGuild = exports.User_UserAvatarDecoration = exports.User = exports.User_DisplayNameEffect = exports.User_DisplayNameFont = exports.User_SafetyAnnotations = exports.User_SafetyStateReason = exports.User_ClassificationType = void 0;
|
|
3
|
+
exports.User_VadColors = exports.User_DisplayNameStyles = exports.User_SafetyState = exports.User_BannedState = exports.User_TempBannedState = exports.User_DeferredActionState = exports.User_RestrictedState = exports.User_NormalState = exports.User_UserCollectibles = exports.User_UserNameplate = exports.User_UserPrimaryGuild = exports.User_UserAvatarDecoration = exports.User = exports.User_DisplayNameEffect = exports.User_DisplayNameFont = exports.User_SafetyAnnotations = exports.User_SafetyStateReason = exports.User_ClassificationType = void 0;
|
|
4
4
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
5
5
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -2527,7 +2527,8 @@ class User$Type extends runtime_4.MessageType {
|
|
|
2527
2527
|
{ no: 10, name: "primary_guild", kind: "message", T: () => exports.User_UserPrimaryGuild },
|
|
2528
2528
|
{ no: 11, name: "collectibles", kind: "message", T: () => exports.User_UserCollectibles },
|
|
2529
2529
|
{ no: 12, name: "safety_state", kind: "message", T: () => exports.User_SafetyState },
|
|
2530
|
-
{ no: 13, name: "display_name_styles", kind: "message", T: () => exports.User_DisplayNameStyles }
|
|
2530
|
+
{ no: 13, name: "display_name_styles", kind: "message", T: () => exports.User_DisplayNameStyles },
|
|
2531
|
+
{ no: 14, name: "vad_colors", kind: "message", T: () => exports.User_VadColors }
|
|
2531
2532
|
]);
|
|
2532
2533
|
}
|
|
2533
2534
|
create(value) {
|
|
@@ -2582,6 +2583,9 @@ class User$Type extends runtime_4.MessageType {
|
|
|
2582
2583
|
case /* optional discord_protos.users.v1.User.DisplayNameStyles display_name_styles */ 13:
|
|
2583
2584
|
message.displayNameStyles = exports.User_DisplayNameStyles.internalBinaryRead(reader, reader.uint32(), options, message.displayNameStyles);
|
|
2584
2585
|
break;
|
|
2586
|
+
case /* optional discord_protos.users.v1.User.VadColors vad_colors */ 14:
|
|
2587
|
+
message.vadColors = exports.User_VadColors.internalBinaryRead(reader, reader.uint32(), options, message.vadColors);
|
|
2588
|
+
break;
|
|
2585
2589
|
default:
|
|
2586
2590
|
let u = options.readUnknownField;
|
|
2587
2591
|
if (u === "throw")
|
|
@@ -2630,6 +2634,9 @@ class User$Type extends runtime_4.MessageType {
|
|
|
2630
2634
|
/* optional discord_protos.users.v1.User.DisplayNameStyles display_name_styles = 13; */
|
|
2631
2635
|
if (message.displayNameStyles)
|
|
2632
2636
|
exports.User_DisplayNameStyles.internalBinaryWrite(message.displayNameStyles, writer.tag(13, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2637
|
+
/* optional discord_protos.users.v1.User.VadColors vad_colors = 14; */
|
|
2638
|
+
if (message.vadColors)
|
|
2639
|
+
exports.User_VadColors.internalBinaryWrite(message.vadColors, writer.tag(14, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2633
2640
|
let u = options.writeUnknownFields;
|
|
2634
2641
|
if (u !== false)
|
|
2635
2642
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3351,3 +3358,58 @@ class User_DisplayNameStyles$Type extends runtime_4.MessageType {
|
|
|
3351
3358
|
* @generated MessageType for protobuf message discord_protos.users.v1.User.DisplayNameStyles
|
|
3352
3359
|
*/
|
|
3353
3360
|
exports.User_DisplayNameStyles = new User_DisplayNameStyles$Type();
|
|
3361
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3362
|
+
class User_VadColors$Type extends runtime_4.MessageType {
|
|
3363
|
+
constructor() {
|
|
3364
|
+
super("discord_protos.users.v1.User.VadColors", [
|
|
3365
|
+
{ no: 1, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ }
|
|
3366
|
+
]);
|
|
3367
|
+
}
|
|
3368
|
+
create(value) {
|
|
3369
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3370
|
+
message.colors = [];
|
|
3371
|
+
if (value !== undefined)
|
|
3372
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3373
|
+
return message;
|
|
3374
|
+
}
|
|
3375
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3376
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3377
|
+
while (reader.pos < end) {
|
|
3378
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3379
|
+
switch (fieldNo) {
|
|
3380
|
+
case /* repeated uint32 colors */ 1:
|
|
3381
|
+
if (wireType === runtime_1.WireType.LengthDelimited)
|
|
3382
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
3383
|
+
message.colors.push(reader.uint32());
|
|
3384
|
+
else
|
|
3385
|
+
message.colors.push(reader.uint32());
|
|
3386
|
+
break;
|
|
3387
|
+
default:
|
|
3388
|
+
let u = options.readUnknownField;
|
|
3389
|
+
if (u === "throw")
|
|
3390
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3391
|
+
let d = reader.skip(wireType);
|
|
3392
|
+
if (u !== false)
|
|
3393
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
return message;
|
|
3397
|
+
}
|
|
3398
|
+
internalBinaryWrite(message, writer, options) {
|
|
3399
|
+
/* repeated uint32 colors = 1; */
|
|
3400
|
+
if (message.colors.length) {
|
|
3401
|
+
writer.tag(1, runtime_1.WireType.LengthDelimited).fork();
|
|
3402
|
+
for (let i = 0; i < message.colors.length; i++)
|
|
3403
|
+
writer.uint32(message.colors[i]);
|
|
3404
|
+
writer.join();
|
|
3405
|
+
}
|
|
3406
|
+
let u = options.writeUnknownFields;
|
|
3407
|
+
if (u !== false)
|
|
3408
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3409
|
+
return writer;
|
|
3410
|
+
}
|
|
3411
|
+
}
|
|
3412
|
+
/**
|
|
3413
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.User.VadColors
|
|
3414
|
+
*/
|
|
3415
|
+
exports.User_VadColors = new User_VadColors$Type();
|
|
@@ -98,6 +98,10 @@ export interface UserData {
|
|
|
98
98
|
* @generated from protobuf field: bool disable_staff_discount = 20
|
|
99
99
|
*/
|
|
100
100
|
disableStaffDiscount: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from protobuf field: optional discord_protos.users.v1.UserData.VadColors vad_colors = 21
|
|
103
|
+
*/
|
|
104
|
+
vadColors?: UserData_VadColors;
|
|
101
105
|
}
|
|
102
106
|
/**
|
|
103
107
|
* @generated from protobuf message discord_protos.users.v1.UserData.LinkedUser
|
|
@@ -695,6 +699,15 @@ export interface UserData_UserTypingIndicatorStyle {
|
|
|
695
699
|
*/
|
|
696
700
|
typingSuggestion: UserData_TypingSuggestion;
|
|
697
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* @generated from protobuf message discord_protos.users.v1.UserData.VadColors
|
|
704
|
+
*/
|
|
705
|
+
export interface UserData_VadColors {
|
|
706
|
+
/**
|
|
707
|
+
* @generated from protobuf field: repeated uint32 colors = 1
|
|
708
|
+
*/
|
|
709
|
+
colors: number[];
|
|
710
|
+
}
|
|
698
711
|
/**
|
|
699
712
|
* @generated from protobuf enum discord_protos.users.v1.UserData.UserLinkType
|
|
700
713
|
*/
|
|
@@ -3933,4 +3946,14 @@ declare class UserData_UserTypingIndicatorStyle$Type extends MessageType<UserDat
|
|
|
3933
3946
|
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.UserTypingIndicatorStyle
|
|
3934
3947
|
*/
|
|
3935
3948
|
export declare const UserData_UserTypingIndicatorStyle: UserData_UserTypingIndicatorStyle$Type;
|
|
3949
|
+
declare class UserData_VadColors$Type extends MessageType<UserData_VadColors> {
|
|
3950
|
+
constructor();
|
|
3951
|
+
create(value?: PartialMessage<UserData_VadColors>): UserData_VadColors;
|
|
3952
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserData_VadColors): UserData_VadColors;
|
|
3953
|
+
internalBinaryWrite(message: UserData_VadColors, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.VadColors
|
|
3957
|
+
*/
|
|
3958
|
+
export declare const UserData_VadColors: UserData_VadColors$Type;
|
|
3936
3959
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserData_UserCountryData = exports.UserData_UserBadges = exports.UserData_Badge = exports.UserData_AprilFools2026Badge = exports.UserData_BadgeCommon = exports.UserData_Perks = exports.UserData_PerkConfig = exports.UserData_PerkConfigIncreasedGuildLimit = exports.UserData_PerkConfigIncreasedFileUploadSize = exports.UserData_AgeAssuranceData = exports.UserData_RestrictedSchedule = exports.UserData_ScheduleRule = exports.UserData_TimeOfDay = exports.UserData_StoreCountry = exports.UserData_DisplayNameStyles = exports.UserData_PremiumState = exports.UserData_SafetyState = exports.UserData_BannedState = exports.UserData_TempBannedState = exports.UserData_DeferredActionState = exports.UserData_RestrictedState = exports.UserData_NormalState = exports.UserData_UserCollectibles = exports.UserData_UserNameplate = exports.UserData_CrossPlatformRestriction = exports.UserData_UserPrimaryGuild = exports.UserData_QuestMetadata = exports.UserData_SafetyFlag = exports.UserData_FeatureLimits = exports.UserData_RateLimitData = exports.UserData_LinkedUser = exports.UserData = exports.UserData_TypingSuggestion = exports.UserData_TypingIndicatorAnimation = exports.UserData_AnonymizationStatus = exports.UserData_PerkSource = exports.UserData_AgeAssuranceGroup = exports.UserData_AgeAssuranceVendor = exports.UserData_AgeAssuranceMethod = exports.UserData_DayOfWeek = exports.UserData_DisplayNameEffect = exports.UserData_DisplayNameFont = exports.UserData_PremiumSubscriptionGroupRole = exports.UserData_PremiumSubscriptionType = exports.UserData_PremiumSource = exports.UserData_SafetyAnnotations = exports.UserData_SafetyStateReason = exports.UserData_ClassificationType = exports.UserData_UserLinkStatus = exports.UserData_UserLinkType = void 0;
|
|
4
|
-
exports.UserData_UserTypingIndicatorStyle = exports.UserData_TypingIndicatorEmoji = exports.UserData_AnonymizationInfo = void 0;
|
|
4
|
+
exports.UserData_VadColors = exports.UserData_UserTypingIndicatorStyle = exports.UserData_TypingIndicatorEmoji = exports.UserData_AnonymizationInfo = void 0;
|
|
5
5
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
7
7
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -2933,7 +2933,8 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2933
2933
|
{ no: 17, name: "is_pending_required_action", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2934
2934
|
{ no: 18, name: "anonymization_info", kind: "message", T: () => exports.UserData_AnonymizationInfo },
|
|
2935
2935
|
{ no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle },
|
|
2936
|
-
{ no: 20, name: "disable_staff_discount", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2936
|
+
{ no: 20, name: "disable_staff_discount", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2937
|
+
{ no: 21, name: "vad_colors", kind: "message", T: () => exports.UserData_VadColors }
|
|
2937
2938
|
]);
|
|
2938
2939
|
}
|
|
2939
2940
|
create(value) {
|
|
@@ -3012,6 +3013,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
3012
3013
|
case /* bool disable_staff_discount */ 20:
|
|
3013
3014
|
message.disableStaffDiscount = reader.bool();
|
|
3014
3015
|
break;
|
|
3016
|
+
case /* optional discord_protos.users.v1.UserData.VadColors vad_colors */ 21:
|
|
3017
|
+
message.vadColors = exports.UserData_VadColors.internalBinaryRead(reader, reader.uint32(), options, message.vadColors);
|
|
3018
|
+
break;
|
|
3015
3019
|
default:
|
|
3016
3020
|
let u = options.readUnknownField;
|
|
3017
3021
|
if (u === "throw")
|
|
@@ -3144,6 +3148,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
3144
3148
|
/* bool disable_staff_discount = 20; */
|
|
3145
3149
|
if (message.disableStaffDiscount !== false)
|
|
3146
3150
|
writer.tag(20, runtime_1.WireType.Varint).bool(message.disableStaffDiscount);
|
|
3151
|
+
/* optional discord_protos.users.v1.UserData.VadColors vad_colors = 21; */
|
|
3152
|
+
if (message.vadColors)
|
|
3153
|
+
exports.UserData_VadColors.internalBinaryWrite(message.vadColors, writer.tag(21, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3147
3154
|
let u = options.writeUnknownFields;
|
|
3148
3155
|
if (u !== false)
|
|
3149
3156
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5334,3 +5341,58 @@ class UserData_UserTypingIndicatorStyle$Type extends runtime_4.MessageType {
|
|
|
5334
5341
|
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.UserTypingIndicatorStyle
|
|
5335
5342
|
*/
|
|
5336
5343
|
exports.UserData_UserTypingIndicatorStyle = new UserData_UserTypingIndicatorStyle$Type();
|
|
5344
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5345
|
+
class UserData_VadColors$Type extends runtime_4.MessageType {
|
|
5346
|
+
constructor() {
|
|
5347
|
+
super("discord_protos.users.v1.UserData.VadColors", [
|
|
5348
|
+
{ no: 1, name: "colors", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ }
|
|
5349
|
+
]);
|
|
5350
|
+
}
|
|
5351
|
+
create(value) {
|
|
5352
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5353
|
+
message.colors = [];
|
|
5354
|
+
if (value !== undefined)
|
|
5355
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5356
|
+
return message;
|
|
5357
|
+
}
|
|
5358
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5359
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5360
|
+
while (reader.pos < end) {
|
|
5361
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5362
|
+
switch (fieldNo) {
|
|
5363
|
+
case /* repeated uint32 colors */ 1:
|
|
5364
|
+
if (wireType === runtime_1.WireType.LengthDelimited)
|
|
5365
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
5366
|
+
message.colors.push(reader.uint32());
|
|
5367
|
+
else
|
|
5368
|
+
message.colors.push(reader.uint32());
|
|
5369
|
+
break;
|
|
5370
|
+
default:
|
|
5371
|
+
let u = options.readUnknownField;
|
|
5372
|
+
if (u === "throw")
|
|
5373
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5374
|
+
let d = reader.skip(wireType);
|
|
5375
|
+
if (u !== false)
|
|
5376
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5377
|
+
}
|
|
5378
|
+
}
|
|
5379
|
+
return message;
|
|
5380
|
+
}
|
|
5381
|
+
internalBinaryWrite(message, writer, options) {
|
|
5382
|
+
/* repeated uint32 colors = 1; */
|
|
5383
|
+
if (message.colors.length) {
|
|
5384
|
+
writer.tag(1, runtime_1.WireType.LengthDelimited).fork();
|
|
5385
|
+
for (let i = 0; i < message.colors.length; i++)
|
|
5386
|
+
writer.uint32(message.colors[i]);
|
|
5387
|
+
writer.join();
|
|
5388
|
+
}
|
|
5389
|
+
let u = options.writeUnknownFields;
|
|
5390
|
+
if (u !== false)
|
|
5391
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5392
|
+
return writer;
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
/**
|
|
5396
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.VadColors
|
|
5397
|
+
*/
|
|
5398
|
+
exports.UserData_VadColors = new UserData_VadColors$Type();
|