@orlikfy/api-interfaces 5.0.0 → 6.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.
Files changed (3) hide show
  1. package/dist/api.d.ts +766 -229
  2. package/dist/api.js +14 -8
  3. 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.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;
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;
8
8
  var KnownException;
9
9
  (function (KnownException) {
10
10
  KnownException["UserBanned"] = "UserBanned";
@@ -224,10 +224,6 @@ var ArrivalType;
224
224
  ArrivalType["hosted_game"] = "hosted-game";
225
225
  ArrivalType["player_game"] = "player-game";
226
226
  })(ArrivalType || (exports.ArrivalType = ArrivalType = {}));
227
- var LinkSuffixOption;
228
- (function (LinkSuffixOption) {
229
- LinkSuffixOption["SHORT"] = "SHORT";
230
- })(LinkSuffixOption || (exports.LinkSuffixOption = LinkSuffixOption = {}));
231
227
  var UserRoleEnum;
232
228
  (function (UserRoleEnum) {
233
229
  UserRoleEnum["USER"] = "USER";
@@ -279,7 +275,10 @@ var ApiPaths;
279
275
  (function (ApiPaths) {
280
276
  ApiPaths["getHello"] = "/hello";
281
277
  ApiPaths["getError"] = "/error";
278
+ ApiPaths["getErrorUncaught"] = "/error-uncaught";
279
+ ApiPaths["postUserRegistration"] = "/users/user-registered-cloud-fn-callback";
282
280
  ApiPaths["getGameById"] = "/games/{gameId}";
281
+ ApiPaths["getNearbyGamesDeprecated"] = "/nearby-games";
283
282
  ApiPaths["getNearbyGamesByLocation"] = "/nearby-games/locations";
284
283
  ApiPaths["getNearbyGamesList"] = "/nearby-games/list";
285
284
  ApiPaths["getLocationGames"] = "/location/{locationId}/games";
@@ -301,11 +300,13 @@ var ApiPaths;
301
300
  ApiPaths["getUserNearbyGamesAlert"] = "/nearby-games/alerts";
302
301
  ApiPaths["updateNearbyGamesAlertLocation"] = "/nearby-games/alerts/location";
303
302
  ApiPaths["updateNearbyGamesAlertEnabled"] = "/nearby-games/alerts/enabled";
303
+ ApiPaths["logoutUser"] = "/users/logout";
304
304
  ApiPaths["postMyUserReferral"] = "/users/referral";
305
305
  ApiPaths["getMyUser"] = "/users/me";
306
306
  ApiPaths["updateMyUserPartial"] = "/users/me";
307
307
  ApiPaths["deleteMyUser"] = "/users/me";
308
308
  ApiPaths["setMyLanguage"] = "/users/me/language";
309
+ ApiPaths["getMyUserStats"] = "/users/me/stats";
309
310
  ApiPaths["upsertUserMetaPushNotificationEnabledValue"] = "/user-meta/push-notification-enabled";
310
311
  ApiPaths["createHostedGame"] = "/hosted-games";
311
312
  ApiPaths["updateHostedGame"] = "/hosted-games/{hostedGameId}";
@@ -322,7 +323,6 @@ var ApiPaths;
322
323
  ApiPaths["registerDeviceToken"] = "/user-notifications/config/register-device-token";
323
324
  ApiPaths["unregisterDeviceToken"] = "/user-notifications/config/unregister-device-token/{token}";
324
325
  ApiPaths["getArrival"] = "/arrival";
325
- ApiPaths["createShortLink"] = "/short-link";
326
326
  ApiPaths["createRecurringGame"] = "/recurring-games";
327
327
  ApiPaths["getUsers"] = "/admin/users";
328
328
  ApiPaths["getUsersStats"] = "/admin/users/stats";
@@ -330,20 +330,24 @@ var ApiPaths;
330
330
  ApiPaths["getGamesForPost"] = "/admin/games-for-post";
331
331
  ApiPaths["getGamesStats"] = "/admin/games/stats";
332
332
  ApiPaths["getKnownCitiesForPost"] = "/admin/known-cities";
333
+ ApiPaths["restoreRecurringGame"] = "/admin/restore-recurring-game";
333
334
  ApiPaths["removeOldGameChats"] = "/admin/adhoc/remove-old-game-chats";
334
335
  ApiPaths["emitGameUpdated"] = "/admin/adhoc/emit-game-updated";
335
336
  ApiPaths["postCustomNotification"] = "/admin/notifications/custom";
336
337
  ApiPaths["postCustomNotificationByAutomation"] = "/admin/automations/notifications/custom";
338
+ ApiPaths["getGamesForPostPublic"] = "/admin/games-for-post-public";
339
+ ApiPaths["cancelGameByAdmin"] = "/admin/moderation/game/{gameId}";
340
+ ApiPaths["deleteUserByAdmin"] = "/admin/moderation/user/{userId}";
337
341
  ApiPaths["testActionNotification"] = "/admin/test-notifications/action-push";
338
342
  ApiPaths["getChannelByReference"] = "/chat/channel/get-by-reference";
339
343
  ApiPaths["getChannelDetails"] = "/chat/channel/{channelId}";
344
+ ApiPaths["updateChannelDetails"] = "/chat/channel/{channelId}";
345
+ ApiPaths["getChannelMembers"] = "/chat/channel/{channelId}/members";
340
346
  ApiPaths["muteChannel"] = "/chat/channel/{channelId}/muted";
341
347
  ApiPaths["getMyChatUser"] = "/chat/user/me";
342
348
  ApiPaths["postChatWebook"] = "/chat/webhook";
343
349
  ApiPaths["createOrGetSingleChannel"] = "/chat/channel/single";
344
350
  ApiPaths["cleanupUnreadMessages"] = "/chat-maintenance/cleanup-unread-messages";
345
- ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
346
- ApiPaths["createRating"] = "/rating/app";
347
351
  ApiPaths["postGameApplication"] = "/games/{gameId}/player-applications";
348
352
  ApiPaths["deleteGameApplication"] = "/games/{gameId}/player-applications";
349
353
  ApiPaths["rejectHostedGameApplications"] = "/hosted-games/{hostedGameId}/applications/reject-many";
@@ -359,6 +363,8 @@ var ApiPaths;
359
363
  ApiPaths["removeTeamMember"] = "/teams/{teamId}/members/{userId}";
360
364
  ApiPaths["leave"] = "/teams/{teamId}/member/me";
361
365
  ApiPaths["acceptTeamInvitation"] = "/teams/{teamId}/invitations/accept";
366
+ ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
367
+ ApiPaths["createRating"] = "/rating/app";
362
368
  ApiPaths["createContactMessage"] = "/contact/message";
363
369
  ApiPaths["triggerNotificationsForGameFinished"] = "/game-notifications/game-finished";
364
370
  ApiPaths["triggerNotificationsForGameReminder"] = "/game-notifications/game-reminder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orlikfy/api-interfaces",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",