@orlikfy/api-interfaces 6.1.10 → 6.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api.d.ts +75 -65
- package/dist/api.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ TypeScript interfaces generated from the Orlikfy backend OpenAPI specification.
|
|
|
4
4
|
|
|
5
5
|
# Changelog
|
|
6
6
|
|
|
7
|
+
v6.1.12 - add GET /my-games endpoint
|
|
8
|
+
v6.1.11 - private games on map - added query param
|
|
7
9
|
v6.1.10 - notification preferences, optional price in alerts
|
|
8
10
|
|
|
9
11
|
## Publishing New Version
|
package/dist/api.d.ts
CHANGED
|
@@ -87,27 +87,6 @@ export interface paths {
|
|
|
87
87
|
patch?: never;
|
|
88
88
|
trace?: never;
|
|
89
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
|
-
};
|
|
111
90
|
"/nearby-games/locations": {
|
|
112
91
|
parameters: {
|
|
113
92
|
query?: never;
|
|
@@ -168,6 +147,7 @@ export interface paths {
|
|
|
168
147
|
path?: never;
|
|
169
148
|
cookie?: never;
|
|
170
149
|
};
|
|
150
|
+
/** @deprecated */
|
|
171
151
|
get: operations["getPlayerGamesFuture"];
|
|
172
152
|
put?: never;
|
|
173
153
|
post?: never;
|
|
@@ -184,6 +164,7 @@ export interface paths {
|
|
|
184
164
|
path?: never;
|
|
185
165
|
cookie?: never;
|
|
186
166
|
};
|
|
167
|
+
/** @deprecated */
|
|
187
168
|
get: operations["getPlayerGamesPast"];
|
|
188
169
|
put?: never;
|
|
189
170
|
post?: never;
|
|
@@ -581,6 +562,7 @@ export interface paths {
|
|
|
581
562
|
path?: never;
|
|
582
563
|
cookie?: never;
|
|
583
564
|
};
|
|
565
|
+
/** @deprecated */
|
|
584
566
|
get: operations["getUserHostedGamesFuture"];
|
|
585
567
|
put?: never;
|
|
586
568
|
post?: never;
|
|
@@ -597,6 +579,7 @@ export interface paths {
|
|
|
597
579
|
path?: never;
|
|
598
580
|
cookie?: never;
|
|
599
581
|
};
|
|
582
|
+
/** @deprecated */
|
|
600
583
|
get: operations["getUserHostedGamesPast"];
|
|
601
584
|
put?: never;
|
|
602
585
|
post?: never;
|
|
@@ -664,6 +647,22 @@ export interface paths {
|
|
|
664
647
|
patch?: never;
|
|
665
648
|
trace?: never;
|
|
666
649
|
};
|
|
650
|
+
"/my-games": {
|
|
651
|
+
parameters: {
|
|
652
|
+
query?: never;
|
|
653
|
+
header?: never;
|
|
654
|
+
path?: never;
|
|
655
|
+
cookie?: never;
|
|
656
|
+
};
|
|
657
|
+
get: operations["getMyGames"];
|
|
658
|
+
put?: never;
|
|
659
|
+
post?: never;
|
|
660
|
+
delete?: never;
|
|
661
|
+
options?: never;
|
|
662
|
+
head?: never;
|
|
663
|
+
patch?: never;
|
|
664
|
+
trace?: never;
|
|
665
|
+
};
|
|
667
666
|
"/user-notifications": {
|
|
668
667
|
parameters: {
|
|
669
668
|
query?: never;
|
|
@@ -1940,6 +1939,7 @@ export interface components {
|
|
|
1940
1939
|
thumbnail: string | null;
|
|
1941
1940
|
phone: string | null;
|
|
1942
1941
|
rating: components["schemas"]["HostRatingDto"];
|
|
1942
|
+
isAnonymous: boolean;
|
|
1943
1943
|
lastActive: string | null;
|
|
1944
1944
|
};
|
|
1945
1945
|
/** @enum {string} */
|
|
@@ -2032,6 +2032,7 @@ export interface components {
|
|
|
2032
2032
|
thumbnail: string | null;
|
|
2033
2033
|
phone: string | null;
|
|
2034
2034
|
rating: components["schemas"]["HostRatingDto"];
|
|
2035
|
+
isAnonymous: boolean;
|
|
2035
2036
|
};
|
|
2036
2037
|
CommonGameDto: {
|
|
2037
2038
|
gameId: string;
|
|
@@ -2557,6 +2558,15 @@ export interface components {
|
|
|
2557
2558
|
/** Format: date-time */
|
|
2558
2559
|
revokedAt: string;
|
|
2559
2560
|
};
|
|
2561
|
+
MyGamesPlayerDto: {
|
|
2562
|
+
approved: components["schemas"]["PlayerGameDto"][];
|
|
2563
|
+
waiting: components["schemas"]["PlayerGameDto"][];
|
|
2564
|
+
invitations: components["schemas"]["PlayerGameInvitationDto"][];
|
|
2565
|
+
};
|
|
2566
|
+
MyGamesDto: {
|
|
2567
|
+
host: components["schemas"]["HostedGameItemDto"][];
|
|
2568
|
+
player: components["schemas"]["MyGamesPlayerDto"];
|
|
2569
|
+
};
|
|
2560
2570
|
/** @enum {string} */
|
|
2561
2571
|
NotificationType: NotificationType;
|
|
2562
2572
|
TestNotificationPayload: {
|
|
@@ -3562,6 +3572,8 @@ export type GetGameFbGroupsDto = components['schemas']['GetGameFbGroupsDto'];
|
|
|
3562
3572
|
export type GetUserPenaltiesDto = components['schemas']['GetUserPenaltiesDto'];
|
|
3563
3573
|
export type CreateUserPenaltyDto = components['schemas']['CreateUserPenaltyDto'];
|
|
3564
3574
|
export type RevokeUserPenaltyResponseDto = components['schemas']['RevokeUserPenaltyResponseDto'];
|
|
3575
|
+
export type MyGamesPlayerDto = components['schemas']['MyGamesPlayerDto'];
|
|
3576
|
+
export type MyGamesDto = components['schemas']['MyGamesDto'];
|
|
3565
3577
|
export type TestNotificationPayload = components['schemas']['TestNotificationPayload'];
|
|
3566
3578
|
export type GameApplicationApprovedNotificationPayload = components['schemas']['GameApplicationApprovedNotificationPayload'];
|
|
3567
3579
|
export type GameApplicationRejectedNotificationPayload = components['schemas']['GameApplicationRejectedNotificationPayload'];
|
|
@@ -3852,49 +3864,6 @@ export interface operations {
|
|
|
3852
3864
|
};
|
|
3853
3865
|
};
|
|
3854
3866
|
};
|
|
3855
|
-
getNearbyGamesDeprecated: {
|
|
3856
|
-
parameters: {
|
|
3857
|
-
query?: {
|
|
3858
|
-
longitude?: string;
|
|
3859
|
-
latitude?: string;
|
|
3860
|
-
maxDistanceMeters?: string;
|
|
3861
|
-
gameLevel?: components["schemas"]["gameLevelEnum"][];
|
|
3862
|
-
locationType?: components["schemas"]["AppGameLocationType"][];
|
|
3863
|
-
specificDate?: string;
|
|
3864
|
-
/** @description Show private games, available only for admins. */
|
|
3865
|
-
showPrivate?: string;
|
|
3866
|
-
};
|
|
3867
|
-
header: {
|
|
3868
|
-
"x-timezone": string;
|
|
3869
|
-
/** @description Request trace id for logs */
|
|
3870
|
-
"x-trace-request-id"?: string;
|
|
3871
|
-
/** @description Session trace id for logs */
|
|
3872
|
-
"x-trace-session-id"?: string;
|
|
3873
|
-
};
|
|
3874
|
-
path?: never;
|
|
3875
|
-
cookie?: never;
|
|
3876
|
-
};
|
|
3877
|
-
requestBody?: never;
|
|
3878
|
-
responses: {
|
|
3879
|
-
200: {
|
|
3880
|
-
headers: {
|
|
3881
|
-
[name: string]: unknown;
|
|
3882
|
-
};
|
|
3883
|
-
content: {
|
|
3884
|
-
"application/json": components["schemas"]["NearbyGamesByLocationDto"];
|
|
3885
|
-
};
|
|
3886
|
-
};
|
|
3887
|
-
/** @description Application Error */
|
|
3888
|
-
500: {
|
|
3889
|
-
headers: {
|
|
3890
|
-
[name: string]: unknown;
|
|
3891
|
-
};
|
|
3892
|
-
content: {
|
|
3893
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
3867
|
getNearbyGamesByLocation: {
|
|
3899
3868
|
parameters: {
|
|
3900
3869
|
query?: {
|
|
@@ -3906,6 +3875,8 @@ export interface operations {
|
|
|
3906
3875
|
specificDate?: string;
|
|
3907
3876
|
/** @description Show private games, available only for admins. */
|
|
3908
3877
|
showPrivate?: string;
|
|
3878
|
+
/** @description Show private games with anonymized host data. Private games without user relation will have host info blurred. */
|
|
3879
|
+
showPrivateBlurred?: string;
|
|
3909
3880
|
};
|
|
3910
3881
|
header: {
|
|
3911
3882
|
"x-timezone": string;
|
|
@@ -3949,6 +3920,8 @@ export interface operations {
|
|
|
3949
3920
|
specificDate?: string;
|
|
3950
3921
|
/** @description Show private games, available only for admins. */
|
|
3951
3922
|
showPrivate?: string;
|
|
3923
|
+
/** @description Show private games with anonymized host data. Private games without user relation will have host info blurred. */
|
|
3924
|
+
showPrivateBlurred?: string;
|
|
3952
3925
|
};
|
|
3953
3926
|
header: {
|
|
3954
3927
|
"x-timezone": string;
|
|
@@ -3992,6 +3965,8 @@ export interface operations {
|
|
|
3992
3965
|
specificDate?: string;
|
|
3993
3966
|
/** @description Show private games, available only for admins. */
|
|
3994
3967
|
showPrivate?: string;
|
|
3968
|
+
/** @description Show private games with anonymized host data. Private games without user relation will have host info blurred. */
|
|
3969
|
+
showPrivateBlurred?: string;
|
|
3995
3970
|
};
|
|
3996
3971
|
header: {
|
|
3997
3972
|
"x-timezone": string;
|
|
@@ -5396,6 +5371,41 @@ export interface operations {
|
|
|
5396
5371
|
};
|
|
5397
5372
|
};
|
|
5398
5373
|
};
|
|
5374
|
+
getMyGames: {
|
|
5375
|
+
parameters: {
|
|
5376
|
+
query?: never;
|
|
5377
|
+
header?: {
|
|
5378
|
+
/** @description Request trace id for logs */
|
|
5379
|
+
"x-trace-request-id"?: string;
|
|
5380
|
+
/** @description Session trace id for logs */
|
|
5381
|
+
"x-trace-session-id"?: string;
|
|
5382
|
+
/** @description IANA Timezone */
|
|
5383
|
+
"x-timezone"?: string;
|
|
5384
|
+
};
|
|
5385
|
+
path?: never;
|
|
5386
|
+
cookie?: never;
|
|
5387
|
+
};
|
|
5388
|
+
requestBody?: never;
|
|
5389
|
+
responses: {
|
|
5390
|
+
200: {
|
|
5391
|
+
headers: {
|
|
5392
|
+
[name: string]: unknown;
|
|
5393
|
+
};
|
|
5394
|
+
content: {
|
|
5395
|
+
"application/json": components["schemas"]["MyGamesDto"];
|
|
5396
|
+
};
|
|
5397
|
+
};
|
|
5398
|
+
/** @description Application Error */
|
|
5399
|
+
500: {
|
|
5400
|
+
headers: {
|
|
5401
|
+
[name: string]: unknown;
|
|
5402
|
+
};
|
|
5403
|
+
content: {
|
|
5404
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5405
|
+
};
|
|
5406
|
+
};
|
|
5407
|
+
};
|
|
5408
|
+
};
|
|
5399
5409
|
getAllForCurrentUser: {
|
|
5400
5410
|
parameters: {
|
|
5401
5411
|
query?: never;
|
|
@@ -8433,7 +8443,6 @@ export declare enum ApiPaths {
|
|
|
8433
8443
|
getErrorUncaught = "/error-uncaught",
|
|
8434
8444
|
postUserRegistration = "/users/user-registered-cloud-fn-callback",
|
|
8435
8445
|
getGameById = "/games/{gameId}",
|
|
8436
|
-
getNearbyGamesDeprecated = "/nearby-games",
|
|
8437
8446
|
getNearbyGamesByLocation = "/nearby-games/locations",
|
|
8438
8447
|
getNearbyGamesList = "/nearby-games/list",
|
|
8439
8448
|
getLocationGames = "/location/{locationId}/games",
|
|
@@ -8473,6 +8482,7 @@ export declare enum ApiPaths {
|
|
|
8473
8482
|
getUserPenalties = "/user/{userId}/penalty",
|
|
8474
8483
|
createPenalty = "/user/{userId}/penalty",
|
|
8475
8484
|
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8485
|
+
getMyGames = "/my-games",
|
|
8476
8486
|
getAllForCurrentUser = "/user-notifications",
|
|
8477
8487
|
markAsRead = "/user-notifications",
|
|
8478
8488
|
markAsReadClicked = "/user-notifications/{notificationId}/mark-as-clicked",
|
package/dist/api.js
CHANGED
|
@@ -327,7 +327,6 @@ var ApiPaths;
|
|
|
327
327
|
ApiPaths["getErrorUncaught"] = "/error-uncaught";
|
|
328
328
|
ApiPaths["postUserRegistration"] = "/users/user-registered-cloud-fn-callback";
|
|
329
329
|
ApiPaths["getGameById"] = "/games/{gameId}";
|
|
330
|
-
ApiPaths["getNearbyGamesDeprecated"] = "/nearby-games";
|
|
331
330
|
ApiPaths["getNearbyGamesByLocation"] = "/nearby-games/locations";
|
|
332
331
|
ApiPaths["getNearbyGamesList"] = "/nearby-games/list";
|
|
333
332
|
ApiPaths["getLocationGames"] = "/location/{locationId}/games";
|
|
@@ -367,6 +366,7 @@ var ApiPaths;
|
|
|
367
366
|
ApiPaths["getUserPenalties"] = "/user/{userId}/penalty";
|
|
368
367
|
ApiPaths["createPenalty"] = "/user/{userId}/penalty";
|
|
369
368
|
ApiPaths["revokePenalty"] = "/penalties/{userPenaltyId}";
|
|
369
|
+
ApiPaths["getMyGames"] = "/my-games";
|
|
370
370
|
ApiPaths["getAllForCurrentUser"] = "/user-notifications";
|
|
371
371
|
ApiPaths["markAsRead"] = "/user-notifications";
|
|
372
372
|
ApiPaths["markAsReadClicked"] = "/user-notifications/{notificationId}/mark-as-clicked";
|