@orlikfy/api-interfaces 6.1.7 → 6.1.9
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 +201 -88
- package/dist/api.js +12 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1151,6 +1151,25 @@ export interface paths {
|
|
|
1151
1151
|
patch?: never;
|
|
1152
1152
|
trace?: never;
|
|
1153
1153
|
};
|
|
1154
|
+
"/chat/channel/single/{userId}": {
|
|
1155
|
+
parameters: {
|
|
1156
|
+
query?: never;
|
|
1157
|
+
header?: never;
|
|
1158
|
+
path: {
|
|
1159
|
+
userId: string;
|
|
1160
|
+
};
|
|
1161
|
+
cookie?: never;
|
|
1162
|
+
};
|
|
1163
|
+
/** getSingleChannel */
|
|
1164
|
+
get: operations["getSingleChannel"];
|
|
1165
|
+
put?: never;
|
|
1166
|
+
post?: never;
|
|
1167
|
+
delete?: never;
|
|
1168
|
+
options?: never;
|
|
1169
|
+
head?: never;
|
|
1170
|
+
patch?: never;
|
|
1171
|
+
trace?: never;
|
|
1172
|
+
};
|
|
1154
1173
|
"/chat/channel/single": {
|
|
1155
1174
|
parameters: {
|
|
1156
1175
|
query?: never;
|
|
@@ -1668,6 +1687,23 @@ export interface paths {
|
|
|
1668
1687
|
patch?: never;
|
|
1669
1688
|
trace?: never;
|
|
1670
1689
|
};
|
|
1690
|
+
"/auth/check-auth-method": {
|
|
1691
|
+
parameters: {
|
|
1692
|
+
query?: never;
|
|
1693
|
+
header?: never;
|
|
1694
|
+
path?: never;
|
|
1695
|
+
cookie?: never;
|
|
1696
|
+
};
|
|
1697
|
+
get?: never;
|
|
1698
|
+
put?: never;
|
|
1699
|
+
/** checkAuthMethod */
|
|
1700
|
+
post: operations["checkAuthMethod"];
|
|
1701
|
+
delete?: never;
|
|
1702
|
+
options?: never;
|
|
1703
|
+
head?: never;
|
|
1704
|
+
patch?: never;
|
|
1705
|
+
trace?: never;
|
|
1706
|
+
};
|
|
1671
1707
|
"/hosted-games/{hostedGameId}/reassign/create-reassign-token": {
|
|
1672
1708
|
parameters: {
|
|
1673
1709
|
query?: never;
|
|
@@ -1771,6 +1807,22 @@ export interface paths {
|
|
|
1771
1807
|
patch?: never;
|
|
1772
1808
|
trace?: never;
|
|
1773
1809
|
};
|
|
1810
|
+
"/notification-archival/run": {
|
|
1811
|
+
parameters: {
|
|
1812
|
+
query?: never;
|
|
1813
|
+
header?: never;
|
|
1814
|
+
path?: never;
|
|
1815
|
+
cookie?: never;
|
|
1816
|
+
};
|
|
1817
|
+
get?: never;
|
|
1818
|
+
put?: never;
|
|
1819
|
+
post: operations["run"];
|
|
1820
|
+
delete?: never;
|
|
1821
|
+
options?: never;
|
|
1822
|
+
head?: never;
|
|
1823
|
+
patch?: never;
|
|
1824
|
+
trace?: never;
|
|
1825
|
+
};
|
|
1774
1826
|
"/games/{gameId}/history": {
|
|
1775
1827
|
parameters: {
|
|
1776
1828
|
query?: never;
|
|
@@ -2220,6 +2272,7 @@ export interface components {
|
|
|
2220
2272
|
thumbnail?: string;
|
|
2221
2273
|
preferredPosition?: components["schemas"]["AppPreferredPlayerPosition"] | null;
|
|
2222
2274
|
preferredLevel?: components["schemas"]["AppGameLevel"] | null;
|
|
2275
|
+
/** @deprecated */
|
|
2223
2276
|
profileType?: components["schemas"]["AppProfileType"];
|
|
2224
2277
|
};
|
|
2225
2278
|
SetLanguageDto: {
|
|
@@ -2528,7 +2581,7 @@ export interface components {
|
|
|
2528
2581
|
gameName: string;
|
|
2529
2582
|
gameWeekday: string;
|
|
2530
2583
|
};
|
|
2531
|
-
|
|
2584
|
+
GameFinishedNotificationPayload: {
|
|
2532
2585
|
notificationId: string;
|
|
2533
2586
|
notificationType: components["schemas"]["NotificationType"];
|
|
2534
2587
|
thumbnailUrl: string | null;
|
|
@@ -2543,7 +2596,7 @@ export interface components {
|
|
|
2543
2596
|
gameName: string;
|
|
2544
2597
|
gameWeekday: string;
|
|
2545
2598
|
};
|
|
2546
|
-
|
|
2599
|
+
GameCanceledNotificationPayload: {
|
|
2547
2600
|
notificationId: string;
|
|
2548
2601
|
notificationType: components["schemas"]["NotificationType"];
|
|
2549
2602
|
thumbnailUrl: string | null;
|
|
@@ -2558,7 +2611,7 @@ export interface components {
|
|
|
2558
2611
|
gameName: string;
|
|
2559
2612
|
gameWeekday: string;
|
|
2560
2613
|
};
|
|
2561
|
-
|
|
2614
|
+
GamePlayerRemovedByHostNotificationPayload: {
|
|
2562
2615
|
notificationId: string;
|
|
2563
2616
|
notificationType: components["schemas"]["NotificationType"];
|
|
2564
2617
|
thumbnailUrl: string | null;
|
|
@@ -2573,7 +2626,7 @@ export interface components {
|
|
|
2573
2626
|
gameName: string;
|
|
2574
2627
|
gameWeekday: string;
|
|
2575
2628
|
};
|
|
2576
|
-
|
|
2629
|
+
GameLineupsCreatedNotificationPayload: {
|
|
2577
2630
|
notificationId: string;
|
|
2578
2631
|
notificationType: components["schemas"]["NotificationType"];
|
|
2579
2632
|
thumbnailUrl: string | null;
|
|
@@ -2588,7 +2641,7 @@ export interface components {
|
|
|
2588
2641
|
gameName: string;
|
|
2589
2642
|
gameWeekday: string;
|
|
2590
2643
|
};
|
|
2591
|
-
|
|
2644
|
+
NewGameByAlertNotificationPayload: {
|
|
2592
2645
|
notificationId: string;
|
|
2593
2646
|
notificationType: components["schemas"]["NotificationType"];
|
|
2594
2647
|
thumbnailUrl: string | null;
|
|
@@ -2603,7 +2656,7 @@ export interface components {
|
|
|
2603
2656
|
gameName: string;
|
|
2604
2657
|
gameWeekday: string;
|
|
2605
2658
|
};
|
|
2606
|
-
|
|
2659
|
+
GameUpdatedNotificationPayload: {
|
|
2607
2660
|
notificationId: string;
|
|
2608
2661
|
notificationType: components["schemas"]["NotificationType"];
|
|
2609
2662
|
thumbnailUrl: string | null;
|
|
@@ -2685,21 +2738,6 @@ export interface components {
|
|
|
2685
2738
|
gameName: string;
|
|
2686
2739
|
gameWeekday: string;
|
|
2687
2740
|
};
|
|
2688
|
-
HostedGameReminderNotificationPayload: {
|
|
2689
|
-
notificationId: string;
|
|
2690
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2691
|
-
thumbnailUrl: string | null;
|
|
2692
|
-
displayName: string;
|
|
2693
|
-
receiverUserId: string;
|
|
2694
|
-
title?: string;
|
|
2695
|
-
body?: string;
|
|
2696
|
-
gameId: string;
|
|
2697
|
-
gameAddress: string;
|
|
2698
|
-
gameDate: string;
|
|
2699
|
-
gameHours: string;
|
|
2700
|
-
gameName: string;
|
|
2701
|
-
gameWeekday: string;
|
|
2702
|
-
};
|
|
2703
2741
|
/** @enum {string} */
|
|
2704
2742
|
chatChannelType: ChatChannelType;
|
|
2705
2743
|
ChatNewMessageNotificationPayload: {
|
|
@@ -2798,15 +2836,6 @@ export interface components {
|
|
|
2798
2836
|
body?: string;
|
|
2799
2837
|
referrerId: string;
|
|
2800
2838
|
};
|
|
2801
|
-
ActionPushPlayerCollectPointsPayload: {
|
|
2802
|
-
notificationId: string;
|
|
2803
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2804
|
-
thumbnailUrl: string | null;
|
|
2805
|
-
displayName: string;
|
|
2806
|
-
receiverUserId: string;
|
|
2807
|
-
title?: string;
|
|
2808
|
-
body?: string;
|
|
2809
|
-
};
|
|
2810
2839
|
ActionPushPlayerInvitePlayersPayload: {
|
|
2811
2840
|
notificationId: string;
|
|
2812
2841
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2825,15 +2854,6 @@ export interface components {
|
|
|
2825
2854
|
title?: string;
|
|
2826
2855
|
body?: string;
|
|
2827
2856
|
};
|
|
2828
|
-
ActionPushPlayerAchievementsPayload: {
|
|
2829
|
-
notificationId: string;
|
|
2830
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2831
|
-
thumbnailUrl: string | null;
|
|
2832
|
-
displayName: string;
|
|
2833
|
-
receiverUserId: string;
|
|
2834
|
-
title?: string;
|
|
2835
|
-
body?: string;
|
|
2836
|
-
};
|
|
2837
2857
|
ActionPushPlayerInactive2Payload: {
|
|
2838
2858
|
notificationId: string;
|
|
2839
2859
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2861,42 +2881,6 @@ export interface components {
|
|
|
2861
2881
|
title?: string;
|
|
2862
2882
|
body?: string;
|
|
2863
2883
|
};
|
|
2864
|
-
ActionPushHostCollectPointsPayload: {
|
|
2865
|
-
notificationId: string;
|
|
2866
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2867
|
-
thumbnailUrl: string | null;
|
|
2868
|
-
displayName: string;
|
|
2869
|
-
receiverUserId: string;
|
|
2870
|
-
title?: string;
|
|
2871
|
-
body?: string;
|
|
2872
|
-
};
|
|
2873
|
-
ActionPushHostInvitePlayersPayload: {
|
|
2874
|
-
notificationId: string;
|
|
2875
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2876
|
-
thumbnailUrl: string | null;
|
|
2877
|
-
displayName: string;
|
|
2878
|
-
receiverUserId: string;
|
|
2879
|
-
title?: string;
|
|
2880
|
-
body?: string;
|
|
2881
|
-
};
|
|
2882
|
-
ActionPushHostInactivePayload: {
|
|
2883
|
-
notificationId: string;
|
|
2884
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2885
|
-
thumbnailUrl: string | null;
|
|
2886
|
-
displayName: string;
|
|
2887
|
-
receiverUserId: string;
|
|
2888
|
-
title?: string;
|
|
2889
|
-
body?: string;
|
|
2890
|
-
};
|
|
2891
|
-
ActionPushHostAchievementsPayload: {
|
|
2892
|
-
notificationId: string;
|
|
2893
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2894
|
-
thumbnailUrl: string | null;
|
|
2895
|
-
displayName: string;
|
|
2896
|
-
receiverUserId: string;
|
|
2897
|
-
title?: string;
|
|
2898
|
-
body?: string;
|
|
2899
|
-
};
|
|
2900
2884
|
ActionPushHostTeamsDrawingPayload: {
|
|
2901
2885
|
notificationId: string;
|
|
2902
2886
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2943,10 +2927,12 @@ export interface components {
|
|
|
2943
2927
|
sentAt: string | null;
|
|
2944
2928
|
isRead: boolean;
|
|
2945
2929
|
notificationType: components["schemas"]["notificationTypes"];
|
|
2946
|
-
payload: components["schemas"]["TestNotificationPayload"] | components["schemas"]["GameApplicationApprovedNotificationPayload"] | components["schemas"]["GameApplicationRejectedNotificationPayload"] | components["schemas"]["GameInvitationReceivedNotificationPayload"] | components["schemas"]["
|
|
2930
|
+
payload: components["schemas"]["TestNotificationPayload"] | components["schemas"]["GameApplicationApprovedNotificationPayload"] | components["schemas"]["GameApplicationRejectedNotificationPayload"] | components["schemas"]["GameInvitationReceivedNotificationPayload"] | components["schemas"]["GameFinishedNotificationPayload"] | components["schemas"]["GameCanceledNotificationPayload"] | components["schemas"]["GamePlayerRemovedByHostNotificationPayload"] | components["schemas"]["GameLineupsCreatedNotificationPayload"] | components["schemas"]["NewGameByAlertNotificationPayload"] | components["schemas"]["GameUpdatedNotificationPayload"] | components["schemas"]["HostedGameNewApplicationNotificationPayload"] | components["schemas"]["HostedGamePlayerLeftNotificationPayload"] | components["schemas"]["HostedGamePlayerAutoApprovedNotificationPayload"] | components["schemas"]["HostedGameFinishedNotificationPayload"] | components["schemas"]["ChatNewMessageNotificationPayload"] | components["schemas"]["CustomNotificationPayload"] | components["schemas"]["TeamMemberAddedByHostNotificationPayload"] | components["schemas"]["UserPenaltyReceivedNotificationPayload"] | components["schemas"]["UserPenaltyRevokedNotificationPayload"] | components["schemas"]["NewTrophyReceivedNotificationPayload"] | components["schemas"]["NewCommentReceivedNotificationPayload"] | components["schemas"]["UserReferralReceivedNotificationPayload"] | components["schemas"]["ActionPushPlayerInvitePlayersPayload"] | components["schemas"]["ActionPushPlayerInactivePayload"] | components["schemas"]["ActionPushPlayerInactive2Payload"] | components["schemas"]["ActionPushPlayerAlertsPayload"] | components["schemas"]["ActionPushPlayerCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostTeamsDrawingPayload"] | components["schemas"]["ActionPushHostCommentsAndPenaltiesPayload"] | components["schemas"]["ActionPushHostCreateGroupPayload"] | components["schemas"]["ActionPushHostInvitePreviousPlayersPayload"];
|
|
2947
2931
|
};
|
|
2948
2932
|
GetUserNotificationsDto: {
|
|
2949
2933
|
notifications: components["schemas"]["NotificationDto"][];
|
|
2934
|
+
notificationsWithoutAlerts: components["schemas"]["NotificationDto"][];
|
|
2935
|
+
alerts: components["schemas"]["NotificationDto"][];
|
|
2950
2936
|
};
|
|
2951
2937
|
MarkNotificationsAsReadDto: {
|
|
2952
2938
|
notificationIds: string[];
|
|
@@ -3219,9 +3205,6 @@ export interface components {
|
|
|
3219
3205
|
chatUserExternalId: string;
|
|
3220
3206
|
token: string | null;
|
|
3221
3207
|
};
|
|
3222
|
-
CreateOrGetSingleChannelDto: {
|
|
3223
|
-
userId: string;
|
|
3224
|
-
};
|
|
3225
3208
|
SingleChannelMemberDto: {
|
|
3226
3209
|
userId: string;
|
|
3227
3210
|
displayName: string;
|
|
@@ -3234,6 +3217,9 @@ export interface components {
|
|
|
3234
3217
|
channelExternalId: string;
|
|
3235
3218
|
member: components["schemas"]["SingleChannelMemberDto"];
|
|
3236
3219
|
};
|
|
3220
|
+
CreateOrGetSingleChannelDto: {
|
|
3221
|
+
userId: string;
|
|
3222
|
+
};
|
|
3237
3223
|
CreatedGamePlayerApplicationDto: {
|
|
3238
3224
|
gamePlayerApplicationId: string;
|
|
3239
3225
|
autoApproved: boolean;
|
|
@@ -3410,6 +3396,17 @@ export interface components {
|
|
|
3410
3396
|
coordinates: components["schemas"]["CoordinatesDto"];
|
|
3411
3397
|
region: components["schemas"]["RegionDto"] | null;
|
|
3412
3398
|
};
|
|
3399
|
+
CheckAuthMethodDto: {
|
|
3400
|
+
/** @example user@example.com */
|
|
3401
|
+
email: string;
|
|
3402
|
+
};
|
|
3403
|
+
/** @enum {string} */
|
|
3404
|
+
AuthProvider: AuthProvider;
|
|
3405
|
+
CheckAuthMethodResponseDto: {
|
|
3406
|
+
exists: boolean;
|
|
3407
|
+
isRegisteredInApp: boolean;
|
|
3408
|
+
authProviders: components["schemas"]["AuthProvider"][];
|
|
3409
|
+
};
|
|
3413
3410
|
CreateReassignTokenResponseDto: {
|
|
3414
3411
|
token: string;
|
|
3415
3412
|
frontendURL: string;
|
|
@@ -3516,17 +3513,16 @@ export type TestNotificationPayload = components['schemas']['TestNotificationPay
|
|
|
3516
3513
|
export type GameApplicationApprovedNotificationPayload = components['schemas']['GameApplicationApprovedNotificationPayload'];
|
|
3517
3514
|
export type GameApplicationRejectedNotificationPayload = components['schemas']['GameApplicationRejectedNotificationPayload'];
|
|
3518
3515
|
export type GameInvitationReceivedNotificationPayload = components['schemas']['GameInvitationReceivedNotificationPayload'];
|
|
3519
|
-
export type GameReminderNotificationPayload = components['schemas']['GameReminderNotificationPayload'];
|
|
3520
3516
|
export type GameFinishedNotificationPayload = components['schemas']['GameFinishedNotificationPayload'];
|
|
3521
3517
|
export type GameCanceledNotificationPayload = components['schemas']['GameCanceledNotificationPayload'];
|
|
3522
3518
|
export type GamePlayerRemovedByHostNotificationPayload = components['schemas']['GamePlayerRemovedByHostNotificationPayload'];
|
|
3523
3519
|
export type GameLineupsCreatedNotificationPayload = components['schemas']['GameLineupsCreatedNotificationPayload'];
|
|
3524
3520
|
export type NewGameByAlertNotificationPayload = components['schemas']['NewGameByAlertNotificationPayload'];
|
|
3521
|
+
export type GameUpdatedNotificationPayload = components['schemas']['GameUpdatedNotificationPayload'];
|
|
3525
3522
|
export type HostedGameNewApplicationNotificationPayload = components['schemas']['HostedGameNewApplicationNotificationPayload'];
|
|
3526
3523
|
export type HostedGamePlayerLeftNotificationPayload = components['schemas']['HostedGamePlayerLeftNotificationPayload'];
|
|
3527
3524
|
export type HostedGamePlayerAutoApprovedNotificationPayload = components['schemas']['HostedGamePlayerAutoApprovedNotificationPayload'];
|
|
3528
3525
|
export type HostedGameFinishedNotificationPayload = components['schemas']['HostedGameFinishedNotificationPayload'];
|
|
3529
|
-
export type HostedGameReminderNotificationPayload = components['schemas']['HostedGameReminderNotificationPayload'];
|
|
3530
3526
|
export type ChatNewMessageNotificationPayload = components['schemas']['ChatNewMessageNotificationPayload'];
|
|
3531
3527
|
export type CustomNotificationPayload = components['schemas']['CustomNotificationPayload'];
|
|
3532
3528
|
export type TeamMemberAddedByHostNotificationPayload = components['schemas']['TeamMemberAddedByHostNotificationPayload'];
|
|
@@ -3535,17 +3531,11 @@ export type UserPenaltyRevokedNotificationPayload = components['schemas']['UserP
|
|
|
3535
3531
|
export type NewTrophyReceivedNotificationPayload = components['schemas']['NewTrophyReceivedNotificationPayload'];
|
|
3536
3532
|
export type NewCommentReceivedNotificationPayload = components['schemas']['NewCommentReceivedNotificationPayload'];
|
|
3537
3533
|
export type UserReferralReceivedNotificationPayload = components['schemas']['UserReferralReceivedNotificationPayload'];
|
|
3538
|
-
export type ActionPushPlayerCollectPointsPayload = components['schemas']['ActionPushPlayerCollectPointsPayload'];
|
|
3539
3534
|
export type ActionPushPlayerInvitePlayersPayload = components['schemas']['ActionPushPlayerInvitePlayersPayload'];
|
|
3540
3535
|
export type ActionPushPlayerInactivePayload = components['schemas']['ActionPushPlayerInactivePayload'];
|
|
3541
|
-
export type ActionPushPlayerAchievementsPayload = components['schemas']['ActionPushPlayerAchievementsPayload'];
|
|
3542
3536
|
export type ActionPushPlayerInactive2Payload = components['schemas']['ActionPushPlayerInactive2Payload'];
|
|
3543
3537
|
export type ActionPushPlayerAlertsPayload = components['schemas']['ActionPushPlayerAlertsPayload'];
|
|
3544
3538
|
export type ActionPushPlayerCommentsAndPenaltiesPayload = components['schemas']['ActionPushPlayerCommentsAndPenaltiesPayload'];
|
|
3545
|
-
export type ActionPushHostCollectPointsPayload = components['schemas']['ActionPushHostCollectPointsPayload'];
|
|
3546
|
-
export type ActionPushHostInvitePlayersPayload = components['schemas']['ActionPushHostInvitePlayersPayload'];
|
|
3547
|
-
export type ActionPushHostInactivePayload = components['schemas']['ActionPushHostInactivePayload'];
|
|
3548
|
-
export type ActionPushHostAchievementsPayload = components['schemas']['ActionPushHostAchievementsPayload'];
|
|
3549
3539
|
export type ActionPushHostTeamsDrawingPayload = components['schemas']['ActionPushHostTeamsDrawingPayload'];
|
|
3550
3540
|
export type ActionPushHostCommentsAndPenaltiesPayload = components['schemas']['ActionPushHostCommentsAndPenaltiesPayload'];
|
|
3551
3541
|
export type ActionPushHostCreateGroupPayload = components['schemas']['ActionPushHostCreateGroupPayload'];
|
|
@@ -3589,9 +3579,9 @@ export type GetChannelMembersDto = components['schemas']['GetChannelMembersDto']
|
|
|
3589
3579
|
export type SetChannelMutedDto = components['schemas']['SetChannelMutedDto'];
|
|
3590
3580
|
export type UpdateChannelDetailsDto = components['schemas']['UpdateChannelDetailsDto'];
|
|
3591
3581
|
export type GetMyChatUserDto = components['schemas']['GetMyChatUserDto'];
|
|
3592
|
-
export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
|
|
3593
3582
|
export type SingleChannelMemberDto = components['schemas']['SingleChannelMemberDto'];
|
|
3594
3583
|
export type SingleChannelDto = components['schemas']['SingleChannelDto'];
|
|
3584
|
+
export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
|
|
3595
3585
|
export type CreatedGamePlayerApplicationDto = components['schemas']['CreatedGamePlayerApplicationDto'];
|
|
3596
3586
|
export type RejectManyGamePlayerApplicationsDto = components['schemas']['RejectManyGamePlayerApplicationsDto'];
|
|
3597
3587
|
export type ApproveManyGamePlayerApplicationsDto = components['schemas']['ApproveManyGamePlayerApplicationsDto'];
|
|
@@ -3625,6 +3615,8 @@ export type UserRankDto = components['schemas']['UserRankDto'];
|
|
|
3625
3615
|
export type UsersTopRankDto = components['schemas']['UsersTopRankDto'];
|
|
3626
3616
|
export type UpdateUserLocationDto = components['schemas']['UpdateUserLocationDto'];
|
|
3627
3617
|
export type UserLocationDto = components['schemas']['UserLocationDto'];
|
|
3618
|
+
export type CheckAuthMethodDto = components['schemas']['CheckAuthMethodDto'];
|
|
3619
|
+
export type CheckAuthMethodResponseDto = components['schemas']['CheckAuthMethodResponseDto'];
|
|
3628
3620
|
export type CreateReassignTokenResponseDto = components['schemas']['CreateReassignTokenResponseDto'];
|
|
3629
3621
|
export type InactiveUsersNotificationResponseDto = components['schemas']['InactiveUsersNotificationResponseDto'];
|
|
3630
3622
|
export type ActivityHistoryEntryDto = components['schemas']['ActivityHistoryEntryDto'];
|
|
@@ -6418,6 +6410,43 @@ export interface operations {
|
|
|
6418
6410
|
};
|
|
6419
6411
|
};
|
|
6420
6412
|
};
|
|
6413
|
+
getSingleChannel: {
|
|
6414
|
+
parameters: {
|
|
6415
|
+
query?: never;
|
|
6416
|
+
header?: {
|
|
6417
|
+
/** @description Request trace id for logs */
|
|
6418
|
+
"x-trace-request-id"?: string;
|
|
6419
|
+
/** @description Session trace id for logs */
|
|
6420
|
+
"x-trace-session-id"?: string;
|
|
6421
|
+
/** @description IANA Timezone */
|
|
6422
|
+
"x-timezone"?: string;
|
|
6423
|
+
};
|
|
6424
|
+
path: {
|
|
6425
|
+
userId: string;
|
|
6426
|
+
};
|
|
6427
|
+
cookie?: never;
|
|
6428
|
+
};
|
|
6429
|
+
requestBody?: never;
|
|
6430
|
+
responses: {
|
|
6431
|
+
200: {
|
|
6432
|
+
headers: {
|
|
6433
|
+
[name: string]: unknown;
|
|
6434
|
+
};
|
|
6435
|
+
content: {
|
|
6436
|
+
"application/json": components["schemas"]["SingleChannelDto"];
|
|
6437
|
+
};
|
|
6438
|
+
};
|
|
6439
|
+
/** @description Application Error */
|
|
6440
|
+
500: {
|
|
6441
|
+
headers: {
|
|
6442
|
+
[name: string]: unknown;
|
|
6443
|
+
};
|
|
6444
|
+
content: {
|
|
6445
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6446
|
+
};
|
|
6447
|
+
};
|
|
6448
|
+
};
|
|
6449
|
+
};
|
|
6421
6450
|
createOrGetSingleChannel: {
|
|
6422
6451
|
parameters: {
|
|
6423
6452
|
query?: never;
|
|
@@ -7639,6 +7668,45 @@ export interface operations {
|
|
|
7639
7668
|
};
|
|
7640
7669
|
};
|
|
7641
7670
|
};
|
|
7671
|
+
checkAuthMethod: {
|
|
7672
|
+
parameters: {
|
|
7673
|
+
query?: never;
|
|
7674
|
+
header?: {
|
|
7675
|
+
/** @description Request trace id for logs */
|
|
7676
|
+
"x-trace-request-id"?: string;
|
|
7677
|
+
/** @description Session trace id for logs */
|
|
7678
|
+
"x-trace-session-id"?: string;
|
|
7679
|
+
/** @description IANA Timezone */
|
|
7680
|
+
"x-timezone"?: string;
|
|
7681
|
+
};
|
|
7682
|
+
path?: never;
|
|
7683
|
+
cookie?: never;
|
|
7684
|
+
};
|
|
7685
|
+
requestBody: {
|
|
7686
|
+
content: {
|
|
7687
|
+
"application/json": components["schemas"]["CheckAuthMethodDto"];
|
|
7688
|
+
};
|
|
7689
|
+
};
|
|
7690
|
+
responses: {
|
|
7691
|
+
200: {
|
|
7692
|
+
headers: {
|
|
7693
|
+
[name: string]: unknown;
|
|
7694
|
+
};
|
|
7695
|
+
content: {
|
|
7696
|
+
"application/json": components["schemas"]["CheckAuthMethodResponseDto"];
|
|
7697
|
+
};
|
|
7698
|
+
};
|
|
7699
|
+
/** @description Application Error */
|
|
7700
|
+
500: {
|
|
7701
|
+
headers: {
|
|
7702
|
+
[name: string]: unknown;
|
|
7703
|
+
};
|
|
7704
|
+
content: {
|
|
7705
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7706
|
+
};
|
|
7707
|
+
};
|
|
7708
|
+
};
|
|
7709
|
+
};
|
|
7642
7710
|
generateReassignToken: {
|
|
7643
7711
|
parameters: {
|
|
7644
7712
|
query?: never;
|
|
@@ -7840,6 +7908,41 @@ export interface operations {
|
|
|
7840
7908
|
};
|
|
7841
7909
|
};
|
|
7842
7910
|
};
|
|
7911
|
+
run: {
|
|
7912
|
+
parameters: {
|
|
7913
|
+
query: {
|
|
7914
|
+
"api-key": string;
|
|
7915
|
+
};
|
|
7916
|
+
header?: {
|
|
7917
|
+
/** @description Request trace id for logs */
|
|
7918
|
+
"x-trace-request-id"?: string;
|
|
7919
|
+
/** @description Session trace id for logs */
|
|
7920
|
+
"x-trace-session-id"?: string;
|
|
7921
|
+
/** @description IANA Timezone */
|
|
7922
|
+
"x-timezone"?: string;
|
|
7923
|
+
};
|
|
7924
|
+
path?: never;
|
|
7925
|
+
cookie?: never;
|
|
7926
|
+
};
|
|
7927
|
+
requestBody?: never;
|
|
7928
|
+
responses: {
|
|
7929
|
+
201: {
|
|
7930
|
+
headers: {
|
|
7931
|
+
[name: string]: unknown;
|
|
7932
|
+
};
|
|
7933
|
+
content?: never;
|
|
7934
|
+
};
|
|
7935
|
+
/** @description Application Error */
|
|
7936
|
+
500: {
|
|
7937
|
+
headers: {
|
|
7938
|
+
[name: string]: unknown;
|
|
7939
|
+
};
|
|
7940
|
+
content: {
|
|
7941
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7942
|
+
};
|
|
7943
|
+
};
|
|
7944
|
+
};
|
|
7945
|
+
};
|
|
7843
7946
|
getGameHistory: {
|
|
7844
7947
|
parameters: {
|
|
7845
7948
|
query?: {
|
|
@@ -8049,6 +8152,7 @@ export declare enum NotificationType {
|
|
|
8049
8152
|
game_canceled = "game-canceled",
|
|
8050
8153
|
game_player_removed_by_host = "game-player-removed-by-host",
|
|
8051
8154
|
game_lineups_created = "game-lineups-created",
|
|
8155
|
+
game_updated = "game-updated",
|
|
8052
8156
|
hosted_game_new_application = "hosted-game-new-application",
|
|
8053
8157
|
hosted_game_player_left = "hosted-game-player-left",
|
|
8054
8158
|
hosted_game_player_auto_approved = "hosted-game-player-auto-approved",
|
|
@@ -8099,6 +8203,7 @@ export declare enum NotificationTypes {
|
|
|
8099
8203
|
game_canceled = "game-canceled",
|
|
8100
8204
|
game_player_removed_by_host = "game-player-removed-by-host",
|
|
8101
8205
|
game_lineups_created = "game-lineups-created",
|
|
8206
|
+
game_updated = "game-updated",
|
|
8102
8207
|
hosted_game_new_application = "hosted-game-new-application",
|
|
8103
8208
|
hosted_game_player_left = "hosted-game-player-left",
|
|
8104
8209
|
hosted_game_player_auto_approved = "hosted-game-player-auto-approved",
|
|
@@ -8174,6 +8279,11 @@ export declare enum AppTrophyType {
|
|
|
8174
8279
|
PLAYER_COMMENT_HELPFUL_10 = "PLAYER_COMMENT_HELPFUL_10",
|
|
8175
8280
|
PLAYER_COMMENT_SPRINTER_10 = "PLAYER_COMMENT_SPRINTER_10"
|
|
8176
8281
|
}
|
|
8282
|
+
export declare enum AuthProvider {
|
|
8283
|
+
EMAIL_PASSWORD = "EMAIL_PASSWORD",
|
|
8284
|
+
GOOGLE = "GOOGLE",
|
|
8285
|
+
APPLE = "APPLE"
|
|
8286
|
+
}
|
|
8177
8287
|
export declare enum ApiPaths {
|
|
8178
8288
|
getHello = "/hello",
|
|
8179
8289
|
getError = "/error",
|
|
@@ -8250,6 +8360,7 @@ export declare enum ApiPaths {
|
|
|
8250
8360
|
muteChannel = "/chat/channel/{channelId}/muted",
|
|
8251
8361
|
getMyChatUser = "/chat/user/me",
|
|
8252
8362
|
postChatWebook = "/chat/webhook",
|
|
8363
|
+
getSingleChannel = "/chat/channel/single/{userId}",
|
|
8253
8364
|
createOrGetSingleChannel = "/chat/channel/single",
|
|
8254
8365
|
cleanupUnreadMessages = "/chat-maintenance/cleanup-unread-messages",
|
|
8255
8366
|
postGameApplication = "/games/{gameId}/player-applications",
|
|
@@ -8284,12 +8395,14 @@ export declare enum ApiPaths {
|
|
|
8284
8395
|
getUserRank = "/user/{userId}/activity-rank",
|
|
8285
8396
|
getUsersTopRank = "/activity-rank/top",
|
|
8286
8397
|
updateUserLocation = "/users/location",
|
|
8398
|
+
checkAuthMethod = "/auth/check-auth-method",
|
|
8287
8399
|
generateReassignToken = "/hosted-games/{hostedGameId}/reassign/create-reassign-token",
|
|
8288
8400
|
reassignGameByToken = "/hosted-games/{hostedGameId}/reassign/{reassignToken}",
|
|
8289
8401
|
triggerInactiveUsersNotification = "/action-push/inactive-users-since-registered-notification",
|
|
8290
8402
|
triggerInactiveWithoutGameApplications = "/action-push/inactive-users-notification",
|
|
8291
8403
|
collect = "/kpi-snapshots/collect",
|
|
8292
8404
|
backfill = "/kpi-snapshots/backfill",
|
|
8405
|
+
run = "/notification-archival/run",
|
|
8293
8406
|
getGameHistory = "/games/{gameId}/history",
|
|
8294
8407
|
getTeamHistory = "/teams/{teamId}/history"
|
|
8295
8408
|
}
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Do not make direct changes to the file.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.ApiPaths = exports.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.PenaltyReason = exports.PenaltyType = exports.AppGameLevel = exports.AppLanguage = exports.AppProfileType = exports.Weekday = exports.GameLevelEnum = exports.AppGameLocationType = exports.AppPreferredPlayerPosition = exports.UserParticipationStatus = exports.Level = exports.PaymentTypes = exports.PriceCurrency = exports.Visibility = exports.KnownException = void 0;
|
|
7
|
+
exports.ApiPaths = exports.AuthProvider = exports.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.PenaltyReason = exports.PenaltyType = exports.AppGameLevel = exports.AppLanguage = exports.AppProfileType = exports.Weekday = exports.GameLevelEnum = exports.AppGameLocationType = exports.AppPreferredPlayerPosition = exports.UserParticipationStatus = exports.Level = exports.PaymentTypes = exports.PriceCurrency = exports.Visibility = exports.KnownException = void 0;
|
|
8
8
|
var KnownException;
|
|
9
9
|
(function (KnownException) {
|
|
10
10
|
KnownException["UserBanned"] = "UserBanned";
|
|
@@ -147,6 +147,7 @@ var NotificationType;
|
|
|
147
147
|
NotificationType["game_canceled"] = "game-canceled";
|
|
148
148
|
NotificationType["game_player_removed_by_host"] = "game-player-removed-by-host";
|
|
149
149
|
NotificationType["game_lineups_created"] = "game-lineups-created";
|
|
150
|
+
NotificationType["game_updated"] = "game-updated";
|
|
150
151
|
NotificationType["hosted_game_new_application"] = "hosted-game-new-application";
|
|
151
152
|
NotificationType["hosted_game_player_left"] = "hosted-game-player-left";
|
|
152
153
|
NotificationType["hosted_game_player_auto_approved"] = "hosted-game-player-auto-approved";
|
|
@@ -200,6 +201,7 @@ var NotificationTypes;
|
|
|
200
201
|
NotificationTypes["game_canceled"] = "game-canceled";
|
|
201
202
|
NotificationTypes["game_player_removed_by_host"] = "game-player-removed-by-host";
|
|
202
203
|
NotificationTypes["game_lineups_created"] = "game-lineups-created";
|
|
204
|
+
NotificationTypes["game_updated"] = "game-updated";
|
|
203
205
|
NotificationTypes["hosted_game_new_application"] = "hosted-game-new-application";
|
|
204
206
|
NotificationTypes["hosted_game_player_left"] = "hosted-game-player-left";
|
|
205
207
|
NotificationTypes["hosted_game_player_auto_approved"] = "hosted-game-player-auto-approved";
|
|
@@ -282,6 +284,12 @@ var AppTrophyType;
|
|
|
282
284
|
AppTrophyType["PLAYER_COMMENT_HELPFUL_10"] = "PLAYER_COMMENT_HELPFUL_10";
|
|
283
285
|
AppTrophyType["PLAYER_COMMENT_SPRINTER_10"] = "PLAYER_COMMENT_SPRINTER_10";
|
|
284
286
|
})(AppTrophyType || (exports.AppTrophyType = AppTrophyType = {}));
|
|
287
|
+
var AuthProvider;
|
|
288
|
+
(function (AuthProvider) {
|
|
289
|
+
AuthProvider["EMAIL_PASSWORD"] = "EMAIL_PASSWORD";
|
|
290
|
+
AuthProvider["GOOGLE"] = "GOOGLE";
|
|
291
|
+
AuthProvider["APPLE"] = "APPLE";
|
|
292
|
+
})(AuthProvider || (exports.AuthProvider = AuthProvider = {}));
|
|
285
293
|
var ApiPaths;
|
|
286
294
|
(function (ApiPaths) {
|
|
287
295
|
ApiPaths["getHello"] = "/hello";
|
|
@@ -359,6 +367,7 @@ var ApiPaths;
|
|
|
359
367
|
ApiPaths["muteChannel"] = "/chat/channel/{channelId}/muted";
|
|
360
368
|
ApiPaths["getMyChatUser"] = "/chat/user/me";
|
|
361
369
|
ApiPaths["postChatWebook"] = "/chat/webhook";
|
|
370
|
+
ApiPaths["getSingleChannel"] = "/chat/channel/single/{userId}";
|
|
362
371
|
ApiPaths["createOrGetSingleChannel"] = "/chat/channel/single";
|
|
363
372
|
ApiPaths["cleanupUnreadMessages"] = "/chat-maintenance/cleanup-unread-messages";
|
|
364
373
|
ApiPaths["postGameApplication"] = "/games/{gameId}/player-applications";
|
|
@@ -393,12 +402,14 @@ var ApiPaths;
|
|
|
393
402
|
ApiPaths["getUserRank"] = "/user/{userId}/activity-rank";
|
|
394
403
|
ApiPaths["getUsersTopRank"] = "/activity-rank/top";
|
|
395
404
|
ApiPaths["updateUserLocation"] = "/users/location";
|
|
405
|
+
ApiPaths["checkAuthMethod"] = "/auth/check-auth-method";
|
|
396
406
|
ApiPaths["generateReassignToken"] = "/hosted-games/{hostedGameId}/reassign/create-reassign-token";
|
|
397
407
|
ApiPaths["reassignGameByToken"] = "/hosted-games/{hostedGameId}/reassign/{reassignToken}";
|
|
398
408
|
ApiPaths["triggerInactiveUsersNotification"] = "/action-push/inactive-users-since-registered-notification";
|
|
399
409
|
ApiPaths["triggerInactiveWithoutGameApplications"] = "/action-push/inactive-users-notification";
|
|
400
410
|
ApiPaths["collect"] = "/kpi-snapshots/collect";
|
|
401
411
|
ApiPaths["backfill"] = "/kpi-snapshots/backfill";
|
|
412
|
+
ApiPaths["run"] = "/notification-archival/run";
|
|
402
413
|
ApiPaths["getGameHistory"] = "/games/{gameId}/history";
|
|
403
414
|
ApiPaths["getTeamHistory"] = "/teams/{teamId}/history";
|
|
404
415
|
})(ApiPaths || (exports.ApiPaths = ApiPaths = {}));
|