discord-protos 1.2.45 → 1.2.47
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/__init__.py +4 -2
- package/discord_protos/discord_experimentation/v1/Experiment.proto +255 -0
- package/discord_protos/discord_experimentation/v1/Experiment_pb2.py +124 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +1084 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +2311 -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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
|
@@ -669,6 +669,10 @@ export interface PreloadedUserSettings_NotificationSettings {
|
|
|
669
669
|
* @generated from protobuf field: optional google.protobuf.BoolValue game_activity_exclude_steam_notifications = 10
|
|
670
670
|
*/
|
|
671
671
|
gameActivityExcludeSteamNotifications?: BoolValue;
|
|
672
|
+
/**
|
|
673
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue enable_voice_activity_notifications = 11
|
|
674
|
+
*/
|
|
675
|
+
enableVoiceActivityNotifications?: BoolValue;
|
|
672
676
|
}
|
|
673
677
|
/**
|
|
674
678
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2201,7 +2201,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2201
2201
|
{ no: 7, name: "reaction_notifications", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ReactionNotificationType", PreloadedUserSettings_ReactionNotificationType, "REACTION_NOTIFICATION_TYPE_"] },
|
|
2202
2202
|
{ no: 8, name: "game_activity_notifications", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.GameActivityNotificationType", PreloadedUserSettings_GameActivityNotificationType, "GAME_ACTIVITY_NOTIFICATION_TYPE_"] },
|
|
2203
2203
|
{ no: 9, name: "custom_status_push_notifications", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.CustomStatusPushNotificationType", PreloadedUserSettings_CustomStatusPushNotificationType, "CUSTOM_STATUS_PUSH_NOTIFICATION_TYPE_"] },
|
|
2204
|
-
{ no: 10, name: "game_activity_exclude_steam_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2204
|
+
{ no: 10, name: "game_activity_exclude_steam_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2205
|
+
{ no: 11, name: "enable_voice_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2205
2206
|
]);
|
|
2206
2207
|
}
|
|
2207
2208
|
create(value) {
|
|
@@ -2250,6 +2251,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2250
2251
|
case /* optional google.protobuf.BoolValue game_activity_exclude_steam_notifications */ 10:
|
|
2251
2252
|
message.gameActivityExcludeSteamNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.gameActivityExcludeSteamNotifications);
|
|
2252
2253
|
break;
|
|
2254
|
+
case /* optional google.protobuf.BoolValue enable_voice_activity_notifications */ 11:
|
|
2255
|
+
message.enableVoiceActivityNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableVoiceActivityNotifications);
|
|
2256
|
+
break;
|
|
2253
2257
|
default:
|
|
2254
2258
|
let u = options.readUnknownField;
|
|
2255
2259
|
if (u === "throw")
|
|
@@ -2292,6 +2296,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2292
2296
|
/* optional google.protobuf.BoolValue game_activity_exclude_steam_notifications = 10; */
|
|
2293
2297
|
if (message.gameActivityExcludeSteamNotifications)
|
|
2294
2298
|
wrappers_5.BoolValue.internalBinaryWrite(message.gameActivityExcludeSteamNotifications, writer.tag(10, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2299
|
+
/* optional google.protobuf.BoolValue enable_voice_activity_notifications = 11; */
|
|
2300
|
+
if (message.enableVoiceActivityNotifications)
|
|
2301
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.enableVoiceActivityNotifications, writer.tag(11, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2295
2302
|
let u = options.writeUnknownFields;
|
|
2296
2303
|
if (u !== false)
|
|
2297
2304
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
package/dist/index.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export * from "./discord_protos/discord_users/v1/PreloadedUserSettings";
|
|
|
8
8
|
export * from "./discord_protos/discord_users/v1/FrecencyUserSettings";
|
|
9
9
|
export * from "./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection";
|
|
10
10
|
export * from "./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures";
|
|
11
|
+
export * from "./discord_protos/discord_experimentation/v1/Experiment";
|
|
11
12
|
export * from "./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties";
|
package/dist/index.js
CHANGED
|
@@ -54,4 +54,5 @@ __exportStar(require("./discord_protos/discord_users/v1/PreloadedUserSettings"),
|
|
|
54
54
|
__exportStar(require("./discord_protos/discord_users/v1/FrecencyUserSettings"), exports);
|
|
55
55
|
__exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection"), exports);
|
|
56
56
|
__exportStar(require("./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures"), exports);
|
|
57
|
+
__exportStar(require("./discord_protos/discord_experimentation/v1/Experiment"), exports);
|
|
57
58
|
__exportStar(require("./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "discord-protos",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.47",
|
|
4
4
|
"description": "A parser for Discord's protobufs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"scripts": {
|
|
24
|
-
"py": "protoc --proto_path=./discord_protos/ --python_out=discord_protos ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
|
|
25
|
-
"js": "protoc --proto_path=./discord_protos/ --ts_out src/discord_protos ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
|
|
24
|
+
"py": "protoc --proto_path=./discord_protos/ --python_out=discord_protos ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
|
|
25
|
+
"js": "protoc --proto_path=./discord_protos/ --ts_out src/discord_protos ./discord_protos/discord_users/v1/PreloadedUserSettings.proto ./discord_protos/discord_users/v1/FrecencyUserSettings.proto ./discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto ./discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto ./discord_protos/discord_experimentation/v1/Experiment.proto ./discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto",
|
|
26
26
|
"build": "tsc",
|
|
27
27
|
"load": "npm run build && node dist/load.js"
|
|
28
28
|
},
|