@orlikfy/api-interfaces 6.1.13 → 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 +1 -0
- package/dist/api.d.ts +703 -681
- package/dist/api.js +30 -29
- 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;
|
|
@@ -1793,76 +1852,17 @@ export interface paths {
|
|
|
1793
1852
|
patch?: never;
|
|
1794
1853
|
trace?: never;
|
|
1795
1854
|
};
|
|
1796
|
-
"/
|
|
1855
|
+
"/action-push/inactive-users-since-registered-notification": {
|
|
1797
1856
|
parameters: {
|
|
1798
1857
|
query?: never;
|
|
1799
1858
|
header?: never;
|
|
1800
|
-
path
|
|
1801
|
-
gameId: string;
|
|
1802
|
-
};
|
|
1859
|
+
path?: never;
|
|
1803
1860
|
cookie?: never;
|
|
1804
1861
|
};
|
|
1805
1862
|
get?: never;
|
|
1806
1863
|
put?: never;
|
|
1807
|
-
/**
|
|
1808
|
-
post: operations["
|
|
1809
|
-
delete?: never;
|
|
1810
|
-
options?: never;
|
|
1811
|
-
head?: never;
|
|
1812
|
-
patch?: never;
|
|
1813
|
-
trace?: never;
|
|
1814
|
-
};
|
|
1815
|
-
"/games/moderator-invite/{token}/accept": {
|
|
1816
|
-
parameters: {
|
|
1817
|
-
query?: never;
|
|
1818
|
-
header?: never;
|
|
1819
|
-
path: {
|
|
1820
|
-
token: string;
|
|
1821
|
-
};
|
|
1822
|
-
cookie?: never;
|
|
1823
|
-
};
|
|
1824
|
-
get?: never;
|
|
1825
|
-
put?: never;
|
|
1826
|
-
/** acceptInvite */
|
|
1827
|
-
post: operations["acceptInvite"];
|
|
1828
|
-
delete?: never;
|
|
1829
|
-
options?: never;
|
|
1830
|
-
head?: never;
|
|
1831
|
-
patch?: never;
|
|
1832
|
-
trace?: never;
|
|
1833
|
-
};
|
|
1834
|
-
"/games/{gameId}/moderators/{userId}": {
|
|
1835
|
-
parameters: {
|
|
1836
|
-
query?: never;
|
|
1837
|
-
header?: never;
|
|
1838
|
-
path: {
|
|
1839
|
-
gameId: string;
|
|
1840
|
-
userId: string;
|
|
1841
|
-
};
|
|
1842
|
-
cookie?: never;
|
|
1843
|
-
};
|
|
1844
|
-
get?: never;
|
|
1845
|
-
put?: never;
|
|
1846
|
-
post?: never;
|
|
1847
|
-
/** removeModerator */
|
|
1848
|
-
delete: operations["removeModerator"];
|
|
1849
|
-
options?: never;
|
|
1850
|
-
head?: never;
|
|
1851
|
-
/** updateModerator */
|
|
1852
|
-
patch: operations["updateModerator"];
|
|
1853
|
-
trace?: never;
|
|
1854
|
-
};
|
|
1855
|
-
"/action-push/inactive-users-since-registered-notification": {
|
|
1856
|
-
parameters: {
|
|
1857
|
-
query?: never;
|
|
1858
|
-
header?: never;
|
|
1859
|
-
path?: never;
|
|
1860
|
-
cookie?: never;
|
|
1861
|
-
};
|
|
1862
|
-
get?: never;
|
|
1863
|
-
put?: never;
|
|
1864
|
-
/** Trigger inactive users notification for users registered 7 days ago without activity */
|
|
1865
|
-
post: operations["triggerInactiveUsersNotification"];
|
|
1864
|
+
/** Trigger inactive users notification for users registered 7 days ago without activity */
|
|
1865
|
+
post: operations["triggerInactiveUsersNotification"];
|
|
1866
1866
|
delete?: never;
|
|
1867
1867
|
options?: never;
|
|
1868
1868
|
head?: never;
|
|
@@ -2068,6 +2068,11 @@ export interface components {
|
|
|
2068
2068
|
};
|
|
2069
2069
|
/** @enum {string} */
|
|
2070
2070
|
AppGameLocationType: AppGameLocationType;
|
|
2071
|
+
GameModeratorDto: {
|
|
2072
|
+
userId: string;
|
|
2073
|
+
displayName: string;
|
|
2074
|
+
thumbnail: string | null;
|
|
2075
|
+
};
|
|
2071
2076
|
GameDto: {
|
|
2072
2077
|
gameId: string;
|
|
2073
2078
|
visibility: components["schemas"]["visibility"];
|
|
@@ -2101,6 +2106,7 @@ export interface components {
|
|
|
2101
2106
|
autoApproveAll: boolean;
|
|
2102
2107
|
autoApproveTeamMembers: boolean;
|
|
2103
2108
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2109
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2104
2110
|
};
|
|
2105
2111
|
/** @enum {string} */
|
|
2106
2112
|
gameLevelEnum: GameLevelEnum;
|
|
@@ -2140,6 +2146,7 @@ export interface components {
|
|
|
2140
2146
|
autoApproveAll: boolean;
|
|
2141
2147
|
autoApproveTeamMembers: boolean;
|
|
2142
2148
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2149
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2143
2150
|
};
|
|
2144
2151
|
NearbyGamesByLocationDtoLocation: {
|
|
2145
2152
|
locationId: string;
|
|
@@ -2193,6 +2200,7 @@ export interface components {
|
|
|
2193
2200
|
autoApproveAll: boolean;
|
|
2194
2201
|
autoApproveTeamMembers: boolean;
|
|
2195
2202
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2203
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2196
2204
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2197
2205
|
gameContactPhone?: string;
|
|
2198
2206
|
};
|
|
@@ -2224,6 +2232,7 @@ export interface components {
|
|
|
2224
2232
|
autoApproveAll: boolean;
|
|
2225
2233
|
autoApproveTeamMembers: boolean;
|
|
2226
2234
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2235
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
2227
2236
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2228
2237
|
gameContactPhone?: string;
|
|
2229
2238
|
gameInvitationId: string;
|
|
@@ -2232,6 +2241,7 @@ export interface components {
|
|
|
2232
2241
|
approved: components["schemas"]["PlayerGameDto"][];
|
|
2233
2242
|
waiting: components["schemas"]["PlayerGameDto"][];
|
|
2234
2243
|
invitations: components["schemas"]["PlayerGameInvitationDto"][];
|
|
2244
|
+
moderated: components["schemas"]["PlayerGameDto"][];
|
|
2235
2245
|
};
|
|
2236
2246
|
PlayerGamesPastDto: {
|
|
2237
2247
|
games: components["schemas"]["PlayerGameDto"][];
|
|
@@ -2290,114 +2300,11 @@ export interface components {
|
|
|
2290
2300
|
CreateGameLineupsDto: {
|
|
2291
2301
|
lineups: components["schemas"]["CreateGameLineupsDtoLineup"][];
|
|
2292
2302
|
};
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
max: number;
|
|
2296
|
-
currency: components["schemas"]["priceCurrency"];
|
|
2297
|
-
};
|
|
2298
|
-
AlertTimeDto: {
|
|
2299
|
-
/**
|
|
2300
|
-
* @description HH
|
|
2301
|
-
* @example 13
|
|
2302
|
-
*/
|
|
2303
|
-
hoursMin: number;
|
|
2304
|
-
/**
|
|
2305
|
-
* @description HH
|
|
2306
|
-
* @example 15
|
|
2307
|
-
*/
|
|
2308
|
-
hoursMax: number;
|
|
2309
|
-
};
|
|
2310
|
-
/**
|
|
2311
|
-
* @description If empty then all
|
|
2312
|
-
* @enum {string}
|
|
2313
|
-
*/
|
|
2314
|
-
weekday: Weekday;
|
|
2315
|
-
CreateNearbyGamesAlertDto: {
|
|
2316
|
-
isEnabled: boolean;
|
|
2317
|
-
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2318
|
-
maxDistanceMeters: number;
|
|
2319
|
-
price?: components["schemas"]["AlertPriceDto"];
|
|
2320
|
-
time: components["schemas"]["AlertTimeDto"];
|
|
2321
|
-
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2322
|
-
/** @description If empty then all */
|
|
2323
|
-
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2324
|
-
};
|
|
2325
|
-
GetNearbyGamesAlertDto: {
|
|
2326
|
-
nearbyGamesAlertId: string;
|
|
2327
|
-
isEnabled: boolean;
|
|
2328
|
-
coordinates: components["schemas"]["CoordinatesDto"];
|
|
2329
|
-
maxDistanceMeters: number;
|
|
2330
|
-
price: components["schemas"]["AlertPriceDto"];
|
|
2331
|
-
time: components["schemas"]["AlertTimeDto"];
|
|
2332
|
-
gameLevel: components["schemas"]["gameLevelEnum"][];
|
|
2333
|
-
specificWeekdays: components["schemas"]["weekday"][] | null;
|
|
2334
|
-
};
|
|
2335
|
-
UpdateNearbyGamesAlertLocationDto: {
|
|
2336
|
-
coordinates?: components["schemas"]["CoordinatesDto"] | null;
|
|
2337
|
-
};
|
|
2338
|
-
UpdateNearbyGamesEnabledDto: {
|
|
2339
|
-
isEnabled: boolean;
|
|
2340
|
-
};
|
|
2341
|
-
LogoutResponseDto: {
|
|
2342
|
-
/** @description Logout success status */
|
|
2343
|
-
success: boolean;
|
|
2344
|
-
/** @description Logout message */
|
|
2345
|
-
message: string;
|
|
2346
|
-
};
|
|
2347
|
-
PostMyUserReferralDto: {
|
|
2348
|
-
/** @description Referral user id */
|
|
2349
|
-
referralId: string | null;
|
|
2350
|
-
/** @description Referral token instead of user id */
|
|
2351
|
-
referralToken: string | null;
|
|
2352
|
-
};
|
|
2353
|
-
/** @enum {string} */
|
|
2354
|
-
AppProfileType: AppProfileType;
|
|
2355
|
-
/** @enum {string} */
|
|
2356
|
-
AppLanguage: AppLanguage;
|
|
2357
|
-
MyUserDto: {
|
|
2358
|
-
userId: string;
|
|
2359
|
-
userAuthId: string;
|
|
2360
|
-
timezone: string;
|
|
2361
|
-
createdAt: string;
|
|
2362
|
-
updatedAt: string;
|
|
2363
|
-
email: string;
|
|
2364
|
-
phone?: string;
|
|
2365
|
-
name?: string;
|
|
2366
|
-
surname?: string;
|
|
2367
|
-
displayName?: string;
|
|
2368
|
-
role: string;
|
|
2369
|
-
thumbnail: string | null;
|
|
2370
|
-
thumbnailUrl: string | null;
|
|
2371
|
-
playerPreferences: components["schemas"]["PlayerPreferences"];
|
|
2372
|
-
hostRating: string | null;
|
|
2373
|
-
hostRatingCount: number;
|
|
2374
|
-
profileType?: components["schemas"]["AppProfileType"] | null;
|
|
2375
|
-
referralToken: string;
|
|
2376
|
-
canSetReferral: boolean;
|
|
2377
|
-
language: components["schemas"]["AppLanguage"];
|
|
2378
|
-
};
|
|
2379
|
-
/** @enum {string} */
|
|
2380
|
-
AppGameLevel: AppGameLevel;
|
|
2381
|
-
UpdatePartialUserDto: {
|
|
2382
|
-
name?: string;
|
|
2383
|
-
surname?: string;
|
|
2384
|
-
phone?: string;
|
|
2385
|
-
thumbnail?: string;
|
|
2386
|
-
preferredPosition?: components["schemas"]["AppPreferredPlayerPosition"] | null;
|
|
2387
|
-
preferredLevel?: components["schemas"]["AppGameLevel"] | null;
|
|
2388
|
-
/** @deprecated */
|
|
2389
|
-
profileType?: components["schemas"]["AppProfileType"];
|
|
2390
|
-
};
|
|
2391
|
-
SetLanguageDto: {
|
|
2392
|
-
language: components["schemas"]["AppLanguage"];
|
|
2393
|
-
};
|
|
2394
|
-
UserStatsDto: {
|
|
2395
|
-
userId: string;
|
|
2396
|
-
playedGames: number;
|
|
2397
|
-
hostedGames: number;
|
|
2303
|
+
GenerateInviteTokenResponseDto: {
|
|
2304
|
+
token: string;
|
|
2398
2305
|
};
|
|
2399
|
-
|
|
2400
|
-
|
|
2306
|
+
UpdateModeratorDto: {
|
|
2307
|
+
isRecurringModerator: boolean;
|
|
2401
2308
|
};
|
|
2402
2309
|
CreateHostedGameDto: {
|
|
2403
2310
|
name: string;
|
|
@@ -2493,6 +2400,11 @@ export interface components {
|
|
|
2493
2400
|
*/
|
|
2494
2401
|
leftAt: string | null;
|
|
2495
2402
|
};
|
|
2403
|
+
HostedGameModeratorDto: {
|
|
2404
|
+
userId: string;
|
|
2405
|
+
displayName: string;
|
|
2406
|
+
thumbnail: string | null;
|
|
2407
|
+
};
|
|
2496
2408
|
HostedGameItemDto: {
|
|
2497
2409
|
gameId: string;
|
|
2498
2410
|
hostId: string;
|
|
@@ -2525,6 +2437,7 @@ export interface components {
|
|
|
2525
2437
|
autoApproveAll: boolean;
|
|
2526
2438
|
autoApproveTeamMembers: boolean;
|
|
2527
2439
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2440
|
+
gameModerators: components["schemas"]["HostedGameModeratorDto"][];
|
|
2528
2441
|
};
|
|
2529
2442
|
UpdatePartialHostedGameDto: {
|
|
2530
2443
|
name: string;
|
|
@@ -2610,6 +2523,7 @@ export interface components {
|
|
|
2610
2523
|
autoApproveAll: boolean;
|
|
2611
2524
|
autoApproveTeamMembers: boolean;
|
|
2612
2525
|
autoApproveFavoriteTeamMembers: boolean;
|
|
2526
|
+
gameModerators: components["schemas"]["HostedGameModeratorDto"][];
|
|
2613
2527
|
invitations: components["schemas"]["HostedGameInvitationDto"][][];
|
|
2614
2528
|
invitationsRejected: components["schemas"]["HostedGameInvitationDto"][][];
|
|
2615
2529
|
gamePlayersLeft: components["schemas"]["HostedGamePlayerDto"][][];
|
|
@@ -2637,53 +2551,163 @@ export interface components {
|
|
|
2637
2551
|
/** Format: date-time */
|
|
2638
2552
|
revokedAt: string;
|
|
2639
2553
|
};
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2554
|
+
AlertPriceDto: {
|
|
2555
|
+
min: number;
|
|
2556
|
+
max: number;
|
|
2557
|
+
currency: components["schemas"]["priceCurrency"];
|
|
2644
2558
|
};
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2559
|
+
AlertTimeDto: {
|
|
2560
|
+
/**
|
|
2561
|
+
* @description HH
|
|
2562
|
+
* @example 13
|
|
2563
|
+
*/
|
|
2564
|
+
hoursMin: number;
|
|
2565
|
+
/**
|
|
2566
|
+
* @description HH
|
|
2567
|
+
* @example 15
|
|
2568
|
+
*/
|
|
2569
|
+
hoursMax: number;
|
|
2648
2570
|
};
|
|
2649
|
-
/**
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
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;
|
|
2661
2585
|
};
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
gameAddress: string;
|
|
2672
|
-
gameDate: string;
|
|
2673
|
-
gameHours: string;
|
|
2674
|
-
gameName: string;
|
|
2675
|
-
gameWeekday: string;
|
|
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;
|
|
2676
2595
|
};
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
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
|
+
};
|
|
2663
|
+
MyGamesPlayerDto: {
|
|
2664
|
+
approved: components["schemas"]["PlayerGameDto"][];
|
|
2665
|
+
waiting: components["schemas"]["PlayerGameDto"][];
|
|
2666
|
+
invitations: components["schemas"]["PlayerGameInvitationDto"][];
|
|
2667
|
+
moderated: components["schemas"]["PlayerGameDto"][];
|
|
2668
|
+
};
|
|
2669
|
+
MyGamesDto: {
|
|
2670
|
+
host: components["schemas"]["HostedGameItemDto"][];
|
|
2671
|
+
player: components["schemas"]["MyGamesPlayerDto"];
|
|
2672
|
+
};
|
|
2673
|
+
/** @enum {string} */
|
|
2674
|
+
NotificationType: NotificationType;
|
|
2675
|
+
TestNotificationPayload: {
|
|
2676
|
+
notificationId: string;
|
|
2677
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
2678
|
+
thumbnailUrl: string | null;
|
|
2679
|
+
displayName: string;
|
|
2680
|
+
receiverUserId: string;
|
|
2681
|
+
title?: string;
|
|
2682
|
+
body?: string;
|
|
2683
|
+
isTest: boolean;
|
|
2684
|
+
message: string;
|
|
2685
|
+
};
|
|
2686
|
+
GameApplicationApprovedNotificationPayload: {
|
|
2687
|
+
notificationId: string;
|
|
2688
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
2689
|
+
thumbnailUrl: string | null;
|
|
2690
|
+
displayName: string;
|
|
2691
|
+
receiverUserId: string;
|
|
2692
|
+
title?: string;
|
|
2693
|
+
body?: string;
|
|
2694
|
+
gameId: string;
|
|
2695
|
+
gameAddress: string;
|
|
2696
|
+
gameDate: string;
|
|
2697
|
+
gameHours: string;
|
|
2698
|
+
gameName: string;
|
|
2699
|
+
gameWeekday: string;
|
|
2700
|
+
};
|
|
2701
|
+
GameApplicationRejectedNotificationPayload: {
|
|
2702
|
+
notificationId: string;
|
|
2703
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
2704
|
+
thumbnailUrl: string | null;
|
|
2705
|
+
displayName: string;
|
|
2706
|
+
receiverUserId: string;
|
|
2707
|
+
title?: string;
|
|
2708
|
+
body?: string;
|
|
2709
|
+
gameId: string;
|
|
2710
|
+
gameAddress: string;
|
|
2687
2711
|
gameDate: string;
|
|
2688
2712
|
gameHours: string;
|
|
2689
2713
|
gameName: string;
|
|
@@ -3209,6 +3233,7 @@ export interface components {
|
|
|
3209
3233
|
autoApproveAll: boolean;
|
|
3210
3234
|
autoApproveTeamMembers: boolean;
|
|
3211
3235
|
autoApproveFavoriteTeamMembers: boolean;
|
|
3236
|
+
gameModerators: components["schemas"]["GameModeratorDto"][];
|
|
3212
3237
|
/**
|
|
3213
3238
|
* @deprecated
|
|
3214
3239
|
* @description Dont use this field, generate link on frontend part.
|
|
@@ -3566,12 +3591,6 @@ export interface components {
|
|
|
3566
3591
|
token: string;
|
|
3567
3592
|
frontendURL: string;
|
|
3568
3593
|
};
|
|
3569
|
-
GenerateInviteTokenResponseDto: {
|
|
3570
|
-
token: string;
|
|
3571
|
-
};
|
|
3572
|
-
UpdateModeratorDto: {
|
|
3573
|
-
isRecurringModerator: boolean;
|
|
3574
|
-
};
|
|
3575
3594
|
InactiveUsersNotificationResponseDto: {
|
|
3576
3595
|
/** @description Number of users who were processed for notification */
|
|
3577
3596
|
processedUsersCount: number;
|
|
@@ -3620,6 +3639,7 @@ export type CommonLocationDto = components['schemas']['CommonLocationDto'];
|
|
|
3620
3639
|
export type PlayerPreferences = components['schemas']['PlayerPreferences'];
|
|
3621
3640
|
export type GamePlayerDto = components['schemas']['GamePlayerDto'];
|
|
3622
3641
|
export type GamePlayerApplicationDto = components['schemas']['GamePlayerApplicationDto'];
|
|
3642
|
+
export type GameModeratorDto = components['schemas']['GameModeratorDto'];
|
|
3623
3643
|
export type GameDto = components['schemas']['GameDto'];
|
|
3624
3644
|
export type HostDto = components['schemas']['HostDto'];
|
|
3625
3645
|
export type CommonGameDto = components['schemas']['CommonGameDto'];
|
|
@@ -3641,25 +3661,15 @@ export type GameLineupsDto = components['schemas']['GameLineupsDto'];
|
|
|
3641
3661
|
export type CreateLineupPlayer = components['schemas']['CreateLineupPlayer'];
|
|
3642
3662
|
export type CreateGameLineupsDtoLineup = components['schemas']['CreateGameLineupsDtoLineup'];
|
|
3643
3663
|
export type CreateGameLineupsDto = components['schemas']['CreateGameLineupsDto'];
|
|
3644
|
-
export type
|
|
3645
|
-
export type
|
|
3646
|
-
export type CreateNearbyGamesAlertDto = components['schemas']['CreateNearbyGamesAlertDto'];
|
|
3647
|
-
export type GetNearbyGamesAlertDto = components['schemas']['GetNearbyGamesAlertDto'];
|
|
3648
|
-
export type UpdateNearbyGamesAlertLocationDto = components['schemas']['UpdateNearbyGamesAlertLocationDto'];
|
|
3649
|
-
export type UpdateNearbyGamesEnabledDto = components['schemas']['UpdateNearbyGamesEnabledDto'];
|
|
3650
|
-
export type LogoutResponseDto = components['schemas']['LogoutResponseDto'];
|
|
3651
|
-
export type PostMyUserReferralDto = components['schemas']['PostMyUserReferralDto'];
|
|
3652
|
-
export type MyUserDto = components['schemas']['MyUserDto'];
|
|
3653
|
-
export type UpdatePartialUserDto = components['schemas']['UpdatePartialUserDto'];
|
|
3654
|
-
export type SetLanguageDto = components['schemas']['SetLanguageDto'];
|
|
3655
|
-
export type UserStatsDto = components['schemas']['UserStatsDto'];
|
|
3656
|
-
export type UpsertUserMetaBooleanDto = components['schemas']['UpsertUserMetaBooleanDto'];
|
|
3664
|
+
export type GenerateInviteTokenResponseDto = components['schemas']['GenerateInviteTokenResponseDto'];
|
|
3665
|
+
export type UpdateModeratorDto = components['schemas']['UpdateModeratorDto'];
|
|
3657
3666
|
export type CreateHostedGameDto = components['schemas']['CreateHostedGameDto'];
|
|
3658
3667
|
export type HostedGameDtoLocation = components['schemas']['HostedGameDtoLocation'];
|
|
3659
3668
|
export type CommonUserDto = components['schemas']['CommonUserDto'];
|
|
3660
3669
|
export type CommonUserPenaltyDto = components['schemas']['CommonUserPenaltyDto'];
|
|
3661
3670
|
export type HostedGamePlayerApplicationDto = components['schemas']['HostedGamePlayerApplicationDto'];
|
|
3662
3671
|
export type HostedGamePlayerDto = components['schemas']['HostedGamePlayerDto'];
|
|
3672
|
+
export type HostedGameModeratorDto = components['schemas']['HostedGameModeratorDto'];
|
|
3663
3673
|
export type HostedGameItemDto = components['schemas']['HostedGameItemDto'];
|
|
3664
3674
|
export type UpdatePartialHostedGameDto = components['schemas']['UpdatePartialHostedGameDto'];
|
|
3665
3675
|
export type HostedGameDto = components['schemas']['HostedGameDto'];
|
|
@@ -3670,6 +3680,19 @@ export type GetGameFbGroupsDto = components['schemas']['GetGameFbGroupsDto'];
|
|
|
3670
3680
|
export type GetUserPenaltiesDto = components['schemas']['GetUserPenaltiesDto'];
|
|
3671
3681
|
export type CreateUserPenaltyDto = components['schemas']['CreateUserPenaltyDto'];
|
|
3672
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'];
|
|
3673
3696
|
export type MyGamesPlayerDto = components['schemas']['MyGamesPlayerDto'];
|
|
3674
3697
|
export type MyGamesDto = components['schemas']['MyGamesDto'];
|
|
3675
3698
|
export type TestNotificationPayload = components['schemas']['TestNotificationPayload'];
|
|
@@ -3786,8 +3809,6 @@ export type UserLocationDto = components['schemas']['UserLocationDto'];
|
|
|
3786
3809
|
export type CheckAuthMethodDto = components['schemas']['CheckAuthMethodDto'];
|
|
3787
3810
|
export type CheckAuthMethodResponseDto = components['schemas']['CheckAuthMethodResponseDto'];
|
|
3788
3811
|
export type CreateReassignTokenResponseDto = components['schemas']['CreateReassignTokenResponseDto'];
|
|
3789
|
-
export type GenerateInviteTokenResponseDto = components['schemas']['GenerateInviteTokenResponseDto'];
|
|
3790
|
-
export type UpdateModeratorDto = components['schemas']['UpdateModeratorDto'];
|
|
3791
3812
|
export type InactiveUsersNotificationResponseDto = components['schemas']['InactiveUsersNotificationResponseDto'];
|
|
3792
3813
|
export type ActivityHistoryEntryDto = components['schemas']['ActivityHistoryEntryDto'];
|
|
3793
3814
|
export type $defs = Record<string, never>;
|
|
@@ -4595,7 +4616,7 @@ export interface operations {
|
|
|
4595
4616
|
};
|
|
4596
4617
|
};
|
|
4597
4618
|
};
|
|
4598
|
-
|
|
4619
|
+
generateInviteToken: {
|
|
4599
4620
|
parameters: {
|
|
4600
4621
|
query?: never;
|
|
4601
4622
|
header?: {
|
|
@@ -4606,35 +4627,40 @@ export interface operations {
|
|
|
4606
4627
|
/** @description IANA Timezone */
|
|
4607
4628
|
"x-timezone"?: string;
|
|
4608
4629
|
};
|
|
4609
|
-
path
|
|
4630
|
+
path: {
|
|
4631
|
+
gameId: string;
|
|
4632
|
+
};
|
|
4610
4633
|
cookie?: never;
|
|
4611
4634
|
};
|
|
4612
4635
|
requestBody?: never;
|
|
4613
4636
|
responses: {
|
|
4614
|
-
|
|
4615
|
-
201: {
|
|
4637
|
+
200: {
|
|
4616
4638
|
headers: {
|
|
4617
4639
|
[name: string]: unknown;
|
|
4618
4640
|
};
|
|
4619
|
-
content
|
|
4641
|
+
content: {
|
|
4642
|
+
"application/json": components["schemas"]["GenerateInviteTokenResponseDto"];
|
|
4643
|
+
};
|
|
4620
4644
|
};
|
|
4621
|
-
/** @description
|
|
4645
|
+
/** @description GameAlreadyPending, GameModeratorLimitReached */
|
|
4622
4646
|
400: {
|
|
4623
4647
|
headers: {
|
|
4624
4648
|
[name: string]: unknown;
|
|
4625
4649
|
};
|
|
4626
4650
|
content?: never;
|
|
4627
4651
|
};
|
|
4628
|
-
/** @description
|
|
4629
|
-
|
|
4652
|
+
/** @description Application Error */
|
|
4653
|
+
500: {
|
|
4630
4654
|
headers: {
|
|
4631
4655
|
[name: string]: unknown;
|
|
4632
4656
|
};
|
|
4633
|
-
content
|
|
4657
|
+
content: {
|
|
4658
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4659
|
+
};
|
|
4634
4660
|
};
|
|
4635
4661
|
};
|
|
4636
4662
|
};
|
|
4637
|
-
|
|
4663
|
+
acceptInvite: {
|
|
4638
4664
|
parameters: {
|
|
4639
4665
|
query?: never;
|
|
4640
4666
|
header?: {
|
|
@@ -4645,19 +4671,19 @@ export interface operations {
|
|
|
4645
4671
|
/** @description IANA Timezone */
|
|
4646
4672
|
"x-timezone"?: string;
|
|
4647
4673
|
};
|
|
4648
|
-
path
|
|
4674
|
+
path: {
|
|
4675
|
+
token: string;
|
|
4676
|
+
};
|
|
4649
4677
|
cookie?: never;
|
|
4650
4678
|
};
|
|
4651
4679
|
requestBody?: never;
|
|
4652
4680
|
responses: {
|
|
4653
|
-
/** @description
|
|
4654
|
-
|
|
4681
|
+
/** @description GameModeratorInviteTokenInvalid, GameModeratorLimitReached */
|
|
4682
|
+
400: {
|
|
4655
4683
|
headers: {
|
|
4656
4684
|
[name: string]: unknown;
|
|
4657
4685
|
};
|
|
4658
|
-
content
|
|
4659
|
-
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
4660
|
-
};
|
|
4686
|
+
content?: never;
|
|
4661
4687
|
};
|
|
4662
4688
|
/** @description Application Error */
|
|
4663
4689
|
500: {
|
|
@@ -4670,7 +4696,7 @@ export interface operations {
|
|
|
4670
4696
|
};
|
|
4671
4697
|
};
|
|
4672
4698
|
};
|
|
4673
|
-
|
|
4699
|
+
removeModerator: {
|
|
4674
4700
|
parameters: {
|
|
4675
4701
|
query?: never;
|
|
4676
4702
|
header?: {
|
|
@@ -4681,22 +4707,19 @@ export interface operations {
|
|
|
4681
4707
|
/** @description IANA Timezone */
|
|
4682
4708
|
"x-timezone"?: string;
|
|
4683
4709
|
};
|
|
4684
|
-
path
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
requestBody: {
|
|
4688
|
-
content: {
|
|
4689
|
-
"application/json": components["schemas"]["CreateNearbyGamesAlertDto"];
|
|
4710
|
+
path: {
|
|
4711
|
+
gameId: string;
|
|
4712
|
+
userId: string;
|
|
4690
4713
|
};
|
|
4714
|
+
cookie?: never;
|
|
4691
4715
|
};
|
|
4716
|
+
requestBody?: never;
|
|
4692
4717
|
responses: {
|
|
4693
4718
|
200: {
|
|
4694
4719
|
headers: {
|
|
4695
4720
|
[name: string]: unknown;
|
|
4696
4721
|
};
|
|
4697
|
-
content
|
|
4698
|
-
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
4699
|
-
};
|
|
4722
|
+
content?: never;
|
|
4700
4723
|
};
|
|
4701
4724
|
/** @description Application Error */
|
|
4702
4725
|
500: {
|
|
@@ -4709,7 +4732,7 @@ export interface operations {
|
|
|
4709
4732
|
};
|
|
4710
4733
|
};
|
|
4711
4734
|
};
|
|
4712
|
-
|
|
4735
|
+
updateModerator: {
|
|
4713
4736
|
parameters: {
|
|
4714
4737
|
query?: never;
|
|
4715
4738
|
header?: {
|
|
@@ -4720,12 +4743,15 @@ export interface operations {
|
|
|
4720
4743
|
/** @description IANA Timezone */
|
|
4721
4744
|
"x-timezone"?: string;
|
|
4722
4745
|
};
|
|
4723
|
-
path
|
|
4746
|
+
path: {
|
|
4747
|
+
gameId: string;
|
|
4748
|
+
userId: string;
|
|
4749
|
+
};
|
|
4724
4750
|
cookie?: never;
|
|
4725
4751
|
};
|
|
4726
4752
|
requestBody: {
|
|
4727
4753
|
content: {
|
|
4728
|
-
"application/json": components["schemas"]["
|
|
4754
|
+
"application/json": components["schemas"]["UpdateModeratorDto"];
|
|
4729
4755
|
};
|
|
4730
4756
|
};
|
|
4731
4757
|
responses: {
|
|
@@ -4746,7 +4772,7 @@ export interface operations {
|
|
|
4746
4772
|
};
|
|
4747
4773
|
};
|
|
4748
4774
|
};
|
|
4749
|
-
|
|
4775
|
+
createHostedGame: {
|
|
4750
4776
|
parameters: {
|
|
4751
4777
|
query?: never;
|
|
4752
4778
|
header?: {
|
|
@@ -4762,11 +4788,20 @@ export interface operations {
|
|
|
4762
4788
|
};
|
|
4763
4789
|
requestBody: {
|
|
4764
4790
|
content: {
|
|
4765
|
-
"application/json": components["schemas"]["
|
|
4791
|
+
"application/json": components["schemas"]["CreateHostedGameDto"];
|
|
4766
4792
|
};
|
|
4767
4793
|
};
|
|
4768
4794
|
responses: {
|
|
4769
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: {
|
|
4770
4805
|
headers: {
|
|
4771
4806
|
[name: string]: unknown;
|
|
4772
4807
|
};
|
|
@@ -4783,11 +4818,10 @@ export interface operations {
|
|
|
4783
4818
|
};
|
|
4784
4819
|
};
|
|
4785
4820
|
};
|
|
4786
|
-
|
|
4821
|
+
getHostedGame: {
|
|
4787
4822
|
parameters: {
|
|
4788
4823
|
query?: never;
|
|
4789
|
-
header
|
|
4790
|
-
Authorization: string;
|
|
4824
|
+
header?: {
|
|
4791
4825
|
/** @description Request trace id for logs */
|
|
4792
4826
|
"x-trace-request-id"?: string;
|
|
4793
4827
|
/** @description Session trace id for logs */
|
|
@@ -4795,7 +4829,9 @@ export interface operations {
|
|
|
4795
4829
|
/** @description IANA Timezone */
|
|
4796
4830
|
"x-timezone"?: string;
|
|
4797
4831
|
};
|
|
4798
|
-
path
|
|
4832
|
+
path: {
|
|
4833
|
+
hostedGameId: string;
|
|
4834
|
+
};
|
|
4799
4835
|
cookie?: never;
|
|
4800
4836
|
};
|
|
4801
4837
|
requestBody?: never;
|
|
@@ -4805,7 +4841,7 @@ export interface operations {
|
|
|
4805
4841
|
[name: string]: unknown;
|
|
4806
4842
|
};
|
|
4807
4843
|
content: {
|
|
4808
|
-
"application/json": components["schemas"]["
|
|
4844
|
+
"application/json": components["schemas"]["HostedGameDetailsDto"];
|
|
4809
4845
|
};
|
|
4810
4846
|
};
|
|
4811
4847
|
/** @description Application Error */
|
|
@@ -4819,9 +4855,12 @@ export interface operations {
|
|
|
4819
4855
|
};
|
|
4820
4856
|
};
|
|
4821
4857
|
};
|
|
4822
|
-
|
|
4858
|
+
cancelHostedGame: {
|
|
4823
4859
|
parameters: {
|
|
4824
|
-
query?:
|
|
4860
|
+
query?: {
|
|
4861
|
+
cancelSingleOccurrenceOnly?: boolean;
|
|
4862
|
+
cancellationReason?: string;
|
|
4863
|
+
};
|
|
4825
4864
|
header?: {
|
|
4826
4865
|
/** @description Request trace id for logs */
|
|
4827
4866
|
"x-trace-request-id"?: string;
|
|
@@ -4830,17 +4869,16 @@ export interface operations {
|
|
|
4830
4869
|
/** @description IANA Timezone */
|
|
4831
4870
|
"x-timezone"?: string;
|
|
4832
4871
|
};
|
|
4833
|
-
path
|
|
4834
|
-
|
|
4835
|
-
};
|
|
4836
|
-
requestBody: {
|
|
4837
|
-
content: {
|
|
4838
|
-
"application/json": components["schemas"]["PostMyUserReferralDto"];
|
|
4872
|
+
path: {
|
|
4873
|
+
hostedGameId: string;
|
|
4839
4874
|
};
|
|
4875
|
+
cookie?: never;
|
|
4840
4876
|
};
|
|
4877
|
+
requestBody?: never;
|
|
4841
4878
|
responses: {
|
|
4842
|
-
|
|
4843
|
-
|
|
4879
|
+
/** @description CannotCancelGameIfSomePlayersAlreadyPaid, GameAlreadyPending */
|
|
4880
|
+
400: {
|
|
4881
|
+
headers: {
|
|
4844
4882
|
[name: string]: unknown;
|
|
4845
4883
|
};
|
|
4846
4884
|
content?: never;
|
|
@@ -4856,12 +4894,10 @@ export interface operations {
|
|
|
4856
4894
|
};
|
|
4857
4895
|
};
|
|
4858
4896
|
};
|
|
4859
|
-
|
|
4897
|
+
updateHostedGame: {
|
|
4860
4898
|
parameters: {
|
|
4861
4899
|
query?: never;
|
|
4862
|
-
header
|
|
4863
|
-
"x-app-version": string;
|
|
4864
|
-
"x-app-platform": string;
|
|
4900
|
+
header?: {
|
|
4865
4901
|
/** @description Request trace id for logs */
|
|
4866
4902
|
"x-trace-request-id"?: string;
|
|
4867
4903
|
/** @description Session trace id for logs */
|
|
@@ -4869,18 +4905,31 @@ export interface operations {
|
|
|
4869
4905
|
/** @description IANA Timezone */
|
|
4870
4906
|
"x-timezone"?: string;
|
|
4871
4907
|
};
|
|
4872
|
-
path
|
|
4908
|
+
path: {
|
|
4909
|
+
hostedGameId: string;
|
|
4910
|
+
};
|
|
4873
4911
|
cookie?: never;
|
|
4874
4912
|
};
|
|
4875
|
-
requestBody
|
|
4913
|
+
requestBody: {
|
|
4914
|
+
content: {
|
|
4915
|
+
"application/json": components["schemas"]["UpdatePartialHostedGameDto"];
|
|
4916
|
+
};
|
|
4917
|
+
};
|
|
4876
4918
|
responses: {
|
|
4877
4919
|
200: {
|
|
4878
4920
|
headers: {
|
|
4879
4921
|
[name: string]: unknown;
|
|
4880
4922
|
};
|
|
4881
4923
|
content: {
|
|
4882
|
-
"application/json": components["schemas"]["
|
|
4924
|
+
"application/json": components["schemas"]["HostedGameItemDto"];
|
|
4925
|
+
};
|
|
4926
|
+
};
|
|
4927
|
+
/** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate, CannotEditGameAfterItsFinished */
|
|
4928
|
+
400: {
|
|
4929
|
+
headers: {
|
|
4930
|
+
[name: string]: unknown;
|
|
4883
4931
|
};
|
|
4932
|
+
content?: never;
|
|
4884
4933
|
};
|
|
4885
4934
|
/** @description Application Error */
|
|
4886
4935
|
500: {
|
|
@@ -4893,9 +4942,12 @@ export interface operations {
|
|
|
4893
4942
|
};
|
|
4894
4943
|
};
|
|
4895
4944
|
};
|
|
4896
|
-
|
|
4945
|
+
getUserHostedGamesFuture: {
|
|
4897
4946
|
parameters: {
|
|
4898
|
-
query?:
|
|
4947
|
+
query?: {
|
|
4948
|
+
/** @description Default 2 */
|
|
4949
|
+
hoursAfterGameEndToBeConsideredAsFuture?: number;
|
|
4950
|
+
};
|
|
4899
4951
|
header?: {
|
|
4900
4952
|
/** @description Request trace id for logs */
|
|
4901
4953
|
"x-trace-request-id"?: string;
|
|
@@ -4913,7 +4965,9 @@ export interface operations {
|
|
|
4913
4965
|
headers: {
|
|
4914
4966
|
[name: string]: unknown;
|
|
4915
4967
|
};
|
|
4916
|
-
content
|
|
4968
|
+
content: {
|
|
4969
|
+
"application/json": components["schemas"]["HostedGameDto"];
|
|
4970
|
+
};
|
|
4917
4971
|
};
|
|
4918
4972
|
/** @description Application Error */
|
|
4919
4973
|
500: {
|
|
@@ -4926,9 +4980,12 @@ export interface operations {
|
|
|
4926
4980
|
};
|
|
4927
4981
|
};
|
|
4928
4982
|
};
|
|
4929
|
-
|
|
4983
|
+
getUserHostedGamesPast: {
|
|
4930
4984
|
parameters: {
|
|
4931
|
-
query?:
|
|
4985
|
+
query?: {
|
|
4986
|
+
/** @description Limit the number of games returned */
|
|
4987
|
+
limit?: number;
|
|
4988
|
+
};
|
|
4932
4989
|
header?: {
|
|
4933
4990
|
/** @description Request trace id for logs */
|
|
4934
4991
|
"x-trace-request-id"?: string;
|
|
@@ -4940,18 +4997,14 @@ export interface operations {
|
|
|
4940
4997
|
path?: never;
|
|
4941
4998
|
cookie?: never;
|
|
4942
4999
|
};
|
|
4943
|
-
requestBody
|
|
4944
|
-
content: {
|
|
4945
|
-
"application/json": components["schemas"]["UpdatePartialUserDto"];
|
|
4946
|
-
};
|
|
4947
|
-
};
|
|
5000
|
+
requestBody?: never;
|
|
4948
5001
|
responses: {
|
|
4949
5002
|
200: {
|
|
4950
5003
|
headers: {
|
|
4951
5004
|
[name: string]: unknown;
|
|
4952
5005
|
};
|
|
4953
5006
|
content: {
|
|
4954
|
-
"application/json": components["schemas"]["
|
|
5007
|
+
"application/json": components["schemas"]["HostedGameDto"];
|
|
4955
5008
|
};
|
|
4956
5009
|
};
|
|
4957
5010
|
/** @description Application Error */
|
|
@@ -4965,7 +5018,7 @@ export interface operations {
|
|
|
4965
5018
|
};
|
|
4966
5019
|
};
|
|
4967
5020
|
};
|
|
4968
|
-
|
|
5021
|
+
getFbGroupsByGameId: {
|
|
4969
5022
|
parameters: {
|
|
4970
5023
|
query?: never;
|
|
4971
5024
|
header?: {
|
|
@@ -4976,21 +5029,19 @@ export interface operations {
|
|
|
4976
5029
|
/** @description IANA Timezone */
|
|
4977
5030
|
"x-timezone"?: string;
|
|
4978
5031
|
};
|
|
4979
|
-
path
|
|
4980
|
-
|
|
4981
|
-
};
|
|
4982
|
-
requestBody: {
|
|
4983
|
-
content: {
|
|
4984
|
-
"application/json": components["schemas"]["SetLanguageDto"];
|
|
5032
|
+
path: {
|
|
5033
|
+
gameId: string;
|
|
4985
5034
|
};
|
|
5035
|
+
cookie?: never;
|
|
4986
5036
|
};
|
|
5037
|
+
requestBody?: never;
|
|
4987
5038
|
responses: {
|
|
4988
5039
|
200: {
|
|
4989
5040
|
headers: {
|
|
4990
5041
|
[name: string]: unknown;
|
|
4991
5042
|
};
|
|
4992
5043
|
content: {
|
|
4993
|
-
"application/json": components["schemas"]["
|
|
5044
|
+
"application/json": components["schemas"]["GetGameFbGroupsDto"];
|
|
4994
5045
|
};
|
|
4995
5046
|
};
|
|
4996
5047
|
/** @description Application Error */
|
|
@@ -5004,7 +5055,7 @@ export interface operations {
|
|
|
5004
5055
|
};
|
|
5005
5056
|
};
|
|
5006
5057
|
};
|
|
5007
|
-
|
|
5058
|
+
getUserPenalties: {
|
|
5008
5059
|
parameters: {
|
|
5009
5060
|
query?: never;
|
|
5010
5061
|
header?: {
|
|
@@ -5015,31 +5066,33 @@ export interface operations {
|
|
|
5015
5066
|
/** @description IANA Timezone */
|
|
5016
5067
|
"x-timezone"?: string;
|
|
5017
5068
|
};
|
|
5018
|
-
path
|
|
5069
|
+
path: {
|
|
5070
|
+
userId: string;
|
|
5071
|
+
};
|
|
5019
5072
|
cookie?: never;
|
|
5020
5073
|
};
|
|
5021
5074
|
requestBody?: never;
|
|
5022
5075
|
responses: {
|
|
5023
|
-
|
|
5076
|
+
/** @description Application Error */
|
|
5077
|
+
500: {
|
|
5024
5078
|
headers: {
|
|
5025
5079
|
[name: string]: unknown;
|
|
5026
5080
|
};
|
|
5027
5081
|
content: {
|
|
5028
|
-
"application/json": components["schemas"]["
|
|
5082
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5029
5083
|
};
|
|
5030
5084
|
};
|
|
5031
|
-
|
|
5032
|
-
500: {
|
|
5085
|
+
default: {
|
|
5033
5086
|
headers: {
|
|
5034
5087
|
[name: string]: unknown;
|
|
5035
5088
|
};
|
|
5036
5089
|
content: {
|
|
5037
|
-
"application/json": components["schemas"]["
|
|
5090
|
+
"application/json": components["schemas"]["GetUserPenaltiesDto"];
|
|
5038
5091
|
};
|
|
5039
5092
|
};
|
|
5040
5093
|
};
|
|
5041
5094
|
};
|
|
5042
|
-
|
|
5095
|
+
createPenalty: {
|
|
5043
5096
|
parameters: {
|
|
5044
5097
|
query?: never;
|
|
5045
5098
|
header?: {
|
|
@@ -5050,16 +5103,18 @@ export interface operations {
|
|
|
5050
5103
|
/** @description IANA Timezone */
|
|
5051
5104
|
"x-timezone"?: string;
|
|
5052
5105
|
};
|
|
5053
|
-
path
|
|
5106
|
+
path: {
|
|
5107
|
+
userId: string;
|
|
5108
|
+
};
|
|
5054
5109
|
cookie?: never;
|
|
5055
5110
|
};
|
|
5056
5111
|
requestBody: {
|
|
5057
5112
|
content: {
|
|
5058
|
-
"application/json": components["schemas"]["
|
|
5113
|
+
"application/json": components["schemas"]["CreateUserPenaltyDto"];
|
|
5059
5114
|
};
|
|
5060
5115
|
};
|
|
5061
5116
|
responses: {
|
|
5062
|
-
|
|
5117
|
+
201: {
|
|
5063
5118
|
headers: {
|
|
5064
5119
|
[name: string]: unknown;
|
|
5065
5120
|
};
|
|
@@ -5076,7 +5131,7 @@ export interface operations {
|
|
|
5076
5131
|
};
|
|
5077
5132
|
};
|
|
5078
5133
|
};
|
|
5079
|
-
|
|
5134
|
+
revokePenalty: {
|
|
5080
5135
|
parameters: {
|
|
5081
5136
|
query?: never;
|
|
5082
5137
|
header?: {
|
|
@@ -5087,30 +5142,96 @@ export interface operations {
|
|
|
5087
5142
|
/** @description IANA Timezone */
|
|
5088
5143
|
"x-timezone"?: string;
|
|
5089
5144
|
};
|
|
5090
|
-
path
|
|
5091
|
-
|
|
5092
|
-
};
|
|
5093
|
-
requestBody: {
|
|
5094
|
-
content: {
|
|
5095
|
-
"application/json": components["schemas"]["CreateHostedGameDto"];
|
|
5145
|
+
path: {
|
|
5146
|
+
userPenaltyId: string;
|
|
5096
5147
|
};
|
|
5148
|
+
cookie?: never;
|
|
5097
5149
|
};
|
|
5150
|
+
requestBody?: never;
|
|
5098
5151
|
responses: {
|
|
5099
|
-
|
|
5152
|
+
/** @description Application Error */
|
|
5153
|
+
500: {
|
|
5100
5154
|
headers: {
|
|
5101
5155
|
[name: string]: unknown;
|
|
5102
5156
|
};
|
|
5103
5157
|
content: {
|
|
5104
|
-
"application/json": components["schemas"]["
|
|
5158
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5105
5159
|
};
|
|
5106
5160
|
};
|
|
5107
|
-
|
|
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 */
|
|
5108
5195
|
400: {
|
|
5109
5196
|
headers: {
|
|
5110
5197
|
[name: string]: unknown;
|
|
5111
5198
|
};
|
|
5112
5199
|
content?: never;
|
|
5113
5200
|
};
|
|
5201
|
+
/** @description Unauthorized */
|
|
5202
|
+
401: {
|
|
5203
|
+
headers: {
|
|
5204
|
+
[name: string]: unknown;
|
|
5205
|
+
};
|
|
5206
|
+
content?: never;
|
|
5207
|
+
};
|
|
5208
|
+
};
|
|
5209
|
+
};
|
|
5210
|
+
getUserNearbyGamesAlert: {
|
|
5211
|
+
parameters: {
|
|
5212
|
+
query?: never;
|
|
5213
|
+
header?: {
|
|
5214
|
+
/** @description Request trace id for logs */
|
|
5215
|
+
"x-trace-request-id"?: string;
|
|
5216
|
+
/** @description Session trace id for logs */
|
|
5217
|
+
"x-trace-session-id"?: string;
|
|
5218
|
+
/** @description IANA Timezone */
|
|
5219
|
+
"x-timezone"?: string;
|
|
5220
|
+
};
|
|
5221
|
+
path?: never;
|
|
5222
|
+
cookie?: never;
|
|
5223
|
+
};
|
|
5224
|
+
requestBody?: never;
|
|
5225
|
+
responses: {
|
|
5226
|
+
/** @description Returns null if no alert is set */
|
|
5227
|
+
200: {
|
|
5228
|
+
headers: {
|
|
5229
|
+
[name: string]: unknown;
|
|
5230
|
+
};
|
|
5231
|
+
content: {
|
|
5232
|
+
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
5233
|
+
};
|
|
5234
|
+
};
|
|
5114
5235
|
/** @description Application Error */
|
|
5115
5236
|
500: {
|
|
5116
5237
|
headers: {
|
|
@@ -5122,7 +5243,7 @@ export interface operations {
|
|
|
5122
5243
|
};
|
|
5123
5244
|
};
|
|
5124
5245
|
};
|
|
5125
|
-
|
|
5246
|
+
upsertUserNearbyGamesAlert: {
|
|
5126
5247
|
parameters: {
|
|
5127
5248
|
query?: never;
|
|
5128
5249
|
header?: {
|
|
@@ -5133,19 +5254,21 @@ export interface operations {
|
|
|
5133
5254
|
/** @description IANA Timezone */
|
|
5134
5255
|
"x-timezone"?: string;
|
|
5135
5256
|
};
|
|
5136
|
-
path
|
|
5137
|
-
hostedGameId: string;
|
|
5138
|
-
};
|
|
5257
|
+
path?: never;
|
|
5139
5258
|
cookie?: never;
|
|
5140
5259
|
};
|
|
5141
|
-
requestBody
|
|
5260
|
+
requestBody: {
|
|
5261
|
+
content: {
|
|
5262
|
+
"application/json": components["schemas"]["CreateNearbyGamesAlertDto"];
|
|
5263
|
+
};
|
|
5264
|
+
};
|
|
5142
5265
|
responses: {
|
|
5143
5266
|
200: {
|
|
5144
5267
|
headers: {
|
|
5145
5268
|
[name: string]: unknown;
|
|
5146
5269
|
};
|
|
5147
5270
|
content: {
|
|
5148
|
-
"application/json": components["schemas"]["
|
|
5271
|
+
"application/json": components["schemas"]["GetNearbyGamesAlertDto"];
|
|
5149
5272
|
};
|
|
5150
5273
|
};
|
|
5151
5274
|
/** @description Application Error */
|
|
@@ -5159,12 +5282,9 @@ export interface operations {
|
|
|
5159
5282
|
};
|
|
5160
5283
|
};
|
|
5161
5284
|
};
|
|
5162
|
-
|
|
5285
|
+
updateNearbyGamesAlertLocation: {
|
|
5163
5286
|
parameters: {
|
|
5164
|
-
query?:
|
|
5165
|
-
cancelSingleOccurrenceOnly?: boolean;
|
|
5166
|
-
cancellationReason?: string;
|
|
5167
|
-
};
|
|
5287
|
+
query?: never;
|
|
5168
5288
|
header?: {
|
|
5169
5289
|
/** @description Request trace id for logs */
|
|
5170
5290
|
"x-trace-request-id"?: string;
|
|
@@ -5173,15 +5293,16 @@ export interface operations {
|
|
|
5173
5293
|
/** @description IANA Timezone */
|
|
5174
5294
|
"x-timezone"?: string;
|
|
5175
5295
|
};
|
|
5176
|
-
path
|
|
5177
|
-
hostedGameId: string;
|
|
5178
|
-
};
|
|
5296
|
+
path?: never;
|
|
5179
5297
|
cookie?: never;
|
|
5180
5298
|
};
|
|
5181
|
-
requestBody
|
|
5299
|
+
requestBody: {
|
|
5300
|
+
content: {
|
|
5301
|
+
"application/json": components["schemas"]["UpdateNearbyGamesAlertLocationDto"];
|
|
5302
|
+
};
|
|
5303
|
+
};
|
|
5182
5304
|
responses: {
|
|
5183
|
-
|
|
5184
|
-
400: {
|
|
5305
|
+
200: {
|
|
5185
5306
|
headers: {
|
|
5186
5307
|
[name: string]: unknown;
|
|
5187
5308
|
};
|
|
@@ -5198,7 +5319,7 @@ export interface operations {
|
|
|
5198
5319
|
};
|
|
5199
5320
|
};
|
|
5200
5321
|
};
|
|
5201
|
-
|
|
5322
|
+
updateNearbyGamesAlertEnabled: {
|
|
5202
5323
|
parameters: {
|
|
5203
5324
|
query?: never;
|
|
5204
5325
|
header?: {
|
|
@@ -5209,31 +5330,56 @@ export interface operations {
|
|
|
5209
5330
|
/** @description IANA Timezone */
|
|
5210
5331
|
"x-timezone"?: string;
|
|
5211
5332
|
};
|
|
5212
|
-
path
|
|
5213
|
-
hostedGameId: string;
|
|
5214
|
-
};
|
|
5333
|
+
path?: never;
|
|
5215
5334
|
cookie?: never;
|
|
5216
5335
|
};
|
|
5217
5336
|
requestBody: {
|
|
5218
5337
|
content: {
|
|
5219
|
-
"application/json": components["schemas"]["
|
|
5338
|
+
"application/json": components["schemas"]["UpdateNearbyGamesEnabledDto"];
|
|
5220
5339
|
};
|
|
5221
5340
|
};
|
|
5222
5341
|
responses: {
|
|
5223
5342
|
200: {
|
|
5343
|
+
headers: {
|
|
5344
|
+
[name: string]: unknown;
|
|
5345
|
+
};
|
|
5346
|
+
content?: never;
|
|
5347
|
+
};
|
|
5348
|
+
/** @description Application Error */
|
|
5349
|
+
500: {
|
|
5224
5350
|
headers: {
|
|
5225
5351
|
[name: string]: unknown;
|
|
5226
5352
|
};
|
|
5227
5353
|
content: {
|
|
5228
|
-
"application/json": components["schemas"]["
|
|
5354
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5229
5355
|
};
|
|
5230
5356
|
};
|
|
5231
|
-
|
|
5232
|
-
|
|
5357
|
+
};
|
|
5358
|
+
};
|
|
5359
|
+
logoutUser: {
|
|
5360
|
+
parameters: {
|
|
5361
|
+
query?: never;
|
|
5362
|
+
header: {
|
|
5363
|
+
Authorization: string;
|
|
5364
|
+
/** @description Request trace id for logs */
|
|
5365
|
+
"x-trace-request-id"?: string;
|
|
5366
|
+
/** @description Session trace id for logs */
|
|
5367
|
+
"x-trace-session-id"?: string;
|
|
5368
|
+
/** @description IANA Timezone */
|
|
5369
|
+
"x-timezone"?: string;
|
|
5370
|
+
};
|
|
5371
|
+
path?: never;
|
|
5372
|
+
cookie?: never;
|
|
5373
|
+
};
|
|
5374
|
+
requestBody?: never;
|
|
5375
|
+
responses: {
|
|
5376
|
+
200: {
|
|
5233
5377
|
headers: {
|
|
5234
5378
|
[name: string]: unknown;
|
|
5235
5379
|
};
|
|
5236
|
-
content
|
|
5380
|
+
content: {
|
|
5381
|
+
"application/json": components["schemas"]["LogoutResponseDto"];
|
|
5382
|
+
};
|
|
5237
5383
|
};
|
|
5238
5384
|
/** @description Application Error */
|
|
5239
5385
|
500: {
|
|
@@ -5246,12 +5392,9 @@ export interface operations {
|
|
|
5246
5392
|
};
|
|
5247
5393
|
};
|
|
5248
5394
|
};
|
|
5249
|
-
|
|
5395
|
+
postMyUserReferral: {
|
|
5250
5396
|
parameters: {
|
|
5251
|
-
query?:
|
|
5252
|
-
/** @description Default 2 */
|
|
5253
|
-
hoursAfterGameEndToBeConsideredAsFuture?: number;
|
|
5254
|
-
};
|
|
5397
|
+
query?: never;
|
|
5255
5398
|
header?: {
|
|
5256
5399
|
/** @description Request trace id for logs */
|
|
5257
5400
|
"x-trace-request-id"?: string;
|
|
@@ -5263,6 +5406,45 @@ export interface operations {
|
|
|
5263
5406
|
path?: never;
|
|
5264
5407
|
cookie?: never;
|
|
5265
5408
|
};
|
|
5409
|
+
requestBody: {
|
|
5410
|
+
content: {
|
|
5411
|
+
"application/json": components["schemas"]["PostMyUserReferralDto"];
|
|
5412
|
+
};
|
|
5413
|
+
};
|
|
5414
|
+
responses: {
|
|
5415
|
+
201: {
|
|
5416
|
+
headers: {
|
|
5417
|
+
[name: string]: unknown;
|
|
5418
|
+
};
|
|
5419
|
+
content?: never;
|
|
5420
|
+
};
|
|
5421
|
+
/** @description Application Error */
|
|
5422
|
+
500: {
|
|
5423
|
+
headers: {
|
|
5424
|
+
[name: string]: unknown;
|
|
5425
|
+
};
|
|
5426
|
+
content: {
|
|
5427
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5428
|
+
};
|
|
5429
|
+
};
|
|
5430
|
+
};
|
|
5431
|
+
};
|
|
5432
|
+
getMyUser: {
|
|
5433
|
+
parameters: {
|
|
5434
|
+
query?: never;
|
|
5435
|
+
header: {
|
|
5436
|
+
"x-app-version": string;
|
|
5437
|
+
"x-app-platform": string;
|
|
5438
|
+
/** @description Request trace id for logs */
|
|
5439
|
+
"x-trace-request-id"?: string;
|
|
5440
|
+
/** @description Session trace id for logs */
|
|
5441
|
+
"x-trace-session-id"?: string;
|
|
5442
|
+
/** @description IANA Timezone */
|
|
5443
|
+
"x-timezone"?: string;
|
|
5444
|
+
};
|
|
5445
|
+
path?: never;
|
|
5446
|
+
cookie?: never;
|
|
5447
|
+
};
|
|
5266
5448
|
requestBody?: never;
|
|
5267
5449
|
responses: {
|
|
5268
5450
|
200: {
|
|
@@ -5270,7 +5452,7 @@ export interface operations {
|
|
|
5270
5452
|
[name: string]: unknown;
|
|
5271
5453
|
};
|
|
5272
5454
|
content: {
|
|
5273
|
-
"application/json": components["schemas"]["
|
|
5455
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5274
5456
|
};
|
|
5275
5457
|
};
|
|
5276
5458
|
/** @description Application Error */
|
|
@@ -5284,12 +5466,9 @@ export interface operations {
|
|
|
5284
5466
|
};
|
|
5285
5467
|
};
|
|
5286
5468
|
};
|
|
5287
|
-
|
|
5469
|
+
deleteMyUser: {
|
|
5288
5470
|
parameters: {
|
|
5289
|
-
query?:
|
|
5290
|
-
/** @description Limit the number of games returned */
|
|
5291
|
-
limit?: number;
|
|
5292
|
-
};
|
|
5471
|
+
query?: never;
|
|
5293
5472
|
header?: {
|
|
5294
5473
|
/** @description Request trace id for logs */
|
|
5295
5474
|
"x-trace-request-id"?: string;
|
|
@@ -5307,9 +5486,7 @@ export interface operations {
|
|
|
5307
5486
|
headers: {
|
|
5308
5487
|
[name: string]: unknown;
|
|
5309
5488
|
};
|
|
5310
|
-
content
|
|
5311
|
-
"application/json": components["schemas"]["HostedGameDto"];
|
|
5312
|
-
};
|
|
5489
|
+
content?: never;
|
|
5313
5490
|
};
|
|
5314
5491
|
/** @description Application Error */
|
|
5315
5492
|
500: {
|
|
@@ -5322,7 +5499,7 @@ export interface operations {
|
|
|
5322
5499
|
};
|
|
5323
5500
|
};
|
|
5324
5501
|
};
|
|
5325
|
-
|
|
5502
|
+
updateMyUserPartial: {
|
|
5326
5503
|
parameters: {
|
|
5327
5504
|
query?: never;
|
|
5328
5505
|
header?: {
|
|
@@ -5333,19 +5510,21 @@ export interface operations {
|
|
|
5333
5510
|
/** @description IANA Timezone */
|
|
5334
5511
|
"x-timezone"?: string;
|
|
5335
5512
|
};
|
|
5336
|
-
path
|
|
5337
|
-
gameId: string;
|
|
5338
|
-
};
|
|
5513
|
+
path?: never;
|
|
5339
5514
|
cookie?: never;
|
|
5340
5515
|
};
|
|
5341
|
-
requestBody
|
|
5516
|
+
requestBody: {
|
|
5517
|
+
content: {
|
|
5518
|
+
"application/json": components["schemas"]["UpdatePartialUserDto"];
|
|
5519
|
+
};
|
|
5520
|
+
};
|
|
5342
5521
|
responses: {
|
|
5343
5522
|
200: {
|
|
5344
5523
|
headers: {
|
|
5345
5524
|
[name: string]: unknown;
|
|
5346
5525
|
};
|
|
5347
5526
|
content: {
|
|
5348
|
-
"application/json": components["schemas"]["
|
|
5527
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5349
5528
|
};
|
|
5350
5529
|
};
|
|
5351
5530
|
/** @description Application Error */
|
|
@@ -5359,7 +5538,7 @@ export interface operations {
|
|
|
5359
5538
|
};
|
|
5360
5539
|
};
|
|
5361
5540
|
};
|
|
5362
|
-
|
|
5541
|
+
setMyLanguage: {
|
|
5363
5542
|
parameters: {
|
|
5364
5543
|
query?: never;
|
|
5365
5544
|
header?: {
|
|
@@ -5370,33 +5549,35 @@ export interface operations {
|
|
|
5370
5549
|
/** @description IANA Timezone */
|
|
5371
5550
|
"x-timezone"?: string;
|
|
5372
5551
|
};
|
|
5373
|
-
path
|
|
5374
|
-
userId: string;
|
|
5375
|
-
};
|
|
5552
|
+
path?: never;
|
|
5376
5553
|
cookie?: never;
|
|
5377
5554
|
};
|
|
5378
|
-
requestBody
|
|
5555
|
+
requestBody: {
|
|
5556
|
+
content: {
|
|
5557
|
+
"application/json": components["schemas"]["SetLanguageDto"];
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5379
5560
|
responses: {
|
|
5380
|
-
|
|
5381
|
-
500: {
|
|
5561
|
+
200: {
|
|
5382
5562
|
headers: {
|
|
5383
5563
|
[name: string]: unknown;
|
|
5384
5564
|
};
|
|
5385
5565
|
content: {
|
|
5386
|
-
"application/json": components["schemas"]["
|
|
5566
|
+
"application/json": components["schemas"]["MyUserDto"];
|
|
5387
5567
|
};
|
|
5388
5568
|
};
|
|
5389
|
-
|
|
5569
|
+
/** @description Application Error */
|
|
5570
|
+
500: {
|
|
5390
5571
|
headers: {
|
|
5391
5572
|
[name: string]: unknown;
|
|
5392
5573
|
};
|
|
5393
5574
|
content: {
|
|
5394
|
-
"application/json": components["schemas"]["
|
|
5575
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5395
5576
|
};
|
|
5396
5577
|
};
|
|
5397
5578
|
};
|
|
5398
5579
|
};
|
|
5399
|
-
|
|
5580
|
+
getMyUserStats: {
|
|
5400
5581
|
parameters: {
|
|
5401
5582
|
query?: never;
|
|
5402
5583
|
header?: {
|
|
@@ -5407,22 +5588,18 @@ export interface operations {
|
|
|
5407
5588
|
/** @description IANA Timezone */
|
|
5408
5589
|
"x-timezone"?: string;
|
|
5409
5590
|
};
|
|
5410
|
-
path
|
|
5411
|
-
userId: string;
|
|
5412
|
-
};
|
|
5591
|
+
path?: never;
|
|
5413
5592
|
cookie?: never;
|
|
5414
5593
|
};
|
|
5415
|
-
requestBody
|
|
5416
|
-
content: {
|
|
5417
|
-
"application/json": components["schemas"]["CreateUserPenaltyDto"];
|
|
5418
|
-
};
|
|
5419
|
-
};
|
|
5594
|
+
requestBody?: never;
|
|
5420
5595
|
responses: {
|
|
5421
|
-
|
|
5596
|
+
200: {
|
|
5422
5597
|
headers: {
|
|
5423
5598
|
[name: string]: unknown;
|
|
5424
5599
|
};
|
|
5425
|
-
content
|
|
5600
|
+
content: {
|
|
5601
|
+
"application/json": components["schemas"]["UserStatsDto"];
|
|
5602
|
+
};
|
|
5426
5603
|
};
|
|
5427
5604
|
/** @description Application Error */
|
|
5428
5605
|
500: {
|
|
@@ -5435,7 +5612,7 @@ export interface operations {
|
|
|
5435
5612
|
};
|
|
5436
5613
|
};
|
|
5437
5614
|
};
|
|
5438
|
-
|
|
5615
|
+
upsertUserMetaPushNotificationEnabledValue: {
|
|
5439
5616
|
parameters: {
|
|
5440
5617
|
query?: never;
|
|
5441
5618
|
header?: {
|
|
@@ -5446,28 +5623,28 @@ export interface operations {
|
|
|
5446
5623
|
/** @description IANA Timezone */
|
|
5447
5624
|
"x-timezone"?: string;
|
|
5448
5625
|
};
|
|
5449
|
-
path
|
|
5450
|
-
userPenaltyId: string;
|
|
5451
|
-
};
|
|
5626
|
+
path?: never;
|
|
5452
5627
|
cookie?: never;
|
|
5453
5628
|
};
|
|
5454
|
-
requestBody
|
|
5629
|
+
requestBody: {
|
|
5630
|
+
content: {
|
|
5631
|
+
"application/json": components["schemas"]["UpsertUserMetaBooleanDto"];
|
|
5632
|
+
};
|
|
5633
|
+
};
|
|
5455
5634
|
responses: {
|
|
5456
|
-
|
|
5457
|
-
500: {
|
|
5635
|
+
200: {
|
|
5458
5636
|
headers: {
|
|
5459
5637
|
[name: string]: unknown;
|
|
5460
5638
|
};
|
|
5461
|
-
content
|
|
5462
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5463
|
-
};
|
|
5639
|
+
content?: never;
|
|
5464
5640
|
};
|
|
5465
|
-
|
|
5641
|
+
/** @description Application Error */
|
|
5642
|
+
500: {
|
|
5466
5643
|
headers: {
|
|
5467
5644
|
[name: string]: unknown;
|
|
5468
5645
|
};
|
|
5469
5646
|
content: {
|
|
5470
|
-
"application/json": components["schemas"]["
|
|
5647
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5471
5648
|
};
|
|
5472
5649
|
};
|
|
5473
5650
|
};
|
|
@@ -8032,162 +8209,6 @@ export interface operations {
|
|
|
8032
8209
|
};
|
|
8033
8210
|
};
|
|
8034
8211
|
};
|
|
8035
|
-
generateInviteToken: {
|
|
8036
|
-
parameters: {
|
|
8037
|
-
query?: never;
|
|
8038
|
-
header?: {
|
|
8039
|
-
/** @description Request trace id for logs */
|
|
8040
|
-
"x-trace-request-id"?: string;
|
|
8041
|
-
/** @description Session trace id for logs */
|
|
8042
|
-
"x-trace-session-id"?: string;
|
|
8043
|
-
/** @description IANA Timezone */
|
|
8044
|
-
"x-timezone"?: string;
|
|
8045
|
-
};
|
|
8046
|
-
path: {
|
|
8047
|
-
gameId: string;
|
|
8048
|
-
};
|
|
8049
|
-
cookie?: never;
|
|
8050
|
-
};
|
|
8051
|
-
requestBody?: never;
|
|
8052
|
-
responses: {
|
|
8053
|
-
200: {
|
|
8054
|
-
headers: {
|
|
8055
|
-
[name: string]: unknown;
|
|
8056
|
-
};
|
|
8057
|
-
content: {
|
|
8058
|
-
"application/json": components["schemas"]["GenerateInviteTokenResponseDto"];
|
|
8059
|
-
};
|
|
8060
|
-
};
|
|
8061
|
-
/** @description GameAlreadyPending, GameModeratorLimitReached */
|
|
8062
|
-
400: {
|
|
8063
|
-
headers: {
|
|
8064
|
-
[name: string]: unknown;
|
|
8065
|
-
};
|
|
8066
|
-
content?: never;
|
|
8067
|
-
};
|
|
8068
|
-
/** @description Application Error */
|
|
8069
|
-
500: {
|
|
8070
|
-
headers: {
|
|
8071
|
-
[name: string]: unknown;
|
|
8072
|
-
};
|
|
8073
|
-
content: {
|
|
8074
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
8075
|
-
};
|
|
8076
|
-
};
|
|
8077
|
-
};
|
|
8078
|
-
};
|
|
8079
|
-
acceptInvite: {
|
|
8080
|
-
parameters: {
|
|
8081
|
-
query?: never;
|
|
8082
|
-
header?: {
|
|
8083
|
-
/** @description Request trace id for logs */
|
|
8084
|
-
"x-trace-request-id"?: string;
|
|
8085
|
-
/** @description Session trace id for logs */
|
|
8086
|
-
"x-trace-session-id"?: string;
|
|
8087
|
-
/** @description IANA Timezone */
|
|
8088
|
-
"x-timezone"?: string;
|
|
8089
|
-
};
|
|
8090
|
-
path: {
|
|
8091
|
-
token: string;
|
|
8092
|
-
};
|
|
8093
|
-
cookie?: never;
|
|
8094
|
-
};
|
|
8095
|
-
requestBody?: never;
|
|
8096
|
-
responses: {
|
|
8097
|
-
/** @description GameModeratorInviteTokenInvalid, GameModeratorLimitReached */
|
|
8098
|
-
400: {
|
|
8099
|
-
headers: {
|
|
8100
|
-
[name: string]: unknown;
|
|
8101
|
-
};
|
|
8102
|
-
content?: never;
|
|
8103
|
-
};
|
|
8104
|
-
/** @description Application Error */
|
|
8105
|
-
500: {
|
|
8106
|
-
headers: {
|
|
8107
|
-
[name: string]: unknown;
|
|
8108
|
-
};
|
|
8109
|
-
content: {
|
|
8110
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
8111
|
-
};
|
|
8112
|
-
};
|
|
8113
|
-
};
|
|
8114
|
-
};
|
|
8115
|
-
removeModerator: {
|
|
8116
|
-
parameters: {
|
|
8117
|
-
query?: never;
|
|
8118
|
-
header?: {
|
|
8119
|
-
/** @description Request trace id for logs */
|
|
8120
|
-
"x-trace-request-id"?: string;
|
|
8121
|
-
/** @description Session trace id for logs */
|
|
8122
|
-
"x-trace-session-id"?: string;
|
|
8123
|
-
/** @description IANA Timezone */
|
|
8124
|
-
"x-timezone"?: string;
|
|
8125
|
-
};
|
|
8126
|
-
path: {
|
|
8127
|
-
gameId: string;
|
|
8128
|
-
userId: string;
|
|
8129
|
-
};
|
|
8130
|
-
cookie?: never;
|
|
8131
|
-
};
|
|
8132
|
-
requestBody?: never;
|
|
8133
|
-
responses: {
|
|
8134
|
-
200: {
|
|
8135
|
-
headers: {
|
|
8136
|
-
[name: string]: unknown;
|
|
8137
|
-
};
|
|
8138
|
-
content?: never;
|
|
8139
|
-
};
|
|
8140
|
-
/** @description Application Error */
|
|
8141
|
-
500: {
|
|
8142
|
-
headers: {
|
|
8143
|
-
[name: string]: unknown;
|
|
8144
|
-
};
|
|
8145
|
-
content: {
|
|
8146
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
8147
|
-
};
|
|
8148
|
-
};
|
|
8149
|
-
};
|
|
8150
|
-
};
|
|
8151
|
-
updateModerator: {
|
|
8152
|
-
parameters: {
|
|
8153
|
-
query?: never;
|
|
8154
|
-
header?: {
|
|
8155
|
-
/** @description Request trace id for logs */
|
|
8156
|
-
"x-trace-request-id"?: string;
|
|
8157
|
-
/** @description Session trace id for logs */
|
|
8158
|
-
"x-trace-session-id"?: string;
|
|
8159
|
-
/** @description IANA Timezone */
|
|
8160
|
-
"x-timezone"?: string;
|
|
8161
|
-
};
|
|
8162
|
-
path: {
|
|
8163
|
-
gameId: string;
|
|
8164
|
-
userId: string;
|
|
8165
|
-
};
|
|
8166
|
-
cookie?: never;
|
|
8167
|
-
};
|
|
8168
|
-
requestBody: {
|
|
8169
|
-
content: {
|
|
8170
|
-
"application/json": components["schemas"]["UpdateModeratorDto"];
|
|
8171
|
-
};
|
|
8172
|
-
};
|
|
8173
|
-
responses: {
|
|
8174
|
-
200: {
|
|
8175
|
-
headers: {
|
|
8176
|
-
[name: string]: unknown;
|
|
8177
|
-
};
|
|
8178
|
-
content?: never;
|
|
8179
|
-
};
|
|
8180
|
-
/** @description Application Error */
|
|
8181
|
-
500: {
|
|
8182
|
-
headers: {
|
|
8183
|
-
[name: string]: unknown;
|
|
8184
|
-
};
|
|
8185
|
-
content: {
|
|
8186
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
8187
|
-
};
|
|
8188
|
-
};
|
|
8189
|
-
};
|
|
8190
|
-
};
|
|
8191
8212
|
triggerInactiveUsersNotification: {
|
|
8192
8213
|
parameters: {
|
|
8193
8214
|
query: {
|
|
@@ -8496,6 +8517,7 @@ export declare enum UserParticipationStatus {
|
|
|
8496
8517
|
Approved = "Approved",
|
|
8497
8518
|
Invited = "Invited",
|
|
8498
8519
|
Host = "Host",
|
|
8520
|
+
Moderator = "Moderator",
|
|
8499
8521
|
Empty = "Empty"
|
|
8500
8522
|
}
|
|
8501
8523
|
export declare enum AppPreferredPlayerPosition {
|
|
@@ -8518,6 +8540,18 @@ export declare enum GameLevelEnum {
|
|
|
8518
8540
|
PROFESSIONAL = "PROFESSIONAL",
|
|
8519
8541
|
MIXED = "MIXED"
|
|
8520
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
|
+
}
|
|
8521
8555
|
export declare enum Weekday {
|
|
8522
8556
|
SUNDAY = "SUNDAY",
|
|
8523
8557
|
MONDAY = "MONDAY",
|
|
@@ -8543,18 +8577,6 @@ export declare enum AppGameLevel {
|
|
|
8543
8577
|
PROFESSIONAL = "PROFESSIONAL",
|
|
8544
8578
|
MIXED = "MIXED"
|
|
8545
8579
|
}
|
|
8546
|
-
export declare enum PenaltyType {
|
|
8547
|
-
YELLOW = "YELLOW",
|
|
8548
|
-
RED = "RED"
|
|
8549
|
-
}
|
|
8550
|
-
export declare enum PenaltyReason {
|
|
8551
|
-
ABSENCE = "ABSENCE",
|
|
8552
|
-
LEAVING_30_MIN = "LEAVING_30_MIN",
|
|
8553
|
-
LATE_15_MIN = "LATE_15_MIN",
|
|
8554
|
-
MISMATCHED_LEVEL = "MISMATCHED_LEVEL",
|
|
8555
|
-
UNSPORTSMANLIKE_BEHAVIOR = "UNSPORTSMANLIKE_BEHAVIOR",
|
|
8556
|
-
NOT_PAID = "NOT_PAID"
|
|
8557
|
-
}
|
|
8558
8580
|
export declare enum NotificationType {
|
|
8559
8581
|
test = "test",
|
|
8560
8582
|
game_application_approved = "game-application-approved",
|
|
@@ -8747,6 +8769,20 @@ export declare enum ApiPaths {
|
|
|
8747
8769
|
markGamePlayerAsNotPaid = "/hosted-games/{hostedGameId}/players/{gamePlayerId}/mark-as-not-paid",
|
|
8748
8770
|
getLineupsByGameId = "/game-lineups/{gameId}",
|
|
8749
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}",
|
|
8750
8786
|
emitGameAlerts = "/nearby-games-alerts/trigger-scheduled-alert-for-game",
|
|
8751
8787
|
upsertUserNearbyGamesAlert = "/nearby-games/alerts",
|
|
8752
8788
|
getUserNearbyGamesAlert = "/nearby-games/alerts",
|
|
@@ -8760,16 +8796,6 @@ export declare enum ApiPaths {
|
|
|
8760
8796
|
setMyLanguage = "/users/me/language",
|
|
8761
8797
|
getMyUserStats = "/users/me/stats",
|
|
8762
8798
|
upsertUserMetaPushNotificationEnabledValue = "/user-meta/push-notification-enabled",
|
|
8763
|
-
createHostedGame = "/hosted-games",
|
|
8764
|
-
updateHostedGame = "/hosted-games/{hostedGameId}",
|
|
8765
|
-
cancelHostedGame = "/hosted-games/{hostedGameId}",
|
|
8766
|
-
getHostedGame = "/hosted-games/{hostedGameId}",
|
|
8767
|
-
getUserHostedGamesFuture = "/hosted-games/future",
|
|
8768
|
-
getUserHostedGamesPast = "/hosted-games/past",
|
|
8769
|
-
getFbGroupsByGameId = "/game/{gameId}/fb-groups",
|
|
8770
|
-
getUserPenalties = "/user/{userId}/penalty",
|
|
8771
|
-
createPenalty = "/user/{userId}/penalty",
|
|
8772
|
-
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8773
8799
|
getMyGames = "/my-games",
|
|
8774
8800
|
getAllForCurrentUser = "/user-notifications",
|
|
8775
8801
|
markAsRead = "/user-notifications",
|
|
@@ -8842,10 +8868,6 @@ export declare enum ApiPaths {
|
|
|
8842
8868
|
checkAuthMethod = "/auth/check-auth-method",
|
|
8843
8869
|
generateReassignToken = "/hosted-games/{hostedGameId}/reassign/create-reassign-token",
|
|
8844
8870
|
reassignGameByToken = "/hosted-games/{hostedGameId}/reassign/{reassignToken}",
|
|
8845
|
-
generateInviteToken = "/games/{gameId}/moderator-invite",
|
|
8846
|
-
acceptInvite = "/games/moderator-invite/{token}/accept",
|
|
8847
|
-
removeModerator = "/games/{gameId}/moderators/{userId}",
|
|
8848
|
-
updateModerator = "/games/{gameId}/moderators/{userId}",
|
|
8849
8871
|
triggerInactiveUsersNotification = "/action-push/inactive-users-since-registered-notification",
|
|
8850
8872
|
triggerInactiveWithoutGameApplications = "/action-push/inactive-users-notification",
|
|
8851
8873
|
collect = "/kpi-snapshots/collect",
|