@orlikfy/api-interfaces 6.1.13 → 6.1.14
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 +703 -681
- package/dist/api.js +30 -29
- package/package.json +1 -1
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.AuthProvider = exports.AppTrophyType = exports.CommentTypeEnum = exports.ToggleNotificationPreferenceResponseDtoCategory = exports.NotificationPreferenceCategoryResponseDtoCategory = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.
|
|
7
|
+
exports.ApiPaths = exports.AuthProvider = exports.AppTrophyType = exports.CommentTypeEnum = exports.ToggleNotificationPreferenceResponseDtoCategory = exports.NotificationPreferenceCategoryResponseDtoCategory = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.AppGameLevel = exports.AppLanguage = exports.AppProfileType = exports.Weekday = exports.PenaltyReason = exports.PenaltyType = 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";
|
|
@@ -73,6 +73,7 @@ var UserParticipationStatus;
|
|
|
73
73
|
UserParticipationStatus["Approved"] = "Approved";
|
|
74
74
|
UserParticipationStatus["Invited"] = "Invited";
|
|
75
75
|
UserParticipationStatus["Host"] = "Host";
|
|
76
|
+
UserParticipationStatus["Moderator"] = "Moderator";
|
|
76
77
|
UserParticipationStatus["Empty"] = "Empty";
|
|
77
78
|
})(UserParticipationStatus || (exports.UserParticipationStatus = UserParticipationStatus = {}));
|
|
78
79
|
var AppPreferredPlayerPosition;
|
|
@@ -98,6 +99,20 @@ var GameLevelEnum;
|
|
|
98
99
|
GameLevelEnum["PROFESSIONAL"] = "PROFESSIONAL";
|
|
99
100
|
GameLevelEnum["MIXED"] = "MIXED";
|
|
100
101
|
})(GameLevelEnum || (exports.GameLevelEnum = GameLevelEnum = {}));
|
|
102
|
+
var PenaltyType;
|
|
103
|
+
(function (PenaltyType) {
|
|
104
|
+
PenaltyType["YELLOW"] = "YELLOW";
|
|
105
|
+
PenaltyType["RED"] = "RED";
|
|
106
|
+
})(PenaltyType || (exports.PenaltyType = PenaltyType = {}));
|
|
107
|
+
var PenaltyReason;
|
|
108
|
+
(function (PenaltyReason) {
|
|
109
|
+
PenaltyReason["ABSENCE"] = "ABSENCE";
|
|
110
|
+
PenaltyReason["LEAVING_30_MIN"] = "LEAVING_30_MIN";
|
|
111
|
+
PenaltyReason["LATE_15_MIN"] = "LATE_15_MIN";
|
|
112
|
+
PenaltyReason["MISMATCHED_LEVEL"] = "MISMATCHED_LEVEL";
|
|
113
|
+
PenaltyReason["UNSPORTSMANLIKE_BEHAVIOR"] = "UNSPORTSMANLIKE_BEHAVIOR";
|
|
114
|
+
PenaltyReason["NOT_PAID"] = "NOT_PAID";
|
|
115
|
+
})(PenaltyReason || (exports.PenaltyReason = PenaltyReason = {}));
|
|
101
116
|
var Weekday;
|
|
102
117
|
(function (Weekday) {
|
|
103
118
|
Weekday["SUNDAY"] = "SUNDAY";
|
|
@@ -127,20 +142,6 @@ var AppGameLevel;
|
|
|
127
142
|
AppGameLevel["PROFESSIONAL"] = "PROFESSIONAL";
|
|
128
143
|
AppGameLevel["MIXED"] = "MIXED";
|
|
129
144
|
})(AppGameLevel || (exports.AppGameLevel = AppGameLevel = {}));
|
|
130
|
-
var PenaltyType;
|
|
131
|
-
(function (PenaltyType) {
|
|
132
|
-
PenaltyType["YELLOW"] = "YELLOW";
|
|
133
|
-
PenaltyType["RED"] = "RED";
|
|
134
|
-
})(PenaltyType || (exports.PenaltyType = PenaltyType = {}));
|
|
135
|
-
var PenaltyReason;
|
|
136
|
-
(function (PenaltyReason) {
|
|
137
|
-
PenaltyReason["ABSENCE"] = "ABSENCE";
|
|
138
|
-
PenaltyReason["LEAVING_30_MIN"] = "LEAVING_30_MIN";
|
|
139
|
-
PenaltyReason["LATE_15_MIN"] = "LATE_15_MIN";
|
|
140
|
-
PenaltyReason["MISMATCHED_LEVEL"] = "MISMATCHED_LEVEL";
|
|
141
|
-
PenaltyReason["UNSPORTSMANLIKE_BEHAVIOR"] = "UNSPORTSMANLIKE_BEHAVIOR";
|
|
142
|
-
PenaltyReason["NOT_PAID"] = "NOT_PAID";
|
|
143
|
-
})(PenaltyReason || (exports.PenaltyReason = PenaltyReason = {}));
|
|
144
145
|
var NotificationType;
|
|
145
146
|
(function (NotificationType) {
|
|
146
147
|
NotificationType["test"] = "test";
|
|
@@ -348,6 +349,20 @@ var ApiPaths;
|
|
|
348
349
|
ApiPaths["markGamePlayerAsNotPaid"] = "/hosted-games/{hostedGameId}/players/{gamePlayerId}/mark-as-not-paid";
|
|
349
350
|
ApiPaths["getLineupsByGameId"] = "/game-lineups/{gameId}";
|
|
350
351
|
ApiPaths["createGameLineups"] = "/game-lineups/{gameId}";
|
|
352
|
+
ApiPaths["generateInviteToken"] = "/games/{gameId}/moderator-invite";
|
|
353
|
+
ApiPaths["acceptInvite"] = "/games/moderator-invite/{token}/accept";
|
|
354
|
+
ApiPaths["removeModerator"] = "/games/{gameId}/moderators/{userId}";
|
|
355
|
+
ApiPaths["updateModerator"] = "/games/{gameId}/moderators/{userId}";
|
|
356
|
+
ApiPaths["createHostedGame"] = "/hosted-games";
|
|
357
|
+
ApiPaths["updateHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
358
|
+
ApiPaths["cancelHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
359
|
+
ApiPaths["getHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
360
|
+
ApiPaths["getUserHostedGamesFuture"] = "/hosted-games/future";
|
|
361
|
+
ApiPaths["getUserHostedGamesPast"] = "/hosted-games/past";
|
|
362
|
+
ApiPaths["getFbGroupsByGameId"] = "/game/{gameId}/fb-groups";
|
|
363
|
+
ApiPaths["getUserPenalties"] = "/user/{userId}/penalty";
|
|
364
|
+
ApiPaths["createPenalty"] = "/user/{userId}/penalty";
|
|
365
|
+
ApiPaths["revokePenalty"] = "/penalties/{userPenaltyId}";
|
|
351
366
|
ApiPaths["emitGameAlerts"] = "/nearby-games-alerts/trigger-scheduled-alert-for-game";
|
|
352
367
|
ApiPaths["upsertUserNearbyGamesAlert"] = "/nearby-games/alerts";
|
|
353
368
|
ApiPaths["getUserNearbyGamesAlert"] = "/nearby-games/alerts";
|
|
@@ -361,16 +376,6 @@ var ApiPaths;
|
|
|
361
376
|
ApiPaths["setMyLanguage"] = "/users/me/language";
|
|
362
377
|
ApiPaths["getMyUserStats"] = "/users/me/stats";
|
|
363
378
|
ApiPaths["upsertUserMetaPushNotificationEnabledValue"] = "/user-meta/push-notification-enabled";
|
|
364
|
-
ApiPaths["createHostedGame"] = "/hosted-games";
|
|
365
|
-
ApiPaths["updateHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
366
|
-
ApiPaths["cancelHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
367
|
-
ApiPaths["getHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
368
|
-
ApiPaths["getUserHostedGamesFuture"] = "/hosted-games/future";
|
|
369
|
-
ApiPaths["getUserHostedGamesPast"] = "/hosted-games/past";
|
|
370
|
-
ApiPaths["getFbGroupsByGameId"] = "/game/{gameId}/fb-groups";
|
|
371
|
-
ApiPaths["getUserPenalties"] = "/user/{userId}/penalty";
|
|
372
|
-
ApiPaths["createPenalty"] = "/user/{userId}/penalty";
|
|
373
|
-
ApiPaths["revokePenalty"] = "/penalties/{userPenaltyId}";
|
|
374
379
|
ApiPaths["getMyGames"] = "/my-games";
|
|
375
380
|
ApiPaths["getAllForCurrentUser"] = "/user-notifications";
|
|
376
381
|
ApiPaths["markAsRead"] = "/user-notifications";
|
|
@@ -443,10 +448,6 @@ var ApiPaths;
|
|
|
443
448
|
ApiPaths["checkAuthMethod"] = "/auth/check-auth-method";
|
|
444
449
|
ApiPaths["generateReassignToken"] = "/hosted-games/{hostedGameId}/reassign/create-reassign-token";
|
|
445
450
|
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}";
|
|
450
451
|
ApiPaths["triggerInactiveUsersNotification"] = "/action-push/inactive-users-since-registered-notification";
|
|
451
452
|
ApiPaths["triggerInactiveWithoutGameApplications"] = "/action-push/inactive-users-notification";
|
|
452
453
|
ApiPaths["collect"] = "/kpi-snapshots/collect";
|