@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.
- package/.openapi-generator/FILES +225 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/LICENSE +21 -0
- package/README.md +260 -2
- package/dist/apis/AuthenticationApi.d.ts +32 -0
- package/dist/apis/AuthenticationApi.js +76 -0
- package/dist/apis/ClassificationApi.d.ts +114 -0
- package/dist/apis/ClassificationApi.js +252 -0
- package/dist/apis/GameRecapApi.d.ts +122 -0
- package/dist/apis/GameRecapApi.js +292 -0
- package/dist/apis/GamesApi.d.ts +143 -0
- package/dist/apis/GamesApi.js +310 -0
- package/dist/apis/MascotApi.d.ts +114 -0
- package/dist/apis/MascotApi.js +252 -0
- package/dist/apis/PlaysEventsApi.d.ts +198 -0
- package/dist/apis/PlaysEventsApi.js +288 -0
- package/dist/apis/TeamsApi.d.ts +118 -0
- package/dist/apis/TeamsApi.js +255 -0
- package/dist/apis/UploadsApi.d.ts +80 -0
- package/dist/apis/UploadsApi.js +194 -0
- package/dist/apis/VenueApi.d.ts +114 -0
- package/dist/apis/VenueApi.js +252 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +27 -0
- package/dist/esm/apis/AuthenticationApi.d.ts +32 -0
- package/dist/esm/apis/AuthenticationApi.js +72 -0
- package/dist/esm/apis/ClassificationApi.d.ts +114 -0
- package/dist/esm/apis/ClassificationApi.js +248 -0
- package/dist/esm/apis/GameRecapApi.d.ts +122 -0
- package/dist/esm/apis/GameRecapApi.js +288 -0
- package/dist/esm/apis/GamesApi.d.ts +143 -0
- package/dist/esm/apis/GamesApi.js +306 -0
- package/dist/esm/apis/MascotApi.d.ts +114 -0
- package/dist/esm/apis/MascotApi.js +248 -0
- package/dist/esm/apis/PlaysEventsApi.d.ts +198 -0
- package/dist/esm/apis/PlaysEventsApi.js +284 -0
- package/dist/esm/apis/TeamsApi.d.ts +118 -0
- package/dist/esm/apis/TeamsApi.js +251 -0
- package/dist/esm/apis/UploadsApi.d.ts +80 -0
- package/dist/esm/apis/UploadsApi.js +190 -0
- package/dist/esm/apis/VenueApi.d.ts +114 -0
- package/dist/esm/apis/VenueApi.js +248 -0
- package/dist/esm/apis/index.d.ts +9 -0
- package/dist/esm/apis/index.js +11 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AddVideoToGameWithS3LinkDto.d.ts +34 -0
- package/dist/esm/models/AddVideoToGameWithS3LinkDto.js +47 -0
- package/dist/esm/models/Address.d.ts +46 -0
- package/dist/esm/models/Address.js +59 -0
- package/dist/esm/models/AddressDto.d.ts +46 -0
- package/dist/esm/models/AddressDto.js +59 -0
- package/dist/esm/models/BadRequestErrorResponseDto.d.ts +34 -0
- package/dist/esm/models/BadRequestErrorResponseDto.js +47 -0
- package/dist/esm/models/Classification.d.ts +34 -0
- package/dist/esm/models/Classification.js +47 -0
- package/dist/esm/models/ClientCreateGameWithVideoUrlDto.d.ts +98 -0
- package/dist/esm/models/ClientCreateGameWithVideoUrlDto.js +95 -0
- package/dist/esm/models/CompleteMultipartUploadDto.d.ts +35 -0
- package/dist/esm/models/CompleteMultipartUploadDto.js +48 -0
- package/dist/esm/models/CompleteMultipartUploadResponse.d.ts +34 -0
- package/dist/esm/models/CompleteMultipartUploadResponse.js +47 -0
- package/dist/esm/models/CompleteMultipartUploadResponseDto.d.ts +35 -0
- package/dist/esm/models/CompleteMultipartUploadResponseDto.js +48 -0
- package/dist/esm/models/CompletedPartDto.d.ts +34 -0
- package/dist/esm/models/CompletedPartDto.js +47 -0
- package/dist/esm/models/ConflictErrorResponseDto.d.ts +34 -0
- package/dist/esm/models/ConflictErrorResponseDto.js +47 -0
- package/dist/esm/models/Coordinates.d.ts +34 -0
- package/dist/esm/models/Coordinates.js +47 -0
- package/dist/esm/models/CoordinatesDto.d.ts +34 -0
- package/dist/esm/models/CoordinatesDto.js +47 -0
- package/dist/esm/models/CreateClassificationDto.d.ts +34 -0
- package/dist/esm/models/CreateClassificationDto.js +47 -0
- package/dist/esm/models/CreateMascotDto.d.ts +34 -0
- package/dist/esm/models/CreateMascotDto.js +47 -0
- package/dist/esm/models/CreateTeamDto.d.ts +106 -0
- package/dist/esm/models/CreateTeamDto.js +114 -0
- package/dist/esm/models/CreateTeamResponseDto.d.ts +66 -0
- package/dist/esm/models/CreateTeamResponseDto.js +79 -0
- package/dist/esm/models/CreateVenueDto.d.ts +44 -0
- package/dist/esm/models/CreateVenueDto.js +55 -0
- package/dist/esm/models/DefenseSectionDto.d.ts +36 -0
- package/dist/esm/models/DefenseSectionDto.js +49 -0
- package/dist/esm/models/DefenseStatsDto.d.ts +66 -0
- package/dist/esm/models/DefenseStatsDto.js +79 -0
- package/dist/esm/models/DefenseTotalsDto.d.ts +54 -0
- package/dist/esm/models/DefenseTotalsDto.js +67 -0
- package/dist/esm/models/DeleteResponseDto.d.ts +34 -0
- package/dist/esm/models/DeleteResponseDto.js +47 -0
- package/dist/esm/models/DownEfficiencyDto.d.ts +34 -0
- package/dist/esm/models/DownEfficiencyDto.js +47 -0
- package/dist/esm/models/FetchTeamResponseDto.d.ts +68 -0
- package/dist/esm/models/FetchTeamResponseDto.js +81 -0
- package/dist/esm/models/FumbleSectionDto.d.ts +36 -0
- package/dist/esm/models/FumbleSectionDto.js +49 -0
- package/dist/esm/models/FumbleStatsDto.d.ts +50 -0
- package/dist/esm/models/FumbleStatsDto.js +63 -0
- package/dist/esm/models/FumbleTotalsDto.d.ts +38 -0
- package/dist/esm/models/FumbleTotalsDto.js +51 -0
- package/dist/esm/models/GameAllPlayListItemDto.d.ts +52 -0
- package/dist/esm/models/GameAllPlayListItemDto.js +65 -0
- package/dist/esm/models/GameBoxScoreMetaDto.d.ts +62 -0
- package/dist/esm/models/GameBoxScoreMetaDto.js +75 -0
- package/dist/esm/models/GameBoxScoreResponseDto.d.ts +36 -0
- package/dist/esm/models/GameBoxScoreResponseDto.js +49 -0
- package/dist/esm/models/GameBoxScoreTeamsDto.d.ts +35 -0
- package/dist/esm/models/GameBoxScoreTeamsDto.js +48 -0
- package/dist/esm/models/GameDetailsResponse.d.ts +55 -0
- package/dist/esm/models/GameDetailsResponse.js +69 -0
- package/dist/esm/models/GameRecapScoringSummaryProResponse.d.ts +43 -0
- package/dist/esm/models/GameRecapScoringSummaryProResponse.js +56 -0
- package/dist/esm/models/GameRecapScoringSummaryResponse.d.ts +43 -0
- package/dist/esm/models/GameRecapScoringSummaryResponse.js +56 -0
- package/dist/esm/models/GameRecapTeamStatsResponse.d.ts +43 -0
- package/dist/esm/models/GameRecapTeamStatsResponse.js +56 -0
- package/dist/esm/models/GameScoreResponse.d.ts +43 -0
- package/dist/esm/models/GameScoreResponse.js +56 -0
- package/dist/esm/models/GameScoringSummaryDataDto.d.ts +62 -0
- package/dist/esm/models/GameScoringSummaryDataDto.js +75 -0
- package/dist/esm/models/GetPartsPresignUrlResponse.d.ts +30 -0
- package/dist/esm/models/GetPartsPresignUrlResponse.js +43 -0
- package/dist/esm/models/GetPartsPresignUrlResponseDto.d.ts +35 -0
- package/dist/esm/models/GetPartsPresignUrlResponseDto.js +48 -0
- package/dist/esm/models/InitiateMultipartUploadDto.d.ts +38 -0
- package/dist/esm/models/InitiateMultipartUploadDto.js +49 -0
- package/dist/esm/models/InitiateMultipartUploadResponse.d.ts +30 -0
- package/dist/esm/models/InitiateMultipartUploadResponse.js +43 -0
- package/dist/esm/models/InitiateMultipartUploadResponseDto.d.ts +35 -0
- package/dist/esm/models/InitiateMultipartUploadResponseDto.js +48 -0
- package/dist/esm/models/InterceptionSectionDto.d.ts +36 -0
- package/dist/esm/models/InterceptionSectionDto.js +49 -0
- package/dist/esm/models/InterceptionStatsDto.d.ts +50 -0
- package/dist/esm/models/InterceptionStatsDto.js +63 -0
- package/dist/esm/models/InterceptionTotalsDto.d.ts +38 -0
- package/dist/esm/models/InterceptionTotalsDto.js +51 -0
- package/dist/esm/models/KickingSectionDto.d.ts +36 -0
- package/dist/esm/models/KickingSectionDto.js +49 -0
- package/dist/esm/models/KickingStatsDto.d.ts +66 -0
- package/dist/esm/models/KickingStatsDto.js +79 -0
- package/dist/esm/models/KickingTotalsDto.d.ts +54 -0
- package/dist/esm/models/KickingTotalsDto.js +67 -0
- package/dist/esm/models/LineOfScrimmageDto.d.ts +34 -0
- package/dist/esm/models/LineOfScrimmageDto.js +47 -0
- package/dist/esm/models/ListClassificationPaginatedResponseDto.d.ts +43 -0
- package/dist/esm/models/ListClassificationPaginatedResponseDto.js +56 -0
- package/dist/esm/models/ListGameAllPlaysResponseDto.d.ts +47 -0
- package/dist/esm/models/ListGameAllPlaysResponseDto.js +60 -0
- package/dist/esm/models/ListGamesPaginatedResponseDto.d.ts +43 -0
- package/dist/esm/models/ListGamesPaginatedResponseDto.js +56 -0
- package/dist/esm/models/ListMascotPaginatedResponseDto.d.ts +43 -0
- package/dist/esm/models/ListMascotPaginatedResponseDto.js +56 -0
- package/dist/esm/models/ListPlayClipsResponseDto.d.ts +51 -0
- package/dist/esm/models/ListPlayClipsResponseDto.js +64 -0
- package/dist/esm/models/ListTeamPaginatedResponseDto.d.ts +43 -0
- package/dist/esm/models/ListTeamPaginatedResponseDto.js +56 -0
- package/dist/esm/models/ListVenuePaginatedResponseDto.d.ts +43 -0
- package/dist/esm/models/ListVenuePaginatedResponseDto.js +56 -0
- package/dist/esm/models/ListVideoPaginatedResponseDto.d.ts +47 -0
- package/dist/esm/models/ListVideoPaginatedResponseDto.js +60 -0
- package/dist/esm/models/Mascot.d.ts +34 -0
- package/dist/esm/models/Mascot.js +47 -0
- package/dist/esm/models/MascotResponseDto.d.ts +46 -0
- package/dist/esm/models/MascotResponseDto.js +59 -0
- package/dist/esm/models/NotFoundErrorResponseDto.d.ts +34 -0
- package/dist/esm/models/NotFoundErrorResponseDto.js +47 -0
- package/dist/esm/models/OffenseDto.d.ts +38 -0
- package/dist/esm/models/OffenseDto.js +51 -0
- package/dist/esm/models/PassingDto.d.ts +50 -0
- package/dist/esm/models/PassingDto.js +63 -0
- package/dist/esm/models/PassingSectionDto.d.ts +36 -0
- package/dist/esm/models/PassingSectionDto.js +49 -0
- package/dist/esm/models/PassingStatsDto.d.ts +78 -0
- package/dist/esm/models/PassingStatsDto.js +87 -0
- package/dist/esm/models/PassingTotalsDto.d.ts +66 -0
- package/dist/esm/models/PassingTotalsDto.js +75 -0
- package/dist/esm/models/PeriodScoreDto.d.ts +42 -0
- package/dist/esm/models/PeriodScoreDto.js +55 -0
- package/dist/esm/models/PlayAttributesListDto.d.ts +59 -0
- package/dist/esm/models/PlayAttributesListDto.js +72 -0
- package/dist/esm/models/PlayClipListDetailsDto.d.ts +62 -0
- package/dist/esm/models/PlayClipListDetailsDto.js +75 -0
- package/dist/esm/models/PlayClipListItemDto.d.ts +48 -0
- package/dist/esm/models/PlayClipListItemDto.js +61 -0
- package/dist/esm/models/ProScoringPlayDto.d.ts +147 -0
- package/dist/esm/models/ProScoringPlayDto.js +156 -0
- package/dist/esm/models/ReceivingSectionDto.d.ts +36 -0
- package/dist/esm/models/ReceivingSectionDto.js +49 -0
- package/dist/esm/models/ReceivingStatsDto.d.ts +62 -0
- package/dist/esm/models/ReceivingStatsDto.js +75 -0
- package/dist/esm/models/ReceivingTotalsDto.d.ts +50 -0
- package/dist/esm/models/ReceivingTotalsDto.js +63 -0
- package/dist/esm/models/RedZoneDto.d.ts +34 -0
- package/dist/esm/models/RedZoneDto.js +47 -0
- package/dist/esm/models/RushingDto.d.ts +38 -0
- package/dist/esm/models/RushingDto.js +51 -0
- package/dist/esm/models/RushingSectionDto.d.ts +36 -0
- package/dist/esm/models/RushingSectionDto.js +49 -0
- package/dist/esm/models/RushingStatsDto.d.ts +58 -0
- package/dist/esm/models/RushingStatsDto.js +71 -0
- package/dist/esm/models/RushingTotalsDto.d.ts +46 -0
- package/dist/esm/models/RushingTotalsDto.js +59 -0
- package/dist/esm/models/ScoringPlayPlayerInvolvedDto.d.ts +59 -0
- package/dist/esm/models/ScoringPlayPlayerInvolvedDto.js +71 -0
- package/dist/esm/models/ScoringSummaryProTeamDto.d.ts +34 -0
- package/dist/esm/models/ScoringSummaryProTeamDto.js +47 -0
- package/dist/esm/models/SingleClassificationResponseDto.d.ts +35 -0
- package/dist/esm/models/SingleClassificationResponseDto.js +48 -0
- package/dist/esm/models/SingleMascotResponseDto.d.ts +35 -0
- package/dist/esm/models/SingleMascotResponseDto.js +48 -0
- package/dist/esm/models/SingleTeamResponseDto.d.ts +35 -0
- package/dist/esm/models/SingleTeamResponseDto.js +48 -0
- package/dist/esm/models/SingleVenueResponseDto.d.ts +35 -0
- package/dist/esm/models/SingleVenueResponseDto.js +48 -0
- package/dist/esm/models/SingleVideoResponseDto.d.ts +35 -0
- package/dist/esm/models/SingleVideoResponseDto.js +48 -0
- package/dist/esm/models/TeamBasicInfoDto.d.ts +46 -0
- package/dist/esm/models/TeamBasicInfoDto.js +59 -0
- package/dist/esm/models/TeamBoxScoreDto.d.ts +73 -0
- package/dist/esm/models/TeamBoxScoreDto.js +84 -0
- package/dist/esm/models/TeamScoreDto.d.ts +59 -0
- package/dist/esm/models/TeamScoreDto.js +72 -0
- package/dist/esm/models/TeamStatsDto.d.ts +80 -0
- package/dist/esm/models/TeamStatsDto.js +93 -0
- package/dist/esm/models/TokenResponse.d.ts +38 -0
- package/dist/esm/models/TokenResponse.js +51 -0
- package/dist/esm/models/TurnoversDto.d.ts +38 -0
- package/dist/esm/models/TurnoversDto.js +51 -0
- package/dist/esm/models/UnauthorizedErrorResponseDto.d.ts +34 -0
- package/dist/esm/models/UnauthorizedErrorResponseDto.js +47 -0
- package/dist/esm/models/UpdateClassificationDto.d.ts +34 -0
- package/dist/esm/models/UpdateClassificationDto.js +43 -0
- package/dist/esm/models/UpdateMascotDto.d.ts +34 -0
- package/dist/esm/models/UpdateMascotDto.js +43 -0
- package/dist/esm/models/UpdateTeamDto.d.ts +106 -0
- package/dist/esm/models/UpdateTeamDto.js +106 -0
- package/dist/esm/models/UpdateVenueDto.d.ts +44 -0
- package/dist/esm/models/UpdateVenueDto.js +49 -0
- package/dist/esm/models/Venue.d.ts +44 -0
- package/dist/esm/models/Venue.js +57 -0
- package/dist/esm/models/VideoListItemDto.d.ts +46 -0
- package/dist/esm/models/VideoListItemDto.js +59 -0
- package/dist/esm/models/index.d.ts +98 -0
- package/dist/esm/models/index.js +100 -0
- package/dist/esm/runtime.d.ts +196 -0
- package/dist/esm/runtime.js +400 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddVideoToGameWithS3LinkDto.d.ts +34 -0
- package/dist/models/AddVideoToGameWithS3LinkDto.js +54 -0
- package/dist/models/Address.d.ts +46 -0
- package/dist/models/Address.js +66 -0
- package/dist/models/AddressDto.d.ts +46 -0
- package/dist/models/AddressDto.js +66 -0
- package/dist/models/BadRequestErrorResponseDto.d.ts +34 -0
- package/dist/models/BadRequestErrorResponseDto.js +54 -0
- package/dist/models/Classification.d.ts +34 -0
- package/dist/models/Classification.js +54 -0
- package/dist/models/ClientCreateGameWithVideoUrlDto.d.ts +98 -0
- package/dist/models/ClientCreateGameWithVideoUrlDto.js +103 -0
- package/dist/models/CompleteMultipartUploadDto.d.ts +35 -0
- package/dist/models/CompleteMultipartUploadDto.js +55 -0
- package/dist/models/CompleteMultipartUploadResponse.d.ts +34 -0
- package/dist/models/CompleteMultipartUploadResponse.js +54 -0
- package/dist/models/CompleteMultipartUploadResponseDto.d.ts +35 -0
- package/dist/models/CompleteMultipartUploadResponseDto.js +55 -0
- package/dist/models/CompletedPartDto.d.ts +34 -0
- package/dist/models/CompletedPartDto.js +54 -0
- package/dist/models/ConflictErrorResponseDto.d.ts +34 -0
- package/dist/models/ConflictErrorResponseDto.js +54 -0
- package/dist/models/Coordinates.d.ts +34 -0
- package/dist/models/Coordinates.js +54 -0
- package/dist/models/CoordinatesDto.d.ts +34 -0
- package/dist/models/CoordinatesDto.js +54 -0
- package/dist/models/CreateClassificationDto.d.ts +34 -0
- package/dist/models/CreateClassificationDto.js +54 -0
- package/dist/models/CreateMascotDto.d.ts +34 -0
- package/dist/models/CreateMascotDto.js +54 -0
- package/dist/models/CreateTeamDto.d.ts +106 -0
- package/dist/models/CreateTeamDto.js +122 -0
- package/dist/models/CreateTeamResponseDto.d.ts +66 -0
- package/dist/models/CreateTeamResponseDto.js +86 -0
- package/dist/models/CreateVenueDto.d.ts +44 -0
- package/dist/models/CreateVenueDto.js +62 -0
- package/dist/models/DefenseSectionDto.d.ts +36 -0
- package/dist/models/DefenseSectionDto.js +56 -0
- package/dist/models/DefenseStatsDto.d.ts +66 -0
- package/dist/models/DefenseStatsDto.js +86 -0
- package/dist/models/DefenseTotalsDto.d.ts +54 -0
- package/dist/models/DefenseTotalsDto.js +74 -0
- package/dist/models/DeleteResponseDto.d.ts +34 -0
- package/dist/models/DeleteResponseDto.js +54 -0
- package/dist/models/DownEfficiencyDto.d.ts +34 -0
- package/dist/models/DownEfficiencyDto.js +54 -0
- package/dist/models/FetchTeamResponseDto.d.ts +68 -0
- package/dist/models/FetchTeamResponseDto.js +88 -0
- package/dist/models/FumbleSectionDto.d.ts +36 -0
- package/dist/models/FumbleSectionDto.js +56 -0
- package/dist/models/FumbleStatsDto.d.ts +50 -0
- package/dist/models/FumbleStatsDto.js +70 -0
- package/dist/models/FumbleTotalsDto.d.ts +38 -0
- package/dist/models/FumbleTotalsDto.js +58 -0
- package/dist/models/GameAllPlayListItemDto.d.ts +52 -0
- package/dist/models/GameAllPlayListItemDto.js +72 -0
- package/dist/models/GameBoxScoreMetaDto.d.ts +62 -0
- package/dist/models/GameBoxScoreMetaDto.js +82 -0
- package/dist/models/GameBoxScoreResponseDto.d.ts +36 -0
- package/dist/models/GameBoxScoreResponseDto.js +56 -0
- package/dist/models/GameBoxScoreTeamsDto.d.ts +35 -0
- package/dist/models/GameBoxScoreTeamsDto.js +55 -0
- package/dist/models/GameDetailsResponse.d.ts +55 -0
- package/dist/models/GameDetailsResponse.js +76 -0
- package/dist/models/GameRecapScoringSummaryProResponse.d.ts +43 -0
- package/dist/models/GameRecapScoringSummaryProResponse.js +63 -0
- package/dist/models/GameRecapScoringSummaryResponse.d.ts +43 -0
- package/dist/models/GameRecapScoringSummaryResponse.js +63 -0
- package/dist/models/GameRecapTeamStatsResponse.d.ts +43 -0
- package/dist/models/GameRecapTeamStatsResponse.js +63 -0
- package/dist/models/GameScoreResponse.d.ts +43 -0
- package/dist/models/GameScoreResponse.js +63 -0
- package/dist/models/GameScoringSummaryDataDto.d.ts +62 -0
- package/dist/models/GameScoringSummaryDataDto.js +82 -0
- package/dist/models/GetPartsPresignUrlResponse.d.ts +30 -0
- package/dist/models/GetPartsPresignUrlResponse.js +50 -0
- package/dist/models/GetPartsPresignUrlResponseDto.d.ts +35 -0
- package/dist/models/GetPartsPresignUrlResponseDto.js +55 -0
- package/dist/models/InitiateMultipartUploadDto.d.ts +38 -0
- package/dist/models/InitiateMultipartUploadDto.js +56 -0
- package/dist/models/InitiateMultipartUploadResponse.d.ts +30 -0
- package/dist/models/InitiateMultipartUploadResponse.js +50 -0
- package/dist/models/InitiateMultipartUploadResponseDto.d.ts +35 -0
- package/dist/models/InitiateMultipartUploadResponseDto.js +55 -0
- package/dist/models/InterceptionSectionDto.d.ts +36 -0
- package/dist/models/InterceptionSectionDto.js +56 -0
- package/dist/models/InterceptionStatsDto.d.ts +50 -0
- package/dist/models/InterceptionStatsDto.js +70 -0
- package/dist/models/InterceptionTotalsDto.d.ts +38 -0
- package/dist/models/InterceptionTotalsDto.js +58 -0
- package/dist/models/KickingSectionDto.d.ts +36 -0
- package/dist/models/KickingSectionDto.js +56 -0
- package/dist/models/KickingStatsDto.d.ts +66 -0
- package/dist/models/KickingStatsDto.js +86 -0
- package/dist/models/KickingTotalsDto.d.ts +54 -0
- package/dist/models/KickingTotalsDto.js +74 -0
- package/dist/models/LineOfScrimmageDto.d.ts +34 -0
- package/dist/models/LineOfScrimmageDto.js +54 -0
- package/dist/models/ListClassificationPaginatedResponseDto.d.ts +43 -0
- package/dist/models/ListClassificationPaginatedResponseDto.js +63 -0
- package/dist/models/ListGameAllPlaysResponseDto.d.ts +47 -0
- package/dist/models/ListGameAllPlaysResponseDto.js +67 -0
- package/dist/models/ListGamesPaginatedResponseDto.d.ts +43 -0
- package/dist/models/ListGamesPaginatedResponseDto.js +63 -0
- package/dist/models/ListMascotPaginatedResponseDto.d.ts +43 -0
- package/dist/models/ListMascotPaginatedResponseDto.js +63 -0
- package/dist/models/ListPlayClipsResponseDto.d.ts +51 -0
- package/dist/models/ListPlayClipsResponseDto.js +71 -0
- package/dist/models/ListTeamPaginatedResponseDto.d.ts +43 -0
- package/dist/models/ListTeamPaginatedResponseDto.js +63 -0
- package/dist/models/ListVenuePaginatedResponseDto.d.ts +43 -0
- package/dist/models/ListVenuePaginatedResponseDto.js +63 -0
- package/dist/models/ListVideoPaginatedResponseDto.d.ts +47 -0
- package/dist/models/ListVideoPaginatedResponseDto.js +67 -0
- package/dist/models/Mascot.d.ts +34 -0
- package/dist/models/Mascot.js +54 -0
- package/dist/models/MascotResponseDto.d.ts +46 -0
- package/dist/models/MascotResponseDto.js +66 -0
- package/dist/models/NotFoundErrorResponseDto.d.ts +34 -0
- package/dist/models/NotFoundErrorResponseDto.js +54 -0
- package/dist/models/OffenseDto.d.ts +38 -0
- package/dist/models/OffenseDto.js +58 -0
- package/dist/models/PassingDto.d.ts +50 -0
- package/dist/models/PassingDto.js +70 -0
- package/dist/models/PassingSectionDto.d.ts +36 -0
- package/dist/models/PassingSectionDto.js +56 -0
- package/dist/models/PassingStatsDto.d.ts +78 -0
- package/dist/models/PassingStatsDto.js +94 -0
- package/dist/models/PassingTotalsDto.d.ts +66 -0
- package/dist/models/PassingTotalsDto.js +82 -0
- package/dist/models/PeriodScoreDto.d.ts +42 -0
- package/dist/models/PeriodScoreDto.js +62 -0
- package/dist/models/PlayAttributesListDto.d.ts +59 -0
- package/dist/models/PlayAttributesListDto.js +79 -0
- package/dist/models/PlayClipListDetailsDto.d.ts +62 -0
- package/dist/models/PlayClipListDetailsDto.js +82 -0
- package/dist/models/PlayClipListItemDto.d.ts +48 -0
- package/dist/models/PlayClipListItemDto.js +68 -0
- package/dist/models/ProScoringPlayDto.d.ts +147 -0
- package/dist/models/ProScoringPlayDto.js +164 -0
- package/dist/models/ReceivingSectionDto.d.ts +36 -0
- package/dist/models/ReceivingSectionDto.js +56 -0
- package/dist/models/ReceivingStatsDto.d.ts +62 -0
- package/dist/models/ReceivingStatsDto.js +82 -0
- package/dist/models/ReceivingTotalsDto.d.ts +50 -0
- package/dist/models/ReceivingTotalsDto.js +70 -0
- package/dist/models/RedZoneDto.d.ts +34 -0
- package/dist/models/RedZoneDto.js +54 -0
- package/dist/models/RushingDto.d.ts +38 -0
- package/dist/models/RushingDto.js +58 -0
- package/dist/models/RushingSectionDto.d.ts +36 -0
- package/dist/models/RushingSectionDto.js +56 -0
- package/dist/models/RushingStatsDto.d.ts +58 -0
- package/dist/models/RushingStatsDto.js +78 -0
- package/dist/models/RushingTotalsDto.d.ts +46 -0
- package/dist/models/RushingTotalsDto.js +66 -0
- package/dist/models/ScoringPlayPlayerInvolvedDto.d.ts +59 -0
- package/dist/models/ScoringPlayPlayerInvolvedDto.js +79 -0
- package/dist/models/ScoringSummaryProTeamDto.d.ts +34 -0
- package/dist/models/ScoringSummaryProTeamDto.js +54 -0
- package/dist/models/SingleClassificationResponseDto.d.ts +35 -0
- package/dist/models/SingleClassificationResponseDto.js +55 -0
- package/dist/models/SingleMascotResponseDto.d.ts +35 -0
- package/dist/models/SingleMascotResponseDto.js +55 -0
- package/dist/models/SingleTeamResponseDto.d.ts +35 -0
- package/dist/models/SingleTeamResponseDto.js +55 -0
- package/dist/models/SingleVenueResponseDto.d.ts +35 -0
- package/dist/models/SingleVenueResponseDto.js +55 -0
- package/dist/models/SingleVideoResponseDto.d.ts +35 -0
- package/dist/models/SingleVideoResponseDto.js +55 -0
- package/dist/models/TeamBasicInfoDto.d.ts +46 -0
- package/dist/models/TeamBasicInfoDto.js +66 -0
- package/dist/models/TeamBoxScoreDto.d.ts +73 -0
- package/dist/models/TeamBoxScoreDto.js +91 -0
- package/dist/models/TeamScoreDto.d.ts +59 -0
- package/dist/models/TeamScoreDto.js +79 -0
- package/dist/models/TeamStatsDto.d.ts +80 -0
- package/dist/models/TeamStatsDto.js +100 -0
- package/dist/models/TokenResponse.d.ts +38 -0
- package/dist/models/TokenResponse.js +58 -0
- package/dist/models/TurnoversDto.d.ts +38 -0
- package/dist/models/TurnoversDto.js +58 -0
- package/dist/models/UnauthorizedErrorResponseDto.d.ts +34 -0
- package/dist/models/UnauthorizedErrorResponseDto.js +54 -0
- package/dist/models/UpdateClassificationDto.d.ts +34 -0
- package/dist/models/UpdateClassificationDto.js +50 -0
- package/dist/models/UpdateMascotDto.d.ts +34 -0
- package/dist/models/UpdateMascotDto.js +50 -0
- package/dist/models/UpdateTeamDto.d.ts +106 -0
- package/dist/models/UpdateTeamDto.js +114 -0
- package/dist/models/UpdateVenueDto.d.ts +44 -0
- package/dist/models/UpdateVenueDto.js +56 -0
- package/dist/models/Venue.d.ts +44 -0
- package/dist/models/Venue.js +64 -0
- package/dist/models/VideoListItemDto.d.ts +46 -0
- package/dist/models/VideoListItemDto.js +66 -0
- package/dist/models/index.d.ts +98 -0
- package/dist/models/index.js +116 -0
- package/dist/runtime.d.ts +196 -0
- package/dist/runtime.js +421 -0
- package/docs/AddVideoToGameWithS3LinkDto.md +36 -0
- package/docs/Address.md +42 -0
- package/docs/AddressDto.md +42 -0
- package/docs/AuthenticationApi.md +75 -0
- package/docs/BadRequestErrorResponseDto.md +36 -0
- package/docs/Classification.md +36 -0
- package/docs/ClassificationApi.md +325 -0
- package/docs/ClientCreateGameWithVideoUrlDto.md +56 -0
- package/docs/CompleteMultipartUploadDto.md +36 -0
- package/docs/CompleteMultipartUploadResponse.md +36 -0
- package/docs/CompleteMultipartUploadResponseDto.md +36 -0
- package/docs/CompletedPartDto.md +36 -0
- package/docs/ConflictErrorResponseDto.md +36 -0
- package/docs/Coordinates.md +36 -0
- package/docs/CoordinatesDto.md +36 -0
- package/docs/CreateClassificationDto.md +36 -0
- package/docs/CreateMascotDto.md +36 -0
- package/docs/CreateTeamDto.md +44 -0
- package/docs/CreateTeamResponseDto.md +52 -0
- package/docs/CreateVenueDto.md +40 -0
- package/docs/DefenseSectionDto.md +36 -0
- package/docs/DefenseStatsDto.md +52 -0
- package/docs/DefenseTotalsDto.md +46 -0
- package/docs/DeleteResponseDto.md +36 -0
- package/docs/DownEfficiencyDto.md +36 -0
- package/docs/FetchTeamResponseDto.md +52 -0
- package/docs/FumbleSectionDto.md +36 -0
- package/docs/FumbleStatsDto.md +44 -0
- package/docs/FumbleTotalsDto.md +38 -0
- package/docs/GameAllPlayListItemDto.md +44 -0
- package/docs/GameBoxScoreMetaDto.md +50 -0
- package/docs/GameBoxScoreResponseDto.md +36 -0
- package/docs/GameBoxScoreTeamsDto.md +36 -0
- package/docs/GameDetailsResponse.md +46 -0
- package/docs/GameRecapApi.md +393 -0
- package/docs/GameRecapScoringSummaryProResponse.md +40 -0
- package/docs/GameRecapScoringSummaryResponse.md +40 -0
- package/docs/GameRecapTeamStatsResponse.md +40 -0
- package/docs/GameScoreResponse.md +40 -0
- package/docs/GameScoringSummaryDataDto.md +50 -0
- package/docs/GamesApi.md +404 -0
- package/docs/GetPartsPresignUrlResponse.md +34 -0
- package/docs/GetPartsPresignUrlResponseDto.md +36 -0
- package/docs/InitiateMultipartUploadDto.md +38 -0
- package/docs/InitiateMultipartUploadResponse.md +34 -0
- package/docs/InitiateMultipartUploadResponseDto.md +36 -0
- package/docs/InterceptionSectionDto.md +36 -0
- package/docs/InterceptionStatsDto.md +44 -0
- package/docs/InterceptionTotalsDto.md +38 -0
- package/docs/KickingSectionDto.md +36 -0
- package/docs/KickingStatsDto.md +52 -0
- package/docs/KickingTotalsDto.md +46 -0
- package/docs/LineOfScrimmageDto.md +36 -0
- package/docs/ListClassificationPaginatedResponseDto.md +40 -0
- package/docs/ListGameAllPlaysResponseDto.md +42 -0
- package/docs/ListGamesPaginatedResponseDto.md +40 -0
- package/docs/ListMascotPaginatedResponseDto.md +40 -0
- package/docs/ListPlayClipsResponseDto.md +44 -0
- package/docs/ListTeamPaginatedResponseDto.md +40 -0
- package/docs/ListVenuePaginatedResponseDto.md +40 -0
- package/docs/ListVideoPaginatedResponseDto.md +42 -0
- package/docs/Mascot.md +36 -0
- package/docs/MascotApi.md +325 -0
- package/docs/MascotResponseDto.md +42 -0
- package/docs/NotFoundErrorResponseDto.md +36 -0
- package/docs/OffenseDto.md +38 -0
- package/docs/PassingDto.md +44 -0
- package/docs/PassingSectionDto.md +36 -0
- package/docs/PassingStatsDto.md +58 -0
- package/docs/PassingTotalsDto.md +52 -0
- package/docs/PeriodScoreDto.md +40 -0
- package/docs/PlayAttributesListDto.md +48 -0
- package/docs/PlayClipListDetailsDto.md +50 -0
- package/docs/PlayClipListItemDto.md +42 -0
- package/docs/PlaysEventsApi.md +275 -0
- package/docs/ProScoringPlayDto.md +68 -0
- package/docs/ReceivingSectionDto.md +36 -0
- package/docs/ReceivingStatsDto.md +50 -0
- package/docs/ReceivingTotalsDto.md +44 -0
- package/docs/RedZoneDto.md +36 -0
- package/docs/RushingDto.md +38 -0
- package/docs/RushingSectionDto.md +36 -0
- package/docs/RushingStatsDto.md +48 -0
- package/docs/RushingTotalsDto.md +42 -0
- package/docs/ScoringPlayPlayerInvolvedDto.md +40 -0
- package/docs/ScoringSummaryProTeamDto.md +36 -0
- package/docs/SingleClassificationResponseDto.md +36 -0
- package/docs/SingleMascotResponseDto.md +36 -0
- package/docs/SingleTeamResponseDto.md +36 -0
- package/docs/SingleVenueResponseDto.md +36 -0
- package/docs/SingleVideoResponseDto.md +36 -0
- package/docs/TeamBasicInfoDto.md +42 -0
- package/docs/TeamBoxScoreDto.md +52 -0
- package/docs/TeamScoreDto.md +48 -0
- package/docs/TeamStatsDto.md +56 -0
- package/docs/TeamsApi.md +328 -0
- package/docs/TokenResponse.md +38 -0
- package/docs/TurnoversDto.md +38 -0
- package/docs/UnauthorizedErrorResponseDto.md +36 -0
- package/docs/UpdateClassificationDto.md +36 -0
- package/docs/UpdateMascotDto.md +36 -0
- package/docs/UpdateTeamDto.md +44 -0
- package/docs/UpdateVenueDto.md +40 -0
- package/docs/UploadsApi.md +230 -0
- package/docs/Venue.md +40 -0
- package/docs/VenueApi.md +325 -0
- package/docs/VideoListItemDto.md +42 -0
- package/package.json +24 -4
- package/src/apis/AuthenticationApi.ts +73 -0
- package/src/apis/ClassificationApi.ts +334 -0
- package/src/apis/GameRecapApi.ts +372 -0
- package/src/apis/GamesApi.ts +420 -0
- package/src/apis/MascotApi.ts +334 -0
- package/src/apis/PlaysEventsApi.ts +399 -0
- package/src/apis/TeamsApi.ts +342 -0
- package/src/apis/UploadsApi.ts +256 -0
- package/src/apis/VenueApi.ts +334 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/AddVideoToGameWithS3LinkDto.ts +70 -0
- package/src/models/Address.ts +91 -0
- package/src/models/AddressDto.ts +91 -0
- package/src/models/BadRequestErrorResponseDto.ts +70 -0
- package/src/models/Classification.ts +70 -0
- package/src/models/ClientCreateGameWithVideoUrlDto.ts +161 -0
- package/src/models/CompleteMultipartUploadDto.ts +76 -0
- package/src/models/CompleteMultipartUploadResponse.ts +70 -0
- package/src/models/CompleteMultipartUploadResponseDto.ts +76 -0
- package/src/models/CompletedPartDto.ts +70 -0
- package/src/models/ConflictErrorResponseDto.ts +70 -0
- package/src/models/Coordinates.ts +70 -0
- package/src/models/CoordinatesDto.ts +70 -0
- package/src/models/CreateClassificationDto.ts +70 -0
- package/src/models/CreateMascotDto.ts +70 -0
- package/src/models/CreateTeamDto.ts +155 -0
- package/src/models/CreateTeamResponseDto.ts +126 -0
- package/src/models/CreateVenueDto.ts +94 -0
- package/src/models/DefenseSectionDto.ts +81 -0
- package/src/models/DefenseStatsDto.ts +126 -0
- package/src/models/DefenseTotalsDto.ts +105 -0
- package/src/models/DeleteResponseDto.ts +70 -0
- package/src/models/DownEfficiencyDto.ts +70 -0
- package/src/models/FetchTeamResponseDto.ts +137 -0
- package/src/models/FumbleSectionDto.ts +81 -0
- package/src/models/FumbleStatsDto.ts +98 -0
- package/src/models/FumbleTotalsDto.ts +77 -0
- package/src/models/GameAllPlayListItemDto.ts +109 -0
- package/src/models/GameBoxScoreMetaDto.ts +119 -0
- package/src/models/GameBoxScoreResponseDto.ts +81 -0
- package/src/models/GameBoxScoreTeamsDto.ts +76 -0
- package/src/models/GameDetailsResponse.ts +112 -0
- package/src/models/GameRecapScoringSummaryProResponse.ts +90 -0
- package/src/models/GameRecapScoringSummaryResponse.ts +90 -0
- package/src/models/GameRecapTeamStatsResponse.ts +90 -0
- package/src/models/GameScoreResponse.ts +90 -0
- package/src/models/GameScoringSummaryDataDto.ts +119 -0
- package/src/models/GetPartsPresignUrlResponse.ts +63 -0
- package/src/models/GetPartsPresignUrlResponseDto.ts +76 -0
- package/src/models/InitiateMultipartUploadDto.ts +76 -0
- package/src/models/InitiateMultipartUploadResponse.ts +63 -0
- package/src/models/InitiateMultipartUploadResponseDto.ts +76 -0
- package/src/models/InterceptionSectionDto.ts +81 -0
- package/src/models/InterceptionStatsDto.ts +98 -0
- package/src/models/InterceptionTotalsDto.ts +77 -0
- package/src/models/KickingSectionDto.ts +81 -0
- package/src/models/KickingStatsDto.ts +126 -0
- package/src/models/KickingTotalsDto.ts +105 -0
- package/src/models/LineOfScrimmageDto.ts +70 -0
- package/src/models/ListClassificationPaginatedResponseDto.ts +90 -0
- package/src/models/ListGameAllPlaysResponseDto.ts +97 -0
- package/src/models/ListGamesPaginatedResponseDto.ts +90 -0
- package/src/models/ListMascotPaginatedResponseDto.ts +90 -0
- package/src/models/ListPlayClipsResponseDto.ts +104 -0
- package/src/models/ListTeamPaginatedResponseDto.ts +90 -0
- package/src/models/ListVenuePaginatedResponseDto.ts +90 -0
- package/src/models/ListVideoPaginatedResponseDto.ts +97 -0
- package/src/models/Mascot.ts +70 -0
- package/src/models/MascotResponseDto.ts +91 -0
- package/src/models/NotFoundErrorResponseDto.ts +70 -0
- package/src/models/OffenseDto.ts +77 -0
- package/src/models/PassingDto.ts +98 -0
- package/src/models/PassingSectionDto.ts +81 -0
- package/src/models/PassingStatsDto.ts +145 -0
- package/src/models/PassingTotalsDto.ts +124 -0
- package/src/models/PeriodScoreDto.ts +84 -0
- package/src/models/PlayAttributesListDto.ts +118 -0
- package/src/models/PlayClipListDetailsDto.ts +119 -0
- package/src/models/PlayClipListItemDto.ts +102 -0
- package/src/models/ProScoringPlayDto.ts +246 -0
- package/src/models/ReceivingSectionDto.ts +81 -0
- package/src/models/ReceivingStatsDto.ts +119 -0
- package/src/models/ReceivingTotalsDto.ts +98 -0
- package/src/models/RedZoneDto.ts +70 -0
- package/src/models/RushingDto.ts +77 -0
- package/src/models/RushingSectionDto.ts +81 -0
- package/src/models/RushingStatsDto.ts +112 -0
- package/src/models/RushingTotalsDto.ts +91 -0
- package/src/models/ScoringPlayPlayerInvolvedDto.ts +104 -0
- package/src/models/ScoringSummaryProTeamDto.ts +70 -0
- package/src/models/SingleClassificationResponseDto.ts +76 -0
- package/src/models/SingleMascotResponseDto.ts +76 -0
- package/src/models/SingleTeamResponseDto.ts +76 -0
- package/src/models/SingleVenueResponseDto.ts +76 -0
- package/src/models/SingleVideoResponseDto.ts +76 -0
- package/src/models/TeamBasicInfoDto.ts +91 -0
- package/src/models/TeamBoxScoreDto.ts +161 -0
- package/src/models/TeamScoreDto.ts +118 -0
- package/src/models/TeamStatsDto.ts +171 -0
- package/src/models/TokenResponse.ts +77 -0
- package/src/models/TurnoversDto.ts +77 -0
- package/src/models/UnauthorizedErrorResponseDto.ts +70 -0
- package/src/models/UpdateClassificationDto.ts +68 -0
- package/src/models/UpdateMascotDto.ts +68 -0
- package/src/models/UpdateTeamDto.ts +151 -0
- package/src/models/UpdateVenueDto.ts +91 -0
- package/src/models/Venue.ts +95 -0
- package/src/models/VideoListItemDto.ts +91 -0
- package/src/models/index.ts +100 -0
- package/src/runtime.ts +505 -0
- package/tsconfig.esm.json +7 -0
- 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
|
+
}
|