uva-wrapper 4.9.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 (315) hide show
  1. package/bun.lock +781 -0
  2. package/dist/account/index.d.ts +8 -0
  3. package/dist/account/index.js +13 -0
  4. package/dist/account/v1/getAccount.d.ts +16 -0
  5. package/dist/account/v1/getAccount.js +18 -0
  6. package/dist/account/v1/getAccountByPuuid.d.ts +16 -0
  7. package/dist/account/v1/getAccountByPuuid.js +18 -0
  8. package/dist/account/v1/index.d.ts +19 -0
  9. package/dist/account/v1/index.js +43 -0
  10. package/dist/account/v2/getAccount.d.ts +12 -0
  11. package/dist/account/v2/getAccount.js +18 -0
  12. package/dist/account/v2/getAccountByPuuid.d.ts +12 -0
  13. package/dist/account/v2/getAccountByPuuid.js +18 -0
  14. package/dist/account/v2/index.d.ts +19 -0
  15. package/dist/account/v2/index.js +43 -0
  16. package/dist/constants/api.const.d.ts +1 -0
  17. package/dist/constants/api.const.js +4 -0
  18. package/dist/crosshair/index.d.ts +6 -0
  19. package/dist/crosshair/index.js +11 -0
  20. package/dist/crosshair/v1/generateCrosshairImage.d.ts +1 -0
  21. package/dist/crosshair/v1/generateCrosshairImage.js +18 -0
  22. package/dist/crosshair/v1/index.d.ts +10 -0
  23. package/dist/crosshair/v1/index.js +29 -0
  24. package/dist/esports/index.d.ts +6 -0
  25. package/dist/esports/index.js +11 -0
  26. package/dist/esports/v1/getEsportsSchedule.d.ts +35 -0
  27. package/dist/esports/v1/getEsportsSchedule.js +18 -0
  28. package/dist/esports/v1/index.d.ts +11 -0
  29. package/dist/esports/v1/index.js +30 -0
  30. package/dist/index.d.ts +38 -0
  31. package/dist/index.js +43 -0
  32. package/dist/leaderboard/index.d.ts +10 -0
  33. package/dist/leaderboard/index.js +15 -0
  34. package/dist/leaderboard/v1/getLeaderboard.d.ts +3 -0
  35. package/dist/leaderboard/v1/getLeaderboard.js +18 -0
  36. package/dist/leaderboard/v1/index.d.ts +13 -0
  37. package/dist/leaderboard/v1/index.js +32 -0
  38. package/dist/leaderboard/v2/getLeaderboard.d.ts +24 -0
  39. package/dist/leaderboard/v2/getLeaderboard.js +18 -0
  40. package/dist/leaderboard/v2/index.d.ts +14 -0
  41. package/dist/leaderboard/v2/index.js +33 -0
  42. package/dist/leaderboard/v3/getLeaderboard.d.ts +34 -0
  43. package/dist/leaderboard/v3/getLeaderboard.js +18 -0
  44. package/dist/leaderboard/v3/index.d.ts +23 -0
  45. package/dist/leaderboard/v3/index.js +35 -0
  46. package/dist/lib/request-handler.d.ts +4 -0
  47. package/dist/lib/request-handler.js +24 -0
  48. package/dist/match-details/index.d.ts +8 -0
  49. package/dist/match-details/index.js +13 -0
  50. package/dist/match-details/v2/getMatchDetails.d.ts +483 -0
  51. package/dist/match-details/v2/getMatchDetails.js +18 -0
  52. package/dist/match-details/v2/index.d.ts +10 -0
  53. package/dist/match-details/v2/index.js +29 -0
  54. package/dist/match-details/v4/getMatchDetails.d.ts +280 -0
  55. package/dist/match-details/v4/getMatchDetails.js +18 -0
  56. package/dist/match-details/v4/index.d.ts +11 -0
  57. package/dist/match-details/v4/index.js +30 -0
  58. package/dist/matches/index.d.ts +8 -0
  59. package/dist/matches/index.js +13 -0
  60. package/dist/matches/v3/getMatchesByName.d.ts +482 -0
  61. package/dist/matches/v3/getMatchesByName.js +22 -0
  62. package/dist/matches/v3/getMatchesByPuuid.d.ts +482 -0
  63. package/dist/matches/v3/getMatchesByPuuid.js +22 -0
  64. package/dist/matches/v3/index.d.ts +25 -0
  65. package/dist/matches/v3/index.js +49 -0
  66. package/dist/matches/v4/getMatchesByName.d.ts +280 -0
  67. package/dist/matches/v4/getMatchesByName.js +23 -0
  68. package/dist/matches/v4/getMatchesByPuuid.d.ts +280 -0
  69. package/dist/matches/v4/getMatchesByPuuid.js +23 -0
  70. package/dist/matches/v4/index.d.ts +29 -0
  71. package/dist/matches/v4/index.js +53 -0
  72. package/dist/misc/index.d.ts +6 -0
  73. package/dist/misc/index.js +11 -0
  74. package/dist/misc/v1/getContent.d.ts +124 -0
  75. package/dist/misc/v1/getContent.js +18 -0
  76. package/dist/misc/v1/getGameVersion.d.ts +10 -0
  77. package/dist/misc/v1/getGameVersion.js +18 -0
  78. package/dist/misc/v1/getQueueStatus.d.ts +48 -0
  79. package/dist/misc/v1/getQueueStatus.js +18 -0
  80. package/dist/misc/v1/getRawRiotAPIData.d.ts +1 -0
  81. package/dist/misc/v1/getRawRiotAPIData.js +21 -0
  82. package/dist/misc/v1/getStatus.d.ts +53 -0
  83. package/dist/misc/v1/getStatus.js +18 -0
  84. package/dist/misc/v1/getWebsiteContent.d.ts +11 -0
  85. package/dist/misc/v1/getWebsiteContent.js +18 -0
  86. package/dist/misc/v1/getWebsiteEntryById.d.ts +11 -0
  87. package/dist/misc/v1/getWebsiteEntryById.js +18 -0
  88. package/dist/misc/v1/index.d.ts +52 -0
  89. package/dist/misc/v1/index.js +101 -0
  90. package/dist/mmr/index.d.ts +10 -0
  91. package/dist/mmr/index.js +15 -0
  92. package/dist/mmr/v1/getMMRByName.d.ts +17 -0
  93. package/dist/mmr/v1/getMMRByName.js +18 -0
  94. package/dist/mmr/v1/getMMRByPuuid.d.ts +17 -0
  95. package/dist/mmr/v1/getMMRByPuuid.js +18 -0
  96. package/dist/mmr/v1/index.d.ts +19 -0
  97. package/dist/mmr/v1/index.js +43 -0
  98. package/dist/mmr/v2/getMMRByName.d.ts +28 -0
  99. package/dist/mmr/v2/getMMRByName.js +18 -0
  100. package/dist/mmr/v2/getMMRByPuuid.d.ts +28 -0
  101. package/dist/mmr/v2/getMMRByPuuid.js +18 -0
  102. package/dist/mmr/v2/index.d.ts +19 -0
  103. package/dist/mmr/v2/index.js +43 -0
  104. package/dist/mmr/v3/getMMRByName.d.ts +63 -0
  105. package/dist/mmr/v3/getMMRByName.js +18 -0
  106. package/dist/mmr/v3/getMMRByPuuid.d.ts +63 -0
  107. package/dist/mmr/v3/getMMRByPuuid.js +18 -0
  108. package/dist/mmr/v3/index.d.ts +21 -0
  109. package/dist/mmr/v3/index.js +45 -0
  110. package/dist/mmr-history/index.d.ts +8 -0
  111. package/dist/mmr-history/index.js +13 -0
  112. package/dist/mmr-history/v1/getMMRHistoryByName.d.ts +26 -0
  113. package/dist/mmr-history/v1/getMMRHistoryByName.js +18 -0
  114. package/dist/mmr-history/v1/getMMRHistoryByPuuid.d.ts +26 -0
  115. package/dist/mmr-history/v1/getMMRHistoryByPuuid.js +18 -0
  116. package/dist/mmr-history/v1/index.d.ts +25 -0
  117. package/dist/mmr-history/v1/index.js +43 -0
  118. package/dist/mmr-history/v2/getMMRHistoryByName.d.ts +29 -0
  119. package/dist/mmr-history/v2/getMMRHistoryByName.js +18 -0
  120. package/dist/mmr-history/v2/getMMRHistoryByPuuid.d.ts +29 -0
  121. package/dist/mmr-history/v2/getMMRHistoryByPuuid.js +18 -0
  122. package/dist/mmr-history/v2/index.d.ts +21 -0
  123. package/dist/mmr-history/v2/index.js +45 -0
  124. package/dist/premier/index.d.ts +6 -0
  125. package/dist/premier/index.js +11 -0
  126. package/dist/premier/v1/getPremierTeamById.d.ts +33 -0
  127. package/dist/premier/v1/getPremierTeamById.js +18 -0
  128. package/dist/premier/v1/getPremierTeamByName.d.ts +33 -0
  129. package/dist/premier/v1/getPremierTeamByName.js +18 -0
  130. package/dist/premier/v1/index.d.ts +30 -0
  131. package/dist/premier/v1/index.js +59 -0
  132. package/dist/premier/v1/searchPremierTeams.d.ts +23 -0
  133. package/dist/premier/v1/searchPremierTeams.js +18 -0
  134. package/dist/premier-history/index.d.ts +6 -0
  135. package/dist/premier-history/index.js +11 -0
  136. package/dist/premier-history/v1/getPremierTeamHistoryById.d.ts +17 -0
  137. package/dist/premier-history/v1/getPremierTeamHistoryById.js +18 -0
  138. package/dist/premier-history/v1/getPremierTeamHistoryByName.d.ts +17 -0
  139. package/dist/premier-history/v1/getPremierTeamHistoryByName.js +18 -0
  140. package/dist/premier-history/v1/index.d.ts +19 -0
  141. package/dist/premier-history/v1/index.js +43 -0
  142. package/dist/premier-leaderboard/index.d.ts +6 -0
  143. package/dist/premier-leaderboard/index.js +11 -0
  144. package/dist/premier-leaderboard/v1/getPremierLeaderboard.d.ts +23 -0
  145. package/dist/premier-leaderboard/v1/getPremierLeaderboard.js +18 -0
  146. package/dist/premier-leaderboard/v1/index.d.ts +13 -0
  147. package/dist/premier-leaderboard/v1/index.js +32 -0
  148. package/dist/premium/index.d.ts +6 -0
  149. package/dist/premium/index.js +11 -0
  150. package/dist/premium/v1/addPremiumWebhookUser.d.ts +19 -0
  151. package/dist/premium/v1/addPremiumWebhookUser.js +21 -0
  152. package/dist/premium/v1/deletePremiumWebhookUser.d.ts +4 -0
  153. package/dist/premium/v1/deletePremiumWebhookUser.js +18 -0
  154. package/dist/premium/v1/getPremiumWebhookSettings.d.ts +1 -0
  155. package/dist/premium/v1/getPremiumWebhookSettings.js +18 -0
  156. package/dist/premium/v1/index.d.ts +34 -0
  157. package/dist/premium/v1/index.js +66 -0
  158. package/dist/premium/v1/updatePremiumWebhookUser.d.ts +1 -0
  159. package/dist/premium/v1/updatePremiumWebhookUser.js +18 -0
  160. package/dist/store/getFeaturedStoreItems.d.ts +53 -0
  161. package/dist/store/getFeaturedStoreItems.js +18 -0
  162. package/dist/store/getStoreOffers.d.ts +30 -0
  163. package/dist/store/getStoreOffers.js +18 -0
  164. package/dist/store/index.d.ts +16 -0
  165. package/dist/store/index.js +40 -0
  166. package/dist/stored-matches/index.d.ts +6 -0
  167. package/dist/stored-matches/index.js +11 -0
  168. package/dist/stored-matches/v1/getStoredMatchesByName.d.ts +56 -0
  169. package/dist/stored-matches/v1/getStoredMatchesByName.js +18 -0
  170. package/dist/stored-matches/v1/getStoredMatchesByPuuid.d.ts +56 -0
  171. package/dist/stored-matches/v1/getStoredMatchesByPuuid.js +18 -0
  172. package/dist/stored-matches/v1/index.d.ts +41 -0
  173. package/dist/stored-matches/v1/index.js +49 -0
  174. package/dist/stored-mmr-history/index.d.ts +8 -0
  175. package/dist/stored-mmr-history/index.js +13 -0
  176. package/dist/stored-mmr-history/v1/getStoredMMRHistoryByName.d.ts +28 -0
  177. package/dist/stored-mmr-history/v1/getStoredMMRHistoryByName.js +18 -0
  178. package/dist/stored-mmr-history/v1/getStoredMMRHistoryByPuuid.d.ts +28 -0
  179. package/dist/stored-mmr-history/v1/getStoredMMRHistoryByPuuid.js +18 -0
  180. package/dist/stored-mmr-history/v1/index.d.ts +37 -0
  181. package/dist/stored-mmr-history/v1/index.js +45 -0
  182. package/dist/stored-mmr-history/v2/getStoredMMRHistoryByName.d.ts +30 -0
  183. package/dist/stored-mmr-history/v2/getStoredMMRHistoryByName.js +18 -0
  184. package/dist/stored-mmr-history/v2/getStoredMMRHistoryByPuuid.d.ts +30 -0
  185. package/dist/stored-mmr-history/v2/getStoredMMRHistoryByPuuid.js +18 -0
  186. package/dist/stored-mmr-history/v2/index.d.ts +39 -0
  187. package/dist/stored-mmr-history/v2/index.js +47 -0
  188. package/dist/types/response.type.d.ts +15 -0
  189. package/dist/types/response.type.js +2 -0
  190. package/dist/vlr/index.d.ts +6 -0
  191. package/dist/vlr/index.js +11 -0
  192. package/dist/vlr/v2/getVlrEsportsEvents.d.ts +14 -0
  193. package/dist/vlr/v2/getVlrEsportsEvents.js +18 -0
  194. package/dist/vlr/v2/getVlrEventMatches.d.ts +14 -0
  195. package/dist/vlr/v2/getVlrEventMatches.js +18 -0
  196. package/dist/vlr/v2/getVlrMatchDetails.d.ts +157 -0
  197. package/dist/vlr/v2/getVlrMatchDetails.js +18 -0
  198. package/dist/vlr/v2/getVlrPlayer.d.ts +64 -0
  199. package/dist/vlr/v2/getVlrPlayer.js +18 -0
  200. package/dist/vlr/v2/getVlrPlayerMatches.d.ts +22 -0
  201. package/dist/vlr/v2/getVlrPlayerMatches.js +20 -0
  202. package/dist/vlr/v2/getVlrTeam.d.ts +39 -0
  203. package/dist/vlr/v2/getVlrTeam.js +18 -0
  204. package/dist/vlr/v2/getVlrTeamMatches.d.ts +20 -0
  205. package/dist/vlr/v2/getVlrTeamMatches.js +20 -0
  206. package/dist/vlr/v2/getVlrTeamTransactions.d.ts +14 -0
  207. package/dist/vlr/v2/getVlrTeamTransactions.js +18 -0
  208. package/dist/vlr/v2/index.d.ts +57 -0
  209. package/dist/vlr/v2/index.js +111 -0
  210. package/package.json +36 -0
  211. package/src/account/index.ts +12 -0
  212. package/src/account/v1/getAccount.ts +31 -0
  213. package/src/account/v1/getAccountByPuuid.ts +30 -0
  214. package/src/account/v1/index.ts +27 -0
  215. package/src/account/v2/getAccount.ts +27 -0
  216. package/src/account/v2/getAccountByPuuid.ts +26 -0
  217. package/src/account/v2/index.ts +27 -0
  218. package/src/constants/api.const.ts +1 -0
  219. package/src/crosshair/index.ts +9 -0
  220. package/src/crosshair/v1/generateCrosshairImage.ts +10 -0
  221. package/src/crosshair/v1/index.ts +14 -0
  222. package/src/esports/index.ts +9 -0
  223. package/src/esports/v1/getEsportsSchedule.ts +49 -0
  224. package/src/esports/v1/index.ts +15 -0
  225. package/src/index.ts +57 -0
  226. package/src/leaderboard/index.ts +15 -0
  227. package/src/leaderboard/v1/getLeaderboard.ts +17 -0
  228. package/src/leaderboard/v1/index.ts +17 -0
  229. package/src/leaderboard/v2/getLeaderboard.ts +40 -0
  230. package/src/leaderboard/v2/index.ts +31 -0
  231. package/src/leaderboard/v3/getLeaderboard.ts +57 -0
  232. package/src/leaderboard/v3/index.ts +37 -0
  233. package/src/lib/request-handler.ts +29 -0
  234. package/src/match-details/index.ts +12 -0
  235. package/src/match-details/v2/getMatchDetails.ts +495 -0
  236. package/src/match-details/v2/index.ts +14 -0
  237. package/src/match-details/v4/getMatchDetails.ts +294 -0
  238. package/src/match-details/v4/index.ts +15 -0
  239. package/src/matches/index.ts +12 -0
  240. package/src/matches/v3/getMatchesByName.ts +508 -0
  241. package/src/matches/v3/getMatchesByPuuid.ts +507 -0
  242. package/src/matches/v3/index.ts +61 -0
  243. package/src/matches/v4/getMatchesByName.ts +305 -0
  244. package/src/matches/v4/getMatchesByPuuid.ts +304 -0
  245. package/src/matches/v4/index.ts +73 -0
  246. package/src/misc/index.ts +9 -0
  247. package/src/misc/v1/getContent.ts +133 -0
  248. package/src/misc/v1/getGameVersion.ts +19 -0
  249. package/src/misc/v1/getQueueStatus.ts +57 -0
  250. package/src/misc/v1/getRawRiotAPIData.ts +20 -0
  251. package/src/misc/v1/getStatus.ts +62 -0
  252. package/src/misc/v1/getWebsiteContent.ts +24 -0
  253. package/src/misc/v1/getWebsiteEntryById.ts +24 -0
  254. package/src/misc/v1/index.ts +93 -0
  255. package/src/mmr/index.ts +15 -0
  256. package/src/mmr/v1/getMMRByName.ts +31 -0
  257. package/src/mmr/v1/getMMRByPuuid.ts +30 -0
  258. package/src/mmr/v1/index.ts +27 -0
  259. package/src/mmr/v2/getMMRByName.ts +42 -0
  260. package/src/mmr/v2/getMMRByPuuid.ts +41 -0
  261. package/src/mmr/v2/index.ts +27 -0
  262. package/src/mmr/v3/getMMRByName.ts +72 -0
  263. package/src/mmr/v3/getMMRByPuuid.ts +71 -0
  264. package/src/mmr/v3/index.ts +34 -0
  265. package/src/mmr-history/index.ts +12 -0
  266. package/src/mmr-history/v1/getMMRHistoryByName.ts +42 -0
  267. package/src/mmr-history/v1/getMMRHistoryByPuuid.ts +41 -0
  268. package/src/mmr-history/v1/index.ts +27 -0
  269. package/src/mmr-history/v2/getMMRHistoryByName.ts +44 -0
  270. package/src/mmr-history/v2/getMMRHistoryByPuuid.ts +43 -0
  271. package/src/mmr-history/v2/index.ts +45 -0
  272. package/src/premier/index.ts +9 -0
  273. package/src/premier/v1/getPremierTeamById.ts +47 -0
  274. package/src/premier/v1/getPremierTeamByName.ts +48 -0
  275. package/src/premier/v1/index.ts +53 -0
  276. package/src/premier/v1/searchPremierTeams.ts +39 -0
  277. package/src/premier-history/index.ts +9 -0
  278. package/src/premier-history/v1/getPremierTeamHistoryById.ts +31 -0
  279. package/src/premier-history/v1/getPremierTeamHistoryByName.ts +32 -0
  280. package/src/premier-history/v1/index.ts +27 -0
  281. package/src/premier-leaderboard/index.ts +9 -0
  282. package/src/premier-leaderboard/v1/getPremierLeaderboard.ts +38 -0
  283. package/src/premier-leaderboard/v1/index.ts +28 -0
  284. package/src/premium/index.ts +9 -0
  285. package/src/premium/v1/addPremiumWebhookUser.ts +37 -0
  286. package/src/premium/v1/deletePremiumWebhookUser.ts +14 -0
  287. package/src/premium/v1/getPremiumWebhookSettings.ts +10 -0
  288. package/src/premium/v1/index.ts +61 -0
  289. package/src/premium/v1/updatePremiumWebhookUser.ts +14 -0
  290. package/src/store/getFeaturedStoreItems.ts +65 -0
  291. package/src/store/getStoreOffers.ts +39 -0
  292. package/src/store/index.ts +24 -0
  293. package/src/stored-matches/index.ts +9 -0
  294. package/src/stored-matches/v1/getStoredMatchesByName.ts +79 -0
  295. package/src/stored-matches/v1/getStoredMatchesByPuuid.ts +78 -0
  296. package/src/stored-matches/v1/index.ts +61 -0
  297. package/src/stored-mmr-history/index.ts +12 -0
  298. package/src/stored-mmr-history/v1/getStoredMMRHistoryByName.ts +48 -0
  299. package/src/stored-mmr-history/v1/getStoredMMRHistoryByPuuid.ts +47 -0
  300. package/src/stored-mmr-history/v1/index.ts +40 -0
  301. package/src/stored-mmr-history/v2/getStoredMMRHistoryByName.ts +51 -0
  302. package/src/stored-mmr-history/v2/getStoredMMRHistoryByPuuid.ts +50 -0
  303. package/src/stored-mmr-history/v2/index.ts +55 -0
  304. package/src/types/response.type.ts +10 -0
  305. package/src/vlr/index.ts +9 -0
  306. package/src/vlr/v2/getVlrEsportsEvents.ts +40 -0
  307. package/src/vlr/v2/getVlrEventMatches.ts +23 -0
  308. package/src/vlr/v2/getVlrMatchDetails.ts +167 -0
  309. package/src/vlr/v2/getVlrPlayer.ts +78 -0
  310. package/src/vlr/v2/getVlrPlayerMatches.ts +36 -0
  311. package/src/vlr/v2/getVlrTeam.ts +49 -0
  312. package/src/vlr/v2/getVlrTeamMatches.ts +34 -0
  313. package/src/vlr/v2/getVlrTeamTransactions.ts +24 -0
  314. package/src/vlr/v2/index.ts +104 -0
  315. package/tsconfig.json +13 -0
