@victorycode/sdk 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (670) hide show
  1. package/.openapi-generator/FILES +225 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/LICENSE +21 -0
  5. package/README.md +260 -2
  6. package/dist/apis/AuthenticationApi.d.ts +32 -0
  7. package/dist/apis/AuthenticationApi.js +76 -0
  8. package/dist/apis/ClassificationApi.d.ts +114 -0
  9. package/dist/apis/ClassificationApi.js +252 -0
  10. package/dist/apis/GameRecapApi.d.ts +122 -0
  11. package/dist/apis/GameRecapApi.js +292 -0
  12. package/dist/apis/GamesApi.d.ts +143 -0
  13. package/dist/apis/GamesApi.js +310 -0
  14. package/dist/apis/MascotApi.d.ts +114 -0
  15. package/dist/apis/MascotApi.js +252 -0
  16. package/dist/apis/PlaysEventsApi.d.ts +198 -0
  17. package/dist/apis/PlaysEventsApi.js +288 -0
  18. package/dist/apis/TeamsApi.d.ts +118 -0
  19. package/dist/apis/TeamsApi.js +255 -0
  20. package/dist/apis/UploadsApi.d.ts +80 -0
  21. package/dist/apis/UploadsApi.js +194 -0
  22. package/dist/apis/VenueApi.d.ts +114 -0
  23. package/dist/apis/VenueApi.js +252 -0
  24. package/dist/apis/index.d.ts +9 -0
  25. package/dist/apis/index.js +27 -0
  26. package/dist/esm/apis/AuthenticationApi.d.ts +32 -0
  27. package/dist/esm/apis/AuthenticationApi.js +72 -0
  28. package/dist/esm/apis/ClassificationApi.d.ts +114 -0
  29. package/dist/esm/apis/ClassificationApi.js +248 -0
  30. package/dist/esm/apis/GameRecapApi.d.ts +122 -0
  31. package/dist/esm/apis/GameRecapApi.js +288 -0
  32. package/dist/esm/apis/GamesApi.d.ts +143 -0
  33. package/dist/esm/apis/GamesApi.js +306 -0
  34. package/dist/esm/apis/MascotApi.d.ts +114 -0
  35. package/dist/esm/apis/MascotApi.js +248 -0
  36. package/dist/esm/apis/PlaysEventsApi.d.ts +198 -0
  37. package/dist/esm/apis/PlaysEventsApi.js +284 -0
  38. package/dist/esm/apis/TeamsApi.d.ts +118 -0
  39. package/dist/esm/apis/TeamsApi.js +251 -0
  40. package/dist/esm/apis/UploadsApi.d.ts +80 -0
  41. package/dist/esm/apis/UploadsApi.js +190 -0
  42. package/dist/esm/apis/VenueApi.d.ts +114 -0
  43. package/dist/esm/apis/VenueApi.js +248 -0
  44. package/dist/esm/apis/index.d.ts +9 -0
  45. package/dist/esm/apis/index.js +11 -0
  46. package/dist/esm/index.d.ts +3 -0
  47. package/dist/esm/index.js +5 -0
  48. package/dist/esm/models/AddVideoToGameWithS3LinkDto.d.ts +34 -0
  49. package/dist/esm/models/AddVideoToGameWithS3LinkDto.js +47 -0
  50. package/dist/esm/models/Address.d.ts +46 -0
  51. package/dist/esm/models/Address.js +59 -0
  52. package/dist/esm/models/AddressDto.d.ts +46 -0
  53. package/dist/esm/models/AddressDto.js +59 -0
  54. package/dist/esm/models/BadRequestErrorResponseDto.d.ts +34 -0
  55. package/dist/esm/models/BadRequestErrorResponseDto.js +47 -0
  56. package/dist/esm/models/Classification.d.ts +34 -0
  57. package/dist/esm/models/Classification.js +47 -0
  58. package/dist/esm/models/ClientCreateGameWithVideoUrlDto.d.ts +98 -0
  59. package/dist/esm/models/ClientCreateGameWithVideoUrlDto.js +95 -0
  60. package/dist/esm/models/CompleteMultipartUploadDto.d.ts +35 -0
  61. package/dist/esm/models/CompleteMultipartUploadDto.js +48 -0
  62. package/dist/esm/models/CompleteMultipartUploadResponse.d.ts +34 -0
  63. package/dist/esm/models/CompleteMultipartUploadResponse.js +47 -0
  64. package/dist/esm/models/CompleteMultipartUploadResponseDto.d.ts +35 -0
  65. package/dist/esm/models/CompleteMultipartUploadResponseDto.js +48 -0
  66. package/dist/esm/models/CompletedPartDto.d.ts +34 -0
  67. package/dist/esm/models/CompletedPartDto.js +47 -0
  68. package/dist/esm/models/ConflictErrorResponseDto.d.ts +34 -0
  69. package/dist/esm/models/ConflictErrorResponseDto.js +47 -0
  70. package/dist/esm/models/Coordinates.d.ts +34 -0
  71. package/dist/esm/models/Coordinates.js +47 -0
  72. package/dist/esm/models/CoordinatesDto.d.ts +34 -0
  73. package/dist/esm/models/CoordinatesDto.js +47 -0
  74. package/dist/esm/models/CreateClassificationDto.d.ts +34 -0
  75. package/dist/esm/models/CreateClassificationDto.js +47 -0
  76. package/dist/esm/models/CreateMascotDto.d.ts +34 -0
  77. package/dist/esm/models/CreateMascotDto.js +47 -0
  78. package/dist/esm/models/CreateTeamDto.d.ts +106 -0
  79. package/dist/esm/models/CreateTeamDto.js +114 -0
  80. package/dist/esm/models/CreateTeamResponseDto.d.ts +66 -0
  81. package/dist/esm/models/CreateTeamResponseDto.js +79 -0
  82. package/dist/esm/models/CreateVenueDto.d.ts +44 -0
  83. package/dist/esm/models/CreateVenueDto.js +55 -0
  84. package/dist/esm/models/DefenseSectionDto.d.ts +36 -0
  85. package/dist/esm/models/DefenseSectionDto.js +49 -0
  86. package/dist/esm/models/DefenseStatsDto.d.ts +66 -0
  87. package/dist/esm/models/DefenseStatsDto.js +79 -0
  88. package/dist/esm/models/DefenseTotalsDto.d.ts +54 -0
  89. package/dist/esm/models/DefenseTotalsDto.js +67 -0
  90. package/dist/esm/models/DeleteResponseDto.d.ts +34 -0
  91. package/dist/esm/models/DeleteResponseDto.js +47 -0
  92. package/dist/esm/models/DownEfficiencyDto.d.ts +34 -0
  93. package/dist/esm/models/DownEfficiencyDto.js +47 -0
  94. package/dist/esm/models/FetchTeamResponseDto.d.ts +68 -0
  95. package/dist/esm/models/FetchTeamResponseDto.js +81 -0
  96. package/dist/esm/models/FumbleSectionDto.d.ts +36 -0
  97. package/dist/esm/models/FumbleSectionDto.js +49 -0
  98. package/dist/esm/models/FumbleStatsDto.d.ts +50 -0
  99. package/dist/esm/models/FumbleStatsDto.js +63 -0
  100. package/dist/esm/models/FumbleTotalsDto.d.ts +38 -0
  101. package/dist/esm/models/FumbleTotalsDto.js +51 -0
  102. package/dist/esm/models/GameAllPlayListItemDto.d.ts +52 -0
  103. package/dist/esm/models/GameAllPlayListItemDto.js +65 -0
  104. package/dist/esm/models/GameBoxScoreMetaDto.d.ts +62 -0
  105. package/dist/esm/models/GameBoxScoreMetaDto.js +75 -0
  106. package/dist/esm/models/GameBoxScoreResponseDto.d.ts +36 -0
  107. package/dist/esm/models/GameBoxScoreResponseDto.js +49 -0
  108. package/dist/esm/models/GameBoxScoreTeamsDto.d.ts +35 -0
  109. package/dist/esm/models/GameBoxScoreTeamsDto.js +48 -0
  110. package/dist/esm/models/GameDetailsResponse.d.ts +55 -0
  111. package/dist/esm/models/GameDetailsResponse.js +69 -0
  112. package/dist/esm/models/GameRecapScoringSummaryProResponse.d.ts +43 -0
  113. package/dist/esm/models/GameRecapScoringSummaryProResponse.js +56 -0
  114. package/dist/esm/models/GameRecapScoringSummaryResponse.d.ts +43 -0
  115. package/dist/esm/models/GameRecapScoringSummaryResponse.js +56 -0
  116. package/dist/esm/models/GameRecapTeamStatsResponse.d.ts +43 -0
  117. package/dist/esm/models/GameRecapTeamStatsResponse.js +56 -0
  118. package/dist/esm/models/GameScoreResponse.d.ts +43 -0
  119. package/dist/esm/models/GameScoreResponse.js +56 -0
  120. package/dist/esm/models/GameScoringSummaryDataDto.d.ts +62 -0
  121. package/dist/esm/models/GameScoringSummaryDataDto.js +75 -0
  122. package/dist/esm/models/GetPartsPresignUrlResponse.d.ts +30 -0
  123. package/dist/esm/models/GetPartsPresignUrlResponse.js +43 -0
  124. package/dist/esm/models/GetPartsPresignUrlResponseDto.d.ts +35 -0
  125. package/dist/esm/models/GetPartsPresignUrlResponseDto.js +48 -0
  126. package/dist/esm/models/InitiateMultipartUploadDto.d.ts +38 -0
  127. package/dist/esm/models/InitiateMultipartUploadDto.js +49 -0
  128. package/dist/esm/models/InitiateMultipartUploadResponse.d.ts +30 -0
  129. package/dist/esm/models/InitiateMultipartUploadResponse.js +43 -0
  130. package/dist/esm/models/InitiateMultipartUploadResponseDto.d.ts +35 -0
  131. package/dist/esm/models/InitiateMultipartUploadResponseDto.js +48 -0
  132. package/dist/esm/models/InterceptionSectionDto.d.ts +36 -0
  133. package/dist/esm/models/InterceptionSectionDto.js +49 -0
  134. package/dist/esm/models/InterceptionStatsDto.d.ts +50 -0
  135. package/dist/esm/models/InterceptionStatsDto.js +63 -0
  136. package/dist/esm/models/InterceptionTotalsDto.d.ts +38 -0
  137. package/dist/esm/models/InterceptionTotalsDto.js +51 -0
  138. package/dist/esm/models/KickingSectionDto.d.ts +36 -0
  139. package/dist/esm/models/KickingSectionDto.js +49 -0
  140. package/dist/esm/models/KickingStatsDto.d.ts +66 -0
  141. package/dist/esm/models/KickingStatsDto.js +79 -0
  142. package/dist/esm/models/KickingTotalsDto.d.ts +54 -0
  143. package/dist/esm/models/KickingTotalsDto.js +67 -0
  144. package/dist/esm/models/LineOfScrimmageDto.d.ts +34 -0
  145. package/dist/esm/models/LineOfScrimmageDto.js +47 -0
  146. package/dist/esm/models/ListClassificationPaginatedResponseDto.d.ts +43 -0
  147. package/dist/esm/models/ListClassificationPaginatedResponseDto.js +56 -0
  148. package/dist/esm/models/ListGameAllPlaysResponseDto.d.ts +47 -0
  149. package/dist/esm/models/ListGameAllPlaysResponseDto.js +60 -0
  150. package/dist/esm/models/ListGamesPaginatedResponseDto.d.ts +43 -0
  151. package/dist/esm/models/ListGamesPaginatedResponseDto.js +56 -0
  152. package/dist/esm/models/ListMascotPaginatedResponseDto.d.ts +43 -0
  153. package/dist/esm/models/ListMascotPaginatedResponseDto.js +56 -0
  154. package/dist/esm/models/ListPlayClipsResponseDto.d.ts +51 -0
  155. package/dist/esm/models/ListPlayClipsResponseDto.js +64 -0
  156. package/dist/esm/models/ListTeamPaginatedResponseDto.d.ts +43 -0
  157. package/dist/esm/models/ListTeamPaginatedResponseDto.js +56 -0
  158. package/dist/esm/models/ListVenuePaginatedResponseDto.d.ts +43 -0
  159. package/dist/esm/models/ListVenuePaginatedResponseDto.js +56 -0
  160. package/dist/esm/models/ListVideoPaginatedResponseDto.d.ts +47 -0
  161. package/dist/esm/models/ListVideoPaginatedResponseDto.js +60 -0
  162. package/dist/esm/models/Mascot.d.ts +34 -0
  163. package/dist/esm/models/Mascot.js +47 -0
  164. package/dist/esm/models/MascotResponseDto.d.ts +46 -0
  165. package/dist/esm/models/MascotResponseDto.js +59 -0
  166. package/dist/esm/models/NotFoundErrorResponseDto.d.ts +34 -0
  167. package/dist/esm/models/NotFoundErrorResponseDto.js +47 -0
  168. package/dist/esm/models/OffenseDto.d.ts +38 -0
  169. package/dist/esm/models/OffenseDto.js +51 -0
  170. package/dist/esm/models/PassingDto.d.ts +50 -0
  171. package/dist/esm/models/PassingDto.js +63 -0
  172. package/dist/esm/models/PassingSectionDto.d.ts +36 -0
  173. package/dist/esm/models/PassingSectionDto.js +49 -0
  174. package/dist/esm/models/PassingStatsDto.d.ts +78 -0
  175. package/dist/esm/models/PassingStatsDto.js +87 -0
  176. package/dist/esm/models/PassingTotalsDto.d.ts +66 -0
  177. package/dist/esm/models/PassingTotalsDto.js +75 -0
  178. package/dist/esm/models/PeriodScoreDto.d.ts +42 -0
  179. package/dist/esm/models/PeriodScoreDto.js +55 -0
  180. package/dist/esm/models/PlayAttributesListDto.d.ts +59 -0
  181. package/dist/esm/models/PlayAttributesListDto.js +72 -0
  182. package/dist/esm/models/PlayClipListDetailsDto.d.ts +62 -0
  183. package/dist/esm/models/PlayClipListDetailsDto.js +75 -0
  184. package/dist/esm/models/PlayClipListItemDto.d.ts +48 -0
  185. package/dist/esm/models/PlayClipListItemDto.js +61 -0
  186. package/dist/esm/models/ProScoringPlayDto.d.ts +147 -0
  187. package/dist/esm/models/ProScoringPlayDto.js +156 -0
  188. package/dist/esm/models/ReceivingSectionDto.d.ts +36 -0
  189. package/dist/esm/models/ReceivingSectionDto.js +49 -0
  190. package/dist/esm/models/ReceivingStatsDto.d.ts +62 -0
  191. package/dist/esm/models/ReceivingStatsDto.js +75 -0
  192. package/dist/esm/models/ReceivingTotalsDto.d.ts +50 -0
  193. package/dist/esm/models/ReceivingTotalsDto.js +63 -0
  194. package/dist/esm/models/RedZoneDto.d.ts +34 -0
  195. package/dist/esm/models/RedZoneDto.js +47 -0
  196. package/dist/esm/models/RushingDto.d.ts +38 -0
  197. package/dist/esm/models/RushingDto.js +51 -0
  198. package/dist/esm/models/RushingSectionDto.d.ts +36 -0
  199. package/dist/esm/models/RushingSectionDto.js +49 -0
  200. package/dist/esm/models/RushingStatsDto.d.ts +58 -0
  201. package/dist/esm/models/RushingStatsDto.js +71 -0
  202. package/dist/esm/models/RushingTotalsDto.d.ts +46 -0
  203. package/dist/esm/models/RushingTotalsDto.js +59 -0
  204. package/dist/esm/models/ScoringPlayPlayerInvolvedDto.d.ts +59 -0
  205. package/dist/esm/models/ScoringPlayPlayerInvolvedDto.js +71 -0
  206. package/dist/esm/models/ScoringSummaryProTeamDto.d.ts +34 -0
  207. package/dist/esm/models/ScoringSummaryProTeamDto.js +47 -0
  208. package/dist/esm/models/SingleClassificationResponseDto.d.ts +35 -0
  209. package/dist/esm/models/SingleClassificationResponseDto.js +48 -0
  210. package/dist/esm/models/SingleMascotResponseDto.d.ts +35 -0
  211. package/dist/esm/models/SingleMascotResponseDto.js +48 -0
  212. package/dist/esm/models/SingleTeamResponseDto.d.ts +35 -0
  213. package/dist/esm/models/SingleTeamResponseDto.js +48 -0
  214. package/dist/esm/models/SingleVenueResponseDto.d.ts +35 -0
  215. package/dist/esm/models/SingleVenueResponseDto.js +48 -0
  216. package/dist/esm/models/SingleVideoResponseDto.d.ts +35 -0
  217. package/dist/esm/models/SingleVideoResponseDto.js +48 -0
  218. package/dist/esm/models/TeamBasicInfoDto.d.ts +46 -0
  219. package/dist/esm/models/TeamBasicInfoDto.js +59 -0
  220. package/dist/esm/models/TeamBoxScoreDto.d.ts +73 -0
  221. package/dist/esm/models/TeamBoxScoreDto.js +84 -0
  222. package/dist/esm/models/TeamScoreDto.d.ts +59 -0
  223. package/dist/esm/models/TeamScoreDto.js +72 -0
  224. package/dist/esm/models/TeamStatsDto.d.ts +80 -0
  225. package/dist/esm/models/TeamStatsDto.js +93 -0
  226. package/dist/esm/models/TokenResponse.d.ts +38 -0
  227. package/dist/esm/models/TokenResponse.js +51 -0
  228. package/dist/esm/models/TurnoversDto.d.ts +38 -0
  229. package/dist/esm/models/TurnoversDto.js +51 -0
  230. package/dist/esm/models/UnauthorizedErrorResponseDto.d.ts +34 -0
  231. package/dist/esm/models/UnauthorizedErrorResponseDto.js +47 -0
  232. package/dist/esm/models/UpdateClassificationDto.d.ts +34 -0
  233. package/dist/esm/models/UpdateClassificationDto.js +43 -0
  234. package/dist/esm/models/UpdateMascotDto.d.ts +34 -0
  235. package/dist/esm/models/UpdateMascotDto.js +43 -0
  236. package/dist/esm/models/UpdateTeamDto.d.ts +106 -0
  237. package/dist/esm/models/UpdateTeamDto.js +106 -0
  238. package/dist/esm/models/UpdateVenueDto.d.ts +44 -0
  239. package/dist/esm/models/UpdateVenueDto.js +49 -0
  240. package/dist/esm/models/Venue.d.ts +44 -0
  241. package/dist/esm/models/Venue.js +57 -0
  242. package/dist/esm/models/VideoListItemDto.d.ts +46 -0
  243. package/dist/esm/models/VideoListItemDto.js +59 -0
  244. package/dist/esm/models/index.d.ts +98 -0
  245. package/dist/esm/models/index.js +100 -0
  246. package/dist/esm/runtime.d.ts +196 -0
  247. package/dist/esm/runtime.js +400 -0
  248. package/dist/index.d.ts +3 -0
  249. package/dist/index.js +21 -0
  250. package/dist/models/AddVideoToGameWithS3LinkDto.d.ts +34 -0
  251. package/dist/models/AddVideoToGameWithS3LinkDto.js +54 -0
  252. package/dist/models/Address.d.ts +46 -0
  253. package/dist/models/Address.js +66 -0
  254. package/dist/models/AddressDto.d.ts +46 -0
  255. package/dist/models/AddressDto.js +66 -0
  256. package/dist/models/BadRequestErrorResponseDto.d.ts +34 -0
  257. package/dist/models/BadRequestErrorResponseDto.js +54 -0
  258. package/dist/models/Classification.d.ts +34 -0
  259. package/dist/models/Classification.js +54 -0
  260. package/dist/models/ClientCreateGameWithVideoUrlDto.d.ts +98 -0
  261. package/dist/models/ClientCreateGameWithVideoUrlDto.js +103 -0
  262. package/dist/models/CompleteMultipartUploadDto.d.ts +35 -0
  263. package/dist/models/CompleteMultipartUploadDto.js +55 -0
  264. package/dist/models/CompleteMultipartUploadResponse.d.ts +34 -0
  265. package/dist/models/CompleteMultipartUploadResponse.js +54 -0
  266. package/dist/models/CompleteMultipartUploadResponseDto.d.ts +35 -0
  267. package/dist/models/CompleteMultipartUploadResponseDto.js +55 -0
  268. package/dist/models/CompletedPartDto.d.ts +34 -0
  269. package/dist/models/CompletedPartDto.js +54 -0
  270. package/dist/models/ConflictErrorResponseDto.d.ts +34 -0
  271. package/dist/models/ConflictErrorResponseDto.js +54 -0
  272. package/dist/models/Coordinates.d.ts +34 -0
  273. package/dist/models/Coordinates.js +54 -0
  274. package/dist/models/CoordinatesDto.d.ts +34 -0
  275. package/dist/models/CoordinatesDto.js +54 -0
  276. package/dist/models/CreateClassificationDto.d.ts +34 -0
  277. package/dist/models/CreateClassificationDto.js +54 -0
  278. package/dist/models/CreateMascotDto.d.ts +34 -0
  279. package/dist/models/CreateMascotDto.js +54 -0
  280. package/dist/models/CreateTeamDto.d.ts +106 -0
  281. package/dist/models/CreateTeamDto.js +122 -0
  282. package/dist/models/CreateTeamResponseDto.d.ts +66 -0
  283. package/dist/models/CreateTeamResponseDto.js +86 -0
  284. package/dist/models/CreateVenueDto.d.ts +44 -0
  285. package/dist/models/CreateVenueDto.js +62 -0
  286. package/dist/models/DefenseSectionDto.d.ts +36 -0
  287. package/dist/models/DefenseSectionDto.js +56 -0
  288. package/dist/models/DefenseStatsDto.d.ts +66 -0
  289. package/dist/models/DefenseStatsDto.js +86 -0
  290. package/dist/models/DefenseTotalsDto.d.ts +54 -0
  291. package/dist/models/DefenseTotalsDto.js +74 -0
  292. package/dist/models/DeleteResponseDto.d.ts +34 -0
  293. package/dist/models/DeleteResponseDto.js +54 -0
  294. package/dist/models/DownEfficiencyDto.d.ts +34 -0
  295. package/dist/models/DownEfficiencyDto.js +54 -0
  296. package/dist/models/FetchTeamResponseDto.d.ts +68 -0
  297. package/dist/models/FetchTeamResponseDto.js +88 -0
  298. package/dist/models/FumbleSectionDto.d.ts +36 -0
  299. package/dist/models/FumbleSectionDto.js +56 -0
  300. package/dist/models/FumbleStatsDto.d.ts +50 -0
  301. package/dist/models/FumbleStatsDto.js +70 -0
  302. package/dist/models/FumbleTotalsDto.d.ts +38 -0
  303. package/dist/models/FumbleTotalsDto.js +58 -0
  304. package/dist/models/GameAllPlayListItemDto.d.ts +52 -0
  305. package/dist/models/GameAllPlayListItemDto.js +72 -0
  306. package/dist/models/GameBoxScoreMetaDto.d.ts +62 -0
  307. package/dist/models/GameBoxScoreMetaDto.js +82 -0
  308. package/dist/models/GameBoxScoreResponseDto.d.ts +36 -0
  309. package/dist/models/GameBoxScoreResponseDto.js +56 -0
  310. package/dist/models/GameBoxScoreTeamsDto.d.ts +35 -0
  311. package/dist/models/GameBoxScoreTeamsDto.js +55 -0
  312. package/dist/models/GameDetailsResponse.d.ts +55 -0
  313. package/dist/models/GameDetailsResponse.js +76 -0
  314. package/dist/models/GameRecapScoringSummaryProResponse.d.ts +43 -0
  315. package/dist/models/GameRecapScoringSummaryProResponse.js +63 -0
  316. package/dist/models/GameRecapScoringSummaryResponse.d.ts +43 -0
  317. package/dist/models/GameRecapScoringSummaryResponse.js +63 -0
  318. package/dist/models/GameRecapTeamStatsResponse.d.ts +43 -0
  319. package/dist/models/GameRecapTeamStatsResponse.js +63 -0
  320. package/dist/models/GameScoreResponse.d.ts +43 -0
  321. package/dist/models/GameScoreResponse.js +63 -0
  322. package/dist/models/GameScoringSummaryDataDto.d.ts +62 -0
  323. package/dist/models/GameScoringSummaryDataDto.js +82 -0
  324. package/dist/models/GetPartsPresignUrlResponse.d.ts +30 -0
  325. package/dist/models/GetPartsPresignUrlResponse.js +50 -0
  326. package/dist/models/GetPartsPresignUrlResponseDto.d.ts +35 -0
  327. package/dist/models/GetPartsPresignUrlResponseDto.js +55 -0
  328. package/dist/models/InitiateMultipartUploadDto.d.ts +38 -0
  329. package/dist/models/InitiateMultipartUploadDto.js +56 -0
  330. package/dist/models/InitiateMultipartUploadResponse.d.ts +30 -0
  331. package/dist/models/InitiateMultipartUploadResponse.js +50 -0
  332. package/dist/models/InitiateMultipartUploadResponseDto.d.ts +35 -0
  333. package/dist/models/InitiateMultipartUploadResponseDto.js +55 -0
  334. package/dist/models/InterceptionSectionDto.d.ts +36 -0
  335. package/dist/models/InterceptionSectionDto.js +56 -0
  336. package/dist/models/InterceptionStatsDto.d.ts +50 -0
  337. package/dist/models/InterceptionStatsDto.js +70 -0
  338. package/dist/models/InterceptionTotalsDto.d.ts +38 -0
  339. package/dist/models/InterceptionTotalsDto.js +58 -0
  340. package/dist/models/KickingSectionDto.d.ts +36 -0
  341. package/dist/models/KickingSectionDto.js +56 -0
  342. package/dist/models/KickingStatsDto.d.ts +66 -0
  343. package/dist/models/KickingStatsDto.js +86 -0
  344. package/dist/models/KickingTotalsDto.d.ts +54 -0
  345. package/dist/models/KickingTotalsDto.js +74 -0
  346. package/dist/models/LineOfScrimmageDto.d.ts +34 -0
  347. package/dist/models/LineOfScrimmageDto.js +54 -0
  348. package/dist/models/ListClassificationPaginatedResponseDto.d.ts +43 -0
  349. package/dist/models/ListClassificationPaginatedResponseDto.js +63 -0
  350. package/dist/models/ListGameAllPlaysResponseDto.d.ts +47 -0
  351. package/dist/models/ListGameAllPlaysResponseDto.js +67 -0
  352. package/dist/models/ListGamesPaginatedResponseDto.d.ts +43 -0
  353. package/dist/models/ListGamesPaginatedResponseDto.js +63 -0
  354. package/dist/models/ListMascotPaginatedResponseDto.d.ts +43 -0
  355. package/dist/models/ListMascotPaginatedResponseDto.js +63 -0
  356. package/dist/models/ListPlayClipsResponseDto.d.ts +51 -0
  357. package/dist/models/ListPlayClipsResponseDto.js +71 -0
  358. package/dist/models/ListTeamPaginatedResponseDto.d.ts +43 -0
  359. package/dist/models/ListTeamPaginatedResponseDto.js +63 -0
  360. package/dist/models/ListVenuePaginatedResponseDto.d.ts +43 -0
  361. package/dist/models/ListVenuePaginatedResponseDto.js +63 -0
  362. package/dist/models/ListVideoPaginatedResponseDto.d.ts +47 -0
  363. package/dist/models/ListVideoPaginatedResponseDto.js +67 -0
  364. package/dist/models/Mascot.d.ts +34 -0
  365. package/dist/models/Mascot.js +54 -0
  366. package/dist/models/MascotResponseDto.d.ts +46 -0
  367. package/dist/models/MascotResponseDto.js +66 -0
  368. package/dist/models/NotFoundErrorResponseDto.d.ts +34 -0
  369. package/dist/models/NotFoundErrorResponseDto.js +54 -0
  370. package/dist/models/OffenseDto.d.ts +38 -0
  371. package/dist/models/OffenseDto.js +58 -0
  372. package/dist/models/PassingDto.d.ts +50 -0
  373. package/dist/models/PassingDto.js +70 -0
  374. package/dist/models/PassingSectionDto.d.ts +36 -0
  375. package/dist/models/PassingSectionDto.js +56 -0
  376. package/dist/models/PassingStatsDto.d.ts +78 -0
  377. package/dist/models/PassingStatsDto.js +94 -0
  378. package/dist/models/PassingTotalsDto.d.ts +66 -0
  379. package/dist/models/PassingTotalsDto.js +82 -0
  380. package/dist/models/PeriodScoreDto.d.ts +42 -0
  381. package/dist/models/PeriodScoreDto.js +62 -0
  382. package/dist/models/PlayAttributesListDto.d.ts +59 -0
  383. package/dist/models/PlayAttributesListDto.js +79 -0
  384. package/dist/models/PlayClipListDetailsDto.d.ts +62 -0
  385. package/dist/models/PlayClipListDetailsDto.js +82 -0
  386. package/dist/models/PlayClipListItemDto.d.ts +48 -0
  387. package/dist/models/PlayClipListItemDto.js +68 -0
  388. package/dist/models/ProScoringPlayDto.d.ts +147 -0
  389. package/dist/models/ProScoringPlayDto.js +164 -0
  390. package/dist/models/ReceivingSectionDto.d.ts +36 -0
  391. package/dist/models/ReceivingSectionDto.js +56 -0
  392. package/dist/models/ReceivingStatsDto.d.ts +62 -0
  393. package/dist/models/ReceivingStatsDto.js +82 -0
  394. package/dist/models/ReceivingTotalsDto.d.ts +50 -0
  395. package/dist/models/ReceivingTotalsDto.js +70 -0
  396. package/dist/models/RedZoneDto.d.ts +34 -0
  397. package/dist/models/RedZoneDto.js +54 -0
  398. package/dist/models/RushingDto.d.ts +38 -0
  399. package/dist/models/RushingDto.js +58 -0
  400. package/dist/models/RushingSectionDto.d.ts +36 -0
  401. package/dist/models/RushingSectionDto.js +56 -0
  402. package/dist/models/RushingStatsDto.d.ts +58 -0
  403. package/dist/models/RushingStatsDto.js +78 -0
  404. package/dist/models/RushingTotalsDto.d.ts +46 -0
  405. package/dist/models/RushingTotalsDto.js +66 -0
  406. package/dist/models/ScoringPlayPlayerInvolvedDto.d.ts +59 -0
  407. package/dist/models/ScoringPlayPlayerInvolvedDto.js +79 -0
  408. package/dist/models/ScoringSummaryProTeamDto.d.ts +34 -0
  409. package/dist/models/ScoringSummaryProTeamDto.js +54 -0
  410. package/dist/models/SingleClassificationResponseDto.d.ts +35 -0
  411. package/dist/models/SingleClassificationResponseDto.js +55 -0
  412. package/dist/models/SingleMascotResponseDto.d.ts +35 -0
  413. package/dist/models/SingleMascotResponseDto.js +55 -0
  414. package/dist/models/SingleTeamResponseDto.d.ts +35 -0
  415. package/dist/models/SingleTeamResponseDto.js +55 -0
  416. package/dist/models/SingleVenueResponseDto.d.ts +35 -0
  417. package/dist/models/SingleVenueResponseDto.js +55 -0
  418. package/dist/models/SingleVideoResponseDto.d.ts +35 -0
  419. package/dist/models/SingleVideoResponseDto.js +55 -0
  420. package/dist/models/TeamBasicInfoDto.d.ts +46 -0
  421. package/dist/models/TeamBasicInfoDto.js +66 -0
  422. package/dist/models/TeamBoxScoreDto.d.ts +73 -0
  423. package/dist/models/TeamBoxScoreDto.js +91 -0
  424. package/dist/models/TeamScoreDto.d.ts +59 -0
  425. package/dist/models/TeamScoreDto.js +79 -0
  426. package/dist/models/TeamStatsDto.d.ts +80 -0
  427. package/dist/models/TeamStatsDto.js +100 -0
  428. package/dist/models/TokenResponse.d.ts +38 -0
  429. package/dist/models/TokenResponse.js +58 -0
  430. package/dist/models/TurnoversDto.d.ts +38 -0
  431. package/dist/models/TurnoversDto.js +58 -0
  432. package/dist/models/UnauthorizedErrorResponseDto.d.ts +34 -0
  433. package/dist/models/UnauthorizedErrorResponseDto.js +54 -0
  434. package/dist/models/UpdateClassificationDto.d.ts +34 -0
  435. package/dist/models/UpdateClassificationDto.js +50 -0
  436. package/dist/models/UpdateMascotDto.d.ts +34 -0
  437. package/dist/models/UpdateMascotDto.js +50 -0
  438. package/dist/models/UpdateTeamDto.d.ts +106 -0
  439. package/dist/models/UpdateTeamDto.js +114 -0
  440. package/dist/models/UpdateVenueDto.d.ts +44 -0
  441. package/dist/models/UpdateVenueDto.js +56 -0
  442. package/dist/models/Venue.d.ts +44 -0
  443. package/dist/models/Venue.js +64 -0
  444. package/dist/models/VideoListItemDto.d.ts +46 -0
  445. package/dist/models/VideoListItemDto.js +66 -0
  446. package/dist/models/index.d.ts +98 -0
  447. package/dist/models/index.js +116 -0
  448. package/dist/runtime.d.ts +196 -0
  449. package/dist/runtime.js +421 -0
  450. package/docs/AddVideoToGameWithS3LinkDto.md +36 -0
  451. package/docs/Address.md +42 -0
  452. package/docs/AddressDto.md +42 -0
  453. package/docs/AuthenticationApi.md +75 -0
  454. package/docs/BadRequestErrorResponseDto.md +36 -0
  455. package/docs/Classification.md +36 -0
  456. package/docs/ClassificationApi.md +325 -0
  457. package/docs/ClientCreateGameWithVideoUrlDto.md +56 -0
  458. package/docs/CompleteMultipartUploadDto.md +36 -0
  459. package/docs/CompleteMultipartUploadResponse.md +36 -0
  460. package/docs/CompleteMultipartUploadResponseDto.md +36 -0
  461. package/docs/CompletedPartDto.md +36 -0
  462. package/docs/ConflictErrorResponseDto.md +36 -0
  463. package/docs/Coordinates.md +36 -0
  464. package/docs/CoordinatesDto.md +36 -0
  465. package/docs/CreateClassificationDto.md +36 -0
  466. package/docs/CreateMascotDto.md +36 -0
  467. package/docs/CreateTeamDto.md +44 -0
  468. package/docs/CreateTeamResponseDto.md +52 -0
  469. package/docs/CreateVenueDto.md +40 -0
  470. package/docs/DefenseSectionDto.md +36 -0
  471. package/docs/DefenseStatsDto.md +52 -0
  472. package/docs/DefenseTotalsDto.md +46 -0
  473. package/docs/DeleteResponseDto.md +36 -0
  474. package/docs/DownEfficiencyDto.md +36 -0
  475. package/docs/FetchTeamResponseDto.md +52 -0
  476. package/docs/FumbleSectionDto.md +36 -0
  477. package/docs/FumbleStatsDto.md +44 -0
  478. package/docs/FumbleTotalsDto.md +38 -0
  479. package/docs/GameAllPlayListItemDto.md +44 -0
  480. package/docs/GameBoxScoreMetaDto.md +50 -0
  481. package/docs/GameBoxScoreResponseDto.md +36 -0
  482. package/docs/GameBoxScoreTeamsDto.md +36 -0
  483. package/docs/GameDetailsResponse.md +46 -0
  484. package/docs/GameRecapApi.md +393 -0
  485. package/docs/GameRecapScoringSummaryProResponse.md +40 -0
  486. package/docs/GameRecapScoringSummaryResponse.md +40 -0
  487. package/docs/GameRecapTeamStatsResponse.md +40 -0
  488. package/docs/GameScoreResponse.md +40 -0
  489. package/docs/GameScoringSummaryDataDto.md +50 -0
  490. package/docs/GamesApi.md +404 -0
  491. package/docs/GetPartsPresignUrlResponse.md +34 -0
  492. package/docs/GetPartsPresignUrlResponseDto.md +36 -0
  493. package/docs/InitiateMultipartUploadDto.md +38 -0
  494. package/docs/InitiateMultipartUploadResponse.md +34 -0
  495. package/docs/InitiateMultipartUploadResponseDto.md +36 -0
  496. package/docs/InterceptionSectionDto.md +36 -0
  497. package/docs/InterceptionStatsDto.md +44 -0
  498. package/docs/InterceptionTotalsDto.md +38 -0
  499. package/docs/KickingSectionDto.md +36 -0
  500. package/docs/KickingStatsDto.md +52 -0
  501. package/docs/KickingTotalsDto.md +46 -0
  502. package/docs/LineOfScrimmageDto.md +36 -0
  503. package/docs/ListClassificationPaginatedResponseDto.md +40 -0
  504. package/docs/ListGameAllPlaysResponseDto.md +42 -0
  505. package/docs/ListGamesPaginatedResponseDto.md +40 -0
  506. package/docs/ListMascotPaginatedResponseDto.md +40 -0
  507. package/docs/ListPlayClipsResponseDto.md +44 -0
  508. package/docs/ListTeamPaginatedResponseDto.md +40 -0
  509. package/docs/ListVenuePaginatedResponseDto.md +40 -0
  510. package/docs/ListVideoPaginatedResponseDto.md +42 -0
  511. package/docs/Mascot.md +36 -0
  512. package/docs/MascotApi.md +325 -0
  513. package/docs/MascotResponseDto.md +42 -0
  514. package/docs/NotFoundErrorResponseDto.md +36 -0
  515. package/docs/OffenseDto.md +38 -0
  516. package/docs/PassingDto.md +44 -0
  517. package/docs/PassingSectionDto.md +36 -0
  518. package/docs/PassingStatsDto.md +58 -0
  519. package/docs/PassingTotalsDto.md +52 -0
  520. package/docs/PeriodScoreDto.md +40 -0
  521. package/docs/PlayAttributesListDto.md +48 -0
  522. package/docs/PlayClipListDetailsDto.md +50 -0
  523. package/docs/PlayClipListItemDto.md +42 -0
  524. package/docs/PlaysEventsApi.md +275 -0
  525. package/docs/ProScoringPlayDto.md +68 -0
  526. package/docs/ReceivingSectionDto.md +36 -0
  527. package/docs/ReceivingStatsDto.md +50 -0
  528. package/docs/ReceivingTotalsDto.md +44 -0
  529. package/docs/RedZoneDto.md +36 -0
  530. package/docs/RushingDto.md +38 -0
  531. package/docs/RushingSectionDto.md +36 -0
  532. package/docs/RushingStatsDto.md +48 -0
  533. package/docs/RushingTotalsDto.md +42 -0
  534. package/docs/ScoringPlayPlayerInvolvedDto.md +40 -0
  535. package/docs/ScoringSummaryProTeamDto.md +36 -0
  536. package/docs/SingleClassificationResponseDto.md +36 -0
  537. package/docs/SingleMascotResponseDto.md +36 -0
  538. package/docs/SingleTeamResponseDto.md +36 -0
  539. package/docs/SingleVenueResponseDto.md +36 -0
  540. package/docs/SingleVideoResponseDto.md +36 -0
  541. package/docs/TeamBasicInfoDto.md +42 -0
  542. package/docs/TeamBoxScoreDto.md +52 -0
  543. package/docs/TeamScoreDto.md +48 -0
  544. package/docs/TeamStatsDto.md +56 -0
  545. package/docs/TeamsApi.md +328 -0
  546. package/docs/TokenResponse.md +38 -0
  547. package/docs/TurnoversDto.md +38 -0
  548. package/docs/UnauthorizedErrorResponseDto.md +36 -0
  549. package/docs/UpdateClassificationDto.md +36 -0
  550. package/docs/UpdateMascotDto.md +36 -0
  551. package/docs/UpdateTeamDto.md +44 -0
  552. package/docs/UpdateVenueDto.md +40 -0
  553. package/docs/UploadsApi.md +230 -0
  554. package/docs/Venue.md +40 -0
  555. package/docs/VenueApi.md +325 -0
  556. package/docs/VideoListItemDto.md +42 -0
  557. package/package.json +24 -4
  558. package/src/apis/AuthenticationApi.ts +73 -0
  559. package/src/apis/ClassificationApi.ts +334 -0
  560. package/src/apis/GameRecapApi.ts +372 -0
  561. package/src/apis/GamesApi.ts +420 -0
  562. package/src/apis/MascotApi.ts +334 -0
  563. package/src/apis/PlaysEventsApi.ts +399 -0
  564. package/src/apis/TeamsApi.ts +342 -0
  565. package/src/apis/UploadsApi.ts +256 -0
  566. package/src/apis/VenueApi.ts +334 -0
  567. package/src/apis/index.ts +11 -0
  568. package/src/index.ts +5 -0
  569. package/src/models/AddVideoToGameWithS3LinkDto.ts +70 -0
  570. package/src/models/Address.ts +91 -0
  571. package/src/models/AddressDto.ts +91 -0
  572. package/src/models/BadRequestErrorResponseDto.ts +70 -0
  573. package/src/models/Classification.ts +70 -0
  574. package/src/models/ClientCreateGameWithVideoUrlDto.ts +161 -0
  575. package/src/models/CompleteMultipartUploadDto.ts +76 -0
  576. package/src/models/CompleteMultipartUploadResponse.ts +70 -0
  577. package/src/models/CompleteMultipartUploadResponseDto.ts +76 -0
  578. package/src/models/CompletedPartDto.ts +70 -0
  579. package/src/models/ConflictErrorResponseDto.ts +70 -0
  580. package/src/models/Coordinates.ts +70 -0
  581. package/src/models/CoordinatesDto.ts +70 -0
  582. package/src/models/CreateClassificationDto.ts +70 -0
  583. package/src/models/CreateMascotDto.ts +70 -0
  584. package/src/models/CreateTeamDto.ts +155 -0
  585. package/src/models/CreateTeamResponseDto.ts +126 -0
  586. package/src/models/CreateVenueDto.ts +94 -0
  587. package/src/models/DefenseSectionDto.ts +81 -0
  588. package/src/models/DefenseStatsDto.ts +126 -0
  589. package/src/models/DefenseTotalsDto.ts +105 -0
  590. package/src/models/DeleteResponseDto.ts +70 -0
  591. package/src/models/DownEfficiencyDto.ts +70 -0
  592. package/src/models/FetchTeamResponseDto.ts +137 -0
  593. package/src/models/FumbleSectionDto.ts +81 -0
  594. package/src/models/FumbleStatsDto.ts +98 -0
  595. package/src/models/FumbleTotalsDto.ts +77 -0
  596. package/src/models/GameAllPlayListItemDto.ts +109 -0
  597. package/src/models/GameBoxScoreMetaDto.ts +119 -0
  598. package/src/models/GameBoxScoreResponseDto.ts +81 -0
  599. package/src/models/GameBoxScoreTeamsDto.ts +76 -0
  600. package/src/models/GameDetailsResponse.ts +112 -0
  601. package/src/models/GameRecapScoringSummaryProResponse.ts +90 -0
  602. package/src/models/GameRecapScoringSummaryResponse.ts +90 -0
  603. package/src/models/GameRecapTeamStatsResponse.ts +90 -0
  604. package/src/models/GameScoreResponse.ts +90 -0
  605. package/src/models/GameScoringSummaryDataDto.ts +119 -0
  606. package/src/models/GetPartsPresignUrlResponse.ts +63 -0
  607. package/src/models/GetPartsPresignUrlResponseDto.ts +76 -0
  608. package/src/models/InitiateMultipartUploadDto.ts +76 -0
  609. package/src/models/InitiateMultipartUploadResponse.ts +63 -0
  610. package/src/models/InitiateMultipartUploadResponseDto.ts +76 -0
  611. package/src/models/InterceptionSectionDto.ts +81 -0
  612. package/src/models/InterceptionStatsDto.ts +98 -0
  613. package/src/models/InterceptionTotalsDto.ts +77 -0
  614. package/src/models/KickingSectionDto.ts +81 -0
  615. package/src/models/KickingStatsDto.ts +126 -0
  616. package/src/models/KickingTotalsDto.ts +105 -0
  617. package/src/models/LineOfScrimmageDto.ts +70 -0
  618. package/src/models/ListClassificationPaginatedResponseDto.ts +90 -0
  619. package/src/models/ListGameAllPlaysResponseDto.ts +97 -0
  620. package/src/models/ListGamesPaginatedResponseDto.ts +90 -0
  621. package/src/models/ListMascotPaginatedResponseDto.ts +90 -0
  622. package/src/models/ListPlayClipsResponseDto.ts +104 -0
  623. package/src/models/ListTeamPaginatedResponseDto.ts +90 -0
  624. package/src/models/ListVenuePaginatedResponseDto.ts +90 -0
  625. package/src/models/ListVideoPaginatedResponseDto.ts +97 -0
  626. package/src/models/Mascot.ts +70 -0
  627. package/src/models/MascotResponseDto.ts +91 -0
  628. package/src/models/NotFoundErrorResponseDto.ts +70 -0
  629. package/src/models/OffenseDto.ts +77 -0
  630. package/src/models/PassingDto.ts +98 -0
  631. package/src/models/PassingSectionDto.ts +81 -0
  632. package/src/models/PassingStatsDto.ts +145 -0
  633. package/src/models/PassingTotalsDto.ts +124 -0
  634. package/src/models/PeriodScoreDto.ts +84 -0
  635. package/src/models/PlayAttributesListDto.ts +118 -0
  636. package/src/models/PlayClipListDetailsDto.ts +119 -0
  637. package/src/models/PlayClipListItemDto.ts +102 -0
  638. package/src/models/ProScoringPlayDto.ts +246 -0
  639. package/src/models/ReceivingSectionDto.ts +81 -0
  640. package/src/models/ReceivingStatsDto.ts +119 -0
  641. package/src/models/ReceivingTotalsDto.ts +98 -0
  642. package/src/models/RedZoneDto.ts +70 -0
  643. package/src/models/RushingDto.ts +77 -0
  644. package/src/models/RushingSectionDto.ts +81 -0
  645. package/src/models/RushingStatsDto.ts +112 -0
  646. package/src/models/RushingTotalsDto.ts +91 -0
  647. package/src/models/ScoringPlayPlayerInvolvedDto.ts +104 -0
  648. package/src/models/ScoringSummaryProTeamDto.ts +70 -0
  649. package/src/models/SingleClassificationResponseDto.ts +76 -0
  650. package/src/models/SingleMascotResponseDto.ts +76 -0
  651. package/src/models/SingleTeamResponseDto.ts +76 -0
  652. package/src/models/SingleVenueResponseDto.ts +76 -0
  653. package/src/models/SingleVideoResponseDto.ts +76 -0
  654. package/src/models/TeamBasicInfoDto.ts +91 -0
  655. package/src/models/TeamBoxScoreDto.ts +161 -0
  656. package/src/models/TeamScoreDto.ts +118 -0
  657. package/src/models/TeamStatsDto.ts +171 -0
  658. package/src/models/TokenResponse.ts +77 -0
  659. package/src/models/TurnoversDto.ts +77 -0
  660. package/src/models/UnauthorizedErrorResponseDto.ts +70 -0
  661. package/src/models/UpdateClassificationDto.ts +68 -0
  662. package/src/models/UpdateMascotDto.ts +68 -0
  663. package/src/models/UpdateTeamDto.ts +151 -0
  664. package/src/models/UpdateVenueDto.ts +91 -0
  665. package/src/models/Venue.ts +95 -0
  666. package/src/models/VideoListItemDto.ts +91 -0
  667. package/src/models/index.ts +100 -0
  668. package/src/runtime.ts +505 -0
  669. package/tsconfig.esm.json +7 -0
  670. package/tsconfig.json +16 -0
