@orlikfy/api-interfaces 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +766 -229
- package/dist/api.js +14 -8
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -35,6 +35,39 @@ export interface paths {
|
|
|
35
35
|
patch?: never;
|
|
36
36
|
trace?: never;
|
|
37
37
|
};
|
|
38
|
+
"/error-uncaught": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
get: operations["getErrorUncaught"];
|
|
46
|
+
put?: never;
|
|
47
|
+
post?: never;
|
|
48
|
+
delete?: never;
|
|
49
|
+
options?: never;
|
|
50
|
+
head?: never;
|
|
51
|
+
patch?: never;
|
|
52
|
+
trace?: never;
|
|
53
|
+
};
|
|
54
|
+
"/users/user-registered-cloud-fn-callback": {
|
|
55
|
+
parameters: {
|
|
56
|
+
query?: never;
|
|
57
|
+
header?: never;
|
|
58
|
+
path?: never;
|
|
59
|
+
cookie?: never;
|
|
60
|
+
};
|
|
61
|
+
get?: never;
|
|
62
|
+
put?: never;
|
|
63
|
+
/** postUserRegistration */
|
|
64
|
+
post: operations["postUserRegistration"];
|
|
65
|
+
delete?: never;
|
|
66
|
+
options?: never;
|
|
67
|
+
head?: never;
|
|
68
|
+
patch?: never;
|
|
69
|
+
trace?: never;
|
|
70
|
+
};
|
|
38
71
|
"/games/{gameId}": {
|
|
39
72
|
parameters: {
|
|
40
73
|
query?: never;
|
|
@@ -54,6 +87,27 @@ export interface paths {
|
|
|
54
87
|
patch?: never;
|
|
55
88
|
trace?: never;
|
|
56
89
|
};
|
|
90
|
+
"/nearby-games": {
|
|
91
|
+
parameters: {
|
|
92
|
+
query?: never;
|
|
93
|
+
header?: never;
|
|
94
|
+
path?: never;
|
|
95
|
+
cookie?: never;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* getNearbyGamesByLocation
|
|
99
|
+
* @deprecated
|
|
100
|
+
* @description Use /location instead
|
|
101
|
+
*/
|
|
102
|
+
get: operations["getNearbyGamesDeprecated"];
|
|
103
|
+
put?: never;
|
|
104
|
+
post?: never;
|
|
105
|
+
delete?: never;
|
|
106
|
+
options?: never;
|
|
107
|
+
head?: never;
|
|
108
|
+
patch?: never;
|
|
109
|
+
trace?: never;
|
|
110
|
+
};
|
|
57
111
|
"/nearby-games/locations": {
|
|
58
112
|
parameters: {
|
|
59
113
|
query?: never;
|
|
@@ -378,6 +432,23 @@ export interface paths {
|
|
|
378
432
|
patch: operations["updateNearbyGamesAlertEnabled"];
|
|
379
433
|
trace?: never;
|
|
380
434
|
};
|
|
435
|
+
"/users/logout": {
|
|
436
|
+
parameters: {
|
|
437
|
+
query?: never;
|
|
438
|
+
header?: never;
|
|
439
|
+
path?: never;
|
|
440
|
+
cookie?: never;
|
|
441
|
+
};
|
|
442
|
+
get?: never;
|
|
443
|
+
put?: never;
|
|
444
|
+
/** logoutUser */
|
|
445
|
+
post: operations["logoutUser"];
|
|
446
|
+
delete?: never;
|
|
447
|
+
options?: never;
|
|
448
|
+
head?: never;
|
|
449
|
+
patch?: never;
|
|
450
|
+
trace?: never;
|
|
451
|
+
};
|
|
381
452
|
"/users/referral": {
|
|
382
453
|
parameters: {
|
|
383
454
|
query?: never;
|
|
@@ -431,6 +502,23 @@ export interface paths {
|
|
|
431
502
|
patch: operations["setMyLanguage"];
|
|
432
503
|
trace?: never;
|
|
433
504
|
};
|
|
505
|
+
"/users/me/stats": {
|
|
506
|
+
parameters: {
|
|
507
|
+
query?: never;
|
|
508
|
+
header?: never;
|
|
509
|
+
path?: never;
|
|
510
|
+
cookie?: never;
|
|
511
|
+
};
|
|
512
|
+
/** getMyUserStats */
|
|
513
|
+
get: operations["getMyUserStats"];
|
|
514
|
+
put?: never;
|
|
515
|
+
post?: never;
|
|
516
|
+
delete?: never;
|
|
517
|
+
options?: never;
|
|
518
|
+
head?: never;
|
|
519
|
+
patch?: never;
|
|
520
|
+
trace?: never;
|
|
521
|
+
};
|
|
434
522
|
"/user-meta/push-notification-enabled": {
|
|
435
523
|
parameters: {
|
|
436
524
|
query?: never;
|
|
@@ -637,23 +725,6 @@ export interface paths {
|
|
|
637
725
|
patch?: never;
|
|
638
726
|
trace?: never;
|
|
639
727
|
};
|
|
640
|
-
"/short-link": {
|
|
641
|
-
parameters: {
|
|
642
|
-
query?: never;
|
|
643
|
-
header?: never;
|
|
644
|
-
path?: never;
|
|
645
|
-
cookie?: never;
|
|
646
|
-
};
|
|
647
|
-
get?: never;
|
|
648
|
-
put?: never;
|
|
649
|
-
/** createShortLink */
|
|
650
|
-
post: operations["createShortLink"];
|
|
651
|
-
delete?: never;
|
|
652
|
-
options?: never;
|
|
653
|
-
head?: never;
|
|
654
|
-
patch?: never;
|
|
655
|
-
trace?: never;
|
|
656
|
-
};
|
|
657
728
|
"/recurring-games": {
|
|
658
729
|
parameters: {
|
|
659
730
|
query?: never;
|
|
@@ -772,6 +843,26 @@ export interface paths {
|
|
|
772
843
|
patch?: never;
|
|
773
844
|
trace?: never;
|
|
774
845
|
};
|
|
846
|
+
"/admin/restore-recurring-game": {
|
|
847
|
+
parameters: {
|
|
848
|
+
query?: never;
|
|
849
|
+
header?: never;
|
|
850
|
+
path?: never;
|
|
851
|
+
cookie?: never;
|
|
852
|
+
};
|
|
853
|
+
get?: never;
|
|
854
|
+
put?: never;
|
|
855
|
+
/**
|
|
856
|
+
* Restore abandoned recurring game
|
|
857
|
+
* @description Creates a new scheduled task to restore an abandoned recurring game by scheduling the next occurrence
|
|
858
|
+
*/
|
|
859
|
+
post: operations["restoreRecurringGame"];
|
|
860
|
+
delete?: never;
|
|
861
|
+
options?: never;
|
|
862
|
+
head?: never;
|
|
863
|
+
patch?: never;
|
|
864
|
+
trace?: never;
|
|
865
|
+
};
|
|
775
866
|
"/admin/adhoc/remove-old-game-chats": {
|
|
776
867
|
parameters: {
|
|
777
868
|
query?: never;
|
|
@@ -840,6 +931,61 @@ export interface paths {
|
|
|
840
931
|
patch?: never;
|
|
841
932
|
trace?: never;
|
|
842
933
|
};
|
|
934
|
+
"/admin/games-for-post-public": {
|
|
935
|
+
parameters: {
|
|
936
|
+
query?: never;
|
|
937
|
+
header?: never;
|
|
938
|
+
path?: never;
|
|
939
|
+
cookie?: never;
|
|
940
|
+
};
|
|
941
|
+
/** getGamesForPostPublic */
|
|
942
|
+
get: operations["getGamesForPostPublic"];
|
|
943
|
+
put?: never;
|
|
944
|
+
post?: never;
|
|
945
|
+
delete?: never;
|
|
946
|
+
options?: never;
|
|
947
|
+
head?: never;
|
|
948
|
+
patch?: never;
|
|
949
|
+
trace?: never;
|
|
950
|
+
};
|
|
951
|
+
"/admin/moderation/game/{gameId}": {
|
|
952
|
+
parameters: {
|
|
953
|
+
query?: never;
|
|
954
|
+
header?: never;
|
|
955
|
+
path: {
|
|
956
|
+
gameId: string;
|
|
957
|
+
};
|
|
958
|
+
cookie?: never;
|
|
959
|
+
};
|
|
960
|
+
get?: never;
|
|
961
|
+
put?: never;
|
|
962
|
+
post?: never;
|
|
963
|
+
/** cancelGameByAdmin */
|
|
964
|
+
delete: operations["cancelGameByAdmin"];
|
|
965
|
+
options?: never;
|
|
966
|
+
head?: never;
|
|
967
|
+
patch?: never;
|
|
968
|
+
trace?: never;
|
|
969
|
+
};
|
|
970
|
+
"/admin/moderation/user/{userId}": {
|
|
971
|
+
parameters: {
|
|
972
|
+
query?: never;
|
|
973
|
+
header?: never;
|
|
974
|
+
path: {
|
|
975
|
+
userId: string;
|
|
976
|
+
};
|
|
977
|
+
cookie?: never;
|
|
978
|
+
};
|
|
979
|
+
get?: never;
|
|
980
|
+
put?: never;
|
|
981
|
+
post?: never;
|
|
982
|
+
/** deleteUserByAdmin */
|
|
983
|
+
delete: operations["deleteUserByAdmin"];
|
|
984
|
+
options?: never;
|
|
985
|
+
head?: never;
|
|
986
|
+
patch?: never;
|
|
987
|
+
trace?: never;
|
|
988
|
+
};
|
|
843
989
|
"/admin/test-notifications/action-push": {
|
|
844
990
|
parameters: {
|
|
845
991
|
query?: never;
|
|
@@ -890,6 +1036,26 @@ export interface paths {
|
|
|
890
1036
|
delete?: never;
|
|
891
1037
|
options?: never;
|
|
892
1038
|
head?: never;
|
|
1039
|
+
/** updateChannelDetails */
|
|
1040
|
+
patch: operations["updateChannelDetails"];
|
|
1041
|
+
trace?: never;
|
|
1042
|
+
};
|
|
1043
|
+
"/chat/channel/{channelId}/members": {
|
|
1044
|
+
parameters: {
|
|
1045
|
+
query?: never;
|
|
1046
|
+
header?: never;
|
|
1047
|
+
path: {
|
|
1048
|
+
channelId: string;
|
|
1049
|
+
};
|
|
1050
|
+
cookie?: never;
|
|
1051
|
+
};
|
|
1052
|
+
/** getChannelMembers */
|
|
1053
|
+
get: operations["getChannelMembers"];
|
|
1054
|
+
put?: never;
|
|
1055
|
+
post?: never;
|
|
1056
|
+
delete?: never;
|
|
1057
|
+
options?: never;
|
|
1058
|
+
head?: never;
|
|
893
1059
|
patch?: never;
|
|
894
1060
|
trace?: never;
|
|
895
1061
|
};
|
|
@@ -980,40 +1146,6 @@ export interface paths {
|
|
|
980
1146
|
patch?: never;
|
|
981
1147
|
trace?: never;
|
|
982
1148
|
};
|
|
983
|
-
"/game-notifications/scheduled-notification": {
|
|
984
|
-
parameters: {
|
|
985
|
-
query?: never;
|
|
986
|
-
header?: never;
|
|
987
|
-
path?: never;
|
|
988
|
-
cookie?: never;
|
|
989
|
-
};
|
|
990
|
-
get?: never;
|
|
991
|
-
put?: never;
|
|
992
|
-
/** process scheduled notification */
|
|
993
|
-
post: operations["processScheduledNotification"];
|
|
994
|
-
delete?: never;
|
|
995
|
-
options?: never;
|
|
996
|
-
head?: never;
|
|
997
|
-
patch?: never;
|
|
998
|
-
trace?: never;
|
|
999
|
-
};
|
|
1000
|
-
"/rating/app": {
|
|
1001
|
-
parameters: {
|
|
1002
|
-
query?: never;
|
|
1003
|
-
header?: never;
|
|
1004
|
-
path?: never;
|
|
1005
|
-
cookie?: never;
|
|
1006
|
-
};
|
|
1007
|
-
get?: never;
|
|
1008
|
-
put?: never;
|
|
1009
|
-
/** create app rating by user */
|
|
1010
|
-
post: operations["createRating"];
|
|
1011
|
-
delete?: never;
|
|
1012
|
-
options?: never;
|
|
1013
|
-
head?: never;
|
|
1014
|
-
patch?: never;
|
|
1015
|
-
trace?: never;
|
|
1016
|
-
};
|
|
1017
1149
|
"/games/{gameId}/player-applications": {
|
|
1018
1150
|
parameters: {
|
|
1019
1151
|
query?: never;
|
|
@@ -1204,6 +1336,40 @@ export interface paths {
|
|
|
1204
1336
|
patch?: never;
|
|
1205
1337
|
trace?: never;
|
|
1206
1338
|
};
|
|
1339
|
+
"/game-notifications/scheduled-notification": {
|
|
1340
|
+
parameters: {
|
|
1341
|
+
query?: never;
|
|
1342
|
+
header?: never;
|
|
1343
|
+
path?: never;
|
|
1344
|
+
cookie?: never;
|
|
1345
|
+
};
|
|
1346
|
+
get?: never;
|
|
1347
|
+
put?: never;
|
|
1348
|
+
/** process scheduled notification */
|
|
1349
|
+
post: operations["processScheduledNotification"];
|
|
1350
|
+
delete?: never;
|
|
1351
|
+
options?: never;
|
|
1352
|
+
head?: never;
|
|
1353
|
+
patch?: never;
|
|
1354
|
+
trace?: never;
|
|
1355
|
+
};
|
|
1356
|
+
"/rating/app": {
|
|
1357
|
+
parameters: {
|
|
1358
|
+
query?: never;
|
|
1359
|
+
header?: never;
|
|
1360
|
+
path?: never;
|
|
1361
|
+
cookie?: never;
|
|
1362
|
+
};
|
|
1363
|
+
get?: never;
|
|
1364
|
+
put?: never;
|
|
1365
|
+
/** create app rating by user */
|
|
1366
|
+
post: operations["createRating"];
|
|
1367
|
+
delete?: never;
|
|
1368
|
+
options?: never;
|
|
1369
|
+
head?: never;
|
|
1370
|
+
patch?: never;
|
|
1371
|
+
trace?: never;
|
|
1372
|
+
};
|
|
1207
1373
|
"/contact/message": {
|
|
1208
1374
|
parameters: {
|
|
1209
1375
|
query?: never;
|
|
@@ -1525,12 +1691,12 @@ export interface components {
|
|
|
1525
1691
|
KnownException: KnownException;
|
|
1526
1692
|
MessageForClient: {
|
|
1527
1693
|
/**
|
|
1528
|
-
* @description A title of the error message in
|
|
1694
|
+
* @description A title of the error message in the user's language.
|
|
1529
1695
|
* @example Coś poszło nie tak
|
|
1530
1696
|
*/
|
|
1531
1697
|
title: string;
|
|
1532
1698
|
/**
|
|
1533
|
-
* @description Message for the client in
|
|
1699
|
+
* @description Message for the client in the user's language
|
|
1534
1700
|
* @example Podane dane sa nieprawidłowe. Spróbuj ponownie.
|
|
1535
1701
|
*/
|
|
1536
1702
|
message: string;
|
|
@@ -1545,6 +1711,13 @@ export interface components {
|
|
|
1545
1711
|
context: string;
|
|
1546
1712
|
contextDetails: string;
|
|
1547
1713
|
};
|
|
1714
|
+
UserRegisteredPayloadDto: {
|
|
1715
|
+
uid: string;
|
|
1716
|
+
email?: string;
|
|
1717
|
+
displayName?: string;
|
|
1718
|
+
phoneNumber?: string;
|
|
1719
|
+
photoURL?: string;
|
|
1720
|
+
};
|
|
1548
1721
|
/** @enum {string} */
|
|
1549
1722
|
visibility: Visibility;
|
|
1550
1723
|
HostRatingDto: {
|
|
@@ -1632,11 +1805,6 @@ export interface components {
|
|
|
1632
1805
|
gameContactPhone?: string;
|
|
1633
1806
|
gamePlayers: components["schemas"]["GamePlayerDto"][];
|
|
1634
1807
|
playerApplications: components["schemas"]["GamePlayerApplicationDto"][];
|
|
1635
|
-
/**
|
|
1636
|
-
* @deprecated
|
|
1637
|
-
* @description Use playerApplications instead
|
|
1638
|
-
*/
|
|
1639
|
-
playersApplication: components["schemas"]["GamePlayerApplicationDto"][];
|
|
1640
1808
|
locationType: components["schemas"]["AppGameLocationType"];
|
|
1641
1809
|
/** Format: date-time */
|
|
1642
1810
|
cancelledAt: string | null;
|
|
@@ -1869,6 +2037,12 @@ export interface components {
|
|
|
1869
2037
|
UpdateNearbyGamesEnabledDto: {
|
|
1870
2038
|
isEnabled: boolean;
|
|
1871
2039
|
};
|
|
2040
|
+
LogoutResponseDto: {
|
|
2041
|
+
/** @description Logout success status */
|
|
2042
|
+
success: boolean;
|
|
2043
|
+
/** @description Logout message */
|
|
2044
|
+
message: string;
|
|
2045
|
+
};
|
|
1872
2046
|
PostMyUserReferralDto: {
|
|
1873
2047
|
/** @description Referral user id */
|
|
1874
2048
|
referralId: string | null;
|
|
@@ -1915,6 +2089,11 @@ export interface components {
|
|
|
1915
2089
|
SetLanguageDto: {
|
|
1916
2090
|
language: components["schemas"]["AppLanguage"];
|
|
1917
2091
|
};
|
|
2092
|
+
UserStatsDto: {
|
|
2093
|
+
userId: string;
|
|
2094
|
+
playedGames: number;
|
|
2095
|
+
hostedGames: number;
|
|
2096
|
+
};
|
|
1918
2097
|
UpsertUserMetaBooleanDto: {
|
|
1919
2098
|
value: boolean;
|
|
1920
2099
|
};
|
|
@@ -2613,54 +2792,6 @@ export interface components {
|
|
|
2613
2792
|
gameDateEnd: string;
|
|
2614
2793
|
pendingPlayerApplicationsCount: number;
|
|
2615
2794
|
};
|
|
2616
|
-
AndroidInfo: {
|
|
2617
|
-
/** @description The Android package name */
|
|
2618
|
-
androidPackageName: string;
|
|
2619
|
-
/** @description The fallback link for Android */
|
|
2620
|
-
androidFallbackLink: string;
|
|
2621
|
-
};
|
|
2622
|
-
SocialMetaTagInfo: {
|
|
2623
|
-
/** @description The social title */
|
|
2624
|
-
socialTitle: string;
|
|
2625
|
-
/** @description The social description */
|
|
2626
|
-
socialDescription: string;
|
|
2627
|
-
/** @description The social image link */
|
|
2628
|
-
socialImageLink: string;
|
|
2629
|
-
};
|
|
2630
|
-
DynamicLinkInfo: {
|
|
2631
|
-
/** @description The domain URI prefix */
|
|
2632
|
-
domainUriPrefix: string;
|
|
2633
|
-
/** @description The link */
|
|
2634
|
-
link: string;
|
|
2635
|
-
/** @description Android specific information */
|
|
2636
|
-
androidInfo: components["schemas"]["AndroidInfo"];
|
|
2637
|
-
/** @description The social meta tag information */
|
|
2638
|
-
socialMetaTagInfo: components["schemas"]["SocialMetaTagInfo"];
|
|
2639
|
-
};
|
|
2640
|
-
/**
|
|
2641
|
-
* @description The option for the link suffix
|
|
2642
|
-
* @enum {string}
|
|
2643
|
-
*/
|
|
2644
|
-
LinkSuffixOption: LinkSuffixOption;
|
|
2645
|
-
Suffix: {
|
|
2646
|
-
/** @description The option for the link suffix */
|
|
2647
|
-
option: components["schemas"]["LinkSuffixOption"];
|
|
2648
|
-
};
|
|
2649
|
-
Payload: {
|
|
2650
|
-
/** @description Information about the dynamic link */
|
|
2651
|
-
dynamicLinkInfo: components["schemas"]["DynamicLinkInfo"];
|
|
2652
|
-
/** @description Suffix information */
|
|
2653
|
-
suffix: components["schemas"]["Suffix"];
|
|
2654
|
-
};
|
|
2655
|
-
CreateShortLinkDto: {
|
|
2656
|
-
/** @description The payload containing link information */
|
|
2657
|
-
payload: components["schemas"]["Payload"];
|
|
2658
|
-
/** @description The API key */
|
|
2659
|
-
apiKey: string;
|
|
2660
|
-
};
|
|
2661
|
-
ShortLinkDto: {
|
|
2662
|
-
shortLink: string;
|
|
2663
|
-
};
|
|
2664
2795
|
/** @enum {string} */
|
|
2665
2796
|
userRoleEnum: UserRoleEnum;
|
|
2666
2797
|
AdminUserStatsDto: {
|
|
@@ -2748,6 +2879,10 @@ export interface components {
|
|
|
2748
2879
|
cancelledAt: string | null;
|
|
2749
2880
|
cancellationReason: string | null;
|
|
2750
2881
|
isRecurring: boolean;
|
|
2882
|
+
/**
|
|
2883
|
+
* @deprecated
|
|
2884
|
+
* @description Dont use this field, generate link on frontend part.
|
|
2885
|
+
*/
|
|
2751
2886
|
link: string | null;
|
|
2752
2887
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2753
2888
|
gamePlayers: components["schemas"]["AdminGamePlayerDto"][];
|
|
@@ -2792,6 +2927,21 @@ export interface components {
|
|
|
2792
2927
|
GetKnownCitiesForPostDto: {
|
|
2793
2928
|
knownCities: string[];
|
|
2794
2929
|
};
|
|
2930
|
+
RestoreRecurringGameDto: {
|
|
2931
|
+
/**
|
|
2932
|
+
* @description ID of the abandoned recurring game to restore
|
|
2933
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
2934
|
+
*/
|
|
2935
|
+
gameId: string;
|
|
2936
|
+
};
|
|
2937
|
+
RestoreRecurringGameResponseDto: {
|
|
2938
|
+
/** @description Success status */
|
|
2939
|
+
success: boolean;
|
|
2940
|
+
/** @description Message describing the result */
|
|
2941
|
+
message: string;
|
|
2942
|
+
/** @description ID of the scheduled task created for restoration */
|
|
2943
|
+
scheduledTaskId?: string;
|
|
2944
|
+
};
|
|
2795
2945
|
PostCustomNotificationDto: {
|
|
2796
2946
|
userIds: string[] | null;
|
|
2797
2947
|
test: boolean;
|
|
@@ -2831,9 +2981,21 @@ export interface components {
|
|
|
2831
2981
|
secondUserId: string | null;
|
|
2832
2982
|
teamId: string | null;
|
|
2833
2983
|
};
|
|
2984
|
+
ChannelMemberDto: {
|
|
2985
|
+
userId: string;
|
|
2986
|
+
displayName: string;
|
|
2987
|
+
thumbnail: string | null;
|
|
2988
|
+
role: string;
|
|
2989
|
+
};
|
|
2990
|
+
GetChannelMembersDto: {
|
|
2991
|
+
members: components["schemas"]["ChannelMemberDto"][];
|
|
2992
|
+
};
|
|
2834
2993
|
SetChannelMutedDto: {
|
|
2835
2994
|
isMuted: boolean;
|
|
2836
2995
|
};
|
|
2996
|
+
UpdateChannelDetailsDto: {
|
|
2997
|
+
name: string;
|
|
2998
|
+
};
|
|
2837
2999
|
GetMyChatUserDto: {
|
|
2838
3000
|
chatUserExternalId: string;
|
|
2839
3001
|
token: string | null;
|
|
@@ -2853,17 +3015,6 @@ export interface components {
|
|
|
2853
3015
|
channelExternalId: string;
|
|
2854
3016
|
member: components["schemas"]["SingleChannelMemberDto"];
|
|
2855
3017
|
};
|
|
2856
|
-
CreateAppRatingDto: {
|
|
2857
|
-
/**
|
|
2858
|
-
* @deprecated
|
|
2859
|
-
* @description Use appRate
|
|
2860
|
-
*/
|
|
2861
|
-
rating?: Record<string, never> | null;
|
|
2862
|
-
appRate?: number | null;
|
|
2863
|
-
hostRate?: number | null;
|
|
2864
|
-
comment: string;
|
|
2865
|
-
gameId: string;
|
|
2866
|
-
};
|
|
2867
3018
|
CreatedGamePlayerApplicationDto: {
|
|
2868
3019
|
gamePlayerApplicationId: string;
|
|
2869
3020
|
autoApproved: boolean;
|
|
@@ -2930,6 +3081,17 @@ export interface components {
|
|
|
2930
3081
|
UpdateTeamMemberDto: {
|
|
2931
3082
|
isAutoApproved: boolean;
|
|
2932
3083
|
};
|
|
3084
|
+
CreateAppRatingDto: {
|
|
3085
|
+
/**
|
|
3086
|
+
* @deprecated
|
|
3087
|
+
* @description Use appRate
|
|
3088
|
+
*/
|
|
3089
|
+
rating?: Record<string, never> | null;
|
|
3090
|
+
appRate?: number | null;
|
|
3091
|
+
hostRate?: number | null;
|
|
3092
|
+
comment: string;
|
|
3093
|
+
gameId: string;
|
|
3094
|
+
};
|
|
2933
3095
|
CreateContactMessageDto: {
|
|
2934
3096
|
message: string;
|
|
2935
3097
|
};
|
|
@@ -3039,6 +3201,7 @@ export interface components {
|
|
|
3039
3201
|
}
|
|
3040
3202
|
export type MessageForClient = components['schemas']['MessageForClient'];
|
|
3041
3203
|
export type ErrorResponse = components['schemas']['ErrorResponse'];
|
|
3204
|
+
export type UserRegisteredPayloadDto = components['schemas']['UserRegisteredPayloadDto'];
|
|
3042
3205
|
export type HostRatingDto = components['schemas']['HostRatingDto'];
|
|
3043
3206
|
export type GameDetailsHostDto = components['schemas']['GameDetailsHostDto'];
|
|
3044
3207
|
export type CoordinatesDto = components['schemas']['CoordinatesDto'];
|
|
@@ -3073,10 +3236,12 @@ export type CreateNearbyGamesAlertDto = components['schemas']['CreateNearbyGames
|
|
|
3073
3236
|
export type GetNearbyGamesAlertDto = components['schemas']['GetNearbyGamesAlertDto'];
|
|
3074
3237
|
export type UpdateNearbyGamesAlertLocationDto = components['schemas']['UpdateNearbyGamesAlertLocationDto'];
|
|
3075
3238
|
export type UpdateNearbyGamesEnabledDto = components['schemas']['UpdateNearbyGamesEnabledDto'];
|
|
3239
|
+
export type LogoutResponseDto = components['schemas']['LogoutResponseDto'];
|
|
3076
3240
|
export type PostMyUserReferralDto = components['schemas']['PostMyUserReferralDto'];
|
|
3077
3241
|
export type MyUserDto = components['schemas']['MyUserDto'];
|
|
3078
3242
|
export type UpdatePartialUserDto = components['schemas']['UpdatePartialUserDto'];
|
|
3079
3243
|
export type SetLanguageDto = components['schemas']['SetLanguageDto'];
|
|
3244
|
+
export type UserStatsDto = components['schemas']['UserStatsDto'];
|
|
3080
3245
|
export type UpsertUserMetaBooleanDto = components['schemas']['UpsertUserMetaBooleanDto'];
|
|
3081
3246
|
export type CreateHostedGameDto = components['schemas']['CreateHostedGameDto'];
|
|
3082
3247
|
export type HostedGameDtoLocation = components['schemas']['HostedGameDtoLocation'];
|
|
@@ -3135,13 +3300,6 @@ export type GetUserNotificationsDto = components['schemas']['GetUserNotification
|
|
|
3135
3300
|
export type MarkNotificationsAsReadDto = components['schemas']['MarkNotificationsAsReadDto'];
|
|
3136
3301
|
export type RegisterDeviceNotificationTokenDto = components['schemas']['RegisterDeviceNotificationTokenDto'];
|
|
3137
3302
|
export type ArrivalDto = components['schemas']['ArrivalDto'];
|
|
3138
|
-
export type AndroidInfo = components['schemas']['AndroidInfo'];
|
|
3139
|
-
export type SocialMetaTagInfo = components['schemas']['SocialMetaTagInfo'];
|
|
3140
|
-
export type DynamicLinkInfo = components['schemas']['DynamicLinkInfo'];
|
|
3141
|
-
export type Suffix = components['schemas']['Suffix'];
|
|
3142
|
-
export type Payload = components['schemas']['Payload'];
|
|
3143
|
-
export type CreateShortLinkDto = components['schemas']['CreateShortLinkDto'];
|
|
3144
|
-
export type ShortLinkDto = components['schemas']['ShortLinkDto'];
|
|
3145
3303
|
export type AdminUserStatsDto = components['schemas']['AdminUserStatsDto'];
|
|
3146
3304
|
export type AdminUserDto = components['schemas']['AdminUserDto'];
|
|
3147
3305
|
export type GetAdminUsersDto = components['schemas']['GetAdminUsersDto'];
|
|
@@ -3159,16 +3317,20 @@ export type GamesByLocation = components['schemas']['GamesByLocation'];
|
|
|
3159
3317
|
export type GetAdminGamesForPostDto = components['schemas']['GetAdminGamesForPostDto'];
|
|
3160
3318
|
export type GetAdminGamesStatsDto = components['schemas']['GetAdminGamesStatsDto'];
|
|
3161
3319
|
export type GetKnownCitiesForPostDto = components['schemas']['GetKnownCitiesForPostDto'];
|
|
3320
|
+
export type RestoreRecurringGameDto = components['schemas']['RestoreRecurringGameDto'];
|
|
3321
|
+
export type RestoreRecurringGameResponseDto = components['schemas']['RestoreRecurringGameResponseDto'];
|
|
3162
3322
|
export type PostCustomNotificationDto = components['schemas']['PostCustomNotificationDto'];
|
|
3163
3323
|
export type TestActionNotificationDto = components['schemas']['TestActionNotificationDto'];
|
|
3164
3324
|
export type ChannelGameDto = components['schemas']['ChannelGameDto'];
|
|
3165
3325
|
export type GetChannelDetailsDto = components['schemas']['GetChannelDetailsDto'];
|
|
3326
|
+
export type ChannelMemberDto = components['schemas']['ChannelMemberDto'];
|
|
3327
|
+
export type GetChannelMembersDto = components['schemas']['GetChannelMembersDto'];
|
|
3166
3328
|
export type SetChannelMutedDto = components['schemas']['SetChannelMutedDto'];
|
|
3329
|
+
export type UpdateChannelDetailsDto = components['schemas']['UpdateChannelDetailsDto'];
|
|
3167
3330
|
export type GetMyChatUserDto = components['schemas']['GetMyChatUserDto'];
|
|
3168
3331
|
export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
|
|
3169
3332
|
export type SingleChannelMemberDto = components['schemas']['SingleChannelMemberDto'];
|
|
3170
3333
|
export type SingleChannelDto = components['schemas']['SingleChannelDto'];
|
|
3171
|
-
export type CreateAppRatingDto = components['schemas']['CreateAppRatingDto'];
|
|
3172
3334
|
export type CreatedGamePlayerApplicationDto = components['schemas']['CreatedGamePlayerApplicationDto'];
|
|
3173
3335
|
export type RejectManyGamePlayerApplicationsDto = components['schemas']['RejectManyGamePlayerApplicationsDto'];
|
|
3174
3336
|
export type ApproveManyGamePlayerApplicationsDto = components['schemas']['ApproveManyGamePlayerApplicationsDto'];
|
|
@@ -3184,6 +3346,7 @@ export type TeamMemberCandidateDto = components['schemas']['TeamMemberCandidateD
|
|
|
3184
3346
|
export type GetTeamMemberCandidatesDto = components['schemas']['GetTeamMemberCandidatesDto'];
|
|
3185
3347
|
export type CreateTeamMembersDto = components['schemas']['CreateTeamMembersDto'];
|
|
3186
3348
|
export type UpdateTeamMemberDto = components['schemas']['UpdateTeamMemberDto'];
|
|
3349
|
+
export type CreateAppRatingDto = components['schemas']['CreateAppRatingDto'];
|
|
3187
3350
|
export type CreateContactMessageDto = components['schemas']['CreateContactMessageDto'];
|
|
3188
3351
|
export type UserProfileStatsDto = components['schemas']['UserProfileStatsDto'];
|
|
3189
3352
|
export type UserProfileDto = components['schemas']['UserProfileDto'];
|
|
@@ -3269,6 +3432,76 @@ export interface operations {
|
|
|
3269
3432
|
};
|
|
3270
3433
|
};
|
|
3271
3434
|
};
|
|
3435
|
+
getErrorUncaught: {
|
|
3436
|
+
parameters: {
|
|
3437
|
+
query?: never;
|
|
3438
|
+
header?: {
|
|
3439
|
+
/** @description Request trace id for logs */
|
|
3440
|
+
"x-trace-request-id"?: string;
|
|
3441
|
+
/** @description Session trace id for logs */
|
|
3442
|
+
"x-trace-session-id"?: string;
|
|
3443
|
+
/** @description IANA Timezone */
|
|
3444
|
+
"x-timezone"?: string;
|
|
3445
|
+
};
|
|
3446
|
+
path?: never;
|
|
3447
|
+
cookie?: never;
|
|
3448
|
+
};
|
|
3449
|
+
requestBody?: never;
|
|
3450
|
+
responses: {
|
|
3451
|
+
200: {
|
|
3452
|
+
headers: {
|
|
3453
|
+
[name: string]: unknown;
|
|
3454
|
+
};
|
|
3455
|
+
content?: never;
|
|
3456
|
+
};
|
|
3457
|
+
/** @description Application Error */
|
|
3458
|
+
500: {
|
|
3459
|
+
headers: {
|
|
3460
|
+
[name: string]: unknown;
|
|
3461
|
+
};
|
|
3462
|
+
content: {
|
|
3463
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3464
|
+
};
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
};
|
|
3468
|
+
postUserRegistration: {
|
|
3469
|
+
parameters: {
|
|
3470
|
+
query?: never;
|
|
3471
|
+
header?: {
|
|
3472
|
+
/** @description Request trace id for logs */
|
|
3473
|
+
"x-trace-request-id"?: string;
|
|
3474
|
+
/** @description Session trace id for logs */
|
|
3475
|
+
"x-trace-session-id"?: string;
|
|
3476
|
+
/** @description IANA Timezone */
|
|
3477
|
+
"x-timezone"?: string;
|
|
3478
|
+
};
|
|
3479
|
+
path?: never;
|
|
3480
|
+
cookie?: never;
|
|
3481
|
+
};
|
|
3482
|
+
requestBody: {
|
|
3483
|
+
content: {
|
|
3484
|
+
"application/json": components["schemas"]["UserRegisteredPayloadDto"];
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
responses: {
|
|
3488
|
+
201: {
|
|
3489
|
+
headers: {
|
|
3490
|
+
[name: string]: unknown;
|
|
3491
|
+
};
|
|
3492
|
+
content?: never;
|
|
3493
|
+
};
|
|
3494
|
+
/** @description Application Error */
|
|
3495
|
+
500: {
|
|
3496
|
+
headers: {
|
|
3497
|
+
[name: string]: unknown;
|
|
3498
|
+
};
|
|
3499
|
+
content: {
|
|
3500
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3501
|
+
};
|
|
3502
|
+
};
|
|
3503
|
+
};
|
|
3504
|
+
};
|
|
3272
3505
|
getGameById: {
|
|
3273
3506
|
parameters: {
|
|
3274
3507
|
query?: never;
|
|
@@ -3306,6 +3539,49 @@ export interface operations {
|
|
|
3306
3539
|
};
|
|
3307
3540
|
};
|
|
3308
3541
|
};
|
|
3542
|
+
getNearbyGamesDeprecated: {
|
|
3543
|
+
parameters: {
|
|
3544
|
+
query?: {
|
|
3545
|
+
longitude?: string;
|
|
3546
|
+
latitude?: string;
|
|
3547
|
+
maxDistanceMeters?: string;
|
|
3548
|
+
gameLevel?: components["schemas"]["gameLevelEnum"][];
|
|
3549
|
+
locationType?: components["schemas"]["AppGameLocationType"][];
|
|
3550
|
+
specificDate?: string;
|
|
3551
|
+
/** @description Show private games, available only for admins. */
|
|
3552
|
+
showPrivate?: string;
|
|
3553
|
+
};
|
|
3554
|
+
header: {
|
|
3555
|
+
"x-timezone": string;
|
|
3556
|
+
/** @description Request trace id for logs */
|
|
3557
|
+
"x-trace-request-id"?: string;
|
|
3558
|
+
/** @description Session trace id for logs */
|
|
3559
|
+
"x-trace-session-id"?: string;
|
|
3560
|
+
};
|
|
3561
|
+
path?: never;
|
|
3562
|
+
cookie?: never;
|
|
3563
|
+
};
|
|
3564
|
+
requestBody?: never;
|
|
3565
|
+
responses: {
|
|
3566
|
+
200: {
|
|
3567
|
+
headers: {
|
|
3568
|
+
[name: string]: unknown;
|
|
3569
|
+
};
|
|
3570
|
+
content: {
|
|
3571
|
+
"application/json": components["schemas"]["NearbyGamesByLocationDto"];
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
/** @description Application Error */
|
|
3575
|
+
500: {
|
|
3576
|
+
headers: {
|
|
3577
|
+
[name: string]: unknown;
|
|
3578
|
+
};
|
|
3579
|
+
content: {
|
|
3580
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
};
|
|
3309
3585
|
getNearbyGamesByLocation: {
|
|
3310
3586
|
parameters: {
|
|
3311
3587
|
query?: {
|
|
@@ -4118,6 +4394,42 @@ export interface operations {
|
|
|
4118
4394
|
};
|
|
4119
4395
|
};
|
|
4120
4396
|
};
|
|
4397
|
+
logoutUser: {
|
|
4398
|
+
parameters: {
|
|
4399
|
+
query?: never;
|
|
4400
|
+
header: {
|
|
4401
|
+
Authorization: string;
|
|
4402
|
+
/** @description Request trace id for logs */
|
|
4403
|
+
"x-trace-request-id"?: string;
|
|
4404
|
+
/** @description Session trace id for logs */
|
|
4405
|
+
"x-trace-session-id"?: string;
|
|
4406
|
+
/** @description IANA Timezone */
|
|
4407
|
+
"x-timezone"?: string;
|
|
4408
|
+
};
|
|
4409
|
+
path?: never;
|
|
4410
|
+
cookie?: never;
|
|
4411
|
+
};
|
|
4412
|
+
requestBody?: never;
|
|
4413
|
+
responses: {
|
|
4414
|
+
200: {
|
|
4415
|
+
headers: {
|
|
4416
|
+
[name: string]: unknown;
|
|
4417
|
+
};
|
|
4418
|
+
content: {
|
|
4419
|
+
"application/json": components["schemas"]["LogoutResponseDto"];
|
|
4420
|
+
};
|
|
4421
|
+
};
|
|
4422
|
+
/** @description Application Error */
|
|
4423
|
+
500: {
|
|
4424
|
+
headers: {
|
|
4425
|
+
[name: string]: unknown;
|
|
4426
|
+
};
|
|
4427
|
+
content: {
|
|
4428
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4429
|
+
};
|
|
4430
|
+
};
|
|
4431
|
+
};
|
|
4432
|
+
};
|
|
4121
4433
|
postMyUserReferral: {
|
|
4122
4434
|
parameters: {
|
|
4123
4435
|
query?: never;
|
|
@@ -4303,6 +4615,41 @@ export interface operations {
|
|
|
4303
4615
|
};
|
|
4304
4616
|
};
|
|
4305
4617
|
};
|
|
4618
|
+
getMyUserStats: {
|
|
4619
|
+
parameters: {
|
|
4620
|
+
query?: never;
|
|
4621
|
+
header?: {
|
|
4622
|
+
/** @description Request trace id for logs */
|
|
4623
|
+
"x-trace-request-id"?: string;
|
|
4624
|
+
/** @description Session trace id for logs */
|
|
4625
|
+
"x-trace-session-id"?: string;
|
|
4626
|
+
/** @description IANA Timezone */
|
|
4627
|
+
"x-timezone"?: string;
|
|
4628
|
+
};
|
|
4629
|
+
path?: never;
|
|
4630
|
+
cookie?: never;
|
|
4631
|
+
};
|
|
4632
|
+
requestBody?: never;
|
|
4633
|
+
responses: {
|
|
4634
|
+
200: {
|
|
4635
|
+
headers: {
|
|
4636
|
+
[name: string]: unknown;
|
|
4637
|
+
};
|
|
4638
|
+
content: {
|
|
4639
|
+
"application/json": components["schemas"]["UserStatsDto"];
|
|
4640
|
+
};
|
|
4641
|
+
};
|
|
4642
|
+
/** @description Application Error */
|
|
4643
|
+
500: {
|
|
4644
|
+
headers: {
|
|
4645
|
+
[name: string]: unknown;
|
|
4646
|
+
};
|
|
4647
|
+
content: {
|
|
4648
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4649
|
+
};
|
|
4650
|
+
};
|
|
4651
|
+
};
|
|
4652
|
+
};
|
|
4306
4653
|
upsertUserMetaPushNotificationEnabledValue: {
|
|
4307
4654
|
parameters: {
|
|
4308
4655
|
query?: never;
|
|
@@ -4868,45 +5215,6 @@ export interface operations {
|
|
|
4868
5215
|
};
|
|
4869
5216
|
};
|
|
4870
5217
|
};
|
|
4871
|
-
createShortLink: {
|
|
4872
|
-
parameters: {
|
|
4873
|
-
query?: never;
|
|
4874
|
-
header?: {
|
|
4875
|
-
/** @description Request trace id for logs */
|
|
4876
|
-
"x-trace-request-id"?: string;
|
|
4877
|
-
/** @description Session trace id for logs */
|
|
4878
|
-
"x-trace-session-id"?: string;
|
|
4879
|
-
/** @description IANA Timezone */
|
|
4880
|
-
"x-timezone"?: string;
|
|
4881
|
-
};
|
|
4882
|
-
path?: never;
|
|
4883
|
-
cookie?: never;
|
|
4884
|
-
};
|
|
4885
|
-
requestBody: {
|
|
4886
|
-
content: {
|
|
4887
|
-
"application/json": components["schemas"]["CreateShortLinkDto"];
|
|
4888
|
-
};
|
|
4889
|
-
};
|
|
4890
|
-
responses: {
|
|
4891
|
-
200: {
|
|
4892
|
-
headers: {
|
|
4893
|
-
[name: string]: unknown;
|
|
4894
|
-
};
|
|
4895
|
-
content: {
|
|
4896
|
-
"application/json": components["schemas"]["ShortLinkDto"];
|
|
4897
|
-
};
|
|
4898
|
-
};
|
|
4899
|
-
/** @description Application Error */
|
|
4900
|
-
500: {
|
|
4901
|
-
headers: {
|
|
4902
|
-
[name: string]: unknown;
|
|
4903
|
-
};
|
|
4904
|
-
content: {
|
|
4905
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
4906
|
-
};
|
|
4907
|
-
};
|
|
4908
|
-
};
|
|
4909
|
-
};
|
|
4910
5218
|
createRecurringGame: {
|
|
4911
5219
|
parameters: {
|
|
4912
5220
|
query?: never;
|
|
@@ -5184,12 +5492,9 @@ export interface operations {
|
|
|
5184
5492
|
};
|
|
5185
5493
|
};
|
|
5186
5494
|
};
|
|
5187
|
-
|
|
5495
|
+
restoreRecurringGame: {
|
|
5188
5496
|
parameters: {
|
|
5189
|
-
query?:
|
|
5190
|
-
"dry-run"?: string;
|
|
5191
|
-
"test-run"?: string;
|
|
5192
|
-
};
|
|
5497
|
+
query?: never;
|
|
5193
5498
|
header?: {
|
|
5194
5499
|
/** @description Request trace id for logs */
|
|
5195
5500
|
"x-trace-request-id"?: string;
|
|
@@ -5201,9 +5506,51 @@ export interface operations {
|
|
|
5201
5506
|
path?: never;
|
|
5202
5507
|
cookie?: never;
|
|
5203
5508
|
};
|
|
5204
|
-
requestBody
|
|
5509
|
+
requestBody: {
|
|
5510
|
+
content: {
|
|
5511
|
+
"application/json": components["schemas"]["RestoreRecurringGameDto"];
|
|
5512
|
+
};
|
|
5513
|
+
};
|
|
5205
5514
|
responses: {
|
|
5206
|
-
|
|
5515
|
+
200: {
|
|
5516
|
+
headers: {
|
|
5517
|
+
[name: string]: unknown;
|
|
5518
|
+
};
|
|
5519
|
+
content: {
|
|
5520
|
+
"application/json": components["schemas"]["RestoreRecurringGameResponseDto"];
|
|
5521
|
+
};
|
|
5522
|
+
};
|
|
5523
|
+
/** @description Application Error */
|
|
5524
|
+
500: {
|
|
5525
|
+
headers: {
|
|
5526
|
+
[name: string]: unknown;
|
|
5527
|
+
};
|
|
5528
|
+
content: {
|
|
5529
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5532
|
+
};
|
|
5533
|
+
};
|
|
5534
|
+
removeOldGameChats: {
|
|
5535
|
+
parameters: {
|
|
5536
|
+
query?: {
|
|
5537
|
+
"dry-run"?: string;
|
|
5538
|
+
"test-run"?: string;
|
|
5539
|
+
};
|
|
5540
|
+
header?: {
|
|
5541
|
+
/** @description Request trace id for logs */
|
|
5542
|
+
"x-trace-request-id"?: string;
|
|
5543
|
+
/** @description Session trace id for logs */
|
|
5544
|
+
"x-trace-session-id"?: string;
|
|
5545
|
+
/** @description IANA Timezone */
|
|
5546
|
+
"x-timezone"?: string;
|
|
5547
|
+
};
|
|
5548
|
+
path?: never;
|
|
5549
|
+
cookie?: never;
|
|
5550
|
+
};
|
|
5551
|
+
requestBody?: never;
|
|
5552
|
+
responses: {
|
|
5553
|
+
201: {
|
|
5207
5554
|
headers: {
|
|
5208
5555
|
[name: string]: unknown;
|
|
5209
5556
|
};
|
|
@@ -5329,6 +5676,113 @@ export interface operations {
|
|
|
5329
5676
|
};
|
|
5330
5677
|
};
|
|
5331
5678
|
};
|
|
5679
|
+
getGamesForPostPublic: {
|
|
5680
|
+
parameters: {
|
|
5681
|
+
query?: {
|
|
5682
|
+
/** @description City name to filter games by. Possible values: */
|
|
5683
|
+
city?: string;
|
|
5684
|
+
/** @description It overrides default for city */
|
|
5685
|
+
radiusInKM?: string;
|
|
5686
|
+
/** @description Default true. If false, only games with free slots will be returned */
|
|
5687
|
+
returnFullGames?: unknown;
|
|
5688
|
+
/** @description Default 3. Games will be fetched from gameStartDaysOffset to gameStartDaysOffset+gameEndDaysOffset */
|
|
5689
|
+
gameEndDaysOffset?: unknown;
|
|
5690
|
+
};
|
|
5691
|
+
header?: {
|
|
5692
|
+
/** @description Request trace id for logs */
|
|
5693
|
+
"x-trace-request-id"?: string;
|
|
5694
|
+
/** @description Session trace id for logs */
|
|
5695
|
+
"x-trace-session-id"?: string;
|
|
5696
|
+
/** @description IANA Timezone */
|
|
5697
|
+
"x-timezone"?: string;
|
|
5698
|
+
};
|
|
5699
|
+
path?: never;
|
|
5700
|
+
cookie?: never;
|
|
5701
|
+
};
|
|
5702
|
+
requestBody?: never;
|
|
5703
|
+
responses: {
|
|
5704
|
+
200: {
|
|
5705
|
+
headers: {
|
|
5706
|
+
[name: string]: unknown;
|
|
5707
|
+
};
|
|
5708
|
+
content: {
|
|
5709
|
+
"application/json": components["schemas"]["GetAdminGamesForPostDto"];
|
|
5710
|
+
};
|
|
5711
|
+
};
|
|
5712
|
+
/** @description Application Error */
|
|
5713
|
+
500: {
|
|
5714
|
+
headers: {
|
|
5715
|
+
[name: string]: unknown;
|
|
5716
|
+
};
|
|
5717
|
+
content: {
|
|
5718
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5719
|
+
};
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
5722
|
+
};
|
|
5723
|
+
cancelGameByAdmin: {
|
|
5724
|
+
parameters: {
|
|
5725
|
+
query?: {
|
|
5726
|
+
cancellationReason?: string;
|
|
5727
|
+
};
|
|
5728
|
+
header?: {
|
|
5729
|
+
/** @description Request trace id for logs */
|
|
5730
|
+
"x-trace-request-id"?: string;
|
|
5731
|
+
/** @description Session trace id for logs */
|
|
5732
|
+
"x-trace-session-id"?: string;
|
|
5733
|
+
/** @description IANA Timezone */
|
|
5734
|
+
"x-timezone"?: string;
|
|
5735
|
+
};
|
|
5736
|
+
path: {
|
|
5737
|
+
gameId: string;
|
|
5738
|
+
};
|
|
5739
|
+
cookie?: never;
|
|
5740
|
+
};
|
|
5741
|
+
requestBody?: never;
|
|
5742
|
+
responses: {
|
|
5743
|
+
200: {
|
|
5744
|
+
headers: {
|
|
5745
|
+
[name: string]: unknown;
|
|
5746
|
+
};
|
|
5747
|
+
content?: never;
|
|
5748
|
+
};
|
|
5749
|
+
/** @description Application Error */
|
|
5750
|
+
500: {
|
|
5751
|
+
headers: {
|
|
5752
|
+
[name: string]: unknown;
|
|
5753
|
+
};
|
|
5754
|
+
content: {
|
|
5755
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5756
|
+
};
|
|
5757
|
+
};
|
|
5758
|
+
};
|
|
5759
|
+
};
|
|
5760
|
+
deleteUserByAdmin: {
|
|
5761
|
+
parameters: {
|
|
5762
|
+
query?: never;
|
|
5763
|
+
header?: {
|
|
5764
|
+
/** @description Request trace id for logs */
|
|
5765
|
+
"x-trace-request-id"?: string;
|
|
5766
|
+
/** @description Session trace id for logs */
|
|
5767
|
+
"x-trace-session-id"?: string;
|
|
5768
|
+
/** @description IANA Timezone */
|
|
5769
|
+
"x-timezone"?: string;
|
|
5770
|
+
};
|
|
5771
|
+
path: {
|
|
5772
|
+
userId: string;
|
|
5773
|
+
};
|
|
5774
|
+
cookie?: never;
|
|
5775
|
+
};
|
|
5776
|
+
requestBody?: never;
|
|
5777
|
+
responses: {
|
|
5778
|
+
200: {
|
|
5779
|
+
headers: {
|
|
5780
|
+
[name: string]: unknown;
|
|
5781
|
+
};
|
|
5782
|
+
content?: never;
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
5785
|
+
};
|
|
5332
5786
|
testActionNotification: {
|
|
5333
5787
|
parameters: {
|
|
5334
5788
|
query?: never;
|
|
@@ -5443,7 +5897,7 @@ export interface operations {
|
|
|
5443
5897
|
};
|
|
5444
5898
|
};
|
|
5445
5899
|
};
|
|
5446
|
-
|
|
5900
|
+
updateChannelDetails: {
|
|
5447
5901
|
parameters: {
|
|
5448
5902
|
query?: never;
|
|
5449
5903
|
header?: {
|
|
@@ -5461,7 +5915,7 @@ export interface operations {
|
|
|
5461
5915
|
};
|
|
5462
5916
|
requestBody: {
|
|
5463
5917
|
content: {
|
|
5464
|
-
"application/json": components["schemas"]["
|
|
5918
|
+
"application/json": components["schemas"]["UpdateChannelDetailsDto"];
|
|
5465
5919
|
};
|
|
5466
5920
|
};
|
|
5467
5921
|
responses: {
|
|
@@ -5482,7 +5936,7 @@ export interface operations {
|
|
|
5482
5936
|
};
|
|
5483
5937
|
};
|
|
5484
5938
|
};
|
|
5485
|
-
|
|
5939
|
+
getChannelMembers: {
|
|
5486
5940
|
parameters: {
|
|
5487
5941
|
query?: never;
|
|
5488
5942
|
header?: {
|
|
@@ -5493,7 +5947,9 @@ export interface operations {
|
|
|
5493
5947
|
/** @description IANA Timezone */
|
|
5494
5948
|
"x-timezone"?: string;
|
|
5495
5949
|
};
|
|
5496
|
-
path
|
|
5950
|
+
path: {
|
|
5951
|
+
channelId: string;
|
|
5952
|
+
};
|
|
5497
5953
|
cookie?: never;
|
|
5498
5954
|
};
|
|
5499
5955
|
requestBody?: never;
|
|
@@ -5503,7 +5959,7 @@ export interface operations {
|
|
|
5503
5959
|
[name: string]: unknown;
|
|
5504
5960
|
};
|
|
5505
5961
|
content: {
|
|
5506
|
-
"application/json": components["schemas"]["
|
|
5962
|
+
"application/json": components["schemas"]["GetChannelMembersDto"];
|
|
5507
5963
|
};
|
|
5508
5964
|
};
|
|
5509
5965
|
/** @description Application Error */
|
|
@@ -5517,7 +5973,7 @@ export interface operations {
|
|
|
5517
5973
|
};
|
|
5518
5974
|
};
|
|
5519
5975
|
};
|
|
5520
|
-
|
|
5976
|
+
muteChannel: {
|
|
5521
5977
|
parameters: {
|
|
5522
5978
|
query?: never;
|
|
5523
5979
|
header?: {
|
|
@@ -5528,12 +5984,18 @@ export interface operations {
|
|
|
5528
5984
|
/** @description IANA Timezone */
|
|
5529
5985
|
"x-timezone"?: string;
|
|
5530
5986
|
};
|
|
5531
|
-
path
|
|
5987
|
+
path: {
|
|
5988
|
+
channelId: string;
|
|
5989
|
+
};
|
|
5532
5990
|
cookie?: never;
|
|
5533
5991
|
};
|
|
5534
|
-
requestBody
|
|
5992
|
+
requestBody: {
|
|
5993
|
+
content: {
|
|
5994
|
+
"application/json": components["schemas"]["SetChannelMutedDto"];
|
|
5995
|
+
};
|
|
5996
|
+
};
|
|
5535
5997
|
responses: {
|
|
5536
|
-
|
|
5998
|
+
200: {
|
|
5537
5999
|
headers: {
|
|
5538
6000
|
[name: string]: unknown;
|
|
5539
6001
|
};
|
|
@@ -5550,7 +6012,7 @@ export interface operations {
|
|
|
5550
6012
|
};
|
|
5551
6013
|
};
|
|
5552
6014
|
};
|
|
5553
|
-
|
|
6015
|
+
getMyChatUser: {
|
|
5554
6016
|
parameters: {
|
|
5555
6017
|
query?: never;
|
|
5556
6018
|
header?: {
|
|
@@ -5564,37 +6026,30 @@ export interface operations {
|
|
|
5564
6026
|
path?: never;
|
|
5565
6027
|
cookie?: never;
|
|
5566
6028
|
};
|
|
5567
|
-
requestBody
|
|
5568
|
-
content: {
|
|
5569
|
-
"application/json": components["schemas"]["CreateOrGetSingleChannelDto"];
|
|
5570
|
-
};
|
|
5571
|
-
};
|
|
6029
|
+
requestBody?: never;
|
|
5572
6030
|
responses: {
|
|
5573
|
-
|
|
5574
|
-
500: {
|
|
6031
|
+
200: {
|
|
5575
6032
|
headers: {
|
|
5576
6033
|
[name: string]: unknown;
|
|
5577
6034
|
};
|
|
5578
6035
|
content: {
|
|
5579
|
-
"application/json": components["schemas"]["
|
|
6036
|
+
"application/json": components["schemas"]["GetMyChatUserDto"];
|
|
5580
6037
|
};
|
|
5581
6038
|
};
|
|
5582
|
-
|
|
6039
|
+
/** @description Application Error */
|
|
6040
|
+
500: {
|
|
5583
6041
|
headers: {
|
|
5584
6042
|
[name: string]: unknown;
|
|
5585
6043
|
};
|
|
5586
6044
|
content: {
|
|
5587
|
-
"application/json": components["schemas"]["
|
|
6045
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5588
6046
|
};
|
|
5589
6047
|
};
|
|
5590
6048
|
};
|
|
5591
6049
|
};
|
|
5592
|
-
|
|
6050
|
+
postChatWebook: {
|
|
5593
6051
|
parameters: {
|
|
5594
|
-
query
|
|
5595
|
-
"api-key": string;
|
|
5596
|
-
remove?: string;
|
|
5597
|
-
};
|
|
6052
|
+
query?: never;
|
|
5598
6053
|
header?: {
|
|
5599
6054
|
/** @description Request trace id for logs */
|
|
5600
6055
|
"x-trace-request-id"?: string;
|
|
@@ -5614,13 +6069,21 @@ export interface operations {
|
|
|
5614
6069
|
};
|
|
5615
6070
|
content?: never;
|
|
5616
6071
|
};
|
|
6072
|
+
/** @description Application Error */
|
|
6073
|
+
500: {
|
|
6074
|
+
headers: {
|
|
6075
|
+
[name: string]: unknown;
|
|
6076
|
+
};
|
|
6077
|
+
content: {
|
|
6078
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6079
|
+
};
|
|
6080
|
+
};
|
|
5617
6081
|
};
|
|
5618
6082
|
};
|
|
5619
|
-
|
|
6083
|
+
createOrGetSingleChannel: {
|
|
5620
6084
|
parameters: {
|
|
5621
6085
|
query?: never;
|
|
5622
|
-
header
|
|
5623
|
-
"x-api-key": string;
|
|
6086
|
+
header?: {
|
|
5624
6087
|
/** @description Request trace id for logs */
|
|
5625
6088
|
"x-trace-request-id"?: string;
|
|
5626
6089
|
/** @description Session trace id for logs */
|
|
@@ -5631,28 +6094,37 @@ export interface operations {
|
|
|
5631
6094
|
path?: never;
|
|
5632
6095
|
cookie?: never;
|
|
5633
6096
|
};
|
|
5634
|
-
requestBody
|
|
6097
|
+
requestBody: {
|
|
6098
|
+
content: {
|
|
6099
|
+
"application/json": components["schemas"]["CreateOrGetSingleChannelDto"];
|
|
6100
|
+
};
|
|
6101
|
+
};
|
|
5635
6102
|
responses: {
|
|
5636
|
-
|
|
6103
|
+
/** @description Application Error */
|
|
6104
|
+
500: {
|
|
5637
6105
|
headers: {
|
|
5638
6106
|
[name: string]: unknown;
|
|
5639
6107
|
};
|
|
5640
|
-
content
|
|
6108
|
+
content: {
|
|
6109
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6110
|
+
};
|
|
5641
6111
|
};
|
|
5642
|
-
|
|
5643
|
-
500: {
|
|
6112
|
+
default: {
|
|
5644
6113
|
headers: {
|
|
5645
6114
|
[name: string]: unknown;
|
|
5646
6115
|
};
|
|
5647
6116
|
content: {
|
|
5648
|
-
"application/json": components["schemas"]["
|
|
6117
|
+
"application/json": components["schemas"]["SingleChannelDto"];
|
|
5649
6118
|
};
|
|
5650
6119
|
};
|
|
5651
6120
|
};
|
|
5652
6121
|
};
|
|
5653
|
-
|
|
6122
|
+
cleanupUnreadMessages: {
|
|
5654
6123
|
parameters: {
|
|
5655
|
-
query
|
|
6124
|
+
query: {
|
|
6125
|
+
"api-key": string;
|
|
6126
|
+
remove?: string;
|
|
6127
|
+
};
|
|
5656
6128
|
header?: {
|
|
5657
6129
|
/** @description Request trace id for logs */
|
|
5658
6130
|
"x-trace-request-id"?: string;
|
|
@@ -5664,28 +6136,14 @@ export interface operations {
|
|
|
5664
6136
|
path?: never;
|
|
5665
6137
|
cookie?: never;
|
|
5666
6138
|
};
|
|
5667
|
-
requestBody
|
|
5668
|
-
content: {
|
|
5669
|
-
"application/json": components["schemas"]["CreateAppRatingDto"];
|
|
5670
|
-
};
|
|
5671
|
-
};
|
|
6139
|
+
requestBody?: never;
|
|
5672
6140
|
responses: {
|
|
5673
|
-
|
|
5674
|
-
400: {
|
|
6141
|
+
201: {
|
|
5675
6142
|
headers: {
|
|
5676
6143
|
[name: string]: unknown;
|
|
5677
6144
|
};
|
|
5678
6145
|
content?: never;
|
|
5679
6146
|
};
|
|
5680
|
-
/** @description Application Error */
|
|
5681
|
-
500: {
|
|
5682
|
-
headers: {
|
|
5683
|
-
[name: string]: unknown;
|
|
5684
|
-
};
|
|
5685
|
-
content: {
|
|
5686
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5687
|
-
};
|
|
5688
|
-
};
|
|
5689
6147
|
};
|
|
5690
6148
|
};
|
|
5691
6149
|
postGameApplication: {
|
|
@@ -6256,6 +6714,78 @@ export interface operations {
|
|
|
6256
6714
|
};
|
|
6257
6715
|
};
|
|
6258
6716
|
};
|
|
6717
|
+
processScheduledNotification: {
|
|
6718
|
+
parameters: {
|
|
6719
|
+
query?: never;
|
|
6720
|
+
header: {
|
|
6721
|
+
"x-api-key": string;
|
|
6722
|
+
/** @description Request trace id for logs */
|
|
6723
|
+
"x-trace-request-id"?: string;
|
|
6724
|
+
/** @description Session trace id for logs */
|
|
6725
|
+
"x-trace-session-id"?: string;
|
|
6726
|
+
/** @description IANA Timezone */
|
|
6727
|
+
"x-timezone"?: string;
|
|
6728
|
+
};
|
|
6729
|
+
path?: never;
|
|
6730
|
+
cookie?: never;
|
|
6731
|
+
};
|
|
6732
|
+
requestBody?: never;
|
|
6733
|
+
responses: {
|
|
6734
|
+
201: {
|
|
6735
|
+
headers: {
|
|
6736
|
+
[name: string]: unknown;
|
|
6737
|
+
};
|
|
6738
|
+
content?: never;
|
|
6739
|
+
};
|
|
6740
|
+
/** @description Application Error */
|
|
6741
|
+
500: {
|
|
6742
|
+
headers: {
|
|
6743
|
+
[name: string]: unknown;
|
|
6744
|
+
};
|
|
6745
|
+
content: {
|
|
6746
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6747
|
+
};
|
|
6748
|
+
};
|
|
6749
|
+
};
|
|
6750
|
+
};
|
|
6751
|
+
createRating: {
|
|
6752
|
+
parameters: {
|
|
6753
|
+
query?: never;
|
|
6754
|
+
header?: {
|
|
6755
|
+
/** @description Request trace id for logs */
|
|
6756
|
+
"x-trace-request-id"?: string;
|
|
6757
|
+
/** @description Session trace id for logs */
|
|
6758
|
+
"x-trace-session-id"?: string;
|
|
6759
|
+
/** @description IANA Timezone */
|
|
6760
|
+
"x-timezone"?: string;
|
|
6761
|
+
};
|
|
6762
|
+
path?: never;
|
|
6763
|
+
cookie?: never;
|
|
6764
|
+
};
|
|
6765
|
+
requestBody: {
|
|
6766
|
+
content: {
|
|
6767
|
+
"application/json": components["schemas"]["CreateAppRatingDto"];
|
|
6768
|
+
};
|
|
6769
|
+
};
|
|
6770
|
+
responses: {
|
|
6771
|
+
/** @description CannotCreateRatingAlreadyExists */
|
|
6772
|
+
400: {
|
|
6773
|
+
headers: {
|
|
6774
|
+
[name: string]: unknown;
|
|
6775
|
+
};
|
|
6776
|
+
content?: never;
|
|
6777
|
+
};
|
|
6778
|
+
/** @description Application Error */
|
|
6779
|
+
500: {
|
|
6780
|
+
headers: {
|
|
6781
|
+
[name: string]: unknown;
|
|
6782
|
+
};
|
|
6783
|
+
content: {
|
|
6784
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
};
|
|
6788
|
+
};
|
|
6259
6789
|
createContactMessage: {
|
|
6260
6790
|
parameters: {
|
|
6261
6791
|
query?: never;
|
|
@@ -7061,9 +7591,6 @@ export declare enum ArrivalType {
|
|
|
7061
7591
|
hosted_game = "hosted-game",
|
|
7062
7592
|
player_game = "player-game"
|
|
7063
7593
|
}
|
|
7064
|
-
export declare enum LinkSuffixOption {
|
|
7065
|
-
SHORT = "SHORT"
|
|
7066
|
-
}
|
|
7067
7594
|
export declare enum UserRoleEnum {
|
|
7068
7595
|
USER = "USER",
|
|
7069
7596
|
ADMIN = "ADMIN"
|
|
@@ -7108,7 +7635,10 @@ export declare enum AppTrophyType {
|
|
|
7108
7635
|
export declare enum ApiPaths {
|
|
7109
7636
|
getHello = "/hello",
|
|
7110
7637
|
getError = "/error",
|
|
7638
|
+
getErrorUncaught = "/error-uncaught",
|
|
7639
|
+
postUserRegistration = "/users/user-registered-cloud-fn-callback",
|
|
7111
7640
|
getGameById = "/games/{gameId}",
|
|
7641
|
+
getNearbyGamesDeprecated = "/nearby-games",
|
|
7112
7642
|
getNearbyGamesByLocation = "/nearby-games/locations",
|
|
7113
7643
|
getNearbyGamesList = "/nearby-games/list",
|
|
7114
7644
|
getLocationGames = "/location/{locationId}/games",
|
|
@@ -7130,11 +7660,13 @@ export declare enum ApiPaths {
|
|
|
7130
7660
|
getUserNearbyGamesAlert = "/nearby-games/alerts",
|
|
7131
7661
|
updateNearbyGamesAlertLocation = "/nearby-games/alerts/location",
|
|
7132
7662
|
updateNearbyGamesAlertEnabled = "/nearby-games/alerts/enabled",
|
|
7663
|
+
logoutUser = "/users/logout",
|
|
7133
7664
|
postMyUserReferral = "/users/referral",
|
|
7134
7665
|
getMyUser = "/users/me",
|
|
7135
7666
|
updateMyUserPartial = "/users/me",
|
|
7136
7667
|
deleteMyUser = "/users/me",
|
|
7137
7668
|
setMyLanguage = "/users/me/language",
|
|
7669
|
+
getMyUserStats = "/users/me/stats",
|
|
7138
7670
|
upsertUserMetaPushNotificationEnabledValue = "/user-meta/push-notification-enabled",
|
|
7139
7671
|
createHostedGame = "/hosted-games",
|
|
7140
7672
|
updateHostedGame = "/hosted-games/{hostedGameId}",
|
|
@@ -7151,7 +7683,6 @@ export declare enum ApiPaths {
|
|
|
7151
7683
|
registerDeviceToken = "/user-notifications/config/register-device-token",
|
|
7152
7684
|
unregisterDeviceToken = "/user-notifications/config/unregister-device-token/{token}",
|
|
7153
7685
|
getArrival = "/arrival",
|
|
7154
|
-
createShortLink = "/short-link",
|
|
7155
7686
|
createRecurringGame = "/recurring-games",
|
|
7156
7687
|
getUsers = "/admin/users",
|
|
7157
7688
|
getUsersStats = "/admin/users/stats",
|
|
@@ -7159,20 +7690,24 @@ export declare enum ApiPaths {
|
|
|
7159
7690
|
getGamesForPost = "/admin/games-for-post",
|
|
7160
7691
|
getGamesStats = "/admin/games/stats",
|
|
7161
7692
|
getKnownCitiesForPost = "/admin/known-cities",
|
|
7693
|
+
restoreRecurringGame = "/admin/restore-recurring-game",
|
|
7162
7694
|
removeOldGameChats = "/admin/adhoc/remove-old-game-chats",
|
|
7163
7695
|
emitGameUpdated = "/admin/adhoc/emit-game-updated",
|
|
7164
7696
|
postCustomNotification = "/admin/notifications/custom",
|
|
7165
7697
|
postCustomNotificationByAutomation = "/admin/automations/notifications/custom",
|
|
7698
|
+
getGamesForPostPublic = "/admin/games-for-post-public",
|
|
7699
|
+
cancelGameByAdmin = "/admin/moderation/game/{gameId}",
|
|
7700
|
+
deleteUserByAdmin = "/admin/moderation/user/{userId}",
|
|
7166
7701
|
testActionNotification = "/admin/test-notifications/action-push",
|
|
7167
7702
|
getChannelByReference = "/chat/channel/get-by-reference",
|
|
7168
7703
|
getChannelDetails = "/chat/channel/{channelId}",
|
|
7704
|
+
updateChannelDetails = "/chat/channel/{channelId}",
|
|
7705
|
+
getChannelMembers = "/chat/channel/{channelId}/members",
|
|
7169
7706
|
muteChannel = "/chat/channel/{channelId}/muted",
|
|
7170
7707
|
getMyChatUser = "/chat/user/me",
|
|
7171
7708
|
postChatWebook = "/chat/webhook",
|
|
7172
7709
|
createOrGetSingleChannel = "/chat/channel/single",
|
|
7173
7710
|
cleanupUnreadMessages = "/chat-maintenance/cleanup-unread-messages",
|
|
7174
|
-
processScheduledNotification = "/game-notifications/scheduled-notification",
|
|
7175
|
-
createRating = "/rating/app",
|
|
7176
7711
|
postGameApplication = "/games/{gameId}/player-applications",
|
|
7177
7712
|
deleteGameApplication = "/games/{gameId}/player-applications",
|
|
7178
7713
|
rejectHostedGameApplications = "/hosted-games/{hostedGameId}/applications/reject-many",
|
|
@@ -7188,6 +7723,8 @@ export declare enum ApiPaths {
|
|
|
7188
7723
|
removeTeamMember = "/teams/{teamId}/members/{userId}",
|
|
7189
7724
|
leave = "/teams/{teamId}/member/me",
|
|
7190
7725
|
acceptTeamInvitation = "/teams/{teamId}/invitations/accept",
|
|
7726
|
+
processScheduledNotification = "/game-notifications/scheduled-notification",
|
|
7727
|
+
createRating = "/rating/app",
|
|
7191
7728
|
createContactMessage = "/contact/message",
|
|
7192
7729
|
triggerNotificationsForGameFinished = "/game-notifications/game-finished",
|
|
7193
7730
|
triggerNotificationsForGameReminder = "/game-notifications/game-reminder",
|