discord-protos 1.2.303 → 1.2.305
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_notifications/v1/UserNotificationSettings.proto +66 -0
- package/discord_protos/users/v1/User.proto +13 -0
- package/discord_protos/users/v1/UserData.proto +13 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +5 -1
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +4 -0
- package/dist/discord_protos/discord_notifications/v1/UserNotificationSettings.d.ts +285 -0
- package/dist/discord_protos/discord_notifications/v1/UserNotificationSettings.js +680 -0
- package/dist/discord_protos/users/v1/User.d.ts +52 -0
- package/dist/discord_protos/users/v1/User.js +52 -0
- package/dist/discord_protos/users/v1/UserData.d.ts +52 -0
- package/dist/discord_protos/users/v1/UserData.js +52 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "google/protobuf/wrappers.proto";
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/timestamp.proto";
|
|
6
|
+
|
|
7
|
+
package discord_protos.discord_notifications.v1;
|
|
8
|
+
|
|
9
|
+
message UserNotificationSettings {
|
|
10
|
+
message EmailNotificationSettings {
|
|
11
|
+
map<string, bool> categories = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message MuteNotificationSettings {
|
|
15
|
+
optional google.protobuf.Timestamp end_time = 1;
|
|
16
|
+
optional google.protobuf.Int32Value selected_time_window = 2;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message ChannelNotificationSettings {
|
|
20
|
+
fixed64 channel_id = 1;
|
|
21
|
+
uint32 message_notifications = 7;
|
|
22
|
+
optional MuteNotificationSettings mute = 3;
|
|
23
|
+
bool collapsed = 4;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message GuildNotificationSettings {
|
|
27
|
+
bool suppress_everyone = 1;
|
|
28
|
+
uint32 message_notifications = 2;
|
|
29
|
+
bool mobile_push = 3;
|
|
30
|
+
optional MuteNotificationSettings mute = 4;
|
|
31
|
+
repeated ChannelNotificationSettings channel_overrides = 5;
|
|
32
|
+
bool suppress_roles = 6;
|
|
33
|
+
uint32 version = 7;
|
|
34
|
+
bool hide_muted_channels = 8;
|
|
35
|
+
bool mute_scheduled_events = 9;
|
|
36
|
+
uint32 notify_highlights = 10;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message Versions {
|
|
40
|
+
uint32 client_version = 1;
|
|
41
|
+
uint32 server_version = 2;
|
|
42
|
+
uint32 data_version = 3;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message DeclarativeNotifSetting {
|
|
46
|
+
bool toggle = 1;
|
|
47
|
+
uint32 radio = 2;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message DeclarativeSettings {
|
|
51
|
+
optional Versions versions = 1;
|
|
52
|
+
map<uint32, DeclarativeNotifSetting> values = 2;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message UserNotificationSettingsData {
|
|
56
|
+
map<fixed64, bool> muted_games = 1;
|
|
57
|
+
optional DeclarativeSettings declarative_settings = 2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
fixed64 user_id = 1;
|
|
61
|
+
optional EmailNotificationSettings email_settings = 2;
|
|
62
|
+
optional google.protobuf.UInt64Value flags = 6;
|
|
63
|
+
map<fixed64, GuildNotificationSettings> guilds = 4;
|
|
64
|
+
uint32 version = 5;
|
|
65
|
+
optional UserNotificationSettingsData data = 7;
|
|
66
|
+
}
|
|
@@ -459,6 +459,19 @@ message User {
|
|
|
459
459
|
CLASSIFICATION_TYPE_SPAM_CEILING_ADMIN = 5940;
|
|
460
460
|
CLASSIFICATION_TYPE_QUEST_REWARD_ABUSE_ADMIN = 5950;
|
|
461
461
|
CLASSIFICATION_TYPE_QUEST_REWARD_ABUSE_POST_WARNING_ADMIN = 5980;
|
|
462
|
+
CLASSIFICATION_TYPE_BOT_DELETE_IMPERSONATION_ADMIN = 5990;
|
|
463
|
+
CLASSIFICATION_TYPE_BOT_DELETE_UNSOLICITED_ACCOUNT_CHANGES_ADMIN = 6000;
|
|
464
|
+
CLASSIFICATION_TYPE_BOT_DELETE_TOKEN_SOLICITATION_ADMIN = 6010;
|
|
465
|
+
CLASSIFICATION_TYPE_BOT_DELETE_PLATFORM_BAN_EVASION_ADMIN = 6020;
|
|
466
|
+
CLASSIFICATION_TYPE_BOT_DELETE_CUSTOM_ADMIN = 6030;
|
|
467
|
+
CLASSIFICATION_TYPE_BOT_DELETE_CSAM_ADMIN = 6040;
|
|
468
|
+
CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_ADMIN = 6050;
|
|
469
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_ADMIN = 6060;
|
|
470
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_ADMIN = 6070;
|
|
471
|
+
CLASSIFICATION_TYPE_APP_GROWTH_HALT_SINGLE_SPAM_ADMIN = 6080;
|
|
472
|
+
CLASSIFICATION_TYPE_APP_GROWTH_HALT_SINGLE_4PA_ADMIN = 6090;
|
|
473
|
+
CLASSIFICATION_TYPE_BAD_BOT_QUARANTINE_SINGLE_ADMIN = 6100;
|
|
474
|
+
CLASSIFICATION_TYPE_BAD_BOT_QUARANTINE_PROPAGATE_ADMIN = 6110;
|
|
462
475
|
CLASSIFICATION_TYPE_HIGH_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7005;
|
|
463
476
|
CLASSIFICATION_TYPE_MEDIUM_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7015;
|
|
464
477
|
CLASSIFICATION_TYPE_LOW_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7025;
|
|
@@ -497,6 +497,19 @@ message UserData {
|
|
|
497
497
|
CLASSIFICATION_TYPE_SPAM_CEILING_ADMIN = 5940;
|
|
498
498
|
CLASSIFICATION_TYPE_QUEST_REWARD_ABUSE_ADMIN = 5950;
|
|
499
499
|
CLASSIFICATION_TYPE_QUEST_REWARD_ABUSE_POST_WARNING_ADMIN = 5980;
|
|
500
|
+
CLASSIFICATION_TYPE_BOT_DELETE_IMPERSONATION_ADMIN = 5990;
|
|
501
|
+
CLASSIFICATION_TYPE_BOT_DELETE_UNSOLICITED_ACCOUNT_CHANGES_ADMIN = 6000;
|
|
502
|
+
CLASSIFICATION_TYPE_BOT_DELETE_TOKEN_SOLICITATION_ADMIN = 6010;
|
|
503
|
+
CLASSIFICATION_TYPE_BOT_DELETE_PLATFORM_BAN_EVASION_ADMIN = 6020;
|
|
504
|
+
CLASSIFICATION_TYPE_BOT_DELETE_CUSTOM_ADMIN = 6030;
|
|
505
|
+
CLASSIFICATION_TYPE_BOT_DELETE_CSAM_ADMIN = 6040;
|
|
506
|
+
CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_ADMIN = 6050;
|
|
507
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_ADMIN = 6060;
|
|
508
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_ADMIN = 6070;
|
|
509
|
+
CLASSIFICATION_TYPE_APP_GROWTH_HALT_SINGLE_SPAM_ADMIN = 6080;
|
|
510
|
+
CLASSIFICATION_TYPE_APP_GROWTH_HALT_SINGLE_4PA_ADMIN = 6090;
|
|
511
|
+
CLASSIFICATION_TYPE_BAD_BOT_QUARANTINE_SINGLE_ADMIN = 6100;
|
|
512
|
+
CLASSIFICATION_TYPE_BAD_BOT_QUARANTINE_PROPAGATE_ADMIN = 6110;
|
|
500
513
|
CLASSIFICATION_TYPE_HIGH_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7005;
|
|
501
514
|
CLASSIFICATION_TYPE_MEDIUM_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7015;
|
|
502
515
|
CLASSIFICATION_TYPE_LOW_RISK_DANGEROUS_AND_REGULATED_GOODS_GUILD_RETOOL = 7025;
|
|
@@ -1118,7 +1118,11 @@ export declare enum Experiment_Phase {
|
|
|
1118
1118
|
/**
|
|
1119
1119
|
* @generated from protobuf enum value: PHASE_AA_MODE = 7;
|
|
1120
1120
|
*/
|
|
1121
|
-
AA_MODE = 7
|
|
1121
|
+
AA_MODE = 7,
|
|
1122
|
+
/**
|
|
1123
|
+
* @generated from protobuf enum value: PHASE_PAUSED = 8;
|
|
1124
|
+
*/
|
|
1125
|
+
PAUSED = 8
|
|
1122
1126
|
}
|
|
1123
1127
|
/**
|
|
1124
1128
|
* @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Surface
|
|
@@ -106,6 +106,10 @@ var Experiment_Phase;
|
|
|
106
106
|
* @generated from protobuf enum value: PHASE_AA_MODE = 7;
|
|
107
107
|
*/
|
|
108
108
|
Experiment_Phase[Experiment_Phase["AA_MODE"] = 7] = "AA_MODE";
|
|
109
|
+
/**
|
|
110
|
+
* @generated from protobuf enum value: PHASE_PAUSED = 8;
|
|
111
|
+
*/
|
|
112
|
+
Experiment_Phase[Experiment_Phase["PAUSED"] = 8] = "PAUSED";
|
|
109
113
|
})(Experiment_Phase || (exports.Experiment_Phase = Experiment_Phase = {}));
|
|
110
114
|
/**
|
|
111
115
|
* @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Surface
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { Int32Value } from "../../google/protobuf/wrappers";
|
|
8
|
+
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
9
|
+
import { UInt64Value } from "../../google/protobuf/wrappers";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings
|
|
12
|
+
*/
|
|
13
|
+
export interface UserNotificationSettings {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf field: fixed64 user_id = 1
|
|
16
|
+
*/
|
|
17
|
+
userId: bigint;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.EmailNotificationSettings email_settings = 2
|
|
20
|
+
*/
|
|
21
|
+
emailSettings?: UserNotificationSettings_EmailNotificationSettings;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: optional google.protobuf.UInt64Value flags = 6
|
|
24
|
+
*/
|
|
25
|
+
flags?: UInt64Value;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf field: map<fixed64, discord_protos.discord_notifications.v1.UserNotificationSettings.GuildNotificationSettings> guilds = 4
|
|
28
|
+
*/
|
|
29
|
+
guilds: {
|
|
30
|
+
[key: string]: UserNotificationSettings_GuildNotificationSettings;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @generated from protobuf field: uint32 version = 5
|
|
34
|
+
*/
|
|
35
|
+
version: number;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.UserNotificationSettingsData data = 7
|
|
38
|
+
*/
|
|
39
|
+
data?: UserNotificationSettings_UserNotificationSettingsData;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.EmailNotificationSettings
|
|
43
|
+
*/
|
|
44
|
+
export interface UserNotificationSettings_EmailNotificationSettings {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf field: map<string, bool> categories = 1
|
|
47
|
+
*/
|
|
48
|
+
categories: {
|
|
49
|
+
[key: string]: boolean;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.MuteNotificationSettings
|
|
54
|
+
*/
|
|
55
|
+
export interface UserNotificationSettings_MuteNotificationSettings {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: optional google.protobuf.Timestamp end_time = 1
|
|
58
|
+
*/
|
|
59
|
+
endTime?: Timestamp;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: optional google.protobuf.Int32Value selected_time_window = 2
|
|
62
|
+
*/
|
|
63
|
+
selectedTimeWindow?: Int32Value;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.ChannelNotificationSettings
|
|
67
|
+
*/
|
|
68
|
+
export interface UserNotificationSettings_ChannelNotificationSettings {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf field: fixed64 channel_id = 1
|
|
71
|
+
*/
|
|
72
|
+
channelId: bigint;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf field: uint32 message_notifications = 7
|
|
75
|
+
*/
|
|
76
|
+
messageNotifications: number;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.MuteNotificationSettings mute = 3
|
|
79
|
+
*/
|
|
80
|
+
mute?: UserNotificationSettings_MuteNotificationSettings;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from protobuf field: bool collapsed = 4
|
|
83
|
+
*/
|
|
84
|
+
collapsed: boolean;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.GuildNotificationSettings
|
|
88
|
+
*/
|
|
89
|
+
export interface UserNotificationSettings_GuildNotificationSettings {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from protobuf field: bool suppress_everyone = 1
|
|
92
|
+
*/
|
|
93
|
+
suppressEveryone: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from protobuf field: uint32 message_notifications = 2
|
|
96
|
+
*/
|
|
97
|
+
messageNotifications: number;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from protobuf field: bool mobile_push = 3
|
|
100
|
+
*/
|
|
101
|
+
mobilePush: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.MuteNotificationSettings mute = 4
|
|
104
|
+
*/
|
|
105
|
+
mute?: UserNotificationSettings_MuteNotificationSettings;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf field: repeated discord_protos.discord_notifications.v1.UserNotificationSettings.ChannelNotificationSettings channel_overrides = 5
|
|
108
|
+
*/
|
|
109
|
+
channelOverrides: UserNotificationSettings_ChannelNotificationSettings[];
|
|
110
|
+
/**
|
|
111
|
+
* @generated from protobuf field: bool suppress_roles = 6
|
|
112
|
+
*/
|
|
113
|
+
suppressRoles: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from protobuf field: uint32 version = 7
|
|
116
|
+
*/
|
|
117
|
+
version: number;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from protobuf field: bool hide_muted_channels = 8
|
|
120
|
+
*/
|
|
121
|
+
hideMutedChannels: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from protobuf field: bool mute_scheduled_events = 9
|
|
124
|
+
*/
|
|
125
|
+
muteScheduledEvents: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from protobuf field: uint32 notify_highlights = 10
|
|
128
|
+
*/
|
|
129
|
+
notifyHighlights: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.Versions
|
|
133
|
+
*/
|
|
134
|
+
export interface UserNotificationSettings_Versions {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from protobuf field: uint32 client_version = 1
|
|
137
|
+
*/
|
|
138
|
+
clientVersion: number;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from protobuf field: uint32 server_version = 2
|
|
141
|
+
*/
|
|
142
|
+
serverVersion: number;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from protobuf field: uint32 data_version = 3
|
|
145
|
+
*/
|
|
146
|
+
dataVersion: number;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeNotifSetting
|
|
150
|
+
*/
|
|
151
|
+
export interface UserNotificationSettings_DeclarativeNotifSetting {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from protobuf field: bool toggle = 1
|
|
154
|
+
*/
|
|
155
|
+
toggle: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from protobuf field: uint32 radio = 2
|
|
158
|
+
*/
|
|
159
|
+
radio: number;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeSettings
|
|
163
|
+
*/
|
|
164
|
+
export interface UserNotificationSettings_DeclarativeSettings {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.Versions versions = 1
|
|
167
|
+
*/
|
|
168
|
+
versions?: UserNotificationSettings_Versions;
|
|
169
|
+
/**
|
|
170
|
+
* @generated from protobuf field: map<uint32, discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeNotifSetting> values = 2
|
|
171
|
+
*/
|
|
172
|
+
values: {
|
|
173
|
+
[key: number]: UserNotificationSettings_DeclarativeNotifSetting;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* @generated from protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.UserNotificationSettingsData
|
|
178
|
+
*/
|
|
179
|
+
export interface UserNotificationSettings_UserNotificationSettingsData {
|
|
180
|
+
/**
|
|
181
|
+
* @generated from protobuf field: map<fixed64, bool> muted_games = 1
|
|
182
|
+
*/
|
|
183
|
+
mutedGames: {
|
|
184
|
+
[key: string]: boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* @generated from protobuf field: optional discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeSettings declarative_settings = 2
|
|
188
|
+
*/
|
|
189
|
+
declarativeSettings?: UserNotificationSettings_DeclarativeSettings;
|
|
190
|
+
}
|
|
191
|
+
declare class UserNotificationSettings$Type extends MessageType<UserNotificationSettings> {
|
|
192
|
+
constructor();
|
|
193
|
+
create(value?: PartialMessage<UserNotificationSettings>): UserNotificationSettings;
|
|
194
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings): UserNotificationSettings;
|
|
195
|
+
private binaryReadMap4;
|
|
196
|
+
internalBinaryWrite(message: UserNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings
|
|
200
|
+
*/
|
|
201
|
+
export declare const UserNotificationSettings: UserNotificationSettings$Type;
|
|
202
|
+
declare class UserNotificationSettings_EmailNotificationSettings$Type extends MessageType<UserNotificationSettings_EmailNotificationSettings> {
|
|
203
|
+
constructor();
|
|
204
|
+
create(value?: PartialMessage<UserNotificationSettings_EmailNotificationSettings>): UserNotificationSettings_EmailNotificationSettings;
|
|
205
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_EmailNotificationSettings): UserNotificationSettings_EmailNotificationSettings;
|
|
206
|
+
private binaryReadMap1;
|
|
207
|
+
internalBinaryWrite(message: UserNotificationSettings_EmailNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.EmailNotificationSettings
|
|
211
|
+
*/
|
|
212
|
+
export declare const UserNotificationSettings_EmailNotificationSettings: UserNotificationSettings_EmailNotificationSettings$Type;
|
|
213
|
+
declare class UserNotificationSettings_MuteNotificationSettings$Type extends MessageType<UserNotificationSettings_MuteNotificationSettings> {
|
|
214
|
+
constructor();
|
|
215
|
+
create(value?: PartialMessage<UserNotificationSettings_MuteNotificationSettings>): UserNotificationSettings_MuteNotificationSettings;
|
|
216
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_MuteNotificationSettings): UserNotificationSettings_MuteNotificationSettings;
|
|
217
|
+
internalBinaryWrite(message: UserNotificationSettings_MuteNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.MuteNotificationSettings
|
|
221
|
+
*/
|
|
222
|
+
export declare const UserNotificationSettings_MuteNotificationSettings: UserNotificationSettings_MuteNotificationSettings$Type;
|
|
223
|
+
declare class UserNotificationSettings_ChannelNotificationSettings$Type extends MessageType<UserNotificationSettings_ChannelNotificationSettings> {
|
|
224
|
+
constructor();
|
|
225
|
+
create(value?: PartialMessage<UserNotificationSettings_ChannelNotificationSettings>): UserNotificationSettings_ChannelNotificationSettings;
|
|
226
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_ChannelNotificationSettings): UserNotificationSettings_ChannelNotificationSettings;
|
|
227
|
+
internalBinaryWrite(message: UserNotificationSettings_ChannelNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.ChannelNotificationSettings
|
|
231
|
+
*/
|
|
232
|
+
export declare const UserNotificationSettings_ChannelNotificationSettings: UserNotificationSettings_ChannelNotificationSettings$Type;
|
|
233
|
+
declare class UserNotificationSettings_GuildNotificationSettings$Type extends MessageType<UserNotificationSettings_GuildNotificationSettings> {
|
|
234
|
+
constructor();
|
|
235
|
+
create(value?: PartialMessage<UserNotificationSettings_GuildNotificationSettings>): UserNotificationSettings_GuildNotificationSettings;
|
|
236
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_GuildNotificationSettings): UserNotificationSettings_GuildNotificationSettings;
|
|
237
|
+
internalBinaryWrite(message: UserNotificationSettings_GuildNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.GuildNotificationSettings
|
|
241
|
+
*/
|
|
242
|
+
export declare const UserNotificationSettings_GuildNotificationSettings: UserNotificationSettings_GuildNotificationSettings$Type;
|
|
243
|
+
declare class UserNotificationSettings_Versions$Type extends MessageType<UserNotificationSettings_Versions> {
|
|
244
|
+
constructor();
|
|
245
|
+
create(value?: PartialMessage<UserNotificationSettings_Versions>): UserNotificationSettings_Versions;
|
|
246
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_Versions): UserNotificationSettings_Versions;
|
|
247
|
+
internalBinaryWrite(message: UserNotificationSettings_Versions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.Versions
|
|
251
|
+
*/
|
|
252
|
+
export declare const UserNotificationSettings_Versions: UserNotificationSettings_Versions$Type;
|
|
253
|
+
declare class UserNotificationSettings_DeclarativeNotifSetting$Type extends MessageType<UserNotificationSettings_DeclarativeNotifSetting> {
|
|
254
|
+
constructor();
|
|
255
|
+
create(value?: PartialMessage<UserNotificationSettings_DeclarativeNotifSetting>): UserNotificationSettings_DeclarativeNotifSetting;
|
|
256
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_DeclarativeNotifSetting): UserNotificationSettings_DeclarativeNotifSetting;
|
|
257
|
+
internalBinaryWrite(message: UserNotificationSettings_DeclarativeNotifSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeNotifSetting
|
|
261
|
+
*/
|
|
262
|
+
export declare const UserNotificationSettings_DeclarativeNotifSetting: UserNotificationSettings_DeclarativeNotifSetting$Type;
|
|
263
|
+
declare class UserNotificationSettings_DeclarativeSettings$Type extends MessageType<UserNotificationSettings_DeclarativeSettings> {
|
|
264
|
+
constructor();
|
|
265
|
+
create(value?: PartialMessage<UserNotificationSettings_DeclarativeSettings>): UserNotificationSettings_DeclarativeSettings;
|
|
266
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_DeclarativeSettings): UserNotificationSettings_DeclarativeSettings;
|
|
267
|
+
private binaryReadMap2;
|
|
268
|
+
internalBinaryWrite(message: UserNotificationSettings_DeclarativeSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.DeclarativeSettings
|
|
272
|
+
*/
|
|
273
|
+
export declare const UserNotificationSettings_DeclarativeSettings: UserNotificationSettings_DeclarativeSettings$Type;
|
|
274
|
+
declare class UserNotificationSettings_UserNotificationSettingsData$Type extends MessageType<UserNotificationSettings_UserNotificationSettingsData> {
|
|
275
|
+
constructor();
|
|
276
|
+
create(value?: PartialMessage<UserNotificationSettings_UserNotificationSettingsData>): UserNotificationSettings_UserNotificationSettingsData;
|
|
277
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserNotificationSettings_UserNotificationSettingsData): UserNotificationSettings_UserNotificationSettingsData;
|
|
278
|
+
private binaryReadMap1;
|
|
279
|
+
internalBinaryWrite(message: UserNotificationSettings_UserNotificationSettingsData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* @generated MessageType for protobuf message discord_protos.discord_notifications.v1.UserNotificationSettings.UserNotificationSettingsData
|
|
283
|
+
*/
|
|
284
|
+
export declare const UserNotificationSettings_UserNotificationSettingsData: UserNotificationSettings_UserNotificationSettingsData$Type;
|
|
285
|
+
export {};
|