@@ -0,0 +1,248 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Victory Code Client API
5
+ * Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { CreateClassificationDtoToJSON, } from '../models/CreateClassificationDto';
25
+ import { DeleteResponseDtoFromJSON, } from '../models/DeleteResponseDto';
26
+ import { ListClassificationPaginatedResponseDtoFromJSON, } from '../models/ListClassificationPaginatedResponseDto';
27
+ import { SingleClassificationResponseDtoFromJSON, } from '../models/SingleClassificationResponseDto';
28
+ import { UpdateClassificationDtoToJSON, } from '../models/UpdateClassificationDto';
29
+ /**
30
+ *
31
+ */
32
+ export class ClassificationApi extends runtime.BaseAPI {
33
+ /**
34
+ * Creates request options for createClassification without sending the request
35
+ */
36
+ createClassificationRequestOpts(requestParameters) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters['createClassificationDto'] == null) {
39
+ throw new runtime.RequiredError('createClassificationDto', 'Required parameter "createClassificationDto" was null or undefined when calling createClassification().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ headerParameters['Content-Type'] = 'application/json';
44
+ if (this.configuration && this.configuration.accessToken) {
45
+ const token = this.configuration.accessToken;
46
+ const tokenString = yield token("Client-App-Token", []);
47
+ if (tokenString) {
48
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
49
+ }
50
+ }
51
+ if (this.configuration && this.configuration.apiKey) {
52
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
53
+ }
54
+ let urlPath = `/api/v1/client/classifications`;
55
+ return {
56
+ path: urlPath,
57
+ method: 'POST',
58
+ headers: headerParameters,
59
+ query: queryParameters,
60
+ body: CreateClassificationDtoToJSON(requestParameters['createClassificationDto']),
61
+ };
62
+ });
63
+ }
64
+ /**
65
+ * Creates a new classification entry for categorizing teams.
66
+ * Create a new classification
67
+ */
68
+ createClassificationRaw(requestParameters, initOverrides) {
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ const requestOptions = yield this.createClassificationRequestOpts(requestParameters);
71
+ const response = yield this.request(requestOptions, initOverrides);
72
+ return new runtime.JSONApiResponse(response, (jsonValue) => SingleClassificationResponseDtoFromJSON(jsonValue));
73
+ });
74
+ }
75
+ /**
76
+ * Creates a new classification entry for categorizing teams.
77
+ * Create a new classification
78
+ */
79
+ createClassification(requestParameters, initOverrides) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ const response = yield this.createClassificationRaw(requestParameters, initOverrides);
82
+ return yield response.value();
83
+ });
84
+ }
85
+ /**
86
+ * Creates request options for deleteClassification without sending the request
87
+ */
88
+ deleteClassificationRequestOpts(requestParameters) {
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ if (requestParameters['id'] == null) {
91
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteClassification().');
92
+ }
93
+ const queryParameters = {};
94
+ const headerParameters = {};
95
+ if (this.configuration && this.configuration.accessToken) {
96
+ const token = this.configuration.accessToken;
97
+ const tokenString = yield token("Client-App-Token", []);
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
100
+ }
101
+ }
102
+ if (this.configuration && this.configuration.apiKey) {
103
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
104
+ }
105
+ let urlPath = `/api/v1/client/classifications/{id}`;
106
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
107
+ return {
108
+ path: urlPath,
109
+ method: 'DELETE',
110
+ headers: headerParameters,
111
+ query: queryParameters,
112
+ };
113
+ });
114
+ }
115
+ /**
116
+ * Permanently deletes a team classification from the system.
117
+ * Delete a classification
118
+ */
119
+ deleteClassificationRaw(requestParameters, initOverrides) {
120
+ return __awaiter(this, void 0, void 0, function* () {
121
+ const requestOptions = yield this.deleteClassificationRequestOpts(requestParameters);
122
+ const response = yield this.request(requestOptions, initOverrides);
123
+ return new runtime.JSONApiResponse(response, (jsonValue) => DeleteResponseDtoFromJSON(jsonValue));
124
+ });
125
+ }
126
+ /**
127
+ * Permanently deletes a team classification from the system.
128
+ * Delete a classification
129
+ */
130
+ deleteClassification(requestParameters, initOverrides) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ const response = yield this.deleteClassificationRaw(requestParameters, initOverrides);
133
+ return yield response.value();
134
+ });
135
+ }
136
+ /**
137
+ * Creates request options for getClassifications without sending the request
138
+ */
139
+ getClassificationsRequestOpts(requestParameters) {
140
+ return __awaiter(this, void 0, void 0, function* () {
141
+ const queryParameters = {};
142
+ if (requestParameters['limit'] != null) {
143
+ queryParameters['limit'] = requestParameters['limit'];
144
+ }
145
+ if (requestParameters['page'] != null) {
146
+ queryParameters['page'] = requestParameters['page'];
147
+ }
148
+ if (requestParameters['search'] != null) {
149
+ queryParameters['search'] = requestParameters['search'];
150
+ }
151
+ const headerParameters = {};
152
+ if (this.configuration && this.configuration.accessToken) {
153
+ const token = this.configuration.accessToken;
154
+ const tokenString = yield token("Client-App-Token", []);
155
+ if (tokenString) {
156
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
157
+ }
158
+ }
159
+ if (this.configuration && this.configuration.apiKey) {
160
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
161
+ }
162
+ let urlPath = `/api/v1/client/classifications`;
163
+ return {
164
+ path: urlPath,
165
+ method: 'GET',
166
+ headers: headerParameters,
167
+ query: queryParameters,
168
+ };
169
+ });
170
+ }
171
+ /**
172
+ * Retrieves a paginated list of all team classifications available in the system.
173
+ * Get all classifications
174
+ */
175
+ getClassificationsRaw(requestParameters, initOverrides) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ const requestOptions = yield this.getClassificationsRequestOpts(requestParameters);
178
+ const response = yield this.request(requestOptions, initOverrides);
179
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListClassificationPaginatedResponseDtoFromJSON(jsonValue));
180
+ });
181
+ }
182
+ /**
183
+ * Retrieves a paginated list of all team classifications available in the system.
184
+ * Get all classifications
185
+ */
186
+ getClassifications() {
187
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
188
+ const response = yield this.getClassificationsRaw(requestParameters, initOverrides);
189
+ return yield response.value();
190
+ });
191
+ }
192
+ /**
193
+ * Creates request options for updateClassification without sending the request
194
+ */
195
+ updateClassificationRequestOpts(requestParameters) {
196
+ return __awaiter(this, void 0, void 0, function* () {
197
+ if (requestParameters['id'] == null) {
198
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateClassification().');
199
+ }
200
+ if (requestParameters['updateClassificationDto'] == null) {
201
+ throw new runtime.RequiredError('updateClassificationDto', 'Required parameter "updateClassificationDto" was null or undefined when calling updateClassification().');
202
+ }
203
+ const queryParameters = {};
204
+ const headerParameters = {};
205
+ headerParameters['Content-Type'] = 'application/json';
206
+ if (this.configuration && this.configuration.accessToken) {
207
+ const token = this.configuration.accessToken;
208
+ const tokenString = yield token("Client-App-Token", []);
209
+ if (tokenString) {
210
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
211
+ }
212
+ }
213
+ if (this.configuration && this.configuration.apiKey) {
214
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
215
+ }
216
+ let urlPath = `/api/v1/client/classifications/{id}`;
217
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
218
+ return {
219
+ path: urlPath,
220
+ method: 'PATCH',
221
+ headers: headerParameters,
222
+ query: queryParameters,
223
+ body: UpdateClassificationDtoToJSON(requestParameters['updateClassificationDto']),
224
+ };
225
+ });
226
+ }
227
+ /**
228
+ * Updates an existing team classification entry identified by its ID.
229
+ * Update a classification
230
+ */
231
+ updateClassificationRaw(requestParameters, initOverrides) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const requestOptions = yield this.updateClassificationRequestOpts(requestParameters);
234
+ const response = yield this.request(requestOptions, initOverrides);
235
+ return new runtime.JSONApiResponse(response, (jsonValue) => SingleClassificationResponseDtoFromJSON(jsonValue));
236
+ });
237
+ }
238
+ /**
239
+ * Updates an existing team classification entry identified by its ID.
240
+ * Update a classification
241
+ */
242
+ updateClassification(requestParameters, initOverrides) {
243
+ return __awaiter(this, void 0, void 0, function* () {
244
+ const response = yield this.updateClassificationRaw(requestParameters, initOverrides);
245
+ return yield response.value();
246
+ });
247
+ }
248
+ }
@@ -0,0 +1,122 @@
1
+ /**
2
+ * Victory Code Client API
3
+ * Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import { type GameBoxScoreResponseDto } from '../models/GameBoxScoreResponseDto';
14
+ import { type GameRecapScoringSummaryProResponse } from '../models/GameRecapScoringSummaryProResponse';
15
+ import { type GameRecapScoringSummaryResponse } from '../models/GameRecapScoringSummaryResponse';
16
+ import { type GameRecapTeamStatsResponse } from '../models/GameRecapTeamStatsResponse';
17
+ import { type GameScoreResponse } from '../models/GameScoreResponse';
18
+ export interface GetGameRecapGameBoxScoreRequest {
19
+ /**
20
+ *
21
+ */
22
+ videoId: string;
23
+ }
24
+ export interface GetGameRecapScoreRequest {
25
+ /**
26
+ *
27
+ */
28
+ videoId: string;
29
+ }
30
+ export interface GetGameRecapScoringSummaryRequest {
31
+ /**
32
+ *
33
+ */
34
+ videoId: string;
35
+ }
36
+ export interface GetGameRecapScoringSummaryProRequest {
37
+ /**
38
+ *
39
+ */
40
+ videoId: string;
41
+ }
42
+ export interface GetGameRecapTeamStatsRequest {
43
+ /**
44
+ *
45
+ */
46
+ videoId: string;
47
+ }
48
+ /**
49
+ *
50
+ */
51
+ export declare class GameRecapApi extends runtime.BaseAPI {
52
+ /**
53
+ * Creates request options for getGameRecapGameBoxScore without sending the request
54
+ */
55
+ getGameRecapGameBoxScoreRequestOpts(requestParameters: GetGameRecapGameBoxScoreRequest): Promise<runtime.RequestOpts>;
56
+ /**
57
+ * Retrieves full game box score stats for both teams and players for a specific game.
58
+ * Get the Game Recap Game Box Score for a specific Game.
59
+ */
60
+ getGameRecapGameBoxScoreRaw(requestParameters: GetGameRecapGameBoxScoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GameBoxScoreResponseDto>>;
61
+ /**
62
+ * Retrieves full game box score stats for both teams and players for a specific game.
63
+ * Get the Game Recap Game Box Score for a specific Game.
64
+ */
65
+ getGameRecapGameBoxScore(requestParameters: GetGameRecapGameBoxScoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GameBoxScoreResponseDto>;
66
+ /**
67
+ * Creates request options for getGameRecapScore without sending the request
68
+ */
69
+ getGameRecapScoreRequestOpts(requestParameters: GetGameRecapScoreRequest): Promise<runtime.RequestOpts>;
70
+ /**
71
+ * Retrieves the final score and the score breakdown by quarter and overtime periods for both the home and away teams.
72
+ * Get the Game Recap Score for a specific Game.
73
+ */
74
+ getGameRecapScoreRaw(requestParameters: GetGameRecapScoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GameScoreResponse>>;
75
+ /**
76
+ * Retrieves the final score and the score breakdown by quarter and overtime periods for both the home and away teams.
77
+ * Get the Game Recap Score for a specific Game.
78
+ */
79
+ getGameRecapScore(requestParameters: GetGameRecapScoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GameScoreResponse>;
80
+ /**
81
+ * Creates request options for getGameRecapScoringSummary without sending the request
82
+ */
83
+ getGameRecapScoringSummaryRequestOpts(requestParameters: GetGameRecapScoringSummaryRequest): Promise<runtime.RequestOpts>;
84
+ /**
85
+ * Retrieves a chronological list of all scoring plays for a specific game, including details about the play, the drive, and the resulting score.
86
+ * Get the Game Recap Scoring Summary for a specific Game.
87
+ */
88
+ getGameRecapScoringSummaryRaw(requestParameters: GetGameRecapScoringSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GameRecapScoringSummaryResponse>>;
89
+ /**
90
+ * Retrieves a chronological list of all scoring plays for a specific game, including details about the play, the drive, and the resulting score.
91
+ * Get the Game Recap Scoring Summary for a specific Game.
92
+ */
93
+ getGameRecapScoringSummary(requestParameters: GetGameRecapScoringSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GameRecapScoringSummaryResponse>;
94
+ /**
95
+ * Creates request options for getGameRecapScoringSummaryPro without sending the request
96
+ */
97
+ getGameRecapScoringSummaryProRequestOpts(requestParameters: GetGameRecapScoringSummaryProRequest): Promise<runtime.RequestOpts>;
98
+ /**
99
+ * Retrieves the full pro scoring summary for a specific game with drive context and players involved for each scoring play.
100
+ * Get the Game Recap Scoring Summary Pro for a specific Game.
101
+ */
102
+ getGameRecapScoringSummaryProRaw(requestParameters: GetGameRecapScoringSummaryProRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GameRecapScoringSummaryProResponse>>;
103
+ /**
104
+ * Retrieves the full pro scoring summary for a specific game with drive context and players involved for each scoring play.
105
+ * Get the Game Recap Scoring Summary Pro for a specific Game.
106
+ */
107
+ getGameRecapScoringSummaryPro(requestParameters: GetGameRecapScoringSummaryProRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GameRecapScoringSummaryProResponse>;
108
+ /**
109
+ * Creates request options for getGameRecapTeamStats without sending the request
110
+ */
111
+ getGameRecapTeamStatsRequestOpts(requestParameters: GetGameRecapTeamStatsRequest): Promise<runtime.RequestOpts>;
112
+ /**
113
+ * Retrieves a detailed statistical breakdown for both the home and away teams, covering offense, defense, and special teams performance.
114
+ * Get the Game Recap Team Stats for a specific Game.
115
+ */
116
+ getGameRecapTeamStatsRaw(requestParameters: GetGameRecapTeamStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GameRecapTeamStatsResponse>>;
117
+ /**
118
+ * Retrieves a detailed statistical breakdown for both the home and away teams, covering offense, defense, and special teams performance.
119
+ * Get the Game Recap Team Stats for a specific Game.
120
+ */
121
+ getGameRecapTeamStats(requestParameters: GetGameRecapTeamStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GameRecapTeamStatsResponse>;
122
+ }
@@ -0,0 +1,288 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Victory Code Client API
5
+ * Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { GameBoxScoreResponseDtoFromJSON, } from '../models/GameBoxScoreResponseDto';
25
+ import { GameRecapScoringSummaryProResponseFromJSON, } from '../models/GameRecapScoringSummaryProResponse';
26
+ import { GameRecapScoringSummaryResponseFromJSON, } from '../models/GameRecapScoringSummaryResponse';
27
+ import { GameRecapTeamStatsResponseFromJSON, } from '../models/GameRecapTeamStatsResponse';
28
+ import { GameScoreResponseFromJSON, } from '../models/GameScoreResponse';
29
+ /**
30
+ *
31
+ */
32
+ export class GameRecapApi extends runtime.BaseAPI {
33
+ /**
34
+ * Creates request options for getGameRecapGameBoxScore without sending the request
35
+ */
36
+ getGameRecapGameBoxScoreRequestOpts(requestParameters) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters['videoId'] == null) {
39
+ throw new runtime.RequiredError('videoId', 'Required parameter "videoId" was null or undefined when calling getGameRecapGameBoxScore().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ if (this.configuration && this.configuration.accessToken) {
44
+ const token = this.configuration.accessToken;
45
+ const tokenString = yield token("Client-App-Token", []);
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ if (this.configuration && this.configuration.apiKey) {
51
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
52
+ }
53
+ let urlPath = `/api/v1/client/game-recap/{videoId}/game-box-score`;
54
+ urlPath = urlPath.replace('{videoId}', encodeURIComponent(String(requestParameters['videoId'])));
55
+ return {
56
+ path: urlPath,
57
+ method: 'GET',
58
+ headers: headerParameters,
59
+ query: queryParameters,
60
+ };
61
+ });
62
+ }
63
+ /**
64
+ * Retrieves full game box score stats for both teams and players for a specific game.
65
+ * Get the Game Recap Game Box Score for a specific Game.
66
+ */
67
+ getGameRecapGameBoxScoreRaw(requestParameters, initOverrides) {
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ const requestOptions = yield this.getGameRecapGameBoxScoreRequestOpts(requestParameters);
70
+ const response = yield this.request(requestOptions, initOverrides);
71
+ return new runtime.JSONApiResponse(response, (jsonValue) => GameBoxScoreResponseDtoFromJSON(jsonValue));
72
+ });
73
+ }
74
+ /**
75
+ * Retrieves full game box score stats for both teams and players for a specific game.
76
+ * Get the Game Recap Game Box Score for a specific Game.
77
+ */
78
+ getGameRecapGameBoxScore(requestParameters, initOverrides) {
79
+ return __awaiter(this, void 0, void 0, function* () {
80
+ const response = yield this.getGameRecapGameBoxScoreRaw(requestParameters, initOverrides);
81
+ return yield response.value();
82
+ });
83
+ }
84
+ /**
85
+ * Creates request options for getGameRecapScore without sending the request
86
+ */
87
+ getGameRecapScoreRequestOpts(requestParameters) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ if (requestParameters['videoId'] == null) {
90
+ throw new runtime.RequiredError('videoId', 'Required parameter "videoId" was null or undefined when calling getGameRecapScore().');
91
+ }
92
+ const queryParameters = {};
93
+ const headerParameters = {};
94
+ if (this.configuration && this.configuration.accessToken) {
95
+ const token = this.configuration.accessToken;
96
+ const tokenString = yield token("Client-App-Token", []);
97
+ if (tokenString) {
98
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
99
+ }
100
+ }
101
+ if (this.configuration && this.configuration.apiKey) {
102
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
103
+ }
104
+ let urlPath = `/api/v1/client/game-recap/{videoId}/score`;
105
+ urlPath = urlPath.replace('{videoId}', encodeURIComponent(String(requestParameters['videoId'])));
106
+ return {
107
+ path: urlPath,
108
+ method: 'GET',
109
+ headers: headerParameters,
110
+ query: queryParameters,
111
+ };
112
+ });
113
+ }
114
+ /**
115
+ * Retrieves the final score and the score breakdown by quarter and overtime periods for both the home and away teams.
116
+ * Get the Game Recap Score for a specific Game.
117
+ */
118
+ getGameRecapScoreRaw(requestParameters, initOverrides) {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ const requestOptions = yield this.getGameRecapScoreRequestOpts(requestParameters);
121
+ const response = yield this.request(requestOptions, initOverrides);
122
+ return new runtime.JSONApiResponse(response, (jsonValue) => GameScoreResponseFromJSON(jsonValue));
123
+ });
124
+ }
125
+ /**
126
+ * Retrieves the final score and the score breakdown by quarter and overtime periods for both the home and away teams.
127
+ * Get the Game Recap Score for a specific Game.
128
+ */
129
+ getGameRecapScore(requestParameters, initOverrides) {
130
+ return __awaiter(this, void 0, void 0, function* () {
131
+ const response = yield this.getGameRecapScoreRaw(requestParameters, initOverrides);
132
+ return yield response.value();
133
+ });
134
+ }
135
+ /**
136
+ * Creates request options for getGameRecapScoringSummary without sending the request
137
+ */
138
+ getGameRecapScoringSummaryRequestOpts(requestParameters) {
139
+ return __awaiter(this, void 0, void 0, function* () {
140
+ if (requestParameters['videoId'] == null) {
141
+ throw new runtime.RequiredError('videoId', 'Required parameter "videoId" was null or undefined when calling getGameRecapScoringSummary().');
142
+ }
143
+ const queryParameters = {};
144
+ const headerParameters = {};
145
+ if (this.configuration && this.configuration.accessToken) {
146
+ const token = this.configuration.accessToken;
147
+ const tokenString = yield token("Client-App-Token", []);
148
+ if (tokenString) {
149
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
150
+ }
151
+ }
152
+ if (this.configuration && this.configuration.apiKey) {
153
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
154
+ }
155
+ let urlPath = `/api/v1/client/game-recap/{videoId}/scoring-summary`;
156
+ urlPath = urlPath.replace('{videoId}', encodeURIComponent(String(requestParameters['videoId'])));
157
+ return {
158
+ path: urlPath,
159
+ method: 'GET',
160
+ headers: headerParameters,
161
+ query: queryParameters,
162
+ };
163
+ });
164
+ }
165
+ /**
166
+ * Retrieves a chronological list of all scoring plays for a specific game, including details about the play, the drive, and the resulting score.
167
+ * Get the Game Recap Scoring Summary for a specific Game.
168
+ */
169
+ getGameRecapScoringSummaryRaw(requestParameters, initOverrides) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ const requestOptions = yield this.getGameRecapScoringSummaryRequestOpts(requestParameters);
172
+ const response = yield this.request(requestOptions, initOverrides);
173
+ return new runtime.JSONApiResponse(response, (jsonValue) => GameRecapScoringSummaryResponseFromJSON(jsonValue));
174
+ });
175
+ }
176
+ /**
177
+ * Retrieves a chronological list of all scoring plays for a specific game, including details about the play, the drive, and the resulting score.
178
+ * Get the Game Recap Scoring Summary for a specific Game.
179
+ */
180
+ getGameRecapScoringSummary(requestParameters, initOverrides) {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ const response = yield this.getGameRecapScoringSummaryRaw(requestParameters, initOverrides);
183
+ return yield response.value();
184
+ });
185
+ }
186
+ /**
187
+ * Creates request options for getGameRecapScoringSummaryPro without sending the request
188
+ */
189
+ getGameRecapScoringSummaryProRequestOpts(requestParameters) {
190
+ return __awaiter(this, void 0, void 0, function* () {
191
+ if (requestParameters['videoId'] == null) {
192
+ throw new runtime.RequiredError('videoId', 'Required parameter "videoId" was null or undefined when calling getGameRecapScoringSummaryPro().');
193
+ }
194
+ const queryParameters = {};
195
+ const headerParameters = {};
196
+ if (this.configuration && this.configuration.accessToken) {
197
+ const token = this.configuration.accessToken;
198
+ const tokenString = yield token("Client-App-Token", []);
199
+ if (tokenString) {
200
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
201
+ }
202
+ }
203
+ if (this.configuration && this.configuration.apiKey) {
204
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
205
+ }
206
+ let urlPath = `/api/v1/client/game-recap/{videoId}/scoring-summary-pro`;
207
+ urlPath = urlPath.replace('{videoId}', encodeURIComponent(String(requestParameters['videoId'])));
208
+ return {
209
+ path: urlPath,
210
+ method: 'GET',
211
+ headers: headerParameters,
212
+ query: queryParameters,
213
+ };
214
+ });
215
+ }
216
+ /**
217
+ * Retrieves the full pro scoring summary for a specific game with drive context and players involved for each scoring play.
218
+ * Get the Game Recap Scoring Summary Pro for a specific Game.
219
+ */
220
+ getGameRecapScoringSummaryProRaw(requestParameters, initOverrides) {
221
+ return __awaiter(this, void 0, void 0, function* () {
222
+ const requestOptions = yield this.getGameRecapScoringSummaryProRequestOpts(requestParameters);
223
+ const response = yield this.request(requestOptions, initOverrides);
224
+ return new runtime.JSONApiResponse(response, (jsonValue) => GameRecapScoringSummaryProResponseFromJSON(jsonValue));
225
+ });
226
+ }
227
+ /**
228
+ * Retrieves the full pro scoring summary for a specific game with drive context and players involved for each scoring play.
229
+ * Get the Game Recap Scoring Summary Pro for a specific Game.
230
+ */
231
+ getGameRecapScoringSummaryPro(requestParameters, initOverrides) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const response = yield this.getGameRecapScoringSummaryProRaw(requestParameters, initOverrides);
234
+ return yield response.value();
235
+ });
236
+ }
237
+ /**
238
+ * Creates request options for getGameRecapTeamStats without sending the request
239
+ */
240
+ getGameRecapTeamStatsRequestOpts(requestParameters) {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ if (requestParameters['videoId'] == null) {
243
+ throw new runtime.RequiredError('videoId', 'Required parameter "videoId" was null or undefined when calling getGameRecapTeamStats().');
244
+ }
245
+ const queryParameters = {};
246
+ const headerParameters = {};
247
+ if (this.configuration && this.configuration.accessToken) {
248
+ const token = this.configuration.accessToken;
249
+ const tokenString = yield token("Client-App-Token", []);
250
+ if (tokenString) {
251
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
252
+ }
253
+ }
254
+ if (this.configuration && this.configuration.apiKey) {
255
+ headerParameters["App-Id"] = yield this.configuration.apiKey("App-Id"); // Client-App-Id authentication
256
+ }
257
+ let urlPath = `/api/v1/client/game-recap/{videoId}/team-stats`;
258
+ urlPath = urlPath.replace('{videoId}', encodeURIComponent(String(requestParameters['videoId'])));
259
+ return {
260
+ path: urlPath,
261
+ method: 'GET',
262
+ headers: headerParameters,
263
+ query: queryParameters,
264
+ };
265
+ });
266
+ }
267
+ /**
268
+ * Retrieves a detailed statistical breakdown for both the home and away teams, covering offense, defense, and special teams performance.
269
+ * Get the Game Recap Team Stats for a specific Game.
270
+ */
271
+ getGameRecapTeamStatsRaw(requestParameters, initOverrides) {
272
+ return __awaiter(this, void 0, void 0, function* () {
273
+ const requestOptions = yield this.getGameRecapTeamStatsRequestOpts(requestParameters);
274
+ const response = yield this.request(requestOptions, initOverrides);
275
+ return new runtime.JSONApiResponse(response, (jsonValue) => GameRecapTeamStatsResponseFromJSON(jsonValue));
276
+ });
277
+ }
278
+ /**
279
+ * Retrieves a detailed statistical breakdown for both the home and away teams, covering offense, defense, and special teams performance.
280
+ * Get the Game Recap Team Stats for a specific Game.
281
+ */
282
+ getGameRecapTeamStats(requestParameters, initOverrides) {
283
+ return __awaiter(this, void 0, void 0, function* () {
284
+ const response = yield this.getGameRecapTeamStatsRaw(requestParameters, initOverrides);
285
+ return yield response.value();
286
+ });
287
+ }
288
+ }