moons-ta-client 1.2.4 → 1.3.1
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/dist/constants.d.ts +3 -2
- package/dist/constants.js +2 -2
- package/dist/index.d.ts +1982 -680
- package/dist/index.esm.js +3719 -345
- package/dist/models/commands.d.ts +12 -12
- package/dist/models/commands.js +15 -15
- package/dist/models/discord.d.ts +6 -6
- package/dist/models/discord.js +9 -7
- package/dist/models/events.d.ts +37 -37
- package/dist/models/events.js +25 -31
- package/dist/models/google/protobuf/timestamp.d.ts +156 -0
- package/dist/models/google/protobuf/timestamp.js +132 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/models.d.ts +141 -128
- package/dist/models/models.js +171 -55
- package/dist/models/packets.d.ts +22 -15
- package/dist/models/packets.js +25 -11
- package/dist/models/pushes.d.ts +19 -19
- package/dist/models/pushes.js +15 -7
- package/dist/models/replay_stream.d.ts +1079 -0
- package/dist/models/replay_stream.js +2247 -0
- package/dist/models/requests.d.ts +250 -221
- package/dist/models/requests.js +312 -164
- package/dist/models/responses.d.ts +124 -91
- package/dist/models/responses.js +174 -80
- package/dist/tournament-assistant-client.d.ts +2 -1
- package/dist/tournament-assistant-client.js +17 -1
- package/package.json +1 -1
|
@@ -18,11 +18,11 @@ import { User } from './models.js';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface Response {
|
|
20
20
|
/**
|
|
21
|
-
* @generated from protobuf field: proto.packets.Response.ResponseType type = 1
|
|
21
|
+
* @generated from protobuf field: proto.packets.Response.ResponseType type = 1
|
|
22
22
|
*/
|
|
23
23
|
type: Response_ResponseType;
|
|
24
24
|
/**
|
|
25
|
-
* @generated from protobuf field: string responding_to_packet_id = 2
|
|
25
|
+
* @generated from protobuf field: string responding_to_packet_id = 2
|
|
26
26
|
*/
|
|
27
27
|
respondingToPacketId: string;
|
|
28
28
|
/**
|
|
@@ -31,165 +31,171 @@ export interface Response {
|
|
|
31
31
|
details: {
|
|
32
32
|
oneofKind: "updateUser";
|
|
33
33
|
/**
|
|
34
|
-
* @generated from protobuf field: proto.packets.Response.UpdateUser update_user = 3
|
|
34
|
+
* @generated from protobuf field: proto.packets.Response.UpdateUser update_user = 3
|
|
35
35
|
*/
|
|
36
36
|
updateUser: Response_UpdateUser;
|
|
37
37
|
} | {
|
|
38
38
|
oneofKind: "createMatch";
|
|
39
39
|
/**
|
|
40
|
-
* @generated from protobuf field: proto.packets.Response.CreateMatch create_match = 4
|
|
40
|
+
* @generated from protobuf field: proto.packets.Response.CreateMatch create_match = 4
|
|
41
41
|
*/
|
|
42
42
|
createMatch: Response_CreateMatch;
|
|
43
43
|
} | {
|
|
44
44
|
oneofKind: "updateMatch";
|
|
45
45
|
/**
|
|
46
|
-
* @generated from protobuf field: proto.packets.Response.UpdateMatch update_match = 5
|
|
46
|
+
* @generated from protobuf field: proto.packets.Response.UpdateMatch update_match = 5
|
|
47
47
|
*/
|
|
48
48
|
updateMatch: Response_UpdateMatch;
|
|
49
49
|
} | {
|
|
50
50
|
oneofKind: "deleteMatch";
|
|
51
51
|
/**
|
|
52
|
-
* @generated from protobuf field: proto.packets.Response.DeleteMatch delete_match = 6
|
|
52
|
+
* @generated from protobuf field: proto.packets.Response.DeleteMatch delete_match = 6
|
|
53
53
|
*/
|
|
54
54
|
deleteMatch: Response_DeleteMatch;
|
|
55
55
|
} | {
|
|
56
56
|
oneofKind: "createQualifierEvent";
|
|
57
57
|
/**
|
|
58
|
-
* @generated from protobuf field: proto.packets.Response.CreateQualifierEvent create_qualifier_event = 7
|
|
58
|
+
* @generated from protobuf field: proto.packets.Response.CreateQualifierEvent create_qualifier_event = 7
|
|
59
59
|
*/
|
|
60
60
|
createQualifierEvent: Response_CreateQualifierEvent;
|
|
61
61
|
} | {
|
|
62
62
|
oneofKind: "updateQualifierEvent";
|
|
63
63
|
/**
|
|
64
|
-
* @generated from protobuf field: proto.packets.Response.UpdateQualifierEvent update_qualifier_event = 8
|
|
64
|
+
* @generated from protobuf field: proto.packets.Response.UpdateQualifierEvent update_qualifier_event = 8
|
|
65
65
|
*/
|
|
66
66
|
updateQualifierEvent: Response_UpdateQualifierEvent;
|
|
67
67
|
} | {
|
|
68
68
|
oneofKind: "deleteQualifierEvent";
|
|
69
69
|
/**
|
|
70
|
-
* @generated from protobuf field: proto.packets.Response.DeleteQualifierEvent delete_qualifier_event = 9
|
|
70
|
+
* @generated from protobuf field: proto.packets.Response.DeleteQualifierEvent delete_qualifier_event = 9
|
|
71
71
|
*/
|
|
72
72
|
deleteQualifierEvent: Response_DeleteQualifierEvent;
|
|
73
73
|
} | {
|
|
74
74
|
oneofKind: "addAuthorizedUser";
|
|
75
75
|
/**
|
|
76
|
-
* @generated from protobuf field: proto.packets.Response.AddAuthorizedUser add_authorized_user = 21
|
|
76
|
+
* @generated from protobuf field: proto.packets.Response.AddAuthorizedUser add_authorized_user = 21
|
|
77
77
|
*/
|
|
78
78
|
addAuthorizedUser: Response_AddAuthorizedUser;
|
|
79
79
|
} | {
|
|
80
80
|
oneofKind: "updateAuthorizedUser";
|
|
81
81
|
/**
|
|
82
|
-
* @generated from protobuf field: proto.packets.Response.UpdateAuthorizedUser update_authorized_user = 22
|
|
82
|
+
* @generated from protobuf field: proto.packets.Response.UpdateAuthorizedUser update_authorized_user = 22
|
|
83
83
|
*/
|
|
84
84
|
updateAuthorizedUser: Response_UpdateAuthorizedUser;
|
|
85
85
|
} | {
|
|
86
86
|
oneofKind: "removeAuthorizedUser";
|
|
87
87
|
/**
|
|
88
|
-
* @generated from protobuf field: proto.packets.Response.RemoveAuthorizedUser remove_authorized_user = 23
|
|
88
|
+
* @generated from protobuf field: proto.packets.Response.RemoveAuthorizedUser remove_authorized_user = 23
|
|
89
89
|
*/
|
|
90
90
|
removeAuthorizedUser: Response_RemoveAuthorizedUser;
|
|
91
91
|
} | {
|
|
92
92
|
oneofKind: "getAuthorizedUsers";
|
|
93
93
|
/**
|
|
94
|
-
* @generated from protobuf field: proto.packets.Response.GetAuthorizedUsers get_authorized_users = 24
|
|
94
|
+
* @generated from protobuf field: proto.packets.Response.GetAuthorizedUsers get_authorized_users = 24
|
|
95
95
|
*/
|
|
96
96
|
getAuthorizedUsers: Response_GetAuthorizedUsers;
|
|
97
97
|
} | {
|
|
98
98
|
oneofKind: "getDiscordInfo";
|
|
99
99
|
/**
|
|
100
|
-
* @generated from protobuf field: proto.packets.Response.GetDiscordInfo get_discord_info = 25
|
|
100
|
+
* @generated from protobuf field: proto.packets.Response.GetDiscordInfo get_discord_info = 25
|
|
101
101
|
*/
|
|
102
102
|
getDiscordInfo: Response_GetDiscordInfo;
|
|
103
103
|
} | {
|
|
104
104
|
oneofKind: "createTournament";
|
|
105
105
|
/**
|
|
106
|
-
* @generated from protobuf field: proto.packets.Response.CreateTournament create_tournament = 10
|
|
106
|
+
* @generated from protobuf field: proto.packets.Response.CreateTournament create_tournament = 10
|
|
107
107
|
*/
|
|
108
108
|
createTournament: Response_CreateTournament;
|
|
109
109
|
} | {
|
|
110
110
|
oneofKind: "updateTournament";
|
|
111
111
|
/**
|
|
112
|
-
* @generated from protobuf field: proto.packets.Response.UpdateTournament update_tournament = 11
|
|
112
|
+
* @generated from protobuf field: proto.packets.Response.UpdateTournament update_tournament = 11
|
|
113
113
|
*/
|
|
114
114
|
updateTournament: Response_UpdateTournament;
|
|
115
115
|
} | {
|
|
116
116
|
oneofKind: "deleteTournament";
|
|
117
117
|
/**
|
|
118
|
-
* @generated from protobuf field: proto.packets.Response.DeleteTournament delete_tournament = 12
|
|
118
|
+
* @generated from protobuf field: proto.packets.Response.DeleteTournament delete_tournament = 12
|
|
119
119
|
*/
|
|
120
120
|
deleteTournament: Response_DeleteTournament;
|
|
121
121
|
} | {
|
|
122
122
|
oneofKind: "addServer";
|
|
123
123
|
/**
|
|
124
|
-
* @generated from protobuf field: proto.packets.Response.AddServer add_server = 13
|
|
124
|
+
* @generated from protobuf field: proto.packets.Response.AddServer add_server = 13
|
|
125
125
|
*/
|
|
126
126
|
addServer: Response_AddServer;
|
|
127
127
|
} | {
|
|
128
128
|
oneofKind: "connect";
|
|
129
129
|
/**
|
|
130
|
-
* @generated from protobuf field: proto.packets.Response.Connect connect = 14
|
|
130
|
+
* @generated from protobuf field: proto.packets.Response.Connect connect = 14
|
|
131
131
|
*/
|
|
132
132
|
connect: Response_Connect;
|
|
133
133
|
} | {
|
|
134
134
|
oneofKind: "join";
|
|
135
135
|
/**
|
|
136
|
-
* @generated from protobuf field: proto.packets.Response.Join join = 15
|
|
136
|
+
* @generated from protobuf field: proto.packets.Response.Join join = 15
|
|
137
137
|
*/
|
|
138
138
|
join: Response_Join;
|
|
139
139
|
} | {
|
|
140
140
|
oneofKind: "leaderboardEntries";
|
|
141
141
|
/**
|
|
142
|
-
* @generated from protobuf field: proto.packets.Response.LeaderboardEntries leaderboard_entries = 16
|
|
142
|
+
* @generated from protobuf field: proto.packets.Response.LeaderboardEntries leaderboard_entries = 16
|
|
143
143
|
*/
|
|
144
144
|
leaderboardEntries: Response_LeaderboardEntries;
|
|
145
145
|
} | {
|
|
146
146
|
oneofKind: "loadSong";
|
|
147
147
|
/**
|
|
148
|
-
* @generated from protobuf field: proto.packets.Response.LoadSong load_song = 17
|
|
148
|
+
* @generated from protobuf field: proto.packets.Response.LoadSong load_song = 17
|
|
149
149
|
*/
|
|
150
150
|
loadSong: Response_LoadSong;
|
|
151
151
|
} | {
|
|
152
152
|
oneofKind: "preloadImageForStreamSync";
|
|
153
153
|
/**
|
|
154
|
-
* @generated from protobuf field: proto.packets.Response.PreloadImageForStreamSync preload_image_for_stream_sync = 18
|
|
154
|
+
* @generated from protobuf field: proto.packets.Response.PreloadImageForStreamSync preload_image_for_stream_sync = 18
|
|
155
155
|
*/
|
|
156
156
|
preloadImageForStreamSync: Response_PreloadImageForStreamSync;
|
|
157
157
|
} | {
|
|
158
158
|
oneofKind: "showPrompt";
|
|
159
159
|
/**
|
|
160
|
-
* @generated from protobuf field: proto.packets.Response.ShowPrompt show_prompt = 19
|
|
160
|
+
* @generated from protobuf field: proto.packets.Response.ShowPrompt show_prompt = 19
|
|
161
161
|
*/
|
|
162
162
|
showPrompt: Response_ShowPrompt;
|
|
163
163
|
} | {
|
|
164
164
|
oneofKind: "remainingAttempts";
|
|
165
165
|
/**
|
|
166
|
-
* @generated from protobuf field: proto.packets.Response.RemainingAttempts remaining_attempts = 20
|
|
166
|
+
* @generated from protobuf field: proto.packets.Response.RemainingAttempts remaining_attempts = 20
|
|
167
167
|
*/
|
|
168
168
|
remainingAttempts: Response_RemainingAttempts;
|
|
169
169
|
} | {
|
|
170
170
|
oneofKind: "getBotTokensForUser";
|
|
171
171
|
/**
|
|
172
|
-
* @generated from protobuf field: proto.packets.Response.GetBotTokensForUser get_bot_tokens_for_user = 26
|
|
172
|
+
* @generated from protobuf field: proto.packets.Response.GetBotTokensForUser get_bot_tokens_for_user = 26
|
|
173
173
|
*/
|
|
174
174
|
getBotTokensForUser: Response_GetBotTokensForUser;
|
|
175
175
|
} | {
|
|
176
176
|
oneofKind: "generateBotToken";
|
|
177
177
|
/**
|
|
178
|
-
* @generated from protobuf field: proto.packets.Response.GenerateBotToken generate_bot_token = 27
|
|
178
|
+
* @generated from protobuf field: proto.packets.Response.GenerateBotToken generate_bot_token = 27
|
|
179
179
|
*/
|
|
180
180
|
generateBotToken: Response_GenerateBotToken;
|
|
181
181
|
} | {
|
|
182
182
|
oneofKind: "revokeBotToken";
|
|
183
183
|
/**
|
|
184
|
-
* @generated from protobuf field: proto.packets.Response.RevokeBotToken revoke_bot_token = 28
|
|
184
|
+
* @generated from protobuf field: proto.packets.Response.RevokeBotToken revoke_bot_token = 28
|
|
185
185
|
*/
|
|
186
186
|
revokeBotToken: Response_RevokeBotToken;
|
|
187
187
|
} | {
|
|
188
188
|
oneofKind: "refundAttempts";
|
|
189
189
|
/**
|
|
190
|
-
* @generated from protobuf field: proto.packets.Response.RefundAttempts refund_attempts = 29
|
|
190
|
+
* @generated from protobuf field: proto.packets.Response.RefundAttempts refund_attempts = 29
|
|
191
191
|
*/
|
|
192
192
|
refundAttempts: Response_RefundAttempts;
|
|
193
|
+
} | {
|
|
194
|
+
oneofKind: "permissionError";
|
|
195
|
+
/**
|
|
196
|
+
* @generated from protobuf field: proto.packets.Response.PermissionError permission_error = 30
|
|
197
|
+
*/
|
|
198
|
+
permissionError: Response_PermissionError;
|
|
193
199
|
} | {
|
|
194
200
|
oneofKind: undefined;
|
|
195
201
|
};
|
|
@@ -201,11 +207,11 @@ export interface Response {
|
|
|
201
207
|
*/
|
|
202
208
|
export interface Response_UpdateUser {
|
|
203
209
|
/**
|
|
204
|
-
* @generated from protobuf field: string message = 1
|
|
210
|
+
* @generated from protobuf field: string message = 1
|
|
205
211
|
*/
|
|
206
212
|
message: string;
|
|
207
213
|
/**
|
|
208
|
-
* @generated from protobuf field: proto.models.User user = 2
|
|
214
|
+
* @generated from protobuf field: proto.models.User user = 2
|
|
209
215
|
*/
|
|
210
216
|
user?: User;
|
|
211
217
|
}
|
|
@@ -214,11 +220,11 @@ export interface Response_UpdateUser {
|
|
|
214
220
|
*/
|
|
215
221
|
export interface Response_CreateMatch {
|
|
216
222
|
/**
|
|
217
|
-
* @generated from protobuf field: string message = 1
|
|
223
|
+
* @generated from protobuf field: string message = 1
|
|
218
224
|
*/
|
|
219
225
|
message: string;
|
|
220
226
|
/**
|
|
221
|
-
* @generated from protobuf field: proto.models.Match match = 2
|
|
227
|
+
* @generated from protobuf field: proto.models.Match match = 2
|
|
222
228
|
*/
|
|
223
229
|
match?: Match;
|
|
224
230
|
}
|
|
@@ -227,11 +233,11 @@ export interface Response_CreateMatch {
|
|
|
227
233
|
*/
|
|
228
234
|
export interface Response_UpdateMatch {
|
|
229
235
|
/**
|
|
230
|
-
* @generated from protobuf field: string message = 1
|
|
236
|
+
* @generated from protobuf field: string message = 1
|
|
231
237
|
*/
|
|
232
238
|
message: string;
|
|
233
239
|
/**
|
|
234
|
-
* @generated from protobuf field: proto.models.Match match = 2
|
|
240
|
+
* @generated from protobuf field: proto.models.Match match = 2
|
|
235
241
|
*/
|
|
236
242
|
match?: Match;
|
|
237
243
|
}
|
|
@@ -240,11 +246,11 @@ export interface Response_UpdateMatch {
|
|
|
240
246
|
*/
|
|
241
247
|
export interface Response_DeleteMatch {
|
|
242
248
|
/**
|
|
243
|
-
* @generated from protobuf field: string message = 1
|
|
249
|
+
* @generated from protobuf field: string message = 1
|
|
244
250
|
*/
|
|
245
251
|
message: string;
|
|
246
252
|
/**
|
|
247
|
-
* @generated from protobuf field: proto.models.Match match = 2
|
|
253
|
+
* @generated from protobuf field: proto.models.Match match = 2
|
|
248
254
|
*/
|
|
249
255
|
match?: Match;
|
|
250
256
|
}
|
|
@@ -253,11 +259,11 @@ export interface Response_DeleteMatch {
|
|
|
253
259
|
*/
|
|
254
260
|
export interface Response_CreateQualifierEvent {
|
|
255
261
|
/**
|
|
256
|
-
* @generated from protobuf field: string message = 1
|
|
262
|
+
* @generated from protobuf field: string message = 1
|
|
257
263
|
*/
|
|
258
264
|
message: string;
|
|
259
265
|
/**
|
|
260
|
-
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
266
|
+
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
261
267
|
*/
|
|
262
268
|
qualifier?: QualifierEvent;
|
|
263
269
|
}
|
|
@@ -266,11 +272,11 @@ export interface Response_CreateQualifierEvent {
|
|
|
266
272
|
*/
|
|
267
273
|
export interface Response_UpdateQualifierEvent {
|
|
268
274
|
/**
|
|
269
|
-
* @generated from protobuf field: string message = 1
|
|
275
|
+
* @generated from protobuf field: string message = 1
|
|
270
276
|
*/
|
|
271
277
|
message: string;
|
|
272
278
|
/**
|
|
273
|
-
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
279
|
+
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
274
280
|
*/
|
|
275
281
|
qualifier?: QualifierEvent;
|
|
276
282
|
}
|
|
@@ -279,11 +285,11 @@ export interface Response_UpdateQualifierEvent {
|
|
|
279
285
|
*/
|
|
280
286
|
export interface Response_DeleteQualifierEvent {
|
|
281
287
|
/**
|
|
282
|
-
* @generated from protobuf field: string message = 1
|
|
288
|
+
* @generated from protobuf field: string message = 1
|
|
283
289
|
*/
|
|
284
290
|
message: string;
|
|
285
291
|
/**
|
|
286
|
-
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
292
|
+
* @generated from protobuf field: proto.models.QualifierEvent qualifier = 2
|
|
287
293
|
*/
|
|
288
294
|
qualifier?: QualifierEvent;
|
|
289
295
|
}
|
|
@@ -292,15 +298,15 @@ export interface Response_DeleteQualifierEvent {
|
|
|
292
298
|
*/
|
|
293
299
|
export interface Response_AddAuthorizedUser {
|
|
294
300
|
/**
|
|
295
|
-
* @generated from protobuf field: string tournament_id = 1
|
|
301
|
+
* @generated from protobuf field: string tournament_id = 1
|
|
296
302
|
*/
|
|
297
303
|
tournamentId: string;
|
|
298
304
|
/**
|
|
299
|
-
* @generated from protobuf field: string discord_id = 2
|
|
305
|
+
* @generated from protobuf field: string discord_id = 2
|
|
300
306
|
*/
|
|
301
307
|
discordId: string;
|
|
302
308
|
/**
|
|
303
|
-
* @generated from protobuf field: repeated string roles = 3
|
|
309
|
+
* @generated from protobuf field: repeated string roles = 3
|
|
304
310
|
*/
|
|
305
311
|
roles: string[];
|
|
306
312
|
}
|
|
@@ -309,15 +315,15 @@ export interface Response_AddAuthorizedUser {
|
|
|
309
315
|
*/
|
|
310
316
|
export interface Response_UpdateAuthorizedUser {
|
|
311
317
|
/**
|
|
312
|
-
* @generated from protobuf field: string tournament_id = 1
|
|
318
|
+
* @generated from protobuf field: string tournament_id = 1
|
|
313
319
|
*/
|
|
314
320
|
tournamentId: string;
|
|
315
321
|
/**
|
|
316
|
-
* @generated from protobuf field: string discord_id = 2
|
|
322
|
+
* @generated from protobuf field: string discord_id = 2
|
|
317
323
|
*/
|
|
318
324
|
discordId: string;
|
|
319
325
|
/**
|
|
320
|
-
* @generated from protobuf field: repeated string roles = 3
|
|
326
|
+
* @generated from protobuf field: repeated string roles = 3
|
|
321
327
|
*/
|
|
322
328
|
roles: string[];
|
|
323
329
|
}
|
|
@@ -326,15 +332,15 @@ export interface Response_UpdateAuthorizedUser {
|
|
|
326
332
|
*/
|
|
327
333
|
export interface Response_RemoveAuthorizedUser {
|
|
328
334
|
/**
|
|
329
|
-
* @generated from protobuf field: string tournament_id = 1
|
|
335
|
+
* @generated from protobuf field: string tournament_id = 1
|
|
330
336
|
*/
|
|
331
337
|
tournamentId: string;
|
|
332
338
|
/**
|
|
333
|
-
* @generated from protobuf field: string discord_id = 2
|
|
339
|
+
* @generated from protobuf field: string discord_id = 2
|
|
334
340
|
*/
|
|
335
341
|
discordId: string;
|
|
336
342
|
/**
|
|
337
|
-
* @generated from protobuf field: repeated string roles = 3
|
|
343
|
+
* @generated from protobuf field: repeated string roles = 3
|
|
338
344
|
*/
|
|
339
345
|
roles: string[];
|
|
340
346
|
}
|
|
@@ -343,11 +349,11 @@ export interface Response_RemoveAuthorizedUser {
|
|
|
343
349
|
*/
|
|
344
350
|
export interface Response_GetAuthorizedUsers {
|
|
345
351
|
/**
|
|
346
|
-
* @generated from protobuf field: string tournament_id = 1
|
|
352
|
+
* @generated from protobuf field: string tournament_id = 1
|
|
347
353
|
*/
|
|
348
354
|
tournamentId: string;
|
|
349
355
|
/**
|
|
350
|
-
* @generated from protobuf field: repeated proto.packets.Response.GetAuthorizedUsers.AuthroizedUser authorized_users = 2
|
|
356
|
+
* @generated from protobuf field: repeated proto.packets.Response.GetAuthorizedUsers.AuthroizedUser authorized_users = 2
|
|
351
357
|
*/
|
|
352
358
|
authorizedUsers: Response_GetAuthorizedUsers_AuthroizedUser[];
|
|
353
359
|
}
|
|
@@ -356,19 +362,19 @@ export interface Response_GetAuthorizedUsers {
|
|
|
356
362
|
*/
|
|
357
363
|
export interface Response_GetAuthorizedUsers_AuthroizedUser {
|
|
358
364
|
/**
|
|
359
|
-
* @generated from protobuf field: string discord_id = 1
|
|
365
|
+
* @generated from protobuf field: string discord_id = 1
|
|
360
366
|
*/
|
|
361
367
|
discordId: string;
|
|
362
368
|
/**
|
|
363
|
-
* @generated from protobuf field: string discord_username = 2
|
|
369
|
+
* @generated from protobuf field: string discord_username = 2
|
|
364
370
|
*/
|
|
365
371
|
discordUsername: string;
|
|
366
372
|
/**
|
|
367
|
-
* @generated from protobuf field: string discord_avatar_url = 3
|
|
373
|
+
* @generated from protobuf field: string discord_avatar_url = 3
|
|
368
374
|
*/
|
|
369
375
|
discordAvatarUrl: string;
|
|
370
376
|
/**
|
|
371
|
-
* @generated from protobuf field: repeated string roles = 4
|
|
377
|
+
* @generated from protobuf field: repeated string roles = 4
|
|
372
378
|
*/
|
|
373
379
|
roles: string[];
|
|
374
380
|
}
|
|
@@ -377,15 +383,15 @@ export interface Response_GetAuthorizedUsers_AuthroizedUser {
|
|
|
377
383
|
*/
|
|
378
384
|
export interface Response_GetDiscordInfo {
|
|
379
385
|
/**
|
|
380
|
-
* @generated from protobuf field: string discord_id = 1
|
|
386
|
+
* @generated from protobuf field: string discord_id = 1
|
|
381
387
|
*/
|
|
382
388
|
discordId: string;
|
|
383
389
|
/**
|
|
384
|
-
* @generated from protobuf field: string discord_username = 2
|
|
390
|
+
* @generated from protobuf field: string discord_username = 2
|
|
385
391
|
*/
|
|
386
392
|
discordUsername: string;
|
|
387
393
|
/**
|
|
388
|
-
* @generated from protobuf field: string discord_avatar_url = 3
|
|
394
|
+
* @generated from protobuf field: string discord_avatar_url = 3
|
|
389
395
|
*/
|
|
390
396
|
discordAvatarUrl: string;
|
|
391
397
|
}
|
|
@@ -394,11 +400,11 @@ export interface Response_GetDiscordInfo {
|
|
|
394
400
|
*/
|
|
395
401
|
export interface Response_CreateTournament {
|
|
396
402
|
/**
|
|
397
|
-
* @generated from protobuf field: string message = 1
|
|
403
|
+
* @generated from protobuf field: string message = 1
|
|
398
404
|
*/
|
|
399
405
|
message: string;
|
|
400
406
|
/**
|
|
401
|
-
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
407
|
+
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
402
408
|
*/
|
|
403
409
|
tournament?: Tournament;
|
|
404
410
|
}
|
|
@@ -407,11 +413,11 @@ export interface Response_CreateTournament {
|
|
|
407
413
|
*/
|
|
408
414
|
export interface Response_UpdateTournament {
|
|
409
415
|
/**
|
|
410
|
-
* @generated from protobuf field: string message = 1
|
|
416
|
+
* @generated from protobuf field: string message = 1
|
|
411
417
|
*/
|
|
412
418
|
message: string;
|
|
413
419
|
/**
|
|
414
|
-
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
420
|
+
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
415
421
|
*/
|
|
416
422
|
tournament?: Tournament;
|
|
417
423
|
}
|
|
@@ -420,11 +426,11 @@ export interface Response_UpdateTournament {
|
|
|
420
426
|
*/
|
|
421
427
|
export interface Response_DeleteTournament {
|
|
422
428
|
/**
|
|
423
|
-
* @generated from protobuf field: string message = 1
|
|
429
|
+
* @generated from protobuf field: string message = 1
|
|
424
430
|
*/
|
|
425
431
|
message: string;
|
|
426
432
|
/**
|
|
427
|
-
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
433
|
+
* @generated from protobuf field: proto.models.Tournament tournament = 2
|
|
428
434
|
*/
|
|
429
435
|
tournament?: Tournament;
|
|
430
436
|
}
|
|
@@ -433,11 +439,11 @@ export interface Response_DeleteTournament {
|
|
|
433
439
|
*/
|
|
434
440
|
export interface Response_AddServer {
|
|
435
441
|
/**
|
|
436
|
-
* @generated from protobuf field: string message = 1
|
|
442
|
+
* @generated from protobuf field: string message = 1
|
|
437
443
|
*/
|
|
438
444
|
message: string;
|
|
439
445
|
/**
|
|
440
|
-
* @generated from protobuf field: proto.models.CoreServer server = 2
|
|
446
|
+
* @generated from protobuf field: proto.models.CoreServer server = 2
|
|
441
447
|
*/
|
|
442
448
|
server?: CoreServer;
|
|
443
449
|
}
|
|
@@ -448,19 +454,19 @@ export interface Response_AddServer {
|
|
|
448
454
|
*/
|
|
449
455
|
export interface Response_Connect {
|
|
450
456
|
/**
|
|
451
|
-
* @generated from protobuf field: proto.models.State state = 1
|
|
457
|
+
* @generated from protobuf field: proto.models.State state = 1
|
|
452
458
|
*/
|
|
453
459
|
state?: State;
|
|
454
460
|
/**
|
|
455
|
-
* @generated from protobuf field: int32 server_version = 2
|
|
461
|
+
* @generated from protobuf field: int32 server_version = 2
|
|
456
462
|
*/
|
|
457
463
|
serverVersion: number;
|
|
458
464
|
/**
|
|
459
|
-
* @generated from protobuf field: string message = 3
|
|
465
|
+
* @generated from protobuf field: string message = 3
|
|
460
466
|
*/
|
|
461
467
|
message: string;
|
|
462
468
|
/**
|
|
463
|
-
* @generated from protobuf field: proto.packets.Response.Connect.ConnectFailReason reason = 4
|
|
469
|
+
* @generated from protobuf field: proto.packets.Response.Connect.ConnectFailReason reason = 4
|
|
464
470
|
*/
|
|
465
471
|
reason: Response_Connect_ConnectFailReason;
|
|
466
472
|
}
|
|
@@ -478,23 +484,23 @@ export declare enum Response_Connect_ConnectFailReason {
|
|
|
478
484
|
*/
|
|
479
485
|
export interface Response_Join {
|
|
480
486
|
/**
|
|
481
|
-
* @generated from protobuf field: proto.models.State state = 1
|
|
487
|
+
* @generated from protobuf field: proto.models.State state = 1
|
|
482
488
|
*/
|
|
483
489
|
state?: State;
|
|
484
490
|
/**
|
|
485
|
-
* @generated from protobuf field: string self_guid = 2
|
|
491
|
+
* @generated from protobuf field: string self_guid = 2
|
|
486
492
|
*/
|
|
487
493
|
selfGuid: string;
|
|
488
494
|
/**
|
|
489
|
-
* @generated from protobuf field: string tournament_id = 3
|
|
495
|
+
* @generated from protobuf field: string tournament_id = 3
|
|
490
496
|
*/
|
|
491
497
|
tournamentId: string;
|
|
492
498
|
/**
|
|
493
|
-
* @generated from protobuf field: string message = 4
|
|
499
|
+
* @generated from protobuf field: string message = 4
|
|
494
500
|
*/
|
|
495
501
|
message: string;
|
|
496
502
|
/**
|
|
497
|
-
* @generated from protobuf field: proto.packets.Response.Join.JoinFailReason reason = 5
|
|
503
|
+
* @generated from protobuf field: proto.packets.Response.Join.JoinFailReason reason = 5
|
|
498
504
|
*/
|
|
499
505
|
reason: Response_Join_JoinFailReason;
|
|
500
506
|
}
|
|
@@ -512,7 +518,7 @@ export declare enum Response_Join_JoinFailReason {
|
|
|
512
518
|
*/
|
|
513
519
|
export interface Response_LeaderboardEntries {
|
|
514
520
|
/**
|
|
515
|
-
* @generated from protobuf field: repeated proto.models.LeaderboardEntry scores = 1
|
|
521
|
+
* @generated from protobuf field: repeated proto.models.LeaderboardEntry scores = 1
|
|
516
522
|
*/
|
|
517
523
|
scores: LeaderboardEntry[];
|
|
518
524
|
}
|
|
@@ -521,11 +527,11 @@ export interface Response_LeaderboardEntries {
|
|
|
521
527
|
*/
|
|
522
528
|
export interface Response_LoadSong {
|
|
523
529
|
/**
|
|
524
|
-
* @generated from protobuf field: string level_id = 1
|
|
530
|
+
* @generated from protobuf field: string level_id = 1
|
|
525
531
|
*/
|
|
526
532
|
levelId: string;
|
|
527
533
|
/**
|
|
528
|
-
* @generated from protobuf field: string message = 2
|
|
534
|
+
* @generated from protobuf field: string message = 2
|
|
529
535
|
*/
|
|
530
536
|
message: string;
|
|
531
537
|
}
|
|
@@ -534,7 +540,7 @@ export interface Response_LoadSong {
|
|
|
534
540
|
*/
|
|
535
541
|
export interface Response_PreloadImageForStreamSync {
|
|
536
542
|
/**
|
|
537
|
-
* @generated from protobuf field: string file_id = 1
|
|
543
|
+
* @generated from protobuf field: string file_id = 1
|
|
538
544
|
*/
|
|
539
545
|
fileId: string;
|
|
540
546
|
}
|
|
@@ -543,7 +549,7 @@ export interface Response_PreloadImageForStreamSync {
|
|
|
543
549
|
*/
|
|
544
550
|
export interface Response_ShowPrompt {
|
|
545
551
|
/**
|
|
546
|
-
* @generated from protobuf field: string value = 1
|
|
552
|
+
* @generated from protobuf field: string value = 1
|
|
547
553
|
*/
|
|
548
554
|
value: string;
|
|
549
555
|
}
|
|
@@ -552,7 +558,7 @@ export interface Response_ShowPrompt {
|
|
|
552
558
|
*/
|
|
553
559
|
export interface Response_RemainingAttempts {
|
|
554
560
|
/**
|
|
555
|
-
* @generated from protobuf field: int32 remaining_attempts = 1
|
|
561
|
+
* @generated from protobuf field: int32 remaining_attempts = 1
|
|
556
562
|
*/
|
|
557
563
|
remainingAttempts: number;
|
|
558
564
|
}
|
|
@@ -561,7 +567,7 @@ export interface Response_RemainingAttempts {
|
|
|
561
567
|
*/
|
|
562
568
|
export interface Response_GetBotTokensForUser {
|
|
563
569
|
/**
|
|
564
|
-
* @generated from protobuf field: repeated proto.packets.Response.GetBotTokensForUser.BotUser bot_users = 1
|
|
570
|
+
* @generated from protobuf field: repeated proto.packets.Response.GetBotTokensForUser.BotUser bot_users = 1
|
|
565
571
|
*/
|
|
566
572
|
botUsers: Response_GetBotTokensForUser_BotUser[];
|
|
567
573
|
}
|
|
@@ -570,15 +576,15 @@ export interface Response_GetBotTokensForUser {
|
|
|
570
576
|
*/
|
|
571
577
|
export interface Response_GetBotTokensForUser_BotUser {
|
|
572
578
|
/**
|
|
573
|
-
* @generated from protobuf field: string guid = 1
|
|
579
|
+
* @generated from protobuf field: string guid = 1
|
|
574
580
|
*/
|
|
575
581
|
guid: string;
|
|
576
582
|
/**
|
|
577
|
-
* @generated from protobuf field: string username = 2
|
|
583
|
+
* @generated from protobuf field: string username = 2
|
|
578
584
|
*/
|
|
579
585
|
username: string;
|
|
580
586
|
/**
|
|
581
|
-
* @generated from protobuf field: string owner_discord_id = 3
|
|
587
|
+
* @generated from protobuf field: string owner_discord_id = 3
|
|
582
588
|
*/
|
|
583
589
|
ownerDiscordId: string;
|
|
584
590
|
}
|
|
@@ -587,7 +593,7 @@ export interface Response_GetBotTokensForUser_BotUser {
|
|
|
587
593
|
*/
|
|
588
594
|
export interface Response_GenerateBotToken {
|
|
589
595
|
/**
|
|
590
|
-
* @generated from protobuf field: string bot_token = 1
|
|
596
|
+
* @generated from protobuf field: string bot_token = 1
|
|
591
597
|
*/
|
|
592
598
|
botToken: string;
|
|
593
599
|
}
|
|
@@ -596,7 +602,7 @@ export interface Response_GenerateBotToken {
|
|
|
596
602
|
*/
|
|
597
603
|
export interface Response_RevokeBotToken {
|
|
598
604
|
/**
|
|
599
|
-
* @generated from protobuf field: string message = 1
|
|
605
|
+
* @generated from protobuf field: string message = 1
|
|
600
606
|
*/
|
|
601
607
|
message: string;
|
|
602
608
|
}
|
|
@@ -605,10 +611,27 @@ export interface Response_RevokeBotToken {
|
|
|
605
611
|
*/
|
|
606
612
|
export interface Response_RefundAttempts {
|
|
607
613
|
/**
|
|
608
|
-
* @generated from protobuf field: string message = 1
|
|
614
|
+
* @generated from protobuf field: string message = 1
|
|
609
615
|
*/
|
|
610
616
|
message: string;
|
|
611
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* @generated from protobuf message proto.packets.Response.PermissionError
|
|
620
|
+
*/
|
|
621
|
+
export interface Response_PermissionError {
|
|
622
|
+
/**
|
|
623
|
+
* @generated from protobuf field: string required_permission = 1
|
|
624
|
+
*/
|
|
625
|
+
requiredPermission: string;
|
|
626
|
+
/**
|
|
627
|
+
* @generated from protobuf field: string current_roles = 2
|
|
628
|
+
*/
|
|
629
|
+
currentRoles: string;
|
|
630
|
+
/**
|
|
631
|
+
* @generated from protobuf field: string current_permissions = 3
|
|
632
|
+
*/
|
|
633
|
+
currentPermissions: string;
|
|
634
|
+
}
|
|
612
635
|
/**
|
|
613
636
|
* @generated from protobuf enum proto.packets.Response.ResponseType
|
|
614
637
|
*/
|
|
@@ -922,4 +945,14 @@ declare class Response_RefundAttempts$Type extends MessageType<Response_RefundAt
|
|
|
922
945
|
* @generated MessageType for protobuf message proto.packets.Response.RefundAttempts
|
|
923
946
|
*/
|
|
924
947
|
export declare const Response_RefundAttempts: Response_RefundAttempts$Type;
|
|
948
|
+
declare class Response_PermissionError$Type extends MessageType<Response_PermissionError> {
|
|
949
|
+
constructor();
|
|
950
|
+
create(value?: PartialMessage<Response_PermissionError>): Response_PermissionError;
|
|
951
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_PermissionError): Response_PermissionError;
|
|
952
|
+
internalBinaryWrite(message: Response_PermissionError, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* @generated MessageType for protobuf message proto.packets.Response.PermissionError
|
|
956
|
+
*/
|
|
957
|
+
export declare const Response_PermissionError: Response_PermissionError$Type;
|
|
925
958
|
export {};
|