@orlikfy/api-interfaces 4.2.3 → 5.0.0
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 +130 -763
- package/dist/api.js +13 -14
- 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.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.UserRoleEnum = exports.LinkSuffixOption = 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.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.LinkSuffixOption = 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";
|
|
@@ -233,6 +233,16 @@ var UserRoleEnum;
|
|
|
233
233
|
UserRoleEnum["USER"] = "USER";
|
|
234
234
|
UserRoleEnum["ADMIN"] = "ADMIN";
|
|
235
235
|
})(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
|
|
236
|
+
var AdminGameTypeFilter;
|
|
237
|
+
(function (AdminGameTypeFilter) {
|
|
238
|
+
AdminGameTypeFilter["RECURRING"] = "RECURRING";
|
|
239
|
+
AdminGameTypeFilter["SINGLE"] = "SINGLE";
|
|
240
|
+
})(AdminGameTypeFilter || (exports.AdminGameTypeFilter = AdminGameTypeFilter = {}));
|
|
241
|
+
var GameVisibility;
|
|
242
|
+
(function (GameVisibility) {
|
|
243
|
+
GameVisibility["PUBLIC"] = "PUBLIC";
|
|
244
|
+
GameVisibility["PRIVATE"] = "PRIVATE";
|
|
245
|
+
})(GameVisibility || (exports.GameVisibility = GameVisibility = {}));
|
|
236
246
|
var MemberRole;
|
|
237
247
|
(function (MemberRole) {
|
|
238
248
|
MemberRole["Host"] = "Host";
|
|
@@ -269,10 +279,7 @@ var ApiPaths;
|
|
|
269
279
|
(function (ApiPaths) {
|
|
270
280
|
ApiPaths["getHello"] = "/hello";
|
|
271
281
|
ApiPaths["getError"] = "/error";
|
|
272
|
-
ApiPaths["getErrorUncaught"] = "/error-uncaught";
|
|
273
|
-
ApiPaths["postUserRegistration"] = "/users/user-registered-cloud-fn-callback";
|
|
274
282
|
ApiPaths["getGameById"] = "/games/{gameId}";
|
|
275
|
-
ApiPaths["getNearbyGamesDeprecated"] = "/nearby-games";
|
|
276
283
|
ApiPaths["getNearbyGamesByLocation"] = "/nearby-games/locations";
|
|
277
284
|
ApiPaths["getNearbyGamesList"] = "/nearby-games/list";
|
|
278
285
|
ApiPaths["getLocationGames"] = "/location/{locationId}/games";
|
|
@@ -294,13 +301,11 @@ var ApiPaths;
|
|
|
294
301
|
ApiPaths["getUserNearbyGamesAlert"] = "/nearby-games/alerts";
|
|
295
302
|
ApiPaths["updateNearbyGamesAlertLocation"] = "/nearby-games/alerts/location";
|
|
296
303
|
ApiPaths["updateNearbyGamesAlertEnabled"] = "/nearby-games/alerts/enabled";
|
|
297
|
-
ApiPaths["logoutUser"] = "/users/logout";
|
|
298
304
|
ApiPaths["postMyUserReferral"] = "/users/referral";
|
|
299
305
|
ApiPaths["getMyUser"] = "/users/me";
|
|
300
306
|
ApiPaths["updateMyUserPartial"] = "/users/me";
|
|
301
307
|
ApiPaths["deleteMyUser"] = "/users/me";
|
|
302
308
|
ApiPaths["setMyLanguage"] = "/users/me/language";
|
|
303
|
-
ApiPaths["getMyUserStats"] = "/users/me/stats";
|
|
304
309
|
ApiPaths["upsertUserMetaPushNotificationEnabledValue"] = "/user-meta/push-notification-enabled";
|
|
305
310
|
ApiPaths["createHostedGame"] = "/hosted-games";
|
|
306
311
|
ApiPaths["updateHostedGame"] = "/hosted-games/{hostedGameId}";
|
|
@@ -325,24 +330,20 @@ var ApiPaths;
|
|
|
325
330
|
ApiPaths["getGamesForPost"] = "/admin/games-for-post";
|
|
326
331
|
ApiPaths["getGamesStats"] = "/admin/games/stats";
|
|
327
332
|
ApiPaths["getKnownCitiesForPost"] = "/admin/known-cities";
|
|
328
|
-
ApiPaths["restoreRecurringGame"] = "/admin/restore-recurring-game";
|
|
329
333
|
ApiPaths["removeOldGameChats"] = "/admin/adhoc/remove-old-game-chats";
|
|
330
334
|
ApiPaths["emitGameUpdated"] = "/admin/adhoc/emit-game-updated";
|
|
331
335
|
ApiPaths["postCustomNotification"] = "/admin/notifications/custom";
|
|
332
336
|
ApiPaths["postCustomNotificationByAutomation"] = "/admin/automations/notifications/custom";
|
|
333
|
-
ApiPaths["getGamesForPostPublic"] = "/admin/games-for-post-public";
|
|
334
|
-
ApiPaths["cancelGameByAdmin"] = "/admin/moderation/game/{gameId}";
|
|
335
|
-
ApiPaths["deleteUserByAdmin"] = "/admin/moderation/user/{userId}";
|
|
336
337
|
ApiPaths["testActionNotification"] = "/admin/test-notifications/action-push";
|
|
337
338
|
ApiPaths["getChannelByReference"] = "/chat/channel/get-by-reference";
|
|
338
339
|
ApiPaths["getChannelDetails"] = "/chat/channel/{channelId}";
|
|
339
|
-
ApiPaths["updateChannelDetails"] = "/chat/channel/{channelId}";
|
|
340
|
-
ApiPaths["getChannelMembers"] = "/chat/channel/{channelId}/members";
|
|
341
340
|
ApiPaths["muteChannel"] = "/chat/channel/{channelId}/muted";
|
|
342
341
|
ApiPaths["getMyChatUser"] = "/chat/user/me";
|
|
343
342
|
ApiPaths["postChatWebook"] = "/chat/webhook";
|
|
344
343
|
ApiPaths["createOrGetSingleChannel"] = "/chat/channel/single";
|
|
345
344
|
ApiPaths["cleanupUnreadMessages"] = "/chat-maintenance/cleanup-unread-messages";
|
|
345
|
+
ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
|
|
346
|
+
ApiPaths["createRating"] = "/rating/app";
|
|
346
347
|
ApiPaths["postGameApplication"] = "/games/{gameId}/player-applications";
|
|
347
348
|
ApiPaths["deleteGameApplication"] = "/games/{gameId}/player-applications";
|
|
348
349
|
ApiPaths["rejectHostedGameApplications"] = "/hosted-games/{hostedGameId}/applications/reject-many";
|
|
@@ -358,8 +359,6 @@ var ApiPaths;
|
|
|
358
359
|
ApiPaths["removeTeamMember"] = "/teams/{teamId}/members/{userId}";
|
|
359
360
|
ApiPaths["leave"] = "/teams/{teamId}/member/me";
|
|
360
361
|
ApiPaths["acceptTeamInvitation"] = "/teams/{teamId}/invitations/accept";
|
|
361
|
-
ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
|
|
362
|
-
ApiPaths["createRating"] = "/rating/app";
|
|
363
362
|
ApiPaths["createContactMessage"] = "/contact/message";
|
|
364
363
|
ApiPaths["triggerNotificationsForGameFinished"] = "/game-notifications/game-finished";
|
|
365
364
|
ApiPaths["triggerNotificationsForGameReminder"] = "/game-notifications/game-reminder";
|