@ughuuu/gamend 1.0.0 → 1.0.1235

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 (343) hide show
  1. package/README.md +3 -3
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AdminAnalyticsApi.js +2 -2
  4. package/dist/api/AdminChatApi.js +2 -2
  5. package/dist/api/AdminEconomyApi.js +2 -2
  6. package/dist/api/AdminGroupsApi.js +2 -2
  7. package/dist/api/AdminKVApi.js +2 -2
  8. package/dist/api/AdminLeaderboardsApi.js +2 -2
  9. package/dist/api/AdminLobbiesApi.js +2 -2
  10. package/dist/api/AdminMatchmakingApi.js +2 -2
  11. package/dist/api/AdminNotificationsApi.js +2 -2
  12. package/dist/api/AdminPushApi.js +2 -2
  13. package/dist/api/AdminQuestsApi.js +2 -2
  14. package/dist/api/AdminReadyChecksApi.js +2 -2
  15. package/dist/api/AdminRetentionApi.js +2 -2
  16. package/dist/api/AdminSessionsApi.js +2 -2
  17. package/dist/api/AdminStorageApi.js +2 -2
  18. package/dist/api/AdminTournamentsApi.js +2 -2
  19. package/dist/api/AdminUsersApi.js +2 -2
  20. package/dist/api/AuthenticationApi.js +2 -2
  21. package/dist/api/ChatApi.js +2 -2
  22. package/dist/api/ClientLogsApi.js +2 -2
  23. package/dist/api/EconomyApi.js +2 -2
  24. package/dist/api/FriendsApi.js +2 -2
  25. package/dist/api/GroupsApi.js +2 -2
  26. package/dist/api/HealthApi.js +2 -2
  27. package/dist/api/HooksApi.js +2 -2
  28. package/dist/api/KVApi.js +2 -2
  29. package/dist/api/LeaderboardsApi.js +2 -2
  30. package/dist/api/LobbiesApi.js +2 -2
  31. package/dist/api/MatchmakingApi.js +2 -2
  32. package/dist/api/NotificationsApi.js +2 -2
  33. package/dist/api/PartiesApi.js +2 -2
  34. package/dist/api/PaymentsApi.js +2 -2
  35. package/dist/api/PushApi.js +2 -2
  36. package/dist/api/QuestsApi.js +2 -2
  37. package/dist/api/ReadyChecksApi.js +2 -2
  38. package/dist/api/SignalingApi.js +2 -2
  39. package/dist/api/StatsApi.js +2 -2
  40. package/dist/api/TimeApi.js +2 -2
  41. package/dist/api/TournamentsApi.js +2 -2
  42. package/dist/api/UsersApi.js +2 -2
  43. package/dist/model/AcceptPartyInvite200Response.js +2 -2
  44. package/dist/model/AcceptPartyInvite200ResponseMembersInner.js +2 -2
  45. package/dist/model/AcceptPartyInviteRequest.js +2 -2
  46. package/dist/model/AdminCancelMatchmakingTicket200Response.js +2 -2
  47. package/dist/model/AdminCancelReadyCheck200Response.js +2 -2
  48. package/dist/model/AdminCancelReadyCheck200ResponseData.js +2 -2
  49. package/dist/model/AdminConsumeItem400Response.js +2 -2
  50. package/dist/model/AdminCreateChatFilterWordRequest.js +2 -2
  51. package/dist/model/AdminCreateChatMute200Response.js +2 -2
  52. package/dist/model/AdminCreateChatMuteRequest.js +2 -2
  53. package/dist/model/AdminCreateLeaderboard200Response.js +2 -2
  54. package/dist/model/AdminCreateLeaderboard200ResponseData.js +2 -2
  55. package/dist/model/AdminCreateLeaderboardRequest.js +2 -2
  56. package/dist/model/AdminCreateNotificationRequest.js +2 -2
  57. package/dist/model/AdminCreateQuestRequest.js +2 -2
  58. package/dist/model/AdminCreateQuestRequestObjectivesInner.js +2 -2
  59. package/dist/model/AdminCreateQuestRequestRewardsInner.js +2 -2
  60. package/dist/model/AdminDeleteChatConversation200Response.js +2 -2
  61. package/dist/model/AdminDeleteChatConversation200ResponseData.js +2 -2
  62. package/dist/model/AdminDeleteChatFilterWordsByLang200Response.js +2 -2
  63. package/dist/model/AdminDrawTournament200Response.js +2 -2
  64. package/dist/model/AdminDrawTournament200ResponseData.js +2 -2
  65. package/dist/model/AdminGetAnalyticsCounts200Response.js +2 -2
  66. package/dist/model/AdminGetAnalyticsCounts200ResponseTotalsInner.js +2 -2
  67. package/dist/model/AdminGetAnalyticsDaily200Response.js +2 -2
  68. package/dist/model/AdminGetAnalyticsDaily200ResponseSeriesInner.js +2 -2
  69. package/dist/model/AdminGetAnalyticsEconomy200Response.js +2 -2
  70. package/dist/model/AdminGetAnalyticsEconomy200ResponseFlowInner.js +2 -2
  71. package/dist/model/AdminGetAnalyticsEconomy200ResponseTotalsInner.js +2 -2
  72. package/dist/model/AdminGetAnalyticsSummary200Response.js +2 -2
  73. package/dist/model/AdminGrantItemRequest.js +2 -2
  74. package/dist/model/AdminImportChatFilterWords200Response.js +2 -2
  75. package/dist/model/AdminImportChatFilterWordsRequest.js +2 -2
  76. package/dist/model/AdminListChatFilterWords200Response.js +2 -2
  77. package/dist/model/AdminListChatMessages200Response.js +2 -2
  78. package/dist/model/AdminListChatMessages200ResponseDataInner.js +2 -2
  79. package/dist/model/AdminListChatMutes200Response.js +2 -2
  80. package/dist/model/AdminListChatMutes200ResponseDataInner.js +2 -2
  81. package/dist/model/AdminListChatReports200Response.js +2 -2
  82. package/dist/model/AdminListGroups200Response.js +2 -2
  83. package/dist/model/AdminListKvEntries200Response.js +2 -2
  84. package/dist/model/AdminListLobbies200Response.js +2 -2
  85. package/dist/model/AdminListLobbies200ResponseDataInner.js +2 -2
  86. package/dist/model/AdminListMatchmakingTickets200Response.js +2 -2
  87. package/dist/model/AdminListMatchmakingTickets200ResponseDataInner.js +2 -2
  88. package/dist/model/AdminListNotifications200Response.js +2 -2
  89. package/dist/model/AdminListNotifications200ResponseDataInner.js +2 -2
  90. package/dist/model/AdminListPushTokens200Response.js +2 -2
  91. package/dist/model/AdminListPushTokens200ResponseDataInner.js +2 -2
  92. package/dist/model/AdminListQuestProgress200Response.js +2 -2
  93. package/dist/model/AdminListQuestProgress200ResponseDataInner.js +2 -2
  94. package/dist/model/AdminListQuests200Response.js +2 -2
  95. package/dist/model/AdminListQuests200ResponseDataInner.js +2 -2
  96. package/dist/model/AdminListReadyChecks200Response.js +2 -2
  97. package/dist/model/AdminListSessions200Response.js +2 -2
  98. package/dist/model/AdminListSessions200ResponseDataInner.js +2 -2
  99. package/dist/model/AdminListStorageObjects200Response.js +2 -2
  100. package/dist/model/AdminListStorageObjects200ResponseDataInner.js +2 -2
  101. package/dist/model/AdminListStorageObjects200ResponseUsage.js +2 -2
  102. package/dist/model/AdminMatchmakingStats200Response.js +2 -2
  103. package/dist/model/AdminMatchmakingStats200ResponseData.js +2 -2
  104. package/dist/model/AdminResetQuestRequest.js +2 -2
  105. package/dist/model/AdminResolveChatReport200Response.js +2 -2
  106. package/dist/model/AdminResolveChatReport200ResponseData.js +2 -2
  107. package/dist/model/AdminResolveChatReportRequest.js +2 -2
  108. package/dist/model/AdminResolveTournamentMatchRequest.js +2 -2
  109. package/dist/model/AdminRunRetention200Response.js +2 -2
  110. package/dist/model/AdminSendPushRequest.js +2 -2
  111. package/dist/model/AdminSetQuestIconRequest.js +2 -2
  112. package/dist/model/AdminSpendCurrencyRequest.js +2 -2
  113. package/dist/model/AdminSubmitLeaderboardScoreRequest.js +2 -2
  114. package/dist/model/AdminTestChatPhrase200Response.js +2 -2
  115. package/dist/model/AdminTestChatPhrase200ResponseData.js +2 -2
  116. package/dist/model/AdminTestChatPhrase200ResponseDataHitsInner.js +2 -2
  117. package/dist/model/AdminTestChatPhraseRequest.js +2 -2
  118. package/dist/model/AdminTournamentIconUploadUrlRequest.js +2 -2
  119. package/dist/model/AdminUpdateChatFilterWord200Response.js +2 -2
  120. package/dist/model/AdminUpdateChatFilterWord200ResponseData.js +2 -2
  121. package/dist/model/AdminUpdateChatFilterWordRequest.js +2 -2
  122. package/dist/model/AdminUpdateGroup200Response.js +2 -2
  123. package/dist/model/AdminUpdateGroupRequest.js +2 -2
  124. package/dist/model/AdminUpdateKvEntryRequest.js +2 -2
  125. package/dist/model/AdminUpdateLeaderboardRecord200Response.js +2 -2
  126. package/dist/model/AdminUpdateLeaderboardRecord200ResponseData.js +2 -2
  127. package/dist/model/AdminUpdateLeaderboardRecordRequest.js +2 -2
  128. package/dist/model/AdminUpdateLeaderboardRequest.js +2 -2
  129. package/dist/model/AdminUpdateLobby200Response.js +2 -2
  130. package/dist/model/AdminUpdateLobbyRequest.js +2 -2
  131. package/dist/model/AdminUpdateTournamentRequest.js +2 -2
  132. package/dist/model/AdminUpdateUser200Response.js +2 -2
  133. package/dist/model/AdminUpdateUser200ResponseData.js +2 -2
  134. package/dist/model/AdminUpdateUserRequest.js +2 -2
  135. package/dist/model/AdminUpsertKv200Response.js +2 -2
  136. package/dist/model/AdminUpsertKv200ResponseData.js +2 -2
  137. package/dist/model/AdminUpsertKvRequest.js +2 -2
  138. package/dist/model/ApproveJoinRequest200Response.js +2 -2
  139. package/dist/model/CallHook200Response.js +2 -2
  140. package/dist/model/CallHookRequest.js +2 -2
  141. package/dist/model/CancelJoinRequest200Response.js +2 -2
  142. package/dist/model/CancelPartyInviteRequest.js +2 -2
  143. package/dist/model/ChatUnreadCount200Response.js +2 -2
  144. package/dist/model/ChatUnreadCount200ResponseData.js +2 -2
  145. package/dist/model/ClaimQuest200Response.js +2 -2
  146. package/dist/model/ClaimQuest200ResponseData.js +2 -2
  147. package/dist/model/ClientLogBatch.js +2 -2
  148. package/dist/model/ClientLogEntry.js +2 -2
  149. package/dist/model/ClientLogPolicy.js +2 -2
  150. package/dist/model/ClientLogResult.js +2 -2
  151. package/dist/model/ClientLogSession.js +2 -2
  152. package/dist/model/CreateCurrentUserAvatarUploadUrlRequest.js +2 -2
  153. package/dist/model/CreateFriendRequestRequest.js +2 -2
  154. package/dist/model/CreateGroupRequest.js +2 -2
  155. package/dist/model/CreateLobbyRequest.js +2 -2
  156. package/dist/model/CreatePartyRequest.js +2 -2
  157. package/dist/model/DeclineGroupInvite200Response.js +2 -2
  158. package/dist/model/DeclinePartyInviteRequest.js +2 -2
  159. package/dist/model/DeleteNotifications200Response.js +2 -2
  160. package/dist/model/DeleteNotifications200ResponseData.js +2 -2
  161. package/dist/model/DeleteNotificationsRequest.js +2 -2
  162. package/dist/model/DeletePushToken200Response.js +2 -2
  163. package/dist/model/DemoteGroupMemberRequest.js +2 -2
  164. package/dist/model/DeviceLoginRequest.js +2 -2
  165. package/dist/model/ErrorResponse.js +2 -2
  166. package/dist/model/GetCurrentUser200Response.js +2 -2
  167. package/dist/model/GetCurrentUser200ResponseLinkedProviders.js +2 -2
  168. package/dist/model/GetCurrentUserInventory200Response.js +2 -2
  169. package/dist/model/GetKv200Response.js +2 -2
  170. package/dist/model/GetLobby200Response.js +2 -2
  171. package/dist/model/GetMyReadyCheck200Response.js +2 -2
  172. package/dist/model/GetMyReadyCheck200ResponseLobby.js +2 -2
  173. package/dist/model/GetMyReadyCheck200ResponseParty.js +2 -2
  174. package/dist/model/GetMyRecord200Response.js +2 -2
  175. package/dist/model/GetMyRecord200ResponseData.js +2 -2
  176. package/dist/model/GetServerTime200Response.js +2 -2
  177. package/dist/model/GetStats200Response.js +2 -2
  178. package/dist/model/GetStats200ResponseData.js +2 -2
  179. package/dist/model/HealthResponse.js +2 -2
  180. package/dist/model/InviteToGroup200Response.js +2 -2
  181. package/dist/model/InviteToGroupRequest.js +2 -2
  182. package/dist/model/InviteToPartyRequest.js +2 -2
  183. package/dist/model/KickGroupMemberRequest.js +2 -2
  184. package/dist/model/KickPartyMemberRequest.js +2 -2
  185. package/dist/model/LinkDeviceRequest.js +2 -2
  186. package/dist/model/ListAuthProviders200Response.js +2 -2
  187. package/dist/model/ListBlacklistedUsers200Response.js +2 -2
  188. package/dist/model/ListBlacklistedUsers200ResponseDataInner.js +2 -2
  189. package/dist/model/ListBlockedFriends200Response.js +2 -2
  190. package/dist/model/ListBlockedFriends200ResponseDataInner.js +2 -2
  191. package/dist/model/ListChatMessages200Response.js +2 -2
  192. package/dist/model/ListChatMessages200ResponseDataInner.js +2 -2
  193. package/dist/model/ListCurrentUserLedger200Response.js +2 -2
  194. package/dist/model/ListCurrentUserLedger200ResponseDataInner.js +2 -2
  195. package/dist/model/ListFriendRequests200Response.js +2 -2
  196. package/dist/model/ListFriendRequests200ResponseData.js +2 -2
  197. package/dist/model/ListFriendRequests200ResponseDataIncomingInner.js +2 -2
  198. package/dist/model/ListFriendRequests200ResponseDataIncomingInnerRequester.js +2 -2
  199. package/dist/model/ListFriendRequests200ResponseMeta.js +2 -2
  200. package/dist/model/ListFriends200Response.js +2 -2
  201. package/dist/model/ListFriends200ResponseDataInner.js +2 -2
  202. package/dist/model/ListGroupInvitations200Response.js +2 -2
  203. package/dist/model/ListGroupInvitations200ResponseDataInner.js +2 -2
  204. package/dist/model/ListGroupMembers200Response.js +2 -2
  205. package/dist/model/ListGroupMutes200Response.js +2 -2
  206. package/dist/model/ListGroupMutes200ResponseDataInner.js +2 -2
  207. package/dist/model/ListGroupMutes200ResponseMeta.js +2 -2
  208. package/dist/model/ListJoinRequests200Response.js +2 -2
  209. package/dist/model/ListLeaderboardRecords200Response.js +2 -2
  210. package/dist/model/ListLeaderboards200Response.js +2 -2
  211. package/dist/model/ListLobbies200Response.js +2 -2
  212. package/dist/model/ListLobbies200ResponseDataInner.js +2 -2
  213. package/dist/model/ListMyGroups200Response.js +2 -2
  214. package/dist/model/ListMyGroups200ResponseDataInner.js +2 -2
  215. package/dist/model/ListNotifications200Response.js +2 -2
  216. package/dist/model/ListNotifications200ResponseDataInner.js +2 -2
  217. package/dist/model/ListPartyInvitations200ResponseInner.js +2 -2
  218. package/dist/model/ListPushTokens200Response.js +2 -2
  219. package/dist/model/ListRecordsAroundUser200Response.js +2 -2
  220. package/dist/model/ListSentInvitations200Response.js +2 -2
  221. package/dist/model/ListSentInvitations200ResponseDataInner.js +2 -2
  222. package/dist/model/ListTournaments200Response.js +2 -2
  223. package/dist/model/ListTournaments200ResponseDataInner.js +2 -2
  224. package/dist/model/LobbyStats200Response.js +2 -2
  225. package/dist/model/LobbyStats200ResponseData.js +2 -2
  226. package/dist/model/Login200Response.js +2 -2
  227. package/dist/model/Login200ResponseData.js +2 -2
  228. package/dist/model/LoginRequest.js +2 -2
  229. package/dist/model/MarkChatReadRequest.js +2 -2
  230. package/dist/model/MatchmakingCancel200Response.js +2 -2
  231. package/dist/model/MatchmakingJoin201Response.js +2 -2
  232. package/dist/model/MatchmakingJoin201ResponseData.js +2 -2
  233. package/dist/model/MatchmakingJoinRequest.js +2 -2
  234. package/dist/model/MatchmakingMyTicket200Response.js +2 -2
  235. package/dist/model/MatchmakingMyTicket200ResponseData.js +2 -2
  236. package/dist/model/MatchmakingStats200Response.js +2 -2
  237. package/dist/model/MatchmakingStats200ResponseData.js +2 -2
  238. package/dist/model/MatchmakingStats200ResponseDataQueuesInner.js +2 -2
  239. package/dist/model/MuteGroupMemberRequest.js +2 -2
  240. package/dist/model/OAuthSessionData.js +2 -2
  241. package/dist/model/OAuthSessionDataDetails.js +2 -2
  242. package/dist/model/OAuthSessionStatus.js +2 -2
  243. package/dist/model/OauthApiCallback200Response.js +2 -2
  244. package/dist/model/OauthApiCallbackRequest.js +2 -2
  245. package/dist/model/OauthCallbackApiAppleIosRequest.js +2 -2
  246. package/dist/model/OauthGoogleIdTokenRequest.js +2 -2
  247. package/dist/model/OauthRequest200Response.js +2 -2
  248. package/dist/model/OauthSessionStatus404Response.js +2 -2
  249. package/dist/model/OpenLobbyReadyCheck201Response.js +2 -2
  250. package/dist/model/OpenLobbyReadyCheckRequest.js +2 -2
  251. package/dist/model/PartyCreateLobbyRequest.js +2 -2
  252. package/dist/model/PartyJoinLobbyRequest.js +2 -2
  253. package/dist/model/PartyStats200Response.js +2 -2
  254. package/dist/model/PartyStats200ResponseData.js +2 -2
  255. package/dist/model/PaymentsSteamCheckoutRequest.js +2 -2
  256. package/dist/model/PaymentsSteamFinalizeRequest.js +2 -2
  257. package/dist/model/PaymentsStripeCheckoutRequest.js +2 -2
  258. package/dist/model/PromoteGroupMemberRequest.js +2 -2
  259. package/dist/model/QuestStats200Response.js +2 -2
  260. package/dist/model/QuestStats200ResponseData.js +2 -2
  261. package/dist/model/QuickJoinRequest.js +2 -2
  262. package/dist/model/RefreshToken200Response.js +2 -2
  263. package/dist/model/RefreshToken200ResponseData.js +2 -2
  264. package/dist/model/RefreshTokenRequest.js +2 -2
  265. package/dist/model/RegisterPushTokenRequest.js +2 -2
  266. package/dist/model/ReportChatMessageRequest.js +2 -2
  267. package/dist/model/ResolveLeaderboardSlugs200Response.js +2 -2
  268. package/dist/model/ResolveLeaderboardSlugs200ResponseDataValue.js +2 -2
  269. package/dist/model/ResolveLeaderboardSlugsRequest.js +2 -2
  270. package/dist/model/RespondReadyCheckRequest.js +2 -2
  271. package/dist/model/SearchUsers200Response.js +2 -2
  272. package/dist/model/SearchUsers200ResponseDataInner.js +2 -2
  273. package/dist/model/SendChatMessageRequest.js +2 -2
  274. package/dist/model/SendNotificationRequest.js +2 -2
  275. package/dist/model/SetLobbyStateRequest.js +2 -2
  276. package/dist/model/SignalingStats200Response.js +2 -2
  277. package/dist/model/SignalingStats200ResponseData.js +2 -2
  278. package/dist/model/TournamentMyMatch200Response.js +2 -2
  279. package/dist/model/UnmuteLobbyMemberRequest.js +2 -2
  280. package/dist/model/UpdateChatMessageRequest.js +2 -2
  281. package/dist/model/UpdateCurrentUserDisplayName400Response.js +2 -2
  282. package/dist/model/UpdateCurrentUserDisplayNameRequest.js +2 -2
  283. package/dist/model/UpdateCurrentUserPasswordRequest.js +2 -2
  284. package/dist/model/UpdateCurrentUserUsernameRequest.js +2 -2
  285. package/dist/model/UpdateGroupRequest.js +2 -2
  286. package/dist/model/UpdateLobbyRequest.js +2 -2
  287. package/dist/model/UpdatePartyRequest.js +2 -2
  288. package/dist/model/UserQuests200Response.js +2 -2
  289. package/dist/model/UserQuests200ResponseDataInner.js +2 -2
  290. package/dist/model/UserQuests200ResponseDataInnerObjectivesInner.js +2 -2
  291. package/dist/model/UserQuests200ResponseDataInnerProgress.js +2 -2
  292. package/dist/model/UserQuests200ResponseDataInnerRewardsInner.js +2 -2
  293. package/dist/model/UserQuests200ResponseMeta.js +2 -2
  294. package/dist/model/UserStats200Response.js +2 -2
  295. package/dist/model/UserStats200ResponseData.js +2 -2
  296. package/package.json +7 -6
  297. package/dist/api/AchievementsApi.js +0 -224
  298. package/dist/api/AdminAchievementsApi.js +0 -356
  299. package/dist/model/AdminCreateAchievementRequest.js +0 -182
  300. package/dist/model/AdminCreateKvEntry200Response.js +0 -91
  301. package/dist/model/AdminCreateKvEntryRequest.js +0 -146
  302. package/dist/model/AdminCreateNotification400Response.js +0 -89
  303. package/dist/model/AdminEndLeaderboard200Response.js +0 -91
  304. package/dist/model/AdminEndLeaderboard200ResponseData.js +0 -231
  305. package/dist/model/AdminGrantAchievementRequest.js +0 -126
  306. package/dist/model/AdminIncrementAchievementRequest.js +0 -134
  307. package/dist/model/AdminListAchievements200Response.js +0 -118
  308. package/dist/model/AdminListAchievements200ResponseDataInner.js +0 -185
  309. package/dist/model/AdminListKvEntries200ResponseDataInner.js +0 -147
  310. package/dist/model/AdminListNotifications200ResponseMeta.js +0 -125
  311. package/dist/model/AdminRevokeAchievementRequest.js +0 -126
  312. package/dist/model/AdminSubmitLeaderboardScore200Response.js +0 -91
  313. package/dist/model/AdminSubmitLeaderboardScore200ResponseData.js +0 -141
  314. package/dist/model/AdminUpdateAchievementRequest.js +0 -145
  315. package/dist/model/CancelGroupInvite200Response.js +0 -89
  316. package/dist/model/CreateLobby401Response.js +0 -89
  317. package/dist/model/GameServerWebApiV1TournamentControllerIndex200Response.js +0 -110
  318. package/dist/model/GameServerWebApiV1TournamentControllerIndex200ResponseDataInner.js +0 -258
  319. package/dist/model/GameServerWebApiV1TournamentControllerMyMatch200Response.js +0 -173
  320. package/dist/model/JoinLobby200Response.js +0 -89
  321. package/dist/model/JoinLobbyRequest.js +0 -90
  322. package/dist/model/JoinPartyByCodeRequest.js +0 -113
  323. package/dist/model/KickUser200Response.js +0 -89
  324. package/dist/model/KickUserRequest.js +0 -109
  325. package/dist/model/LeaveLobby200Response.js +0 -89
  326. package/dist/model/ListBlockedFriends200ResponseDataInnerRequester.js +0 -113
  327. package/dist/model/ListFriendRequests200ResponseIncomingInner.js +0 -140
  328. package/dist/model/ListFriendRequests200ResponseIncomingInnerRequester.js +0 -142
  329. package/dist/model/ListFriends200ResponseMeta.js +0 -125
  330. package/dist/model/ListGroupMembers200ResponseDataInner.js +0 -180
  331. package/dist/model/ListLeaderboardRecords200ResponseDataInner.js +0 -134
  332. package/dist/model/ListLeaderboardRecords200ResponseMeta.js +0 -125
  333. package/dist/model/ListLeaderboards200ResponseDataInner.js +0 -247
  334. package/dist/model/ListLobbies200ResponseInner.js +0 -153
  335. package/dist/model/ListLobbies200ResponseMeta.js +0 -125
  336. package/dist/model/Login200ResponseDataUser.js +0 -97
  337. package/dist/model/MyAchievements200Response.js +0 -124
  338. package/dist/model/MyAchievements200ResponseDataInner.js +0 -196
  339. package/dist/model/PaymentsEntitlements401Response.js +0 -89
  340. package/dist/model/RemoveFriendship401Response.js +0 -89
  341. package/dist/model/ShowParty200Response.js +0 -160
  342. package/dist/model/ShowParty200ResponseMembersInner.js +0 -137
  343. package/dist/model/UpdateCurrentUserPassword400Response.js +0 -97
