@orlikfy/api-interfaces 6.1.8 → 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 +126 -88
- package/dist/api.js +4 -0
- 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;
|
|
@@ -1788,6 +1807,22 @@ export interface paths {
|
|
|
1788
1807
|
patch?: never;
|
|
1789
1808
|
trace?: never;
|
|
1790
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
|
+
};
|
|
1791
1826
|
"/games/{gameId}/history": {
|
|
1792
1827
|
parameters: {
|
|
1793
1828
|
query?: never;
|
|
@@ -2237,6 +2272,7 @@ export interface components {
|
|
|
2237
2272
|
thumbnail?: string;
|
|
2238
2273
|
preferredPosition?: components["schemas"]["AppPreferredPlayerPosition"] | null;
|
|
2239
2274
|
preferredLevel?: components["schemas"]["AppGameLevel"] | null;
|
|
2275
|
+
/** @deprecated */
|
|
2240
2276
|
profileType?: components["schemas"]["AppProfileType"];
|
|
2241
2277
|
};
|
|
2242
2278
|
SetLanguageDto: {
|
|
@@ -2545,7 +2581,7 @@ export interface components {
|
|
|
2545
2581
|
gameName: string;
|
|
2546
2582
|
gameWeekday: string;
|
|
2547
2583
|
};
|
|
2548
|
-
|
|
2584
|
+
GameFinishedNotificationPayload: {
|
|
2549
2585
|
notificationId: string;
|
|
2550
2586
|
notificationType: components["schemas"]["NotificationType"];
|
|
2551
2587
|
thumbnailUrl: string | null;
|
|
@@ -2560,7 +2596,7 @@ export interface components {
|
|
|
2560
2596
|
gameName: string;
|
|
2561
2597
|
gameWeekday: string;
|
|
2562
2598
|
};
|
|
2563
|
-
|
|
2599
|
+
GameCanceledNotificationPayload: {
|
|
2564
2600
|
notificationId: string;
|
|
2565
2601
|
notificationType: components["schemas"]["NotificationType"];
|
|
2566
2602
|
thumbnailUrl: string | null;
|
|
@@ -2575,7 +2611,7 @@ export interface components {
|
|
|
2575
2611
|
gameName: string;
|
|
2576
2612
|
gameWeekday: string;
|
|
2577
2613
|
};
|
|
2578
|
-
|
|
2614
|
+
GamePlayerRemovedByHostNotificationPayload: {
|
|
2579
2615
|
notificationId: string;
|
|
2580
2616
|
notificationType: components["schemas"]["NotificationType"];
|
|
2581
2617
|
thumbnailUrl: string | null;
|
|
@@ -2590,7 +2626,7 @@ export interface components {
|
|
|
2590
2626
|
gameName: string;
|
|
2591
2627
|
gameWeekday: string;
|
|
2592
2628
|
};
|
|
2593
|
-
|
|
2629
|
+
GameLineupsCreatedNotificationPayload: {
|
|
2594
2630
|
notificationId: string;
|
|
2595
2631
|
notificationType: components["schemas"]["NotificationType"];
|
|
2596
2632
|
thumbnailUrl: string | null;
|
|
@@ -2605,7 +2641,7 @@ export interface components {
|
|
|
2605
2641
|
gameName: string;
|
|
2606
2642
|
gameWeekday: string;
|
|
2607
2643
|
};
|
|
2608
|
-
|
|
2644
|
+
NewGameByAlertNotificationPayload: {
|
|
2609
2645
|
notificationId: string;
|
|
2610
2646
|
notificationType: components["schemas"]["NotificationType"];
|
|
2611
2647
|
thumbnailUrl: string | null;
|
|
@@ -2620,7 +2656,7 @@ export interface components {
|
|
|
2620
2656
|
gameName: string;
|
|
2621
2657
|
gameWeekday: string;
|
|
2622
2658
|
};
|
|
2623
|
-
|
|
2659
|
+
GameUpdatedNotificationPayload: {
|
|
2624
2660
|
notificationId: string;
|
|
2625
2661
|
notificationType: components["schemas"]["NotificationType"];
|
|
2626
2662
|
thumbnailUrl: string | null;
|
|
@@ -2702,21 +2738,6 @@ export interface components {
|
|
|
2702
2738
|
gameName: string;
|
|
2703
2739
|
gameWeekday: string;
|
|
2704
2740
|
};
|
|
2705
|
-
HostedGameReminderNotificationPayload: {
|
|
2706
|
-
notificationId: string;
|
|
2707
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2708
|
-
thumbnailUrl: string | null;
|
|
2709
|
-
displayName: string;
|
|
2710
|
-
receiverUserId: string;
|
|
2711
|
-
title?: string;
|
|
2712
|
-
body?: string;
|
|
2713
|
-
gameId: string;
|
|
2714
|
-
gameAddress: string;
|
|
2715
|
-
gameDate: string;
|
|
2716
|
-
gameHours: string;
|
|
2717
|
-
gameName: string;
|
|
2718
|
-
gameWeekday: string;
|
|
2719
|
-
};
|
|
2720
2741
|
/** @enum {string} */
|
|
2721
2742
|
chatChannelType: ChatChannelType;
|
|
2722
2743
|
ChatNewMessageNotificationPayload: {
|
|
@@ -2815,15 +2836,6 @@ export interface components {
|
|
|
2815
2836
|
body?: string;
|
|
2816
2837
|
referrerId: string;
|
|
2817
2838
|
};
|
|
2818
|
-
ActionPushPlayerCollectPointsPayload: {
|
|
2819
|
-
notificationId: string;
|
|
2820
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2821
|
-
thumbnailUrl: string | null;
|
|
2822
|
-
displayName: string;
|
|
2823
|
-
receiverUserId: string;
|
|
2824
|
-
title?: string;
|
|
2825
|
-
body?: string;
|
|
2826
|
-
};
|
|
2827
2839
|
ActionPushPlayerInvitePlayersPayload: {
|
|
2828
2840
|
notificationId: string;
|
|
2829
2841
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2842,15 +2854,6 @@ export interface components {
|
|
|
2842
2854
|
title?: string;
|
|
2843
2855
|
body?: string;
|
|
2844
2856
|
};
|
|
2845
|
-
ActionPushPlayerAchievementsPayload: {
|
|
2846
|
-
notificationId: string;
|
|
2847
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2848
|
-
thumbnailUrl: string | null;
|
|
2849
|
-
displayName: string;
|
|
2850
|
-
receiverUserId: string;
|
|
2851
|
-
title?: string;
|
|
2852
|
-
body?: string;
|
|
2853
|
-
};
|
|
2854
2857
|
ActionPushPlayerInactive2Payload: {
|
|
2855
2858
|
notificationId: string;
|
|
2856
2859
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2878,42 +2881,6 @@ export interface components {
|
|
|
2878
2881
|
title?: string;
|
|
2879
2882
|
body?: string;
|
|
2880
2883
|
};
|
|
2881
|
-
ActionPushHostCollectPointsPayload: {
|
|
2882
|
-
notificationId: string;
|
|
2883
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2884
|
-
thumbnailUrl: string | null;
|
|
2885
|
-
displayName: string;
|
|
2886
|
-
receiverUserId: string;
|
|
2887
|
-
title?: string;
|
|
2888
|
-
body?: string;
|
|
2889
|
-
};
|
|
2890
|
-
ActionPushHostInvitePlayersPayload: {
|
|
2891
|
-
notificationId: string;
|
|
2892
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2893
|
-
thumbnailUrl: string | null;
|
|
2894
|
-
displayName: string;
|
|
2895
|
-
receiverUserId: string;
|
|
2896
|
-
title?: string;
|
|
2897
|
-
body?: string;
|
|
2898
|
-
};
|
|
2899
|
-
ActionPushHostInactivePayload: {
|
|
2900
|
-
notificationId: string;
|
|
2901
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2902
|
-
thumbnailUrl: string | null;
|
|
2903
|
-
displayName: string;
|
|
2904
|
-
receiverUserId: string;
|
|
2905
|
-
title?: string;
|
|
2906
|
-
body?: string;
|
|
2907
|
-
};
|
|
2908
|
-
ActionPushHostAchievementsPayload: {
|
|
2909
|
-
notificationId: string;
|
|
2910
|
-
notificationType: components["schemas"]["NotificationType"];
|
|
2911
|
-
thumbnailUrl: string | null;
|
|
2912
|
-
displayName: string;
|
|
2913
|
-
receiverUserId: string;
|
|
2914
|
-
title?: string;
|
|
2915
|
-
body?: string;
|
|
2916
|
-
};
|
|
2917
2884
|
ActionPushHostTeamsDrawingPayload: {
|
|
2918
2885
|
notificationId: string;
|
|
2919
2886
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2960,10 +2927,12 @@ export interface components {
|
|
|
2960
2927
|
sentAt: string | null;
|
|
2961
2928
|
isRead: boolean;
|
|
2962
2929
|
notificationType: components["schemas"]["notificationTypes"];
|
|
2963
|
-
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"];
|
|
2964
2931
|
};
|
|
2965
2932
|
GetUserNotificationsDto: {
|
|
2966
2933
|
notifications: components["schemas"]["NotificationDto"][];
|
|
2934
|
+
notificationsWithoutAlerts: components["schemas"]["NotificationDto"][];
|
|
2935
|
+
alerts: components["schemas"]["NotificationDto"][];
|
|
2967
2936
|
};
|
|
2968
2937
|
MarkNotificationsAsReadDto: {
|
|
2969
2938
|
notificationIds: string[];
|
|
@@ -3236,9 +3205,6 @@ export interface components {
|
|
|
3236
3205
|
chatUserExternalId: string;
|
|
3237
3206
|
token: string | null;
|
|
3238
3207
|
};
|
|
3239
|
-
CreateOrGetSingleChannelDto: {
|
|
3240
|
-
userId: string;
|
|
3241
|
-
};
|
|
3242
3208
|
SingleChannelMemberDto: {
|
|
3243
3209
|
userId: string;
|
|
3244
3210
|
displayName: string;
|
|
@@ -3251,6 +3217,9 @@ export interface components {
|
|
|
3251
3217
|
channelExternalId: string;
|
|
3252
3218
|
member: components["schemas"]["SingleChannelMemberDto"];
|
|
3253
3219
|
};
|
|
3220
|
+
CreateOrGetSingleChannelDto: {
|
|
3221
|
+
userId: string;
|
|
3222
|
+
};
|
|
3254
3223
|
CreatedGamePlayerApplicationDto: {
|
|
3255
3224
|
gamePlayerApplicationId: string;
|
|
3256
3225
|
autoApproved: boolean;
|
|
@@ -3544,17 +3513,16 @@ export type TestNotificationPayload = components['schemas']['TestNotificationPay
|
|
|
3544
3513
|
export type GameApplicationApprovedNotificationPayload = components['schemas']['GameApplicationApprovedNotificationPayload'];
|
|
3545
3514
|
export type GameApplicationRejectedNotificationPayload = components['schemas']['GameApplicationRejectedNotificationPayload'];
|
|
3546
3515
|
export type GameInvitationReceivedNotificationPayload = components['schemas']['GameInvitationReceivedNotificationPayload'];
|
|
3547
|
-
export type GameReminderNotificationPayload = components['schemas']['GameReminderNotificationPayload'];
|
|
3548
3516
|
export type GameFinishedNotificationPayload = components['schemas']['GameFinishedNotificationPayload'];
|
|
3549
3517
|
export type GameCanceledNotificationPayload = components['schemas']['GameCanceledNotificationPayload'];
|
|
3550
3518
|
export type GamePlayerRemovedByHostNotificationPayload = components['schemas']['GamePlayerRemovedByHostNotificationPayload'];
|
|
3551
3519
|
export type GameLineupsCreatedNotificationPayload = components['schemas']['GameLineupsCreatedNotificationPayload'];
|
|
3552
3520
|
export type NewGameByAlertNotificationPayload = components['schemas']['NewGameByAlertNotificationPayload'];
|
|
3521
|
+
export type GameUpdatedNotificationPayload = components['schemas']['GameUpdatedNotificationPayload'];
|
|
3553
3522
|
export type HostedGameNewApplicationNotificationPayload = components['schemas']['HostedGameNewApplicationNotificationPayload'];
|
|
3554
3523
|
export type HostedGamePlayerLeftNotificationPayload = components['schemas']['HostedGamePlayerLeftNotificationPayload'];
|
|
3555
3524
|
export type HostedGamePlayerAutoApprovedNotificationPayload = components['schemas']['HostedGamePlayerAutoApprovedNotificationPayload'];
|
|
3556
3525
|
export type HostedGameFinishedNotificationPayload = components['schemas']['HostedGameFinishedNotificationPayload'];
|
|
3557
|
-
export type HostedGameReminderNotificationPayload = components['schemas']['HostedGameReminderNotificationPayload'];
|
|
3558
3526
|
export type ChatNewMessageNotificationPayload = components['schemas']['ChatNewMessageNotificationPayload'];
|
|
3559
3527
|
export type CustomNotificationPayload = components['schemas']['CustomNotificationPayload'];
|
|
3560
3528
|
export type TeamMemberAddedByHostNotificationPayload = components['schemas']['TeamMemberAddedByHostNotificationPayload'];
|
|
@@ -3563,17 +3531,11 @@ export type UserPenaltyRevokedNotificationPayload = components['schemas']['UserP
|
|
|
3563
3531
|
export type NewTrophyReceivedNotificationPayload = components['schemas']['NewTrophyReceivedNotificationPayload'];
|
|
3564
3532
|
export type NewCommentReceivedNotificationPayload = components['schemas']['NewCommentReceivedNotificationPayload'];
|
|
3565
3533
|
export type UserReferralReceivedNotificationPayload = components['schemas']['UserReferralReceivedNotificationPayload'];
|
|
3566
|
-
export type ActionPushPlayerCollectPointsPayload = components['schemas']['ActionPushPlayerCollectPointsPayload'];
|
|
3567
3534
|
export type ActionPushPlayerInvitePlayersPayload = components['schemas']['ActionPushPlayerInvitePlayersPayload'];
|
|
3568
3535
|
export type ActionPushPlayerInactivePayload = components['schemas']['ActionPushPlayerInactivePayload'];
|
|
3569
|
-
export type ActionPushPlayerAchievementsPayload = components['schemas']['ActionPushPlayerAchievementsPayload'];
|
|
3570
3536
|
export type ActionPushPlayerInactive2Payload = components['schemas']['ActionPushPlayerInactive2Payload'];
|
|
3571
3537
|
export type ActionPushPlayerAlertsPayload = components['schemas']['ActionPushPlayerAlertsPayload'];
|
|
3572
3538
|
export type ActionPushPlayerCommentsAndPenaltiesPayload = components['schemas']['ActionPushPlayerCommentsAndPenaltiesPayload'];
|
|
3573
|
-
export type ActionPushHostCollectPointsPayload = components['schemas']['ActionPushHostCollectPointsPayload'];
|
|
3574
|
-
export type ActionPushHostInvitePlayersPayload = components['schemas']['ActionPushHostInvitePlayersPayload'];
|
|
3575
|
-
export type ActionPushHostInactivePayload = components['schemas']['ActionPushHostInactivePayload'];
|
|
3576
|
-
export type ActionPushHostAchievementsPayload = components['schemas']['ActionPushHostAchievementsPayload'];
|
|
3577
3539
|
export type ActionPushHostTeamsDrawingPayload = components['schemas']['ActionPushHostTeamsDrawingPayload'];
|
|
3578
3540
|
export type ActionPushHostCommentsAndPenaltiesPayload = components['schemas']['ActionPushHostCommentsAndPenaltiesPayload'];
|
|
3579
3541
|
export type ActionPushHostCreateGroupPayload = components['schemas']['ActionPushHostCreateGroupPayload'];
|
|
@@ -3617,9 +3579,9 @@ export type GetChannelMembersDto = components['schemas']['GetChannelMembersDto']
|
|
|
3617
3579
|
export type SetChannelMutedDto = components['schemas']['SetChannelMutedDto'];
|
|
3618
3580
|
export type UpdateChannelDetailsDto = components['schemas']['UpdateChannelDetailsDto'];
|
|
3619
3581
|
export type GetMyChatUserDto = components['schemas']['GetMyChatUserDto'];
|
|
3620
|
-
export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
|
|
3621
3582
|
export type SingleChannelMemberDto = components['schemas']['SingleChannelMemberDto'];
|
|
3622
3583
|
export type SingleChannelDto = components['schemas']['SingleChannelDto'];
|
|
3584
|
+
export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
|
|
3623
3585
|
export type CreatedGamePlayerApplicationDto = components['schemas']['CreatedGamePlayerApplicationDto'];
|
|
3624
3586
|
export type RejectManyGamePlayerApplicationsDto = components['schemas']['RejectManyGamePlayerApplicationsDto'];
|
|
3625
3587
|
export type ApproveManyGamePlayerApplicationsDto = components['schemas']['ApproveManyGamePlayerApplicationsDto'];
|
|
@@ -6448,6 +6410,43 @@ export interface operations {
|
|
|
6448
6410
|
};
|
|
6449
6411
|
};
|
|
6450
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
|
+
};
|
|
6451
6450
|
createOrGetSingleChannel: {
|
|
6452
6451
|
parameters: {
|
|
6453
6452
|
query?: never;
|
|
@@ -7909,6 +7908,41 @@ export interface operations {
|
|
|
7909
7908
|
};
|
|
7910
7909
|
};
|
|
7911
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
|
+
};
|
|
7912
7946
|
getGameHistory: {
|
|
7913
7947
|
parameters: {
|
|
7914
7948
|
query?: {
|
|
@@ -8118,6 +8152,7 @@ export declare enum NotificationType {
|
|
|
8118
8152
|
game_canceled = "game-canceled",
|
|
8119
8153
|
game_player_removed_by_host = "game-player-removed-by-host",
|
|
8120
8154
|
game_lineups_created = "game-lineups-created",
|
|
8155
|
+
game_updated = "game-updated",
|
|
8121
8156
|
hosted_game_new_application = "hosted-game-new-application",
|
|
8122
8157
|
hosted_game_player_left = "hosted-game-player-left",
|
|
8123
8158
|
hosted_game_player_auto_approved = "hosted-game-player-auto-approved",
|
|
@@ -8168,6 +8203,7 @@ export declare enum NotificationTypes {
|
|
|
8168
8203
|
game_canceled = "game-canceled",
|
|
8169
8204
|
game_player_removed_by_host = "game-player-removed-by-host",
|
|
8170
8205
|
game_lineups_created = "game-lineups-created",
|
|
8206
|
+
game_updated = "game-updated",
|
|
8171
8207
|
hosted_game_new_application = "hosted-game-new-application",
|
|
8172
8208
|
hosted_game_player_left = "hosted-game-player-left",
|
|
8173
8209
|
hosted_game_player_auto_approved = "hosted-game-player-auto-approved",
|
|
@@ -8324,6 +8360,7 @@ export declare enum ApiPaths {
|
|
|
8324
8360
|
muteChannel = "/chat/channel/{channelId}/muted",
|
|
8325
8361
|
getMyChatUser = "/chat/user/me",
|
|
8326
8362
|
postChatWebook = "/chat/webhook",
|
|
8363
|
+
getSingleChannel = "/chat/channel/single/{userId}",
|
|
8327
8364
|
createOrGetSingleChannel = "/chat/channel/single",
|
|
8328
8365
|
cleanupUnreadMessages = "/chat-maintenance/cleanup-unread-messages",
|
|
8329
8366
|
postGameApplication = "/games/{gameId}/player-applications",
|
|
@@ -8365,6 +8402,7 @@ export declare enum ApiPaths {
|
|
|
8365
8402
|
triggerInactiveWithoutGameApplications = "/action-push/inactive-users-notification",
|
|
8366
8403
|
collect = "/kpi-snapshots/collect",
|
|
8367
8404
|
backfill = "/kpi-snapshots/backfill",
|
|
8405
|
+
run = "/notification-archival/run",
|
|
8368
8406
|
getGameHistory = "/games/{gameId}/history",
|
|
8369
8407
|
getTeamHistory = "/teams/{teamId}/history"
|
|
8370
8408
|
}
|
package/dist/api.js
CHANGED
|
@@ -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";
|
|
@@ -365,6 +367,7 @@ var ApiPaths;
|
|
|
365
367
|
ApiPaths["muteChannel"] = "/chat/channel/{channelId}/muted";
|
|
366
368
|
ApiPaths["getMyChatUser"] = "/chat/user/me";
|
|
367
369
|
ApiPaths["postChatWebook"] = "/chat/webhook";
|
|
370
|
+
ApiPaths["getSingleChannel"] = "/chat/channel/single/{userId}";
|
|
368
371
|
ApiPaths["createOrGetSingleChannel"] = "/chat/channel/single";
|
|
369
372
|
ApiPaths["cleanupUnreadMessages"] = "/chat-maintenance/cleanup-unread-messages";
|
|
370
373
|
ApiPaths["postGameApplication"] = "/games/{gameId}/player-applications";
|
|
@@ -406,6 +409,7 @@ var ApiPaths;
|
|
|
406
409
|
ApiPaths["triggerInactiveWithoutGameApplications"] = "/action-push/inactive-users-notification";
|
|
407
410
|
ApiPaths["collect"] = "/kpi-snapshots/collect";
|
|
408
411
|
ApiPaths["backfill"] = "/kpi-snapshots/backfill";
|
|
412
|
+
ApiPaths["run"] = "/notification-archival/run";
|
|
409
413
|
ApiPaths["getGameHistory"] = "/games/{gameId}/history";
|
|
410
414
|
ApiPaths["getTeamHistory"] = "/teams/{teamId}/history";
|
|
411
415
|
})(ApiPaths || (exports.ApiPaths = ApiPaths = {}));
|