discord-protos 1.2.363 → 1.2.365
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_users/v1/PreloadedUserSettings.proto +1 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +1 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +4 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +8 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +5 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +4 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -277,6 +277,7 @@ message PreloadedUserSettings {
|
|
|
277
277
|
optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23;
|
|
278
278
|
optional google.protobuf.BoolValue notify_friends_on_profile_update = 24;
|
|
279
279
|
optional google.protobuf.BoolValue notify_friends_on_come_online = 25;
|
|
280
|
+
optional google.protobuf.BoolValue notify_server_members_on_go_live = 26;
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
enum GuildActivityStatusRestrictionDefault {
|
|
@@ -617,6 +617,7 @@ message PremiumMarketingComponentProperties {
|
|
|
617
617
|
DISMISSIBLE_CONTENT_DISPLAY_NAME_STYLES_TRY_COACHMARK = 840;
|
|
618
618
|
DISMISSIBLE_CONTENT_YOUTUBE_3P_NAGBAR_NOTICE = 841;
|
|
619
619
|
DISMISSIBLE_CONTENT_REFERRAL_REFRESH_NOTIFICATION_POPOVER = 842;
|
|
620
|
+
DISMISSIBLE_CONTENT_CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED = 843;
|
|
620
621
|
}
|
|
621
622
|
|
|
622
623
|
message MobileBottomSheet {
|
|
@@ -827,6 +827,10 @@ export interface PreloadedUserSettings_NotificationSettings {
|
|
|
827
827
|
* @generated from protobuf field: optional google.protobuf.BoolValue notify_friends_on_come_online = 25
|
|
828
828
|
*/
|
|
829
829
|
notifyFriendsOnComeOnline?: BoolValue;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue notify_server_members_on_go_live = 26
|
|
832
|
+
*/
|
|
833
|
+
notifyServerMembersOnGoLive?: BoolValue;
|
|
830
834
|
}
|
|
831
835
|
/**
|
|
832
836
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2562,7 +2562,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2562
2562
|
{ no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2563
2563
|
{ no: 23, name: "enable_screen_downtime_schedule_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2564
2564
|
{ no: 24, name: "notify_friends_on_profile_update", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2565
|
-
{ no: 25, name: "notify_friends_on_come_online", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2565
|
+
{ no: 25, name: "notify_friends_on_come_online", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2566
|
+
{ no: 26, name: "notify_server_members_on_go_live", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2566
2567
|
]);
|
|
2567
2568
|
}
|
|
2568
2569
|
create(value) {
|
|
@@ -2656,6 +2657,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2656
2657
|
case /* optional google.protobuf.BoolValue notify_friends_on_come_online */ 25:
|
|
2657
2658
|
message.notifyFriendsOnComeOnline = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.notifyFriendsOnComeOnline);
|
|
2658
2659
|
break;
|
|
2660
|
+
case /* optional google.protobuf.BoolValue notify_server_members_on_go_live */ 26:
|
|
2661
|
+
message.notifyServerMembersOnGoLive = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.notifyServerMembersOnGoLive);
|
|
2662
|
+
break;
|
|
2659
2663
|
default:
|
|
2660
2664
|
let u = options.readUnknownField;
|
|
2661
2665
|
if (u === "throw")
|
|
@@ -2743,6 +2747,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2743
2747
|
/* optional google.protobuf.BoolValue notify_friends_on_come_online = 25; */
|
|
2744
2748
|
if (message.notifyFriendsOnComeOnline)
|
|
2745
2749
|
wrappers_5.BoolValue.internalBinaryWrite(message.notifyFriendsOnComeOnline, writer.tag(25, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2750
|
+
/* optional google.protobuf.BoolValue notify_server_members_on_go_live = 26; */
|
|
2751
|
+
if (message.notifyServerMembersOnGoLive)
|
|
2752
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.notifyServerMembersOnGoLive, writer.tag(26, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2746
2753
|
let u = options.writeUnknownFields;
|
|
2747
2754
|
if (u !== false)
|
|
2748
2755
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3229,7 +3229,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3229
3229
|
/**
|
|
3230
3230
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_REFRESH_NOTIFICATION_POPOVER = 842;
|
|
3231
3231
|
*/
|
|
3232
|
-
REFERRAL_REFRESH_NOTIFICATION_POPOVER = 842
|
|
3232
|
+
REFERRAL_REFRESH_NOTIFICATION_POPOVER = 842,
|
|
3233
|
+
/**
|
|
3234
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED = 843;
|
|
3235
|
+
*/
|
|
3236
|
+
CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED = 843
|
|
3233
3237
|
}
|
|
3234
3238
|
/**
|
|
3235
3239
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2043,6 +2043,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2043
2043
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_REFERRAL_REFRESH_NOTIFICATION_POPOVER = 842;
|
|
2044
2044
|
*/
|
|
2045
2045
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["REFERRAL_REFRESH_NOTIFICATION_POPOVER"] = 842] = "REFERRAL_REFRESH_NOTIFICATION_POPOVER";
|
|
2046
|
+
/**
|
|
2047
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED = 843;
|
|
2048
|
+
*/
|
|
2049
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED"] = 843] = "CONTEXTUAL_REFERRAL_GDM_MEMBER_LIST_EMBED";
|
|
2046
2050
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2047
2051
|
/**
|
|
2048
2052
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
package/dist/index.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ declare module "@protobuf-ts/runtime" {
|
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
export * from "./discord_protos/discord_users/v1/PreloadedUserSettings";
|
|
8
|
-
export * from "./discord_protos/discord_experimentation/v1/Experiment";
|
|
9
|
-
export * from "./discord_protos/discord_experimentation/v1/Bucket/AllocationAssignmentMode";
|
|
10
|
-
export * from "./discord_protos/discord_experimentation/v1/Bucket/AllocationExposureMode";
|
|
11
8
|
export * from "./discord_protos/users/v1/User";
|
|
12
9
|
export * from "./discord_protos/users/v1/MediumUser";
|
|
13
10
|
export * from "./discord_protos/users/v1/UserData";
|
|
14
11
|
export * from "./discord_protos/users/v1/GuildShardingConfig";
|
|
15
12
|
export * from "./discord_protos/users/v1/AgreementsHistory";
|
|
16
13
|
export * from "./discord_protos/discord_users/v1/FrecencyUserSettings";
|
|
14
|
+
export * from "./discord_protos/discord_experimentation/v1/Experiment";
|
|
15
|
+
export * from "./discord_protos/discord_experimentation/v1/Bucket/AllocationAssignmentMode";
|
|
16
|
+
export * from "./discord_protos/discord_experimentation/v1/Bucket/AllocationExposureMode";
|
|
17
17
|
export * from "./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection";
|
|
18
18
|
export * from "./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures";
|
|
19
19
|
export * from "./discord_protos/qos_token/v1/QosToken";
|
package/dist/index.js
CHANGED
|
@@ -52,15 +52,15 @@ function fromBase64(base64) {
|
|
|
52
52
|
runtime_1.MessageType.prototype.fromBase64 = fromBase64;
|
|
53
53
|
runtime_1.MessageType.prototype.toBase64 = toBase64;
|
|
54
54
|
__exportStar(require("./discord_protos/discord_users/v1/PreloadedUserSettings"), exports);
|
|
55
|
-
__exportStar(require("./discord_protos/discord_experimentation/v1/Experiment"), exports);
|
|
56
|
-
__exportStar(require("./discord_protos/discord_experimentation/v1/Bucket/AllocationAssignmentMode"), exports);
|
|
57
|
-
__exportStar(require("./discord_protos/discord_experimentation/v1/Bucket/AllocationExposureMode"), exports);
|
|
58
55
|
__exportStar(require("./discord_protos/users/v1/User"), exports);
|
|
59
56
|
__exportStar(require("./discord_protos/users/v1/MediumUser"), exports);
|
|
60
57
|
__exportStar(require("./discord_protos/users/v1/UserData"), exports);
|
|
61
58
|
__exportStar(require("./discord_protos/users/v1/GuildShardingConfig"), exports);
|
|
62
59
|
__exportStar(require("./discord_protos/users/v1/AgreementsHistory"), exports);
|
|
63
60
|
__exportStar(require("./discord_protos/discord_users/v1/FrecencyUserSettings"), exports);
|
|
61
|
+
__exportStar(require("./discord_protos/discord_experimentation/v1/Experiment"), exports);
|
|
62
|
+
__exportStar(require("./discord_protos/discord_experimentation/v1/Bucket/AllocationAssignmentMode"), exports);
|
|
63
|
+
__exportStar(require("./discord_protos/discord_experimentation/v1/Bucket/AllocationExposureMode"), exports);
|
|
64
64
|
__exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection"), exports);
|
|
65
65
|
__exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures"), exports);
|
|
66
66
|
__exportStar(require("./discord_protos/qos_token/v1/QosToken"), exports);
|