@@ -1,125 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Game Server API
16
- * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
17
- *
18
- * The version of the OpenAPI document: 1.0.0
19
- *
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The ListLeaderboardRecords200ResponseMeta model module.
28
- * @module model/ListLeaderboardRecords200ResponseMeta
29
- * @version 1.0.0
30
- */
31
- var ListLeaderboardRecords200ResponseMeta = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>ListLeaderboardRecords200ResponseMeta</code>.
34
- * @alias module:model/ListLeaderboardRecords200ResponseMeta
35
- */
36
- function ListLeaderboardRecords200ResponseMeta() {
37
- _classCallCheck(this, ListLeaderboardRecords200ResponseMeta);
38
- ListLeaderboardRecords200ResponseMeta.initialize(this);
39
- }
40
-
41
- /**
42
- * Initializes the fields of this object.
43
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
- * Only for internal use.
45
- */
46
- return _createClass(ListLeaderboardRecords200ResponseMeta, null, [{
47
- key: "initialize",
48
- value: function initialize(obj) {}
49
-
50
- /**
51
- * Constructs a <code>ListLeaderboardRecords200ResponseMeta</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/ListLeaderboardRecords200ResponseMeta} obj Optional instance to populate.
55
- * @return {module:model/ListLeaderboardRecords200ResponseMeta} The populated <code>ListLeaderboardRecords200ResponseMeta</code> instance.
56
- */
57
- }, {
58
- key: "constructFromObject",
59
- value: function constructFromObject(data, obj) {
60
- if (data) {
61
- obj = obj || new ListLeaderboardRecords200ResponseMeta();
62
- if (data.hasOwnProperty('count')) {
63
- obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
64
- }
65
- if (data.hasOwnProperty('has_more')) {
66
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
67
- }
68
- if (data.hasOwnProperty('page')) {
69
- obj['page'] = _ApiClient["default"].convertToType(data['page'], 'Number');
70
- }
71
- if (data.hasOwnProperty('page_size')) {
72
- obj['page_size'] = _ApiClient["default"].convertToType(data['page_size'], 'Number');
73
- }
74
- if (data.hasOwnProperty('total_count')) {
75
- obj['total_count'] = _ApiClient["default"].convertToType(data['total_count'], 'Number');
76
- }
77
- if (data.hasOwnProperty('total_pages')) {
78
- obj['total_pages'] = _ApiClient["default"].convertToType(data['total_pages'], 'Number');
79
- }
80
- }
81
- return obj;
82
- }
83
-
84
- /**
85
- * Validates the JSON data with respect to <code>ListLeaderboardRecords200ResponseMeta</code>.
86
- * @param {Object} data The plain JavaScript object bearing properties of interest.
87
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListLeaderboardRecords200ResponseMeta</code>.
88
- */
89
- }, {
90
- key: "validateJSON",
91
- value: function validateJSON(data) {
92
- return true;
93
- }
94
- }]);
95
- }();
96
- /**
97
- * @member {Number} count
98
- */
99
- ListLeaderboardRecords200ResponseMeta.prototype['count'] = undefined;
100
-
101
- /**
102
- * @member {Boolean} has_more
103
- */
104
- ListLeaderboardRecords200ResponseMeta.prototype['has_more'] = undefined;
105
-
106
- /**
107
- * @member {Number} page
108
- */
109
- ListLeaderboardRecords200ResponseMeta.prototype['page'] = undefined;
110
-
111
- /**
112
- * @member {Number} page_size
113
- */
114
- ListLeaderboardRecords200ResponseMeta.prototype['page_size'] = undefined;
115
-
116
- /**
117
- * @member {Number} total_count
118
- */
119
- ListLeaderboardRecords200ResponseMeta.prototype['total_count'] = undefined;
120
-
121
- /**
122
- * @member {Number} total_pages
123
- */
124
- ListLeaderboardRecords200ResponseMeta.prototype['total_pages'] = undefined;
125
- var _default = exports["default"] = ListLeaderboardRecords200ResponseMeta;
@@ -1,247 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Game Server API
16
- * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated ## Notifications Persistent user-to-user notifications that survive across sessions: - **Send notifications** to accepted friends with a title, optional content, and optional metadata - **List own notifications** with pagination (ordered oldest-first) - **Delete notifications** by ID (single or batch) - **Real-time delivery** via the user WebSocket channel (`\"notification\"` events) - **Offline delivery**: undeleted notifications are replayed on WebSocket reconnect
17
- *
18
- * The version of the OpenAPI document: 1.0.0
19
- *
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The ListLeaderboards200ResponseDataInner model module.
28
- * @module model/ListLeaderboards200ResponseDataInner
29
- * @version 1.0.0
30
- */
31
- var ListLeaderboards200ResponseDataInner = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>ListLeaderboards200ResponseDataInner</code>.
34
- * @alias module:model/ListLeaderboards200ResponseDataInner
35
- */
36
- function ListLeaderboards200ResponseDataInner() {
37
- _classCallCheck(this, ListLeaderboards200ResponseDataInner);
38
- ListLeaderboards200ResponseDataInner.initialize(this);
39
- }
40
-
41
- /**
42
- * Initializes the fields of this object.
43
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
- * Only for internal use.
45
- */
46
- return _createClass(ListLeaderboards200ResponseDataInner, null, [{
47
- key: "initialize",
48
- value: function initialize(obj) {}
49
-
50
- /**
51
- * Constructs a <code>ListLeaderboards200ResponseDataInner</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/ListLeaderboards200ResponseDataInner} obj Optional instance to populate.
55
- * @return {module:model/ListLeaderboards200ResponseDataInner} The populated <code>ListLeaderboards200ResponseDataInner</code> instance.
56
- */
57
- }, {
58
- key: "constructFromObject",
59
- value: function constructFromObject(data, obj) {
60
- if (data) {
61
- obj = obj || new ListLeaderboards200ResponseDataInner();
62
- if (data.hasOwnProperty('description')) {
63
- obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
64
- }
65
- if (data.hasOwnProperty('ends_at')) {
66
- obj['ends_at'] = _ApiClient["default"].convertToType(data['ends_at'], 'Date');
67
- }
68
- if (data.hasOwnProperty('id')) {
69
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
70
- }
71
- if (data.hasOwnProperty('inserted_at')) {
72
- obj['inserted_at'] = _ApiClient["default"].convertToType(data['inserted_at'], 'Date');
73
- }
74
- if (data.hasOwnProperty('is_active')) {
75
- obj['is_active'] = _ApiClient["default"].convertToType(data['is_active'], 'Boolean');
76
- }
77
- if (data.hasOwnProperty('metadata')) {
78
- obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
79
- }
80
- if (data.hasOwnProperty('operator')) {
81
- obj['operator'] = _ApiClient["default"].convertToType(data['operator'], 'String');
82
- }
83
- if (data.hasOwnProperty('slug')) {
84
- obj['slug'] = _ApiClient["default"].convertToType(data['slug'], 'String');
85
- }
86
- if (data.hasOwnProperty('sort_order')) {
87
- obj['sort_order'] = _ApiClient["default"].convertToType(data['sort_order'], 'String');
88
- }
89
- if (data.hasOwnProperty('starts_at')) {
90
- obj['starts_at'] = _ApiClient["default"].convertToType(data['starts_at'], 'Date');
91
- }
92
- if (data.hasOwnProperty('title')) {
93
- obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
94
- }
95
- if (data.hasOwnProperty('updated_at')) {
96
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
97
- }
98
- }
99
- return obj;
100
- }
101
-
102
- /**
103
- * Validates the JSON data with respect to <code>ListLeaderboards200ResponseDataInner</code>.
104
- * @param {Object} data The plain JavaScript object bearing properties of interest.
105
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListLeaderboards200ResponseDataInner</code>.
106
- */
107
- }, {
108
- key: "validateJSON",
109
- value: function validateJSON(data) {
110
- // ensure the json data is a string
111
- if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
112
- throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
113
- }
114
- // ensure the json data is a string
115
- if (data['operator'] && !(typeof data['operator'] === 'string' || data['operator'] instanceof String)) {
116
- throw new Error("Expected the field `operator` to be a primitive type in the JSON string but got " + data['operator']);
117
- }
118
- // ensure the json data is a string
119
- if (data['slug'] && !(typeof data['slug'] === 'string' || data['slug'] instanceof String)) {
120
- throw new Error("Expected the field `slug` to be a primitive type in the JSON string but got " + data['slug']);
121
- }
122
- // ensure the json data is a string
123
- if (data['sort_order'] && !(typeof data['sort_order'] === 'string' || data['sort_order'] instanceof String)) {
124
- throw new Error("Expected the field `sort_order` to be a primitive type in the JSON string but got " + data['sort_order']);
125
- }
126
- // ensure the json data is a string
127
- if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
128
- throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
129
- }
130
- return true;
131
- }
132
- }]);
133
- }();
134
- /**
135
- * Description
136
- * @member {String} description
137
- */
138
- ListLeaderboards200ResponseDataInner.prototype['description'] = undefined;
139
-
140
- /**
141
- * @member {Date} ends_at
142
- */
143
- ListLeaderboards200ResponseDataInner.prototype['ends_at'] = undefined;
144
-
145
- /**
146
- * Leaderboard ID
147
- * @member {Number} id
148
- */
149
- ListLeaderboards200ResponseDataInner.prototype['id'] = undefined;
150
-
151
- /**
152
- * @member {Date} inserted_at
153
- */
154
- ListLeaderboards200ResponseDataInner.prototype['inserted_at'] = undefined;
155
-
156
- /**
157
- * Whether the leaderboard is still active
158
- * @member {Boolean} is_active
159
- */
160
- ListLeaderboards200ResponseDataInner.prototype['is_active'] = undefined;
161
-
162
- /**
163
- * Arbitrary metadata
164
- * @member {Object} metadata
165
- */
166
- ListLeaderboards200ResponseDataInner.prototype['metadata'] = undefined;
167
-
168
- /**
169
- * Score operator
170
- * @member {module:model/ListLeaderboards200ResponseDataInner.OperatorEnum} operator
171
- */
172
- ListLeaderboards200ResponseDataInner.prototype['operator'] = undefined;
173
-
174
- /**
175
- * Human-readable identifier (reusable across seasons)
176
- * @member {String} slug
177
- */
178
- ListLeaderboards200ResponseDataInner.prototype['slug'] = undefined;
179
-
180
- /**
181
- * Sort order - desc (higher is better) or asc (lower is better)
182
- * @member {module:model/ListLeaderboards200ResponseDataInner.SortOrderEnum} sort_order
183
- */
184
- ListLeaderboards200ResponseDataInner.prototype['sort_order'] = undefined;
185
-
186
- /**
187
- * @member {Date} starts_at
188
- */
189
- ListLeaderboards200ResponseDataInner.prototype['starts_at'] = undefined;
190
-
191
- /**
192
- * Display title
193
- * @member {String} title
194
- */
195
- ListLeaderboards200ResponseDataInner.prototype['title'] = undefined;
196
-
197
- /**
198
- * @member {Date} updated_at
199
- */
200
- ListLeaderboards200ResponseDataInner.prototype['updated_at'] = undefined;
201
-
202
- /**
203
- * Allowed values for the <code>operator</code> property.
204
- * @enum {String}
205
- * @readonly
206
- */
207
- ListLeaderboards200ResponseDataInner['OperatorEnum'] = {
208
- /**
209
- * value: "set"
210
- * @const
211
- */
212
- "set": "set",
213
- /**
214
- * value: "best"
215
- * @const
216
- */
217
- "best": "best",
218
- /**
219
- * value: "incr"
220
- * @const
221
- */
222
- "incr": "incr",
223
- /**
224
- * value: "decr"
225
- * @const
226
- */
227
- "decr": "decr"
228
- };
229
-
230
- /**
231
- * Allowed values for the <code>sort_order</code> property.
232
- * @enum {String}
233
- * @readonly
234
- */
235
- ListLeaderboards200ResponseDataInner['SortOrderEnum'] = {
236
- /**
237
- * value: "desc"
238
- * @const
239
- */
240
- "desc": "desc",
241
- /**
242
- * value: "asc"
243
- * @const
244
- */
245
- "asc": "asc"
246
- };
247
- var _default = exports["default"] = ListLeaderboards200ResponseDataInner;
@@ -1,153 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Game Server API
16
- * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow (API flow not yet implemented) Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Endpoints All API endpoints are under `/api/v1`
17
- *
18
- * The version of the OpenAPI document: 1.0.0
19
- *
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The ListLobbies200ResponseInner model module.
28
- * @module model/ListLobbies200ResponseInner
29
- * @version 1.0.0
30
- */
31
- var ListLobbies200ResponseInner = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>ListLobbies200ResponseInner</code>.
34
- * @alias module:model/ListLobbies200ResponseInner
35
- */
36
- function ListLobbies200ResponseInner() {
37
- _classCallCheck(this, ListLobbies200ResponseInner);
38
- ListLobbies200ResponseInner.initialize(this);
39
- }
40
-
41
- /**
42
- * Initializes the fields of this object.
43
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
- * Only for internal use.
45
- */
46
- return _createClass(ListLobbies200ResponseInner, null, [{
47
- key: "initialize",
48
- value: function initialize(obj) {}
49
-
50
- /**
51
- * Constructs a <code>ListLobbies200ResponseInner</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/ListLobbies200ResponseInner} obj Optional instance to populate.
55
- * @return {module:model/ListLobbies200ResponseInner} The populated <code>ListLobbies200ResponseInner</code> instance.
56
- */
57
- }, {
58
- key: "constructFromObject",
59
- value: function constructFromObject(data, obj) {
60
- if (data) {
61
- obj = obj || new ListLobbies200ResponseInner();
62
- if (data.hasOwnProperty('host_id')) {
63
- obj['host_id'] = _ApiClient["default"].convertToType(data['host_id'], 'Number');
64
- }
65
- if (data.hasOwnProperty('hostless')) {
66
- obj['hostless'] = _ApiClient["default"].convertToType(data['hostless'], 'Boolean');
67
- }
68
- if (data.hasOwnProperty('id')) {
69
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
70
- }
71
- if (data.hasOwnProperty('is_hidden')) {
72
- obj['is_hidden'] = _ApiClient["default"].convertToType(data['is_hidden'], 'Boolean');
73
- }
74
- if (data.hasOwnProperty('is_locked')) {
75
- obj['is_locked'] = _ApiClient["default"].convertToType(data['is_locked'], 'Boolean');
76
- }
77
- if (data.hasOwnProperty('max_users')) {
78
- obj['max_users'] = _ApiClient["default"].convertToType(data['max_users'], 'Number');
79
- }
80
- if (data.hasOwnProperty('metadata')) {
81
- obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
82
- }
83
- if (data.hasOwnProperty('title')) {
84
- obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
85
- }
86
- }
87
- return obj;
88
- }
89
-
90
- /**
91
- * Validates the JSON data with respect to <code>ListLobbies200ResponseInner</code>.
92
- * @param {Object} data The plain JavaScript object bearing properties of interest.
93
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListLobbies200ResponseInner</code>.
94
- */
95
- }, {
96
- key: "validateJSON",
97
- value: function validateJSON(data) {
98
- // ensure the json data is a string
99
- if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
100
- throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
101
- }
102
- return true;
103
- }
104
- }]);
105
- }();
106
- /**
107
- * User ID of the host
108
- * @member {Number} host_id
109
- */
110
- ListLobbies200ResponseInner.prototype['host_id'] = undefined;
111
-
112
- /**
113
- * Whether this is a server-managed lobby
114
- * @member {Boolean} hostless
115
- */
116
- ListLobbies200ResponseInner.prototype['hostless'] = undefined;
117
-
118
- /**
119
- * Lobby ID
120
- * @member {Number} id
121
- */
122
- ListLobbies200ResponseInner.prototype['id'] = undefined;
123
-
124
- /**
125
- * Hidden from public listings
126
- * @member {Boolean} is_hidden
127
- */
128
- ListLobbies200ResponseInner.prototype['is_hidden'] = undefined;
129
-
130
- /**
131
- * Locked - no new joins allowed
132
- * @member {Boolean} is_locked
133
- */
134
- ListLobbies200ResponseInner.prototype['is_locked'] = undefined;
135
-
136
- /**
137
- * Maximum number of users allowed
138
- * @member {Number} max_users
139
- */
140
- ListLobbies200ResponseInner.prototype['max_users'] = undefined;
141
-
142
- /**
143
- * Arbitrary metadata
144
- * @member {Object} metadata
145
- */
146
- ListLobbies200ResponseInner.prototype['metadata'] = undefined;
147
-
148
- /**
149
- * Display title
150
- * @member {String} title
151
- */
152
- ListLobbies200ResponseInner.prototype['title'] = undefined;
153
- var _default = exports["default"] = ListLobbies200ResponseInner;
@@ -1,125 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Game Server API
16
- * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
17
- *
18
- * The version of the OpenAPI document: 1.0.0
19
- *
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The ListLobbies200ResponseMeta model module.
28
- * @module model/ListLobbies200ResponseMeta
29
- * @version 1.0.0
30
- */
31
- var ListLobbies200ResponseMeta = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>ListLobbies200ResponseMeta</code>.
34
- * @alias module:model/ListLobbies200ResponseMeta
35
- */
36
- function ListLobbies200ResponseMeta() {
37
- _classCallCheck(this, ListLobbies200ResponseMeta);
38
- ListLobbies200ResponseMeta.initialize(this);
39
- }
40
-
41
- /**
42
- * Initializes the fields of this object.
43
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
- * Only for internal use.
45
- */
46
- return _createClass(ListLobbies200ResponseMeta, null, [{
47
- key: "initialize",
48
- value: function initialize(obj) {}
49
-
50
- /**
51
- * Constructs a <code>ListLobbies200ResponseMeta</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/ListLobbies200ResponseMeta} obj Optional instance to populate.
55
- * @return {module:model/ListLobbies200ResponseMeta} The populated <code>ListLobbies200ResponseMeta</code> instance.
56
- */
57
- }, {
58
- key: "constructFromObject",
59
- value: function constructFromObject(data, obj) {
60
- if (data) {
61
- obj = obj || new ListLobbies200ResponseMeta();
62
- if (data.hasOwnProperty('count')) {
63
- obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
64
- }
65
- if (data.hasOwnProperty('has_more')) {
66
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
67
- }
68
- if (data.hasOwnProperty('page')) {
69
- obj['page'] = _ApiClient["default"].convertToType(data['page'], 'Number');
70
- }
71
- if (data.hasOwnProperty('page_size')) {
72
- obj['page_size'] = _ApiClient["default"].convertToType(data['page_size'], 'Number');
73
- }
74
- if (data.hasOwnProperty('total_count')) {
75
- obj['total_count'] = _ApiClient["default"].convertToType(data['total_count'], 'Number');
76
- }
77
- if (data.hasOwnProperty('total_pages')) {
78
- obj['total_pages'] = _ApiClient["default"].convertToType(data['total_pages'], 'Number');
79
- }
80
- }
81
- return obj;
82
- }
83
-
84
- /**
85
- * Validates the JSON data with respect to <code>ListLobbies200ResponseMeta</code>.
86
- * @param {Object} data The plain JavaScript object bearing properties of interest.
87
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListLobbies200ResponseMeta</code>.
88
- */
89
- }, {
90
- key: "validateJSON",
91
- value: function validateJSON(data) {
92
- return true;
93
- }
94
- }]);
95
- }();
96
- /**
97
- * @member {Number} count
98
- */
99
- ListLobbies200ResponseMeta.prototype['count'] = undefined;
100
-
101
- /**
102
- * @member {Boolean} has_more
103
- */
104
- ListLobbies200ResponseMeta.prototype['has_more'] = undefined;
105
-
106
- /**
107
- * @member {Number} page
108
- */
109
- ListLobbies200ResponseMeta.prototype['page'] = undefined;
110
-
111
- /**
112
- * @member {Number} page_size
113
- */
114
- ListLobbies200ResponseMeta.prototype['page_size'] = undefined;
115
-
116
- /**
117
- * @member {Number} total_count
118
- */
119
- ListLobbies200ResponseMeta.prototype['total_count'] = undefined;
120
-
121
- /**
122
- * @member {Number} total_pages
123
- */
124
- ListLobbies200ResponseMeta.prototype['total_pages'] = undefined;
125
- var _default = exports["default"] = ListLobbies200ResponseMeta;