speedruncom.js 1.3.0 → 2.0.0
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/README.md +4 -40
- package/lib/Client.d.ts +11 -0
- package/lib/Client.js +23 -0
- package/lib/endpoints/endpoints.get.d.ts +537 -0
- package/{dist → lib}/endpoints/endpoints.get.js +1 -1
- package/lib/endpoints/endpoints.post.d.ts +1055 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/{dist → lib}/interfaces.d.ts +1 -1
- package/lib/responses.d.ts +553 -0
- package/package.json +5 -6
- package/src/Client.ts +30 -0
- package/src/endpoints/endpoints.get.ts +480 -500
- package/src/endpoints/endpoints.post.ts +965 -974
- package/src/index.ts +3 -3
- package/src/interfaces.ts +1 -1
- package/src/responses.ts +649 -710
- package/tsconfig.json +1 -2
- package/dist/BaseClient.d.ts +0 -30
- package/dist/BaseClient.js +0 -78
- package/dist/Client.d.ts +0 -222
- package/dist/Client.js +0 -646
- package/dist/build-client.d.ts +0 -1
- package/dist/build-client.js +0 -64
- package/dist/endpoints/endpoints.get.d.ts +0 -560
- package/dist/endpoints/endpoints.post.d.ts +0 -1066
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/responses.d.ts +0 -611
- package/src/BaseClient.ts +0 -108
- package/src/build-client.ts +0 -80
- /package/{dist → lib}/endpoints/endpoints.post.js +0 -0
- /package/{dist → lib}/enums.d.ts +0 -0
- /package/{dist → lib}/enums.js +0 -0
- /package/{dist → lib}/interfaces.js +0 -0
- /package/{dist → lib}/responses.js +0 -0
- /package/{dist → lib}/types.d.ts +0 -0
- /package/{dist → lib}/types.js +0 -0
package/src/responses.ts
CHANGED
|
@@ -1,714 +1,653 @@
|
|
|
1
|
-
import * as Interfaces from './interfaces
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
export interface GetForumReadStatus {
|
|
463
|
-
forumReadStatusList: Interfaces.ForumReadStatus[];
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
export interface GetGameSettings {
|
|
467
|
-
settings: Interfaces.GameSettings;
|
|
468
|
-
moderatorList: Interfaces.GameModerator[];
|
|
469
|
-
theme: Interfaces.Theme;
|
|
470
|
-
gameList: Interfaces.Game[];
|
|
471
|
-
userList: Interfaces.User[];
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export interface GetModerationGames {
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* List of Games you moderate. `null` when not logged in.
|
|
478
|
-
*/
|
|
479
|
-
games: Interfaces.Game[] | null;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* `GameModerationStats` of the games you moderate. `null` when not logged in.
|
|
483
|
-
*/
|
|
484
|
-
gameModerationStats: Interfaces.GameModerationStats[] | null;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
export interface GetModerationRuns {
|
|
488
|
-
categories: Interfaces.Category[];
|
|
489
|
-
games: Interfaces.Game[];
|
|
490
|
-
levels: Interfaces.Level[];
|
|
491
|
-
pagination: Interfaces.Pagination;
|
|
492
|
-
platforms: Interfaces.Platform[];
|
|
493
|
-
players: Interfaces.Player[];
|
|
494
|
-
regions: Interfaces.Region[];
|
|
495
|
-
runs: Interfaces.GameRun[];
|
|
496
|
-
values: Interfaces.Value[];
|
|
497
|
-
variables: Interfaces.Variable[];
|
|
498
|
-
users: Interfaces.User[];
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
export interface GetNotifications {
|
|
502
|
-
unreadCount: number;
|
|
503
|
-
notifications: Interfaces.Notification[];
|
|
504
|
-
pagination: Interfaces.Pagination;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
export interface GetRunSettings {
|
|
508
|
-
settings: Interfaces.RunSettings;
|
|
509
|
-
users: Interfaces.User[];
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export interface GetSeriesSettings {
|
|
513
|
-
settings: Interfaces.SeriesSettings;
|
|
514
|
-
moderatorList: Interfaces.SeriesModerator[];
|
|
515
|
-
gameList: Interfaces.Game[];
|
|
516
|
-
theme: Interfaces.Theme;
|
|
517
|
-
userList: Interfaces.User[];
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
export interface GetSession {
|
|
521
|
-
session: Interfaces.Session;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* NB: if no theme is set then this response will be empty
|
|
526
|
-
*/
|
|
527
|
-
export interface GetThemeSettings {
|
|
528
|
-
settings?: Interfaces.ThemeSettings;
|
|
529
|
-
theme?: Interfaces.Theme;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export interface GetThreadReadStatus {
|
|
533
|
-
threadReadStatusList: Interfaces.ThreadReadStatus[];
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
export interface GetTickets {
|
|
537
|
-
ticketList: Interfaces.Ticket[];
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* Admins can see all notes, users can see messages here.
|
|
541
|
-
*/
|
|
542
|
-
ticketNoteList: Interfaces.TicketNote[];
|
|
543
|
-
pagination: Interfaces.Pagination;
|
|
544
|
-
userList: Interfaces.User[];
|
|
545
|
-
gameList: Interfaces.Game[];
|
|
546
|
-
userModCountList: Interfaces.UserCount[];
|
|
547
|
-
userRunCountList: Interfaces.UserCount[];
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
export interface GetUserBlocks {
|
|
551
|
-
userBlocks: Interfaces.UserBlock[];
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
export interface GetUserSettings {
|
|
555
|
-
settings: Interfaces.UserSettings;
|
|
556
|
-
gameFollowerList: Interfaces.GameFollower[];
|
|
557
|
-
gameModeratorList: Interfaces.GameModerator[];
|
|
558
|
-
notificationSettings: Interfaces.NotificationSetting[];
|
|
559
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
560
|
-
gameList: Interfaces.Game[];
|
|
561
|
-
themeList: Interfaces.Theme[];
|
|
562
|
-
titleList: Interfaces.Title[];
|
|
563
|
-
supporterCreditList: Interfaces.SupporterCredit[];
|
|
564
|
-
supporterCodeList: Interfaces.SupporterCode[];
|
|
565
|
-
supporterSubscription?: Interfaces.SupporterSubscription;
|
|
566
|
-
experimentList: any;
|
|
567
|
-
enabledExperimentIds: any;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
export interface GetUserSupporterData {
|
|
571
|
-
supporterEndDate: number;
|
|
572
|
-
boostEndDate: number;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export interface PutUserSupporterNewSubscription {
|
|
576
|
-
subscription: Interfaces.SupporterSubscription;
|
|
577
|
-
paymentIntentClientSecret: string;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export interface PutAuthLogin {
|
|
581
|
-
loggedIn: boolean;
|
|
582
|
-
tokenChallengeSent?: boolean;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
export interface PutAuthSignup {
|
|
586
|
-
loggedIn: boolean;
|
|
587
|
-
tokenChallengeSent?: boolean;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
export interface PutConversation {
|
|
591
|
-
ok: true;
|
|
592
|
-
conversationId: string;
|
|
593
|
-
messageId: string;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
export interface PutConversationMessage {
|
|
597
|
-
ok: true;
|
|
598
|
-
conversationId: string;
|
|
599
|
-
messageId: string;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export interface PutGame {
|
|
603
|
-
game: Interfaces.Game;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
export interface PutRunSettings {
|
|
607
|
-
runId: string;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
export interface PutThread {
|
|
611
|
-
thread: Interfaces.Thread;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
export interface PutLike {
|
|
615
|
-
likeList: Interfaces.Like[];
|
|
616
|
-
userList: Interfaces.User[];
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
export interface PutTicket {
|
|
620
|
-
ticketId: string;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export interface PutUserSettings {
|
|
624
|
-
settings: Interfaces.UserSettings;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
export interface GetUserApiKey {
|
|
628
|
-
apiKey: string;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
export interface GetUserFollowers {
|
|
632
|
-
followerList: Interfaces.UserFollower;
|
|
633
|
-
userList: Interfaces.User;
|
|
634
|
-
pagination: Interfaces.Pagination;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
export interface GetUserFollowingGames {
|
|
638
|
-
followerList: Interfaces.UserFollower;
|
|
639
|
-
gameList: Interfaces.Game;
|
|
640
|
-
pagination: Interfaces.Pagination;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
export interface GetUserFollowingUsers {
|
|
644
|
-
followerList: Interfaces.UserFollower;
|
|
645
|
-
userList: Interfaces.User;
|
|
646
|
-
pagination: Interfaces.Pagination;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
export interface GetUserGameBoostData {
|
|
650
|
-
boostAvailableTokens: number;
|
|
651
|
-
boostDistinctGamesCount: number;
|
|
652
|
-
boostDistinctUsersCount: number;
|
|
653
|
-
boostEndDate: number;
|
|
654
|
-
boostGiftedCount: number;
|
|
655
|
-
boostLastTokenDate: number;
|
|
656
|
-
boostNextTokenAmount: number;
|
|
657
|
-
boostNextTokenDate: number;
|
|
658
|
-
boostReceivedCount: number;
|
|
659
|
-
gameBoostList: Interfaces.GameBoost[];
|
|
660
|
-
gameList: Interfaces.Game[];
|
|
661
|
-
isBoosted: boolean;
|
|
662
|
-
userList: Interfaces.User[];
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
export interface GetUserDataExport {
|
|
666
|
-
articleList: Interfaces.Article[];
|
|
667
|
-
commentList: Interfaces.Comment[];
|
|
668
|
-
conversationList: Interfaces.ConversationLightweight[];
|
|
669
|
-
gameFollowerList: Interfaces.GameFollower[];
|
|
670
|
-
guideList: Interfaces.Guide[];
|
|
671
|
-
likeList: Interfaces.Like[];
|
|
672
|
-
messageList: Interfaces.ConversationMessage[];
|
|
673
|
-
newsList: Interfaces.GameNews[];
|
|
674
|
-
resourceList: Interfaces.Resource[];
|
|
675
|
-
runList: Interfaces.GameRun[];
|
|
676
|
-
threadList: Interfaces.Thread[];
|
|
677
|
-
ticketList: Interfaces.Ticket[];
|
|
678
|
-
ticketNoteList: Interfaces.TicketNote[];
|
|
679
|
-
user: Interfaces.User;
|
|
680
|
-
userFollowerList: Interfaces.UserFollower[];
|
|
681
|
-
userSettings: Interfaces.UserSettings;
|
|
682
|
-
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
export interface PutUserUpdateEmail {
|
|
686
|
-
emailChanged: boolean;
|
|
687
|
-
tokenChallengeSent?: boolean;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
export interface PutUserUpdateName {
|
|
691
|
-
ok: true;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
export interface GetAnnouncementLatest {
|
|
695
|
-
id: string;
|
|
696
|
-
title: string;
|
|
697
|
-
message: string;
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Site subpath to a related article.
|
|
701
|
-
*/
|
|
702
|
-
link: string;
|
|
703
|
-
enabled: boolean;
|
|
704
|
-
|
|
705
|
-
/**
|
|
706
|
-
* UNIX timestamp of when the announcement was created.
|
|
707
|
-
*/
|
|
708
|
-
createDate: number;
|
|
1
|
+
import * as Interfaces from './interfaces';
|
|
2
|
+
|
|
3
|
+
export default interface Responses {
|
|
4
|
+
GetGameLeaderboard2: {
|
|
5
|
+
/**
|
|
6
|
+
* Runs in the leaderboard.
|
|
7
|
+
*/
|
|
8
|
+
runList: Interfaces.GameRun[];
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Every Player with a run in a game.
|
|
12
|
+
*/
|
|
13
|
+
playerList: Interfaces.Player[];
|
|
14
|
+
pagination: Interfaces.Pagination;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
GetGameLeaderboard: {
|
|
18
|
+
leaderboard: Interfaces.Leaderboard;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
GetGameData: {
|
|
22
|
+
game: Interfaces.Game;
|
|
23
|
+
categories: Interfaces.Category[];
|
|
24
|
+
levels: Interfaces.Level[];
|
|
25
|
+
moderators: Interfaces.GameModerator[];
|
|
26
|
+
platforms: Interfaces.Platform[];
|
|
27
|
+
regions: Interfaces.Region[];
|
|
28
|
+
theme?: Interfaces.Theme[];
|
|
29
|
+
users: Interfaces.User[];
|
|
30
|
+
values: Interfaces.Value[];
|
|
31
|
+
variables: Interfaces.Variable[];
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
GetGameSummary: {
|
|
35
|
+
game: Interfaces.Game;
|
|
36
|
+
gameBoosts: Interfaces.GameBoost[];
|
|
37
|
+
gameModerators: Interfaces.GameModerator[];
|
|
38
|
+
forum: Interfaces.Forum;
|
|
39
|
+
newsList: Interfaces.GameNews[];
|
|
40
|
+
gameStats: Interfaces.GameStats[];
|
|
41
|
+
stats: Interfaces.GameStats;
|
|
42
|
+
relatedGames: Interfaces.Game[];
|
|
43
|
+
seriesList: Interfaces.Series[];
|
|
44
|
+
theme: Interfaces.Theme;
|
|
45
|
+
threadList: Interfaces.Thread[];
|
|
46
|
+
users: Interfaces.User[];
|
|
47
|
+
challengeList: Interfaces.Challenge[];
|
|
48
|
+
challengeCount: number;
|
|
49
|
+
guideCount: number;
|
|
50
|
+
levelCount: number;
|
|
51
|
+
newsCount: number;
|
|
52
|
+
relatedCount: number;
|
|
53
|
+
resourceCount: number;
|
|
54
|
+
streamCount: number;
|
|
55
|
+
threadCount: number;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
GetGameRecordHistory: {
|
|
59
|
+
playerList: Interfaces.Player[];
|
|
60
|
+
runList: Interfaces.GameRun[];
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
GetSearch: {
|
|
64
|
+
gameList: Interfaces.Game[];
|
|
65
|
+
newsList: Interfaces.GameNews[];
|
|
66
|
+
pageList: Interfaces.Article[];
|
|
67
|
+
seriesList: Interfaces.Series[];
|
|
68
|
+
userList: Interfaces.User[];
|
|
69
|
+
challengeList: Interfaces.Challenge[] | null;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
GetLatestLeaderboard: {
|
|
73
|
+
categories: Interfaces.Category[];
|
|
74
|
+
games: Interfaces.Game[];
|
|
75
|
+
levels: Interfaces.Level[];
|
|
76
|
+
players: Interfaces.Player[];
|
|
77
|
+
regions: Interfaces.Region[];
|
|
78
|
+
runs: Interfaces.GameRun[];
|
|
79
|
+
values: Interfaces.Value[];
|
|
80
|
+
variables: Interfaces.Variable[];
|
|
81
|
+
platforms: Interfaces.Platform[];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
GetRun: {
|
|
85
|
+
game: Interfaces.Game;
|
|
86
|
+
category: Interfaces.Category;
|
|
87
|
+
level?: Interfaces.Level;
|
|
88
|
+
platform?: Interfaces.Platform;
|
|
89
|
+
players: Interfaces.Player[];
|
|
90
|
+
region?: Interfaces.Region;
|
|
91
|
+
run: Interfaces.GameRun;
|
|
92
|
+
users: Interfaces.User[];
|
|
93
|
+
values: Interfaces.Value[];
|
|
94
|
+
variables: Interfaces.Variable[];
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
GetUserSummary: {
|
|
98
|
+
user: Interfaces.User;
|
|
99
|
+
userProfile: Interfaces.UserReducedProfile;
|
|
100
|
+
userStats: Interfaces.UserStats;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Empty list if the user has set game follows to private.
|
|
104
|
+
*/
|
|
105
|
+
userGameFollowerStats: Interfaces.UserGameFollow[];
|
|
106
|
+
userGameModeratorStats: Interfaces.UserModerationStats[];
|
|
107
|
+
userGameRunnerStats: Interfaces.UserGameRunnerStats[];
|
|
108
|
+
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
109
|
+
games: Interfaces.Game[];
|
|
110
|
+
theme: Interfaces.Theme;
|
|
111
|
+
titleList: Interfaces.Title[];
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
GetUserComments: {
|
|
115
|
+
articleList: Interfaces.Article[];
|
|
116
|
+
commentList: Interfaces.Comment[];
|
|
117
|
+
forumList: Interfaces.Forum[];
|
|
118
|
+
gameList: Interfaces.Game[];
|
|
119
|
+
likeList: Interfaces.Like[];
|
|
120
|
+
newsList: Interfaces.GameNews[];
|
|
121
|
+
runList: Interfaces.GameRun[];
|
|
122
|
+
threadList: Interfaces.Thread[];
|
|
123
|
+
userList: Interfaces.User[];
|
|
124
|
+
pagination: Interfaces.Pagination;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
GetUserPopoverData: {
|
|
128
|
+
user: Interfaces.User;
|
|
129
|
+
userProfile: Interfaces.UserReducedProfile;
|
|
130
|
+
userStats: Interfaces.UserStats;
|
|
131
|
+
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Contains games sometimes
|
|
135
|
+
*/
|
|
136
|
+
games: Interfaces.Game[];
|
|
137
|
+
titleList: Interfaces.Title[];
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
GetTitle: {
|
|
141
|
+
title: Interfaces.Title;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
GetTitleList: {
|
|
145
|
+
titleList: Interfaces.Title[];
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
GetArticleList: {
|
|
149
|
+
articleList: Interfaces.Article[];
|
|
150
|
+
pagination: Interfaces.Pagination;
|
|
151
|
+
gameList: Interfaces.Game[];
|
|
152
|
+
userList: Interfaces.User[];
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
GetArticle: {
|
|
156
|
+
article: Interfaces.Article;
|
|
157
|
+
relatedArticleList: Interfaces.Article[];
|
|
158
|
+
gameList: Interfaces.Game[];
|
|
159
|
+
userList: Interfaces.User[];
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
GetChallenge: {
|
|
163
|
+
challenge: Interfaces.Challenge;
|
|
164
|
+
game: Interfaces.Game;
|
|
165
|
+
moderatorList: Interfaces.ChallengeModerator[];
|
|
166
|
+
standingList: Interfaces.ChallengeStanding[];
|
|
167
|
+
theme: Interfaces.Theme;
|
|
168
|
+
userList: Interfaces.User[];
|
|
169
|
+
challengeRunCount: number;
|
|
170
|
+
gameFollowerCount: number;
|
|
171
|
+
titleList: Interfaces.Title[];
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
GetChallengeLeaderboard: {
|
|
175
|
+
challengeRunList: Interfaces.ChallengeRun[];
|
|
176
|
+
playerList: Interfaces.Player[];
|
|
177
|
+
userList: Interfaces.User[];
|
|
178
|
+
pagination: Interfaces.Pagination;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
GetChallengeRun: {
|
|
182
|
+
challenge: Interfaces.Challenge;
|
|
183
|
+
challengeRun: Interfaces.ChallengeRun;
|
|
184
|
+
game: Interfaces.Game;
|
|
185
|
+
playerList: Interfaces.Player[];
|
|
186
|
+
userList: Interfaces.User[];
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
GetChallengeGlobalRankingList: {
|
|
190
|
+
rankingList: Interfaces.GlobalChallengeRanking[];
|
|
191
|
+
userList: Interfaces.User[];
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
GetGameList: {
|
|
195
|
+
article: Interfaces.Article;
|
|
196
|
+
relatedArticleList: Interfaces.Article[];
|
|
197
|
+
gameList: Interfaces.Game[];
|
|
198
|
+
userList: Interfaces.User[];
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
GetPlatformList: {
|
|
202
|
+
platformList: Interfaces.Platform[];
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
GetCommentList: {
|
|
206
|
+
commentable: Interfaces.Commentable;
|
|
207
|
+
commentList: Interfaces.Comment[];
|
|
208
|
+
likeList: Interfaces.Like[];
|
|
209
|
+
userList: Interfaces.User[];
|
|
210
|
+
pagination: Interfaces.Pagination;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
GetForumList: {
|
|
214
|
+
forumList: Interfaces.Forum[];
|
|
215
|
+
gameList: Interfaces.Game[];
|
|
216
|
+
userList: Interfaces.User[];
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
GetStaticData: {
|
|
220
|
+
areas: Interfaces.Area[];
|
|
221
|
+
colors: Interfaces.Color[];
|
|
222
|
+
gameTypeList: Interfaces.GameTypeDetails[];
|
|
223
|
+
notificationSettings: Interfaces.NotificationSettingStaticData[];
|
|
224
|
+
regionList: Interfaces.Region[];
|
|
225
|
+
socialNetworkList: Interfaces.SocialNetwork[];
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Unknown type
|
|
229
|
+
*/
|
|
230
|
+
supporterPlanList?: null;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
GetHomeSummary: {
|
|
234
|
+
stream?: Interfaces.Stream;
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
GetSeriesList: {
|
|
238
|
+
seriesList: Interfaces.Series[];
|
|
239
|
+
pagination: Interfaces.Pagination;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
GetSeriesSummary: {
|
|
243
|
+
series: Interfaces.Series;
|
|
244
|
+
forum: Interfaces.Forum;
|
|
245
|
+
gameList: Interfaces.Game[];
|
|
246
|
+
moderatorList: Interfaces.SeriesModerator[];
|
|
247
|
+
theme: Interfaces.Theme;
|
|
248
|
+
threadList: Interfaces.Thread[];
|
|
249
|
+
userList: Interfaces.User[];
|
|
250
|
+
gameCount: number;
|
|
251
|
+
streamCount: number;
|
|
252
|
+
threadCount: number;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
GetGameLevelSummary: {
|
|
256
|
+
category: Interfaces.Category;
|
|
257
|
+
runList: Interfaces.GameRun[];
|
|
258
|
+
playerList: Interfaces.Player[];
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
GetGameRandom: {
|
|
262
|
+
game: Interfaces.Game;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
GetGuideList: {
|
|
266
|
+
guideList: Interfaces.Guide[];
|
|
267
|
+
users: Interfaces.User[];
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
GetGuide: {
|
|
271
|
+
guideList: Interfaces.Guide[];
|
|
272
|
+
users: Interfaces.User[];
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
GetNewsList: {
|
|
276
|
+
newsList: Interfaces.GameNews[];
|
|
277
|
+
users: Interfaces.User[];
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
GetNews: {
|
|
281
|
+
news: Interfaces.GameNews;
|
|
282
|
+
users: Interfaces.User[];
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
GetResource: {
|
|
286
|
+
resource: Interfaces.Resource;
|
|
287
|
+
game: Interfaces.Game[];
|
|
288
|
+
users: Interfaces.User[];
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
GetResourceList: {
|
|
292
|
+
resourceList: Interfaces.Resource[];
|
|
293
|
+
users: Interfaces.User[];
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
GetStreamList: {
|
|
297
|
+
gameList: Interfaces.Game[];
|
|
298
|
+
streamList: Interfaces.Stream[];
|
|
299
|
+
userList: Interfaces.User[];
|
|
300
|
+
pagination: Interfaces.Pagination;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
GetThread: {
|
|
304
|
+
thread: Interfaces.Thread;
|
|
305
|
+
commentList: Interfaces.Comment[];
|
|
306
|
+
userList: Interfaces.User[];
|
|
307
|
+
likeList: Interfaces.Like[];
|
|
308
|
+
pagination: Interfaces.Pagination;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
GetThreadList: {
|
|
312
|
+
threadList: Interfaces.Thread[];
|
|
313
|
+
pagination: Interfaces.Pagination;
|
|
314
|
+
users: Interfaces.User[];
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
GetThreadStateByCommentId: {
|
|
318
|
+
forum: Interfaces.Forum;
|
|
319
|
+
thread: Interfaces.Thread;
|
|
320
|
+
commentId: string;
|
|
321
|
+
pagination: Interfaces.Pagination;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
GetUserLeaderboard: {
|
|
325
|
+
categories: Interfaces.Category[];
|
|
326
|
+
games: Interfaces.Game[];
|
|
327
|
+
levels: Interfaces.Level[];
|
|
328
|
+
platforms: Interfaces.Platform[];
|
|
329
|
+
regions: Interfaces.Region[];
|
|
330
|
+
runs: Interfaces.GameRun[];
|
|
331
|
+
user: Interfaces.User;
|
|
332
|
+
userProfile: Interfaces.UserReducedProfile;
|
|
333
|
+
users: [];
|
|
334
|
+
players: Interfaces.Player[];
|
|
335
|
+
values: Interfaces.Value[];
|
|
336
|
+
variables: Interfaces.Variable[];
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Unused null key
|
|
340
|
+
*/
|
|
341
|
+
followedGameIds: null;
|
|
342
|
+
challengeList: Interfaces.Challenge[];
|
|
343
|
+
challengeRunList: Interfaces.GameRun[];
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
GetUserModeration: {
|
|
347
|
+
gameList: Interfaces.Game[];
|
|
348
|
+
gameModeratorList: Interfaces.GameModerator[];
|
|
349
|
+
platformList: Interfaces.Platform[];
|
|
350
|
+
seriesList: Interfaces.Series[];
|
|
351
|
+
seriesModeratorList: Interfaces.SeriesModerator[];
|
|
352
|
+
userGameModeratorStatsList: Interfaces.UserModerationStats[];
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
GetUserThreads: {
|
|
356
|
+
commentList: Interfaces.Comment[];
|
|
357
|
+
forumList: Interfaces.Forum[];
|
|
358
|
+
likeList: Interfaces.Like[];
|
|
359
|
+
threadList: Interfaces.Thread[];
|
|
360
|
+
userList: Interfaces.User[];
|
|
361
|
+
pagination: Interfaces.Pagination;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
// POST
|
|
365
|
+
|
|
366
|
+
GetAuditLogList: {
|
|
367
|
+
auditLogList: Interfaces.AuditLogEntry[];
|
|
368
|
+
userList: Interfaces.User[];
|
|
369
|
+
gameList: Interfaces.Game[];
|
|
370
|
+
categoryList: Interfaces.Category[];
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Array of `Level`s referenced in an Audit Log.
|
|
374
|
+
* When empty, this is `null`, not an empty array.
|
|
375
|
+
*/
|
|
376
|
+
levelList: Interfaces.Level[] | null;
|
|
377
|
+
variableList: Interfaces.Variable[];
|
|
378
|
+
valueList: Interfaces.Value[];
|
|
379
|
+
runList: Interfaces.GameRun[];
|
|
380
|
+
pagination: Interfaces.Pagination;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
GetCommentable: {
|
|
384
|
+
commentable: Interfaces.Commentable;
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
GetConversationMessages: {
|
|
388
|
+
conversation: Interfaces.Conversation;
|
|
389
|
+
participants: Interfaces.ConversationParticipant[];
|
|
390
|
+
messages: Interfaces.ConversationMessage[];
|
|
391
|
+
users: Interfaces.User[];
|
|
392
|
+
userBlocks: Interfaces.UserBlock[];
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
GetConversations: {
|
|
396
|
+
conversations: Interfaces.Conversation[];
|
|
397
|
+
participants: Interfaces.ConversationParticipant[];
|
|
398
|
+
users: Interfaces.User[];
|
|
399
|
+
systemMessages: Interfaces.SystemMessage[];
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
GetForumReadStatus: {
|
|
403
|
+
forumReadStatusList: Interfaces.ForumReadStatus[];
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
GetGameSettings: {
|
|
407
|
+
settings: Interfaces.GameSettings;
|
|
408
|
+
moderatorList: Interfaces.GameModerator[];
|
|
409
|
+
theme: Interfaces.Theme;
|
|
410
|
+
gameList: Interfaces.Game[];
|
|
411
|
+
userList: Interfaces.User[];
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
GetModerationGames: {
|
|
415
|
+
/**
|
|
416
|
+
* List of Games you moderate. `null` when not logged in.
|
|
417
|
+
*/
|
|
418
|
+
games: Interfaces.Game[] | null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* `GameModerationStats` of the games you moderate. `null` when not logged in.
|
|
422
|
+
*/
|
|
423
|
+
gameModerationStats: Interfaces.GameModerationStats[] | null;
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
GetModerationRuns: {
|
|
427
|
+
categories: Interfaces.Category[];
|
|
428
|
+
games: Interfaces.Game[];
|
|
429
|
+
levels: Interfaces.Level[];
|
|
430
|
+
pagination: Interfaces.Pagination;
|
|
431
|
+
platforms: Interfaces.Platform[];
|
|
432
|
+
players: Interfaces.Player[];
|
|
433
|
+
regions: Interfaces.Region[];
|
|
434
|
+
runs: Interfaces.GameRun[];
|
|
435
|
+
values: Interfaces.Value[];
|
|
436
|
+
variables: Interfaces.Variable[];
|
|
437
|
+
users: Interfaces.User[];
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
GetNotifications: {
|
|
441
|
+
unreadCount: number;
|
|
442
|
+
notifications: Interfaces.Notification[];
|
|
443
|
+
pagination: Interfaces.Pagination;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
GetRunSettings: {
|
|
447
|
+
settings: Interfaces.RunSettings;
|
|
448
|
+
users: Interfaces.User[];
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
GetSeriesSettings: {
|
|
452
|
+
settings: Interfaces.SeriesSettings;
|
|
453
|
+
moderatorList: Interfaces.SeriesModerator[];
|
|
454
|
+
gameList: Interfaces.Game[];
|
|
455
|
+
theme: Interfaces.Theme;
|
|
456
|
+
userList: Interfaces.User[];
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
GetSession: {
|
|
460
|
+
session: Interfaces.Session;
|
|
461
|
+
};
|
|
709
462
|
|
|
710
463
|
/**
|
|
711
|
-
*
|
|
464
|
+
* NB: if no theme is set then this response will be empty
|
|
712
465
|
*/
|
|
713
|
-
|
|
466
|
+
GetThemeSettings: {
|
|
467
|
+
settings?: Interfaces.ThemeSettings;
|
|
468
|
+
theme?: Interfaces.Theme;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
GetThreadReadStatus: {
|
|
472
|
+
threadReadStatusList: Interfaces.ThreadReadStatus[];
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
GetTickets: {
|
|
476
|
+
ticketList: Interfaces.Ticket[];
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Admins can see all notes, users can see messages here.
|
|
480
|
+
*/
|
|
481
|
+
ticketNoteList: Interfaces.TicketNote[];
|
|
482
|
+
pagination: Interfaces.Pagination;
|
|
483
|
+
userList: Interfaces.User[];
|
|
484
|
+
gameList: Interfaces.Game[];
|
|
485
|
+
userModCountList: Interfaces.UserCount[];
|
|
486
|
+
userRunCountList: Interfaces.UserCount[];
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
GetUserBlocks: {
|
|
490
|
+
userBlocks: Interfaces.UserBlock[];
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
GetUserSettings: {
|
|
494
|
+
settings: Interfaces.UserSettings;
|
|
495
|
+
gameFollowerList: Interfaces.GameFollower[];
|
|
496
|
+
gameModeratorList: Interfaces.GameModerator[];
|
|
497
|
+
notificationSettings: Interfaces.NotificationSetting[];
|
|
498
|
+
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
499
|
+
gameList: Interfaces.Game[];
|
|
500
|
+
themeList: Interfaces.Theme[];
|
|
501
|
+
titleList: Interfaces.Title[];
|
|
502
|
+
supporterCreditList: Interfaces.SupporterCredit[];
|
|
503
|
+
supporterCodeList: Interfaces.SupporterCode[];
|
|
504
|
+
supporterSubscription?: Interfaces.SupporterSubscription;
|
|
505
|
+
experimentList: any;
|
|
506
|
+
enabledExperimentIds: any;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
GetUserSupporterData: {
|
|
510
|
+
supporterEndDate: number;
|
|
511
|
+
boostEndDate: number;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
PutUserSupporterNewSubscription: {
|
|
515
|
+
subscription: Interfaces.SupporterSubscription;
|
|
516
|
+
paymentIntentClientSecret: string;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
PutAuthLogin: {
|
|
520
|
+
loggedIn: boolean;
|
|
521
|
+
tokenChallengeSent?: boolean;
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
/*PutAuthSignup: {
|
|
525
|
+
loggedIn: boolean;
|
|
526
|
+
tokenChallengeSent?: boolean;
|
|
527
|
+
};*/
|
|
528
|
+
|
|
529
|
+
PutConversation: {
|
|
530
|
+
ok: true;
|
|
531
|
+
conversationId: string;
|
|
532
|
+
messageId: string;
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
PutConversationMessage: {
|
|
536
|
+
ok: true;
|
|
537
|
+
conversationId: string;
|
|
538
|
+
messageId: string;
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
PutGame: {
|
|
542
|
+
game: Interfaces.Game;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
PutRunSettings: {
|
|
546
|
+
runId: string;
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
PutThread: {
|
|
550
|
+
thread: Interfaces.Thread;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
PutLike: {
|
|
554
|
+
likeList: Interfaces.Like[];
|
|
555
|
+
userList: Interfaces.User[];
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
PutTicket: {
|
|
559
|
+
ticketId: string;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
PutUserSettings: {
|
|
563
|
+
settings: Interfaces.UserSettings;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
GetUserApiKey: {
|
|
567
|
+
apiKey: string;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
GetUserFollowers: {
|
|
571
|
+
followerList: Interfaces.UserFollower;
|
|
572
|
+
userList: Interfaces.User;
|
|
573
|
+
pagination: Interfaces.Pagination;
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
GetUserFollowingGames: {
|
|
577
|
+
followerList: Interfaces.UserFollower;
|
|
578
|
+
gameList: Interfaces.Game;
|
|
579
|
+
pagination: Interfaces.Pagination;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
GetUserFollowingUsers: {
|
|
583
|
+
followerList: Interfaces.UserFollower;
|
|
584
|
+
userList: Interfaces.User;
|
|
585
|
+
pagination: Interfaces.Pagination;
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
GetUserGameBoostData: {
|
|
589
|
+
boostAvailableTokens: number;
|
|
590
|
+
boostDistinctGamesCount: number;
|
|
591
|
+
boostDistinctUsersCount: number;
|
|
592
|
+
boostEndDate: number;
|
|
593
|
+
boostGiftedCount: number;
|
|
594
|
+
boostLastTokenDate: number;
|
|
595
|
+
boostNextTokenAmount: number;
|
|
596
|
+
boostNextTokenDate: number;
|
|
597
|
+
boostReceivedCount: number;
|
|
598
|
+
gameBoostList: Interfaces.GameBoost[];
|
|
599
|
+
gameList: Interfaces.Game[];
|
|
600
|
+
isBoosted: boolean;
|
|
601
|
+
userList: Interfaces.User[];
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
GetUserDataExport: {
|
|
605
|
+
articleList: Interfaces.Article[];
|
|
606
|
+
commentList: Interfaces.Comment[];
|
|
607
|
+
conversationList: Interfaces.ConversationLightweight[];
|
|
608
|
+
gameFollowerList: Interfaces.GameFollower[];
|
|
609
|
+
guideList: Interfaces.Guide[];
|
|
610
|
+
likeList: Interfaces.Like[];
|
|
611
|
+
messageList: Interfaces.ConversationMessage[];
|
|
612
|
+
newsList: Interfaces.GameNews[];
|
|
613
|
+
resourceList: Interfaces.Resource[];
|
|
614
|
+
runList: Interfaces.GameRun[];
|
|
615
|
+
threadList: Interfaces.Thread[];
|
|
616
|
+
ticketList: Interfaces.Ticket[];
|
|
617
|
+
ticketNoteList: Interfaces.TicketNote[];
|
|
618
|
+
user: Interfaces.User;
|
|
619
|
+
userFollowerList: Interfaces.UserFollower[];
|
|
620
|
+
userSettings: Interfaces.UserSettings;
|
|
621
|
+
userSocialConnectionList: Interfaces.UserSocialConnection[];
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
PutUserUpdateEmail: {
|
|
625
|
+
emailChanged: boolean;
|
|
626
|
+
tokenChallengeSent?: boolean;
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
PutUserUpdateName: {
|
|
630
|
+
ok: true;
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
GetAnnouncementLatest: {
|
|
634
|
+
id: string;
|
|
635
|
+
title: string;
|
|
636
|
+
message: string;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Site subpath to a related article.
|
|
640
|
+
*/
|
|
641
|
+
link: string;
|
|
642
|
+
enabled: boolean;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* UNIX timestamp of when the announcement was created.
|
|
646
|
+
*/
|
|
647
|
+
createDate: number;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* UNIX timestamp of when the announcement was last updated.
|
|
651
|
+
*/
|
|
652
|
+
}
|
|
714
653
|
}
|