@@ -0,0 +1,280 @@
1
+ export declare function v4_getMatchesByName(apiKey: string, affinity: string, platform: string, name: string, tag: string, mode?: string, map?: string, size?: number, start?: number): Promise<import("../../types/response.type").DefaultApiResponse<v4_getMatchesByName_ResponseData[]> | import("../../types/response.type").DefaultErrorsResponse>;
2
+ export interface v4_getMatchesByName_ResponseData {
3
+ coaches: {
4
+ puuid: string;
5
+ team_id: string;
6
+ }[];
7
+ kills: {
8
+ assistants: {
9
+ name: string;
10
+ puuid: string;
11
+ tag: string;
12
+ team: string;
13
+ }[];
14
+ killer: {
15
+ name: string;
16
+ puuid: string;
17
+ tag: string;
18
+ team: string;
19
+ };
20
+ location: {
21
+ x: number;
22
+ y: number;
23
+ };
24
+ player_locations: {
25
+ location: {
26
+ x: number;
27
+ y: number;
28
+ };
29
+ player: {
30
+ name: string;
31
+ puuid: string;
32
+ tag: string;
33
+ team: string;
34
+ };
35
+ view_radians: number;
36
+ }[];
37
+ round: number;
38
+ secondary_fire_mode: boolean;
39
+ time_in_match_in_ms: number;
40
+ time_in_round_in_ms: number;
41
+ victim: {
42
+ name: string;
43
+ puuid: string;
44
+ tag: string;
45
+ team: string;
46
+ };
47
+ weapon: {
48
+ id: string | null;
49
+ name: string | null;
50
+ type: string | null;
51
+ };
52
+ }[];
53
+ metadata: {
54
+ game_length_in_ms: number;
55
+ game_version: string;
56
+ is_completed: boolean;
57
+ map: {
58
+ id: string;
59
+ name: string;
60
+ };
61
+ match_id: string;
62
+ party_rr_penaltys: {
63
+ party_id: string;
64
+ penalty: number;
65
+ }[];
66
+ platform: string;
67
+ queue: {
68
+ id: string;
69
+ mode_type: string | null;
70
+ name: string | null;
71
+ };
72
+ season: {
73
+ id: string;
74
+ short: string;
75
+ };
76
+ started_at: string;
77
+ cluster: string | null;
78
+ premier: unknown;
79
+ region: string | null;
80
+ };
81
+ observers: {
82
+ account_level: number;
83
+ card_id: string;
84
+ name: string;
85
+ party_id: string;
86
+ puuid: string;
87
+ session_playtime_in_ms: number;
88
+ tag: string;
89
+ title_id: string;
90
+ }[];
91
+ players: {
92
+ ability_casts: {
93
+ ability1: number | null;
94
+ ability2: number | null;
95
+ grenade: number | null;
96
+ ultimate: number | null;
97
+ };
98
+ account_level: number;
99
+ agent: {
100
+ id: string;
101
+ name: string;
102
+ };
103
+ behavior: {
104
+ afk_rounds: number;
105
+ friendly_fire: {
106
+ incoming: number;
107
+ outgoing: number;
108
+ };
109
+ rounds_in_spawn: number;
110
+ };
111
+ customization: {
112
+ card: string;
113
+ title: string;
114
+ preferred_level_border: string | null;
115
+ };
116
+ economy: {
117
+ loadout_value: {
118
+ average: number;
119
+ overall: number;
120
+ };
121
+ spent: {
122
+ average: number;
123
+ overall: number;
124
+ };
125
+ };
126
+ name: string;
127
+ party_id: string;
128
+ platform: string;
129
+ puuid: string;
130
+ session_playtime_in_ms: number;
131
+ stats: {
132
+ assists: number;
133
+ bodyshots: number;
134
+ damage: {
135
+ dealt: number;
136
+ received: number;
137
+ };
138
+ deaths: number;
139
+ headshots: number;
140
+ kills: number;
141
+ legshots: number;
142
+ score: number;
143
+ };
144
+ tag: string;
145
+ team_id: string;
146
+ tier: {
147
+ id: number;
148
+ name: string;
149
+ };
150
+ }[];
151
+ rounds: {
152
+ ceremony: string;
153
+ id: number;
154
+ result: string;
155
+ stats: {
156
+ ability_casts: {
157
+ ability_1: number | null;
158
+ ability_2: number | null;
159
+ grenade: number | null;
160
+ ultimate: number | null;
161
+ };
162
+ damage_events: {
163
+ bodyshots: number;
164
+ damage: number;
165
+ headshots: number;
166
+ legshots: number;
167
+ player: {
168
+ name: string;
169
+ puuid: string;
170
+ tag: string;
171
+ team: string;
172
+ };
173
+ }[];
174
+ economy: {
175
+ loadout_value: number;
176
+ remaining: number;
177
+ armor: {
178
+ id: string;
179
+ name: string | null;
180
+ } | null;
181
+ weapon: {
182
+ id: string | null;
183
+ name: string | null;
184
+ type: string | null;
185
+ } | null;
186
+ };
187
+ player: {
188
+ name: string;
189
+ puuid: string;
190
+ tag: string;
191
+ team: string;
192
+ };
193
+ received_penalty: boolean;
194
+ stats: {
195
+ bodyshots: number;
196
+ headshots: number;
197
+ kills: number;
198
+ legshots: number;
199
+ score: number;
200
+ };
201
+ stayed_in_spawn: boolean;
202
+ was_afk: boolean;
203
+ }[];
204
+ winning_team: string;
205
+ defuse: {
206
+ location: {
207
+ x: number;
208
+ y: number;
209
+ };
210
+ player: {
211
+ name: string;
212
+ puuid: string;
213
+ tag: string;
214
+ team: string;
215
+ };
216
+ player_locations: {
217
+ location: {
218
+ x: number;
219
+ y: number;
220
+ };
221
+ player: {
222
+ name: string;
223
+ puuid: string;
224
+ tag: string;
225
+ team: string;
226
+ };
227
+ view_radians: number;
228
+ }[];
229
+ round_time_in_ms: number;
230
+ } | null;
231
+ plant: {
232
+ location: {
233
+ x: number;
234
+ y: number;
235
+ };
236
+ player: {
237
+ name: string;
238
+ puuid: string;
239
+ tag: string;
240
+ team: string;
241
+ };
242
+ player_locations: {
243
+ location: {
244
+ x: number;
245
+ y: number;
246
+ };
247
+ player: {
248
+ name: string;
249
+ puuid: string;
250
+ tag: string;
251
+ team: string;
252
+ };
253
+ view_radians: number;
254
+ }[];
255
+ round_time_in_ms: number;
256
+ site: string;
257
+ } | null;
258
+ }[];
259
+ teams: {
260
+ rounds: {
261
+ lost: number;
262
+ won: number;
263
+ };
264
+ team_id: string;
265
+ won: boolean;
266
+ premier_roster: {
267
+ customization: {
268
+ icon: string;
269
+ image: string;
270
+ primary_color: string;
271
+ secondary_color: string;
272
+ tertiary_color: string;
273
+ } | null;
274
+ id: string;
275
+ members: string[];
276
+ name: string;
277
+ tag: string;
278
+ };
279
+ }[];
280
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.v4_getMatchesByName = v4_getMatchesByName;
13
+ const request_handler_1 = require("../../lib/request-handler");
14
+ function v4_getMatchesByName(apiKey, affinity, platform, name, tag, mode, map, size, start) {
15
+ return __awaiter(this, void 0, void 0, function* () {
16
+ return yield (0, request_handler_1.doApiRequest)(apiKey, `/valorant/valorant/v4/matches/${affinity}/${platform}/${name}/${tag}`, {
17
+ mode,
18
+ map,
19
+ size: size === null || size === void 0 ? void 0 : size.toString(),
20
+ start: start === null || start === void 0 ? void 0 : start.toString(),
21
+ }, { method: "GET" });
22
+ });
23
+ }
@@ -0,0 +1,280 @@
1
+ export declare function v4_getMatchesByPuuid(apiKey: string, affinity: string, platform: string, puuid: string, mode?: string, map?: string, size?: number, start?: number): Promise<import("../../types/response.type").DefaultApiResponse<v4_getMatchesByPuuid_ResponseData[]> | import("../../types/response.type").DefaultErrorsResponse>;
2
+ export interface v4_getMatchesByPuuid_ResponseData {
3
+ coaches: {
4
+ puuid: string;
5
+ team_id: string;
6
+ }[];
7
+ kills: {
8
+ assistants: {
9
+ name: string;
10
+ puuid: string;
11
+ tag: string;
12
+ team: string;
13
+ }[];
14
+ killer: {
15
+ name: string;
16
+ puuid: string;
17
+ tag: string;
18
+ team: string;
19
+ };
20
+ location: {
21
+ x: number;
22
+ y: number;
23
+ };
24
+ player_locations: {
25
+ location: {
26
+ x: number;
27
+ y: number;
28
+ };
29
+ player: {
30
+ name: string;
31
+ puuid: string;
32
+ tag: string;
33
+ team: string;
34
+ };
35
+ view_radians: number;
36
+ }[];
37
+ round: number;
38
+ secondary_fire_mode: boolean;
39
+ time_in_match_in_ms: number;
40
+ time_in_round_in_ms: number;
41
+ victim: {
42
+ name: string;
43
+ puuid: string;
44
+ tag: string;
45
+ team: string;
46
+ };
47
+ weapon: {
48
+ id: string | null;
49
+ name: string | null;
50
+ type: string | null;
51
+ };
52
+ }[];
53
+ metadata: {
54
+ game_length_in_ms: number;
55
+ game_version: string;
56
+ is_completed: boolean;
57
+ map: {
58
+ id: string;
59
+ name: string;
60
+ };
61
+ match_id: string;
62
+ party_rr_penaltys: {
63
+ party_id: string;
64
+ penalty: number;
65
+ }[];
66
+ platform: string;
67
+ queue: {
68
+ id: string;
69
+ mode_type: string | null;
70
+ name: string | null;
71
+ };
72
+ season: {
73
+ id: string;
74
+ short: string;
75
+ };
76
+ started_at: string;
77
+ cluster: string | null;
78
+ premier: unknown;
79
+ region: string | null;
80
+ };
81
+ observers: {
82
+ account_level: number;
83
+ card_id: string;
84
+ name: string;
85
+ party_id: string;
86
+ puuid: string;
87
+ session_playtime_in_ms: number;
88
+ tag: string;
89
+ title_id: string;
90
+ }[];
91
+ players: {
92
+ ability_casts: {
93
+ ability1: number | null;
94
+ ability2: number | null;
95
+ grenade: number | null;
96
+ ultimate: number | null;
97
+ };
98
+ account_level: number;
99
+ agent: {
100
+ id: string;
101
+ name: string;
102
+ };
103
+ behavior: {
104
+ afk_rounds: number;
105
+ friendly_fire: {
106
+ incoming: number;
107
+ outgoing: number;
108
+ };
109
+ rounds_in_spawn: number;
110
+ };
111
+ customization: {
112
+ card: string;
113
+ title: string;
114
+ preferred_level_border: string | null;
115
+ };
116
+ economy: {
117
+ loadout_value: {
118
+ average: number;
119
+ overall: number;
120
+ };
121
+ spent: {
122
+ average: number;
123
+ overall: number;
124
+ };
125
+ };
126
+ name: string;
127
+ party_id: string;
128
+ platform: string;
129
+ puuid: string;
130
+ session_playtime_in_ms: number;
131
+ stats: {
132
+ assists: number;
133
+ bodyshots: number;
134
+ damage: {
135
+ dealt: number;
136
+ received: number;
137
+ };
138
+ deaths: number;
139
+ headshots: number;
140
+ kills: number;
141
+ legshots: number;
142
+ score: number;
143
+ };
144
+ tag: string;
145
+ team_id: string;
146
+ tier: {
147
+ id: number;
148
+ name: string;
149
+ };
150
+ }[];
151
+ rounds: {
152
+ ceremony: string;
153
+ id: number;
154
+ result: string;
155
+ stats: {
156
+ ability_casts: {
157
+ ability_1: number | null;
158
+ ability_2: number | null;
159
+ grenade: number | null;
160
+ ultimate: number | null;
161
+ };
162
+ damage_events: {
163
+ bodyshots: number;
164
+ damage: number;
165
+ headshots: number;
166
+ legshots: number;
167
+ player: {
168
+ name: string;
169
+ puuid: string;
170
+ tag: string;
171
+ team: string;
172
+ };
173
+ }[];
174
+ economy: {
175
+ loadout_value: number;
176
+ remaining: number;
177
+ armor: {
178
+ id: string;
179
+ name: string | null;
180
+ } | null;
181
+ weapon: {
182
+ id: string | null;
183
+ name: string | null;
184
+ type: string | null;
185
+ } | null;
186
+ };
187
+ player: {
188
+ name: string;
189
+ puuid: string;
190
+ tag: string;
191
+ team: string;
192
+ };
193
+ received_penalty: boolean;
194
+ stats: {
195
+ bodyshots: number;
196
+ headshots: number;
197
+ kills: number;
198
+ legshots: number;
199
+ score: number;
200
+ };
201
+ stayed_in_spawn: boolean;
202
+ was_afk: boolean;
203
+ }[];
204
+ winning_team: string;
205
+ defuse: {
206
+ location: {
207
+ x: number;
208
+ y: number;
209
+ };
210
+ player: {
211
+ name: string;
212
+ puuid: string;
213
+ tag: string;
214
+ team: string;
215
+ };
216
+ player_locations: {
217
+ location: {
218
+ x: number;
219
+ y: number;
220
+ };
221
+ player: {
222
+ name: string;
223
+ puuid: string;
224
+ tag: string;
225
+ team: string;
226
+ };
227
+ view_radians: number;
228
+ }[];
229
+ round_time_in_ms: number;
230
+ } | null;
231
+ plant: {
232
+ location: {
233
+ x: number;
234
+ y: number;
235
+ };
236
+ player: {
237
+ name: string;
238
+ puuid: string;
239
+ tag: string;
240
+ team: string;
241
+ };
242
+ player_locations: {
243
+ location: {
244
+ x: number;
245
+ y: number;
246
+ };
247
+ player: {
248
+ name: string;
249
+ puuid: string;
250
+ tag: string;
251
+ team: string;
252
+ };
253
+ view_radians: number;
254
+ }[];
255
+ round_time_in_ms: number;
256
+ site: string;
257
+ } | null;
258
+ }[];
259
+ teams: {
260
+ rounds: {
261
+ lost: number;
262
+ won: number;
263
+ };
264
+ team_id: string;
265
+ won: boolean;
266
+ premier_roster: {
267
+ customization: {
268
+ icon: string;
269
+ image: string;
270
+ primary_color: string;
271
+ secondary_color: string;
272
+ tertiary_color: string;
273
+ } | null;
274
+ id: string;
275
+ members: string[];
276
+ name: string;
277
+ tag: string;
278
+ };
279
+ }[];
280
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.v4_getMatchesByPuuid = v4_getMatchesByPuuid;
13
+ const request_handler_1 = require("../../lib/request-handler");
14
+ function v4_getMatchesByPuuid(apiKey, affinity, platform, puuid, mode, map, size, start) {
15
+ return __awaiter(this, void 0, void 0, function* () {
16
+ return yield (0, request_handler_1.doApiRequest)(apiKey, `/valorant/v4/by-puuid/matches/${affinity}/${platform}/${puuid}`, {
17
+ mode,
18
+ map,
19
+ size: size === null || size === void 0 ? void 0 : size.toString(),
20
+ start: start === null || start === void 0 ? void 0 : start.toString(),
21
+ }, { method: "GET" });
22
+ });
23
+ }
@@ -0,0 +1,29 @@
1
+ export declare class v4_MatchesCategory {
2
+ private readonly apiKey;
3
+ constructor(apiKey: string);
4
+ /**
5
+ * @link https://docs.henrikdev.xyz/api-reference/valorant/get-matches-by-name-v4
6
+ * @param affinity Region/affinity (e.g., na, eu, ap, kr)
7
+ * @param platform Platform (pc, console)
8
+ * @param name Riot ID name
9
+ * @param tag Riot ID tag
10
+ * @param mode Game mode filter (optional)
11
+ * @param map Map filter (optional)
12
+ * @param size Number of results (optional)
13
+ * @param start Start index for pagination (optional)
14
+ * @returns Match history retrieved successfully
15
+ */
16
+ getByName(affinity: string, platform: string, name: string, tag: string, mode?: string, map?: string, size?: number, start?: number): Promise<import("../../types/response.type").DefaultApiResponse<import("./getMatchesByName").v4_getMatchesByName_ResponseData[]> | import("../../types/response.type").DefaultErrorsResponse>;
17
+ /**
18
+ * @link https://docs.henrikdev.xyz/api-reference/valorant/get-matches-by-puuid-v4
19
+ * @param affinity Region/affinity (e.g., na, eu, ap, kr)
20
+ * @param platform Platform (pc, console)
21
+ * @param puuid Player UUID
22
+ * @param mode Game mode filter (optional)
23
+ * @param map Map filter (optional)
24
+ * @param size Number of results (optional)
25
+ * @param start Start index for pagination (optional)
26
+ * @returns Match history retrieved successfully
27
+ */
28
+ getByPuuid(affinity: string, platform: string, puuid: string, mode?: string, map?: string, size?: number, start?: number): Promise<import("../../types/response.type").DefaultApiResponse<import("./getMatchesByPuuid").v4_getMatchesByPuuid_ResponseData[]> | import("../../types/response.type").DefaultErrorsResponse>;
29
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.v4_MatchesCategory = void 0;
13
+ const getMatchesByName_1 = require("./getMatchesByName");
14
+ const getMatchesByPuuid_1 = require("./getMatchesByPuuid");
15
+ class v4_MatchesCategory {
16
+ constructor(apiKey) {
17
+ this.apiKey = apiKey;
18
+ }
19
+ /**
20
+ * @link https://docs.henrikdev.xyz/api-reference/valorant/get-matches-by-name-v4
21
+ * @param affinity Region/affinity (e.g., na, eu, ap, kr)
22
+ * @param platform Platform (pc, console)
23
+ * @param name Riot ID name
24
+ * @param tag Riot ID tag
25
+ * @param mode Game mode filter (optional)
26
+ * @param map Map filter (optional)
27
+ * @param size Number of results (optional)
28
+ * @param start Start index for pagination (optional)
29
+ * @returns Match history retrieved successfully
30
+ */
31
+ getByName(affinity, platform, name, tag, mode, map, size, start) {
32
+ return __awaiter(this, void 0, void 0, function* () {
33
+ return yield (0, getMatchesByName_1.v4_getMatchesByName)(this.apiKey, affinity, platform, name, tag, mode, map, size, start);
34
+ });
35
+ }
36
+ /**
37
+ * @link https://docs.henrikdev.xyz/api-reference/valorant/get-matches-by-puuid-v4
38
+ * @param affinity Region/affinity (e.g., na, eu, ap, kr)
39
+ * @param platform Platform (pc, console)
40
+ * @param puuid Player UUID
41
+ * @param mode Game mode filter (optional)
42
+ * @param map Map filter (optional)
43
+ * @param size Number of results (optional)
44
+ * @param start Start index for pagination (optional)
45
+ * @returns Match history retrieved successfully
46
+ */
47
+ getByPuuid(affinity, platform, puuid, mode, map, size, start) {
48
+ return __awaiter(this, void 0, void 0, function* () {
49
+ return yield (0, getMatchesByPuuid_1.v4_getMatchesByPuuid)(this.apiKey, affinity, platform, puuid, mode, map, size, start);
50
+ });
51
+ }
52
+ }
53
+ exports.v4_MatchesCategory = v4_MatchesCategory;
@@ -0,0 +1,6 @@
1
+ import { v1_MiscCategory } from "./v1";
2
+ export declare class MiscCategory {
3
+ private readonly apiKey;
4
+ constructor(apiKey: string);
5
+ v1: v1_MiscCategory;
6
+ }