discord-protos 1.2.402 → 1.2.404
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/discord_experimentation/v1/Experiment.proto +1 -0
- package/discord_protos/discord_users/v1/PreloadedUserSettings.proto +3 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +2 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +7 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +12 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +24 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +13 -1
- package/package.json +1 -1
|
@@ -566,6 +566,7 @@ message Experiment {
|
|
|
566
566
|
AssignmentMode assignment_mode = 25;
|
|
567
567
|
bool enable_edit_raw_json_ui = 23;
|
|
568
568
|
optional google.protobuf.Int32Value dynamic_config_size_limit_override = 46;
|
|
569
|
+
optional google.protobuf.Int32Value experiment_size_limit_override = 53;
|
|
569
570
|
int32 winning_variation_id = 24;
|
|
570
571
|
string extra_outcome_context = 34;
|
|
571
572
|
Type type = 26;
|
|
@@ -484,6 +484,9 @@ message PreloadedUserSettings {
|
|
|
484
484
|
bool muted = 2;
|
|
485
485
|
optional google.protobuf.BoolValue guild_visible = 3;
|
|
486
486
|
bool auto_add_joined_threads = 4;
|
|
487
|
+
optional google.protobuf.BoolValue prune_inactive_threads = 5;
|
|
488
|
+
uint32 prune_inactive_threads_days = 6;
|
|
489
|
+
bool prune_all_favorited_threads = 7;
|
|
487
490
|
}
|
|
488
491
|
|
|
489
492
|
message AudioContextSetting {
|
|
@@ -651,6 +651,7 @@ message PremiumMarketingComponentProperties {
|
|
|
651
651
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_SETTINGS_BADGE = 876;
|
|
652
652
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_STYLING_BADGE = 877;
|
|
653
653
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET = 878;
|
|
654
|
+
DISMISSIBLE_CONTENT_BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL = 879;
|
|
654
655
|
}
|
|
655
656
|
|
|
656
657
|
message MobileBottomSheet {
|
|
@@ -675,6 +676,7 @@ message PremiumMarketingComponentProperties {
|
|
|
675
676
|
string trinket_animation_url = 2;
|
|
676
677
|
string trinket_glow_animation_url = 3;
|
|
677
678
|
optional Gradient gradient = 4;
|
|
679
|
+
string trinket_rive_animation_url = 5;
|
|
678
680
|
}
|
|
679
681
|
|
|
680
682
|
message ThemeAwareAsset {
|
|
@@ -110,6 +110,10 @@ export interface Experiment {
|
|
|
110
110
|
* @generated from protobuf field: optional google.protobuf.Int32Value dynamic_config_size_limit_override = 46
|
|
111
111
|
*/
|
|
112
112
|
dynamicConfigSizeLimitOverride?: Int32Value;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from protobuf field: optional google.protobuf.Int32Value experiment_size_limit_override = 53
|
|
115
|
+
*/
|
|
116
|
+
experimentSizeLimitOverride?: Int32Value;
|
|
113
117
|
/**
|
|
114
118
|
* @generated from protobuf field: int32 winning_variation_id = 24
|
|
115
119
|
*/
|
|
@@ -490,6 +490,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
490
490
|
{ no: 25, name: "assignment_mode", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.AssignmentMode", Experiment_AssignmentMode, "ASSIGNMENT_MODE_"] },
|
|
491
491
|
{ no: 23, name: "enable_edit_raw_json_ui", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
492
492
|
{ no: 46, name: "dynamic_config_size_limit_override", kind: "message", T: () => wrappers_3.Int32Value },
|
|
493
|
+
{ no: 53, name: "experiment_size_limit_override", kind: "message", T: () => wrappers_3.Int32Value },
|
|
493
494
|
{ no: 24, name: "winning_variation_id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
494
495
|
{ no: 34, name: "extra_outcome_context", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
495
496
|
{ no: 26, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
|
|
@@ -640,6 +641,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
640
641
|
case /* optional google.protobuf.Int32Value dynamic_config_size_limit_override */ 46:
|
|
641
642
|
message.dynamicConfigSizeLimitOverride = wrappers_3.Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.dynamicConfigSizeLimitOverride);
|
|
642
643
|
break;
|
|
644
|
+
case /* optional google.protobuf.Int32Value experiment_size_limit_override */ 53:
|
|
645
|
+
message.experimentSizeLimitOverride = wrappers_3.Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.experimentSizeLimitOverride);
|
|
646
|
+
break;
|
|
643
647
|
case /* int32 winning_variation_id */ 24:
|
|
644
648
|
message.winningVariationId = reader.int32();
|
|
645
649
|
break;
|
|
@@ -894,6 +898,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
894
898
|
/* optional discord_protos.discord_experimentation.v1.Experiment.HoldoutScope holdout_scope = 52; */
|
|
895
899
|
if (message.holdoutScope)
|
|
896
900
|
exports.Experiment_HoldoutScope.internalBinaryWrite(message.holdoutScope, writer.tag(52, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
901
|
+
/* optional google.protobuf.Int32Value experiment_size_limit_override = 53; */
|
|
902
|
+
if (message.experimentSizeLimitOverride)
|
|
903
|
+
wrappers_3.Int32Value.internalBinaryWrite(message.experimentSizeLimitOverride, writer.tag(53, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
897
904
|
let u = options.writeUnknownFields;
|
|
898
905
|
if (u !== false)
|
|
899
906
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1254,6 +1254,18 @@ export interface PreloadedUserSettings_Favorites {
|
|
|
1254
1254
|
* @generated from protobuf field: bool auto_add_joined_threads = 4
|
|
1255
1255
|
*/
|
|
1256
1256
|
autoAddJoinedThreads: boolean;
|
|
1257
|
+
/**
|
|
1258
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue prune_inactive_threads = 5
|
|
1259
|
+
*/
|
|
1260
|
+
pruneInactiveThreads?: BoolValue;
|
|
1261
|
+
/**
|
|
1262
|
+
* @generated from protobuf field: uint32 prune_inactive_threads_days = 6
|
|
1263
|
+
*/
|
|
1264
|
+
pruneInactiveThreadsDays: number;
|
|
1265
|
+
/**
|
|
1266
|
+
* @generated from protobuf field: bool prune_all_favorited_threads = 7
|
|
1267
|
+
*/
|
|
1268
|
+
pruneAllFavoritedThreads: boolean;
|
|
1257
1269
|
}
|
|
1258
1270
|
/**
|
|
1259
1271
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.AudioContextSetting
|
|
@@ -3934,7 +3934,10 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
|
|
|
3934
3934
|
{ no: 1, name: "favorite_channels", kind: "map", K: 6 /*ScalarType.FIXED64*/, V: { kind: "message", T: () => exports.PreloadedUserSettings_FavoriteChannel } },
|
|
3935
3935
|
{ no: 2, name: "muted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3936
3936
|
{ no: 3, name: "guild_visible", kind: "message", T: () => wrappers_5.BoolValue },
|
|
3937
|
-
{ no: 4, name: "auto_add_joined_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3937
|
+
{ no: 4, name: "auto_add_joined_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3938
|
+
{ no: 5, name: "prune_inactive_threads", kind: "message", T: () => wrappers_5.BoolValue },
|
|
3939
|
+
{ no: 6, name: "prune_inactive_threads_days", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3940
|
+
{ no: 7, name: "prune_all_favorited_threads", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3938
3941
|
]);
|
|
3939
3942
|
}
|
|
3940
3943
|
create(value) {
|
|
@@ -3942,6 +3945,8 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
|
|
|
3942
3945
|
message.favoriteChannels = {};
|
|
3943
3946
|
message.muted = false;
|
|
3944
3947
|
message.autoAddJoinedThreads = false;
|
|
3948
|
+
message.pruneInactiveThreadsDays = 0;
|
|
3949
|
+
message.pruneAllFavoritedThreads = false;
|
|
3945
3950
|
if (value !== undefined)
|
|
3946
3951
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3947
3952
|
return message;
|
|
@@ -3963,6 +3968,15 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
|
|
|
3963
3968
|
case /* bool auto_add_joined_threads */ 4:
|
|
3964
3969
|
message.autoAddJoinedThreads = reader.bool();
|
|
3965
3970
|
break;
|
|
3971
|
+
case /* optional google.protobuf.BoolValue prune_inactive_threads */ 5:
|
|
3972
|
+
message.pruneInactiveThreads = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.pruneInactiveThreads);
|
|
3973
|
+
break;
|
|
3974
|
+
case /* uint32 prune_inactive_threads_days */ 6:
|
|
3975
|
+
message.pruneInactiveThreadsDays = reader.uint32();
|
|
3976
|
+
break;
|
|
3977
|
+
case /* bool prune_all_favorited_threads */ 7:
|
|
3978
|
+
message.pruneAllFavoritedThreads = reader.bool();
|
|
3979
|
+
break;
|
|
3966
3980
|
default:
|
|
3967
3981
|
let u = options.readUnknownField;
|
|
3968
3982
|
if (u === "throw")
|
|
@@ -4007,6 +4021,15 @@ class PreloadedUserSettings_Favorites$Type extends runtime_4.MessageType {
|
|
|
4007
4021
|
/* bool auto_add_joined_threads = 4; */
|
|
4008
4022
|
if (message.autoAddJoinedThreads !== false)
|
|
4009
4023
|
writer.tag(4, runtime_1.WireType.Varint).bool(message.autoAddJoinedThreads);
|
|
4024
|
+
/* optional google.protobuf.BoolValue prune_inactive_threads = 5; */
|
|
4025
|
+
if (message.pruneInactiveThreads)
|
|
4026
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.pruneInactiveThreads, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
4027
|
+
/* uint32 prune_inactive_threads_days = 6; */
|
|
4028
|
+
if (message.pruneInactiveThreadsDays !== 0)
|
|
4029
|
+
writer.tag(6, runtime_1.WireType.Varint).uint32(message.pruneInactiveThreadsDays);
|
|
4030
|
+
/* bool prune_all_favorited_threads = 7; */
|
|
4031
|
+
if (message.pruneAllFavoritedThreads !== false)
|
|
4032
|
+
writer.tag(7, runtime_1.WireType.Varint).bool(message.pruneAllFavoritedThreads);
|
|
4010
4033
|
let u = options.writeUnknownFields;
|
|
4011
4034
|
if (u !== false)
|
|
4012
4035
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -615,6 +615,10 @@ export interface PremiumMarketingComponentProperties_GiftIcon {
|
|
|
615
615
|
* @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4
|
|
616
616
|
*/
|
|
617
617
|
gradient?: PremiumMarketingComponentProperties_Gradient;
|
|
618
|
+
/**
|
|
619
|
+
* @generated from protobuf field: string trinket_rive_animation_url = 5
|
|
620
|
+
*/
|
|
621
|
+
trinketRiveAnimationUrl: string;
|
|
618
622
|
}
|
|
619
623
|
/**
|
|
620
624
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ThemeAwareAsset
|
|
@@ -3606,7 +3610,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3606
3610
|
/**
|
|
3607
3611
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET = 878;
|
|
3608
3612
|
*/
|
|
3609
|
-
CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET = 878
|
|
3613
|
+
CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET = 878,
|
|
3614
|
+
/**
|
|
3615
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL = 879;
|
|
3616
|
+
*/
|
|
3617
|
+
BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL = 879
|
|
3610
3618
|
}
|
|
3611
3619
|
/**
|
|
3612
3620
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2179,6 +2179,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2179
2179
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET = 878;
|
|
2180
2180
|
*/
|
|
2181
2181
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET"] = 878] = "CUSTOM_TYPING_INDICATOR_MOBILE_NEW_PRESETS_ACTION_SHEET";
|
|
2182
|
+
/**
|
|
2183
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL = 879;
|
|
2184
|
+
*/
|
|
2185
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL"] = 879] = "BLOONS_TD_BATTLES_ACCOUNT_LINK_UPSELL";
|
|
2182
2186
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2183
2187
|
/**
|
|
2184
2188
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -3800,7 +3804,8 @@ class PremiumMarketingComponentProperties_GiftIcon$Type extends runtime_4.Messag
|
|
|
3800
3804
|
{ no: 1, name: "box_animation_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3801
3805
|
{ no: 2, name: "trinket_animation_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3802
3806
|
{ no: 3, name: "trinket_glow_animation_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3803
|
-
{ no: 4, name: "gradient", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Gradient }
|
|
3807
|
+
{ no: 4, name: "gradient", kind: "message", T: () => exports.PremiumMarketingComponentProperties_Gradient },
|
|
3808
|
+
{ no: 5, name: "trinket_rive_animation_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3804
3809
|
]);
|
|
3805
3810
|
}
|
|
3806
3811
|
create(value) {
|
|
@@ -3808,6 +3813,7 @@ class PremiumMarketingComponentProperties_GiftIcon$Type extends runtime_4.Messag
|
|
|
3808
3813
|
message.boxAnimationUrl = "";
|
|
3809
3814
|
message.trinketAnimationUrl = "";
|
|
3810
3815
|
message.trinketGlowAnimationUrl = "";
|
|
3816
|
+
message.trinketRiveAnimationUrl = "";
|
|
3811
3817
|
if (value !== undefined)
|
|
3812
3818
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3813
3819
|
return message;
|
|
@@ -3829,6 +3835,9 @@ class PremiumMarketingComponentProperties_GiftIcon$Type extends runtime_4.Messag
|
|
|
3829
3835
|
case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient */ 4:
|
|
3830
3836
|
message.gradient = exports.PremiumMarketingComponentProperties_Gradient.internalBinaryRead(reader, reader.uint32(), options, message.gradient);
|
|
3831
3837
|
break;
|
|
3838
|
+
case /* string trinket_rive_animation_url */ 5:
|
|
3839
|
+
message.trinketRiveAnimationUrl = reader.string();
|
|
3840
|
+
break;
|
|
3832
3841
|
default:
|
|
3833
3842
|
let u = options.readUnknownField;
|
|
3834
3843
|
if (u === "throw")
|
|
@@ -3853,6 +3862,9 @@ class PremiumMarketingComponentProperties_GiftIcon$Type extends runtime_4.Messag
|
|
|
3853
3862
|
/* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Gradient gradient = 4; */
|
|
3854
3863
|
if (message.gradient)
|
|
3855
3864
|
exports.PremiumMarketingComponentProperties_Gradient.internalBinaryWrite(message.gradient, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3865
|
+
/* string trinket_rive_animation_url = 5; */
|
|
3866
|
+
if (message.trinketRiveAnimationUrl !== "")
|
|
3867
|
+
writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.trinketRiveAnimationUrl);
|
|
3856
3868
|
let u = options.writeUnknownFields;
|
|
3857
3869
|
if (u !== false)
|
|
3858
3870
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|