@orlikfy/api-interfaces 6.1.12 → 6.1.13
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 +295 -2
- package/dist/api.js +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@ TypeScript interfaces generated from the Orlikfy backend OpenAPI specification.
|
|
|
4
4
|
|
|
5
5
|
# Changelog
|
|
6
6
|
|
|
7
|
+
v6.1.13 - penalty and comment revoking
|
|
7
8
|
v6.1.12 - add GET /my-games endpoint
|
|
8
9
|
v6.1.11 - private games on map - added query param
|
|
9
10
|
v6.1.10 - notification preferences, optional price in alerts
|
package/dist/api.d.ts
CHANGED
|
@@ -1582,6 +1582,25 @@ export interface paths {
|
|
|
1582
1582
|
patch?: never;
|
|
1583
1583
|
trace?: never;
|
|
1584
1584
|
};
|
|
1585
|
+
"/user-comments/{commentId}": {
|
|
1586
|
+
parameters: {
|
|
1587
|
+
query?: never;
|
|
1588
|
+
header?: never;
|
|
1589
|
+
path: {
|
|
1590
|
+
commentId: string;
|
|
1591
|
+
};
|
|
1592
|
+
cookie?: never;
|
|
1593
|
+
};
|
|
1594
|
+
get?: never;
|
|
1595
|
+
put?: never;
|
|
1596
|
+
post?: never;
|
|
1597
|
+
/** revokeUserComment */
|
|
1598
|
+
delete: operations["revokeComment"];
|
|
1599
|
+
options?: never;
|
|
1600
|
+
head?: never;
|
|
1601
|
+
patch?: never;
|
|
1602
|
+
trace?: never;
|
|
1603
|
+
};
|
|
1585
1604
|
"/bi-data/refresh-data": {
|
|
1586
1605
|
parameters: {
|
|
1587
1606
|
query?: never;
|
|
@@ -1774,6 +1793,65 @@ export interface paths {
|
|
|
1774
1793
|
patch?: never;
|
|
1775
1794
|
trace?: never;
|
|
1776
1795
|
};
|
|
1796
|
+
"/games/{gameId}/moderator-invite": {
|
|
1797
|
+
parameters: {
|
|
1798
|
+
query?: never;
|
|
1799
|
+
header?: never;
|
|
1800
|
+
path: {
|
|
1801
|
+
gameId: string;
|
|
1802
|
+
};
|
|
1803
|
+
cookie?: never;
|
|
1804
|
+
};
|
|
1805
|
+
get?: never;
|
|
1806
|
+
put?: never;
|
|
1807
|
+
/** generateInviteToken */
|
|
1808
|
+
post: operations["generateInviteToken"];
|
|
1809
|
+
delete?: never;
|
|
1810
|
+
options?: never;
|
|
1811
|
+
head?: never;
|
|
1812
|
+
patch?: never;
|
|
1813
|
+
trace?: never;
|
|
1814
|
+
};
|
|
1815
|
+
"/games/moderator-invite/{token}/accept": {
|
|
1816
|
+
parameters: {
|
|
1817
|
+
query?: never;
|
|
1818
|
+
header?: never;
|
|
1819
|
+
path: {
|
|
1820
|
+
token: string;
|
|
1821
|
+
};
|
|
1822
|
+
cookie?: never;
|
|
1823
|
+
};
|
|
1824
|
+
get?: never;
|
|
1825
|
+
put?: never;
|
|
1826
|
+
/** acceptInvite */
|
|
1827
|
+
post: operations["acceptInvite"];
|
|
1828
|
+
delete?: never;
|
|
1829
|
+
options?: never;
|
|
1830
|
+
head?: never;
|
|
1831
|
+
patch?: never;
|
|
1832
|
+
trace?: never;
|
|
1833
|
+
};
|
|
1834
|
+
"/games/{gameId}/moderators/{userId}": {
|
|
1835
|
+
parameters: {
|
|
1836
|
+
query?: never;
|
|
1837
|
+
header?: never;
|
|
1838
|
+
path: {
|
|
1839
|
+
gameId: string;
|
|
1840
|
+
userId: string;
|
|
1841
|
+
};
|
|
1842
|
+
cookie?: never;
|
|
1843
|
+
};
|
|
1844
|
+
get?: never;
|
|
1845
|
+
put?: never;
|
|
1846
|
+
post?: never;
|
|
1847
|
+
/** removeModerator */
|
|
1848
|
+
delete: operations["removeModerator"];
|
|
1849
|
+
options?: never;
|
|
1850
|
+
head?: never;
|
|
1851
|
+
/** updateModerator */
|
|
1852
|
+
patch: operations["updateModerator"];
|
|
1853
|
+
trace?: never;
|
|
1854
|
+
};
|
|
1777
1855
|
"/action-push/inactive-users-since-registered-notification": {
|
|
1778
1856
|
parameters: {
|
|
1779
1857
|
query?: never;
|
|
@@ -2379,6 +2457,7 @@ export interface components {
|
|
|
2379
2457
|
/** Format: date-time */
|
|
2380
2458
|
revokedAt: string | null;
|
|
2381
2459
|
author: components["schemas"]["CommonUserDto"];
|
|
2460
|
+
canRevoke?: boolean;
|
|
2382
2461
|
};
|
|
2383
2462
|
HostedGamePlayerApplicationDto: {
|
|
2384
2463
|
gamePlayerApplicationId: string;
|
|
@@ -2824,6 +2903,18 @@ export interface components {
|
|
|
2824
2903
|
teamId: string;
|
|
2825
2904
|
teamName: string;
|
|
2826
2905
|
};
|
|
2906
|
+
TeamMemberLeftNotificationPayload: {
|
|
2907
|
+
notificationId: string;
|
|
2908
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
2909
|
+
thumbnailUrl: string | null;
|
|
2910
|
+
displayName: string;
|
|
2911
|
+
receiverUserId: string;
|
|
2912
|
+
title?: string;
|
|
2913
|
+
body?: string;
|
|
2914
|
+
teamId: string;
|
|
2915
|
+
teamName: string;
|
|
2916
|
+
memberName: string;
|
|
2917
|
+
};
|
|
2827
2918
|
UserPenaltyReceivedNotificationPayload: {
|
|
2828
2919
|
notificationId: string;
|
|
2829
2920
|
notificationType: components["schemas"]["NotificationType"];
|
|
@@ -2971,7 +3062,7 @@ export interface components {
|
|
|
2971
3062
|
sentAt: string | null;
|
|
2972
3063
|
isRead: boolean;
|
|
2973
3064
|
notificationType: components["schemas"]["notificationTypes"];
|
|
2974
|
-
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"];
|
|
3065
|
+
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"]["TeamMemberLeftNotificationPayload"] | 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"];
|
|
2975
3066
|
};
|
|
2976
3067
|
GetUserNotificationsDto: {
|
|
2977
3068
|
notifications: components["schemas"]["NotificationDto"][];
|
|
@@ -3404,6 +3495,7 @@ export interface components {
|
|
|
3404
3495
|
/** Format: date-time */
|
|
3405
3496
|
createdAt: string;
|
|
3406
3497
|
author: components["schemas"]["CommentAuthor"];
|
|
3498
|
+
canRevoke?: boolean;
|
|
3407
3499
|
};
|
|
3408
3500
|
UserCommentsDto: {
|
|
3409
3501
|
userId: string;
|
|
@@ -3474,6 +3566,12 @@ export interface components {
|
|
|
3474
3566
|
token: string;
|
|
3475
3567
|
frontendURL: string;
|
|
3476
3568
|
};
|
|
3569
|
+
GenerateInviteTokenResponseDto: {
|
|
3570
|
+
token: string;
|
|
3571
|
+
};
|
|
3572
|
+
UpdateModeratorDto: {
|
|
3573
|
+
isRecurringModerator: boolean;
|
|
3574
|
+
};
|
|
3477
3575
|
InactiveUsersNotificationResponseDto: {
|
|
3478
3576
|
/** @description Number of users who were processed for notification */
|
|
3479
3577
|
processedUsersCount: number;
|
|
@@ -3591,6 +3689,7 @@ export type HostedGameFinishedNotificationPayload = components['schemas']['Hoste
|
|
|
3591
3689
|
export type ChatNewMessageNotificationPayload = components['schemas']['ChatNewMessageNotificationPayload'];
|
|
3592
3690
|
export type CustomNotificationPayload = components['schemas']['CustomNotificationPayload'];
|
|
3593
3691
|
export type TeamMemberAddedByHostNotificationPayload = components['schemas']['TeamMemberAddedByHostNotificationPayload'];
|
|
3692
|
+
export type TeamMemberLeftNotificationPayload = components['schemas']['TeamMemberLeftNotificationPayload'];
|
|
3594
3693
|
export type UserPenaltyReceivedNotificationPayload = components['schemas']['UserPenaltyReceivedNotificationPayload'];
|
|
3595
3694
|
export type UserPenaltyRevokedNotificationPayload = components['schemas']['UserPenaltyRevokedNotificationPayload'];
|
|
3596
3695
|
export type NewTrophyReceivedNotificationPayload = components['schemas']['NewTrophyReceivedNotificationPayload'];
|
|
@@ -3687,6 +3786,8 @@ export type UserLocationDto = components['schemas']['UserLocationDto'];
|
|
|
3687
3786
|
export type CheckAuthMethodDto = components['schemas']['CheckAuthMethodDto'];
|
|
3688
3787
|
export type CheckAuthMethodResponseDto = components['schemas']['CheckAuthMethodResponseDto'];
|
|
3689
3788
|
export type CreateReassignTokenResponseDto = components['schemas']['CreateReassignTokenResponseDto'];
|
|
3789
|
+
export type GenerateInviteTokenResponseDto = components['schemas']['GenerateInviteTokenResponseDto'];
|
|
3790
|
+
export type UpdateModeratorDto = components['schemas']['UpdateModeratorDto'];
|
|
3690
3791
|
export type InactiveUsersNotificationResponseDto = components['schemas']['InactiveUsersNotificationResponseDto'];
|
|
3691
3792
|
export type ActivityHistoryEntryDto = components['schemas']['ActivityHistoryEntryDto'];
|
|
3692
3793
|
export type $defs = Record<string, never>;
|
|
@@ -7512,6 +7613,32 @@ export interface operations {
|
|
|
7512
7613
|
};
|
|
7513
7614
|
};
|
|
7514
7615
|
};
|
|
7616
|
+
revokeComment: {
|
|
7617
|
+
parameters: {
|
|
7618
|
+
query?: never;
|
|
7619
|
+
header?: {
|
|
7620
|
+
/** @description Request trace id for logs */
|
|
7621
|
+
"x-trace-request-id"?: string;
|
|
7622
|
+
/** @description Session trace id for logs */
|
|
7623
|
+
"x-trace-session-id"?: string;
|
|
7624
|
+
/** @description IANA Timezone */
|
|
7625
|
+
"x-timezone"?: string;
|
|
7626
|
+
};
|
|
7627
|
+
path: {
|
|
7628
|
+
commentId: string;
|
|
7629
|
+
};
|
|
7630
|
+
cookie?: never;
|
|
7631
|
+
};
|
|
7632
|
+
requestBody?: never;
|
|
7633
|
+
responses: {
|
|
7634
|
+
204: {
|
|
7635
|
+
headers: {
|
|
7636
|
+
[name: string]: unknown;
|
|
7637
|
+
};
|
|
7638
|
+
content?: never;
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7515
7642
|
refreshData: {
|
|
7516
7643
|
parameters: {
|
|
7517
7644
|
query: {
|
|
@@ -7905,6 +8032,162 @@ export interface operations {
|
|
|
7905
8032
|
};
|
|
7906
8033
|
};
|
|
7907
8034
|
};
|
|
8035
|
+
generateInviteToken: {
|
|
8036
|
+
parameters: {
|
|
8037
|
+
query?: never;
|
|
8038
|
+
header?: {
|
|
8039
|
+
/** @description Request trace id for logs */
|
|
8040
|
+
"x-trace-request-id"?: string;
|
|
8041
|
+
/** @description Session trace id for logs */
|
|
8042
|
+
"x-trace-session-id"?: string;
|
|
8043
|
+
/** @description IANA Timezone */
|
|
8044
|
+
"x-timezone"?: string;
|
|
8045
|
+
};
|
|
8046
|
+
path: {
|
|
8047
|
+
gameId: string;
|
|
8048
|
+
};
|
|
8049
|
+
cookie?: never;
|
|
8050
|
+
};
|
|
8051
|
+
requestBody?: never;
|
|
8052
|
+
responses: {
|
|
8053
|
+
200: {
|
|
8054
|
+
headers: {
|
|
8055
|
+
[name: string]: unknown;
|
|
8056
|
+
};
|
|
8057
|
+
content: {
|
|
8058
|
+
"application/json": components["schemas"]["GenerateInviteTokenResponseDto"];
|
|
8059
|
+
};
|
|
8060
|
+
};
|
|
8061
|
+
/** @description GameAlreadyPending, GameModeratorLimitReached */
|
|
8062
|
+
400: {
|
|
8063
|
+
headers: {
|
|
8064
|
+
[name: string]: unknown;
|
|
8065
|
+
};
|
|
8066
|
+
content?: never;
|
|
8067
|
+
};
|
|
8068
|
+
/** @description Application Error */
|
|
8069
|
+
500: {
|
|
8070
|
+
headers: {
|
|
8071
|
+
[name: string]: unknown;
|
|
8072
|
+
};
|
|
8073
|
+
content: {
|
|
8074
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8075
|
+
};
|
|
8076
|
+
};
|
|
8077
|
+
};
|
|
8078
|
+
};
|
|
8079
|
+
acceptInvite: {
|
|
8080
|
+
parameters: {
|
|
8081
|
+
query?: never;
|
|
8082
|
+
header?: {
|
|
8083
|
+
/** @description Request trace id for logs */
|
|
8084
|
+
"x-trace-request-id"?: string;
|
|
8085
|
+
/** @description Session trace id for logs */
|
|
8086
|
+
"x-trace-session-id"?: string;
|
|
8087
|
+
/** @description IANA Timezone */
|
|
8088
|
+
"x-timezone"?: string;
|
|
8089
|
+
};
|
|
8090
|
+
path: {
|
|
8091
|
+
token: string;
|
|
8092
|
+
};
|
|
8093
|
+
cookie?: never;
|
|
8094
|
+
};
|
|
8095
|
+
requestBody?: never;
|
|
8096
|
+
responses: {
|
|
8097
|
+
/** @description GameModeratorInviteTokenInvalid, GameModeratorLimitReached */
|
|
8098
|
+
400: {
|
|
8099
|
+
headers: {
|
|
8100
|
+
[name: string]: unknown;
|
|
8101
|
+
};
|
|
8102
|
+
content?: never;
|
|
8103
|
+
};
|
|
8104
|
+
/** @description Application Error */
|
|
8105
|
+
500: {
|
|
8106
|
+
headers: {
|
|
8107
|
+
[name: string]: unknown;
|
|
8108
|
+
};
|
|
8109
|
+
content: {
|
|
8110
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8111
|
+
};
|
|
8112
|
+
};
|
|
8113
|
+
};
|
|
8114
|
+
};
|
|
8115
|
+
removeModerator: {
|
|
8116
|
+
parameters: {
|
|
8117
|
+
query?: never;
|
|
8118
|
+
header?: {
|
|
8119
|
+
/** @description Request trace id for logs */
|
|
8120
|
+
"x-trace-request-id"?: string;
|
|
8121
|
+
/** @description Session trace id for logs */
|
|
8122
|
+
"x-trace-session-id"?: string;
|
|
8123
|
+
/** @description IANA Timezone */
|
|
8124
|
+
"x-timezone"?: string;
|
|
8125
|
+
};
|
|
8126
|
+
path: {
|
|
8127
|
+
gameId: string;
|
|
8128
|
+
userId: string;
|
|
8129
|
+
};
|
|
8130
|
+
cookie?: never;
|
|
8131
|
+
};
|
|
8132
|
+
requestBody?: never;
|
|
8133
|
+
responses: {
|
|
8134
|
+
200: {
|
|
8135
|
+
headers: {
|
|
8136
|
+
[name: string]: unknown;
|
|
8137
|
+
};
|
|
8138
|
+
content?: never;
|
|
8139
|
+
};
|
|
8140
|
+
/** @description Application Error */
|
|
8141
|
+
500: {
|
|
8142
|
+
headers: {
|
|
8143
|
+
[name: string]: unknown;
|
|
8144
|
+
};
|
|
8145
|
+
content: {
|
|
8146
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8147
|
+
};
|
|
8148
|
+
};
|
|
8149
|
+
};
|
|
8150
|
+
};
|
|
8151
|
+
updateModerator: {
|
|
8152
|
+
parameters: {
|
|
8153
|
+
query?: never;
|
|
8154
|
+
header?: {
|
|
8155
|
+
/** @description Request trace id for logs */
|
|
8156
|
+
"x-trace-request-id"?: string;
|
|
8157
|
+
/** @description Session trace id for logs */
|
|
8158
|
+
"x-trace-session-id"?: string;
|
|
8159
|
+
/** @description IANA Timezone */
|
|
8160
|
+
"x-timezone"?: string;
|
|
8161
|
+
};
|
|
8162
|
+
path: {
|
|
8163
|
+
gameId: string;
|
|
8164
|
+
userId: string;
|
|
8165
|
+
};
|
|
8166
|
+
cookie?: never;
|
|
8167
|
+
};
|
|
8168
|
+
requestBody: {
|
|
8169
|
+
content: {
|
|
8170
|
+
"application/json": components["schemas"]["UpdateModeratorDto"];
|
|
8171
|
+
};
|
|
8172
|
+
};
|
|
8173
|
+
responses: {
|
|
8174
|
+
200: {
|
|
8175
|
+
headers: {
|
|
8176
|
+
[name: string]: unknown;
|
|
8177
|
+
};
|
|
8178
|
+
content?: never;
|
|
8179
|
+
};
|
|
8180
|
+
/** @description Application Error */
|
|
8181
|
+
500: {
|
|
8182
|
+
headers: {
|
|
8183
|
+
[name: string]: unknown;
|
|
8184
|
+
};
|
|
8185
|
+
content: {
|
|
8186
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8187
|
+
};
|
|
8188
|
+
};
|
|
8189
|
+
};
|
|
8190
|
+
};
|
|
7908
8191
|
triggerInactiveUsersNotification: {
|
|
7909
8192
|
parameters: {
|
|
7910
8193
|
query: {
|
|
@@ -8183,7 +8466,10 @@ export declare enum KnownException {
|
|
|
8183
8466
|
UserPenaltyAlreadyRevoked = "UserPenaltyAlreadyRevoked",
|
|
8184
8467
|
NotAParticipantOfGame = "NotAParticipantOfGame",
|
|
8185
8468
|
CategoryNotEditable = "CategoryNotEditable",
|
|
8186
|
-
UnknownNotificationCategory = "UnknownNotificationCategory"
|
|
8469
|
+
UnknownNotificationCategory = "UnknownNotificationCategory",
|
|
8470
|
+
NotTheHostOfGame = "NotTheHostOfGame",
|
|
8471
|
+
GameModeratorLimitReached = "GameModeratorLimitReached",
|
|
8472
|
+
GameModeratorInviteTokenInvalid = "GameModeratorInviteTokenInvalid"
|
|
8187
8473
|
}
|
|
8188
8474
|
export declare enum Visibility {
|
|
8189
8475
|
PUBLIC = "PUBLIC",
|
|
@@ -8291,6 +8577,7 @@ export declare enum NotificationType {
|
|
|
8291
8577
|
user_penalty_received = "user-penalty-received",
|
|
8292
8578
|
user_penalty_revoked = "user-penalty-revoked",
|
|
8293
8579
|
team_member_added_by_host = "team-member-added-by-host",
|
|
8580
|
+
team_member_left = "team-member-left",
|
|
8294
8581
|
new_trophy_received = "new-trophy-received",
|
|
8295
8582
|
new_comment_received = "new-comment-received",
|
|
8296
8583
|
user_referral_received = "user-referral-received",
|
|
@@ -8342,6 +8629,7 @@ export declare enum NotificationTypes {
|
|
|
8342
8629
|
user_penalty_received = "user-penalty-received",
|
|
8343
8630
|
user_penalty_revoked = "user-penalty-revoked",
|
|
8344
8631
|
team_member_added_by_host = "team-member-added-by-host",
|
|
8632
|
+
team_member_left = "team-member-left",
|
|
8345
8633
|
new_trophy_received = "new-trophy-received",
|
|
8346
8634
|
new_comment_received = "new-comment-received",
|
|
8347
8635
|
user_referral_received = "user-referral-received",
|
|
@@ -8542,6 +8830,7 @@ export declare enum ApiPaths {
|
|
|
8542
8830
|
getUserProfile = "/user-profile/{userId}",
|
|
8543
8831
|
createComment = "/user-comments",
|
|
8544
8832
|
getComments = "/user-comments/{userId}",
|
|
8833
|
+
revokeComment = "/user-comments/{commentId}",
|
|
8545
8834
|
refreshData = "/bi-data/refresh-data",
|
|
8546
8835
|
refreshModel = "/bi-data/refresh-model",
|
|
8547
8836
|
createManualTrophy = "/trophies/create-manual",
|
|
@@ -8553,6 +8842,10 @@ export declare enum ApiPaths {
|
|
|
8553
8842
|
checkAuthMethod = "/auth/check-auth-method",
|
|
8554
8843
|
generateReassignToken = "/hosted-games/{hostedGameId}/reassign/create-reassign-token",
|
|
8555
8844
|
reassignGameByToken = "/hosted-games/{hostedGameId}/reassign/{reassignToken}",
|
|
8845
|
+
generateInviteToken = "/games/{gameId}/moderator-invite",
|
|
8846
|
+
acceptInvite = "/games/moderator-invite/{token}/accept",
|
|
8847
|
+
removeModerator = "/games/{gameId}/moderators/{userId}",
|
|
8848
|
+
updateModerator = "/games/{gameId}/moderators/{userId}",
|
|
8556
8849
|
triggerInactiveUsersNotification = "/action-push/inactive-users-since-registered-notification",
|
|
8557
8850
|
triggerInactiveWithoutGameApplications = "/action-push/inactive-users-notification",
|
|
8558
8851
|
collect = "/kpi-snapshots/collect",
|
package/dist/api.js
CHANGED
|
@@ -39,6 +39,9 @@ var KnownException;
|
|
|
39
39
|
KnownException["NotAParticipantOfGame"] = "NotAParticipantOfGame";
|
|
40
40
|
KnownException["CategoryNotEditable"] = "CategoryNotEditable";
|
|
41
41
|
KnownException["UnknownNotificationCategory"] = "UnknownNotificationCategory";
|
|
42
|
+
KnownException["NotTheHostOfGame"] = "NotTheHostOfGame";
|
|
43
|
+
KnownException["GameModeratorLimitReached"] = "GameModeratorLimitReached";
|
|
44
|
+
KnownException["GameModeratorInviteTokenInvalid"] = "GameModeratorInviteTokenInvalid";
|
|
42
45
|
})(KnownException || (exports.KnownException = KnownException = {}));
|
|
43
46
|
var Visibility;
|
|
44
47
|
(function (Visibility) {
|
|
@@ -161,6 +164,7 @@ var NotificationType;
|
|
|
161
164
|
NotificationType["user_penalty_received"] = "user-penalty-received";
|
|
162
165
|
NotificationType["user_penalty_revoked"] = "user-penalty-revoked";
|
|
163
166
|
NotificationType["team_member_added_by_host"] = "team-member-added-by-host";
|
|
167
|
+
NotificationType["team_member_left"] = "team-member-left";
|
|
164
168
|
NotificationType["new_trophy_received"] = "new-trophy-received";
|
|
165
169
|
NotificationType["new_comment_received"] = "new-comment-received";
|
|
166
170
|
NotificationType["user_referral_received"] = "user-referral-received";
|
|
@@ -215,6 +219,7 @@ var NotificationTypes;
|
|
|
215
219
|
NotificationTypes["user_penalty_received"] = "user-penalty-received";
|
|
216
220
|
NotificationTypes["user_penalty_revoked"] = "user-penalty-revoked";
|
|
217
221
|
NotificationTypes["team_member_added_by_host"] = "team-member-added-by-host";
|
|
222
|
+
NotificationTypes["team_member_left"] = "team-member-left";
|
|
218
223
|
NotificationTypes["new_trophy_received"] = "new-trophy-received";
|
|
219
224
|
NotificationTypes["new_comment_received"] = "new-comment-received";
|
|
220
225
|
NotificationTypes["user_referral_received"] = "user-referral-received";
|
|
@@ -426,6 +431,7 @@ var ApiPaths;
|
|
|
426
431
|
ApiPaths["getUserProfile"] = "/user-profile/{userId}";
|
|
427
432
|
ApiPaths["createComment"] = "/user-comments";
|
|
428
433
|
ApiPaths["getComments"] = "/user-comments/{userId}";
|
|
434
|
+
ApiPaths["revokeComment"] = "/user-comments/{commentId}";
|
|
429
435
|
ApiPaths["refreshData"] = "/bi-data/refresh-data";
|
|
430
436
|
ApiPaths["refreshModel"] = "/bi-data/refresh-model";
|
|
431
437
|
ApiPaths["createManualTrophy"] = "/trophies/create-manual";
|
|
@@ -437,6 +443,10 @@ var ApiPaths;
|
|
|
437
443
|
ApiPaths["checkAuthMethod"] = "/auth/check-auth-method";
|
|
438
444
|
ApiPaths["generateReassignToken"] = "/hosted-games/{hostedGameId}/reassign/create-reassign-token";
|
|
439
445
|
ApiPaths["reassignGameByToken"] = "/hosted-games/{hostedGameId}/reassign/{reassignToken}";
|
|
446
|
+
ApiPaths["generateInviteToken"] = "/games/{gameId}/moderator-invite";
|
|
447
|
+
ApiPaths["acceptInvite"] = "/games/moderator-invite/{token}/accept";
|
|
448
|
+
ApiPaths["removeModerator"] = "/games/{gameId}/moderators/{userId}";
|
|
449
|
+
ApiPaths["updateModerator"] = "/games/{gameId}/moderators/{userId}";
|
|
440
450
|
ApiPaths["triggerInactiveUsersNotification"] = "/action-push/inactive-users-since-registered-notification";
|
|
441
451
|
ApiPaths["triggerInactiveWithoutGameApplications"] = "/action-push/inactive-users-notification";
|
|
442
452
|
ApiPaths["collect"] = "/kpi-snapshots/collect";
|