@orlikfy/api-interfaces 6.1.12 → 6.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api.d.ts +722 -407
- package/dist/api.js +36 -25
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -344,63 +344,66 @@ export interface paths {
|
|
|
344
344
|
patch?: never;
|
|
345
345
|
trace?: never;
|
|
346
346
|
};
|
|
347
|
-
"/
|
|
347
|
+
"/games/{gameId}/moderator-invite": {
|
|
348
348
|
parameters: {
|
|
349
349
|
query?: never;
|
|
350
350
|
header?: never;
|
|
351
|
-
path
|
|
351
|
+
path: {
|
|
352
|
+
gameId: string;
|
|
353
|
+
};
|
|
352
354
|
cookie?: never;
|
|
353
355
|
};
|
|
354
356
|
get?: never;
|
|
355
357
|
put?: never;
|
|
356
|
-
/**
|
|
357
|
-
post: operations["
|
|
358
|
+
/** generateInviteToken */
|
|
359
|
+
post: operations["generateInviteToken"];
|
|
358
360
|
delete?: never;
|
|
359
361
|
options?: never;
|
|
360
362
|
head?: never;
|
|
361
363
|
patch?: never;
|
|
362
364
|
trace?: never;
|
|
363
365
|
};
|
|
364
|
-
"/
|
|
366
|
+
"/games/moderator-invite/{token}/accept": {
|
|
365
367
|
parameters: {
|
|
366
368
|
query?: never;
|
|
367
369
|
header?: never;
|
|
368
|
-
path
|
|
370
|
+
path: {
|
|
371
|
+
token: string;
|
|
372
|
+
};
|
|
369
373
|
cookie?: never;
|
|
370
374
|
};
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
|
|
375
|
-
post?: never;
|
|
375
|
+
get?: never;
|
|
376
|
+
put?: never;
|
|
377
|
+
/** acceptInvite */
|
|
378
|
+
post: operations["acceptInvite"];
|
|
376
379
|
delete?: never;
|
|
377
380
|
options?: never;
|
|
378
381
|
head?: never;
|
|
379
382
|
patch?: never;
|
|
380
383
|
trace?: never;
|
|
381
384
|
};
|
|
382
|
-
"/
|
|
385
|
+
"/games/{gameId}/moderators/{userId}": {
|
|
383
386
|
parameters: {
|
|
384
387
|
query?: never;
|
|
385
388
|
header?: never;
|
|
386
|
-
path
|
|
389
|
+
path: {
|
|
390
|
+
gameId: string;
|
|
391
|
+
userId: string;
|
|
392
|
+
};
|
|
387
393
|
cookie?: never;
|
|
388
394
|
};
|
|
389
395
|
get?: never;
|
|
390
396
|
put?: never;
|
|
391
397
|
post?: never;
|
|
392
|
-
|
|
398
|
+
/** removeModerator */
|
|
399
|
+
delete: operations["removeModerator"];
|
|
393
400
|
options?: never;
|
|
394
401
|
head?: never;
|
|
395
|
-
/**
|
|
396
|
-
|
|
397
|
-
* @deprecated
|
|
398
|
-
* @description Can be removed after update-user-location flag
|
|
399
|
-
*/
|
|
400
|
-
patch: operations["updateNearbyGamesAlertLocation"];
|
|
402
|
+
/** updateModerator */
|
|
403
|
+
patch: operations["updateModerator"];
|
|
401
404
|
trace?: never;
|
|
402
405
|
};
|
|
403
|
-
"/
|
|
406
|
+
"/hosted-games": {
|
|
404
407
|
parameters: {
|
|
405
408
|
query?: never;
|
|
406
409
|
header?: never;
|
|
@@ -409,111 +412,151 @@ export interface paths {
|
|
|
409
412
|
};
|
|
410
413
|
get?: never;
|
|
411
414
|
put?: never;
|
|
412
|
-
post
|
|
415
|
+
post: operations["createHostedGame"];
|
|
413
416
|
delete?: never;
|
|
414
417
|
options?: never;
|
|
415
418
|
head?: never;
|
|
416
|
-
|
|
417
|
-
patch: operations["updateNearbyGamesAlertEnabled"];
|
|
419
|
+
patch?: never;
|
|
418
420
|
trace?: never;
|
|
419
421
|
};
|
|
420
|
-
"/
|
|
422
|
+
"/hosted-games/{hostedGameId}": {
|
|
423
|
+
parameters: {
|
|
424
|
+
query?: never;
|
|
425
|
+
header?: never;
|
|
426
|
+
path: {
|
|
427
|
+
hostedGameId: string;
|
|
428
|
+
};
|
|
429
|
+
cookie?: never;
|
|
430
|
+
};
|
|
431
|
+
get: operations["getHostedGame"];
|
|
432
|
+
put?: never;
|
|
433
|
+
post?: never;
|
|
434
|
+
delete: operations["cancelHostedGame"];
|
|
435
|
+
options?: never;
|
|
436
|
+
head?: never;
|
|
437
|
+
patch: operations["updateHostedGame"];
|
|
438
|
+
trace?: never;
|
|
439
|
+
};
|
|
440
|
+
"/hosted-games/future": {
|
|
421
441
|
parameters: {
|
|
422
442
|
query?: never;
|
|
423
443
|
header?: never;
|
|
424
444
|
path?: never;
|
|
425
445
|
cookie?: never;
|
|
426
446
|
};
|
|
427
|
-
|
|
447
|
+
/** @deprecated */
|
|
448
|
+
get: operations["getUserHostedGamesFuture"];
|
|
428
449
|
put?: never;
|
|
429
|
-
|
|
430
|
-
post: operations["logoutUser"];
|
|
450
|
+
post?: never;
|
|
431
451
|
delete?: never;
|
|
432
452
|
options?: never;
|
|
433
453
|
head?: never;
|
|
434
454
|
patch?: never;
|
|
435
455
|
trace?: never;
|
|
436
456
|
};
|
|
437
|
-
"/
|
|
457
|
+
"/hosted-games/past": {
|
|
438
458
|
parameters: {
|
|
439
459
|
query?: never;
|
|
440
460
|
header?: never;
|
|
441
461
|
path?: never;
|
|
442
462
|
cookie?: never;
|
|
443
463
|
};
|
|
444
|
-
|
|
464
|
+
/** @deprecated */
|
|
465
|
+
get: operations["getUserHostedGamesPast"];
|
|
445
466
|
put?: never;
|
|
446
|
-
|
|
447
|
-
post: operations["postMyUserReferral"];
|
|
467
|
+
post?: never;
|
|
448
468
|
delete?: never;
|
|
449
469
|
options?: never;
|
|
450
470
|
head?: never;
|
|
451
471
|
patch?: never;
|
|
452
472
|
trace?: never;
|
|
453
473
|
};
|
|
454
|
-
"/
|
|
474
|
+
"/game/{gameId}/fb-groups": {
|
|
455
475
|
parameters: {
|
|
456
476
|
query?: never;
|
|
457
477
|
header?: never;
|
|
458
|
-
path
|
|
478
|
+
path: {
|
|
479
|
+
gameId: string;
|
|
480
|
+
};
|
|
459
481
|
cookie?: never;
|
|
460
482
|
};
|
|
461
|
-
/**
|
|
462
|
-
get: operations["
|
|
483
|
+
/** getFbGroupsByGameId */
|
|
484
|
+
get: operations["getFbGroupsByGameId"];
|
|
463
485
|
put?: never;
|
|
464
486
|
post?: never;
|
|
465
|
-
|
|
466
|
-
delete: operations["deleteMyUser"];
|
|
487
|
+
delete?: never;
|
|
467
488
|
options?: never;
|
|
468
489
|
head?: never;
|
|
469
|
-
|
|
470
|
-
patch: operations["updateMyUserPartial"];
|
|
490
|
+
patch?: never;
|
|
471
491
|
trace?: never;
|
|
472
492
|
};
|
|
473
|
-
"/
|
|
493
|
+
"/user/{userId}/penalty": {
|
|
474
494
|
parameters: {
|
|
475
495
|
query?: never;
|
|
476
496
|
header?: never;
|
|
477
|
-
path
|
|
497
|
+
path: {
|
|
498
|
+
userId: string;
|
|
499
|
+
};
|
|
500
|
+
cookie?: never;
|
|
501
|
+
};
|
|
502
|
+
/** getUserPenalties */
|
|
503
|
+
get: operations["getUserPenalties"];
|
|
504
|
+
put?: never;
|
|
505
|
+
/** createUserPenalty */
|
|
506
|
+
post: operations["createPenalty"];
|
|
507
|
+
delete?: never;
|
|
508
|
+
options?: never;
|
|
509
|
+
head?: never;
|
|
510
|
+
patch?: never;
|
|
511
|
+
trace?: never;
|
|
512
|
+
};
|
|
513
|
+
"/penalties/{userPenaltyId}": {
|
|
514
|
+
parameters: {
|
|
515
|
+
query?: never;
|
|
516
|
+
header?: never;
|
|
517
|
+
path: {
|
|
518
|
+
userPenaltyId: string;
|
|
519
|
+
};
|
|
478
520
|
cookie?: never;
|
|
479
521
|
};
|
|
480
522
|
get?: never;
|
|
481
523
|
put?: never;
|
|
482
524
|
post?: never;
|
|
483
|
-
|
|
525
|
+
/** revokeUserPenalty */
|
|
526
|
+
delete: operations["revokePenalty"];
|
|
484
527
|
options?: never;
|
|
485
528
|
head?: never;
|
|
486
|
-
|
|
487
|
-
patch: operations["setMyLanguage"];
|
|
529
|
+
patch?: never;
|
|
488
530
|
trace?: never;
|
|
489
531
|
};
|
|
490
|
-
"/
|
|
532
|
+
"/nearby-games-alerts/trigger-scheduled-alert-for-game": {
|
|
491
533
|
parameters: {
|
|
492
534
|
query?: never;
|
|
493
535
|
header?: never;
|
|
494
536
|
path?: never;
|
|
495
537
|
cookie?: never;
|
|
496
538
|
};
|
|
497
|
-
|
|
498
|
-
get: operations["getMyUserStats"];
|
|
539
|
+
get?: never;
|
|
499
540
|
put?: never;
|
|
500
|
-
|
|
541
|
+
/** Emit alerts for nearby games */
|
|
542
|
+
post: operations["emitGameAlerts"];
|
|
501
543
|
delete?: never;
|
|
502
544
|
options?: never;
|
|
503
545
|
head?: never;
|
|
504
546
|
patch?: never;
|
|
505
547
|
trace?: never;
|
|
506
548
|
};
|
|
507
|
-
"/
|
|
549
|
+
"/nearby-games/alerts": {
|
|
508
550
|
parameters: {
|
|
509
551
|
query?: never;
|
|
510
552
|
header?: never;
|
|
511
553
|
path?: never;
|
|
512
554
|
cookie?: never;
|
|
513
555
|
};
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
556
|
+
/** getNearbyGamesAlertByUser */
|
|
557
|
+
get: operations["getUserNearbyGamesAlert"];
|
|
558
|
+
/** createNearbyGamesAlert */
|
|
559
|
+
put: operations["upsertUserNearbyGamesAlert"];
|
|
517
560
|
post?: never;
|
|
518
561
|
delete?: never;
|
|
519
562
|
options?: never;
|
|
@@ -521,7 +564,7 @@ export interface paths {
|
|
|
521
564
|
patch?: never;
|
|
522
565
|
trace?: never;
|
|
523
566
|
};
|
|
524
|
-
"/
|
|
567
|
+
"/nearby-games/alerts/location": {
|
|
525
568
|
parameters: {
|
|
526
569
|
query?: never;
|
|
527
570
|
header?: never;
|
|
@@ -530,118 +573,134 @@ export interface paths {
|
|
|
530
573
|
};
|
|
531
574
|
get?: never;
|
|
532
575
|
put?: never;
|
|
533
|
-
post
|
|
576
|
+
post?: never;
|
|
534
577
|
delete?: never;
|
|
535
578
|
options?: never;
|
|
536
579
|
head?: never;
|
|
537
|
-
|
|
580
|
+
/**
|
|
581
|
+
* updateNearbyGamesAlertLocation
|
|
582
|
+
* @deprecated
|
|
583
|
+
* @description Can be removed after update-user-location flag
|
|
584
|
+
*/
|
|
585
|
+
patch: operations["updateNearbyGamesAlertLocation"];
|
|
538
586
|
trace?: never;
|
|
539
587
|
};
|
|
540
|
-
"/
|
|
588
|
+
"/nearby-games/alerts/enabled": {
|
|
541
589
|
parameters: {
|
|
542
590
|
query?: never;
|
|
543
591
|
header?: never;
|
|
544
|
-
path
|
|
545
|
-
hostedGameId: string;
|
|
546
|
-
};
|
|
592
|
+
path?: never;
|
|
547
593
|
cookie?: never;
|
|
548
594
|
};
|
|
549
|
-
get
|
|
595
|
+
get?: never;
|
|
550
596
|
put?: never;
|
|
551
597
|
post?: never;
|
|
552
|
-
delete
|
|
598
|
+
delete?: never;
|
|
553
599
|
options?: never;
|
|
554
600
|
head?: never;
|
|
555
|
-
|
|
601
|
+
/** updateNearbyGamesAlertEnabled */
|
|
602
|
+
patch: operations["updateNearbyGamesAlertEnabled"];
|
|
556
603
|
trace?: never;
|
|
557
604
|
};
|
|
558
|
-
"/
|
|
605
|
+
"/users/logout": {
|
|
559
606
|
parameters: {
|
|
560
607
|
query?: never;
|
|
561
608
|
header?: never;
|
|
562
609
|
path?: never;
|
|
563
610
|
cookie?: never;
|
|
564
611
|
};
|
|
565
|
-
|
|
566
|
-
get: operations["getUserHostedGamesFuture"];
|
|
612
|
+
get?: never;
|
|
567
613
|
put?: never;
|
|
568
|
-
|
|
614
|
+
/** logoutUser */
|
|
615
|
+
post: operations["logoutUser"];
|
|
569
616
|
delete?: never;
|
|
570
617
|
options?: never;
|
|
571
618
|
head?: never;
|
|
572
619
|
patch?: never;
|
|
573
620
|
trace?: never;
|
|
574
621
|
};
|
|
575
|
-
"/
|
|
622
|
+
"/users/referral": {
|
|
576
623
|
parameters: {
|
|
577
624
|
query?: never;
|
|
578
625
|
header?: never;
|
|
579
626
|
path?: never;
|
|
580
627
|
cookie?: never;
|
|
581
628
|
};
|
|
582
|
-
|
|
583
|
-
get: operations["getUserHostedGamesPast"];
|
|
629
|
+
get?: never;
|
|
584
630
|
put?: never;
|
|
585
|
-
|
|
631
|
+
/** postMyUserReferral */
|
|
632
|
+
post: operations["postMyUserReferral"];
|
|
586
633
|
delete?: never;
|
|
587
634
|
options?: never;
|
|
588
635
|
head?: never;
|
|
589
636
|
patch?: never;
|
|
590
637
|
trace?: never;
|
|
591
638
|
};
|
|
592
|
-
"/
|
|
639
|
+
"/users/me": {
|
|
593
640
|
parameters: {
|
|
594
641
|
query?: never;
|
|
595
642
|
header?: never;
|
|
596
|
-
path
|
|
597
|
-
gameId: string;
|
|
598
|
-
};
|
|
643
|
+
path?: never;
|
|
599
644
|
cookie?: never;
|
|
600
645
|
};
|
|
601
|
-
/**
|
|
602
|
-
get: operations["
|
|
646
|
+
/** getMyUser */
|
|
647
|
+
get: operations["getMyUser"];
|
|
648
|
+
put?: never;
|
|
649
|
+
post?: never;
|
|
650
|
+
/** deleteMyUser */
|
|
651
|
+
delete: operations["deleteMyUser"];
|
|
652
|
+
options?: never;
|
|
653
|
+
head?: never;
|
|
654
|
+
/** updateMyUserPartial */
|
|
655
|
+
patch: operations["updateMyUserPartial"];
|
|
656
|
+
trace?: never;
|
|
657
|
+
};
|
|
658
|
+
"/users/me/language": {
|
|
659
|
+
parameters: {
|
|
660
|
+
query?: never;
|
|
661
|
+
header?: never;
|
|
662
|
+
path?: never;
|
|
663
|
+
cookie?: never;
|
|
664
|
+
};
|
|
665
|
+
get?: never;
|
|
603
666
|
put?: never;
|
|
604
667
|
post?: never;
|
|
605
668
|
delete?: never;
|
|
606
669
|
options?: never;
|
|
607
670
|
head?: never;
|
|
608
|
-
|
|
671
|
+
/** setMyLanguage */
|
|
672
|
+
patch: operations["setMyLanguage"];
|
|
609
673
|
trace?: never;
|
|
610
674
|
};
|
|
611
|
-
"/
|
|
675
|
+
"/users/me/stats": {
|
|
612
676
|
parameters: {
|
|
613
677
|
query?: never;
|
|
614
678
|
header?: never;
|
|
615
|
-
path
|
|
616
|
-
userId: string;
|
|
617
|
-
};
|
|
679
|
+
path?: never;
|
|
618
680
|
cookie?: never;
|
|
619
681
|
};
|
|
620
|
-
/**
|
|
621
|
-
get: operations["
|
|
682
|
+
/** getMyUserStats */
|
|
683
|
+
get: operations["getMyUserStats"];
|
|
622
684
|
put?: never;
|
|
623
|
-
|
|
624
|
-
post: operations["createPenalty"];
|
|
685
|
+
post?: never;
|
|
625
686
|
delete?: never;
|
|
626
687
|
options?: never;
|
|
627
688
|
head?: never;
|
|
628
689
|
patch?: never;
|
|
629
690
|
trace?: never;
|
|
630
691
|
};
|
|
631
|
-
"/
|
|
692
|
+
"/user-meta/push-notification-enabled": {
|
|
632
693
|
parameters: {
|
|
633
694
|
query?: never;
|
|
634
695
|
header?: never;
|
|
635
|
-
path
|
|
636
|
-
userPenaltyId: string;
|
|
637
|
-
};
|
|
696
|
+
path?: never;
|
|
638
697
|
cookie?: never;
|
|
639
698
|
};
|
|
640
699
|
get?: never;
|
|
641
|
-
|
|
700
|
+
/** update user meta with key push_notification_enabled */
|
|
701
|
+
put: operations["upsertUserMetaPushNotificationEnabledValue"];
|
|
642
702
|
post?: never;
|
|
643
|
-
|
|
644
|
-
delete: operations["revokePenalty"];
|
|
703
|
+
delete?: never;
|
|
645
704
|
options?: never;
|
|
646
705
|
head?: never;
|
|
647
706
|
patch?: never;
|
|
@@ -1582,6 +1641,25 @@ export interface paths {
|
|
|
1582
1641
|
patch?: never;
|
|
1583
1642
|
trace?: never;
|
|
1584
1643
|
};
|
|
1644
|
+
"/user-comments/{commentId}": {
|
|
1645
|
+
parameters: {
|
|
1646
|
+
query?: never;
|
|
1647
|
+
header?: never;
|
|
1648
|
+
path: {
|
|
1649
|
+
commentId: string;
|
|
1650
|
+
};
|
|
1651
|
+
cookie?: never;
|
|
1652
|
+
};
|
|
1653
|
+
get?: never;
|
|
1654
|
+
put?: never;
|
|
1655
|
+
post?: never;
|
|
1656
|
+
/** revokeUserComment */
|
|
1657
|
+
delete: operations["revokeComment"];
|
|
1658
|
+
options?: never;
|
|
1659
|
+
head?: never;
|
|
1660
|
+
patch?: never;
|
|
1661
|
+
trace?: never;
|
|
1662
|
+
};
|
|
1585
1663
|
"/bi-data/refresh-data": {
|
|
1586
1664
|
parameters: {
|
|
1587
1665
|
query?: never;
|
|
@@ -1990,6 +2068,11 @@ export interface components {
|
|
|
1990
2068
|
};
|
|
1991
2069
|
/** @enum {string} */
|
|
1992
2070
|
AppGameLocationType: AppGameLocationType;
|
|
2071
|
+
GameModeratorDto: {
|
|
2072
|
+
userId: string;
|
|
2073
|
+
displayName: string;
|
|
2074
|
+
thumbnail: string | null;
|
|
2075
|
+
};
|
|
1993
2076
|
GameDto: {
|
|
1994
2077
|
gameId: string;
|
|
1995
2078
|
visibility: components["schemas"]["visibility"];
|
|
@@ -2023,6 +2106,7 @@ export interface components {
|
|
|
2023
2106
|
autoApproveAll: boolean;
|
|
2024
2107
|
autoApproveTeamMembers: boolean;
|
|
2025
2108
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2109
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2026
2110
|
};
|
|
2027
2111
|
/** @enum {string} */
|
|
2028
2112
|
gameLevelEnum: GameLevelEnum;
|
|
@@ -2062,6 +2146,7 @@ export interface components {
|
|
|
2062
2146
|
autoApproveAll: boolean;
|
|
2063
2147
|
autoApproveTeamMembers: boolean;
|
|
2064
2148
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2149
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2065
2150
|
};
|
|
2066
2151
|
NearbyGamesByLocationDtoLocation: {
|
|
2067
2152
|
locationId: string;
|
|
@@ -2115,6 +2200,7 @@ export interface components {
|
|
|
2115
2200
|
autoApproveAll: boolean;
|
|
2116
2201
|
autoApproveTeamMembers: boolean;
|
|
2117
2202
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2203
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2118
2204
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2119
2205
|
gameContactPhone?: string;
|
|
2120
2206
|
};
|
|
@@ -2146,6 +2232,7 @@ export interface components {
|
|
|
2146
2232
|
autoApproveAll: boolean;
|
|
2147
2233
|
autoApproveTeamMembers: boolean;
|
|
2148
2234
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2235
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2149
2236
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2150
2237
|
gameContactPhone?: string;
|
|
2151
2238
|
gameInvitationId: string;
|
|
@@ -2154,6 +2241,7 @@ export interface components {
|
|
|
2154
2241
|
approved: components["schemas"]["PlayerGameDto"][];
|
|
2155
2242
|
waiting: components["schemas"]["PlayerGameDto"][];
|
|
2156
2243
|
invitations: components["schemas"]["PlayerGameInvitationDto"][];
|
|
2244
|
+
moderated: components["schemas"]["PlayerGameDto"][];
|
|
2157
2245
|
};
|
|
2158
2246
|
PlayerGamesPastDto: {
|
|
2159
2247
|
games: components["schemas"]["PlayerGameDto"][];
|
|
@@ -2212,114 +2300,11 @@ export interface components {
|
|
|
2212
2300
|
CreateGameLineupsDto: {
|
|
2213
2301
|
lineups: components["schemas"]["CreateGameLineupsDtoLineup"][];
|
|
2214
2302
|
};
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
max: number;
|
|
2218
|
-
currency: components["schemas"]["priceCurrency"];
|
|
2219
|
-
};
|
|
2220
|
-
AlertTimeDto: {
|
|
2221
|
-
/**
|
|
2222
|
-
* @description HH
|
|
2223
|
-
* @example 13
|
|
2224
|
-
*/
|
|
2225
|
-
hoursMin: number;
|
|
2226
|
-
/**
|
|
2227
|
-
* @description HH
|
|
2228
|
-
* @example 15
|
|
2229
|
-
*/
|
|
2230
|
-
hoursMax: number;
|
|
2231
|
-
};
|
|
2232
|
-
/**
|
|
2233
|
-
* @description If empty then all
|
|
2234
|
-
* @enum {string}
|
|
2235
|
-
*/
|
|
2236
|
-
weekday: Weekday;
|
|
2237
|
-
CreateNearbyGamesAlertDto: {
|
|
2238
|
-
isEnabled: boolean;
|
|
2239
|
-
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2240
|
-
maxDistanceMeters: number;
|
|
2241
|
-
price?: components["schemas"]["AlertPriceDto"];
|
|
2242
|
-
time: components["schemas"]["AlertTimeDto"];
|
|
2243
|
-
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2244
|
-
/** @description If empty then all */
|
|
2245
|
-
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2246
|
-
};
|
|
2247
|
-
GetNearbyGamesAlertDto: {
|
|
2248
|
-
nearbyGamesAlertId: string;
|
|
2249
|
-
isEnabled: boolean;
|
|
2250
|
-
coordinates: components["schemas"]["CoordinatesDto"];
|
|
2251
|
-
maxDistanceMeters: number;
|
|
2252
|
-
price: components["schemas"]["AlertPriceDto"];
|
|
2253
|
-
time: components["schemas"]["AlertTimeDto"];
|
|
2254
|
-
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2255
|
-
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2256
|
-
};
|
|
2257
|
-
UpdateNearbyGamesAlertLocationDto: {
|
|
2258
|
-
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2259
|
-
};
|
|
2260
|
-
UpdateNearbyGamesEnabledDto: {
|
|
2261
|
-
isEnabled: boolean;
|
|
2262
|
-
};
|
|
2263
|
-
LogoutResponseDto: {
|
|
2264
|
-
/** @description Logout success status */
|
|
2265
|
-
success: boolean;
|
|
2266
|
-
/** @description Logout message */
|
|
2267
|
-
message: string;
|
|
2268
|
-
};
|
|
2269
|
-
PostMyUserReferralDto: {
|
|
2270
|
-
/** @description Referral user id */
|
|
2271
|
-
referralId: string | null;
|
|
2272
|
-
/** @description Referral token instead of user id */
|
|
2273
|
-
referralToken: string | null;
|
|
2274
|
-
};
|
|
2275
|
-
/** @enum {string} */
|
|
2276
|
-
AppProfileType: AppProfileType;
|
|
2277
|
-
/** @enum {string} */
|
|
2278
|
-
AppLanguage: AppLanguage;
|
|
2279
|
-
MyUserDto: {
|
|
2280
|
-
userId: string;
|
|
2281
|
-
userAuthId: string;
|
|
2282
|
-
timezone: string;
|
|
2283
|
-
createdAt: string;
|
|
2284
|
-
updatedAt: string;
|
|
2285
|
-
email: string;
|
|
2286
|
-
phone?: string;
|
|
2287
|
-
name?: string;
|
|
2288
|
-
surname?: string;
|
|
2289
|
-
displayName?: string;
|
|
2290
|
-
role: string;
|
|
2291
|
-
thumbnail: string | null;
|
|
2292
|
-
thumbnailUrl: string | null;
|
|
2293
|
-
playerPreferences: components["schemas"]["PlayerPreferences"];
|
|
2294
|
-
hostRating: string | null;
|
|
2295
|
-
hostRatingCount: number;
|
|
2296
|
-
profileType?: components["schemas"]["AppProfileType"] | null;
|
|
2297
|
-
referralToken: string;
|
|
2298
|
-
canSetReferral: boolean;
|
|
2299
|
-
language: components["schemas"]["AppLanguage"];
|
|
2300
|
-
};
|
|
2301
|
-
/** @enum {string} */
|
|
2302
|
-
AppGameLevel: AppGameLevel;
|
|
2303
|
-
UpdatePartialUserDto: {
|
|
2304
|
-
name?: string;
|
|
2305
|
-
surname?: string;
|
|
2306
|
-
phone?: string;
|
|
2307
|
-
thumbnail?: string;
|
|
2308
|
-
preferredPosition?: components["schemas"]["AppPreferredPlayerPosition"] | null;
|
|
2309
|
-
preferredLevel?: components["schemas"]["AppGameLevel"] | null;
|
|
2310
|
-
/** @deprecated */
|
|
2311
|
-
profileType?: components["schemas"]["AppProfileType"];
|
|
2312
|
-
};
|
|
2313
|
-
SetLanguageDto: {
|
|
2314
|
-
language: components["schemas"]["AppLanguage"];
|
|
2315
|
-
};
|
|
2316
|
-
UserStatsDto: {
|
|
2317
|
-
userId: string;
|
|
2318
|
-
playedGames: number;
|
|
2319
|
-
hostedGames: number;
|
|
2303
|
+
GenerateInviteTokenResponseDto: {
|
|
2304
|
+
token: string;
|
|
2320
2305
|
};
|
|
2321
|
-
|
|
2322
|
-
|
|
2306
|
+
UpdateModeratorDto: {
|
|
2307
|
+
isRecurringModerator: boolean;
|
|
2323
2308
|
};
|
|
2324
2309
|
CreateHostedGameDto: {
|
|
2325
2310
|
name: string;
|
|
@@ -2379,6 +2364,7 @@ export interface components {
|
|
|
2379
2364
|
/** Format: date-time */
|
|
2380
2365
|
revokedAt: string | null;
|
|
2381
2366
|
author: components["schemas"]["CommonUserDto"];
|
|
2367
|
+
canRevoke?: boolean;
|
|
2382
2368
|
};
|
|
2383
2369
|
HostedGamePlayerApplicationDto: {
|
|
2384
2370
|
gamePlayerApplicationId: string;
|
|
@@ -2414,6 +2400,11 @@ export interface components {
|
|
|
2414
2400
|
*/
|
|
2415
2401
|
leftAt: string | null;
|
|
2416
2402
|
};
|
|
2403
|
+
HostedGameModeratorDto: {
|
|
2404
|
+
userId: string;
|
|
2405
|
+
displayName: string;
|
|
2406
|
+
thumbnail: string | null;
|
|
2407
|
+
};
|
|
2417
2408
|
HostedGameItemDto: {
|
|
2418
2409
|
gameId: string;
|
|
2419
2410
|
hostId: string;
|
|
@@ -2446,6 +2437,7 @@ export interface components {
|
|
|
2446
2437
|
autoApproveAll: boolean;
|
|
2447
2438
|
autoApproveTeamMembers: boolean;
|
|
2448
2439
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2440
|
+
gameModerators: components["schemas"]["HostedGameModeratorDto"][];
|
|
2449
2441
|
};
|
|
2450
2442
|
UpdatePartialHostedGameDto: {
|
|
2451
2443
|
name: string;
|
|
@@ -2531,6 +2523,7 @@ export interface components {
|
|
|
2531
2523
|
autoApproveAll: boolean;
|
|
2532
2524
|
autoApproveTeamMembers: boolean;
|
|
2533
2525
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2526
|
+
gameModerators: components["schemas"]["HostedGameModeratorDto"][];
|
|
2534
2527
|
invitations: components["schemas"]["HostedGameInvitationDto"][][];
|
|
2535
2528
|
invitationsRejected: components["schemas"]["HostedGameInvitationDto"][][];
|
|
2536
2529
|
gamePlayersLeft: components["schemas"]["HostedGamePlayerDto"][][];
|
|
@@ -2558,10 +2551,120 @@ export interface components {
|
|
|
2558
2551
|
/** Format: date-time */
|
|
2559
2552
|
revokedAt: string;
|
|
2560
2553
|
};
|
|
2554
|
+
AlertPriceDto: {
|
|
2555
|
+
min: number;
|
|
2556
|
+
max: number;
|
|
2557
|
+
currency: components["schemas"]["priceCurrency"];
|
|
2558
|
+
};
|
|
2559
|
+
AlertTimeDto: {
|
|
2560
|
+
/**
|
|
2561
|
+
* @description HH
|
|
2562
|
+
* @example 13
|
|
2563
|
+
*/
|
|
2564
|
+
hoursMin: number;
|
|
2565
|
+
/**
|
|
2566
|
+
* @description HH
|
|
2567
|
+
* @example 15
|
|
2568
|
+
*/
|
|
2569
|
+
hoursMax: number;
|
|
2570
|
+
};
|
|
2571
|
+
/**
|
|
2572
|
+
* @description If empty then all
|
|
2573
|
+
* @enum {string}
|
|
2574
|
+
*/
|
|
2575
|
+
weekday: Weekday;
|
|
2576
|
+
CreateNearbyGamesAlertDto: {
|
|
2577
|
+
isEnabled: boolean;
|
|
2578
|
+
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2579
|
+
maxDistanceMeters: number;
|
|
2580
|
+
price?: components["schemas"]["AlertPriceDto"];
|
|
2581
|
+
time: components["schemas"]["AlertTimeDto"];
|
|
2582
|
+
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2583
|
+
/** @description If empty then all */
|
|
2584
|
+
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2585
|
+
};
|
|
2586
|
+
GetNearbyGamesAlertDto: {
|
|
2587
|
+
nearbyGamesAlertId: string;
|
|
2588
|
+
isEnabled: boolean;
|
|
2589
|
+
coordinates: components["schemas"]["CoordinatesDto"];
|
|
2590
|
+
maxDistanceMeters: number;
|
|
2591
|
+
price: components["schemas"]["AlertPriceDto"];
|
|
2592
|
+
time: components["schemas"]["AlertTimeDto"];
|
|
2593
|
+
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2594
|
+
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2595
|
+
};
|
|
2596
|
+
UpdateNearbyGamesAlertLocationDto: {
|
|
2597
|
+
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2598
|
+
};
|
|
2599
|
+
UpdateNearbyGamesEnabledDto: {
|
|
2600
|
+
isEnabled: boolean;
|
|
2601
|
+
};
|
|
2602
|
+
LogoutResponseDto: {
|
|
2603
|
+
/** @description Logout success status */
|
|
2604
|
+
success: boolean;
|
|
2605
|
+
/** @description Logout message */
|
|
2606
|
+
message: string;
|
|
2607
|
+
};
|
|
2608
|
+
PostMyUserReferralDto: {
|
|
2609
|
+
/** @description Referral user id */
|
|
2610
|
+
referralId: string | null;
|
|
2611
|
+
/** @description Referral token instead of user id */
|
|
2612
|
+
referralToken: string | null;
|
|
2613
|
+
};
|
|
2614
|
+
/** @enum {string} */
|
|
2615
|
+
AppProfileType: AppProfileType;
|
|
2616
|
+
/** @enum {string} */
|
|
2617
|
+
AppLanguage: AppLanguage;
|
|
2618
|
+
MyUserDto: {
|
|
2619
|
+
userId: string;
|
|
2620
|
+
userAuthId: string;
|
|
2621
|
+
timezone: string;
|
|
2622
|
+
createdAt: string;
|
|
2623
|
+
updatedAt: string;
|
|
2624
|
+
email: string;
|
|
2625
|
+
phone?: string;
|
|
2626
|
+
name?: string;
|
|
2627
|
+
surname?: string;
|
|
2628
|
+
displayName?: string;
|
|
2629
|
+
role: string;
|
|
2630
|
+
thumbnail: string | null;
|
|
2631
|
+
thumbnailUrl: string | null;
|
|
2632
|
+
playerPreferences: components["schemas"]["PlayerPreferences"];
|
|
2633
|
+
hostRating: string | null;
|
|
2634
|
+
hostRatingCount: number;
|
|
2635
|
+
profileType?: components["schemas"]["AppProfileType"] | null;
|
|
2636
|
+
referralToken: string;
|
|
2637
|
+
canSetReferral: boolean;
|
|
2638
|
+
language: components["schemas"]["AppLanguage"];
|
|
2639
|
+
};
|
|
2640
|
+
/** @enum {string} */
|
|
2641
|
+
AppGameLevel: AppGameLevel;
|
|
2642
|
+
UpdatePartialUserDto: {
|
|
2643
|
+
name?: string;
|
|
2644
|
+
surname?: string;
|
|
2645
|
+
phone?: string;
|
|
2646
|
+
thumbnail?: string;
|
|
2647
|
+
preferredPosition?: components["schemas"]["AppPreferredPlayerPosition"] | null;
|
|
2648
|
+
preferredLevel?: components["schemas"]["AppGameLevel"] | null;
|
|
2649
|
+
/** @deprecated */
|
|
2650
|
+
profileType?: components["schemas"]["AppProfileType"];
|
|
2651
|
+
};
|
|
2652
|
+
SetLanguageDto: {
|
|
2653
|
+
language: components["schemas"]["AppLanguage"];
|
|
2654
|
+
};
|
|
2655
|
+
UserStatsDto: {
|
|
2656
|
+
userId: string;
|
|
2657
|
+
playedGames: number;
|
|
2658
|
+
hostedGames: number;
|
|
2659
|
+
};
|
|
2660
|
+
UpsertUserMetaBooleanDto: {
|
|
2661
|
+
value: boolean;
|
|
2662
|
+
};
|
|
2561
2663
|
MyGamesPlayerDto: {
|
|
2562
2664
|
approved: components["schemas"]["PlayerGameDto"][];
|
|
2563
2665
|
waiting: components["schemas"]["PlayerGameDto"][];
|
|
2564
2666
|
invitations: components["schemas"]["PlayerGameInvitationDto"][];
|
|
2667
|
+
moderated: components["schemas"]["PlayerGameDto"][];
|
|
2565
2668
|
};
|
|
2566
2669
|
MyGamesDto: {
|
|
2567
2670
|
host: components["schemas"]["HostedGameItemDto"][];
|
|
@@ -2824,6 +2927,18 @@ export interface components {
|
|
|
2824
2927
|
teamId: string;
|
|
2825
2928
|
teamName: string;
|
|
2826
2929
|
};
|
|
2930
|
+
TeamMemberLeftNotificationPayload: {
|
|
2931
|
+
notificationId: string;
|
|
2932
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
2933
|
+
thumbnailUrl: string | null;
|
|
2934
|
+
displayName: string;
|
|
2935
|
+
receiverUserId: string;
|
|
2936
|
+
title?: string;
|
|
2937
|
+
body?: string;
|
|
2938
|
+
teamId: string;
|
|
2939
|
+
teamName: string;
|
|
2940
|
+
memberName: string;
|
|
2941
|
+
};
|
|
2827
2942
|
UserPenaltyReceivedNotificationPayload: {
|
|
2828
2943
|
notificationId: string;
|
|
2829
2944
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2971,7 +3086,7 @@ export interface components {
|
|
|
2971
3086
|
sentAt: string | null;
|
|
2972
3087
|
isRead: boolean;
|
|
2973
3088
|
notificationType: components["schemas"]["notificationTypes"];
|
|
2974
|
-
payload: components["schemas"]["TestNotificationPayload"] | components["schemas"]["GameApplicationApprovedNotificationPayload"] | components["schemas"]["GameApplicationRejectedNotificationPayload"] | components["schemas"]["GameInvitationReceivedNotificationPayload"] | components["schemas"]["GameFinishedNotificationPayload"] | components["schemas"]["GameCanceledNotificationPayload"] | components["schemas"]["GamePlayerRemovedByHostNotificationPayload"] | components["schemas"]["GameLineupsCreatedNotificationPayload"] | components["schemas"]["NewGameByAlertNotificationPayload"] | components["schemas"]["GameUpdatedNotificationPayload"] | components["schemas"]["HostedGameNewApplicationNotificationPayload"] | components["schemas"]["HostedGamePlayerLeftNotificationPayload"] | components["schemas"]["HostedGamePlayerAutoApprovedNotificationPayload"] | components["schemas"]["HostedGameFinishedNotificationPayload"] | components["schemas"]["ChatNewMessageNotificationPayload"] | components["schemas"]["CustomNotificationPayload"] | components["schemas"]["TeamMemberAddedByHostNotificationPayload"] | components["schemas"]["UserPenaltyReceivedNotificationPayload"] | components["schemas"]["UserPenaltyRevokedNotificationPayload"] | components["schemas"]["NewTrophyReceivedNotificationPayload"] | components["schemas"]["NewCommentReceivedNotificationPayload"] | components["schemas"]["UserReferralReceivedNotificationPayload"] | components["schemas"]["ActionPushPlayerInvitePlayersPayload"] | components["schemas"]["ActionPushPlayerInactivePayload"] | components["schemas"]["ActionPushPlayerInactive2Payload"] | components["schemas"]["ActionPushPlayerAlertsPayload"] | components["schemas"]["ActionPushPlayerCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostTeamsDrawingPayload"] | components["schemas"]["ActionPushHostCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostCreateGroupPayload"] | components["schemas"]["ActionPushHostInvitePreviousPlayersPayload"];
|
|
3089
|
+
payload: components["schemas"]["TestNotificationPayload"] | components["schemas"]["GameApplicationApprovedNotificationPayload"] | components["schemas"]["GameApplicationRejectedNotificationPayload"] | components["schemas"]["GameInvitationReceivedNotificationPayload"] | components["schemas"]["GameFinishedNotificationPayload"] | components["schemas"]["GameCanceledNotificationPayload"] | components["schemas"]["GamePlayerRemovedByHostNotificationPayload"] | components["schemas"]["GameLineupsCreatedNotificationPayload"] | components["schemas"]["NewGameByAlertNotificationPayload"] | components["schemas"]["GameUpdatedNotificationPayload"] | components["schemas"]["HostedGameNewApplicationNotificationPayload"] | components["schemas"]["HostedGamePlayerLeftNotificationPayload"] | components["schemas"]["HostedGamePlayerAutoApprovedNotificationPayload"] | components["schemas"]["HostedGameFinishedNotificationPayload"] | components["schemas"]["ChatNewMessageNotificationPayload"] | components["schemas"]["CustomNotificationPayload"] | components["schemas"]["TeamMemberAddedByHostNotificationPayload"] | components["schemas"]["TeamMemberLeftNotificationPayload"] | components["schemas"]["UserPenaltyReceivedNotificationPayload"] | components["schemas"]["UserPenaltyRevokedNotificationPayload"] | components["schemas"]["NewTrophyReceivedNotificationPayload"] | components["schemas"]["NewCommentReceivedNotificationPayload"] | components["schemas"]["UserReferralReceivedNotificationPayload"] | components["schemas"]["ActionPushPlayerInvitePlayersPayload"] | components["schemas"]["ActionPushPlayerInactivePayload"] | components["schemas"]["ActionPushPlayerInactive2Payload"] | components["schemas"]["ActionPushPlayerAlertsPayload"] | components["schemas"]["ActionPushPlayerCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostTeamsDrawingPayload"] | components["schemas"]["ActionPushHostCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostCreateGroupPayload"] | components["schemas"]["ActionPushHostInvitePreviousPlayersPayload"];
|
|
2975
3090
|
};
|
|
2976
3091
|
GetUserNotificationsDto: {
|
|
2977
3092
|
notifications: components["schemas"]["NotificationDto"][];
|
|
@@ -3118,6 +3233,7 @@ export interface components {
|
|
|
3118
3233
|
autoApproveAll: boolean;
|
|
3119
3234
|
autoApproveTeamMembers: boolean;
|
|
3120
3235
|
autoApproveFavoriteTeamMembers: boolean;
|
|
3236
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
3121
3237
|
/**
|
|
3122
3238
|
* @deprecated
|
|
3123
3239
|
* @description Dont use this field, generate link on frontend part.
|
|
@@ -3404,6 +3520,7 @@ export interface components {
|
|
|
3404
3520
|
/** Format: date-time */
|
|
3405
3521
|
createdAt: string;
|
|
3406
3522
|
author: components["schemas"]["CommentAuthor"];
|
|
3523
|
+
canRevoke?: boolean;
|
|
3407
3524
|
};
|
|
3408
3525
|
UserCommentsDto: {
|
|
3409
3526
|
userId: string;
|
|
@@ -3522,6 +3639,7 @@ export type CommonLocationDto = components['schemas']['CommonLocationDto'];
|
|
|
3522
3639
|
export type PlayerPreferences = components['schemas']['PlayerPreferences'];
|
|
3523
3640
|
export type GamePlayerDto = components['schemas']['GamePlayerDto'];
|
|
3524
3641
|
export type GamePlayerApplicationDto = components['schemas']['GamePlayerApplicationDto'];
|
|
3642
|
+
export type GameModeratorDto = components['schemas']['GameModeratorDto'];
|
|
3525
3643
|
export type GameDto = components['schemas']['GameDto'];
|
|
3526
3644
|
export type HostDto = components['schemas']['HostDto'];
|
|
3527
3645
|
export type CommonGameDto = components['schemas']['CommonGameDto'];
|
|
@@ -3543,25 +3661,15 @@ export type GameLineupsDto = components['schemas']['GameLineupsDto'];
|
|
|
3543
3661
|
export type CreateLineupPlayer = components['schemas']['CreateLineupPlayer'];
|
|
3544
3662
|
export type CreateGameLineupsDtoLineup = components['schemas']['CreateGameLineupsDtoLineup'];
|
|
3545
3663
|
export type CreateGameLineupsDto = components['schemas']['CreateGameLineupsDto'];
|
|
3546
|
-
export type
|
|
3547
|
-
export type
|
|
3548
|
-
export type CreateNearbyGamesAlertDto = components['schemas']['CreateNearbyGamesAlertDto'];
|
|
3549
|
-
export type GetNearbyGamesAlertDto = components['schemas']['GetNearbyGamesAlertDto'];
|
|
3550
|
-
export type UpdateNearbyGamesAlertLocationDto = components['schemas']['UpdateNearbyGamesAlertLocationDto'];
|
|
3551
|
-
export type UpdateNearbyGamesEnabledDto = components['schemas']['UpdateNearbyGamesEnabledDto'];
|
|
3552
|
-
export type LogoutResponseDto = components['schemas']['LogoutResponseDto'];
|
|
3553
|
-
export type PostMyUserReferralDto = components['schemas']['PostMyUserReferralDto'];
|
|
3554
|
-
export type MyUserDto = components['schemas']['MyUserDto'];
|
|
3555
|
-
export type UpdatePartialUserDto = components['schemas']['UpdatePartialUserDto'];
|
|
3556
|
-
export type SetLanguageDto = components['schemas']['SetLanguageDto'];
|
|
3557
|
-
export type UserStatsDto = components['schemas']['UserStatsDto'];
|
|
3558
|
-
export type UpsertUserMetaBooleanDto = components['schemas']['UpsertUserMetaBooleanDto'];
|
|
3664
|
+
export type GenerateInviteTokenResponseDto = components['schemas']['GenerateInviteTokenResponseDto'];
|
|
3665
|
+
export type UpdateModeratorDto = components['schemas']['UpdateModeratorDto'];
|
|
3559
3666
|
export type CreateHostedGameDto = components['schemas']['CreateHostedGameDto'];
|
|
3560
3667
|
export type HostedGameDtoLocation = components['schemas']['HostedGameDtoLocation'];
|
|
3561
3668
|
export type CommonUserDto = components['schemas']['CommonUserDto'];
|
|
3562
3669
|
export type CommonUserPenaltyDto = components['schemas']['CommonUserPenaltyDto'];
|
|
3563
3670
|
export type HostedGamePlayerApplicationDto = components['schemas']['HostedGamePlayerApplicationDto'];
|
|
3564
3671
|
export type HostedGamePlayerDto = components['schemas']['HostedGamePlayerDto'];
|
|
3672
|
+
export type HostedGameModeratorDto = components['schemas']['HostedGameModeratorDto'];
|
|
3565
3673
|
export type HostedGameItemDto = components['schemas']['HostedGameItemDto'];
|
|
3566
3674
|
export type UpdatePartialHostedGameDto = components['schemas']['UpdatePartialHostedGameDto'];
|
|
3567
3675
|
export type HostedGameDto = components['schemas']['HostedGameDto'];
|
|
@@ -3572,6 +3680,19 @@ export type GetGameFbGroupsDto = components['schemas']['GetGameFbGroupsDto'];
|
|
|
3572
3680
|
export type GetUserPenaltiesDto = components['schemas']['GetUserPenaltiesDto'];
|
|
3573
3681
|
export type CreateUserPenaltyDto = components['schemas']['CreateUserPenaltyDto'];
|
|
3574
3682
|
export type RevokeUserPenaltyResponseDto = components['schemas']['RevokeUserPenaltyResponseDto'];
|
|
3683
|
+
export type AlertPriceDto = components['schemas']['AlertPriceDto'];
|
|
3684
|
+
export type AlertTimeDto = components['schemas']['AlertTimeDto'];
|
|
3685
|
+
export type CreateNearbyGamesAlertDto = components['schemas']['CreateNearbyGamesAlertDto'];
|
|
3686
|
+
export type GetNearbyGamesAlertDto = components['schemas']['GetNearbyGamesAlertDto'];
|
|
3687
|
+
export type UpdateNearbyGamesAlertLocationDto = components['schemas']['UpdateNearbyGamesAlertLocationDto'];
|
|
3688
|
+
export type UpdateNearbyGamesEnabledDto = components['schemas']['UpdateNearbyGamesEnabledDto'];
|
|
3689
|
+
export type LogoutResponseDto = components['schemas']['LogoutResponseDto'];
|
|
3690
|
+
export type PostMyUserReferralDto = components['schemas']['PostMyUserReferralDto'];
|
|
3691
|
+
export type MyUserDto = components['schemas']['MyUserDto'];
|
|
3692
|
+
export type UpdatePartialUserDto = components['schemas']['UpdatePartialUserDto'];
|
|
3693
|
+
export type SetLanguageDto = components['schemas']['SetLanguageDto'];
|
|
3694
|
+
export type UserStatsDto = components['schemas']['UserStatsDto'];
|
|
3695
|
+
export type UpsertUserMetaBooleanDto = components['schemas']['UpsertUserMetaBooleanDto'];
|
|
3575
3696
|
export type MyGamesPlayerDto = components['schemas']['MyGamesPlayerDto'];
|
|
3576
3697
|
export type MyGamesDto = components['schemas']['MyGamesDto'];
|
|
3577
3698
|
export type TestNotificationPayload = components['schemas']['TestNotificationPayload'];
|
|
@@ -3591,6 +3712,7 @@ export type HostedGameFinishedNotificationPayload = components['schemas']['Hoste
|
|
|
3591
3712
|
export type ChatNewMessageNotificationPayload = components['schemas']['ChatNewMessageNotificationPayload'];
|
|
3592
3713
|
export type CustomNotificationPayload = components['schemas']['CustomNotificationPayload'];
|
|
3593
3714
|
export type TeamMemberAddedByHostNotificationPayload = components['schemas']['TeamMemberAddedByHostNotificationPayload'];
|
|
3715
|
+
export type TeamMemberLeftNotificationPayload = components['schemas']['TeamMemberLeftNotificationPayload'];
|
|
3594
3716
|
export type UserPenaltyReceivedNotificationPayload = components['schemas']['UserPenaltyReceivedNotificationPayload'];
|
|
3595
3717
|
export type UserPenaltyRevokedNotificationPayload = components['schemas']['UserPenaltyRevokedNotificationPayload'];
|
|
3596
3718
|
export type NewTrophyReceivedNotificationPayload = components['schemas']['NewTrophyReceivedNotificationPayload'];
|
|
@@ -4494,7 +4616,7 @@ export interface operations {
|
|
|
4494
4616
|
};
|
|
4495
4617
|
};
|
|
4496
4618
|
};
|
|
4497
|
-
|
|
4619
|
+
generateInviteToken: {
|
|
4498
4620
|
parameters: {
|
|
4499
4621
|
query?: never;
|
|
4500
4622
|
header?: {
|
|
@@ -4505,35 +4627,40 @@ export interface operations {
|
|
|
4505
4627
|
/** @description IANA Timezone */
|
|
4506
4628
|
"x-timezone"?: string;
|
|
4507
4629
|
};
|
|
4508
|
-
path
|
|
4630
|
+
path: {
|
|
4631
|
+
gameId: string;
|
|
4632
|
+
};
|
|
4509
4633
|
cookie?: never;
|
|
4510
4634
|
};
|
|
4511
4635
|
requestBody?: never;
|
|
4512
4636
|
responses: {
|
|
4513
|
-
|
|
4514
|
-
201: {
|
|
4637
|
+
200: {
|
|
4515
4638
|
headers: {
|
|
4516
4639
|
[name: string]: unknown;
|
|
4517
4640
|
};
|
|
4518
|
-
content
|
|
4641
|
+
content: {
|
|
4642
|
+
"application/json": components["schemas"]["GenerateInviteTokenResponseDto"];
|
|
4643
|
+
};
|
|
4519
4644
|
};
|
|
4520
|
-
/** @description
|
|
4645
|
+
/** @description GameAlreadyPending, GameModeratorLimitReached */
|
|
4521
4646
|
400: {
|
|
4522
4647
|
headers: {
|
|
4523
4648
|
[name: string]: unknown;
|
|
4524
4649
|
};
|
|
4525
4650
|
content?: never;
|
|
4526
4651
|
};
|
|
4527
|
-
/** @description
|
|
4528
|
-
|
|
4652
|
+
/** @description Application Error */
|
|
4653
|
+
500: {
|
|
4529
4654
|
headers: {
|
|
4530
4655
|
[name: string]: unknown;
|
|
4531
4656
|
};
|
|
4532
|
-
content
|
|
4657
|
+
content: {
|
|
4658
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4659
|
+
};
|
|
4533
4660
|
};
|
|
4534
4661
|
};
|
|
4535
4662
|
};
|
|
4536
|
-
|
|
4663
|
+
acceptInvite: {
|
|
4537
4664
|
parameters: {
|
|
4538
4665
|
query?: never;
|
|
4539
4666
|
header?: {
|
|
@@ -4544,19 +4671,19 @@ export interface operations {
|
|
|
4544
4671
|
/** @description IANA Timezone */
|
|
4545
4672
|
"x-timezone"?: string;
|
|
4546
4673
|
};
|
|
4547
|
-
path
|
|
4674
|
+
path: {
|
|
4675
|
+
token: string;
|
|
4676
|
+
};
|
|
4548
4677
|
cookie?: never;
|
|
4549
4678
|
};
|
|
4550
4679
|
requestBody?: never;
|
|
4551
4680
|
responses: {
|
|
4552
|
-
/** @description
|
|
4553
|
-
|
|
4681
|
+
/** @description GameModeratorInviteTokenInvalid, GameModeratorLimitReached */
|
|
4682
|
+
400: {
|
|
4554
4683
|
headers: {
|
|
4555
4684
|
[name: string]: unknown;
|
|
4556
4685
|
};
|
|
4557
|
-
content
|
|
4558
|
-
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
4559
|
-
};
|
|
4686
|
+
content?: never;
|
|
4560
4687
|
};
|
|
4561
4688
|
/** @description Application Error */
|
|
4562
4689
|
500: {
|
|
@@ -4569,7 +4696,7 @@ export interface operations {
|
|
|
4569
4696
|
};
|
|
4570
4697
|
};
|
|
4571
4698
|
};
|
|
4572
|
-
|
|
4699
|
+
removeModerator: {
|
|
4573
4700
|
parameters: {
|
|
4574
4701
|
query?: never;
|
|
4575
4702
|
header?: {
|
|
@@ -4580,22 +4707,19 @@ export interface operations {
|
|
|
4580
4707
|
/** @description IANA Timezone */
|
|
4581
4708
|
"x-timezone"?: string;
|
|
4582
4709
|
};
|
|
4583
|
-
path
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
requestBody: {
|
|
4587
|
-
content: {
|
|
4588
|
-
"application/json": components["schemas"]["CreateNearbyGamesAlertDto"];
|
|
4710
|
+
path: {
|
|
4711
|
+
gameId: string;
|
|
4712
|
+
userId: string;
|
|
4589
4713
|
};
|
|
4714
|
+
cookie?: never;
|
|
4590
4715
|
};
|
|
4716
|
+
requestBody?: never;
|
|
4591
4717
|
responses: {
|
|
4592
4718
|
200: {
|
|
4593
4719
|
headers: {
|
|
4594
4720
|
[name: string]: unknown;
|
|
4595
4721
|
};
|
|
4596
|
-
content
|
|
4597
|
-
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
4598
|
-
};
|
|
4722
|
+
content?: never;
|
|
4599
4723
|
};
|
|
4600
4724
|
/** @description Application Error */
|
|
4601
4725
|
500: {
|
|
@@ -4608,7 +4732,7 @@ export interface operations {
|
|
|
4608
4732
|
};
|
|
4609
4733
|
};
|
|
4610
4734
|
};
|
|
4611
|
-
|
|
4735
|
+
updateModerator: {
|
|
4612
4736
|
parameters: {
|
|
4613
4737
|
query?: never;
|
|
4614
4738
|
header?: {
|
|
@@ -4619,12 +4743,15 @@ export interface operations {
|
|
|
4619
4743
|
/** @description IANA Timezone */
|
|
4620
4744
|
"x-timezone"?: string;
|
|
4621
4745
|
};
|
|
4622
|
-
path
|
|
4746
|
+
path: {
|
|
4747
|
+
gameId: string;
|
|
4748
|
+
userId: string;
|
|
4749
|
+
};
|
|
4623
4750
|
cookie?: never;
|
|
4624
4751
|
};
|
|
4625
4752
|
requestBody: {
|
|
4626
4753
|
content: {
|
|
4627
|
-
"application/json": components["schemas"]["
|
|
4754
|
+
"application/json": components["schemas"]["UpdateModeratorDto"];
|
|
4628
4755
|
};
|
|
4629
4756
|
};
|
|
4630
4757
|
responses: {
|
|
@@ -4645,7 +4772,7 @@ export interface operations {
|
|
|
4645
4772
|
};
|
|
4646
4773
|
};
|
|
4647
4774
|
};
|
|
4648
|
-
|
|
4775
|
+
createHostedGame: {
|
|
4649
4776
|
parameters: {
|
|
4650
4777
|
query?: never;
|
|
4651
4778
|
header?: {
|
|
@@ -4661,11 +4788,20 @@ export interface operations {
|
|
|
4661
4788
|
};
|
|
4662
4789
|
requestBody: {
|
|
4663
4790
|
content: {
|
|
4664
|
-
"application/json": components["schemas"]["
|
|
4791
|
+
"application/json": components["schemas"]["CreateHostedGameDto"];
|
|
4665
4792
|
};
|
|
4666
4793
|
};
|
|
4667
4794
|
responses: {
|
|
4668
4795
|
200: {
|
|
4796
|
+
headers: {
|
|
4797
|
+
[name: string]: unknown;
|
|
4798
|
+
};
|
|
4799
|
+
content: {
|
|
4800
|
+
"application/json": components["schemas"]["HostedGameItemDto"];
|
|
4801
|
+
};
|
|
4802
|
+
};
|
|
4803
|
+
/** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate */
|
|
4804
|
+
400: {
|
|
4669
4805
|
headers: {
|
|
4670
4806
|
[name: string]: unknown;
|
|
4671
4807
|
};
|
|
@@ -4682,11 +4818,10 @@ export interface operations {
|
|
|
4682
4818
|
};
|
|
4683
4819
|
};
|
|
4684
4820
|
};
|
|
4685
|
-
|
|
4821
|
+
getHostedGame: {
|
|
4686
4822
|
parameters: {
|
|
4687
4823
|
query?: never;
|
|
4688
|
-
header
|
|
4689
|
-
Authorization: string;
|
|
4824
|
+
header?: {
|
|
4690
4825
|
/** @description Request trace id for logs */
|
|
4691
4826
|
"x-trace-request-id"?: string;
|
|
4692
4827
|
/** @description Session trace id for logs */
|
|
@@ -4694,7 +4829,9 @@ export interface operations {
|
|
|
4694
4829
|
/** @description IANA Timezone */
|
|
4695
4830
|
"x-timezone"?: string;
|
|
4696
4831
|
};
|
|
4697
|
-
path
|
|
4832
|
+
path: {
|
|
4833
|
+
hostedGameId: string;
|
|
4834
|
+
};
|
|
4698
4835
|
cookie?: never;
|
|
4699
4836
|
};
|
|
4700
4837
|
requestBody?: never;
|
|
@@ -4704,7 +4841,7 @@ export interface operations {
|
|
|
4704
4841
|
[name: string]: unknown;
|
|
4705
4842
|
};
|
|
4706
4843
|
content: {
|
|
4707
|
-
"application/json": components["schemas"]["
|
|
4844
|
+
"application/json": components["schemas"]["HostedGameDetailsDto"];
|
|
4708
4845
|
};
|
|
4709
4846
|
};
|
|
4710
4847
|
/** @description Application Error */
|
|
@@ -4718,7 +4855,46 @@ export interface operations {
|
|
|
4718
4855
|
};
|
|
4719
4856
|
};
|
|
4720
4857
|
};
|
|
4721
|
-
|
|
4858
|
+
cancelHostedGame: {
|
|
4859
|
+
parameters: {
|
|
4860
|
+
query?: {
|
|
4861
|
+
cancelSingleOccurrenceOnly?: boolean;
|
|
4862
|
+
cancellationReason?: string;
|
|
4863
|
+
};
|
|
4864
|
+
header?: {
|
|
4865
|
+
/** @description Request trace id for logs */
|
|
4866
|
+
"x-trace-request-id"?: string;
|
|
4867
|
+
/** @description Session trace id for logs */
|
|
4868
|
+
"x-trace-session-id"?: string;
|
|
4869
|
+
/** @description IANA Timezone */
|
|
4870
|
+
"x-timezone"?: string;
|
|
4871
|
+
};
|
|
4872
|
+
path: {
|
|
4873
|
+
hostedGameId: string;
|
|
4874
|
+
};
|
|
4875
|
+
cookie?: never;
|
|
4876
|
+
};
|
|
4877
|
+
requestBody?: never;
|
|
4878
|
+
responses: {
|
|
4879
|
+
/** @description CannotCancelGameIfSomePlayersAlreadyPaid, GameAlreadyPending */
|
|
4880
|
+
400: {
|
|
4881
|
+
headers: {
|
|
4882
|
+
[name: string]: unknown;
|
|
4883
|
+
};
|
|
4884
|
+
content?: never;
|
|
4885
|
+
};
|
|
4886
|
+
/** @description Application Error */
|
|
4887
|
+
500: {
|
|
4888
|
+
headers: {
|
|
4889
|
+
[name: string]: unknown;
|
|
4890
|
+
};
|
|
4891
|
+
content: {
|
|
4892
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4893
|
+
};
|
|
4894
|
+
};
|
|
4895
|
+
};
|
|
4896
|
+
};
|
|
4897
|
+
updateHostedGame: {
|
|
4722
4898
|
parameters: {
|
|
4723
4899
|
query?: never;
|
|
4724
4900
|
header?: {
|
|
@@ -4729,16 +4905,27 @@ export interface operations {
|
|
|
4729
4905
|
/** @description IANA Timezone */
|
|
4730
4906
|
"x-timezone"?: string;
|
|
4731
4907
|
};
|
|
4732
|
-
path
|
|
4908
|
+
path: {
|
|
4909
|
+
hostedGameId: string;
|
|
4910
|
+
};
|
|
4733
4911
|
cookie?: never;
|
|
4734
4912
|
};
|
|
4735
4913
|
requestBody: {
|
|
4736
4914
|
content: {
|
|
4737
|
-
"application/json": components["schemas"]["
|
|
4915
|
+
"application/json": components["schemas"]["UpdatePartialHostedGameDto"];
|
|
4738
4916
|
};
|
|
4739
4917
|
};
|
|
4740
4918
|
responses: {
|
|
4741
|
-
|
|
4919
|
+
200: {
|
|
4920
|
+
headers: {
|
|
4921
|
+
[name: string]: unknown;
|
|
4922
|
+
};
|
|
4923
|
+
content: {
|
|
4924
|
+
"application/json": components["schemas"]["HostedGameItemDto"];
|
|
4925
|
+
};
|
|
4926
|
+
};
|
|
4927
|
+
/** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate, CannotEditGameAfterItsFinished */
|
|
4928
|
+
400: {
|
|
4742
4929
|
headers: {
|
|
4743
4930
|
[name: string]: unknown;
|
|
4744
4931
|
};
|
|
@@ -4755,12 +4942,13 @@ export interface operations {
|
|
|
4755
4942
|
};
|
|
4756
4943
|
};
|
|
4757
4944
|
};
|
|
4758
|
-
|
|
4945
|
+
getUserHostedGamesFuture: {
|
|
4759
4946
|
parameters: {
|
|
4760
|
-
query?:
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4947
|
+
query?: {
|
|
4948
|
+
/** @description Default 2 */
|
|
4949
|
+
hoursAfterGameEndToBeConsideredAsFuture?: number;
|
|
4950
|
+
};
|
|
4951
|
+
header?: {
|
|
4764
4952
|
/** @description Request trace id for logs */
|
|
4765
4953
|
"x-trace-request-id"?: string;
|
|
4766
4954
|
/** @description Session trace id for logs */
|
|
@@ -4778,7 +4966,7 @@ export interface operations {
|
|
|
4778
4966
|
[name: string]: unknown;
|
|
4779
4967
|
};
|
|
4780
4968
|
content: {
|
|
4781
|
-
"application/json": components["schemas"]["
|
|
4969
|
+
"application/json": components["schemas"]["HostedGameDto"];
|
|
4782
4970
|
};
|
|
4783
4971
|
};
|
|
4784
4972
|
/** @description Application Error */
|
|
@@ -4792,9 +4980,12 @@ export interface operations {
|
|
|
4792
4980
|
};
|
|
4793
4981
|
};
|
|
4794
4982
|
};
|
|
4795
|
-
|
|
4983
|
+
getUserHostedGamesPast: {
|
|
4796
4984
|
parameters: {
|
|
4797
|
-
query?:
|
|
4985
|
+
query?: {
|
|
4986
|
+
/** @description Limit the number of games returned */
|
|
4987
|
+
limit?: number;
|
|
4988
|
+
};
|
|
4798
4989
|
header?: {
|
|
4799
4990
|
/** @description Request trace id for logs */
|
|
4800
4991
|
"x-trace-request-id"?: string;
|
|
@@ -4812,7 +5003,9 @@ export interface operations {
|
|
|
4812
5003
|
headers: {
|
|
4813
5004
|
[name: string]: unknown;
|
|
4814
5005
|
};
|
|
4815
|
-
content
|
|
5006
|
+
content: {
|
|
5007
|
+
"application/json": components["schemas"]["HostedGameDto"];
|
|
5008
|
+
};
|
|
4816
5009
|
};
|
|
4817
5010
|
/** @description Application Error */
|
|
4818
5011
|
500: {
|
|
@@ -4825,7 +5018,7 @@ export interface operations {
|
|
|
4825
5018
|
};
|
|
4826
5019
|
};
|
|
4827
5020
|
};
|
|
4828
|
-
|
|
5021
|
+
getFbGroupsByGameId: {
|
|
4829
5022
|
parameters: {
|
|
4830
5023
|
query?: never;
|
|
4831
5024
|
header?: {
|
|
@@ -4836,21 +5029,19 @@ export interface operations {
|
|
|
4836
5029
|
/** @description IANA Timezone */
|
|
4837
5030
|
"x-timezone"?: string;
|
|
4838
5031
|
};
|
|
4839
|
-
path
|
|
4840
|
-
|
|
4841
|
-
};
|
|
4842
|
-
requestBody: {
|
|
4843
|
-
content: {
|
|
4844
|
-
"application/json": components["schemas"]["UpdatePartialUserDto"];
|
|
5032
|
+
path: {
|
|
5033
|
+
gameId: string;
|
|
4845
5034
|
};
|
|
5035
|
+
cookie?: never;
|
|
4846
5036
|
};
|
|
5037
|
+
requestBody?: never;
|
|
4847
5038
|
responses: {
|
|
4848
5039
|
200: {
|
|
4849
5040
|
headers: {
|
|
4850
5041
|
[name: string]: unknown;
|
|
4851
5042
|
};
|
|
4852
5043
|
content: {
|
|
4853
|
-
"application/json": components["schemas"]["
|
|
5044
|
+
"application/json": components["schemas"]["GetGameFbGroupsDto"];
|
|
4854
5045
|
};
|
|
4855
5046
|
};
|
|
4856
5047
|
/** @description Application Error */
|
|
@@ -4864,7 +5055,7 @@ export interface operations {
|
|
|
4864
5055
|
};
|
|
4865
5056
|
};
|
|
4866
5057
|
};
|
|
4867
|
-
|
|
5058
|
+
getUserPenalties: {
|
|
4868
5059
|
parameters: {
|
|
4869
5060
|
query?: never;
|
|
4870
5061
|
header?: {
|
|
@@ -4875,35 +5066,148 @@ export interface operations {
|
|
|
4875
5066
|
/** @description IANA Timezone */
|
|
4876
5067
|
"x-timezone"?: string;
|
|
4877
5068
|
};
|
|
4878
|
-
path
|
|
5069
|
+
path: {
|
|
5070
|
+
userId: string;
|
|
5071
|
+
};
|
|
5072
|
+
cookie?: never;
|
|
5073
|
+
};
|
|
5074
|
+
requestBody?: never;
|
|
5075
|
+
responses: {
|
|
5076
|
+
/** @description Application Error */
|
|
5077
|
+
500: {
|
|
5078
|
+
headers: {
|
|
5079
|
+
[name: string]: unknown;
|
|
5080
|
+
};
|
|
5081
|
+
content: {
|
|
5082
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5083
|
+
};
|
|
5084
|
+
};
|
|
5085
|
+
default: {
|
|
5086
|
+
headers: {
|
|
5087
|
+
[name: string]: unknown;
|
|
5088
|
+
};
|
|
5089
|
+
content: {
|
|
5090
|
+
"application/json": components["schemas"]["GetUserPenaltiesDto"];
|
|
5091
|
+
};
|
|
5092
|
+
};
|
|
5093
|
+
};
|
|
5094
|
+
};
|
|
5095
|
+
createPenalty: {
|
|
5096
|
+
parameters: {
|
|
5097
|
+
query?: never;
|
|
5098
|
+
header?: {
|
|
5099
|
+
/** @description Request trace id for logs */
|
|
5100
|
+
"x-trace-request-id"?: string;
|
|
5101
|
+
/** @description Session trace id for logs */
|
|
5102
|
+
"x-trace-session-id"?: string;
|
|
5103
|
+
/** @description IANA Timezone */
|
|
5104
|
+
"x-timezone"?: string;
|
|
5105
|
+
};
|
|
5106
|
+
path: {
|
|
5107
|
+
userId: string;
|
|
5108
|
+
};
|
|
4879
5109
|
cookie?: never;
|
|
4880
5110
|
};
|
|
4881
5111
|
requestBody: {
|
|
4882
5112
|
content: {
|
|
4883
|
-
"application/json": components["schemas"]["
|
|
5113
|
+
"application/json": components["schemas"]["CreateUserPenaltyDto"];
|
|
4884
5114
|
};
|
|
4885
5115
|
};
|
|
4886
5116
|
responses: {
|
|
4887
|
-
|
|
5117
|
+
201: {
|
|
5118
|
+
headers: {
|
|
5119
|
+
[name: string]: unknown;
|
|
5120
|
+
};
|
|
5121
|
+
content?: never;
|
|
5122
|
+
};
|
|
5123
|
+
/** @description Application Error */
|
|
5124
|
+
500: {
|
|
4888
5125
|
headers: {
|
|
4889
5126
|
[name: string]: unknown;
|
|
4890
5127
|
};
|
|
4891
5128
|
content: {
|
|
4892
|
-
"application/json": components["schemas"]["
|
|
5129
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4893
5130
|
};
|
|
4894
5131
|
};
|
|
5132
|
+
};
|
|
5133
|
+
};
|
|
5134
|
+
revokePenalty: {
|
|
5135
|
+
parameters: {
|
|
5136
|
+
query?: never;
|
|
5137
|
+
header?: {
|
|
5138
|
+
/** @description Request trace id for logs */
|
|
5139
|
+
"x-trace-request-id"?: string;
|
|
5140
|
+
/** @description Session trace id for logs */
|
|
5141
|
+
"x-trace-session-id"?: string;
|
|
5142
|
+
/** @description IANA Timezone */
|
|
5143
|
+
"x-timezone"?: string;
|
|
5144
|
+
};
|
|
5145
|
+
path: {
|
|
5146
|
+
userPenaltyId: string;
|
|
5147
|
+
};
|
|
5148
|
+
cookie?: never;
|
|
5149
|
+
};
|
|
5150
|
+
requestBody?: never;
|
|
5151
|
+
responses: {
|
|
4895
5152
|
/** @description Application Error */
|
|
4896
5153
|
500: {
|
|
4897
5154
|
headers: {
|
|
4898
5155
|
[name: string]: unknown;
|
|
4899
5156
|
};
|
|
4900
|
-
content: {
|
|
4901
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4902
|
-
};
|
|
5157
|
+
content: {
|
|
5158
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5159
|
+
};
|
|
5160
|
+
};
|
|
5161
|
+
default: {
|
|
5162
|
+
headers: {
|
|
5163
|
+
[name: string]: unknown;
|
|
5164
|
+
};
|
|
5165
|
+
content: {
|
|
5166
|
+
"application/json": components["schemas"]["RevokeUserPenaltyResponseDto"];
|
|
5167
|
+
};
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
};
|
|
5171
|
+
emitGameAlerts: {
|
|
5172
|
+
parameters: {
|
|
5173
|
+
query?: never;
|
|
5174
|
+
header?: {
|
|
5175
|
+
/** @description Request trace id for logs */
|
|
5176
|
+
"x-trace-request-id"?: string;
|
|
5177
|
+
/** @description Session trace id for logs */
|
|
5178
|
+
"x-trace-session-id"?: string;
|
|
5179
|
+
/** @description IANA Timezone */
|
|
5180
|
+
"x-timezone"?: string;
|
|
5181
|
+
};
|
|
5182
|
+
path?: never;
|
|
5183
|
+
cookie?: never;
|
|
5184
|
+
};
|
|
5185
|
+
requestBody?: never;
|
|
5186
|
+
responses: {
|
|
5187
|
+
/** @description Task executed successfully */
|
|
5188
|
+
201: {
|
|
5189
|
+
headers: {
|
|
5190
|
+
[name: string]: unknown;
|
|
5191
|
+
};
|
|
5192
|
+
content?: never;
|
|
5193
|
+
};
|
|
5194
|
+
/** @description Bad request */
|
|
5195
|
+
400: {
|
|
5196
|
+
headers: {
|
|
5197
|
+
[name: string]: unknown;
|
|
5198
|
+
};
|
|
5199
|
+
content?: never;
|
|
5200
|
+
};
|
|
5201
|
+
/** @description Unauthorized */
|
|
5202
|
+
401: {
|
|
5203
|
+
headers: {
|
|
5204
|
+
[name: string]: unknown;
|
|
5205
|
+
};
|
|
5206
|
+
content?: never;
|
|
4903
5207
|
};
|
|
4904
5208
|
};
|
|
4905
5209
|
};
|
|
4906
|
-
|
|
5210
|
+
getUserNearbyGamesAlert: {
|
|
4907
5211
|
parameters: {
|
|
4908
5212
|
query?: never;
|
|
4909
5213
|
header?: {
|
|
@@ -4919,12 +5223,13 @@ export interface operations {
|
|
|
4919
5223
|
};
|
|
4920
5224
|
requestBody?: never;
|
|
4921
5225
|
responses: {
|
|
5226
|
+
/** @description Returns null if no alert is set */
|
|
4922
5227
|
200: {
|
|
4923
5228
|
headers: {
|
|
4924
5229
|
[name: string]: unknown;
|
|
4925
5230
|
};
|
|
4926
5231
|
content: {
|
|
4927
|
-
"application/json": components["schemas"]["
|
|
5232
|
+
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
4928
5233
|
};
|
|
4929
5234
|
};
|
|
4930
5235
|
/** @description Application Error */
|
|
@@ -4938,7 +5243,7 @@ export interface operations {
|
|
|
4938
5243
|
};
|
|
4939
5244
|
};
|
|
4940
5245
|
};
|
|
4941
|
-
|
|
5246
|
+
upsertUserNearbyGamesAlert: {
|
|
4942
5247
|
parameters: {
|
|
4943
5248
|
query?: never;
|
|
4944
5249
|
header?: {
|
|
@@ -4954,7 +5259,7 @@ export interface operations {
|
|
|
4954
5259
|
};
|
|
4955
5260
|
requestBody: {
|
|
4956
5261
|
content: {
|
|
4957
|
-
"application/json": components["schemas"]["
|
|
5262
|
+
"application/json": components["schemas"]["CreateNearbyGamesAlertDto"];
|
|
4958
5263
|
};
|
|
4959
5264
|
};
|
|
4960
5265
|
responses: {
|
|
@@ -4962,7 +5267,9 @@ export interface operations {
|
|
|
4962
5267
|
headers: {
|
|
4963
5268
|
[name: string]: unknown;
|
|
4964
5269
|
};
|
|
4965
|
-
content
|
|
5270
|
+
content: {
|
|
5271
|
+
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
5272
|
+
};
|
|
4966
5273
|
};
|
|
4967
5274
|
/** @description Application Error */
|
|
4968
5275
|
500: {
|
|
@@ -4975,7 +5282,7 @@ export interface operations {
|
|
|
4975
5282
|
};
|
|
4976
5283
|
};
|
|
4977
5284
|
};
|
|
4978
|
-
|
|
5285
|
+
updateNearbyGamesAlertLocation: {
|
|
4979
5286
|
parameters: {
|
|
4980
5287
|
query?: never;
|
|
4981
5288
|
header?: {
|
|
@@ -4991,20 +5298,11 @@ export interface operations {
|
|
|
4991
5298
|
};
|
|
4992
5299
|
requestBody: {
|
|
4993
5300
|
content: {
|
|
4994
|
-
"application/json": components["schemas"]["
|
|
5301
|
+
"application/json": components["schemas"]["UpdateNearbyGamesAlertLocationDto"];
|
|
4995
5302
|
};
|
|
4996
5303
|
};
|
|
4997
5304
|
responses: {
|
|
4998
5305
|
200: {
|
|
4999
|
-
headers: {
|
|
5000
|
-
[name: string]: unknown;
|
|
5001
|
-
};
|
|
5002
|
-
content: {
|
|
5003
|
-
"application/json": components["schemas"]["HostedGameItemDto"];
|
|
5004
|
-
};
|
|
5005
|
-
};
|
|
5006
|
-
/** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate */
|
|
5007
|
-
400: {
|
|
5008
5306
|
headers: {
|
|
5009
5307
|
[name: string]: unknown;
|
|
5010
5308
|
};
|
|
@@ -5021,7 +5319,7 @@ export interface operations {
|
|
|
5021
5319
|
};
|
|
5022
5320
|
};
|
|
5023
5321
|
};
|
|
5024
|
-
|
|
5322
|
+
updateNearbyGamesAlertEnabled: {
|
|
5025
5323
|
parameters: {
|
|
5026
5324
|
query?: never;
|
|
5027
5325
|
header?: {
|
|
@@ -5032,20 +5330,20 @@ export interface operations {
|
|
|
5032
5330
|
/** @description IANA Timezone */
|
|
5033
5331
|
"x-timezone"?: string;
|
|
5034
5332
|
};
|
|
5035
|
-
path
|
|
5036
|
-
hostedGameId: string;
|
|
5037
|
-
};
|
|
5333
|
+
path?: never;
|
|
5038
5334
|
cookie?: never;
|
|
5039
5335
|
};
|
|
5040
|
-
requestBody
|
|
5336
|
+
requestBody: {
|
|
5337
|
+
content: {
|
|
5338
|
+
"application/json": components["schemas"]["UpdateNearbyGamesEnabledDto"];
|
|
5339
|
+
};
|
|
5340
|
+
};
|
|
5041
5341
|
responses: {
|
|
5042
5342
|
200: {
|
|
5043
5343
|
headers: {
|
|
5044
5344
|
[name: string]: unknown;
|
|
5045
5345
|
};
|
|
5046
|
-
content
|
|
5047
|
-
"application/json": components["schemas"]["HostedGameDetailsDto"];
|
|
5048
|
-
};
|
|
5346
|
+
content?: never;
|
|
5049
5347
|
};
|
|
5050
5348
|
/** @description Application Error */
|
|
5051
5349
|
500: {
|
|
@@ -5058,13 +5356,11 @@ export interface operations {
|
|
|
5058
5356
|
};
|
|
5059
5357
|
};
|
|
5060
5358
|
};
|
|
5061
|
-
|
|
5359
|
+
logoutUser: {
|
|
5062
5360
|
parameters: {
|
|
5063
|
-
query?:
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
};
|
|
5067
|
-
header?: {
|
|
5361
|
+
query?: never;
|
|
5362
|
+
header: {
|
|
5363
|
+
Authorization: string;
|
|
5068
5364
|
/** @description Request trace id for logs */
|
|
5069
5365
|
"x-trace-request-id"?: string;
|
|
5070
5366
|
/** @description Session trace id for logs */
|
|
@@ -5072,19 +5368,18 @@ export interface operations {
|
|
|
5072
5368
|
/** @description IANA Timezone */
|
|
5073
5369
|
"x-timezone"?: string;
|
|
5074
5370
|
};
|
|
5075
|
-
path
|
|
5076
|
-
hostedGameId: string;
|
|
5077
|
-
};
|
|
5371
|
+
path?: never;
|
|
5078
5372
|
cookie?: never;
|
|
5079
5373
|
};
|
|
5080
5374
|
requestBody?: never;
|
|
5081
5375
|
responses: {
|
|
5082
|
-
|
|
5083
|
-
400: {
|
|
5376
|
+
200: {
|
|
5084
5377
|
headers: {
|
|
5085
5378
|
[name: string]: unknown;
|
|
5086
5379
|
};
|
|
5087
|
-
content
|
|
5380
|
+
content: {
|
|
5381
|
+
"application/json": components["schemas"]["LogoutResponseDto"];
|
|
5382
|
+
};
|
|
5088
5383
|
};
|
|
5089
5384
|
/** @description Application Error */
|
|
5090
5385
|
500: {
|
|
@@ -5097,7 +5392,7 @@ export interface operations {
|
|
|
5097
5392
|
};
|
|
5098
5393
|
};
|
|
5099
5394
|
};
|
|
5100
|
-
|
|
5395
|
+
postMyUserReferral: {
|
|
5101
5396
|
parameters: {
|
|
5102
5397
|
query?: never;
|
|
5103
5398
|
header?: {
|
|
@@ -5108,27 +5403,16 @@ export interface operations {
|
|
|
5108
5403
|
/** @description IANA Timezone */
|
|
5109
5404
|
"x-timezone"?: string;
|
|
5110
5405
|
};
|
|
5111
|
-
path
|
|
5112
|
-
hostedGameId: string;
|
|
5113
|
-
};
|
|
5406
|
+
path?: never;
|
|
5114
5407
|
cookie?: never;
|
|
5115
5408
|
};
|
|
5116
5409
|
requestBody: {
|
|
5117
5410
|
content: {
|
|
5118
|
-
"application/json": components["schemas"]["
|
|
5411
|
+
"application/json": components["schemas"]["PostMyUserReferralDto"];
|
|
5119
5412
|
};
|
|
5120
5413
|
};
|
|
5121
5414
|
responses: {
|
|
5122
|
-
|
|
5123
|
-
headers: {
|
|
5124
|
-
[name: string]: unknown;
|
|
5125
|
-
};
|
|
5126
|
-
content: {
|
|
5127
|
-
"application/json": components["schemas"]["HostedGameItemDto"];
|
|
5128
|
-
};
|
|
5129
|
-
};
|
|
5130
|
-
/** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate, CannotEditGameAfterItsFinished */
|
|
5131
|
-
400: {
|
|
5415
|
+
201: {
|
|
5132
5416
|
headers: {
|
|
5133
5417
|
[name: string]: unknown;
|
|
5134
5418
|
};
|
|
@@ -5145,13 +5429,12 @@ export interface operations {
|
|
|
5145
5429
|
};
|
|
5146
5430
|
};
|
|
5147
5431
|
};
|
|
5148
|
-
|
|
5432
|
+
getMyUser: {
|
|
5149
5433
|
parameters: {
|
|
5150
|
-
query?:
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
header?: {
|
|
5434
|
+
query?: never;
|
|
5435
|
+
header: {
|
|
5436
|
+
"x-app-version": string;
|
|
5437
|
+
"x-app-platform": string;
|
|
5155
5438
|
/** @description Request trace id for logs */
|
|
5156
5439
|
"x-trace-request-id"?: string;
|
|
5157
5440
|
/** @description Session trace id for logs */
|
|
@@ -5169,7 +5452,7 @@ export interface operations {
|
|
|
5169
5452
|
[name: string]: unknown;
|
|
5170
5453
|
};
|
|
5171
5454
|
content: {
|
|
5172
|
-
"application/json": components["schemas"]["
|
|
5455
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5173
5456
|
};
|
|
5174
5457
|
};
|
|
5175
5458
|
/** @description Application Error */
|
|
@@ -5183,12 +5466,9 @@ export interface operations {
|
|
|
5183
5466
|
};
|
|
5184
5467
|
};
|
|
5185
5468
|
};
|
|
5186
|
-
|
|
5469
|
+
deleteMyUser: {
|
|
5187
5470
|
parameters: {
|
|
5188
|
-
query?:
|
|
5189
|
-
/** @description Limit the number of games returned */
|
|
5190
|
-
limit?: number;
|
|
5191
|
-
};
|
|
5471
|
+
query?: never;
|
|
5192
5472
|
header?: {
|
|
5193
5473
|
/** @description Request trace id for logs */
|
|
5194
5474
|
"x-trace-request-id"?: string;
|
|
@@ -5206,9 +5486,7 @@ export interface operations {
|
|
|
5206
5486
|
headers: {
|
|
5207
5487
|
[name: string]: unknown;
|
|
5208
5488
|
};
|
|
5209
|
-
content
|
|
5210
|
-
"application/json": components["schemas"]["HostedGameDto"];
|
|
5211
|
-
};
|
|
5489
|
+
content?: never;
|
|
5212
5490
|
};
|
|
5213
5491
|
/** @description Application Error */
|
|
5214
5492
|
500: {
|
|
@@ -5221,7 +5499,7 @@ export interface operations {
|
|
|
5221
5499
|
};
|
|
5222
5500
|
};
|
|
5223
5501
|
};
|
|
5224
|
-
|
|
5502
|
+
updateMyUserPartial: {
|
|
5225
5503
|
parameters: {
|
|
5226
5504
|
query?: never;
|
|
5227
5505
|
header?: {
|
|
@@ -5232,19 +5510,21 @@ export interface operations {
|
|
|
5232
5510
|
/** @description IANA Timezone */
|
|
5233
5511
|
"x-timezone"?: string;
|
|
5234
5512
|
};
|
|
5235
|
-
path
|
|
5236
|
-
gameId: string;
|
|
5237
|
-
};
|
|
5513
|
+
path?: never;
|
|
5238
5514
|
cookie?: never;
|
|
5239
5515
|
};
|
|
5240
|
-
requestBody
|
|
5516
|
+
requestBody: {
|
|
5517
|
+
content: {
|
|
5518
|
+
"application/json": components["schemas"]["UpdatePartialUserDto"];
|
|
5519
|
+
};
|
|
5520
|
+
};
|
|
5241
5521
|
responses: {
|
|
5242
5522
|
200: {
|
|
5243
5523
|
headers: {
|
|
5244
5524
|
[name: string]: unknown;
|
|
5245
5525
|
};
|
|
5246
5526
|
content: {
|
|
5247
|
-
"application/json": components["schemas"]["
|
|
5527
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5248
5528
|
};
|
|
5249
5529
|
};
|
|
5250
5530
|
/** @description Application Error */
|
|
@@ -5258,7 +5538,7 @@ export interface operations {
|
|
|
5258
5538
|
};
|
|
5259
5539
|
};
|
|
5260
5540
|
};
|
|
5261
|
-
|
|
5541
|
+
setMyLanguage: {
|
|
5262
5542
|
parameters: {
|
|
5263
5543
|
query?: never;
|
|
5264
5544
|
header?: {
|
|
@@ -5269,33 +5549,35 @@ export interface operations {
|
|
|
5269
5549
|
/** @description IANA Timezone */
|
|
5270
5550
|
"x-timezone"?: string;
|
|
5271
5551
|
};
|
|
5272
|
-
path
|
|
5273
|
-
userId: string;
|
|
5274
|
-
};
|
|
5552
|
+
path?: never;
|
|
5275
5553
|
cookie?: never;
|
|
5276
5554
|
};
|
|
5277
|
-
requestBody
|
|
5555
|
+
requestBody: {
|
|
5556
|
+
content: {
|
|
5557
|
+
"application/json": components["schemas"]["SetLanguageDto"];
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5278
5560
|
responses: {
|
|
5279
|
-
|
|
5280
|
-
500: {
|
|
5561
|
+
200: {
|
|
5281
5562
|
headers: {
|
|
5282
5563
|
[name: string]: unknown;
|
|
5283
5564
|
};
|
|
5284
5565
|
content: {
|
|
5285
|
-
"application/json": components["schemas"]["
|
|
5566
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5286
5567
|
};
|
|
5287
5568
|
};
|
|
5288
|
-
|
|
5569
|
+
/** @description Application Error */
|
|
5570
|
+
500: {
|
|
5289
5571
|
headers: {
|
|
5290
5572
|
[name: string]: unknown;
|
|
5291
5573
|
};
|
|
5292
5574
|
content: {
|
|
5293
|
-
"application/json": components["schemas"]["
|
|
5575
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5294
5576
|
};
|
|
5295
5577
|
};
|
|
5296
5578
|
};
|
|
5297
5579
|
};
|
|
5298
|
-
|
|
5580
|
+
getMyUserStats: {
|
|
5299
5581
|
parameters: {
|
|
5300
5582
|
query?: never;
|
|
5301
5583
|
header?: {
|
|
@@ -5306,22 +5588,18 @@ export interface operations {
|
|
|
5306
5588
|
/** @description IANA Timezone */
|
|
5307
5589
|
"x-timezone"?: string;
|
|
5308
5590
|
};
|
|
5309
|
-
path
|
|
5310
|
-
userId: string;
|
|
5311
|
-
};
|
|
5591
|
+
path?: never;
|
|
5312
5592
|
cookie?: never;
|
|
5313
5593
|
};
|
|
5314
|
-
requestBody
|
|
5315
|
-
content: {
|
|
5316
|
-
"application/json": components["schemas"]["CreateUserPenaltyDto"];
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5594
|
+
requestBody?: never;
|
|
5319
5595
|
responses: {
|
|
5320
|
-
|
|
5596
|
+
200: {
|
|
5321
5597
|
headers: {
|
|
5322
5598
|
[name: string]: unknown;
|
|
5323
5599
|
};
|
|
5324
|
-
content
|
|
5600
|
+
content: {
|
|
5601
|
+
"application/json": components["schemas"]["UserStatsDto"];
|
|
5602
|
+
};
|
|
5325
5603
|
};
|
|
5326
5604
|
/** @description Application Error */
|
|
5327
5605
|
500: {
|
|
@@ -5334,7 +5612,7 @@ export interface operations {
|
|
|
5334
5612
|
};
|
|
5335
5613
|
};
|
|
5336
5614
|
};
|
|
5337
|
-
|
|
5615
|
+
upsertUserMetaPushNotificationEnabledValue: {
|
|
5338
5616
|
parameters: {
|
|
5339
5617
|
query?: never;
|
|
5340
5618
|
header?: {
|
|
@@ -5345,28 +5623,28 @@ export interface operations {
|
|
|
5345
5623
|
/** @description IANA Timezone */
|
|
5346
5624
|
"x-timezone"?: string;
|
|
5347
5625
|
};
|
|
5348
|
-
path
|
|
5349
|
-
userPenaltyId: string;
|
|
5350
|
-
};
|
|
5626
|
+
path?: never;
|
|
5351
5627
|
cookie?: never;
|
|
5352
5628
|
};
|
|
5353
|
-
requestBody
|
|
5629
|
+
requestBody: {
|
|
5630
|
+
content: {
|
|
5631
|
+
"application/json": components["schemas"]["UpsertUserMetaBooleanDto"];
|
|
5632
|
+
};
|
|
5633
|
+
};
|
|
5354
5634
|
responses: {
|
|
5355
|
-
|
|
5356
|
-
500: {
|
|
5635
|
+
200: {
|
|
5357
5636
|
headers: {
|
|
5358
5637
|
[name: string]: unknown;
|
|
5359
5638
|
};
|
|
5360
|
-
content
|
|
5361
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5362
|
-
};
|
|
5639
|
+
content?: never;
|
|
5363
5640
|
};
|
|
5364
|
-
|
|
5641
|
+
/** @description Application Error */
|
|
5642
|
+
500: {
|
|
5365
5643
|
headers: {
|
|
5366
5644
|
[name: string]: unknown;
|
|
5367
5645
|
};
|
|
5368
5646
|
content: {
|
|
5369
|
-
"application/json": components["schemas"]["
|
|
5647
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5370
5648
|
};
|
|
5371
5649
|
};
|
|
5372
5650
|
};
|
|
@@ -7512,6 +7790,32 @@ export interface operations {
|
|
|
7512
7790
|
};
|
|
7513
7791
|
};
|
|
7514
7792
|
};
|
|
7793
|
+
revokeComment: {
|
|
7794
|
+
parameters: {
|
|
7795
|
+
query?: never;
|
|
7796
|
+
header?: {
|
|
7797
|
+
/** @description Request trace id for logs */
|
|
7798
|
+
"x-trace-request-id"?: string;
|
|
7799
|
+
/** @description Session trace id for logs */
|
|
7800
|
+
"x-trace-session-id"?: string;
|
|
7801
|
+
/** @description IANA Timezone */
|
|
7802
|
+
"x-timezone"?: string;
|
|
7803
|
+
};
|
|
7804
|
+
path: {
|
|
7805
|
+
commentId: string;
|
|
7806
|
+
};
|
|
7807
|
+
cookie?: never;
|
|
7808
|
+
};
|
|
7809
|
+
requestBody?: never;
|
|
7810
|
+
responses: {
|
|
7811
|
+
204: {
|
|
7812
|
+
headers: {
|
|
7813
|
+
[name: string]: unknown;
|
|
7814
|
+
};
|
|
7815
|
+
content?: never;
|
|
7816
|
+
};
|
|
7817
|
+
};
|
|
7818
|
+
};
|
|
7515
7819
|
refreshData: {
|
|
7516
7820
|
parameters: {
|
|
7517
7821
|
query: {
|
|
@@ -8183,7 +8487,10 @@ export declare enum KnownException {
|
|
|
8183
8487
|
UserPenaltyAlreadyRevoked = "UserPenaltyAlreadyRevoked",
|
|
8184
8488
|
NotAParticipantOfGame = "NotAParticipantOfGame",
|
|
8185
8489
|
CategoryNotEditable = "CategoryNotEditable",
|
|
8186
|
-
UnknownNotificationCategory = "UnknownNotificationCategory"
|
|
8490
|
+
UnknownNotificationCategory = "UnknownNotificationCategory",
|
|
8491
|
+
NotTheHostOfGame = "NotTheHostOfGame",
|
|
8492
|
+
GameModeratorLimitReached = "GameModeratorLimitReached",
|
|
8493
|
+
GameModeratorInviteTokenInvalid = "GameModeratorInviteTokenInvalid"
|
|
8187
8494
|
}
|
|
8188
8495
|
export declare enum Visibility {
|
|
8189
8496
|
PUBLIC = "PUBLIC",
|
|
@@ -8210,6 +8517,7 @@ export declare enum UserParticipationStatus {
|
|
|
8210
8517
|
Approved = "Approved",
|
|
8211
8518
|
Invited = "Invited",
|
|
8212
8519
|
Host = "Host",
|
|
8520
|
+
Moderator = "Moderator",
|
|
8213
8521
|
Empty = "Empty"
|
|
8214
8522
|
}
|
|
8215
8523
|
export declare enum AppPreferredPlayerPosition {
|
|
@@ -8232,6 +8540,18 @@ export declare enum GameLevelEnum {
|
|
|
8232
8540
|
PROFESSIONAL = "PROFESSIONAL",
|
|
8233
8541
|
MIXED = "MIXED"
|
|
8234
8542
|
}
|
|
8543
|
+
export declare enum PenaltyType {
|
|
8544
|
+
YELLOW = "YELLOW",
|
|
8545
|
+
RED = "RED"
|
|
8546
|
+
}
|
|
8547
|
+
export declare enum PenaltyReason {
|
|
8548
|
+
ABSENCE = "ABSENCE",
|
|
8549
|
+
LEAVING_30_MIN = "LEAVING_30_MIN",
|
|
8550
|
+
LATE_15_MIN = "LATE_15_MIN",
|
|
8551
|
+
MISMATCHED_LEVEL = "MISMATCHED_LEVEL",
|
|
8552
|
+
UNSPORTSMANLIKE_BEHAVIOR = "UNSPORTSMANLIKE_BEHAVIOR",
|
|
8553
|
+
NOT_PAID = "NOT_PAID"
|
|
8554
|
+
}
|
|
8235
8555
|
export declare enum Weekday {
|
|
8236
8556
|
SUNDAY = "SUNDAY",
|
|
8237
8557
|
MONDAY = "MONDAY",
|
|
@@ -8257,18 +8577,6 @@ export declare enum AppGameLevel {
|
|
|
8257
8577
|
PROFESSIONAL = "PROFESSIONAL",
|
|
8258
8578
|
MIXED = "MIXED"
|
|
8259
8579
|
}
|
|
8260
|
-
export declare enum PenaltyType {
|
|
8261
|
-
YELLOW = "YELLOW",
|
|
8262
|
-
RED = "RED"
|
|
8263
|
-
}
|
|
8264
|
-
export declare enum PenaltyReason {
|
|
8265
|
-
ABSENCE = "ABSENCE",
|
|
8266
|
-
LEAVING_30_MIN = "LEAVING_30_MIN",
|
|
8267
|
-
LATE_15_MIN = "LATE_15_MIN",
|
|
8268
|
-
MISMATCHED_LEVEL = "MISMATCHED_LEVEL",
|
|
8269
|
-
UNSPORTSMANLIKE_BEHAVIOR = "UNSPORTSMANLIKE_BEHAVIOR",
|
|
8270
|
-
NOT_PAID = "NOT_PAID"
|
|
8271
|
-
}
|
|
8272
8580
|
export declare enum NotificationType {
|
|
8273
8581
|
test = "test",
|
|
8274
8582
|
game_application_approved = "game-application-approved",
|
|
@@ -8291,6 +8599,7 @@ export declare enum NotificationType {
|
|
|
8291
8599
|
user_penalty_received = "user-penalty-received",
|
|
8292
8600
|
user_penalty_revoked = "user-penalty-revoked",
|
|
8293
8601
|
team_member_added_by_host = "team-member-added-by-host",
|
|
8602
|
+
team_member_left = "team-member-left",
|
|
8294
8603
|
new_trophy_received = "new-trophy-received",
|
|
8295
8604
|
new_comment_received = "new-comment-received",
|
|
8296
8605
|
user_referral_received = "user-referral-received",
|
|
@@ -8342,6 +8651,7 @@ export declare enum NotificationTypes {
|
|
|
8342
8651
|
user_penalty_received = "user-penalty-received",
|
|
8343
8652
|
user_penalty_revoked = "user-penalty-revoked",
|
|
8344
8653
|
team_member_added_by_host = "team-member-added-by-host",
|
|
8654
|
+
team_member_left = "team-member-left",
|
|
8345
8655
|
new_trophy_received = "new-trophy-received",
|
|
8346
8656
|
new_comment_received = "new-comment-received",
|
|
8347
8657
|
user_referral_received = "user-referral-received",
|
|
@@ -8459,6 +8769,20 @@ export declare enum ApiPaths {
|
|
|
8459
8769
|
markGamePlayerAsNotPaid = "/hosted-games/{hostedGameId}/players/{gamePlayerId}/mark-as-not-paid",
|
|
8460
8770
|
getLineupsByGameId = "/game-lineups/{gameId}",
|
|
8461
8771
|
createGameLineups = "/game-lineups/{gameId}",
|
|
8772
|
+
generateInviteToken = "/games/{gameId}/moderator-invite",
|
|
8773
|
+
acceptInvite = "/games/moderator-invite/{token}/accept",
|
|
8774
|
+
removeModerator = "/games/{gameId}/moderators/{userId}",
|
|
8775
|
+
updateModerator = "/games/{gameId}/moderators/{userId}",
|
|
8776
|
+
createHostedGame = "/hosted-games",
|
|
8777
|
+
updateHostedGame = "/hosted-games/{hostedGameId}",
|
|
8778
|
+
cancelHostedGame = "/hosted-games/{hostedGameId}",
|
|
8779
|
+
getHostedGame = "/hosted-games/{hostedGameId}",
|
|
8780
|
+
getUserHostedGamesFuture = "/hosted-games/future",
|
|
8781
|
+
getUserHostedGamesPast = "/hosted-games/past",
|
|
8782
|
+
getFbGroupsByGameId = "/game/{gameId}/fb-groups",
|
|
8783
|
+
getUserPenalties = "/user/{userId}/penalty",
|
|
8784
|
+
createPenalty = "/user/{userId}/penalty",
|
|
8785
|
+
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8462
8786
|
emitGameAlerts = "/nearby-games-alerts/trigger-scheduled-alert-for-game",
|
|
8463
8787
|
upsertUserNearbyGamesAlert = "/nearby-games/alerts",
|
|
8464
8788
|
getUserNearbyGamesAlert = "/nearby-games/alerts",
|
|
@@ -8472,16 +8796,6 @@ export declare enum ApiPaths {
|
|
|
8472
8796
|
setMyLanguage = "/users/me/language",
|
|
8473
8797
|
getMyUserStats = "/users/me/stats",
|
|
8474
8798
|
upsertUserMetaPushNotificationEnabledValue = "/user-meta/push-notification-enabled",
|
|
8475
|
-
createHostedGame = "/hosted-games",
|
|
8476
|
-
updateHostedGame = "/hosted-games/{hostedGameId}",
|
|
8477
|
-
cancelHostedGame = "/hosted-games/{hostedGameId}",
|
|
8478
|
-
getHostedGame = "/hosted-games/{hostedGameId}",
|
|
8479
|
-
getUserHostedGamesFuture = "/hosted-games/future",
|
|
8480
|
-
getUserHostedGamesPast = "/hosted-games/past",
|
|
8481
|
-
getFbGroupsByGameId = "/game/{gameId}/fb-groups",
|
|
8482
|
-
getUserPenalties = "/user/{userId}/penalty",
|
|
8483
|
-
createPenalty = "/user/{userId}/penalty",
|
|
8484
|
-
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8485
8799
|
getMyGames = "/my-games",
|
|
8486
8800
|
getAllForCurrentUser = "/user-notifications",
|
|
8487
8801
|
markAsRead = "/user-notifications",
|
|
@@ -8542,6 +8856,7 @@ export declare enum ApiPaths {
|
|
|
8542
8856
|
getUserProfile = "/user-profile/{userId}",
|
|
8543
8857
|
createComment = "/user-comments",
|
|
8544
8858
|
getComments = "/user-comments/{userId}",
|
|
8859
|
+
revokeComment = "/user-comments/{commentId}",
|
|
8545
8860
|
refreshData = "/bi-data/refresh-data",
|
|
8546
8861
|
refreshModel = "/bi-data/refresh-model",
|
|
8547
8862
|
createManualTrophy = "/trophies/create-manual",
|