@orlikfy/api-interfaces 6.1.11 → 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 +1 -0
- package/dist/api.d.ts +67 -0
- package/dist/api.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ export interface paths {
|
|
|
147
147
|
path?: never;
|
|
148
148
|
cookie?: never;
|
|
149
149
|
};
|
|
150
|
+
/** @deprecated */
|
|
150
151
|
get: operations["getPlayerGamesFuture"];
|
|
151
152
|
put?: never;
|
|
152
153
|
post?: never;
|
|
@@ -163,6 +164,7 @@ export interface paths {
|
|
|
163
164
|
path?: never;
|
|
164
165
|
cookie?: never;
|
|
165
166
|
};
|
|
167
|
+
/** @deprecated */
|
|
166
168
|
get: operations["getPlayerGamesPast"];
|
|
167
169
|
put?: never;
|
|
168
170
|
post?: never;
|
|
@@ -560,6 +562,7 @@ export interface paths {
|
|
|
560
562
|
path?: never;
|
|
561
563
|
cookie?: never;
|
|
562
564
|
};
|
|
565
|
+
/** @deprecated */
|
|
563
566
|
get: operations["getUserHostedGamesFuture"];
|
|
564
567
|
put?: never;
|
|
565
568
|
post?: never;
|
|
@@ -576,6 +579,7 @@ export interface paths {
|
|
|
576
579
|
path?: never;
|
|
577
580
|
cookie?: never;
|
|
578
581
|
};
|
|
582
|
+
/** @deprecated */
|
|
579
583
|
get: operations["getUserHostedGamesPast"];
|
|
580
584
|
put?: never;
|
|
581
585
|
post?: never;
|
|
@@ -643,6 +647,22 @@ export interface paths {
|
|
|
643
647
|
patch?: never;
|
|
644
648
|
trace?: never;
|
|
645
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
|
+
};
|
|
646
666
|
"/user-notifications": {
|
|
647
667
|
parameters: {
|
|
648
668
|
query?: never;
|
|
@@ -2538,6 +2558,15 @@ export interface components {
|
|
|
2538
2558
|
/** Format: date-time */
|
|
2539
2559
|
revokedAt: string;
|
|
2540
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
|
+
};
|
|
2541
2570
|
/** @enum {string} */
|
|
2542
2571
|
NotificationType: NotificationType;
|
|
2543
2572
|
TestNotificationPayload: {
|
|
@@ -3543,6 +3572,8 @@ export type GetGameFbGroupsDto = components['schemas']['GetGameFbGroupsDto'];
|
|
|
3543
3572
|
export type GetUserPenaltiesDto = components['schemas']['GetUserPenaltiesDto'];
|
|
3544
3573
|
export type CreateUserPenaltyDto = components['schemas']['CreateUserPenaltyDto'];
|
|
3545
3574
|
export type RevokeUserPenaltyResponseDto = components['schemas']['RevokeUserPenaltyResponseDto'];
|
|
3575
|
+
export type MyGamesPlayerDto = components['schemas']['MyGamesPlayerDto'];
|
|
3576
|
+
export type MyGamesDto = components['schemas']['MyGamesDto'];
|
|
3546
3577
|
export type TestNotificationPayload = components['schemas']['TestNotificationPayload'];
|
|
3547
3578
|
export type GameApplicationApprovedNotificationPayload = components['schemas']['GameApplicationApprovedNotificationPayload'];
|
|
3548
3579
|
export type GameApplicationRejectedNotificationPayload = components['schemas']['GameApplicationRejectedNotificationPayload'];
|
|
@@ -5340,6 +5371,41 @@ export interface operations {
|
|
|
5340
5371
|
};
|
|
5341
5372
|
};
|
|
5342
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
|
+
};
|
|
5343
5409
|
getAllForCurrentUser: {
|
|
5344
5410
|
parameters: {
|
|
5345
5411
|
query?: never;
|
|
@@ -8416,6 +8482,7 @@ export declare enum ApiPaths {
|
|
|
8416
8482
|
getUserPenalties = "/user/{userId}/penalty",
|
|
8417
8483
|
createPenalty = "/user/{userId}/penalty",
|
|
8418
8484
|
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8485
|
+
getMyGames = "/my-games",
|
|
8419
8486
|
getAllForCurrentUser = "/user-notifications",
|
|
8420
8487
|
markAsRead = "/user-notifications",
|
|
8421
8488
|
markAsReadClicked = "/user-notifications/{notificationId}/mark-as-clicked",
|
package/dist/api.js
CHANGED
|
@@ -366,6 +366,7 @@ var ApiPaths;
|
|
|
366
366
|
ApiPaths["getUserPenalties"] = "/user/{userId}/penalty";
|
|
367
367
|
ApiPaths["createPenalty"] = "/user/{userId}/penalty";
|
|
368
368
|
ApiPaths["revokePenalty"] = "/penalties/{userPenaltyId}";
|
|
369
|
+
ApiPaths["getMyGames"] = "/my-games";
|
|
369
370
|
ApiPaths["getAllForCurrentUser"] = "/user-notifications";
|
|
370
371
|
ApiPaths["markAsRead"] = "/user-notifications";
|
|
371
372
|
ApiPaths["markAsReadClicked"] = "/user-notifications/{notificationId}/mark-as-clicked";
|