@rootaccessd/client 1.0.5

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/api.d.ts ADDED
@@ -0,0 +1,3391 @@
1
+ /**
2
+ * RootAccess CTF API
3
+ * This is the backend API for the RootAccess CTF Platform.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@rootaccess.live
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ export interface HandlersAdminTeamResponse {
17
+ 'avatar'?: string;
18
+ 'created_at'?: string;
19
+ 'description'?: string;
20
+ 'id'?: string;
21
+ 'invite_code'?: string;
22
+ 'leader_id'?: string;
23
+ 'leader_name'?: string;
24
+ 'member_count'?: number;
25
+ 'members'?: Array<HandlersTeamMemberInfo>;
26
+ 'name'?: string;
27
+ 'score'?: number;
28
+ 'updated_at'?: string;
29
+ }
30
+ export interface HandlersAdminUpdateTeamRequest {
31
+ 'description'?: string;
32
+ 'name'?: string;
33
+ }
34
+ export interface HandlersAdminUserResponse {
35
+ 'ban_reason'?: string;
36
+ 'created_at'?: string;
37
+ 'email'?: string;
38
+ 'email_verified'?: boolean;
39
+ 'id'?: string;
40
+ 'ip_history'?: object;
41
+ 'last_ip'?: string;
42
+ 'last_login_at'?: string;
43
+ 'oauth_provider'?: string;
44
+ 'role'?: string;
45
+ 'status'?: string;
46
+ 'team_id'?: string;
47
+ 'team_name'?: string;
48
+ 'updated_at'?: string;
49
+ 'username'?: string;
50
+ }
51
+ export interface HandlersBulkChallengeImport {
52
+ 'category'?: string;
53
+ 'decay'?: number;
54
+ 'description'?: string;
55
+ 'difficulty'?: string;
56
+ 'files'?: Array<string>;
57
+ 'flag'?: string;
58
+ 'max_points'?: number;
59
+ 'min_points'?: number;
60
+ 'scoring_type'?: string;
61
+ 'tags'?: Array<string>;
62
+ 'title'?: string;
63
+ }
64
+ export interface HandlersCategoryStats {
65
+ 'category'?: string;
66
+ 'solve_count'?: number;
67
+ 'total_points'?: number;
68
+ }
69
+ export interface HandlersChallengePublicResponse {
70
+ 'category'?: string;
71
+ 'current_points'?: number;
72
+ 'description'?: string;
73
+ 'description_format'?: string;
74
+ 'difficulty'?: string;
75
+ 'files'?: Array<string>;
76
+ 'hint_count'?: number;
77
+ 'id'?: string;
78
+ 'max_points'?: number;
79
+ 'scoring_type'?: string;
80
+ 'solve_count'?: number;
81
+ 'tags'?: Array<string>;
82
+ 'title'?: string;
83
+ }
84
+ export interface HandlersCreateNotificationRequest {
85
+ 'content': string;
86
+ 'title': string;
87
+ /**
88
+ * info, warning, success, error
89
+ */
90
+ 'type': string;
91
+ }
92
+ export interface HandlersCreateTeamRequest {
93
+ 'description'?: string;
94
+ 'name': string;
95
+ }
96
+ export interface HandlersCreateWriteupRequest {
97
+ 'content': string;
98
+ /**
99
+ * \"markdown\" or \"html\"
100
+ */
101
+ 'content_format'?: string;
102
+ }
103
+ export interface HandlersExportChallenge {
104
+ 'category'?: string;
105
+ 'decay'?: number;
106
+ 'description'?: string;
107
+ 'difficulty'?: string;
108
+ 'files'?: Array<string>;
109
+ 'max_points'?: number;
110
+ 'min_points'?: number;
111
+ 'scoring_type'?: string;
112
+ 'tags'?: Array<string>;
113
+ 'title'?: string;
114
+ }
115
+ export interface HandlersInviteByEmailRequest {
116
+ 'email': string;
117
+ }
118
+ export interface HandlersInviteByUsernameRequest {
119
+ 'username': string;
120
+ }
121
+ export interface HandlersJoinByCodeRequest {
122
+ 'invite_code': string;
123
+ }
124
+ export interface HandlersLoginRequest {
125
+ 'password': string;
126
+ 'username': string;
127
+ }
128
+ export interface HandlersRegisterRequest {
129
+ 'email': string;
130
+ 'password': string;
131
+ 'username': string;
132
+ }
133
+ export interface HandlersResendVerificationRequest {
134
+ 'email': string;
135
+ }
136
+ export interface HandlersSolvedChallenge {
137
+ 'category'?: string;
138
+ 'difficulty'?: string;
139
+ 'id'?: string;
140
+ 'points'?: number;
141
+ 'solved_at'?: string;
142
+ 'title'?: string;
143
+ }
144
+ export interface HandlersSubmitFlagRequest {
145
+ 'flag': string;
146
+ }
147
+ export interface HandlersTeamMemberInfo {
148
+ 'email'?: string;
149
+ 'id'?: string;
150
+ 'is_leader'?: boolean;
151
+ 'username'?: string;
152
+ }
153
+ export interface HandlersUpdateContestRequest {
154
+ 'end_time': string;
155
+ 'freeze_time'?: string;
156
+ 'is_active'?: boolean;
157
+ 'is_paused'?: boolean;
158
+ 'scoreboard_visibility'?: string;
159
+ 'start_time': string;
160
+ 'title': string;
161
+ }
162
+ export interface HandlersUpdateNotificationRequest {
163
+ 'content': string;
164
+ 'is_active'?: boolean;
165
+ 'title': string;
166
+ 'type': string;
167
+ }
168
+ export interface HandlersUpdateTeamLeaderRequest {
169
+ 'new_leader_id': string;
170
+ }
171
+ export interface HandlersUpdateTeamRequest {
172
+ 'description'?: string;
173
+ 'name': string;
174
+ }
175
+ export interface HandlersUpdateUserRoleRequest {
176
+ 'role': string;
177
+ }
178
+ export interface HandlersUpdateUserStatusRequest {
179
+ 'ban_reason'?: string;
180
+ 'status': string;
181
+ }
182
+ export interface HandlersUpdateWriteupStatusRequest {
183
+ 'status': string;
184
+ }
185
+ export interface HandlersUserProfileResponse {
186
+ 'category_stats'?: Array<HandlersCategoryStats>;
187
+ 'joined_at'?: string;
188
+ 'solve_count'?: number;
189
+ 'solved_challenges'?: Array<HandlersSolvedChallenge>;
190
+ 'team_id'?: string;
191
+ 'team_name'?: string;
192
+ 'total_points'?: number;
193
+ 'total_submissions'?: number;
194
+ 'username'?: string;
195
+ }
196
+ export interface HandlersVerifyEmailRequest {
197
+ 'token': string;
198
+ }
199
+ export interface ModelsAchievement {
200
+ 'category'?: string;
201
+ 'challenge_id'?: string;
202
+ 'description'?: string;
203
+ 'earned_at'?: string;
204
+ 'icon'?: string;
205
+ 'id'?: string;
206
+ 'name'?: string;
207
+ 'team_id'?: string;
208
+ 'type'?: string;
209
+ 'user_id'?: string;
210
+ }
211
+ export interface ModelsAdminAnalytics {
212
+ /**
213
+ * Enhanced statistics
214
+ */
215
+ 'active_users'?: number;
216
+ 'admin_count'?: number;
217
+ 'average_team_size'?: number;
218
+ 'banned_users'?: number;
219
+ 'category_breakdown'?: {
220
+ [key: string]: number;
221
+ };
222
+ 'challenge_popularity'?: Array<ModelsChallengePopularity>;
223
+ 'difficulty_breakdown'?: {
224
+ [key: string]: number;
225
+ };
226
+ 'new_teams_this_week'?: number;
227
+ 'new_teams_today'?: number;
228
+ 'new_users_this_week'?: number;
229
+ 'new_users_today'?: number;
230
+ 'recent_activity'?: Array<ModelsRecentActivityEntry>;
231
+ 'solves_over_time'?: Array<ModelsTimeSeriesEntry>;
232
+ 'solves_today'?: number;
233
+ 'submissions_today'?: number;
234
+ 'success_rate'?: number;
235
+ 'team_growth'?: Array<ModelsTimeSeriesEntry>;
236
+ 'top_teams'?: Array<ModelsTeamStats>;
237
+ 'top_users'?: Array<ModelsUserStats>;
238
+ 'total_challenges'?: number;
239
+ 'total_correct'?: number;
240
+ 'total_submissions'?: number;
241
+ 'total_teams'?: number;
242
+ 'total_users'?: number;
243
+ 'user_growth'?: Array<ModelsTimeSeriesEntry>;
244
+ 'verified_users'?: number;
245
+ }
246
+ export interface ModelsCategoryStat {
247
+ 'points'?: number;
248
+ 'solved'?: number;
249
+ 'total'?: number;
250
+ }
251
+ export interface ModelsChallengePopularity {
252
+ 'attempt_count'?: number;
253
+ 'category'?: string;
254
+ 'challenge_id'?: string;
255
+ 'solve_count'?: number;
256
+ 'success_rate'?: number;
257
+ 'title'?: string;
258
+ }
259
+ export interface ModelsNotification {
260
+ 'content'?: string;
261
+ 'created_at'?: string;
262
+ 'created_by'?: string;
263
+ 'id'?: string;
264
+ 'is_active'?: boolean;
265
+ 'title'?: string;
266
+ /**
267
+ * \"info\", \"warning\", \"success\", \"error\"
268
+ */
269
+ 'type'?: string;
270
+ }
271
+ export interface ModelsRecentActivityEntry {
272
+ 'action'?: string;
273
+ 'challenge_id'?: string;
274
+ 'challenge_name'?: string;
275
+ 'timestamp'?: string;
276
+ 'user_id'?: string;
277
+ 'username'?: string;
278
+ }
279
+ export interface ModelsSolveEntry {
280
+ 'category'?: string;
281
+ 'challenge_id'?: string;
282
+ 'challenge_title'?: string;
283
+ 'points'?: number;
284
+ 'solved_at'?: string;
285
+ }
286
+ export interface ModelsTeamInvitation {
287
+ 'created_at'?: string;
288
+ 'expires_at'?: string;
289
+ 'id'?: string;
290
+ 'invitee_email'?: string;
291
+ 'invitee_user_id'?: string;
292
+ 'inviter_id'?: string;
293
+ 'inviter_name'?: string;
294
+ /**
295
+ * pending, accepted, rejected, expired
296
+ */
297
+ 'status'?: string;
298
+ 'team_id'?: string;
299
+ 'team_name'?: string;
300
+ 'token'?: string;
301
+ }
302
+ export interface ModelsTeamStats {
303
+ 'member_count'?: number;
304
+ 'name'?: string;
305
+ 'score'?: number;
306
+ 'solve_count'?: number;
307
+ 'team_id'?: string;
308
+ }
309
+ export interface ModelsTimeSeriesEntry {
310
+ 'count'?: number;
311
+ 'date'?: string;
312
+ }
313
+ export interface ModelsUserActivity {
314
+ 'achievements'?: Array<ModelsAchievement>;
315
+ 'category_progress'?: {
316
+ [key: string]: ModelsCategoryStat;
317
+ };
318
+ 'rank'?: number;
319
+ 'recent_solves'?: Array<ModelsSolveEntry>;
320
+ 'solve_streak'?: number;
321
+ 'total_points'?: number;
322
+ 'total_solves'?: number;
323
+ 'user_id'?: string;
324
+ 'username'?: string;
325
+ }
326
+ export interface ModelsUserStats {
327
+ 'score'?: number;
328
+ 'solve_count'?: number;
329
+ 'user_id'?: string;
330
+ 'username'?: string;
331
+ }
332
+ export interface ModelsWriteup {
333
+ 'challenge_id'?: string;
334
+ /**
335
+ * Content (Markdown or HTML)
336
+ */
337
+ 'content'?: string;
338
+ /**
339
+ * \"markdown\" or \"html\"
340
+ */
341
+ 'content_format'?: string;
342
+ 'created_at'?: string;
343
+ 'id'?: string;
344
+ /**
345
+ * pending, approved, rejected
346
+ */
347
+ 'status'?: string;
348
+ 'updated_at'?: string;
349
+ 'upvoted_by'?: Array<string>;
350
+ 'upvotes'?: number;
351
+ 'user_id'?: string;
352
+ 'username'?: string;
353
+ }
354
+ export interface ServicesHintResponse {
355
+ /**
356
+ * Only set if revealed
357
+ */
358
+ 'content'?: string;
359
+ 'cost'?: number;
360
+ 'id'?: string;
361
+ 'order'?: number;
362
+ 'revealed'?: boolean;
363
+ }
364
+ export interface ServicesUserScore {
365
+ 'score'?: number;
366
+ 'team_name'?: string;
367
+ 'username'?: string;
368
+ }
369
+ /**
370
+ * AchievementsApi - axios parameter creator
371
+ */
372
+ export declare const AchievementsApiAxiosParamCreator: (configuration?: Configuration) => {
373
+ /**
374
+ * Retrieve all achievements earned by the authenticated user.
375
+ * @summary Get user achievements
376
+ * @param {*} [options] Override http request option.
377
+ * @throws {RequiredError}
378
+ */
379
+ achievementsMeGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
380
+ };
381
+ /**
382
+ * AchievementsApi - functional programming interface
383
+ */
384
+ export declare const AchievementsApiFp: (configuration?: Configuration) => {
385
+ /**
386
+ * Retrieve all achievements earned by the authenticated user.
387
+ * @summary Get user achievements
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ achievementsMeGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsAchievement>>>;
392
+ };
393
+ /**
394
+ * AchievementsApi - factory interface
395
+ */
396
+ export declare const AchievementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
397
+ /**
398
+ * Retrieve all achievements earned by the authenticated user.
399
+ * @summary Get user achievements
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ achievementsMeGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsAchievement>>;
404
+ };
405
+ /**
406
+ * AchievementsApi - object-oriented interface
407
+ */
408
+ export declare class AchievementsApi extends BaseAPI {
409
+ /**
410
+ * Retrieve all achievements earned by the authenticated user.
411
+ * @summary Get user achievements
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ */
415
+ achievementsMeGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsAchievement[], any, {}>>;
416
+ }
417
+ /**
418
+ * ActivityApi - axios parameter creator
419
+ */
420
+ export declare const ActivityApiAxiosParamCreator: (configuration?: Configuration) => {
421
+ /**
422
+ * Retrieve activity statistics, solve history, and progress for the authenticated user.
423
+ * @summary Get user activity
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ activityMeGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
428
+ };
429
+ /**
430
+ * ActivityApi - functional programming interface
431
+ */
432
+ export declare const ActivityApiFp: (configuration?: Configuration) => {
433
+ /**
434
+ * Retrieve activity statistics, solve history, and progress for the authenticated user.
435
+ * @summary Get user activity
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ activityMeGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsUserActivity>>;
440
+ };
441
+ /**
442
+ * ActivityApi - factory interface
443
+ */
444
+ export declare const ActivityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
445
+ /**
446
+ * Retrieve activity statistics, solve history, and progress for the authenticated user.
447
+ * @summary Get user activity
448
+ * @param {*} [options] Override http request option.
449
+ * @throws {RequiredError}
450
+ */
451
+ activityMeGet(options?: RawAxiosRequestConfig): AxiosPromise<ModelsUserActivity>;
452
+ };
453
+ /**
454
+ * ActivityApi - object-oriented interface
455
+ */
456
+ export declare class ActivityApi extends BaseAPI {
457
+ /**
458
+ * Retrieve activity statistics, solve history, and progress for the authenticated user.
459
+ * @summary Get user activity
460
+ * @param {*} [options] Override http request option.
461
+ * @throws {RequiredError}
462
+ */
463
+ activityMeGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsUserActivity, any, {}>>;
464
+ }
465
+ /**
466
+ * AdminChallengesApi - axios parameter creator
467
+ */
468
+ export declare const AdminChallengesApiAxiosParamCreator: (configuration?: Configuration) => {
469
+ /**
470
+ * Retrieve all challenges in a format suitable for bulk import.
471
+ * @summary Export all challenges
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ adminChallengesExportGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
476
+ /**
477
+ * Create a copy of an existing challenge.
478
+ * @summary Duplicate a challenge
479
+ * @param {string} id Challenge ID
480
+ * @param {*} [options] Override http request option.
481
+ * @throws {RequiredError}
482
+ */
483
+ adminChallengesIdDuplicatePost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
484
+ /**
485
+ * Create multiple challenges at once from a JSON array.
486
+ * @summary Import challenges in bulk
487
+ * @param {Array<HandlersBulkChallengeImport>} request List of challenges to import
488
+ * @param {*} [options] Override http request option.
489
+ * @throws {RequiredError}
490
+ */
491
+ adminChallengesImportPost: (request: Array<HandlersBulkChallengeImport>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
492
+ };
493
+ /**
494
+ * AdminChallengesApi - functional programming interface
495
+ */
496
+ export declare const AdminChallengesApiFp: (configuration?: Configuration) => {
497
+ /**
498
+ * Retrieve all challenges in a format suitable for bulk import.
499
+ * @summary Export all challenges
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ */
503
+ adminChallengesExportGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HandlersExportChallenge>>>;
504
+ /**
505
+ * Create a copy of an existing challenge.
506
+ * @summary Duplicate a challenge
507
+ * @param {string} id Challenge ID
508
+ * @param {*} [options] Override http request option.
509
+ * @throws {RequiredError}
510
+ */
511
+ adminChallengesIdDuplicatePost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
512
+ [key: string]: string;
513
+ }>>;
514
+ /**
515
+ * Create multiple challenges at once from a JSON array.
516
+ * @summary Import challenges in bulk
517
+ * @param {Array<HandlersBulkChallengeImport>} request List of challenges to import
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ adminChallengesImportPost(request: Array<HandlersBulkChallengeImport>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
522
+ [key: string]: any;
523
+ }>>;
524
+ };
525
+ /**
526
+ * AdminChallengesApi - factory interface
527
+ */
528
+ export declare const AdminChallengesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
529
+ /**
530
+ * Retrieve all challenges in a format suitable for bulk import.
531
+ * @summary Export all challenges
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ adminChallengesExportGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<HandlersExportChallenge>>;
536
+ /**
537
+ * Create a copy of an existing challenge.
538
+ * @summary Duplicate a challenge
539
+ * @param {string} id Challenge ID
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ adminChallengesIdDuplicatePost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
544
+ [key: string]: string;
545
+ }>;
546
+ /**
547
+ * Create multiple challenges at once from a JSON array.
548
+ * @summary Import challenges in bulk
549
+ * @param {Array<HandlersBulkChallengeImport>} request List of challenges to import
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ adminChallengesImportPost(request: Array<HandlersBulkChallengeImport>, options?: RawAxiosRequestConfig): AxiosPromise<{
554
+ [key: string]: any;
555
+ }>;
556
+ };
557
+ /**
558
+ * AdminChallengesApi - object-oriented interface
559
+ */
560
+ export declare class AdminChallengesApi extends BaseAPI {
561
+ /**
562
+ * Retrieve all challenges in a format suitable for bulk import.
563
+ * @summary Export all challenges
564
+ * @param {*} [options] Override http request option.
565
+ * @throws {RequiredError}
566
+ */
567
+ adminChallengesExportGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersExportChallenge[], any, {}>>;
568
+ /**
569
+ * Create a copy of an existing challenge.
570
+ * @summary Duplicate a challenge
571
+ * @param {string} id Challenge ID
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ */
575
+ adminChallengesIdDuplicatePost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
576
+ [key: string]: string;
577
+ }, any, {}>>;
578
+ /**
579
+ * Create multiple challenges at once from a JSON array.
580
+ * @summary Import challenges in bulk
581
+ * @param {Array<HandlersBulkChallengeImport>} request List of challenges to import
582
+ * @param {*} [options] Override http request option.
583
+ * @throws {RequiredError}
584
+ */
585
+ adminChallengesImportPost(request: Array<HandlersBulkChallengeImport>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
586
+ [key: string]: any;
587
+ }, any, {}>>;
588
+ }
589
+ /**
590
+ * AdminContestApi - axios parameter creator
591
+ */
592
+ export declare const AdminContestApiAxiosParamCreator: (configuration?: Configuration) => {
593
+ /**
594
+ * Retrieve the full contest configuration for administrative purposes.
595
+ * @summary Get contest configuration
596
+ * @param {*} [options] Override http request option.
597
+ * @throws {RequiredError}
598
+ */
599
+ adminContestGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
600
+ /**
601
+ * Update the global contest timing and visibility settings.
602
+ * @summary Update contest configuration
603
+ * @param {HandlersUpdateContestRequest} request Contest configuration
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ adminContestPut: (request: HandlersUpdateContestRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
608
+ };
609
+ /**
610
+ * AdminContestApi - functional programming interface
611
+ */
612
+ export declare const AdminContestApiFp: (configuration?: Configuration) => {
613
+ /**
614
+ * Retrieve the full contest configuration for administrative purposes.
615
+ * @summary Get contest configuration
616
+ * @param {*} [options] Override http request option.
617
+ * @throws {RequiredError}
618
+ */
619
+ adminContestGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
620
+ [key: string]: any;
621
+ }>>;
622
+ /**
623
+ * Update the global contest timing and visibility settings.
624
+ * @summary Update contest configuration
625
+ * @param {HandlersUpdateContestRequest} request Contest configuration
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ adminContestPut(request: HandlersUpdateContestRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
630
+ [key: string]: any;
631
+ }>>;
632
+ };
633
+ /**
634
+ * AdminContestApi - factory interface
635
+ */
636
+ export declare const AdminContestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
637
+ /**
638
+ * Retrieve the full contest configuration for administrative purposes.
639
+ * @summary Get contest configuration
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ adminContestGet(options?: RawAxiosRequestConfig): AxiosPromise<{
644
+ [key: string]: any;
645
+ }>;
646
+ /**
647
+ * Update the global contest timing and visibility settings.
648
+ * @summary Update contest configuration
649
+ * @param {HandlersUpdateContestRequest} request Contest configuration
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ adminContestPut(request: HandlersUpdateContestRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
654
+ [key: string]: any;
655
+ }>;
656
+ };
657
+ /**
658
+ * AdminContestApi - object-oriented interface
659
+ */
660
+ export declare class AdminContestApi extends BaseAPI {
661
+ /**
662
+ * Retrieve the full contest configuration for administrative purposes.
663
+ * @summary Get contest configuration
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ adminContestGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
668
+ [key: string]: any;
669
+ }, any, {}>>;
670
+ /**
671
+ * Update the global contest timing and visibility settings.
672
+ * @summary Update contest configuration
673
+ * @param {HandlersUpdateContestRequest} request Contest configuration
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ adminContestPut(request: HandlersUpdateContestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
678
+ [key: string]: any;
679
+ }, any, {}>>;
680
+ }
681
+ /**
682
+ * AdminNotificationsApi - axios parameter creator
683
+ */
684
+ export declare const AdminNotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
685
+ /**
686
+ * Retrieve all notifications, including inactive ones.
687
+ * @summary Get all notifications
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ adminNotificationsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
692
+ /**
693
+ * Permanently delete a notification.
694
+ * @summary Delete notification
695
+ * @param {string} id Notification ID
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ */
699
+ adminNotificationsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
700
+ /**
701
+ * Update an existing notification\'s details or status.
702
+ * @summary Update notification
703
+ * @param {string} id Notification ID
704
+ * @param {HandlersUpdateNotificationRequest} request Updated notification details
705
+ * @param {*} [options] Override http request option.
706
+ * @throws {RequiredError}
707
+ */
708
+ adminNotificationsIdPut: (id: string, request: HandlersUpdateNotificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
709
+ /**
710
+ * Switch a notification between active and inactive.
711
+ * @summary Toggle notification status
712
+ * @param {string} id Notification ID
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ adminNotificationsIdTogglePost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
717
+ /**
718
+ * Create a new platform-wide notification.
719
+ * @summary Create notification
720
+ * @param {HandlersCreateNotificationRequest} request Notification details
721
+ * @param {*} [options] Override http request option.
722
+ * @throws {RequiredError}
723
+ */
724
+ adminNotificationsPost: (request: HandlersCreateNotificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
725
+ };
726
+ /**
727
+ * AdminNotificationsApi - functional programming interface
728
+ */
729
+ export declare const AdminNotificationsApiFp: (configuration?: Configuration) => {
730
+ /**
731
+ * Retrieve all notifications, including inactive ones.
732
+ * @summary Get all notifications
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ */
736
+ adminNotificationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsNotification>>>;
737
+ /**
738
+ * Permanently delete a notification.
739
+ * @summary Delete notification
740
+ * @param {string} id Notification ID
741
+ * @param {*} [options] Override http request option.
742
+ * @throws {RequiredError}
743
+ */
744
+ adminNotificationsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
745
+ [key: string]: string;
746
+ }>>;
747
+ /**
748
+ * Update an existing notification\'s details or status.
749
+ * @summary Update notification
750
+ * @param {string} id Notification ID
751
+ * @param {HandlersUpdateNotificationRequest} request Updated notification details
752
+ * @param {*} [options] Override http request option.
753
+ * @throws {RequiredError}
754
+ */
755
+ adminNotificationsIdPut(id: string, request: HandlersUpdateNotificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
756
+ [key: string]: string;
757
+ }>>;
758
+ /**
759
+ * Switch a notification between active and inactive.
760
+ * @summary Toggle notification status
761
+ * @param {string} id Notification ID
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ adminNotificationsIdTogglePost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
766
+ [key: string]: string;
767
+ }>>;
768
+ /**
769
+ * Create a new platform-wide notification.
770
+ * @summary Create notification
771
+ * @param {HandlersCreateNotificationRequest} request Notification details
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ */
775
+ adminNotificationsPost(request: HandlersCreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
776
+ [key: string]: any;
777
+ }>>;
778
+ };
779
+ /**
780
+ * AdminNotificationsApi - factory interface
781
+ */
782
+ export declare const AdminNotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
783
+ /**
784
+ * Retrieve all notifications, including inactive ones.
785
+ * @summary Get all notifications
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ adminNotificationsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsNotification>>;
790
+ /**
791
+ * Permanently delete a notification.
792
+ * @summary Delete notification
793
+ * @param {string} id Notification ID
794
+ * @param {*} [options] Override http request option.
795
+ * @throws {RequiredError}
796
+ */
797
+ adminNotificationsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
798
+ [key: string]: string;
799
+ }>;
800
+ /**
801
+ * Update an existing notification\'s details or status.
802
+ * @summary Update notification
803
+ * @param {string} id Notification ID
804
+ * @param {HandlersUpdateNotificationRequest} request Updated notification details
805
+ * @param {*} [options] Override http request option.
806
+ * @throws {RequiredError}
807
+ */
808
+ adminNotificationsIdPut(id: string, request: HandlersUpdateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
809
+ [key: string]: string;
810
+ }>;
811
+ /**
812
+ * Switch a notification between active and inactive.
813
+ * @summary Toggle notification status
814
+ * @param {string} id Notification ID
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ adminNotificationsIdTogglePost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
819
+ [key: string]: string;
820
+ }>;
821
+ /**
822
+ * Create a new platform-wide notification.
823
+ * @summary Create notification
824
+ * @param {HandlersCreateNotificationRequest} request Notification details
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ */
828
+ adminNotificationsPost(request: HandlersCreateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
829
+ [key: string]: any;
830
+ }>;
831
+ };
832
+ /**
833
+ * AdminNotificationsApi - object-oriented interface
834
+ */
835
+ export declare class AdminNotificationsApi extends BaseAPI {
836
+ /**
837
+ * Retrieve all notifications, including inactive ones.
838
+ * @summary Get all notifications
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ */
842
+ adminNotificationsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsNotification[], any, {}>>;
843
+ /**
844
+ * Permanently delete a notification.
845
+ * @summary Delete notification
846
+ * @param {string} id Notification ID
847
+ * @param {*} [options] Override http request option.
848
+ * @throws {RequiredError}
849
+ */
850
+ adminNotificationsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
851
+ [key: string]: string;
852
+ }, any, {}>>;
853
+ /**
854
+ * Update an existing notification\'s details or status.
855
+ * @summary Update notification
856
+ * @param {string} id Notification ID
857
+ * @param {HandlersUpdateNotificationRequest} request Updated notification details
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ adminNotificationsIdPut(id: string, request: HandlersUpdateNotificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
862
+ [key: string]: string;
863
+ }, any, {}>>;
864
+ /**
865
+ * Switch a notification between active and inactive.
866
+ * @summary Toggle notification status
867
+ * @param {string} id Notification ID
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ adminNotificationsIdTogglePost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
872
+ [key: string]: string;
873
+ }, any, {}>>;
874
+ /**
875
+ * Create a new platform-wide notification.
876
+ * @summary Create notification
877
+ * @param {HandlersCreateNotificationRequest} request Notification details
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ adminNotificationsPost(request: HandlersCreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
882
+ [key: string]: any;
883
+ }, any, {}>>;
884
+ }
885
+ /**
886
+ * AdminTeamsApi - axios parameter creator
887
+ */
888
+ export declare const AdminTeamsApiAxiosParamCreator: (configuration?: Configuration) => {
889
+ /**
890
+ * Retrieve a list of all teams with detailed administrative information.
891
+ * @summary List all teams
892
+ * @param {*} [options] Override http request option.
893
+ * @throws {RequiredError}
894
+ */
895
+ adminTeamsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
896
+ /**
897
+ * Permanently delete a team and all its invitations.
898
+ * @summary Delete team (admin)
899
+ * @param {string} id Team ID
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ */
903
+ adminTeamsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
904
+ /**
905
+ * Retrieve detailed information about a specific team by its ID.
906
+ * @summary Get team (admin)
907
+ * @param {string} id Team ID
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ adminTeamsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
912
+ /**
913
+ * Transfer team leadership to another member of the team.
914
+ * @summary Change team leader
915
+ * @param {string} id Team ID
916
+ * @param {HandlersUpdateTeamLeaderRequest} request New leader details
917
+ * @param {*} [options] Override http request option.
918
+ * @throws {RequiredError}
919
+ */
920
+ adminTeamsIdLeaderPut: (id: string, request: HandlersUpdateTeamLeaderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
921
+ /**
922
+ * Remove a member from a team. The leader cannot be removed.
923
+ * @summary Remove team member (admin)
924
+ * @param {string} id Team ID
925
+ * @param {string} memberId Member ID to remove
926
+ * @param {*} [options] Override http request option.
927
+ * @throws {RequiredError}
928
+ */
929
+ adminTeamsIdMembersMemberIdDelete: (id: string, memberId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
930
+ /**
931
+ * Update a team\'s name or description.
932
+ * @summary Update team (admin)
933
+ * @param {string} id Team ID
934
+ * @param {HandlersAdminUpdateTeamRequest} request Team details
935
+ * @param {*} [options] Override http request option.
936
+ * @throws {RequiredError}
937
+ */
938
+ adminTeamsIdPut: (id: string, request: HandlersAdminUpdateTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
939
+ };
940
+ /**
941
+ * AdminTeamsApi - functional programming interface
942
+ */
943
+ export declare const AdminTeamsApiFp: (configuration?: Configuration) => {
944
+ /**
945
+ * Retrieve a list of all teams with detailed administrative information.
946
+ * @summary List all teams
947
+ * @param {*} [options] Override http request option.
948
+ * @throws {RequiredError}
949
+ */
950
+ adminTeamsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HandlersAdminTeamResponse>>>;
951
+ /**
952
+ * Permanently delete a team and all its invitations.
953
+ * @summary Delete team (admin)
954
+ * @param {string} id Team ID
955
+ * @param {*} [options] Override http request option.
956
+ * @throws {RequiredError}
957
+ */
958
+ adminTeamsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
959
+ [key: string]: string;
960
+ }>>;
961
+ /**
962
+ * Retrieve detailed information about a specific team by its ID.
963
+ * @summary Get team (admin)
964
+ * @param {string} id Team ID
965
+ * @param {*} [options] Override http request option.
966
+ * @throws {RequiredError}
967
+ */
968
+ adminTeamsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersAdminTeamResponse>>;
969
+ /**
970
+ * Transfer team leadership to another member of the team.
971
+ * @summary Change team leader
972
+ * @param {string} id Team ID
973
+ * @param {HandlersUpdateTeamLeaderRequest} request New leader details
974
+ * @param {*} [options] Override http request option.
975
+ * @throws {RequiredError}
976
+ */
977
+ adminTeamsIdLeaderPut(id: string, request: HandlersUpdateTeamLeaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
978
+ [key: string]: string;
979
+ }>>;
980
+ /**
981
+ * Remove a member from a team. The leader cannot be removed.
982
+ * @summary Remove team member (admin)
983
+ * @param {string} id Team ID
984
+ * @param {string} memberId Member ID to remove
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ adminTeamsIdMembersMemberIdDelete(id: string, memberId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
989
+ [key: string]: string;
990
+ }>>;
991
+ /**
992
+ * Update a team\'s name or description.
993
+ * @summary Update team (admin)
994
+ * @param {string} id Team ID
995
+ * @param {HandlersAdminUpdateTeamRequest} request Team details
996
+ * @param {*} [options] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ adminTeamsIdPut(id: string, request: HandlersAdminUpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1000
+ [key: string]: string;
1001
+ }>>;
1002
+ };
1003
+ /**
1004
+ * AdminTeamsApi - factory interface
1005
+ */
1006
+ export declare const AdminTeamsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1007
+ /**
1008
+ * Retrieve a list of all teams with detailed administrative information.
1009
+ * @summary List all teams
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ */
1013
+ adminTeamsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<HandlersAdminTeamResponse>>;
1014
+ /**
1015
+ * Permanently delete a team and all its invitations.
1016
+ * @summary Delete team (admin)
1017
+ * @param {string} id Team ID
1018
+ * @param {*} [options] Override http request option.
1019
+ * @throws {RequiredError}
1020
+ */
1021
+ adminTeamsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
1022
+ [key: string]: string;
1023
+ }>;
1024
+ /**
1025
+ * Retrieve detailed information about a specific team by its ID.
1026
+ * @summary Get team (admin)
1027
+ * @param {string} id Team ID
1028
+ * @param {*} [options] Override http request option.
1029
+ * @throws {RequiredError}
1030
+ */
1031
+ adminTeamsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HandlersAdminTeamResponse>;
1032
+ /**
1033
+ * Transfer team leadership to another member of the team.
1034
+ * @summary Change team leader
1035
+ * @param {string} id Team ID
1036
+ * @param {HandlersUpdateTeamLeaderRequest} request New leader details
1037
+ * @param {*} [options] Override http request option.
1038
+ * @throws {RequiredError}
1039
+ */
1040
+ adminTeamsIdLeaderPut(id: string, request: HandlersUpdateTeamLeaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1041
+ [key: string]: string;
1042
+ }>;
1043
+ /**
1044
+ * Remove a member from a team. The leader cannot be removed.
1045
+ * @summary Remove team member (admin)
1046
+ * @param {string} id Team ID
1047
+ * @param {string} memberId Member ID to remove
1048
+ * @param {*} [options] Override http request option.
1049
+ * @throws {RequiredError}
1050
+ */
1051
+ adminTeamsIdMembersMemberIdDelete(id: string, memberId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
1052
+ [key: string]: string;
1053
+ }>;
1054
+ /**
1055
+ * Update a team\'s name or description.
1056
+ * @summary Update team (admin)
1057
+ * @param {string} id Team ID
1058
+ * @param {HandlersAdminUpdateTeamRequest} request Team details
1059
+ * @param {*} [options] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ */
1062
+ adminTeamsIdPut(id: string, request: HandlersAdminUpdateTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1063
+ [key: string]: string;
1064
+ }>;
1065
+ };
1066
+ /**
1067
+ * AdminTeamsApi - object-oriented interface
1068
+ */
1069
+ export declare class AdminTeamsApi extends BaseAPI {
1070
+ /**
1071
+ * Retrieve a list of all teams with detailed administrative information.
1072
+ * @summary List all teams
1073
+ * @param {*} [options] Override http request option.
1074
+ * @throws {RequiredError}
1075
+ */
1076
+ adminTeamsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersAdminTeamResponse[], any, {}>>;
1077
+ /**
1078
+ * Permanently delete a team and all its invitations.
1079
+ * @summary Delete team (admin)
1080
+ * @param {string} id Team ID
1081
+ * @param {*} [options] Override http request option.
1082
+ * @throws {RequiredError}
1083
+ */
1084
+ adminTeamsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1085
+ [key: string]: string;
1086
+ }, any, {}>>;
1087
+ /**
1088
+ * Retrieve detailed information about a specific team by its ID.
1089
+ * @summary Get team (admin)
1090
+ * @param {string} id Team ID
1091
+ * @param {*} [options] Override http request option.
1092
+ * @throws {RequiredError}
1093
+ */
1094
+ adminTeamsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersAdminTeamResponse, any, {}>>;
1095
+ /**
1096
+ * Transfer team leadership to another member of the team.
1097
+ * @summary Change team leader
1098
+ * @param {string} id Team ID
1099
+ * @param {HandlersUpdateTeamLeaderRequest} request New leader details
1100
+ * @param {*} [options] Override http request option.
1101
+ * @throws {RequiredError}
1102
+ */
1103
+ adminTeamsIdLeaderPut(id: string, request: HandlersUpdateTeamLeaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1104
+ [key: string]: string;
1105
+ }, any, {}>>;
1106
+ /**
1107
+ * Remove a member from a team. The leader cannot be removed.
1108
+ * @summary Remove team member (admin)
1109
+ * @param {string} id Team ID
1110
+ * @param {string} memberId Member ID to remove
1111
+ * @param {*} [options] Override http request option.
1112
+ * @throws {RequiredError}
1113
+ */
1114
+ adminTeamsIdMembersMemberIdDelete(id: string, memberId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1115
+ [key: string]: string;
1116
+ }, any, {}>>;
1117
+ /**
1118
+ * Update a team\'s name or description.
1119
+ * @summary Update team (admin)
1120
+ * @param {string} id Team ID
1121
+ * @param {HandlersAdminUpdateTeamRequest} request Team details
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ adminTeamsIdPut(id: string, request: HandlersAdminUpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1126
+ [key: string]: string;
1127
+ }, any, {}>>;
1128
+ }
1129
+ /**
1130
+ * AdminUsersApi - axios parameter creator
1131
+ */
1132
+ export declare const AdminUsersApiAxiosParamCreator: (configuration?: Configuration) => {
1133
+ /**
1134
+ * Retrieve a list of all users with detailed administrative information.
1135
+ * @summary List all users
1136
+ * @param {*} [options] Override http request option.
1137
+ * @throws {RequiredError}
1138
+ */
1139
+ adminUsersGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1140
+ /**
1141
+ * Perform a soft delete on a user\'s account by setting status to \'deleted\'.
1142
+ * @summary Delete user (admin)
1143
+ * @param {string} id User ID
1144
+ * @param {*} [options] Override http request option.
1145
+ * @throws {RequiredError}
1146
+ */
1147
+ adminUsersIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1148
+ /**
1149
+ * Retrieve detailed information about a specific user by their ID.
1150
+ * @summary Get user (admin)
1151
+ * @param {string} id User ID
1152
+ * @param {*} [options] Override http request option.
1153
+ * @throws {RequiredError}
1154
+ */
1155
+ adminUsersIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1156
+ /**
1157
+ * Change a user\'s role (admin or user). Admins cannot change their own role.
1158
+ * @summary Update user role
1159
+ * @param {string} id User ID
1160
+ * @param {HandlersUpdateUserRoleRequest} request New role
1161
+ * @param {*} [options] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ adminUsersIdRolePut: (id: string, request: HandlersUpdateUserRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1165
+ /**
1166
+ * Change a user\'s account status (active, banned, or suspended).
1167
+ * @summary Update user status
1168
+ * @param {string} id User ID
1169
+ * @param {HandlersUpdateUserStatusRequest} request New status details
1170
+ * @param {*} [options] Override http request option.
1171
+ * @throws {RequiredError}
1172
+ */
1173
+ adminUsersIdStatusPut: (id: string, request: HandlersUpdateUserStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1174
+ };
1175
+ /**
1176
+ * AdminUsersApi - functional programming interface
1177
+ */
1178
+ export declare const AdminUsersApiFp: (configuration?: Configuration) => {
1179
+ /**
1180
+ * Retrieve a list of all users with detailed administrative information.
1181
+ * @summary List all users
1182
+ * @param {*} [options] Override http request option.
1183
+ * @throws {RequiredError}
1184
+ */
1185
+ adminUsersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HandlersAdminUserResponse>>>;
1186
+ /**
1187
+ * Perform a soft delete on a user\'s account by setting status to \'deleted\'.
1188
+ * @summary Delete user (admin)
1189
+ * @param {string} id User ID
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ adminUsersIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1194
+ [key: string]: string;
1195
+ }>>;
1196
+ /**
1197
+ * Retrieve detailed information about a specific user by their ID.
1198
+ * @summary Get user (admin)
1199
+ * @param {string} id User ID
1200
+ * @param {*} [options] Override http request option.
1201
+ * @throws {RequiredError}
1202
+ */
1203
+ adminUsersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersAdminUserResponse>>;
1204
+ /**
1205
+ * Change a user\'s role (admin or user). Admins cannot change their own role.
1206
+ * @summary Update user role
1207
+ * @param {string} id User ID
1208
+ * @param {HandlersUpdateUserRoleRequest} request New role
1209
+ * @param {*} [options] Override http request option.
1210
+ * @throws {RequiredError}
1211
+ */
1212
+ adminUsersIdRolePut(id: string, request: HandlersUpdateUserRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1213
+ [key: string]: string;
1214
+ }>>;
1215
+ /**
1216
+ * Change a user\'s account status (active, banned, or suspended).
1217
+ * @summary Update user status
1218
+ * @param {string} id User ID
1219
+ * @param {HandlersUpdateUserStatusRequest} request New status details
1220
+ * @param {*} [options] Override http request option.
1221
+ * @throws {RequiredError}
1222
+ */
1223
+ adminUsersIdStatusPut(id: string, request: HandlersUpdateUserStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1224
+ [key: string]: string;
1225
+ }>>;
1226
+ };
1227
+ /**
1228
+ * AdminUsersApi - factory interface
1229
+ */
1230
+ export declare const AdminUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1231
+ /**
1232
+ * Retrieve a list of all users with detailed administrative information.
1233
+ * @summary List all users
1234
+ * @param {*} [options] Override http request option.
1235
+ * @throws {RequiredError}
1236
+ */
1237
+ adminUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<HandlersAdminUserResponse>>;
1238
+ /**
1239
+ * Perform a soft delete on a user\'s account by setting status to \'deleted\'.
1240
+ * @summary Delete user (admin)
1241
+ * @param {string} id User ID
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ */
1245
+ adminUsersIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
1246
+ [key: string]: string;
1247
+ }>;
1248
+ /**
1249
+ * Retrieve detailed information about a specific user by their ID.
1250
+ * @summary Get user (admin)
1251
+ * @param {string} id User ID
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ */
1255
+ adminUsersIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HandlersAdminUserResponse>;
1256
+ /**
1257
+ * Change a user\'s role (admin or user). Admins cannot change their own role.
1258
+ * @summary Update user role
1259
+ * @param {string} id User ID
1260
+ * @param {HandlersUpdateUserRoleRequest} request New role
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ adminUsersIdRolePut(id: string, request: HandlersUpdateUserRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1265
+ [key: string]: string;
1266
+ }>;
1267
+ /**
1268
+ * Change a user\'s account status (active, banned, or suspended).
1269
+ * @summary Update user status
1270
+ * @param {string} id User ID
1271
+ * @param {HandlersUpdateUserStatusRequest} request New status details
1272
+ * @param {*} [options] Override http request option.
1273
+ * @throws {RequiredError}
1274
+ */
1275
+ adminUsersIdStatusPut(id: string, request: HandlersUpdateUserStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1276
+ [key: string]: string;
1277
+ }>;
1278
+ };
1279
+ /**
1280
+ * AdminUsersApi - object-oriented interface
1281
+ */
1282
+ export declare class AdminUsersApi extends BaseAPI {
1283
+ /**
1284
+ * Retrieve a list of all users with detailed administrative information.
1285
+ * @summary List all users
1286
+ * @param {*} [options] Override http request option.
1287
+ * @throws {RequiredError}
1288
+ */
1289
+ adminUsersGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersAdminUserResponse[], any, {}>>;
1290
+ /**
1291
+ * Perform a soft delete on a user\'s account by setting status to \'deleted\'.
1292
+ * @summary Delete user (admin)
1293
+ * @param {string} id User ID
1294
+ * @param {*} [options] Override http request option.
1295
+ * @throws {RequiredError}
1296
+ */
1297
+ adminUsersIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1298
+ [key: string]: string;
1299
+ }, any, {}>>;
1300
+ /**
1301
+ * Retrieve detailed information about a specific user by their ID.
1302
+ * @summary Get user (admin)
1303
+ * @param {string} id User ID
1304
+ * @param {*} [options] Override http request option.
1305
+ * @throws {RequiredError}
1306
+ */
1307
+ adminUsersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersAdminUserResponse, any, {}>>;
1308
+ /**
1309
+ * Change a user\'s role (admin or user). Admins cannot change their own role.
1310
+ * @summary Update user role
1311
+ * @param {string} id User ID
1312
+ * @param {HandlersUpdateUserRoleRequest} request New role
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ adminUsersIdRolePut(id: string, request: HandlersUpdateUserRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1317
+ [key: string]: string;
1318
+ }, any, {}>>;
1319
+ /**
1320
+ * Change a user\'s account status (active, banned, or suspended).
1321
+ * @summary Update user status
1322
+ * @param {string} id User ID
1323
+ * @param {HandlersUpdateUserStatusRequest} request New status details
1324
+ * @param {*} [options] Override http request option.
1325
+ * @throws {RequiredError}
1326
+ */
1327
+ adminUsersIdStatusPut(id: string, request: HandlersUpdateUserStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1328
+ [key: string]: string;
1329
+ }, any, {}>>;
1330
+ }
1331
+ /**
1332
+ * AdminWriteupsApi - axios parameter creator
1333
+ */
1334
+ export declare const AdminWriteupsApiAxiosParamCreator: (configuration?: Configuration) => {
1335
+ /**
1336
+ * Retrieve all writeups, including pending and rejected ones.
1337
+ * @summary Get all writeups
1338
+ * @param {*} [options] Override http request option.
1339
+ * @throws {RequiredError}
1340
+ */
1341
+ adminWriteupsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1342
+ /**
1343
+ * Permanently delete a writeup.
1344
+ * @summary Delete writeup
1345
+ * @param {string} id Writeup ID
1346
+ * @param {*} [options] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ */
1349
+ adminWriteupsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1350
+ /**
1351
+ * Approve or reject a writeup.
1352
+ * @summary Update writeup status
1353
+ * @param {string} id Writeup ID
1354
+ * @param {HandlersUpdateWriteupStatusRequest} request New status
1355
+ * @param {*} [options] Override http request option.
1356
+ * @throws {RequiredError}
1357
+ */
1358
+ adminWriteupsIdStatusPut: (id: string, request: HandlersUpdateWriteupStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1359
+ };
1360
+ /**
1361
+ * AdminWriteupsApi - functional programming interface
1362
+ */
1363
+ export declare const AdminWriteupsApiFp: (configuration?: Configuration) => {
1364
+ /**
1365
+ * Retrieve all writeups, including pending and rejected ones.
1366
+ * @summary Get all writeups
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ adminWriteupsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsWriteup>>>;
1371
+ /**
1372
+ * Permanently delete a writeup.
1373
+ * @summary Delete writeup
1374
+ * @param {string} id Writeup ID
1375
+ * @param {*} [options] Override http request option.
1376
+ * @throws {RequiredError}
1377
+ */
1378
+ adminWriteupsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1379
+ [key: string]: string;
1380
+ }>>;
1381
+ /**
1382
+ * Approve or reject a writeup.
1383
+ * @summary Update writeup status
1384
+ * @param {string} id Writeup ID
1385
+ * @param {HandlersUpdateWriteupStatusRequest} request New status
1386
+ * @param {*} [options] Override http request option.
1387
+ * @throws {RequiredError}
1388
+ */
1389
+ adminWriteupsIdStatusPut(id: string, request: HandlersUpdateWriteupStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1390
+ [key: string]: string;
1391
+ }>>;
1392
+ };
1393
+ /**
1394
+ * AdminWriteupsApi - factory interface
1395
+ */
1396
+ export declare const AdminWriteupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1397
+ /**
1398
+ * Retrieve all writeups, including pending and rejected ones.
1399
+ * @summary Get all writeups
1400
+ * @param {*} [options] Override http request option.
1401
+ * @throws {RequiredError}
1402
+ */
1403
+ adminWriteupsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsWriteup>>;
1404
+ /**
1405
+ * Permanently delete a writeup.
1406
+ * @summary Delete writeup
1407
+ * @param {string} id Writeup ID
1408
+ * @param {*} [options] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ adminWriteupsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
1412
+ [key: string]: string;
1413
+ }>;
1414
+ /**
1415
+ * Approve or reject a writeup.
1416
+ * @summary Update writeup status
1417
+ * @param {string} id Writeup ID
1418
+ * @param {HandlersUpdateWriteupStatusRequest} request New status
1419
+ * @param {*} [options] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ */
1422
+ adminWriteupsIdStatusPut(id: string, request: HandlersUpdateWriteupStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1423
+ [key: string]: string;
1424
+ }>;
1425
+ };
1426
+ /**
1427
+ * AdminWriteupsApi - object-oriented interface
1428
+ */
1429
+ export declare class AdminWriteupsApi extends BaseAPI {
1430
+ /**
1431
+ * Retrieve all writeups, including pending and rejected ones.
1432
+ * @summary Get all writeups
1433
+ * @param {*} [options] Override http request option.
1434
+ * @throws {RequiredError}
1435
+ */
1436
+ adminWriteupsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsWriteup[], any, {}>>;
1437
+ /**
1438
+ * Permanently delete a writeup.
1439
+ * @summary Delete writeup
1440
+ * @param {string} id Writeup ID
1441
+ * @param {*} [options] Override http request option.
1442
+ * @throws {RequiredError}
1443
+ */
1444
+ adminWriteupsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1445
+ [key: string]: string;
1446
+ }, any, {}>>;
1447
+ /**
1448
+ * Approve or reject a writeup.
1449
+ * @summary Update writeup status
1450
+ * @param {string} id Writeup ID
1451
+ * @param {HandlersUpdateWriteupStatusRequest} request New status
1452
+ * @param {*} [options] Override http request option.
1453
+ * @throws {RequiredError}
1454
+ */
1455
+ adminWriteupsIdStatusPut(id: string, request: HandlersUpdateWriteupStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1456
+ [key: string]: string;
1457
+ }, any, {}>>;
1458
+ }
1459
+ /**
1460
+ * AnalyticsApi - axios parameter creator
1461
+ */
1462
+ export declare const AnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
1463
+ /**
1464
+ * Retrieve global statistics about users, teams, challenges, and submissions.
1465
+ * @summary Get platform analytics
1466
+ * @param {*} [options] Override http request option.
1467
+ * @throws {RequiredError}
1468
+ */
1469
+ adminAnalyticsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1470
+ };
1471
+ /**
1472
+ * AnalyticsApi - functional programming interface
1473
+ */
1474
+ export declare const AnalyticsApiFp: (configuration?: Configuration) => {
1475
+ /**
1476
+ * Retrieve global statistics about users, teams, challenges, and submissions.
1477
+ * @summary Get platform analytics
1478
+ * @param {*} [options] Override http request option.
1479
+ * @throws {RequiredError}
1480
+ */
1481
+ adminAnalyticsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsAdminAnalytics>>;
1482
+ };
1483
+ /**
1484
+ * AnalyticsApi - factory interface
1485
+ */
1486
+ export declare const AnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1487
+ /**
1488
+ * Retrieve global statistics about users, teams, challenges, and submissions.
1489
+ * @summary Get platform analytics
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ adminAnalyticsGet(options?: RawAxiosRequestConfig): AxiosPromise<ModelsAdminAnalytics>;
1494
+ };
1495
+ /**
1496
+ * AnalyticsApi - object-oriented interface
1497
+ */
1498
+ export declare class AnalyticsApi extends BaseAPI {
1499
+ /**
1500
+ * Retrieve global statistics about users, teams, challenges, and submissions.
1501
+ * @summary Get platform analytics
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ adminAnalyticsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsAdminAnalytics, any, {}>>;
1506
+ }
1507
+ /**
1508
+ * AuditApi - axios parameter creator
1509
+ */
1510
+ export declare const AuditApiAxiosParamCreator: (configuration?: Configuration) => {
1511
+ /**
1512
+ * Retrieve paginated logs of administrative actions.
1513
+ * @summary Get audit logs
1514
+ * @param {number} [limit] Number of logs per page
1515
+ * @param {number} [page] Page number
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ adminAuditLogsGet: (limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1520
+ };
1521
+ /**
1522
+ * AuditApi - functional programming interface
1523
+ */
1524
+ export declare const AuditApiFp: (configuration?: Configuration) => {
1525
+ /**
1526
+ * Retrieve paginated logs of administrative actions.
1527
+ * @summary Get audit logs
1528
+ * @param {number} [limit] Number of logs per page
1529
+ * @param {number} [page] Page number
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ */
1533
+ adminAuditLogsGet(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1534
+ [key: string]: any;
1535
+ }>>;
1536
+ };
1537
+ /**
1538
+ * AuditApi - factory interface
1539
+ */
1540
+ export declare const AuditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1541
+ /**
1542
+ * Retrieve paginated logs of administrative actions.
1543
+ * @summary Get audit logs
1544
+ * @param {number} [limit] Number of logs per page
1545
+ * @param {number} [page] Page number
1546
+ * @param {*} [options] Override http request option.
1547
+ * @throws {RequiredError}
1548
+ */
1549
+ adminAuditLogsGet(limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<{
1550
+ [key: string]: any;
1551
+ }>;
1552
+ };
1553
+ /**
1554
+ * AuditApi - object-oriented interface
1555
+ */
1556
+ export declare class AuditApi extends BaseAPI {
1557
+ /**
1558
+ * Retrieve paginated logs of administrative actions.
1559
+ * @summary Get audit logs
1560
+ * @param {number} [limit] Number of logs per page
1561
+ * @param {number} [page] Page number
1562
+ * @param {*} [options] Override http request option.
1563
+ * @throws {RequiredError}
1564
+ */
1565
+ adminAuditLogsGet(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1566
+ [key: string]: any;
1567
+ }, any, {}>>;
1568
+ }
1569
+ /**
1570
+ * AuthApi - axios parameter creator
1571
+ */
1572
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
1573
+ /**
1574
+ * Callback endpoint for Discord OAuth.
1575
+ * @summary Discord OAuth callback
1576
+ * @param {string} state CSRF state token
1577
+ * @param {string} code Authorization code
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ */
1581
+ authDiscordCallbackGet: (state: string, code: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1582
+ /**
1583
+ * Redirect to Discord\'s OAuth consent page.
1584
+ * @summary Discord OAuth login
1585
+ * @param {*} [options] Override http request option.
1586
+ * @throws {RequiredError}
1587
+ */
1588
+ authDiscordGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1589
+ /**
1590
+ * Callback endpoint for GitHub OAuth.
1591
+ * @summary GitHub OAuth callback
1592
+ * @param {string} state CSRF state token
1593
+ * @param {string} code Authorization code
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ */
1597
+ authGithubCallbackGet: (state: string, code: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1598
+ /**
1599
+ * Redirect to GitHub\'s OAuth consent page.
1600
+ * @summary GitHub OAuth login
1601
+ * @param {*} [options] Override http request option.
1602
+ * @throws {RequiredError}
1603
+ */
1604
+ authGithubGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1605
+ /**
1606
+ * Callback endpoint for Google OAuth. Validates state and code, then sets JWT cookie.
1607
+ * @summary Google OAuth callback
1608
+ * @param {string} state CSRF state token
1609
+ * @param {string} code Authorization code
1610
+ * @param {*} [options] Override http request option.
1611
+ * @throws {RequiredError}
1612
+ */
1613
+ authGoogleCallbackGet: (state: string, code: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1614
+ /**
1615
+ * Redirect to Google\'s OAuth consent page.
1616
+ * @summary Google OAuth login
1617
+ * @param {*} [options] Override http request option.
1618
+ * @throws {RequiredError}
1619
+ */
1620
+ authGoogleGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1621
+ /**
1622
+ * Authenticate a user and set a JWT token in an HTTP-only cookie.
1623
+ * @summary Login user
1624
+ * @param {HandlersLoginRequest} request Login credentials
1625
+ * @param {*} [options] Override http request option.
1626
+ * @throws {RequiredError}
1627
+ */
1628
+ authLoginPost: (request: HandlersLoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1629
+ /**
1630
+ * Create a new user account with username, email, and password. Role is hardcoded to \"user\".
1631
+ * @summary Register a new user
1632
+ * @param {HandlersRegisterRequest} request Registration details
1633
+ * @param {*} [options] Override http request option.
1634
+ * @throws {RequiredError}
1635
+ */
1636
+ authRegisterPost: (request: HandlersRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1637
+ /**
1638
+ * Send a new verification email to the user.
1639
+ * @summary Resend verification email
1640
+ * @param {HandlersResendVerificationRequest} request Email details
1641
+ * @param {*} [options] Override http request option.
1642
+ * @throws {RequiredError}
1643
+ */
1644
+ authResendVerificationPost: (request: HandlersResendVerificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1645
+ /**
1646
+ * Verify a user\'s email address using the token sent during registration.
1647
+ * @summary Verify email address
1648
+ * @param {string} [token] Verification token
1649
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1650
+ * @param {*} [options] Override http request option.
1651
+ * @throws {RequiredError}
1652
+ */
1653
+ authVerifyEmailGet: (token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1654
+ /**
1655
+ * Verify a user\'s email address using the token sent during registration.
1656
+ * @summary Verify email address
1657
+ * @param {string} [token] Verification token
1658
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1659
+ * @param {*} [options] Override http request option.
1660
+ * @throws {RequiredError}
1661
+ */
1662
+ authVerifyEmailPost: (token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1663
+ };
1664
+ /**
1665
+ * AuthApi - functional programming interface
1666
+ */
1667
+ export declare const AuthApiFp: (configuration?: Configuration) => {
1668
+ /**
1669
+ * Callback endpoint for Discord OAuth.
1670
+ * @summary Discord OAuth callback
1671
+ * @param {string} state CSRF state token
1672
+ * @param {string} code Authorization code
1673
+ * @param {*} [options] Override http request option.
1674
+ * @throws {RequiredError}
1675
+ */
1676
+ authDiscordCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1677
+ /**
1678
+ * Redirect to Discord\'s OAuth consent page.
1679
+ * @summary Discord OAuth login
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ authDiscordGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1684
+ /**
1685
+ * Callback endpoint for GitHub OAuth.
1686
+ * @summary GitHub OAuth callback
1687
+ * @param {string} state CSRF state token
1688
+ * @param {string} code Authorization code
1689
+ * @param {*} [options] Override http request option.
1690
+ * @throws {RequiredError}
1691
+ */
1692
+ authGithubCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1693
+ /**
1694
+ * Redirect to GitHub\'s OAuth consent page.
1695
+ * @summary GitHub OAuth login
1696
+ * @param {*} [options] Override http request option.
1697
+ * @throws {RequiredError}
1698
+ */
1699
+ authGithubGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1700
+ /**
1701
+ * Callback endpoint for Google OAuth. Validates state and code, then sets JWT cookie.
1702
+ * @summary Google OAuth callback
1703
+ * @param {string} state CSRF state token
1704
+ * @param {string} code Authorization code
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ */
1708
+ authGoogleCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1709
+ /**
1710
+ * Redirect to Google\'s OAuth consent page.
1711
+ * @summary Google OAuth login
1712
+ * @param {*} [options] Override http request option.
1713
+ * @throws {RequiredError}
1714
+ */
1715
+ authGoogleGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1716
+ /**
1717
+ * Authenticate a user and set a JWT token in an HTTP-only cookie.
1718
+ * @summary Login user
1719
+ * @param {HandlersLoginRequest} request Login credentials
1720
+ * @param {*} [options] Override http request option.
1721
+ * @throws {RequiredError}
1722
+ */
1723
+ authLoginPost(request: HandlersLoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1724
+ [key: string]: any;
1725
+ }>>;
1726
+ /**
1727
+ * Create a new user account with username, email, and password. Role is hardcoded to \"user\".
1728
+ * @summary Register a new user
1729
+ * @param {HandlersRegisterRequest} request Registration details
1730
+ * @param {*} [options] Override http request option.
1731
+ * @throws {RequiredError}
1732
+ */
1733
+ authRegisterPost(request: HandlersRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1734
+ [key: string]: string;
1735
+ }>>;
1736
+ /**
1737
+ * Send a new verification email to the user.
1738
+ * @summary Resend verification email
1739
+ * @param {HandlersResendVerificationRequest} request Email details
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ */
1743
+ authResendVerificationPost(request: HandlersResendVerificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1744
+ [key: string]: string;
1745
+ }>>;
1746
+ /**
1747
+ * Verify a user\'s email address using the token sent during registration.
1748
+ * @summary Verify email address
1749
+ * @param {string} [token] Verification token
1750
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ */
1754
+ authVerifyEmailGet(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1755
+ [key: string]: string;
1756
+ }>>;
1757
+ /**
1758
+ * Verify a user\'s email address using the token sent during registration.
1759
+ * @summary Verify email address
1760
+ * @param {string} [token] Verification token
1761
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1762
+ * @param {*} [options] Override http request option.
1763
+ * @throws {RequiredError}
1764
+ */
1765
+ authVerifyEmailPost(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
1766
+ [key: string]: string;
1767
+ }>>;
1768
+ };
1769
+ /**
1770
+ * AuthApi - factory interface
1771
+ */
1772
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1773
+ /**
1774
+ * Callback endpoint for Discord OAuth.
1775
+ * @summary Discord OAuth callback
1776
+ * @param {string} state CSRF state token
1777
+ * @param {string} code Authorization code
1778
+ * @param {*} [options] Override http request option.
1779
+ * @throws {RequiredError}
1780
+ */
1781
+ authDiscordCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1782
+ /**
1783
+ * Redirect to Discord\'s OAuth consent page.
1784
+ * @summary Discord OAuth login
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ */
1788
+ authDiscordGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1789
+ /**
1790
+ * Callback endpoint for GitHub OAuth.
1791
+ * @summary GitHub OAuth callback
1792
+ * @param {string} state CSRF state token
1793
+ * @param {string} code Authorization code
1794
+ * @param {*} [options] Override http request option.
1795
+ * @throws {RequiredError}
1796
+ */
1797
+ authGithubCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1798
+ /**
1799
+ * Redirect to GitHub\'s OAuth consent page.
1800
+ * @summary GitHub OAuth login
1801
+ * @param {*} [options] Override http request option.
1802
+ * @throws {RequiredError}
1803
+ */
1804
+ authGithubGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1805
+ /**
1806
+ * Callback endpoint for Google OAuth. Validates state and code, then sets JWT cookie.
1807
+ * @summary Google OAuth callback
1808
+ * @param {string} state CSRF state token
1809
+ * @param {string} code Authorization code
1810
+ * @param {*} [options] Override http request option.
1811
+ * @throws {RequiredError}
1812
+ */
1813
+ authGoogleCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1814
+ /**
1815
+ * Redirect to Google\'s OAuth consent page.
1816
+ * @summary Google OAuth login
1817
+ * @param {*} [options] Override http request option.
1818
+ * @throws {RequiredError}
1819
+ */
1820
+ authGoogleGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1821
+ /**
1822
+ * Authenticate a user and set a JWT token in an HTTP-only cookie.
1823
+ * @summary Login user
1824
+ * @param {HandlersLoginRequest} request Login credentials
1825
+ * @param {*} [options] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ */
1828
+ authLoginPost(request: HandlersLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1829
+ [key: string]: any;
1830
+ }>;
1831
+ /**
1832
+ * Create a new user account with username, email, and password. Role is hardcoded to \"user\".
1833
+ * @summary Register a new user
1834
+ * @param {HandlersRegisterRequest} request Registration details
1835
+ * @param {*} [options] Override http request option.
1836
+ * @throws {RequiredError}
1837
+ */
1838
+ authRegisterPost(request: HandlersRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1839
+ [key: string]: string;
1840
+ }>;
1841
+ /**
1842
+ * Send a new verification email to the user.
1843
+ * @summary Resend verification email
1844
+ * @param {HandlersResendVerificationRequest} request Email details
1845
+ * @param {*} [options] Override http request option.
1846
+ * @throws {RequiredError}
1847
+ */
1848
+ authResendVerificationPost(request: HandlersResendVerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1849
+ [key: string]: string;
1850
+ }>;
1851
+ /**
1852
+ * Verify a user\'s email address using the token sent during registration.
1853
+ * @summary Verify email address
1854
+ * @param {string} [token] Verification token
1855
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1856
+ * @param {*} [options] Override http request option.
1857
+ * @throws {RequiredError}
1858
+ */
1859
+ authVerifyEmailGet(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1860
+ [key: string]: string;
1861
+ }>;
1862
+ /**
1863
+ * Verify a user\'s email address using the token sent during registration.
1864
+ * @summary Verify email address
1865
+ * @param {string} [token] Verification token
1866
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1867
+ * @param {*} [options] Override http request option.
1868
+ * @throws {RequiredError}
1869
+ */
1870
+ authVerifyEmailPost(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
1871
+ [key: string]: string;
1872
+ }>;
1873
+ };
1874
+ /**
1875
+ * AuthApi - object-oriented interface
1876
+ */
1877
+ export declare class AuthApi extends BaseAPI {
1878
+ /**
1879
+ * Callback endpoint for Discord OAuth.
1880
+ * @summary Discord OAuth callback
1881
+ * @param {string} state CSRF state token
1882
+ * @param {string} code Authorization code
1883
+ * @param {*} [options] Override http request option.
1884
+ * @throws {RequiredError}
1885
+ */
1886
+ authDiscordCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1887
+ /**
1888
+ * Redirect to Discord\'s OAuth consent page.
1889
+ * @summary Discord OAuth login
1890
+ * @param {*} [options] Override http request option.
1891
+ * @throws {RequiredError}
1892
+ */
1893
+ authDiscordGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1894
+ /**
1895
+ * Callback endpoint for GitHub OAuth.
1896
+ * @summary GitHub OAuth callback
1897
+ * @param {string} state CSRF state token
1898
+ * @param {string} code Authorization code
1899
+ * @param {*} [options] Override http request option.
1900
+ * @throws {RequiredError}
1901
+ */
1902
+ authGithubCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1903
+ /**
1904
+ * Redirect to GitHub\'s OAuth consent page.
1905
+ * @summary GitHub OAuth login
1906
+ * @param {*} [options] Override http request option.
1907
+ * @throws {RequiredError}
1908
+ */
1909
+ authGithubGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1910
+ /**
1911
+ * Callback endpoint for Google OAuth. Validates state and code, then sets JWT cookie.
1912
+ * @summary Google OAuth callback
1913
+ * @param {string} state CSRF state token
1914
+ * @param {string} code Authorization code
1915
+ * @param {*} [options] Override http request option.
1916
+ * @throws {RequiredError}
1917
+ */
1918
+ authGoogleCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1919
+ /**
1920
+ * Redirect to Google\'s OAuth consent page.
1921
+ * @summary Google OAuth login
1922
+ * @param {*} [options] Override http request option.
1923
+ * @throws {RequiredError}
1924
+ */
1925
+ authGoogleGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1926
+ /**
1927
+ * Authenticate a user and set a JWT token in an HTTP-only cookie.
1928
+ * @summary Login user
1929
+ * @param {HandlersLoginRequest} request Login credentials
1930
+ * @param {*} [options] Override http request option.
1931
+ * @throws {RequiredError}
1932
+ */
1933
+ authLoginPost(request: HandlersLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1934
+ [key: string]: any;
1935
+ }, any, {}>>;
1936
+ /**
1937
+ * Create a new user account with username, email, and password. Role is hardcoded to \"user\".
1938
+ * @summary Register a new user
1939
+ * @param {HandlersRegisterRequest} request Registration details
1940
+ * @param {*} [options] Override http request option.
1941
+ * @throws {RequiredError}
1942
+ */
1943
+ authRegisterPost(request: HandlersRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1944
+ [key: string]: string;
1945
+ }, any, {}>>;
1946
+ /**
1947
+ * Send a new verification email to the user.
1948
+ * @summary Resend verification email
1949
+ * @param {HandlersResendVerificationRequest} request Email details
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ */
1953
+ authResendVerificationPost(request: HandlersResendVerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1954
+ [key: string]: string;
1955
+ }, any, {}>>;
1956
+ /**
1957
+ * Verify a user\'s email address using the token sent during registration.
1958
+ * @summary Verify email address
1959
+ * @param {string} [token] Verification token
1960
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ */
1964
+ authVerifyEmailGet(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1965
+ [key: string]: string;
1966
+ }, any, {}>>;
1967
+ /**
1968
+ * Verify a user\'s email address using the token sent during registration.
1969
+ * @summary Verify email address
1970
+ * @param {string} [token] Verification token
1971
+ * @param {HandlersVerifyEmailRequest} [request] Verification token in body
1972
+ * @param {*} [options] Override http request option.
1973
+ * @throws {RequiredError}
1974
+ */
1975
+ authVerifyEmailPost(token?: string, request?: HandlersVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
1976
+ [key: string]: string;
1977
+ }, any, {}>>;
1978
+ }
1979
+ /**
1980
+ * ChallengesApi - axios parameter creator
1981
+ */
1982
+ export declare const ChallengesApiAxiosParamCreator: (configuration?: Configuration) => {
1983
+ /**
1984
+ * Retrieve a list of all published challenges with public details (no flags).
1985
+ * @summary Get all challenges
1986
+ * @param {*} [options] Override http request option.
1987
+ * @throws {RequiredError}
1988
+ */
1989
+ challengesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1990
+ /**
1991
+ * Retrieve hints for a specific challenge, including whether they have been revealed by the user or their team.
1992
+ * @summary Get hints for a challenge
1993
+ * @param {string} id Challenge ID
1994
+ * @param {*} [options] Override http request option.
1995
+ * @throws {RequiredError}
1996
+ */
1997
+ challengesIdHintsGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1998
+ /**
1999
+ * Deduct points and reveal the content of a specific hint.
2000
+ * @summary Reveal a hint
2001
+ * @param {string} id Challenge ID
2002
+ * @param {string} hintId Hint ID
2003
+ * @param {*} [options] Override http request option.
2004
+ * @throws {RequiredError}
2005
+ */
2006
+ challengesIdHintsHintIdRevealPost: (id: string, hintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2007
+ /**
2008
+ * Submit a flag for a specific challenge. If correct, points are awarded.
2009
+ * @summary Submit flag
2010
+ * @param {string} id Challenge ID
2011
+ * @param {HandlersSubmitFlagRequest} request Flag submission
2012
+ * @param {*} [options] Override http request option.
2013
+ * @throws {RequiredError}
2014
+ */
2015
+ challengesIdSubmitPost: (id: string, request: HandlersSubmitFlagRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2016
+ };
2017
+ /**
2018
+ * ChallengesApi - functional programming interface
2019
+ */
2020
+ export declare const ChallengesApiFp: (configuration?: Configuration) => {
2021
+ /**
2022
+ * Retrieve a list of all published challenges with public details (no flags).
2023
+ * @summary Get all challenges
2024
+ * @param {*} [options] Override http request option.
2025
+ * @throws {RequiredError}
2026
+ */
2027
+ challengesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HandlersChallengePublicResponse>>>;
2028
+ /**
2029
+ * Retrieve hints for a specific challenge, including whether they have been revealed by the user or their team.
2030
+ * @summary Get hints for a challenge
2031
+ * @param {string} id Challenge ID
2032
+ * @param {*} [options] Override http request option.
2033
+ * @throws {RequiredError}
2034
+ */
2035
+ challengesIdHintsGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicesHintResponse>>>;
2036
+ /**
2037
+ * Deduct points and reveal the content of a specific hint.
2038
+ * @summary Reveal a hint
2039
+ * @param {string} id Challenge ID
2040
+ * @param {string} hintId Hint ID
2041
+ * @param {*} [options] Override http request option.
2042
+ * @throws {RequiredError}
2043
+ */
2044
+ challengesIdHintsHintIdRevealPost(id: string, hintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServicesHintResponse>>;
2045
+ /**
2046
+ * Submit a flag for a specific challenge. If correct, points are awarded.
2047
+ * @summary Submit flag
2048
+ * @param {string} id Challenge ID
2049
+ * @param {HandlersSubmitFlagRequest} request Flag submission
2050
+ * @param {*} [options] Override http request option.
2051
+ * @throws {RequiredError}
2052
+ */
2053
+ challengesIdSubmitPost(id: string, request: HandlersSubmitFlagRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2054
+ [key: string]: any;
2055
+ }>>;
2056
+ };
2057
+ /**
2058
+ * ChallengesApi - factory interface
2059
+ */
2060
+ export declare const ChallengesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2061
+ /**
2062
+ * Retrieve a list of all published challenges with public details (no flags).
2063
+ * @summary Get all challenges
2064
+ * @param {*} [options] Override http request option.
2065
+ * @throws {RequiredError}
2066
+ */
2067
+ challengesGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<HandlersChallengePublicResponse>>;
2068
+ /**
2069
+ * Retrieve hints for a specific challenge, including whether they have been revealed by the user or their team.
2070
+ * @summary Get hints for a challenge
2071
+ * @param {string} id Challenge ID
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ */
2075
+ challengesIdHintsGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicesHintResponse>>;
2076
+ /**
2077
+ * Deduct points and reveal the content of a specific hint.
2078
+ * @summary Reveal a hint
2079
+ * @param {string} id Challenge ID
2080
+ * @param {string} hintId Hint ID
2081
+ * @param {*} [options] Override http request option.
2082
+ * @throws {RequiredError}
2083
+ */
2084
+ challengesIdHintsHintIdRevealPost(id: string, hintId: string, options?: RawAxiosRequestConfig): AxiosPromise<ServicesHintResponse>;
2085
+ /**
2086
+ * Submit a flag for a specific challenge. If correct, points are awarded.
2087
+ * @summary Submit flag
2088
+ * @param {string} id Challenge ID
2089
+ * @param {HandlersSubmitFlagRequest} request Flag submission
2090
+ * @param {*} [options] Override http request option.
2091
+ * @throws {RequiredError}
2092
+ */
2093
+ challengesIdSubmitPost(id: string, request: HandlersSubmitFlagRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2094
+ [key: string]: any;
2095
+ }>;
2096
+ };
2097
+ /**
2098
+ * ChallengesApi - object-oriented interface
2099
+ */
2100
+ export declare class ChallengesApi extends BaseAPI {
2101
+ /**
2102
+ * Retrieve a list of all published challenges with public details (no flags).
2103
+ * @summary Get all challenges
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ */
2107
+ challengesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersChallengePublicResponse[], any, {}>>;
2108
+ /**
2109
+ * Retrieve hints for a specific challenge, including whether they have been revealed by the user or their team.
2110
+ * @summary Get hints for a challenge
2111
+ * @param {string} id Challenge ID
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ challengesIdHintsGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicesHintResponse[], any, {}>>;
2116
+ /**
2117
+ * Deduct points and reveal the content of a specific hint.
2118
+ * @summary Reveal a hint
2119
+ * @param {string} id Challenge ID
2120
+ * @param {string} hintId Hint ID
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ challengesIdHintsHintIdRevealPost(id: string, hintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicesHintResponse, any, {}>>;
2125
+ /**
2126
+ * Submit a flag for a specific challenge. If correct, points are awarded.
2127
+ * @summary Submit flag
2128
+ * @param {string} id Challenge ID
2129
+ * @param {HandlersSubmitFlagRequest} request Flag submission
2130
+ * @param {*} [options] Override http request option.
2131
+ * @throws {RequiredError}
2132
+ */
2133
+ challengesIdSubmitPost(id: string, request: HandlersSubmitFlagRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2134
+ [key: string]: any;
2135
+ }, any, {}>>;
2136
+ }
2137
+ /**
2138
+ * ContestApi - axios parameter creator
2139
+ */
2140
+ export declare const ContestApiAxiosParamCreator: (configuration?: Configuration) => {
2141
+ /**
2142
+ * Retrieve the current status and basic configuration of the contest.
2143
+ * @summary Get contest status
2144
+ * @param {*} [options] Override http request option.
2145
+ * @throws {RequiredError}
2146
+ */
2147
+ contestStatusGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2148
+ };
2149
+ /**
2150
+ * ContestApi - functional programming interface
2151
+ */
2152
+ export declare const ContestApiFp: (configuration?: Configuration) => {
2153
+ /**
2154
+ * Retrieve the current status and basic configuration of the contest.
2155
+ * @summary Get contest status
2156
+ * @param {*} [options] Override http request option.
2157
+ * @throws {RequiredError}
2158
+ */
2159
+ contestStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2160
+ [key: string]: any;
2161
+ }>>;
2162
+ };
2163
+ /**
2164
+ * ContestApi - factory interface
2165
+ */
2166
+ export declare const ContestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2167
+ /**
2168
+ * Retrieve the current status and basic configuration of the contest.
2169
+ * @summary Get contest status
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ contestStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<{
2174
+ [key: string]: any;
2175
+ }>;
2176
+ };
2177
+ /**
2178
+ * ContestApi - object-oriented interface
2179
+ */
2180
+ export declare class ContestApi extends BaseAPI {
2181
+ /**
2182
+ * Retrieve the current status and basic configuration of the contest.
2183
+ * @summary Get contest status
2184
+ * @param {*} [options] Override http request option.
2185
+ * @throws {RequiredError}
2186
+ */
2187
+ contestStatusGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2188
+ [key: string]: any;
2189
+ }, any, {}>>;
2190
+ }
2191
+ /**
2192
+ * LeaderboardApi - axios parameter creator
2193
+ */
2194
+ export declare const LeaderboardApiAxiosParamCreator: (configuration?: Configuration) => {
2195
+ /**
2196
+ * Retrieve the scoreboard filtered by a specific challenge category.
2197
+ * @summary Get category leaderboard
2198
+ * @param {string} category Challenge category
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ */
2202
+ leaderboardCategoryGet: (category: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2203
+ /**
2204
+ * Retrieve the scoreboard for a specific time period (24h, weekly, monthly, or all).
2205
+ * @summary Get time-based leaderboard
2206
+ * @param {LeaderboardTimeGetPeriodEnum} [period] Time period
2207
+ * @param {*} [options] Override http request option.
2208
+ * @throws {RequiredError}
2209
+ */
2210
+ leaderboardTimeGet: (period?: LeaderboardTimeGetPeriodEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2211
+ };
2212
+ /**
2213
+ * LeaderboardApi - functional programming interface
2214
+ */
2215
+ export declare const LeaderboardApiFp: (configuration?: Configuration) => {
2216
+ /**
2217
+ * Retrieve the scoreboard filtered by a specific challenge category.
2218
+ * @summary Get category leaderboard
2219
+ * @param {string} category Challenge category
2220
+ * @param {*} [options] Override http request option.
2221
+ * @throws {RequiredError}
2222
+ */
2223
+ leaderboardCategoryGet(category: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2224
+ [key: string]: any;
2225
+ }>>;
2226
+ /**
2227
+ * Retrieve the scoreboard for a specific time period (24h, weekly, monthly, or all).
2228
+ * @summary Get time-based leaderboard
2229
+ * @param {LeaderboardTimeGetPeriodEnum} [period] Time period
2230
+ * @param {*} [options] Override http request option.
2231
+ * @throws {RequiredError}
2232
+ */
2233
+ leaderboardTimeGet(period?: LeaderboardTimeGetPeriodEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2234
+ [key: string]: any;
2235
+ }>>;
2236
+ };
2237
+ /**
2238
+ * LeaderboardApi - factory interface
2239
+ */
2240
+ export declare const LeaderboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2241
+ /**
2242
+ * Retrieve the scoreboard filtered by a specific challenge category.
2243
+ * @summary Get category leaderboard
2244
+ * @param {string} category Challenge category
2245
+ * @param {*} [options] Override http request option.
2246
+ * @throws {RequiredError}
2247
+ */
2248
+ leaderboardCategoryGet(category: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2249
+ [key: string]: any;
2250
+ }>;
2251
+ /**
2252
+ * Retrieve the scoreboard for a specific time period (24h, weekly, monthly, or all).
2253
+ * @summary Get time-based leaderboard
2254
+ * @param {LeaderboardTimeGetPeriodEnum} [period] Time period
2255
+ * @param {*} [options] Override http request option.
2256
+ * @throws {RequiredError}
2257
+ */
2258
+ leaderboardTimeGet(period?: LeaderboardTimeGetPeriodEnum, options?: RawAxiosRequestConfig): AxiosPromise<{
2259
+ [key: string]: any;
2260
+ }>;
2261
+ };
2262
+ /**
2263
+ * LeaderboardApi - object-oriented interface
2264
+ */
2265
+ export declare class LeaderboardApi extends BaseAPI {
2266
+ /**
2267
+ * Retrieve the scoreboard filtered by a specific challenge category.
2268
+ * @summary Get category leaderboard
2269
+ * @param {string} category Challenge category
2270
+ * @param {*} [options] Override http request option.
2271
+ * @throws {RequiredError}
2272
+ */
2273
+ leaderboardCategoryGet(category: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2274
+ [key: string]: any;
2275
+ }, any, {}>>;
2276
+ /**
2277
+ * Retrieve the scoreboard for a specific time period (24h, weekly, monthly, or all).
2278
+ * @summary Get time-based leaderboard
2279
+ * @param {LeaderboardTimeGetPeriodEnum} [period] Time period
2280
+ * @param {*} [options] Override http request option.
2281
+ * @throws {RequiredError}
2282
+ */
2283
+ leaderboardTimeGet(period?: LeaderboardTimeGetPeriodEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2284
+ [key: string]: any;
2285
+ }, any, {}>>;
2286
+ }
2287
+ export declare const LeaderboardTimeGetPeriodEnum: {
2288
+ readonly _24h: "24h";
2289
+ readonly Weekly: "weekly";
2290
+ readonly Monthly: "monthly";
2291
+ readonly All: "all";
2292
+ };
2293
+ export type LeaderboardTimeGetPeriodEnum = typeof LeaderboardTimeGetPeriodEnum[keyof typeof LeaderboardTimeGetPeriodEnum];
2294
+ /**
2295
+ * NotificationsApi - axios parameter creator
2296
+ */
2297
+ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
2298
+ /**
2299
+ * Retrieve a list of all currently active platform-wide notifications.
2300
+ * @summary Get active notifications
2301
+ * @param {*} [options] Override http request option.
2302
+ * @throws {RequiredError}
2303
+ */
2304
+ notificationsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2305
+ };
2306
+ /**
2307
+ * NotificationsApi - functional programming interface
2308
+ */
2309
+ export declare const NotificationsApiFp: (configuration?: Configuration) => {
2310
+ /**
2311
+ * Retrieve a list of all currently active platform-wide notifications.
2312
+ * @summary Get active notifications
2313
+ * @param {*} [options] Override http request option.
2314
+ * @throws {RequiredError}
2315
+ */
2316
+ notificationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsNotification>>>;
2317
+ };
2318
+ /**
2319
+ * NotificationsApi - factory interface
2320
+ */
2321
+ export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2322
+ /**
2323
+ * Retrieve a list of all currently active platform-wide notifications.
2324
+ * @summary Get active notifications
2325
+ * @param {*} [options] Override http request option.
2326
+ * @throws {RequiredError}
2327
+ */
2328
+ notificationsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsNotification>>;
2329
+ };
2330
+ /**
2331
+ * NotificationsApi - object-oriented interface
2332
+ */
2333
+ export declare class NotificationsApi extends BaseAPI {
2334
+ /**
2335
+ * Retrieve a list of all currently active platform-wide notifications.
2336
+ * @summary Get active notifications
2337
+ * @param {*} [options] Override http request option.
2338
+ * @throws {RequiredError}
2339
+ */
2340
+ notificationsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsNotification[], any, {}>>;
2341
+ }
2342
+ /**
2343
+ * ProfilesApi - axios parameter creator
2344
+ */
2345
+ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuration) => {
2346
+ /**
2347
+ * Retrieve the public profile, solve history, and statistics of a user by their username.
2348
+ * @summary Get user profile
2349
+ * @param {string} username Username
2350
+ * @param {*} [options] Override http request option.
2351
+ * @throws {RequiredError}
2352
+ */
2353
+ usersUsernameProfileGet: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2354
+ };
2355
+ /**
2356
+ * ProfilesApi - functional programming interface
2357
+ */
2358
+ export declare const ProfilesApiFp: (configuration?: Configuration) => {
2359
+ /**
2360
+ * Retrieve the public profile, solve history, and statistics of a user by their username.
2361
+ * @summary Get user profile
2362
+ * @param {string} username Username
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ usersUsernameProfileGet(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersUserProfileResponse>>;
2367
+ };
2368
+ /**
2369
+ * ProfilesApi - factory interface
2370
+ */
2371
+ export declare const ProfilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2372
+ /**
2373
+ * Retrieve the public profile, solve history, and statistics of a user by their username.
2374
+ * @summary Get user profile
2375
+ * @param {string} username Username
2376
+ * @param {*} [options] Override http request option.
2377
+ * @throws {RequiredError}
2378
+ */
2379
+ usersUsernameProfileGet(username: string, options?: RawAxiosRequestConfig): AxiosPromise<HandlersUserProfileResponse>;
2380
+ };
2381
+ /**
2382
+ * ProfilesApi - object-oriented interface
2383
+ */
2384
+ export declare class ProfilesApi extends BaseAPI {
2385
+ /**
2386
+ * Retrieve the public profile, solve history, and statistics of a user by their username.
2387
+ * @summary Get user profile
2388
+ * @param {string} username Username
2389
+ * @param {*} [options] Override http request option.
2390
+ * @throws {RequiredError}
2391
+ */
2392
+ usersUsernameProfileGet(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersUserProfileResponse, any, {}>>;
2393
+ }
2394
+ /**
2395
+ * ScoreboardApi - axios parameter creator
2396
+ */
2397
+ export declare const ScoreboardApiAxiosParamCreator: (configuration?: Configuration) => {
2398
+ /**
2399
+ * Retrieve the current leaderboard for individual users, sorted by points.
2400
+ * @summary Get individual scoreboard
2401
+ * @param {*} [options] Override http request option.
2402
+ * @throws {RequiredError}
2403
+ */
2404
+ scoreboardGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2405
+ /**
2406
+ * Retrieve the current leaderboard for teams, sorted by points.
2407
+ * @summary Get team scoreboard
2408
+ * @param {*} [options] Override http request option.
2409
+ * @throws {RequiredError}
2410
+ */
2411
+ scoreboardTeamsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2412
+ };
2413
+ /**
2414
+ * ScoreboardApi - functional programming interface
2415
+ */
2416
+ export declare const ScoreboardApiFp: (configuration?: Configuration) => {
2417
+ /**
2418
+ * Retrieve the current leaderboard for individual users, sorted by points.
2419
+ * @summary Get individual scoreboard
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ */
2423
+ scoreboardGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicesUserScore>>>;
2424
+ /**
2425
+ * Retrieve the current leaderboard for teams, sorted by points.
2426
+ * @summary Get team scoreboard
2427
+ * @param {*} [options] Override http request option.
2428
+ * @throws {RequiredError}
2429
+ */
2430
+ scoreboardTeamsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2431
+ [key: string]: any;
2432
+ }>>;
2433
+ };
2434
+ /**
2435
+ * ScoreboardApi - factory interface
2436
+ */
2437
+ export declare const ScoreboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2438
+ /**
2439
+ * Retrieve the current leaderboard for individual users, sorted by points.
2440
+ * @summary Get individual scoreboard
2441
+ * @param {*} [options] Override http request option.
2442
+ * @throws {RequiredError}
2443
+ */
2444
+ scoreboardGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicesUserScore>>;
2445
+ /**
2446
+ * Retrieve the current leaderboard for teams, sorted by points.
2447
+ * @summary Get team scoreboard
2448
+ * @param {*} [options] Override http request option.
2449
+ * @throws {RequiredError}
2450
+ */
2451
+ scoreboardTeamsGet(options?: RawAxiosRequestConfig): AxiosPromise<{
2452
+ [key: string]: any;
2453
+ }>;
2454
+ };
2455
+ /**
2456
+ * ScoreboardApi - object-oriented interface
2457
+ */
2458
+ export declare class ScoreboardApi extends BaseAPI {
2459
+ /**
2460
+ * Retrieve the current leaderboard for individual users, sorted by points.
2461
+ * @summary Get individual scoreboard
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ scoreboardGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicesUserScore[], any, {}>>;
2466
+ /**
2467
+ * Retrieve the current leaderboard for teams, sorted by points.
2468
+ * @summary Get team scoreboard
2469
+ * @param {*} [options] Override http request option.
2470
+ * @throws {RequiredError}
2471
+ */
2472
+ scoreboardTeamsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2473
+ [key: string]: any;
2474
+ }, any, {}>>;
2475
+ }
2476
+ /**
2477
+ * TeamsApi - axios parameter creator
2478
+ */
2479
+ export declare const TeamsApiAxiosParamCreator: (configuration?: Configuration) => {
2480
+ /**
2481
+ * Permanently delete a team. Only the team leader can perform this action and only if the team has fewer than 2 members.
2482
+ * @summary Delete team
2483
+ * @param {string} id Team ID
2484
+ * @param {*} [options] Override http request option.
2485
+ * @throws {RequiredError}
2486
+ */
2487
+ teamsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2488
+ /**
2489
+ * Retrieve details of a specific team by its ID.
2490
+ * @summary Get team details
2491
+ * @param {string} id Team ID
2492
+ * @param {*} [options] Override http request option.
2493
+ * @throws {RequiredError}
2494
+ */
2495
+ teamsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2496
+ /**
2497
+ * Retrieve all pending invitations sent by this team. Only the team leader can see this.
2498
+ * @summary Get team\'s outgoing invitations
2499
+ * @param {string} id Team ID
2500
+ * @param {*} [options] Override http request option.
2501
+ * @throws {RequiredError}
2502
+ */
2503
+ teamsIdInvitationsGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2504
+ /**
2505
+ * Withdraw a pending team invitation.
2506
+ * @summary Cancel invitation
2507
+ * @param {string} id Team ID
2508
+ * @param {string} invitationId Invitation ID
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ teamsIdInvitationsInvitationIdDelete: (id: string, invitationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2513
+ /**
2514
+ * Send a team invitation to a user by their email address.
2515
+ * @summary Invite by email
2516
+ * @param {string} id Team ID
2517
+ * @param {HandlersInviteByEmailRequest} request Email to invite
2518
+ * @param {*} [options] Override http request option.
2519
+ * @throws {RequiredError}
2520
+ */
2521
+ teamsIdInviteEmailPost: (id: string, request: HandlersInviteByEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2522
+ /**
2523
+ * Send a team invitation to a user by their username.
2524
+ * @summary Invite by username
2525
+ * @param {string} id Team ID
2526
+ * @param {HandlersInviteByUsernameRequest} request User to invite
2527
+ * @param {*} [options] Override http request option.
2528
+ * @throws {RequiredError}
2529
+ */
2530
+ teamsIdInviteUsernamePost: (id: string, request: HandlersInviteByUsernameRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2531
+ /**
2532
+ * Exit the current team. If the leader leaves and is the only member, the team is deleted.
2533
+ * @summary Leave team
2534
+ * @param {string} id Team ID
2535
+ * @param {*} [options] Override http request option.
2536
+ * @throws {RequiredError}
2537
+ */
2538
+ teamsIdLeavePost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2539
+ /**
2540
+ * Remove a specific user from the team. Only the team leader can perform this action.
2541
+ * @summary Remove team member
2542
+ * @param {string} id Team ID
2543
+ * @param {string} userId User ID to remove
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ teamsIdMembersUserIdDelete: (id: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2548
+ /**
2549
+ * Update the name and description of a team. Only the team leader can perform this action.
2550
+ * @summary Update team
2551
+ * @param {string} id Team ID
2552
+ * @param {HandlersUpdateTeamRequest} request Updated team details
2553
+ * @param {*} [options] Override http request option.
2554
+ * @throws {RequiredError}
2555
+ */
2556
+ teamsIdPut: (id: string, request: HandlersUpdateTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2557
+ /**
2558
+ * Create a new unique invite code for the team, invalidating the old one.
2559
+ * @summary Regenerate invite code
2560
+ * @param {string} id Team ID
2561
+ * @param {*} [options] Override http request option.
2562
+ * @throws {RequiredError}
2563
+ */
2564
+ teamsIdRegenerateCodePost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2565
+ /**
2566
+ * Retrieve all team invitations sent to the authenticated user.
2567
+ * @summary Get pending invitations
2568
+ * @param {*} [options] Override http request option.
2569
+ * @throws {RequiredError}
2570
+ */
2571
+ teamsInvitationsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2572
+ /**
2573
+ * Accept a team invitation and join the team.
2574
+ * @summary Accept invitation
2575
+ * @param {string} id Invitation ID
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ teamsInvitationsIdAcceptPost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2580
+ /**
2581
+ * Decline a team invitation.
2582
+ * @summary Reject invitation
2583
+ * @param {string} id Invitation ID
2584
+ * @param {*} [options] Override http request option.
2585
+ * @throws {RequiredError}
2586
+ */
2587
+ teamsInvitationsIdRejectPost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2588
+ /**
2589
+ * Join an existing team using its unique invite code.
2590
+ * @summary Join team by code
2591
+ * @param {string} code Invite code
2592
+ * @param {HandlersJoinByCodeRequest} [request] Invite code in body
2593
+ * @param {*} [options] Override http request option.
2594
+ * @throws {RequiredError}
2595
+ */
2596
+ teamsJoinCodePost: (code: string, request?: HandlersJoinByCodeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2597
+ /**
2598
+ * Retrieve details of the team the authenticated user belongs to.
2599
+ * @summary Get my team
2600
+ * @param {*} [options] Override http request option.
2601
+ * @throws {RequiredError}
2602
+ */
2603
+ teamsMyTeamGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2604
+ /**
2605
+ * Create a new team. The authenticated user becomes the team leader.
2606
+ * @summary Create a team
2607
+ * @param {HandlersCreateTeamRequest} request Team details
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ */
2611
+ teamsPost: (request: HandlersCreateTeamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2612
+ /**
2613
+ * Retrieve a list of all teams sorted by their total points.
2614
+ * @summary Get team scoreboard
2615
+ * @param {*} [options] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ */
2618
+ teamsScoreboardGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2619
+ };
2620
+ /**
2621
+ * TeamsApi - functional programming interface
2622
+ */
2623
+ export declare const TeamsApiFp: (configuration?: Configuration) => {
2624
+ /**
2625
+ * Permanently delete a team. Only the team leader can perform this action and only if the team has fewer than 2 members.
2626
+ * @summary Delete team
2627
+ * @param {string} id Team ID
2628
+ * @param {*} [options] Override http request option.
2629
+ * @throws {RequiredError}
2630
+ */
2631
+ teamsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2632
+ [key: string]: string;
2633
+ }>>;
2634
+ /**
2635
+ * Retrieve details of a specific team by its ID.
2636
+ * @summary Get team details
2637
+ * @param {string} id Team ID
2638
+ * @param {*} [options] Override http request option.
2639
+ * @throws {RequiredError}
2640
+ */
2641
+ teamsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2642
+ [key: string]: any;
2643
+ }>>;
2644
+ /**
2645
+ * Retrieve all pending invitations sent by this team. Only the team leader can see this.
2646
+ * @summary Get team\'s outgoing invitations
2647
+ * @param {string} id Team ID
2648
+ * @param {*} [options] Override http request option.
2649
+ * @throws {RequiredError}
2650
+ */
2651
+ teamsIdInvitationsGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsTeamInvitation>>>;
2652
+ /**
2653
+ * Withdraw a pending team invitation.
2654
+ * @summary Cancel invitation
2655
+ * @param {string} id Team ID
2656
+ * @param {string} invitationId Invitation ID
2657
+ * @param {*} [options] Override http request option.
2658
+ * @throws {RequiredError}
2659
+ */
2660
+ teamsIdInvitationsInvitationIdDelete(id: string, invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2661
+ [key: string]: string;
2662
+ }>>;
2663
+ /**
2664
+ * Send a team invitation to a user by their email address.
2665
+ * @summary Invite by email
2666
+ * @param {string} id Team ID
2667
+ * @param {HandlersInviteByEmailRequest} request Email to invite
2668
+ * @param {*} [options] Override http request option.
2669
+ * @throws {RequiredError}
2670
+ */
2671
+ teamsIdInviteEmailPost(id: string, request: HandlersInviteByEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2672
+ [key: string]: any;
2673
+ }>>;
2674
+ /**
2675
+ * Send a team invitation to a user by their username.
2676
+ * @summary Invite by username
2677
+ * @param {string} id Team ID
2678
+ * @param {HandlersInviteByUsernameRequest} request User to invite
2679
+ * @param {*} [options] Override http request option.
2680
+ * @throws {RequiredError}
2681
+ */
2682
+ teamsIdInviteUsernamePost(id: string, request: HandlersInviteByUsernameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2683
+ [key: string]: any;
2684
+ }>>;
2685
+ /**
2686
+ * Exit the current team. If the leader leaves and is the only member, the team is deleted.
2687
+ * @summary Leave team
2688
+ * @param {string} id Team ID
2689
+ * @param {*} [options] Override http request option.
2690
+ * @throws {RequiredError}
2691
+ */
2692
+ teamsIdLeavePost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2693
+ [key: string]: string;
2694
+ }>>;
2695
+ /**
2696
+ * Remove a specific user from the team. Only the team leader can perform this action.
2697
+ * @summary Remove team member
2698
+ * @param {string} id Team ID
2699
+ * @param {string} userId User ID to remove
2700
+ * @param {*} [options] Override http request option.
2701
+ * @throws {RequiredError}
2702
+ */
2703
+ teamsIdMembersUserIdDelete(id: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2704
+ [key: string]: string;
2705
+ }>>;
2706
+ /**
2707
+ * Update the name and description of a team. Only the team leader can perform this action.
2708
+ * @summary Update team
2709
+ * @param {string} id Team ID
2710
+ * @param {HandlersUpdateTeamRequest} request Updated team details
2711
+ * @param {*} [options] Override http request option.
2712
+ * @throws {RequiredError}
2713
+ */
2714
+ teamsIdPut(id: string, request: HandlersUpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2715
+ [key: string]: any;
2716
+ }>>;
2717
+ /**
2718
+ * Create a new unique invite code for the team, invalidating the old one.
2719
+ * @summary Regenerate invite code
2720
+ * @param {string} id Team ID
2721
+ * @param {*} [options] Override http request option.
2722
+ * @throws {RequiredError}
2723
+ */
2724
+ teamsIdRegenerateCodePost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2725
+ [key: string]: string;
2726
+ }>>;
2727
+ /**
2728
+ * Retrieve all team invitations sent to the authenticated user.
2729
+ * @summary Get pending invitations
2730
+ * @param {*} [options] Override http request option.
2731
+ * @throws {RequiredError}
2732
+ */
2733
+ teamsInvitationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2734
+ [key: string]: any;
2735
+ }>>;
2736
+ /**
2737
+ * Accept a team invitation and join the team.
2738
+ * @summary Accept invitation
2739
+ * @param {string} id Invitation ID
2740
+ * @param {*} [options] Override http request option.
2741
+ * @throws {RequiredError}
2742
+ */
2743
+ teamsInvitationsIdAcceptPost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2744
+ [key: string]: any;
2745
+ }>>;
2746
+ /**
2747
+ * Decline a team invitation.
2748
+ * @summary Reject invitation
2749
+ * @param {string} id Invitation ID
2750
+ * @param {*} [options] Override http request option.
2751
+ * @throws {RequiredError}
2752
+ */
2753
+ teamsInvitationsIdRejectPost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2754
+ [key: string]: string;
2755
+ }>>;
2756
+ /**
2757
+ * Join an existing team using its unique invite code.
2758
+ * @summary Join team by code
2759
+ * @param {string} code Invite code
2760
+ * @param {HandlersJoinByCodeRequest} [request] Invite code in body
2761
+ * @param {*} [options] Override http request option.
2762
+ * @throws {RequiredError}
2763
+ */
2764
+ teamsJoinCodePost(code: string, request?: HandlersJoinByCodeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2765
+ [key: string]: any;
2766
+ }>>;
2767
+ /**
2768
+ * Retrieve details of the team the authenticated user belongs to.
2769
+ * @summary Get my team
2770
+ * @param {*} [options] Override http request option.
2771
+ * @throws {RequiredError}
2772
+ */
2773
+ teamsMyTeamGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2774
+ [key: string]: any;
2775
+ }>>;
2776
+ /**
2777
+ * Create a new team. The authenticated user becomes the team leader.
2778
+ * @summary Create a team
2779
+ * @param {HandlersCreateTeamRequest} request Team details
2780
+ * @param {*} [options] Override http request option.
2781
+ * @throws {RequiredError}
2782
+ */
2783
+ teamsPost(request: HandlersCreateTeamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2784
+ [key: string]: any;
2785
+ }>>;
2786
+ /**
2787
+ * Retrieve a list of all teams sorted by their total points.
2788
+ * @summary Get team scoreboard
2789
+ * @param {*} [options] Override http request option.
2790
+ * @throws {RequiredError}
2791
+ */
2792
+ teamsScoreboardGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2793
+ [key: string]: any;
2794
+ }>>;
2795
+ };
2796
+ /**
2797
+ * TeamsApi - factory interface
2798
+ */
2799
+ export declare const TeamsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2800
+ /**
2801
+ * Permanently delete a team. Only the team leader can perform this action and only if the team has fewer than 2 members.
2802
+ * @summary Delete team
2803
+ * @param {string} id Team ID
2804
+ * @param {*} [options] Override http request option.
2805
+ * @throws {RequiredError}
2806
+ */
2807
+ teamsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2808
+ [key: string]: string;
2809
+ }>;
2810
+ /**
2811
+ * Retrieve details of a specific team by its ID.
2812
+ * @summary Get team details
2813
+ * @param {string} id Team ID
2814
+ * @param {*} [options] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ */
2817
+ teamsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2818
+ [key: string]: any;
2819
+ }>;
2820
+ /**
2821
+ * Retrieve all pending invitations sent by this team. Only the team leader can see this.
2822
+ * @summary Get team\'s outgoing invitations
2823
+ * @param {string} id Team ID
2824
+ * @param {*} [options] Override http request option.
2825
+ * @throws {RequiredError}
2826
+ */
2827
+ teamsIdInvitationsGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsTeamInvitation>>;
2828
+ /**
2829
+ * Withdraw a pending team invitation.
2830
+ * @summary Cancel invitation
2831
+ * @param {string} id Team ID
2832
+ * @param {string} invitationId Invitation ID
2833
+ * @param {*} [options] Override http request option.
2834
+ * @throws {RequiredError}
2835
+ */
2836
+ teamsIdInvitationsInvitationIdDelete(id: string, invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2837
+ [key: string]: string;
2838
+ }>;
2839
+ /**
2840
+ * Send a team invitation to a user by their email address.
2841
+ * @summary Invite by email
2842
+ * @param {string} id Team ID
2843
+ * @param {HandlersInviteByEmailRequest} request Email to invite
2844
+ * @param {*} [options] Override http request option.
2845
+ * @throws {RequiredError}
2846
+ */
2847
+ teamsIdInviteEmailPost(id: string, request: HandlersInviteByEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2848
+ [key: string]: any;
2849
+ }>;
2850
+ /**
2851
+ * Send a team invitation to a user by their username.
2852
+ * @summary Invite by username
2853
+ * @param {string} id Team ID
2854
+ * @param {HandlersInviteByUsernameRequest} request User to invite
2855
+ * @param {*} [options] Override http request option.
2856
+ * @throws {RequiredError}
2857
+ */
2858
+ teamsIdInviteUsernamePost(id: string, request: HandlersInviteByUsernameRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2859
+ [key: string]: any;
2860
+ }>;
2861
+ /**
2862
+ * Exit the current team. If the leader leaves and is the only member, the team is deleted.
2863
+ * @summary Leave team
2864
+ * @param {string} id Team ID
2865
+ * @param {*} [options] Override http request option.
2866
+ * @throws {RequiredError}
2867
+ */
2868
+ teamsIdLeavePost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2869
+ [key: string]: string;
2870
+ }>;
2871
+ /**
2872
+ * Remove a specific user from the team. Only the team leader can perform this action.
2873
+ * @summary Remove team member
2874
+ * @param {string} id Team ID
2875
+ * @param {string} userId User ID to remove
2876
+ * @param {*} [options] Override http request option.
2877
+ * @throws {RequiredError}
2878
+ */
2879
+ teamsIdMembersUserIdDelete(id: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2880
+ [key: string]: string;
2881
+ }>;
2882
+ /**
2883
+ * Update the name and description of a team. Only the team leader can perform this action.
2884
+ * @summary Update team
2885
+ * @param {string} id Team ID
2886
+ * @param {HandlersUpdateTeamRequest} request Updated team details
2887
+ * @param {*} [options] Override http request option.
2888
+ * @throws {RequiredError}
2889
+ */
2890
+ teamsIdPut(id: string, request: HandlersUpdateTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2891
+ [key: string]: any;
2892
+ }>;
2893
+ /**
2894
+ * Create a new unique invite code for the team, invalidating the old one.
2895
+ * @summary Regenerate invite code
2896
+ * @param {string} id Team ID
2897
+ * @param {*} [options] Override http request option.
2898
+ * @throws {RequiredError}
2899
+ */
2900
+ teamsIdRegenerateCodePost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2901
+ [key: string]: string;
2902
+ }>;
2903
+ /**
2904
+ * Retrieve all team invitations sent to the authenticated user.
2905
+ * @summary Get pending invitations
2906
+ * @param {*} [options] Override http request option.
2907
+ * @throws {RequiredError}
2908
+ */
2909
+ teamsInvitationsGet(options?: RawAxiosRequestConfig): AxiosPromise<{
2910
+ [key: string]: any;
2911
+ }>;
2912
+ /**
2913
+ * Accept a team invitation and join the team.
2914
+ * @summary Accept invitation
2915
+ * @param {string} id Invitation ID
2916
+ * @param {*} [options] Override http request option.
2917
+ * @throws {RequiredError}
2918
+ */
2919
+ teamsInvitationsIdAcceptPost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2920
+ [key: string]: any;
2921
+ }>;
2922
+ /**
2923
+ * Decline a team invitation.
2924
+ * @summary Reject invitation
2925
+ * @param {string} id Invitation ID
2926
+ * @param {*} [options] Override http request option.
2927
+ * @throws {RequiredError}
2928
+ */
2929
+ teamsInvitationsIdRejectPost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
2930
+ [key: string]: string;
2931
+ }>;
2932
+ /**
2933
+ * Join an existing team using its unique invite code.
2934
+ * @summary Join team by code
2935
+ * @param {string} code Invite code
2936
+ * @param {HandlersJoinByCodeRequest} [request] Invite code in body
2937
+ * @param {*} [options] Override http request option.
2938
+ * @throws {RequiredError}
2939
+ */
2940
+ teamsJoinCodePost(code: string, request?: HandlersJoinByCodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2941
+ [key: string]: any;
2942
+ }>;
2943
+ /**
2944
+ * Retrieve details of the team the authenticated user belongs to.
2945
+ * @summary Get my team
2946
+ * @param {*} [options] Override http request option.
2947
+ * @throws {RequiredError}
2948
+ */
2949
+ teamsMyTeamGet(options?: RawAxiosRequestConfig): AxiosPromise<{
2950
+ [key: string]: any;
2951
+ }>;
2952
+ /**
2953
+ * Create a new team. The authenticated user becomes the team leader.
2954
+ * @summary Create a team
2955
+ * @param {HandlersCreateTeamRequest} request Team details
2956
+ * @param {*} [options] Override http request option.
2957
+ * @throws {RequiredError}
2958
+ */
2959
+ teamsPost(request: HandlersCreateTeamRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
2960
+ [key: string]: any;
2961
+ }>;
2962
+ /**
2963
+ * Retrieve a list of all teams sorted by their total points.
2964
+ * @summary Get team scoreboard
2965
+ * @param {*} [options] Override http request option.
2966
+ * @throws {RequiredError}
2967
+ */
2968
+ teamsScoreboardGet(options?: RawAxiosRequestConfig): AxiosPromise<{
2969
+ [key: string]: any;
2970
+ }>;
2971
+ };
2972
+ /**
2973
+ * TeamsApi - object-oriented interface
2974
+ */
2975
+ export declare class TeamsApi extends BaseAPI {
2976
+ /**
2977
+ * Permanently delete a team. Only the team leader can perform this action and only if the team has fewer than 2 members.
2978
+ * @summary Delete team
2979
+ * @param {string} id Team ID
2980
+ * @param {*} [options] Override http request option.
2981
+ * @throws {RequiredError}
2982
+ */
2983
+ teamsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2984
+ [key: string]: string;
2985
+ }, any, {}>>;
2986
+ /**
2987
+ * Retrieve details of a specific team by its ID.
2988
+ * @summary Get team details
2989
+ * @param {string} id Team ID
2990
+ * @param {*} [options] Override http request option.
2991
+ * @throws {RequiredError}
2992
+ */
2993
+ teamsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
2994
+ [key: string]: any;
2995
+ }, any, {}>>;
2996
+ /**
2997
+ * Retrieve all pending invitations sent by this team. Only the team leader can see this.
2998
+ * @summary Get team\'s outgoing invitations
2999
+ * @param {string} id Team ID
3000
+ * @param {*} [options] Override http request option.
3001
+ * @throws {RequiredError}
3002
+ */
3003
+ teamsIdInvitationsGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsTeamInvitation[], any, {}>>;
3004
+ /**
3005
+ * Withdraw a pending team invitation.
3006
+ * @summary Cancel invitation
3007
+ * @param {string} id Team ID
3008
+ * @param {string} invitationId Invitation ID
3009
+ * @param {*} [options] Override http request option.
3010
+ * @throws {RequiredError}
3011
+ */
3012
+ teamsIdInvitationsInvitationIdDelete(id: string, invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3013
+ [key: string]: string;
3014
+ }, any, {}>>;
3015
+ /**
3016
+ * Send a team invitation to a user by their email address.
3017
+ * @summary Invite by email
3018
+ * @param {string} id Team ID
3019
+ * @param {HandlersInviteByEmailRequest} request Email to invite
3020
+ * @param {*} [options] Override http request option.
3021
+ * @throws {RequiredError}
3022
+ */
3023
+ teamsIdInviteEmailPost(id: string, request: HandlersInviteByEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3024
+ [key: string]: any;
3025
+ }, any, {}>>;
3026
+ /**
3027
+ * Send a team invitation to a user by their username.
3028
+ * @summary Invite by username
3029
+ * @param {string} id Team ID
3030
+ * @param {HandlersInviteByUsernameRequest} request User to invite
3031
+ * @param {*} [options] Override http request option.
3032
+ * @throws {RequiredError}
3033
+ */
3034
+ teamsIdInviteUsernamePost(id: string, request: HandlersInviteByUsernameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3035
+ [key: string]: any;
3036
+ }, any, {}>>;
3037
+ /**
3038
+ * Exit the current team. If the leader leaves and is the only member, the team is deleted.
3039
+ * @summary Leave team
3040
+ * @param {string} id Team ID
3041
+ * @param {*} [options] Override http request option.
3042
+ * @throws {RequiredError}
3043
+ */
3044
+ teamsIdLeavePost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3045
+ [key: string]: string;
3046
+ }, any, {}>>;
3047
+ /**
3048
+ * Remove a specific user from the team. Only the team leader can perform this action.
3049
+ * @summary Remove team member
3050
+ * @param {string} id Team ID
3051
+ * @param {string} userId User ID to remove
3052
+ * @param {*} [options] Override http request option.
3053
+ * @throws {RequiredError}
3054
+ */
3055
+ teamsIdMembersUserIdDelete(id: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3056
+ [key: string]: string;
3057
+ }, any, {}>>;
3058
+ /**
3059
+ * Update the name and description of a team. Only the team leader can perform this action.
3060
+ * @summary Update team
3061
+ * @param {string} id Team ID
3062
+ * @param {HandlersUpdateTeamRequest} request Updated team details
3063
+ * @param {*} [options] Override http request option.
3064
+ * @throws {RequiredError}
3065
+ */
3066
+ teamsIdPut(id: string, request: HandlersUpdateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3067
+ [key: string]: any;
3068
+ }, any, {}>>;
3069
+ /**
3070
+ * Create a new unique invite code for the team, invalidating the old one.
3071
+ * @summary Regenerate invite code
3072
+ * @param {string} id Team ID
3073
+ * @param {*} [options] Override http request option.
3074
+ * @throws {RequiredError}
3075
+ */
3076
+ teamsIdRegenerateCodePost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3077
+ [key: string]: string;
3078
+ }, any, {}>>;
3079
+ /**
3080
+ * Retrieve all team invitations sent to the authenticated user.
3081
+ * @summary Get pending invitations
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ teamsInvitationsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3086
+ [key: string]: any;
3087
+ }, any, {}>>;
3088
+ /**
3089
+ * Accept a team invitation and join the team.
3090
+ * @summary Accept invitation
3091
+ * @param {string} id Invitation ID
3092
+ * @param {*} [options] Override http request option.
3093
+ * @throws {RequiredError}
3094
+ */
3095
+ teamsInvitationsIdAcceptPost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3096
+ [key: string]: any;
3097
+ }, any, {}>>;
3098
+ /**
3099
+ * Decline a team invitation.
3100
+ * @summary Reject invitation
3101
+ * @param {string} id Invitation ID
3102
+ * @param {*} [options] Override http request option.
3103
+ * @throws {RequiredError}
3104
+ */
3105
+ teamsInvitationsIdRejectPost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3106
+ [key: string]: string;
3107
+ }, any, {}>>;
3108
+ /**
3109
+ * Join an existing team using its unique invite code.
3110
+ * @summary Join team by code
3111
+ * @param {string} code Invite code
3112
+ * @param {HandlersJoinByCodeRequest} [request] Invite code in body
3113
+ * @param {*} [options] Override http request option.
3114
+ * @throws {RequiredError}
3115
+ */
3116
+ teamsJoinCodePost(code: string, request?: HandlersJoinByCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3117
+ [key: string]: any;
3118
+ }, any, {}>>;
3119
+ /**
3120
+ * Retrieve details of the team the authenticated user belongs to.
3121
+ * @summary Get my team
3122
+ * @param {*} [options] Override http request option.
3123
+ * @throws {RequiredError}
3124
+ */
3125
+ teamsMyTeamGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3126
+ [key: string]: any;
3127
+ }, any, {}>>;
3128
+ /**
3129
+ * Create a new team. The authenticated user becomes the team leader.
3130
+ * @summary Create a team
3131
+ * @param {HandlersCreateTeamRequest} request Team details
3132
+ * @param {*} [options] Override http request option.
3133
+ * @throws {RequiredError}
3134
+ */
3135
+ teamsPost(request: HandlersCreateTeamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3136
+ [key: string]: any;
3137
+ }, any, {}>>;
3138
+ /**
3139
+ * Retrieve a list of all teams sorted by their total points.
3140
+ * @summary Get team scoreboard
3141
+ * @param {*} [options] Override http request option.
3142
+ * @throws {RequiredError}
3143
+ */
3144
+ teamsScoreboardGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3145
+ [key: string]: any;
3146
+ }, any, {}>>;
3147
+ }
3148
+ /**
3149
+ * WebSocketApi - axios parameter creator
3150
+ */
3151
+ export declare const WebSocketApiAxiosParamCreator: (configuration?: Configuration) => {
3152
+ /**
3153
+ * Establish a WebSocket connection for real-time updates (solves, scoreboard updates).
3154
+ * @summary WebSocket connection
3155
+ * @param {*} [options] Override http request option.
3156
+ * @throws {RequiredError}
3157
+ */
3158
+ wsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3159
+ };
3160
+ /**
3161
+ * WebSocketApi - functional programming interface
3162
+ */
3163
+ export declare const WebSocketApiFp: (configuration?: Configuration) => {
3164
+ /**
3165
+ * Establish a WebSocket connection for real-time updates (solves, scoreboard updates).
3166
+ * @summary WebSocket connection
3167
+ * @param {*} [options] Override http request option.
3168
+ * @throws {RequiredError}
3169
+ */
3170
+ wsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3171
+ };
3172
+ /**
3173
+ * WebSocketApi - factory interface
3174
+ */
3175
+ export declare const WebSocketApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3176
+ /**
3177
+ * Establish a WebSocket connection for real-time updates (solves, scoreboard updates).
3178
+ * @summary WebSocket connection
3179
+ * @param {*} [options] Override http request option.
3180
+ * @throws {RequiredError}
3181
+ */
3182
+ wsGet(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3183
+ };
3184
+ /**
3185
+ * WebSocketApi - object-oriented interface
3186
+ */
3187
+ export declare class WebSocketApi extends BaseAPI {
3188
+ /**
3189
+ * Establish a WebSocket connection for real-time updates (solves, scoreboard updates).
3190
+ * @summary WebSocket connection
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ wsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3195
+ }
3196
+ /**
3197
+ * WriteupsApi - axios parameter creator
3198
+ */
3199
+ export declare const WriteupsApiAxiosParamCreator: (configuration?: Configuration) => {
3200
+ /**
3201
+ * Retrieve all approved writeups for a specific challenge.
3202
+ * @summary Get writeups for a challenge
3203
+ * @param {string} id Challenge ID
3204
+ * @param {*} [options] Override http request option.
3205
+ * @throws {RequiredError}
3206
+ */
3207
+ challengesIdWriteupsGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3208
+ /**
3209
+ * Submit a writeup for a challenge that the user has already solved.
3210
+ * @summary Submit a writeup
3211
+ * @param {string} id Challenge ID
3212
+ * @param {HandlersCreateWriteupRequest} request Writeup content
3213
+ * @param {*} [options] Override http request option.
3214
+ * @throws {RequiredError}
3215
+ */
3216
+ challengesIdWriteupsPost: (id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3217
+ /**
3218
+ * Modify the content or format of a writeup. Only the author can perform this action.
3219
+ * @summary Update writeup content
3220
+ * @param {string} id Writeup ID
3221
+ * @param {HandlersCreateWriteupRequest} request New content
3222
+ * @param {*} [options] Override http request option.
3223
+ * @throws {RequiredError}
3224
+ */
3225
+ writeupsIdPut: (id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3226
+ /**
3227
+ * Add or remove an upvote for a writeup.
3228
+ * @summary Toggle writeup upvote
3229
+ * @param {string} id Writeup ID
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ writeupsIdUpvotePost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3234
+ /**
3235
+ * Retrieve all writeups submitted by the authenticated user.
3236
+ * @summary Get my writeups
3237
+ * @param {*} [options] Override http request option.
3238
+ * @throws {RequiredError}
3239
+ */
3240
+ writeupsMyGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3241
+ };
3242
+ /**
3243
+ * WriteupsApi - functional programming interface
3244
+ */
3245
+ export declare const WriteupsApiFp: (configuration?: Configuration) => {
3246
+ /**
3247
+ * Retrieve all approved writeups for a specific challenge.
3248
+ * @summary Get writeups for a challenge
3249
+ * @param {string} id Challenge ID
3250
+ * @param {*} [options] Override http request option.
3251
+ * @throws {RequiredError}
3252
+ */
3253
+ challengesIdWriteupsGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsWriteup>>>;
3254
+ /**
3255
+ * Submit a writeup for a challenge that the user has already solved.
3256
+ * @summary Submit a writeup
3257
+ * @param {string} id Challenge ID
3258
+ * @param {HandlersCreateWriteupRequest} request Writeup content
3259
+ * @param {*} [options] Override http request option.
3260
+ * @throws {RequiredError}
3261
+ */
3262
+ challengesIdWriteupsPost(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsWriteup>>;
3263
+ /**
3264
+ * Modify the content or format of a writeup. Only the author can perform this action.
3265
+ * @summary Update writeup content
3266
+ * @param {string} id Writeup ID
3267
+ * @param {HandlersCreateWriteupRequest} request New content
3268
+ * @param {*} [options] Override http request option.
3269
+ * @throws {RequiredError}
3270
+ */
3271
+ writeupsIdPut(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
3272
+ [key: string]: string;
3273
+ }>>;
3274
+ /**
3275
+ * Add or remove an upvote for a writeup.
3276
+ * @summary Toggle writeup upvote
3277
+ * @param {string} id Writeup ID
3278
+ * @param {*} [options] Override http request option.
3279
+ * @throws {RequiredError}
3280
+ */
3281
+ writeupsIdUpvotePost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
3282
+ [key: string]: boolean;
3283
+ }>>;
3284
+ /**
3285
+ * Retrieve all writeups submitted by the authenticated user.
3286
+ * @summary Get my writeups
3287
+ * @param {*} [options] Override http request option.
3288
+ * @throws {RequiredError}
3289
+ */
3290
+ writeupsMyGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ModelsWriteup>>>;
3291
+ };
3292
+ /**
3293
+ * WriteupsApi - factory interface
3294
+ */
3295
+ export declare const WriteupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3296
+ /**
3297
+ * Retrieve all approved writeups for a specific challenge.
3298
+ * @summary Get writeups for a challenge
3299
+ * @param {string} id Challenge ID
3300
+ * @param {*} [options] Override http request option.
3301
+ * @throws {RequiredError}
3302
+ */
3303
+ challengesIdWriteupsGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsWriteup>>;
3304
+ /**
3305
+ * Submit a writeup for a challenge that the user has already solved.
3306
+ * @summary Submit a writeup
3307
+ * @param {string} id Challenge ID
3308
+ * @param {HandlersCreateWriteupRequest} request Writeup content
3309
+ * @param {*} [options] Override http request option.
3310
+ * @throws {RequiredError}
3311
+ */
3312
+ challengesIdWriteupsPost(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ModelsWriteup>;
3313
+ /**
3314
+ * Modify the content or format of a writeup. Only the author can perform this action.
3315
+ * @summary Update writeup content
3316
+ * @param {string} id Writeup ID
3317
+ * @param {HandlersCreateWriteupRequest} request New content
3318
+ * @param {*} [options] Override http request option.
3319
+ * @throws {RequiredError}
3320
+ */
3321
+ writeupsIdPut(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
3322
+ [key: string]: string;
3323
+ }>;
3324
+ /**
3325
+ * Add or remove an upvote for a writeup.
3326
+ * @summary Toggle writeup upvote
3327
+ * @param {string} id Writeup ID
3328
+ * @param {*} [options] Override http request option.
3329
+ * @throws {RequiredError}
3330
+ */
3331
+ writeupsIdUpvotePost(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
3332
+ [key: string]: boolean;
3333
+ }>;
3334
+ /**
3335
+ * Retrieve all writeups submitted by the authenticated user.
3336
+ * @summary Get my writeups
3337
+ * @param {*} [options] Override http request option.
3338
+ * @throws {RequiredError}
3339
+ */
3340
+ writeupsMyGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ModelsWriteup>>;
3341
+ };
3342
+ /**
3343
+ * WriteupsApi - object-oriented interface
3344
+ */
3345
+ export declare class WriteupsApi extends BaseAPI {
3346
+ /**
3347
+ * Retrieve all approved writeups for a specific challenge.
3348
+ * @summary Get writeups for a challenge
3349
+ * @param {string} id Challenge ID
3350
+ * @param {*} [options] Override http request option.
3351
+ * @throws {RequiredError}
3352
+ */
3353
+ challengesIdWriteupsGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsWriteup[], any, {}>>;
3354
+ /**
3355
+ * Submit a writeup for a challenge that the user has already solved.
3356
+ * @summary Submit a writeup
3357
+ * @param {string} id Challenge ID
3358
+ * @param {HandlersCreateWriteupRequest} request Writeup content
3359
+ * @param {*} [options] Override http request option.
3360
+ * @throws {RequiredError}
3361
+ */
3362
+ challengesIdWriteupsPost(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsWriteup, any, {}>>;
3363
+ /**
3364
+ * Modify the content or format of a writeup. Only the author can perform this action.
3365
+ * @summary Update writeup content
3366
+ * @param {string} id Writeup ID
3367
+ * @param {HandlersCreateWriteupRequest} request New content
3368
+ * @param {*} [options] Override http request option.
3369
+ * @throws {RequiredError}
3370
+ */
3371
+ writeupsIdPut(id: string, request: HandlersCreateWriteupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3372
+ [key: string]: string;
3373
+ }, any, {}>>;
3374
+ /**
3375
+ * Add or remove an upvote for a writeup.
3376
+ * @summary Toggle writeup upvote
3377
+ * @param {string} id Writeup ID
3378
+ * @param {*} [options] Override http request option.
3379
+ * @throws {RequiredError}
3380
+ */
3381
+ writeupsIdUpvotePost(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3382
+ [key: string]: boolean;
3383
+ }, any, {}>>;
3384
+ /**
3385
+ * Retrieve all writeups submitted by the authenticated user.
3386
+ * @summary Get my writeups
3387
+ * @param {*} [options] Override http request option.
3388
+ * @throws {RequiredError}
3389
+ */
3390
+ writeupsMyGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsWriteup[], any, {}>>;
3391
+ }