@saeris/tmdbkit 0.0.0 → 0.1.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/CHANGELOG.md +7 -0
- package/LICENSE.md +21 -0
- package/README.md +385 -4
- package/dist/certification/getMovieCertifications.d.mts +9 -0
- package/dist/certification/getMovieCertifications.d.mts.map +1 -0
- package/dist/certification/getMovieCertifications.mjs +11 -0
- package/dist/certification/getMovieCertifications.mjs.map +1 -0
- package/dist/certification/getTvCertifications.d.mts +9 -0
- package/dist/certification/getTvCertifications.d.mts.map +1 -0
- package/dist/certification/getTvCertifications.mjs +11 -0
- package/dist/certification/getTvCertifications.mjs.map +1 -0
- package/dist/certification/index.d.mts +5 -0
- package/dist/certification/index.mjs +4 -0
- package/dist/certification/types/Certifications.d.mts +23 -0
- package/dist/certification/types/Certifications.d.mts.map +1 -0
- package/dist/certification/types/Certifications.mjs +24 -0
- package/dist/certification/types/Certifications.mjs.map +1 -0
- package/dist/certification/types/index.d.mts +2 -0
- package/dist/certification/types/index.mjs +1 -0
- package/dist/collection/getCollection.d.mts +37 -0
- package/dist/collection/getCollection.d.mts.map +1 -0
- package/dist/collection/getCollection.mjs +17 -0
- package/dist/collection/getCollection.mjs.map +1 -0
- package/dist/collection/getCollectionImages.d.mts +45 -0
- package/dist/collection/getCollectionImages.d.mts.map +1 -0
- package/dist/collection/getCollectionImages.mjs +21 -0
- package/dist/collection/getCollectionImages.mjs.map +1 -0
- package/dist/collection/getCollectionTranslations.d.mts +13 -0
- package/dist/collection/getCollectionTranslations.d.mts.map +1 -0
- package/dist/collection/getCollectionTranslations.mjs +14 -0
- package/dist/collection/getCollectionTranslations.mjs.map +1 -0
- package/dist/collection/index.d.mts +8 -0
- package/dist/collection/index.mjs +7 -0
- package/dist/collection/types/CollectionDetails.d.mts +23 -0
- package/dist/collection/types/CollectionDetails.d.mts.map +1 -0
- package/dist/collection/types/CollectionDetails.mjs +25 -0
- package/dist/collection/types/CollectionDetails.mjs.map +1 -0
- package/dist/collection/types/CollectionListItem.d.mts +24 -0
- package/dist/collection/types/CollectionListItem.d.mts.map +1 -0
- package/dist/collection/types/CollectionListItem.mjs +26 -0
- package/dist/collection/types/CollectionListItem.mjs.map +1 -0
- package/dist/collection/types/CollectionTranslations.d.mts +17 -0
- package/dist/collection/types/CollectionTranslations.d.mts.map +1 -0
- package/dist/collection/types/CollectionTranslations.mjs +18 -0
- package/dist/collection/types/CollectionTranslations.mjs.map +1 -0
- package/dist/collection/types/index.d.mts +4 -0
- package/dist/collection/types/index.mjs +4 -0
- package/dist/company/getCompany.d.mts +13 -0
- package/dist/company/getCompany.d.mts.map +1 -0
- package/dist/company/getCompany.mjs +14 -0
- package/dist/company/getCompany.mjs.map +1 -0
- package/dist/company/getCompanyAlternativeNames.d.mts +13 -0
- package/dist/company/getCompanyAlternativeNames.d.mts.map +1 -0
- package/dist/company/getCompanyAlternativeNames.mjs +14 -0
- package/dist/company/getCompanyAlternativeNames.mjs.map +1 -0
- package/dist/company/getCompanyImages.d.mts +13 -0
- package/dist/company/getCompanyImages.d.mts.map +1 -0
- package/dist/company/getCompanyImages.mjs +14 -0
- package/dist/company/getCompanyImages.mjs.map +1 -0
- package/dist/company/index.d.mts +7 -0
- package/dist/company/index.mjs +6 -0
- package/dist/company/types/CompanyDetails.d.mts +23 -0
- package/dist/company/types/CompanyDetails.d.mts.map +1 -0
- package/dist/company/types/CompanyDetails.mjs +26 -0
- package/dist/company/types/CompanyDetails.mjs.map +1 -0
- package/dist/company/types/CompanyListItem.d.mts +10 -0
- package/dist/company/types/CompanyListItem.d.mts.map +1 -0
- package/dist/company/types/CompanyListItem.mjs +13 -0
- package/dist/company/types/CompanyListItem.mjs.map +1 -0
- package/dist/company/types/index.d.mts +3 -0
- package/dist/company/types/index.mjs +3 -0
- package/dist/configuration/getConfiguration.d.mts +9 -0
- package/dist/configuration/getConfiguration.d.mts.map +1 -0
- package/dist/configuration/getConfiguration.mjs +11 -0
- package/dist/configuration/getConfiguration.mjs.map +1 -0
- package/dist/configuration/getCountries.d.mts +36 -0
- package/dist/configuration/getCountries.d.mts.map +1 -0
- package/dist/configuration/getCountries.mjs +13 -0
- package/dist/configuration/getCountries.mjs.map +1 -0
- package/dist/configuration/getJobs.d.mts +9 -0
- package/dist/configuration/getJobs.d.mts.map +1 -0
- package/dist/configuration/getJobs.mjs +11 -0
- package/dist/configuration/getJobs.mjs.map +1 -0
- package/dist/configuration/getLanguages.d.mts +9 -0
- package/dist/configuration/getLanguages.d.mts.map +1 -0
- package/dist/configuration/getLanguages.mjs +11 -0
- package/dist/configuration/getLanguages.mjs.map +1 -0
- package/dist/configuration/getPrimaryTranslations.d.mts +9 -0
- package/dist/configuration/getPrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/getPrimaryTranslations.mjs +11 -0
- package/dist/configuration/getPrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/getTimezones.d.mts +9 -0
- package/dist/configuration/getTimezones.d.mts.map +1 -0
- package/dist/configuration/getTimezones.mjs +11 -0
- package/dist/configuration/getTimezones.mjs.map +1 -0
- package/dist/configuration/imageUrl.d.mts +26 -0
- package/dist/configuration/imageUrl.d.mts.map +1 -0
- package/dist/configuration/imageUrl.mjs +50 -0
- package/dist/configuration/imageUrl.mjs.map +1 -0
- package/dist/configuration/index.d.mts +15 -0
- package/dist/configuration/index.mjs +14 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts +26 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts.map +1 -0
- package/dist/configuration/types/ConfigurationDetails.mjs +28 -0
- package/dist/configuration/types/ConfigurationDetails.mjs.map +1 -0
- package/dist/configuration/types/Country.d.mts +27 -0
- package/dist/configuration/types/Country.d.mts.map +1 -0
- package/dist/configuration/types/Country.mjs +22 -0
- package/dist/configuration/types/Country.mjs.map +1 -0
- package/dist/configuration/types/DepartmentJobs.d.mts +15 -0
- package/dist/configuration/types/DepartmentJobs.d.mts.map +1 -0
- package/dist/configuration/types/DepartmentJobs.mjs +16 -0
- package/dist/configuration/types/DepartmentJobs.mjs.map +1 -0
- package/dist/configuration/types/Language.d.mts +10 -0
- package/dist/configuration/types/Language.d.mts.map +1 -0
- package/dist/configuration/types/Language.mjs +13 -0
- package/dist/configuration/types/Language.mjs.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts +9 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.mjs +12 -0
- package/dist/configuration/types/PrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/types/Timezone.d.mts +17 -0
- package/dist/configuration/types/Timezone.d.mts.map +1 -0
- package/dist/configuration/types/Timezone.mjs +18 -0
- package/dist/configuration/types/Timezone.mjs.map +1 -0
- package/dist/configuration/types/index.d.mts +7 -0
- package/dist/configuration/types/index.mjs +7 -0
- package/dist/credit/getCredit.d.mts +37 -0
- package/dist/credit/getCredit.d.mts.map +1 -0
- package/dist/credit/getCredit.mjs +16 -0
- package/dist/credit/getCredit.mjs.map +1 -0
- package/dist/credit/index.d.mts +4 -0
- package/dist/credit/index.mjs +3 -0
- package/dist/credit/types/CreditDetails.d.mts +62 -0
- package/dist/credit/types/CreditDetails.d.mts.map +1 -0
- package/dist/credit/types/CreditDetails.mjs +35 -0
- package/dist/credit/types/CreditDetails.mjs.map +1 -0
- package/dist/credit/types/index.d.mts +2 -0
- package/dist/credit/types/index.mjs +1 -0
- package/dist/discover/discoverMovies.d.mts +708 -0
- package/dist/discover/discoverMovies.d.mts.map +1 -0
- package/dist/discover/discoverMovies.mjs +93 -0
- package/dist/discover/discoverMovies.mjs.map +1 -0
- package/dist/discover/discoverTvSeries.d.mts +608 -0
- package/dist/discover/discoverTvSeries.d.mts.map +1 -0
- package/dist/discover/discoverTvSeries.mjs +80 -0
- package/dist/discover/discoverTvSeries.mjs.map +1 -0
- package/dist/discover/index.d.mts +3 -0
- package/dist/discover/index.mjs +3 -0
- package/dist/find/findByExternalId.d.mts +38 -0
- package/dist/find/findByExternalId.d.mts.map +1 -0
- package/dist/find/findByExternalId.mjs +29 -0
- package/dist/find/findByExternalId.mjs.map +1 -0
- package/dist/find/index.d.mts +4 -0
- package/dist/find/index.mjs +3 -0
- package/dist/find/types/FindResults.d.mts +47 -0
- package/dist/find/types/FindResults.d.mts.map +1 -0
- package/dist/find/types/FindResults.mjs +39 -0
- package/dist/find/types/FindResults.mjs.map +1 -0
- package/dist/find/types/index.d.mts +2 -0
- package/dist/find/types/index.mjs +1 -0
- package/dist/genre/getMovieGenres.d.mts +36 -0
- package/dist/genre/getMovieGenres.d.mts.map +1 -0
- package/dist/genre/getMovieGenres.mjs +13 -0
- package/dist/genre/getMovieGenres.mjs.map +1 -0
- package/dist/genre/getTvGenres.d.mts +36 -0
- package/dist/genre/getTvGenres.d.mts.map +1 -0
- package/dist/genre/getTvGenres.mjs +13 -0
- package/dist/genre/getTvGenres.mjs.map +1 -0
- package/dist/genre/index.d.mts +5 -0
- package/dist/genre/index.mjs +4 -0
- package/dist/genre/types/GenreList.d.mts +15 -0
- package/dist/genre/types/GenreList.d.mts.map +1 -0
- package/dist/genre/types/GenreList.mjs +14 -0
- package/dist/genre/types/GenreList.mjs.map +1 -0
- package/dist/genre/types/index.d.mts +2 -0
- package/dist/genre/types/index.mjs +1 -0
- package/dist/index.d.mts +213 -0
- package/dist/index.mjs +192 -0
- package/dist/keyword/getKeyword.d.mts +13 -0
- package/dist/keyword/getKeyword.d.mts.map +1 -0
- package/dist/keyword/getKeyword.mjs +14 -0
- package/dist/keyword/getKeyword.mjs.map +1 -0
- package/dist/keyword/getKeywordMovies.d.mts +51 -0
- package/dist/keyword/getKeywordMovies.d.mts.map +1 -0
- package/dist/keyword/getKeywordMovies.mjs +21 -0
- package/dist/keyword/getKeywordMovies.mjs.map +1 -0
- package/dist/keyword/index.d.mts +3 -0
- package/dist/keyword/index.mjs +3 -0
- package/dist/list/getList.d.mts +44 -0
- package/dist/list/getList.d.mts.map +1 -0
- package/dist/list/getList.mjs +20 -0
- package/dist/list/getList.mjs.map +1 -0
- package/dist/list/getListItemStatus.d.mts +44 -0
- package/dist/list/getListItemStatus.d.mts.map +1 -0
- package/dist/list/getListItemStatus.mjs +20 -0
- package/dist/list/getListItemStatus.mjs.map +1 -0
- package/dist/list/index.d.mts +7 -0
- package/dist/list/index.mjs +6 -0
- package/dist/list/types/ListDetails.d.mts +29 -0
- package/dist/list/types/ListDetails.d.mts.map +1 -0
- package/dist/list/types/ListDetails.mjs +31 -0
- package/dist/list/types/ListDetails.mjs.map +1 -0
- package/dist/list/types/ListItemStatus.d.mts +15 -0
- package/dist/list/types/ListItemStatus.d.mts.map +1 -0
- package/dist/list/types/ListItemStatus.mjs +18 -0
- package/dist/list/types/ListItemStatus.mjs.map +1 -0
- package/dist/list/types/ListsContaining.d.mts +31 -0
- package/dist/list/types/ListsContaining.d.mts.map +1 -0
- package/dist/list/types/ListsContaining.mjs +32 -0
- package/dist/list/types/ListsContaining.mjs.map +1 -0
- package/dist/list/types/index.d.mts +4 -0
- package/dist/list/types/index.mjs +4 -0
- package/dist/movie/getLatestMovie.d.mts +9 -0
- package/dist/movie/getLatestMovie.d.mts.map +1 -0
- package/dist/movie/getLatestMovie.mjs +11 -0
- package/dist/movie/getLatestMovie.mjs.map +1 -0
- package/dist/movie/getMovie.d.mts +45 -0
- package/dist/movie/getMovie.d.mts.map +1 -0
- package/dist/movie/getMovie.mjs +36 -0
- package/dist/movie/getMovie.mjs.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts +38 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.mjs +19 -0
- package/dist/movie/getMovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/getMovieChangeList.d.mts +50 -0
- package/dist/movie/getMovieChangeList.d.mts.map +1 -0
- package/dist/movie/getMovieChangeList.mjs +19 -0
- package/dist/movie/getMovieChangeList.mjs.map +1 -0
- package/dist/movie/getMovieChanges.d.mts +51 -0
- package/dist/movie/getMovieChanges.d.mts.map +1 -0
- package/dist/movie/getMovieChanges.mjs +22 -0
- package/dist/movie/getMovieChanges.mjs.map +1 -0
- package/dist/movie/getMovieCredits.d.mts +37 -0
- package/dist/movie/getMovieCredits.d.mts.map +1 -0
- package/dist/movie/getMovieCredits.mjs +17 -0
- package/dist/movie/getMovieCredits.mjs.map +1 -0
- package/dist/movie/getMovieExternalIds.d.mts +13 -0
- package/dist/movie/getMovieExternalIds.d.mts.map +1 -0
- package/dist/movie/getMovieExternalIds.mjs +14 -0
- package/dist/movie/getMovieExternalIds.mjs.map +1 -0
- package/dist/movie/getMovieImages.d.mts +45 -0
- package/dist/movie/getMovieImages.d.mts.map +1 -0
- package/dist/movie/getMovieImages.mjs +21 -0
- package/dist/movie/getMovieImages.mjs.map +1 -0
- package/dist/movie/getMovieKeywords.d.mts +13 -0
- package/dist/movie/getMovieKeywords.d.mts.map +1 -0
- package/dist/movie/getMovieKeywords.mjs +13 -0
- package/dist/movie/getMovieKeywords.mjs.map +1 -0
- package/dist/movie/getMovieLists.d.mts +44 -0
- package/dist/movie/getMovieLists.d.mts.map +1 -0
- package/dist/movie/getMovieLists.mjs +20 -0
- package/dist/movie/getMovieLists.mjs.map +1 -0
- package/dist/movie/getMovieRecommendations.d.mts +44 -0
- package/dist/movie/getMovieRecommendations.d.mts.map +1 -0
- package/dist/movie/getMovieRecommendations.mjs +20 -0
- package/dist/movie/getMovieRecommendations.mjs.map +1 -0
- package/dist/movie/getMovieReleaseDates.d.mts +13 -0
- package/dist/movie/getMovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/getMovieReleaseDates.mjs +14 -0
- package/dist/movie/getMovieReleaseDates.mjs.map +1 -0
- package/dist/movie/getMovieReviews.d.mts +44 -0
- package/dist/movie/getMovieReviews.d.mts.map +1 -0
- package/dist/movie/getMovieReviews.mjs +20 -0
- package/dist/movie/getMovieReviews.mjs.map +1 -0
- package/dist/movie/getMovieTranslations.d.mts +13 -0
- package/dist/movie/getMovieTranslations.d.mts.map +1 -0
- package/dist/movie/getMovieTranslations.mjs +14 -0
- package/dist/movie/getMovieTranslations.mjs.map +1 -0
- package/dist/movie/getMovieVideos.d.mts +37 -0
- package/dist/movie/getMovieVideos.d.mts.map +1 -0
- package/dist/movie/getMovieVideos.mjs +17 -0
- package/dist/movie/getMovieVideos.mjs.map +1 -0
- package/dist/movie/getMovieWatchProviders.d.mts +13 -0
- package/dist/movie/getMovieWatchProviders.d.mts.map +1 -0
- package/dist/movie/getMovieWatchProviders.mjs +14 -0
- package/dist/movie/getMovieWatchProviders.mjs.map +1 -0
- package/dist/movie/getNowPlayingMovies.d.mts +51 -0
- package/dist/movie/getNowPlayingMovies.d.mts.map +1 -0
- package/dist/movie/getNowPlayingMovies.mjs +19 -0
- package/dist/movie/getNowPlayingMovies.mjs.map +1 -0
- package/dist/movie/getPopularMovies.d.mts +51 -0
- package/dist/movie/getPopularMovies.d.mts.map +1 -0
- package/dist/movie/getPopularMovies.mjs +19 -0
- package/dist/movie/getPopularMovies.mjs.map +1 -0
- package/dist/movie/getSimilarMovies.d.mts +44 -0
- package/dist/movie/getSimilarMovies.d.mts.map +1 -0
- package/dist/movie/getSimilarMovies.mjs +20 -0
- package/dist/movie/getSimilarMovies.mjs.map +1 -0
- package/dist/movie/getTopRatedMovies.d.mts +51 -0
- package/dist/movie/getTopRatedMovies.d.mts.map +1 -0
- package/dist/movie/getTopRatedMovies.mjs +19 -0
- package/dist/movie/getTopRatedMovies.mjs.map +1 -0
- package/dist/movie/getUpcomingMovies.d.mts +51 -0
- package/dist/movie/getUpcomingMovies.d.mts.map +1 -0
- package/dist/movie/getUpcomingMovies.mjs +19 -0
- package/dist/movie/getUpcomingMovies.mjs.map +1 -0
- package/dist/movie/index.d.mts +31 -0
- package/dist/movie/index.mjs +30 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts +20 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs +23 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/types/MovieCredits.d.mts +39 -0
- package/dist/movie/types/MovieCredits.d.mts.map +1 -0
- package/dist/movie/types/MovieCredits.mjs +30 -0
- package/dist/movie/types/MovieCredits.mjs.map +1 -0
- package/dist/movie/types/MovieDetails.d.mts +145 -0
- package/dist/movie/types/MovieDetails.d.mts.map +1 -0
- package/dist/movie/types/MovieDetails.mjs +94 -0
- package/dist/movie/types/MovieDetails.mjs.map +1 -0
- package/dist/movie/types/MovieExternalIds.d.mts +19 -0
- package/dist/movie/types/MovieExternalIds.d.mts.map +1 -0
- package/dist/movie/types/MovieExternalIds.mjs +22 -0
- package/dist/movie/types/MovieExternalIds.mjs.map +1 -0
- package/dist/movie/types/MovieKeywords.d.mts +16 -0
- package/dist/movie/types/MovieKeywords.d.mts.map +1 -0
- package/dist/movie/types/MovieKeywords.mjs +18 -0
- package/dist/movie/types/MovieKeywords.mjs.map +1 -0
- package/dist/movie/types/MovieListItem.d.mts +116 -0
- package/dist/movie/types/MovieListItem.d.mts.map +1 -0
- package/dist/movie/types/MovieListItem.mjs +57 -0
- package/dist/movie/types/MovieListItem.mjs.map +1 -0
- package/dist/movie/types/MovieReleaseDates.d.mts +36 -0
- package/dist/movie/types/MovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/types/MovieReleaseDates.mjs +45 -0
- package/dist/movie/types/MovieReleaseDates.mjs.map +1 -0
- package/dist/movie/types/MovieTranslations.d.mts +20 -0
- package/dist/movie/types/MovieTranslations.d.mts.map +1 -0
- package/dist/movie/types/MovieTranslations.mjs +22 -0
- package/dist/movie/types/MovieTranslations.mjs.map +1 -0
- package/dist/movie/types/index.d.mts +9 -0
- package/dist/movie/types/index.mjs +9 -0
- package/dist/network/getNetwork.d.mts +13 -0
- package/dist/network/getNetwork.d.mts.map +1 -0
- package/dist/network/getNetwork.mjs +14 -0
- package/dist/network/getNetwork.mjs.map +1 -0
- package/dist/network/getNetworkAlternativeNames.d.mts +13 -0
- package/dist/network/getNetworkAlternativeNames.d.mts.map +1 -0
- package/dist/network/getNetworkAlternativeNames.mjs +14 -0
- package/dist/network/getNetworkAlternativeNames.mjs.map +1 -0
- package/dist/network/getNetworkImages.d.mts +13 -0
- package/dist/network/getNetworkImages.d.mts.map +1 -0
- package/dist/network/getNetworkImages.mjs +14 -0
- package/dist/network/getNetworkImages.mjs.map +1 -0
- package/dist/network/index.d.mts +6 -0
- package/dist/network/index.mjs +5 -0
- package/dist/network/types/NetworkDetails.d.mts +19 -0
- package/dist/network/types/NetworkDetails.d.mts.map +1 -0
- package/dist/network/types/NetworkDetails.mjs +22 -0
- package/dist/network/types/NetworkDetails.mjs.map +1 -0
- package/dist/network/types/index.d.mts +2 -0
- package/dist/network/types/index.mjs +1 -0
- package/dist/person/getLatestPerson.d.mts +9 -0
- package/dist/person/getLatestPerson.d.mts.map +1 -0
- package/dist/person/getLatestPerson.mjs +11 -0
- package/dist/person/getLatestPerson.mjs.map +1 -0
- package/dist/person/getPerson.d.mts +45 -0
- package/dist/person/getPerson.d.mts.map +1 -0
- package/dist/person/getPerson.mjs +30 -0
- package/dist/person/getPerson.mjs.map +1 -0
- package/dist/person/getPersonChangeList.d.mts +50 -0
- package/dist/person/getPersonChangeList.d.mts.map +1 -0
- package/dist/person/getPersonChangeList.mjs +19 -0
- package/dist/person/getPersonChangeList.mjs.map +1 -0
- package/dist/person/getPersonChanges.d.mts +51 -0
- package/dist/person/getPersonChanges.d.mts.map +1 -0
- package/dist/person/getPersonChanges.mjs +22 -0
- package/dist/person/getPersonChanges.mjs.map +1 -0
- package/dist/person/getPersonCombinedCredits.d.mts +37 -0
- package/dist/person/getPersonCombinedCredits.d.mts.map +1 -0
- package/dist/person/getPersonCombinedCredits.mjs +16 -0
- package/dist/person/getPersonCombinedCredits.mjs.map +1 -0
- package/dist/person/getPersonExternalIds.d.mts +13 -0
- package/dist/person/getPersonExternalIds.d.mts.map +1 -0
- package/dist/person/getPersonExternalIds.mjs +14 -0
- package/dist/person/getPersonExternalIds.mjs.map +1 -0
- package/dist/person/getPersonImages.d.mts +13 -0
- package/dist/person/getPersonImages.d.mts.map +1 -0
- package/dist/person/getPersonImages.mjs +14 -0
- package/dist/person/getPersonImages.mjs.map +1 -0
- package/dist/person/getPersonMovieCredits.d.mts +37 -0
- package/dist/person/getPersonMovieCredits.d.mts.map +1 -0
- package/dist/person/getPersonMovieCredits.mjs +17 -0
- package/dist/person/getPersonMovieCredits.mjs.map +1 -0
- package/dist/person/getPersonTaggedImages.d.mts +37 -0
- package/dist/person/getPersonTaggedImages.d.mts.map +1 -0
- package/dist/person/getPersonTaggedImages.mjs +17 -0
- package/dist/person/getPersonTaggedImages.mjs.map +1 -0
- package/dist/person/getPersonTranslations.d.mts +13 -0
- package/dist/person/getPersonTranslations.d.mts.map +1 -0
- package/dist/person/getPersonTranslations.mjs +14 -0
- package/dist/person/getPersonTranslations.mjs.map +1 -0
- package/dist/person/getPersonTvCredits.d.mts +37 -0
- package/dist/person/getPersonTvCredits.d.mts.map +1 -0
- package/dist/person/getPersonTvCredits.mjs +17 -0
- package/dist/person/getPersonTvCredits.mjs.map +1 -0
- package/dist/person/getPopularPeople.d.mts +43 -0
- package/dist/person/getPopularPeople.d.mts.map +1 -0
- package/dist/person/getPopularPeople.mjs +17 -0
- package/dist/person/getPopularPeople.mjs.map +1 -0
- package/dist/person/index.d.mts +20 -0
- package/dist/person/index.mjs +19 -0
- package/dist/person/types/PersonCredits.d.mts +127 -0
- package/dist/person/types/PersonCredits.d.mts.map +1 -0
- package/dist/person/types/PersonCredits.mjs +81 -0
- package/dist/person/types/PersonCredits.mjs.map +1 -0
- package/dist/person/types/PersonDetails.d.mts +78 -0
- package/dist/person/types/PersonDetails.d.mts.map +1 -0
- package/dist/person/types/PersonDetails.mjs +55 -0
- package/dist/person/types/PersonDetails.mjs.map +1 -0
- package/dist/person/types/PersonExternalIds.d.mts +26 -0
- package/dist/person/types/PersonExternalIds.d.mts.map +1 -0
- package/dist/person/types/PersonExternalIds.mjs +30 -0
- package/dist/person/types/PersonExternalIds.mjs.map +1 -0
- package/dist/person/types/PersonListItem.d.mts +75 -0
- package/dist/person/types/PersonListItem.d.mts.map +1 -0
- package/dist/person/types/PersonListItem.mjs +46 -0
- package/dist/person/types/PersonListItem.mjs.map +1 -0
- package/dist/person/types/PersonTranslations.d.mts +18 -0
- package/dist/person/types/PersonTranslations.d.mts.map +1 -0
- package/dist/person/types/PersonTranslations.mjs +19 -0
- package/dist/person/types/PersonTranslations.mjs.map +1 -0
- package/dist/person/types/TaggedImages.d.mts +36 -0
- package/dist/person/types/TaggedImages.d.mts.map +1 -0
- package/dist/person/types/TaggedImages.mjs +31 -0
- package/dist/person/types/TaggedImages.mjs.map +1 -0
- package/dist/person/types/index.d.mts +7 -0
- package/dist/person/types/index.mjs +7 -0
- package/dist/requests/TmdbSession.d.mts +91 -0
- package/dist/requests/TmdbSession.d.mts.map +1 -0
- package/dist/requests/TmdbSession.mjs +203 -0
- package/dist/requests/TmdbSession.mjs.map +1 -0
- package/dist/requests/addParams.d.mts +15 -0
- package/dist/requests/addParams.d.mts.map +1 -0
- package/dist/requests/addParams.mjs +27 -0
- package/dist/requests/addParams.mjs.map +1 -0
- package/dist/requests/buildURL.d.mts +11 -0
- package/dist/requests/buildURL.d.mts.map +1 -0
- package/dist/requests/buildURL.mjs +15 -0
- package/dist/requests/buildURL.mjs.map +1 -0
- package/dist/requests/index.d.mts +7 -0
- package/dist/requests/index.mjs +7 -0
- package/dist/requests/methods.d.mts +22 -0
- package/dist/requests/methods.d.mts.map +1 -0
- package/dist/requests/methods.mjs +16 -0
- package/dist/requests/methods.mjs.map +1 -0
- package/dist/requests/request.d.mts +28 -0
- package/dist/requests/request.d.mts.map +1 -0
- package/dist/requests/request.mjs +62 -0
- package/dist/requests/request.mjs.map +1 -0
- package/dist/requests/toValidated.d.mts +11 -0
- package/dist/requests/toValidated.d.mts.map +1 -0
- package/dist/requests/toValidated.mjs +24 -0
- package/dist/requests/toValidated.mjs.map +1 -0
- package/dist/review/getReview.d.mts +13 -0
- package/dist/review/getReview.d.mts.map +1 -0
- package/dist/review/getReview.mjs +13 -0
- package/dist/review/getReview.mjs.map +1 -0
- package/dist/review/index.d.mts +4 -0
- package/dist/review/index.mjs +3 -0
- package/dist/review/types/Review.d.mts +79 -0
- package/dist/review/types/Review.d.mts.map +1 -0
- package/dist/review/types/Review.mjs +49 -0
- package/dist/review/types/Review.mjs.map +1 -0
- package/dist/review/types/index.d.mts +2 -0
- package/dist/review/types/index.mjs +1 -0
- package/dist/search/index.d.mts +8 -0
- package/dist/search/index.mjs +8 -0
- package/dist/search/searchCollections.d.mts +58 -0
- package/dist/search/searchCollections.d.mts.map +1 -0
- package/dist/search/searchCollections.mjs +25 -0
- package/dist/search/searchCollections.mjs.map +1 -0
- package/dist/search/searchCompanies.d.mts +37 -0
- package/dist/search/searchCompanies.d.mts.map +1 -0
- package/dist/search/searchCompanies.mjs +20 -0
- package/dist/search/searchCompanies.mjs.map +1 -0
- package/dist/search/searchKeywords.d.mts +37 -0
- package/dist/search/searchKeywords.d.mts.map +1 -0
- package/dist/search/searchKeywords.mjs +20 -0
- package/dist/search/searchKeywords.mjs.map +1 -0
- package/dist/search/searchMovies.d.mts +73 -0
- package/dist/search/searchMovies.d.mts.map +1 -0
- package/dist/search/searchMovies.mjs +28 -0
- package/dist/search/searchMovies.mjs.map +1 -0
- package/dist/search/searchMulti.d.mts +51 -0
- package/dist/search/searchMulti.d.mts.map +1 -0
- package/dist/search/searchMulti.mjs +24 -0
- package/dist/search/searchMulti.mjs.map +1 -0
- package/dist/search/searchPeople.d.mts +51 -0
- package/dist/search/searchPeople.d.mts.map +1 -0
- package/dist/search/searchPeople.mjs +24 -0
- package/dist/search/searchPeople.mjs.map +1 -0
- package/dist/search/searchTvSeries.d.mts +67 -0
- package/dist/search/searchTvSeries.d.mts.map +1 -0
- package/dist/search/searchTvSeries.mjs +28 -0
- package/dist/search/searchTvSeries.mjs.map +1 -0
- package/dist/trending/getTrending.d.mts +38 -0
- package/dist/trending/getTrending.d.mts.map +1 -0
- package/dist/trending/getTrending.mjs +18 -0
- package/dist/trending/getTrending.mjs.map +1 -0
- package/dist/trending/getTrendingMovies.d.mts +38 -0
- package/dist/trending/getTrendingMovies.d.mts.map +1 -0
- package/dist/trending/getTrendingMovies.mjs +18 -0
- package/dist/trending/getTrendingMovies.mjs.map +1 -0
- package/dist/trending/getTrendingPeople.d.mts +38 -0
- package/dist/trending/getTrendingPeople.d.mts.map +1 -0
- package/dist/trending/getTrendingPeople.mjs +18 -0
- package/dist/trending/getTrendingPeople.mjs.map +1 -0
- package/dist/trending/getTrendingTvSeries.d.mts +38 -0
- package/dist/trending/getTrendingTvSeries.d.mts.map +1 -0
- package/dist/trending/getTrendingTvSeries.mjs +18 -0
- package/dist/trending/getTrendingTvSeries.mjs.map +1 -0
- package/dist/trending/index.d.mts +5 -0
- package/dist/trending/index.mjs +5 -0
- package/dist/tv/getLatestTvSeries.d.mts +9 -0
- package/dist/tv/getLatestTvSeries.d.mts.map +1 -0
- package/dist/tv/getLatestTvSeries.mjs +11 -0
- package/dist/tv/getLatestTvSeries.mjs.map +1 -0
- package/dist/tv/getPopularTvSeries.d.mts +43 -0
- package/dist/tv/getPopularTvSeries.d.mts.map +1 -0
- package/dist/tv/getPopularTvSeries.mjs +17 -0
- package/dist/tv/getPopularTvSeries.mjs.map +1 -0
- package/dist/tv/getSimilarTvSeries.d.mts +44 -0
- package/dist/tv/getSimilarTvSeries.d.mts.map +1 -0
- package/dist/tv/getSimilarTvSeries.mjs +20 -0
- package/dist/tv/getSimilarTvSeries.mjs.map +1 -0
- package/dist/tv/getTopRatedTvSeries.d.mts +43 -0
- package/dist/tv/getTopRatedTvSeries.d.mts.map +1 -0
- package/dist/tv/getTopRatedTvSeries.mjs +17 -0
- package/dist/tv/getTopRatedTvSeries.mjs.map +1 -0
- package/dist/tv/getTvChangeList.d.mts +50 -0
- package/dist/tv/getTvChangeList.d.mts.map +1 -0
- package/dist/tv/getTvChangeList.mjs +19 -0
- package/dist/tv/getTvChangeList.mjs.map +1 -0
- package/dist/tv/getTvEpisode.d.mts +47 -0
- package/dist/tv/getTvEpisode.d.mts.map +1 -0
- package/dist/tv/getTvEpisode.mjs +29 -0
- package/dist/tv/getTvEpisode.mjs.map +1 -0
- package/dist/tv/getTvEpisodeChanges.d.mts +13 -0
- package/dist/tv/getTvEpisodeChanges.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeChanges.mjs +14 -0
- package/dist/tv/getTvEpisodeChanges.mjs.map +1 -0
- package/dist/tv/getTvEpisodeCredits.d.mts +39 -0
- package/dist/tv/getTvEpisodeCredits.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeCredits.mjs +19 -0
- package/dist/tv/getTvEpisodeCredits.mjs.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts +15 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs +18 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs.map +1 -0
- package/dist/tv/getTvEpisodeGroup.d.mts +13 -0
- package/dist/tv/getTvEpisodeGroup.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeGroup.mjs +13 -0
- package/dist/tv/getTvEpisodeGroup.mjs.map +1 -0
- package/dist/tv/getTvEpisodeImages.d.mts +47 -0
- package/dist/tv/getTvEpisodeImages.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeImages.mjs +23 -0
- package/dist/tv/getTvEpisodeImages.mjs.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts +15 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.mjs +18 -0
- package/dist/tv/getTvEpisodeTranslations.mjs.map +1 -0
- package/dist/tv/getTvEpisodeVideos.d.mts +47 -0
- package/dist/tv/getTvEpisodeVideos.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeVideos.mjs +23 -0
- package/dist/tv/getTvEpisodeVideos.mjs.map +1 -0
- package/dist/tv/getTvSeason.d.mts +46 -0
- package/dist/tv/getTvSeason.d.mts.map +1 -0
- package/dist/tv/getTvSeason.mjs +30 -0
- package/dist/tv/getTvSeason.mjs.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs +18 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonChanges.d.mts +51 -0
- package/dist/tv/getTvSeasonChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeasonChanges.mjs +21 -0
- package/dist/tv/getTvSeasonChanges.mjs.map +1 -0
- package/dist/tv/getTvSeasonCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonCredits.mjs +18 -0
- package/dist/tv/getTvSeasonCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts +14 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.mjs +17 -0
- package/dist/tv/getTvSeasonExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeasonImages.d.mts +46 -0
- package/dist/tv/getTvSeasonImages.d.mts.map +1 -0
- package/dist/tv/getTvSeasonImages.mjs +22 -0
- package/dist/tv/getTvSeasonImages.mjs.map +1 -0
- package/dist/tv/getTvSeasonTranslations.d.mts +14 -0
- package/dist/tv/getTvSeasonTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeasonTranslations.mjs +17 -0
- package/dist/tv/getTvSeasonTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeasonVideos.d.mts +46 -0
- package/dist/tv/getTvSeasonVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeasonVideos.mjs +22 -0
- package/dist/tv/getTvSeasonVideos.mjs.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts +38 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs +18 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs.map +1 -0
- package/dist/tv/getTvSeries.d.mts +45 -0
- package/dist/tv/getTvSeries.d.mts.map +1 -0
- package/dist/tv/getTvSeries.mjs +39 -0
- package/dist/tv/getTvSeries.mjs.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs +17 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts +50 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.mjs +18 -0
- package/dist/tv/getTvSeriesAiringToday.mjs.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts +13 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs +14 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs.map +1 -0
- package/dist/tv/getTvSeriesChanges.d.mts +51 -0
- package/dist/tv/getTvSeriesChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeriesChanges.mjs +21 -0
- package/dist/tv/getTvSeriesChanges.mjs.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts +13 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.mjs +14 -0
- package/dist/tv/getTvSeriesContentRatings.mjs.map +1 -0
- package/dist/tv/getTvSeriesCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesCredits.mjs +17 -0
- package/dist/tv/getTvSeriesCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts +13 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs +14 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts +13 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.mjs +14 -0
- package/dist/tv/getTvSeriesExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeriesImages.d.mts +45 -0
- package/dist/tv/getTvSeriesImages.d.mts.map +1 -0
- package/dist/tv/getTvSeriesImages.mjs +21 -0
- package/dist/tv/getTvSeriesImages.mjs.map +1 -0
- package/dist/tv/getTvSeriesKeywords.d.mts +13 -0
- package/dist/tv/getTvSeriesKeywords.d.mts.map +1 -0
- package/dist/tv/getTvSeriesKeywords.mjs +14 -0
- package/dist/tv/getTvSeriesKeywords.mjs.map +1 -0
- package/dist/tv/getTvSeriesLists.d.mts +44 -0
- package/dist/tv/getTvSeriesLists.d.mts.map +1 -0
- package/dist/tv/getTvSeriesLists.mjs +20 -0
- package/dist/tv/getTvSeriesLists.mjs.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts +50 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs +18 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts +44 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.mjs +20 -0
- package/dist/tv/getTvSeriesRecommendations.mjs.map +1 -0
- package/dist/tv/getTvSeriesReviews.d.mts +44 -0
- package/dist/tv/getTvSeriesReviews.d.mts.map +1 -0
- package/dist/tv/getTvSeriesReviews.mjs +20 -0
- package/dist/tv/getTvSeriesReviews.mjs.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts +13 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs +14 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/getTvSeriesTranslations.d.mts +13 -0
- package/dist/tv/getTvSeriesTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesTranslations.mjs +14 -0
- package/dist/tv/getTvSeriesTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeriesVideos.d.mts +45 -0
- package/dist/tv/getTvSeriesVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeriesVideos.mjs +21 -0
- package/dist/tv/getTvSeriesVideos.mjs.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts +13 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs +14 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs.map +1 -0
- package/dist/tv/index.d.mts +57 -0
- package/dist/tv/index.mjs +56 -0
- package/dist/tv/types/AggregateCredits.d.mts +53 -0
- package/dist/tv/types/AggregateCredits.d.mts.map +1 -0
- package/dist/tv/types/AggregateCredits.mjs +41 -0
- package/dist/tv/types/AggregateCredits.mjs.map +1 -0
- package/dist/tv/types/ContentRatings.d.mts +21 -0
- package/dist/tv/types/ContentRatings.d.mts.map +1 -0
- package/dist/tv/types/ContentRatings.mjs +24 -0
- package/dist/tv/types/ContentRatings.mjs.map +1 -0
- package/dist/tv/types/EpisodeGroups.d.mts +64 -0
- package/dist/tv/types/EpisodeGroups.d.mts.map +1 -0
- package/dist/tv/types/EpisodeGroups.mjs +52 -0
- package/dist/tv/types/EpisodeGroups.mjs.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts +19 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.mjs +22 -0
- package/dist/tv/types/ScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts +20 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.mjs +23 -0
- package/dist/tv/types/TvAlternativeTitles.mjs.map +1 -0
- package/dist/tv/types/TvCredits.d.mts +26 -0
- package/dist/tv/types/TvCredits.d.mts.map +1 -0
- package/dist/tv/types/TvCredits.mjs +27 -0
- package/dist/tv/types/TvCredits.mjs.map +1 -0
- package/dist/tv/types/TvEpisode.d.mts +48 -0
- package/dist/tv/types/TvEpisode.d.mts.map +1 -0
- package/dist/tv/types/TvEpisode.mjs +36 -0
- package/dist/tv/types/TvEpisode.mjs.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts +62 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.mjs +36 -0
- package/dist/tv/types/TvEpisodeDetails.mjs.map +1 -0
- package/dist/tv/types/TvExternalIds.d.mts +47 -0
- package/dist/tv/types/TvExternalIds.d.mts.map +1 -0
- package/dist/tv/types/TvExternalIds.mjs +50 -0
- package/dist/tv/types/TvExternalIds.mjs.map +1 -0
- package/dist/tv/types/TvKeywords.d.mts +16 -0
- package/dist/tv/types/TvKeywords.d.mts.map +1 -0
- package/dist/tv/types/TvKeywords.mjs +18 -0
- package/dist/tv/types/TvKeywords.mjs.map +1 -0
- package/dist/tv/types/TvListItem.d.mts +106 -0
- package/dist/tv/types/TvListItem.d.mts.map +1 -0
- package/dist/tv/types/TvListItem.mjs +47 -0
- package/dist/tv/types/TvListItem.mjs.map +1 -0
- package/dist/tv/types/TvSeasonDetails.d.mts +99 -0
- package/dist/tv/types/TvSeasonDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeasonDetails.mjs +57 -0
- package/dist/tv/types/TvSeasonDetails.mjs.map +1 -0
- package/dist/tv/types/TvSeriesDetails.d.mts +193 -0
- package/dist/tv/types/TvSeriesDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeriesDetails.mjs +120 -0
- package/dist/tv/types/TvSeriesDetails.mjs.map +1 -0
- package/dist/tv/types/TvTranslations.d.mts +26 -0
- package/dist/tv/types/TvTranslations.d.mts.map +1 -0
- package/dist/tv/types/TvTranslations.mjs +25 -0
- package/dist/tv/types/TvTranslations.mjs.map +1 -0
- package/dist/tv/types/index.d.mts +15 -0
- package/dist/tv/types/index.mjs +15 -0
- package/dist/types/AlternativeNames.d.mts +18 -0
- package/dist/types/AlternativeNames.d.mts.map +1 -0
- package/dist/types/AlternativeNames.mjs +21 -0
- package/dist/types/AlternativeNames.mjs.map +1 -0
- package/dist/types/ChangeList.d.mts +17 -0
- package/dist/types/ChangeList.d.mts.map +1 -0
- package/dist/types/ChangeList.mjs +19 -0
- package/dist/types/ChangeList.mjs.map +1 -0
- package/dist/types/Changes.d.mts +46 -0
- package/dist/types/Changes.d.mts.map +1 -0
- package/dist/types/Changes.mjs +32 -0
- package/dist/types/Changes.mjs.map +1 -0
- package/dist/types/Credit.d.mts +89 -0
- package/dist/types/Credit.d.mts.map +1 -0
- package/dist/types/Credit.mjs +47 -0
- package/dist/types/Credit.mjs.map +1 -0
- package/dist/types/Genre.d.mts +18 -0
- package/dist/types/Genre.d.mts.map +1 -0
- package/dist/types/Genre.mjs +18 -0
- package/dist/types/Genre.mjs.map +1 -0
- package/dist/types/Images.d.mts +99 -0
- package/dist/types/Images.d.mts.map +1 -0
- package/dist/types/Images.mjs +75 -0
- package/dist/types/Images.mjs.map +1 -0
- package/dist/types/Keyword.d.mts +22 -0
- package/dist/types/Keyword.d.mts.map +1 -0
- package/dist/types/Keyword.mjs +21 -0
- package/dist/types/Keyword.mjs.map +1 -0
- package/dist/types/MediaListItem.d.mts +15 -0
- package/dist/types/MediaListItem.d.mts.map +1 -0
- package/dist/types/MediaListItem.mjs +21 -0
- package/dist/types/MediaListItem.mjs.map +1 -0
- package/dist/types/PagedResults.d.mts +26 -0
- package/dist/types/PagedResults.d.mts.map +1 -0
- package/dist/types/PagedResults.mjs +22 -0
- package/dist/types/PagedResults.mjs.map +1 -0
- package/dist/types/ProductionCompany.d.mts +24 -0
- package/dist/types/ProductionCompany.d.mts.map +1 -0
- package/dist/types/ProductionCompany.mjs +21 -0
- package/dist/types/ProductionCompany.mjs.map +1 -0
- package/dist/types/ProductionCountry.d.mts +20 -0
- package/dist/types/ProductionCountry.d.mts.map +1 -0
- package/dist/types/ProductionCountry.mjs +18 -0
- package/dist/types/ProductionCountry.mjs.map +1 -0
- package/dist/types/SpokenLanguage.d.mts +24 -0
- package/dist/types/SpokenLanguage.d.mts.map +1 -0
- package/dist/types/SpokenLanguage.mjs +20 -0
- package/dist/types/SpokenLanguage.mjs.map +1 -0
- package/dist/types/Translation.d.mts +27 -0
- package/dist/types/Translation.d.mts.map +1 -0
- package/dist/types/Translation.mjs +30 -0
- package/dist/types/Translation.mjs.map +1 -0
- package/dist/types/Video.d.mts +51 -0
- package/dist/types/Video.d.mts.map +1 -0
- package/dist/types/Video.mjs +37 -0
- package/dist/types/Video.mjs.map +1 -0
- package/dist/types/index.d.mts +15 -0
- package/dist/types/index.mjs +15 -0
- package/dist/utils/isNonNullable.d.mts +8 -0
- package/dist/utils/isNonNullable.d.mts.map +1 -0
- package/dist/utils/isNonNullable.mjs +10 -0
- package/dist/utils/isNonNullable.mjs.map +1 -0
- package/dist/utils/isObject.d.mts +2 -0
- package/dist/utils/isObject.d.mts.map +1 -0
- package/dist/utils/isObject.mjs +5 -0
- package/dist/utils/isObject.mjs.map +1 -0
- package/dist/utils/sleep.d.mts +5 -0
- package/dist/utils/sleep.d.mts.map +1 -0
- package/dist/utils/sleep.mjs +29 -0
- package/dist/utils/sleep.mjs.map +1 -0
- package/dist/utils/toCamelCase.d.mts +8 -0
- package/dist/utils/toCamelCase.d.mts.map +1 -0
- package/dist/utils/toCamelCase.mjs +11 -0
- package/dist/utils/toCamelCase.mjs.map +1 -0
- package/dist/utils/toCamelKeys.d.mts +17 -0
- package/dist/utils/toCamelKeys.d.mts.map +1 -0
- package/dist/utils/toCamelKeys.mjs +18 -0
- package/dist/utils/toCamelKeys.mjs.map +1 -0
- package/dist/utils/toSnakeCase.d.mts +2 -0
- package/dist/utils/toSnakeCase.d.mts.map +1 -0
- package/dist/utils/toSnakeCase.mjs +5 -0
- package/dist/utils/toSnakeCase.mjs.map +1 -0
- package/dist/utils/toSnakeKeys.d.mts +21 -0
- package/dist/utils/toSnakeKeys.d.mts.map +1 -0
- package/dist/utils/toSnakeKeys.mjs +18 -0
- package/dist/utils/toSnakeKeys.mjs.map +1 -0
- package/dist/validations/index.d.mts +4 -0
- package/dist/validations/index.mjs +4 -0
- package/dist/validations/integer.d.mts +8 -0
- package/dist/validations/integer.d.mts.map +1 -0
- package/dist/validations/integer.mjs +11 -0
- package/dist/validations/integer.mjs.map +1 -0
- package/dist/validations/isoDate.d.mts +4 -0
- package/dist/validations/isoDate.d.mts.map +1 -0
- package/dist/validations/isoDate.mjs +7 -0
- package/dist/validations/isoDate.mjs.map +1 -0
- package/dist/validations/schema.d.mts +96 -0
- package/dist/validations/schema.d.mts.map +1 -0
- package/dist/validations/schema.mjs +118 -0
- package/dist/validations/schema.mjs.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts +36 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs +13 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs.map +1 -0
- package/dist/watch-providers/index.d.mts +8 -0
- package/dist/watch-providers/index.mjs +7 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts +22 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderList.mjs +22 -0
- package/dist/watch-providers/types/WatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts +15 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs +14 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviders.d.mts +33 -0
- package/dist/watch-providers/types/WatchProviders.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviders.mjs +35 -0
- package/dist/watch-providers/types/WatchProviders.mjs.map +1 -0
- package/dist/watch-providers/types/index.d.mts +4 -0
- package/dist/watch-providers/types/index.mjs +4 -0
- package/package.json +39 -3
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { productionCompanySchema } from "../../types/ProductionCompany.mjs";
|
|
4
|
+
import { tvEpisodeEntries } from "./TvEpisode.mjs";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
// src/tv/types/EpisodeGroups.ts
|
|
7
|
+
/** The fields an episode group has both in a series' list and on its own. */
|
|
8
|
+
const episodeGroupEntries = {
|
|
9
|
+
id: v.string(),
|
|
10
|
+
name: v.string(),
|
|
11
|
+
/** `""` when the group has none. */
|
|
12
|
+
description: v.string(),
|
|
13
|
+
episodeCount: integer,
|
|
14
|
+
groupCount: integer,
|
|
15
|
+
/** The kind of ordering, as an integer code. TMDB doesn't document the codes (its example uses `1` for an "Aired Order" group). */
|
|
16
|
+
type: integer
|
|
17
|
+
};
|
|
18
|
+
const _episodeGroupsSchema = v.object({
|
|
19
|
+
id: integer,
|
|
20
|
+
results: v.array(v.object({
|
|
21
|
+
...episodeGroupEntries,
|
|
22
|
+
network: v.nullable(productionCompanySchema)
|
|
23
|
+
}))
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* ### Episode Groups
|
|
27
|
+
*
|
|
28
|
+
* The alternative orderings of a TV series' episodes (DVD order, story arcs, …) that TMDB users have built (`getTvSeriesEpisodeGroups`).
|
|
29
|
+
*/
|
|
30
|
+
const episodeGroupsSchema = schema(_episodeGroupsSchema);
|
|
31
|
+
const _episodeGroupDetailsSchema = v.object({
|
|
32
|
+
...episodeGroupEntries,
|
|
33
|
+
/** In the series' list this is the network object; here TMDB returned only its id (2026-10-28). Both are accepted. */
|
|
34
|
+
network: v.nullable(v.union([integer, productionCompanySchema])),
|
|
35
|
+
groups: v.array(v.object({
|
|
36
|
+
id: v.string(),
|
|
37
|
+
name: v.string(),
|
|
38
|
+
order: integer,
|
|
39
|
+
locked: v.boolean(),
|
|
40
|
+
episodes: v.array(v.object({
|
|
41
|
+
...tvEpisodeEntries,
|
|
42
|
+
showId: integer,
|
|
43
|
+
/** The episode's position within the group. */
|
|
44
|
+
order: integer
|
|
45
|
+
}))
|
|
46
|
+
}))
|
|
47
|
+
});
|
|
48
|
+
/** One episode group with its groups and their episodes (`getTvEpisodeGroup`). */
|
|
49
|
+
const episodeGroupDetailsSchema = schema(_episodeGroupDetailsSchema);
|
|
50
|
+
export { episodeGroupDetailsSchema, episodeGroupsSchema };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=EpisodeGroups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EpisodeGroups.mjs","names":[],"sources":["../../../src/tv/types/EpisodeGroups.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { productionCompanySchema } from \"../../types/ProductionCompany.js\";\nimport { tvEpisodeEntries } from \"./TvEpisode.js\";\n\n/** The fields an episode group has both in a series' list and on its own. */\nconst episodeGroupEntries = {\n id: v.string(),\n name: v.string(),\n /** `\"\"` when the group has none. */\n description: v.string(),\n episodeCount: integer,\n groupCount: integer,\n /** The kind of ordering, as an integer code. TMDB doesn't document the codes (its example uses `1` for an \"Aired Order\" group). */\n type: integer\n} as const;\n\nconst _episodeGroupsSchema = v.object({\n id: integer,\n results: v.array(\n v.object({\n ...episodeGroupEntries,\n network: v.nullable(productionCompanySchema)\n })\n )\n});\n\nexport interface EpisodeGroups extends v.InferOutput<\n typeof _episodeGroupsSchema\n> {}\n\n/**\n * ### Episode Groups\n *\n * The alternative orderings of a TV series' episodes (DVD order, story arcs, …) that TMDB users have built (`getTvSeriesEpisodeGroups`).\n */\nexport const episodeGroupsSchema = schema<EpisodeGroups>(_episodeGroupsSchema);\n\nconst _episodeGroupDetailsSchema = v.object({\n ...episodeGroupEntries,\n /** In the series' list this is the network object; here TMDB returned only its id (2026-10-28). Both are accepted. */\n network: v.nullable(v.union([integer, productionCompanySchema])),\n groups: v.array(\n v.object({\n id: v.string(),\n name: v.string(),\n order: integer,\n locked: v.boolean(),\n episodes: v.array(\n v.object({\n ...tvEpisodeEntries,\n showId: integer,\n /** The episode's position within the group. */\n order: integer\n })\n )\n })\n )\n});\n\nexport interface EpisodeGroupDetails extends v.InferOutput<\n typeof _episodeGroupDetailsSchema\n> {}\n\n/** One episode group with its groups and their episodes (`getTvEpisodeGroup`). */\nexport const episodeGroupDetailsSchema = schema<EpisodeGroupDetails>(\n _episodeGroupDetailsSchema\n);\n"],"mappings":";;;;;;;AAOA,MAAM,sBAAsB;CAC1B,IAAI,EAAE,OAAO;CACb,MAAM,EAAE,OAAO;;CAEf,aAAa,EAAE,OAAO;CACtB,cAAc;CACd,YAAY;;CAEZ,MAAM;AACR;AAEA,MAAM,uBAAuB,EAAE,OAAO;CACpC,IAAI;CACJ,SAAS,EAAE,MACT,EAAE,OAAO;EACP,GAAG;EACH,SAAS,EAAE,SAAS,uBAAuB;CAC7C,CAAC,CACH;AACF,CAAC;;;;;;AAWD,MAAa,sBAAsB,OAAsB,oBAAoB;AAE7E,MAAM,6BAA6B,EAAE,OAAO;CAC1C,GAAG;;CAEH,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,uBAAuB,CAAC,CAAC;CAC/D,QAAQ,EAAE,MACR,EAAE,OAAO;EACP,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO;EACf,OAAO;EACP,QAAQ,EAAE,QAAQ;EAClB,UAAU,EAAE,MACV,EAAE,OAAO;GACP,GAAG;GACH,QAAQ;;GAER,OAAO;EACT,CAAC,CACH;CACF,CAAC,CACH;AACF,CAAC;;AAOD,MAAa,4BAA4B,OACvC,0BACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _screenedTheatricallySchema: v.ObjectSchema<{
|
|
3
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
4
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
5
|
+
/** The episode's id. */
|
|
6
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
9
|
+
}, undefined>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
export interface ScreenedTheatrically extends v.InferOutput<typeof _screenedTheatricallySchema> {}
|
|
12
|
+
/**
|
|
13
|
+
* ### Screened Theatrically
|
|
14
|
+
*
|
|
15
|
+
* The episodes of a TV series that were shown in cinemas (`getTvSeriesScreenedTheatrically`).
|
|
16
|
+
*/
|
|
17
|
+
export declare const screenedTheatricallySchema: v.GenericSchema<ScreenedTheatrically>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ScreenedTheatrically.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenedTheatrically.d.mts","names":[],"sources":["../../../src/tv/types/ScreenedTheatrically.ts"],"mappings":";cAIM,6BAA2B,EAAA;;;;;;;;;iBAYhB,6BAA6B,EAAE,mBACvC;;;;;;qBAQI,4BAA0B,EAAA,cAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/tv/types/ScreenedTheatrically.ts
|
|
5
|
+
const _screenedTheatricallySchema = v.object({
|
|
6
|
+
id: integer,
|
|
7
|
+
results: v.array(v.object({
|
|
8
|
+
/** The episode's id. */
|
|
9
|
+
id: integer,
|
|
10
|
+
episodeNumber: integer,
|
|
11
|
+
seasonNumber: integer
|
|
12
|
+
}))
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* ### Screened Theatrically
|
|
16
|
+
*
|
|
17
|
+
* The episodes of a TV series that were shown in cinemas (`getTvSeriesScreenedTheatrically`).
|
|
18
|
+
*/
|
|
19
|
+
const screenedTheatricallySchema = schema(_screenedTheatricallySchema);
|
|
20
|
+
export { screenedTheatricallySchema };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=ScreenedTheatrically.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenedTheatrically.mjs","names":[],"sources":["../../../src/tv/types/ScreenedTheatrically.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _screenedTheatricallySchema = v.object({\n id: integer,\n results: v.array(\n v.object({\n /** The episode's id. */\n id: integer,\n episodeNumber: integer,\n seasonNumber: integer\n })\n )\n});\n\nexport interface ScreenedTheatrically extends v.InferOutput<\n typeof _screenedTheatricallySchema\n> {}\n\n/**\n * ### Screened Theatrically\n *\n * The episodes of a TV series that were shown in cinemas (`getTvSeriesScreenedTheatrically`).\n */\nexport const screenedTheatricallySchema = schema<ScreenedTheatrically>(\n _screenedTheatricallySchema\n);\n"],"mappings":";;;;AAIA,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI;CACJ,SAAS,EAAE,MACT,EAAE,OAAO;;EAEP,IAAI;EACJ,eAAe;EACf,cAAc;CAChB,CAAC,CACH;AACF,CAAC;;;;;;AAWD,MAAa,6BAA6B,OACxC,2BACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _tvAlternativeTitlesSchema: v.ObjectSchema<{
|
|
3
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
4
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
5
|
+
/** ISO 3166-1 code of the region that uses the title. */
|
|
6
|
+
readonly iso_3166_1: v.StringSchema<undefined>;
|
|
7
|
+
readonly title: v.StringSchema<undefined>;
|
|
8
|
+
/** What kind of title it is, or `""`. */
|
|
9
|
+
readonly type: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
export interface TvAlternativeTitles extends v.InferOutput<typeof _tvAlternativeTitlesSchema> {}
|
|
13
|
+
/**
|
|
14
|
+
* ### TV Alternative Titles
|
|
15
|
+
*
|
|
16
|
+
* The other titles a TV series is known by, per region (`getTvSeriesAlternativeTitles`). Same data as a movie's, but under `results` rather than `titles`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const tvAlternativeTitlesSchema: v.GenericSchema<TvAlternativeTitles>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=TvAlternativeTitles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvAlternativeTitles.d.mts","names":[],"sources":["../../../src/tv/types/TvAlternativeTitles.ts"],"mappings":";cAIM,4BAA0B,EAAA;;;;;;;;;;iBAaf,4BAA4B,EAAE,mBACtC;;;;;;qBAQI,2BAAyB,EAAA,cAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/tv/types/TvAlternativeTitles.ts
|
|
5
|
+
const _tvAlternativeTitlesSchema = v.object({
|
|
6
|
+
id: integer,
|
|
7
|
+
results: v.array(v.object({
|
|
8
|
+
/** ISO 3166-1 code of the region that uses the title. */
|
|
9
|
+
iso_3166_1: v.string(),
|
|
10
|
+
title: v.string(),
|
|
11
|
+
/** What kind of title it is, or `""`. */
|
|
12
|
+
type: v.string()
|
|
13
|
+
}))
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* ### TV Alternative Titles
|
|
17
|
+
*
|
|
18
|
+
* The other titles a TV series is known by, per region (`getTvSeriesAlternativeTitles`). Same data as a movie's, but under `results` rather than `titles`.
|
|
19
|
+
*/
|
|
20
|
+
const tvAlternativeTitlesSchema = schema(_tvAlternativeTitlesSchema);
|
|
21
|
+
export { tvAlternativeTitlesSchema };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=TvAlternativeTitles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvAlternativeTitles.mjs","names":[],"sources":["../../../src/tv/types/TvAlternativeTitles.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _tvAlternativeTitlesSchema = v.object({\n id: integer,\n results: v.array(\n v.object({\n /** ISO 3166-1 code of the region that uses the title. */\n iso_3166_1: v.string(),\n title: v.string(),\n /** What kind of title it is, or `\"\"`. */\n type: v.string()\n })\n )\n});\n\nexport interface TvAlternativeTitles extends v.InferOutput<\n typeof _tvAlternativeTitlesSchema\n> {}\n\n/**\n * ### TV Alternative Titles\n *\n * The other titles a TV series is known by, per region (`getTvSeriesAlternativeTitles`). Same data as a movie's, but under `results` rather than `titles`.\n */\nexport const tvAlternativeTitlesSchema = schema<TvAlternativeTitles>(\n _tvAlternativeTitlesSchema\n);\n"],"mappings":";;;;AAIA,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI;CACJ,SAAS,EAAE,MACT,EAAE,OAAO;;EAEP,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO;;EAEhB,MAAM,EAAE,OAAO;CACjB,CAAC,CACH;AACF,CAAC;;;;;;AAWD,MAAa,4BAA4B,OACvC,0BACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CastCredit, CrewCredit } from "../../types/Credit.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _tvCreditsSchema: v.ObjectSchema<{
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
6
|
+
readonly cast: v.ArraySchema<v.GenericSchema<CastCredit>, undefined>;
|
|
7
|
+
readonly crew: v.ArraySchema<v.GenericSchema<CrewCredit>, undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
export interface TvCredits extends v.InferOutput<typeof _tvCreditsSchema> {}
|
|
10
|
+
/**
|
|
11
|
+
* ### TV Credits
|
|
12
|
+
*
|
|
13
|
+
* The cast and crew of a TV series' latest season (`getTvSeriesCredits`) or of one season (`getTvSeasonCredits`). For everyone who ever appeared, see `getTvSeriesAggregateCredits`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const tvCreditsSchema: v.GenericSchema<TvCredits>;
|
|
16
|
+
declare const _tvEpisodeCreditsSchema: v.ObjectSchema<{
|
|
17
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
18
|
+
readonly cast: v.ArraySchema<v.GenericSchema<CastCredit>, undefined>;
|
|
19
|
+
readonly crew: v.ArraySchema<v.GenericSchema<CrewCredit>, undefined>;
|
|
20
|
+
readonly guestStars: v.ArraySchema<v.GenericSchema<CastCredit>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
export interface TvEpisodeCredits extends v.InferOutput<typeof _tvEpisodeCreditsSchema> {}
|
|
23
|
+
/** An episode's cast, crew and guest stars (`getTvEpisodeCredits`). */
|
|
24
|
+
export declare const tvEpisodeCreditsSchema: v.GenericSchema<TvEpisodeCredits>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=TvCredits.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvCredits.d.mts","names":["_$______index_js0.CastCredit","_$______index_js0.CrewCredit"],"sources":["../../../src/tv/types/TvCredits.ts"],"mappings":";;;cAKM,kBAAgB,EAAA;;;;;iBAML,kBAAkB,EAAE,mBAAmB;;;;;;qBAO3C,iBAAe,EAAA,cAAA;cAEtB,yBAAuB,EAAA;;;;;;iBAOZ,yBAAyB,EAAE,mBACnC;;qBAII,wBAAsB,EAAA,cAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { castCreditSchema, crewCreditSchema } from "../../types/Credit.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/tv/types/TvCredits.ts
|
|
6
|
+
const _tvCreditsSchema = v.object({
|
|
7
|
+
id: integer,
|
|
8
|
+
cast: v.array(castCreditSchema),
|
|
9
|
+
crew: v.array(crewCreditSchema)
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* ### TV Credits
|
|
13
|
+
*
|
|
14
|
+
* The cast and crew of a TV series' latest season (`getTvSeriesCredits`) or of one season (`getTvSeasonCredits`). For everyone who ever appeared, see `getTvSeriesAggregateCredits`.
|
|
15
|
+
*/
|
|
16
|
+
const tvCreditsSchema = schema(_tvCreditsSchema);
|
|
17
|
+
const _tvEpisodeCreditsSchema = v.object({
|
|
18
|
+
id: integer,
|
|
19
|
+
cast: v.array(castCreditSchema),
|
|
20
|
+
crew: v.array(crewCreditSchema),
|
|
21
|
+
guestStars: v.array(castCreditSchema)
|
|
22
|
+
});
|
|
23
|
+
/** An episode's cast, crew and guest stars (`getTvEpisodeCredits`). */
|
|
24
|
+
const tvEpisodeCreditsSchema = schema(_tvEpisodeCreditsSchema);
|
|
25
|
+
export { tvCreditsSchema, tvEpisodeCreditsSchema };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=TvCredits.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvCredits.mjs","names":[],"sources":["../../../src/tv/types/TvCredits.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { castCreditSchema, crewCreditSchema } from \"../../types/Credit.js\";\n\nconst _tvCreditsSchema = v.object({\n id: integer,\n cast: v.array(castCreditSchema),\n crew: v.array(crewCreditSchema)\n});\n\nexport interface TvCredits extends v.InferOutput<typeof _tvCreditsSchema> {}\n\n/**\n * ### TV Credits\n *\n * The cast and crew of a TV series' latest season (`getTvSeriesCredits`) or of one season (`getTvSeasonCredits`). For everyone who ever appeared, see `getTvSeriesAggregateCredits`.\n */\nexport const tvCreditsSchema = schema<TvCredits>(_tvCreditsSchema);\n\nconst _tvEpisodeCreditsSchema = v.object({\n id: integer,\n cast: v.array(castCreditSchema),\n crew: v.array(crewCreditSchema),\n guestStars: v.array(castCreditSchema)\n});\n\nexport interface TvEpisodeCredits extends v.InferOutput<\n typeof _tvEpisodeCreditsSchema\n> {}\n\n/** An episode's cast, crew and guest stars (`getTvEpisodeCredits`). */\nexport const tvEpisodeCreditsSchema = schema<TvEpisodeCredits>(\n _tvEpisodeCreditsSchema\n);\n"],"mappings":";;;;;AAKA,MAAM,mBAAmB,EAAE,OAAO;CAChC,IAAI;CACJ,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,EAAE,MAAM,gBAAgB;AAChC,CAAC;;;;;;AASD,MAAa,kBAAkB,OAAkB,gBAAgB;AAEjE,MAAM,0BAA0B,EAAE,OAAO;CACvC,IAAI;CACJ,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,YAAY,EAAE,MAAM,gBAAgB;AACtC,CAAC;;AAOD,MAAa,yBAAyB,OACpC,uBACF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/** The episode fields every episode response shares. Episodes embedded in another response also carry `showId`; `getTvEpisode` doesn't. */
|
|
3
|
+
export declare const tvEpisodeEntries: {
|
|
4
|
+
/** `YYYY-MM-DD`, or `null` when unknown. */
|
|
5
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7
|
+
/** `standard`, `finale`, `mid_season`, … */
|
|
8
|
+
readonly episodeType: v.StringSchema<undefined>;
|
|
9
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
10
|
+
readonly name: v.StringSchema<undefined>;
|
|
11
|
+
readonly overview: v.StringSchema<undefined>;
|
|
12
|
+
/** `""` when TMDB has none. */
|
|
13
|
+
readonly productionCode: v.StringSchema<undefined>;
|
|
14
|
+
/** Minutes, or `null` when unknown. */
|
|
15
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
16
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
17
|
+
readonly stillPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
19
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
20
|
+
};
|
|
21
|
+
declare const _tvEpisodeSummarySchema: v.ObjectSchema<{
|
|
22
|
+
readonly showId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
23
|
+
/** `YYYY-MM-DD`, or `null` when unknown. */
|
|
24
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
26
|
+
/** `standard`, `finale`, `mid_season`, … */
|
|
27
|
+
readonly episodeType: v.StringSchema<undefined>;
|
|
28
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
29
|
+
readonly name: v.StringSchema<undefined>;
|
|
30
|
+
readonly overview: v.StringSchema<undefined>;
|
|
31
|
+
/** `""` when TMDB has none. */
|
|
32
|
+
readonly productionCode: v.StringSchema<undefined>;
|
|
33
|
+
/** Minutes, or `null` when unknown. */
|
|
34
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
35
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
36
|
+
readonly stillPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
38
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
export interface TvEpisodeSummary extends v.InferOutput<typeof _tvEpisodeSummarySchema> {}
|
|
41
|
+
/**
|
|
42
|
+
* ### TV Episode Summary
|
|
43
|
+
*
|
|
44
|
+
* An episode without its credits, as TV series details (`lastEpisodeToAir`, `nextEpisodeToAir`) and episode groups embed it.
|
|
45
|
+
*/
|
|
46
|
+
export declare const tvEpisodeSummarySchema: v.GenericSchema<TvEpisodeSummary>;
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=TvEpisode.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvEpisode.d.mts","names":[],"sources":["../../../src/tv/types/TvEpisode.ts"],"mappings":";;qBAKa;;;;;;;;;;;;;;;;;;cAmBP,yBAAuB,EAAA;;;;;;;;;;;;;;;;;;;iBAKZ,yBAAyB,EAAE,mBACnC;;;;;;qBAQI,wBAAsB,EAAA,cAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/tv/types/TvEpisode.ts
|
|
5
|
+
/** The episode fields every episode response shares. Episodes embedded in another response also carry `showId`; `getTvEpisode` doesn't. */
|
|
6
|
+
const tvEpisodeEntries = {
|
|
7
|
+
/** `YYYY-MM-DD`, or `null` when unknown. */
|
|
8
|
+
airDate: v.nullable(v.string()),
|
|
9
|
+
episodeNumber: integer,
|
|
10
|
+
/** `standard`, `finale`, `mid_season`, … */
|
|
11
|
+
episodeType: v.string(),
|
|
12
|
+
id: integer,
|
|
13
|
+
name: v.string(),
|
|
14
|
+
overview: v.string(),
|
|
15
|
+
/** `""` when TMDB has none. */
|
|
16
|
+
productionCode: v.string(),
|
|
17
|
+
/** Minutes, or `null` when unknown. */
|
|
18
|
+
runtime: v.nullable(integer),
|
|
19
|
+
seasonNumber: integer,
|
|
20
|
+
stillPath: v.nullable(v.string()),
|
|
21
|
+
voteAverage: v.number(),
|
|
22
|
+
voteCount: integer
|
|
23
|
+
};
|
|
24
|
+
const _tvEpisodeSummarySchema = v.object({
|
|
25
|
+
...tvEpisodeEntries,
|
|
26
|
+
showId: integer
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* ### TV Episode Summary
|
|
30
|
+
*
|
|
31
|
+
* An episode without its credits, as TV series details (`lastEpisodeToAir`, `nextEpisodeToAir`) and episode groups embed it.
|
|
32
|
+
*/
|
|
33
|
+
const tvEpisodeSummarySchema = schema(_tvEpisodeSummarySchema);
|
|
34
|
+
export { tvEpisodeEntries, tvEpisodeSummarySchema };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=TvEpisode.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvEpisode.mjs","names":[],"sources":["../../../src/tv/types/TvEpisode.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\n/** The episode fields every episode response shares. Episodes embedded in another response also carry `showId`; `getTvEpisode` doesn't. */\nexport const tvEpisodeEntries = {\n /** `YYYY-MM-DD`, or `null` when unknown. */\n airDate: v.nullable(v.string()),\n episodeNumber: integer,\n /** `standard`, `finale`, `mid_season`, … */\n episodeType: v.string(),\n id: integer,\n name: v.string(),\n overview: v.string(),\n /** `\"\"` when TMDB has none. */\n productionCode: v.string(),\n /** Minutes, or `null` when unknown. */\n runtime: v.nullable(integer),\n seasonNumber: integer,\n stillPath: v.nullable(v.string()),\n voteAverage: v.number(),\n voteCount: integer\n} as const;\n\nconst _tvEpisodeSummarySchema = v.object({\n ...tvEpisodeEntries,\n showId: integer\n});\n\nexport interface TvEpisodeSummary extends v.InferOutput<\n typeof _tvEpisodeSummarySchema\n> {}\n\n/**\n * ### TV Episode Summary\n *\n * An episode without its credits, as TV series details (`lastEpisodeToAir`, `nextEpisodeToAir`) and episode groups embed it.\n */\nexport const tvEpisodeSummarySchema = schema<TvEpisodeSummary>(\n _tvEpisodeSummarySchema\n);\n"],"mappings":";;;;;AAKA,MAAa,mBAAmB;;CAE9B,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC;CAC9B,eAAe;;CAEf,aAAa,EAAE,OAAO;CACtB,IAAI;CACJ,MAAM,EAAE,OAAO;CACf,UAAU,EAAE,OAAO;;CAEnB,gBAAgB,EAAE,OAAO;;CAEzB,SAAS,EAAE,SAAS,OAAO;CAC3B,cAAc;CACd,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC;CAChC,aAAa,EAAE,OAAO;CACtB,WAAW;AACb;AAEA,MAAM,0BAA0B,EAAE,OAAO;CACvC,GAAG;CACH,QAAQ;AACV,CAAC;;;;;;AAWD,MAAa,yBAAyB,OACpC,uBACF"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { StillImages } from "../../types/Images.mjs";
|
|
2
|
+
import { Videos } from "../../types/Video.mjs";
|
|
3
|
+
import { TvEpisodeCredits } from "./TvCredits.mjs";
|
|
4
|
+
import { TvEpisodeExternalIds } from "./TvExternalIds.mjs";
|
|
5
|
+
import { NameOverviewTranslations } from "./TvTranslations.mjs";
|
|
6
|
+
import { CastCredit, CrewCredit } from "../../types/Credit.mjs";
|
|
7
|
+
import "../../index.mjs";
|
|
8
|
+
import * as v from "valibot";
|
|
9
|
+
export declare const tvEpisodeDetailsEntries: {
|
|
10
|
+
readonly crew: v.ArraySchema<v.GenericSchema<CrewCredit>, undefined>;
|
|
11
|
+
readonly guestStars: v.ArraySchema<v.GenericSchema<CastCredit>, undefined>;
|
|
12
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
14
|
+
readonly episodeType: v.StringSchema<undefined>;
|
|
15
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
16
|
+
readonly name: v.StringSchema<undefined>;
|
|
17
|
+
readonly overview: v.StringSchema<undefined>;
|
|
18
|
+
readonly productionCode: v.StringSchema<undefined>;
|
|
19
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
20
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
21
|
+
readonly stillPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
23
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
24
|
+
};
|
|
25
|
+
/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id`. */
|
|
26
|
+
export declare const tvEpisodeAppendedEntries: {
|
|
27
|
+
readonly credits: v.ExactOptionalSchema<v.GenericSchema<Omit<TvEpisodeCredits, "id">>, undefined>;
|
|
28
|
+
readonly externalIds: v.ExactOptionalSchema<v.GenericSchema<Omit<TvEpisodeExternalIds, "id">>, undefined>;
|
|
29
|
+
readonly images: v.ExactOptionalSchema<v.GenericSchema<Omit<StillImages, "id">>, undefined>;
|
|
30
|
+
readonly translations: v.ExactOptionalSchema<v.GenericSchema<Omit<NameOverviewTranslations, "id">>, undefined>;
|
|
31
|
+
readonly videos: v.ExactOptionalSchema<v.GenericSchema<Omit<Videos, "id">>, undefined>;
|
|
32
|
+
};
|
|
33
|
+
declare const _tvEpisodeDetailsSchema: v.ObjectSchema<{
|
|
34
|
+
readonly credits: v.ExactOptionalSchema<v.GenericSchema<Omit<TvEpisodeCredits, "id">>, undefined>;
|
|
35
|
+
readonly externalIds: v.ExactOptionalSchema<v.GenericSchema<Omit<TvEpisodeExternalIds, "id">>, undefined>;
|
|
36
|
+
readonly images: v.ExactOptionalSchema<v.GenericSchema<Omit<StillImages, "id">>, undefined>;
|
|
37
|
+
readonly translations: v.ExactOptionalSchema<v.GenericSchema<Omit<NameOverviewTranslations, "id">>, undefined>;
|
|
38
|
+
readonly videos: v.ExactOptionalSchema<v.GenericSchema<Omit<Videos, "id">>, undefined>;
|
|
39
|
+
readonly crew: v.ArraySchema<v.GenericSchema<CrewCredit>, undefined>;
|
|
40
|
+
readonly guestStars: v.ArraySchema<v.GenericSchema<CastCredit>, undefined>;
|
|
41
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
42
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
43
|
+
readonly episodeType: v.StringSchema<undefined>;
|
|
44
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
45
|
+
readonly name: v.StringSchema<undefined>;
|
|
46
|
+
readonly overview: v.StringSchema<undefined>;
|
|
47
|
+
readonly productionCode: v.StringSchema<undefined>;
|
|
48
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
49
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
50
|
+
readonly stillPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
52
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
53
|
+
}, undefined>;
|
|
54
|
+
export interface TvEpisodeDetails extends v.InferOutput<typeof _tvEpisodeDetailsSchema> {}
|
|
55
|
+
/**
|
|
56
|
+
* ### TV Episode Details
|
|
57
|
+
*
|
|
58
|
+
* One episode with its crew and guest stars (`getTvEpisode`), plus whatever `appendToResponse` asked for.
|
|
59
|
+
*/
|
|
60
|
+
export declare const tvEpisodeDetailsSchema: v.GenericSchema<TvEpisodeDetails>;
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=TvEpisodeDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvEpisodeDetails.d.mts","names":["_$______index_js0.CrewCredit","_$______index_js0.CastCredit","_$__TvCredits_js0.TvEpisodeCredits","_$__TvExternalIds_js0.TvEpisodeExternalIds","_$______index_js0.StillImages","_$__TvTranslations_js0.NameOverviewTranslations","_$______index_js0.Videos"],"sources":["../../../src/tv/types/TvEpisodeDetails.ts"],"mappings":";;;;;;;;qBAUa;W,oCAAAA;;;;;;;;;;;;;;;;qBAOA;W,oDAAAE;;;;;;cAUP,yBAAuB,EAAA;W,oDAAvBA;;;;;;;;;;;;;;;;;;;;iBAKW,yBAAyB,EAAE,mBACnC;;;;;;qBAQI,wBAAsB,EAAA,cAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { omitFields, schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { tvEpisodeEntries } from "./TvEpisode.mjs";
|
|
3
|
+
import { castCreditSchema, crewCreditSchema } from "../../types/Credit.mjs";
|
|
4
|
+
import { stillImagesSchema } from "../../types/Images.mjs";
|
|
5
|
+
import { videosSchema } from "../../types/Video.mjs";
|
|
6
|
+
import { tvEpisodeCreditsSchema } from "./TvCredits.mjs";
|
|
7
|
+
import { tvEpisodeExternalIdsSchema } from "./TvExternalIds.mjs";
|
|
8
|
+
import { nameOverviewTranslationsSchema } from "./TvTranslations.mjs";
|
|
9
|
+
import * as v from "valibot";
|
|
10
|
+
// src/tv/types/TvEpisodeDetails.ts
|
|
11
|
+
const tvEpisodeDetailsEntries = {
|
|
12
|
+
...tvEpisodeEntries,
|
|
13
|
+
crew: v.array(crewCreditSchema),
|
|
14
|
+
guestStars: v.array(castCreditSchema)
|
|
15
|
+
};
|
|
16
|
+
/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id`. */
|
|
17
|
+
const tvEpisodeAppendedEntries = {
|
|
18
|
+
credits: v.exactOptional(omitFields(tvEpisodeCreditsSchema, [`id`])),
|
|
19
|
+
externalIds: v.exactOptional(omitFields(tvEpisodeExternalIdsSchema, [`id`])),
|
|
20
|
+
images: v.exactOptional(omitFields(stillImagesSchema, [`id`])),
|
|
21
|
+
translations: v.exactOptional(omitFields(nameOverviewTranslationsSchema, [`id`])),
|
|
22
|
+
videos: v.exactOptional(omitFields(videosSchema, [`id`]))
|
|
23
|
+
};
|
|
24
|
+
const _tvEpisodeDetailsSchema = v.object({
|
|
25
|
+
...tvEpisodeDetailsEntries,
|
|
26
|
+
...tvEpisodeAppendedEntries
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* ### TV Episode Details
|
|
30
|
+
*
|
|
31
|
+
* One episode with its crew and guest stars (`getTvEpisode`), plus whatever `appendToResponse` asked for.
|
|
32
|
+
*/
|
|
33
|
+
const tvEpisodeDetailsSchema = schema(_tvEpisodeDetailsSchema);
|
|
34
|
+
export { tvEpisodeAppendedEntries, tvEpisodeDetailsEntries, tvEpisodeDetailsSchema };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=TvEpisodeDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvEpisodeDetails.mjs","names":[],"sources":["../../../src/tv/types/TvEpisodeDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { omitFields, schema } from \"../../validations/schema.js\";\nimport { castCreditSchema, crewCreditSchema } from \"../../types/Credit.js\";\nimport { stillImagesSchema } from \"../../types/Images.js\";\nimport { videosSchema } from \"../../types/Video.js\";\nimport { tvEpisodeCreditsSchema } from \"./TvCredits.js\";\nimport { tvEpisodeEntries } from \"./TvEpisode.js\";\nimport { tvEpisodeExternalIdsSchema } from \"./TvExternalIds.js\";\nimport { nameOverviewTranslationsSchema } from \"./TvTranslations.js\";\n\nexport const tvEpisodeDetailsEntries = {\n ...tvEpisodeEntries,\n crew: v.array(crewCreditSchema),\n guestStars: v.array(castCreditSchema)\n} as const;\n\n/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id`. */\nexport const tvEpisodeAppendedEntries = {\n credits: v.exactOptional(omitFields(tvEpisodeCreditsSchema, [`id`])),\n externalIds: v.exactOptional(omitFields(tvEpisodeExternalIdsSchema, [`id`])),\n images: v.exactOptional(omitFields(stillImagesSchema, [`id`])),\n translations: v.exactOptional(\n omitFields(nameOverviewTranslationsSchema, [`id`])\n ),\n videos: v.exactOptional(omitFields(videosSchema, [`id`]))\n} as const;\n\nconst _tvEpisodeDetailsSchema = v.object({\n ...tvEpisodeDetailsEntries,\n ...tvEpisodeAppendedEntries\n});\n\nexport interface TvEpisodeDetails extends v.InferOutput<\n typeof _tvEpisodeDetailsSchema\n> {}\n\n/**\n * ### TV Episode Details\n *\n * One episode with its crew and guest stars (`getTvEpisode`), plus whatever `appendToResponse` asked for.\n */\nexport const tvEpisodeDetailsSchema = schema<TvEpisodeDetails>(\n _tvEpisodeDetailsSchema\n);\n"],"mappings":";;;;;;;;;;AAUA,MAAa,0BAA0B;CACrC,GAAG;CACH,MAAM,EAAE,MAAM,gBAAgB;CAC9B,YAAY,EAAE,MAAM,gBAAgB;AACtC;;AAGA,MAAa,2BAA2B;CACtC,SAAS,EAAE,cAAc,WAAW,wBAAwB,CAAC,IAAI,CAAC,CAAC;CACnE,aAAa,EAAE,cAAc,WAAW,4BAA4B,CAAC,IAAI,CAAC,CAAC;CAC3E,QAAQ,EAAE,cAAc,WAAW,mBAAmB,CAAC,IAAI,CAAC,CAAC;CAC7D,cAAc,EAAE,cACd,WAAW,gCAAgC,CAAC,IAAI,CAAC,CACnD;CACA,QAAQ,EAAE,cAAc,WAAW,cAAc,CAAC,IAAI,CAAC,CAAC;AAC1D;AAEA,MAAM,0BAA0B,EAAE,OAAO;CACvC,GAAG;CACH,GAAG;AACL,CAAC;;;;;;AAWD,MAAa,yBAAyB,OACpC,uBACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _tvSeriesExternalIdsSchema: v.ObjectSchema<{
|
|
3
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
4
|
+
/** `tt…`, or `null` when unknown. */
|
|
5
|
+
readonly imdbId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly freebaseMid: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly freebaseId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
/** TheTVDB's series id: the one Plex and Kodi often key TV metadata on. */
|
|
9
|
+
readonly tvdbId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
10
|
+
readonly tvrageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
11
|
+
readonly wikidataId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly facebookId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly instagramId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly twitterId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export interface TvSeriesExternalIds extends v.InferOutput<typeof _tvSeriesExternalIdsSchema> {}
|
|
17
|
+
/**
|
|
18
|
+
* ### TV Series External IDs
|
|
19
|
+
*
|
|
20
|
+
* A TV series' ids on other sites (`getTvSeriesExternalIds`). Each is `null` when TMDB doesn't have it.
|
|
21
|
+
*/
|
|
22
|
+
export declare const tvSeriesExternalIdsSchema: v.GenericSchema<TvSeriesExternalIds>;
|
|
23
|
+
declare const _tvSeasonExternalIdsSchema: v.ObjectSchema<{
|
|
24
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
25
|
+
readonly freebaseMid: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
+
readonly freebaseId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
readonly tvdbId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
28
|
+
readonly tvrageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
29
|
+
readonly wikidataId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
export interface TvSeasonExternalIds extends v.InferOutput<typeof _tvSeasonExternalIdsSchema> {}
|
|
32
|
+
/** A season's ids on other sites (`getTvSeasonExternalIds`). */
|
|
33
|
+
export declare const tvSeasonExternalIdsSchema: v.GenericSchema<TvSeasonExternalIds>;
|
|
34
|
+
declare const _tvEpisodeExternalIdsSchema: v.ObjectSchema<{
|
|
35
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
36
|
+
readonly imdbId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly freebaseMid: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly freebaseId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
readonly tvdbId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
40
|
+
readonly tvrageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
41
|
+
readonly wikidataId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
42
|
+
}, undefined>;
|
|
43
|
+
export interface TvEpisodeExternalIds extends v.InferOutput<typeof _tvEpisodeExternalIdsSchema> {}
|
|
44
|
+
/** An episode's ids on other sites (`getTvEpisodeExternalIds`). */
|
|
45
|
+
export declare const tvEpisodeExternalIdsSchema: v.GenericSchema<TvEpisodeExternalIds>;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=TvExternalIds.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvExternalIds.d.mts","names":[],"sources":["../../../src/tv/types/TvExternalIds.ts"],"mappings":";cAOM,4BAA0B,EAAA;;;;;;;;;;;;;;iBAef,4BAA4B,EAAE,mBACtC;;;;;;qBAQI,2BAAyB,EAAA,cAAA;cAIhC,4BAA0B,EAAA;;;;;;;;iBASf,4BAA4B,EAAE,mBACtC;;qBAII,2BAAyB,EAAA,cAAA;cAIhC,6BAA2B,EAAA;;;;;;;;;iBAUhB,6BAA6B,EAAE,mBACvC;;qBAII,4BAA0B,EAAA,cAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/tv/types/TvExternalIds.ts
|
|
5
|
+
const id = v.nullable(v.string());
|
|
6
|
+
const numericId = v.nullable(integer);
|
|
7
|
+
const _tvSeriesExternalIdsSchema = v.object({
|
|
8
|
+
id: integer,
|
|
9
|
+
/** `tt…`, or `null` when unknown. */
|
|
10
|
+
imdbId: id,
|
|
11
|
+
freebaseMid: id,
|
|
12
|
+
freebaseId: id,
|
|
13
|
+
/** TheTVDB's series id: the one Plex and Kodi often key TV metadata on. */
|
|
14
|
+
tvdbId: numericId,
|
|
15
|
+
tvrageId: numericId,
|
|
16
|
+
wikidataId: id,
|
|
17
|
+
facebookId: id,
|
|
18
|
+
instagramId: id,
|
|
19
|
+
twitterId: id
|
|
20
|
+
});
|
|
21
|
+
/**
|
|
22
|
+
* ### TV Series External IDs
|
|
23
|
+
*
|
|
24
|
+
* A TV series' ids on other sites (`getTvSeriesExternalIds`). Each is `null` when TMDB doesn't have it.
|
|
25
|
+
*/
|
|
26
|
+
const tvSeriesExternalIdsSchema = schema(_tvSeriesExternalIdsSchema);
|
|
27
|
+
const _tvSeasonExternalIdsSchema = v.object({
|
|
28
|
+
id: integer,
|
|
29
|
+
freebaseMid: id,
|
|
30
|
+
freebaseId: id,
|
|
31
|
+
tvdbId: numericId,
|
|
32
|
+
tvrageId: numericId,
|
|
33
|
+
wikidataId: id
|
|
34
|
+
});
|
|
35
|
+
/** A season's ids on other sites (`getTvSeasonExternalIds`). */
|
|
36
|
+
const tvSeasonExternalIdsSchema = schema(_tvSeasonExternalIdsSchema);
|
|
37
|
+
const _tvEpisodeExternalIdsSchema = v.object({
|
|
38
|
+
id: integer,
|
|
39
|
+
imdbId: id,
|
|
40
|
+
freebaseMid: id,
|
|
41
|
+
freebaseId: id,
|
|
42
|
+
tvdbId: numericId,
|
|
43
|
+
tvrageId: numericId,
|
|
44
|
+
wikidataId: id
|
|
45
|
+
});
|
|
46
|
+
/** An episode's ids on other sites (`getTvEpisodeExternalIds`). */
|
|
47
|
+
const tvEpisodeExternalIdsSchema = schema(_tvEpisodeExternalIdsSchema);
|
|
48
|
+
export { tvEpisodeExternalIdsSchema, tvSeasonExternalIdsSchema, tvSeriesExternalIdsSchema };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=TvExternalIds.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvExternalIds.mjs","names":[],"sources":["../../../src/tv/types/TvExternalIds.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst id = v.nullable(v.string());\nconst numericId = v.nullable(integer);\n\nconst _tvSeriesExternalIdsSchema = v.object({\n id: integer,\n /** `tt…`, or `null` when unknown. */\n imdbId: id,\n freebaseMid: id,\n freebaseId: id,\n /** TheTVDB's series id: the one Plex and Kodi often key TV metadata on. */\n tvdbId: numericId,\n tvrageId: numericId,\n wikidataId: id,\n facebookId: id,\n instagramId: id,\n twitterId: id\n});\n\nexport interface TvSeriesExternalIds extends v.InferOutput<\n typeof _tvSeriesExternalIdsSchema\n> {}\n\n/**\n * ### TV Series External IDs\n *\n * A TV series' ids on other sites (`getTvSeriesExternalIds`). Each is `null` when TMDB doesn't have it.\n */\nexport const tvSeriesExternalIdsSchema = schema<TvSeriesExternalIds>(\n _tvSeriesExternalIdsSchema\n);\n\nconst _tvSeasonExternalIdsSchema = v.object({\n id: integer,\n freebaseMid: id,\n freebaseId: id,\n tvdbId: numericId,\n tvrageId: numericId,\n wikidataId: id\n});\n\nexport interface TvSeasonExternalIds extends v.InferOutput<\n typeof _tvSeasonExternalIdsSchema\n> {}\n\n/** A season's ids on other sites (`getTvSeasonExternalIds`). */\nexport const tvSeasonExternalIdsSchema = schema<TvSeasonExternalIds>(\n _tvSeasonExternalIdsSchema\n);\n\nconst _tvEpisodeExternalIdsSchema = v.object({\n id: integer,\n imdbId: id,\n freebaseMid: id,\n freebaseId: id,\n tvdbId: numericId,\n tvrageId: numericId,\n wikidataId: id\n});\n\nexport interface TvEpisodeExternalIds extends v.InferOutput<\n typeof _tvEpisodeExternalIdsSchema\n> {}\n\n/** An episode's ids on other sites (`getTvEpisodeExternalIds`). */\nexport const tvEpisodeExternalIdsSchema = schema<TvEpisodeExternalIds>(\n _tvEpisodeExternalIdsSchema\n);\n"],"mappings":";;;;AAIA,MAAM,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC;AAChC,MAAM,YAAY,EAAE,SAAS,OAAO;AAEpC,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI;;CAEJ,QAAQ;CACR,aAAa;CACb,YAAY;;CAEZ,QAAQ;CACR,UAAU;CACV,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,WAAW;AACb,CAAC;;;;;;AAWD,MAAa,4BAA4B,OACvC,0BACF;AAEA,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI;CACJ,aAAa;CACb,YAAY;CACZ,QAAQ;CACR,UAAU;CACV,YAAY;AACd,CAAC;;AAOD,MAAa,4BAA4B,OACvC,0BACF;AAEA,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI;CACJ,QAAQ;CACR,aAAa;CACb,YAAY;CACZ,QAAQ;CACR,UAAU;CACV,YAAY;AACd,CAAC;;AAOD,MAAa,6BAA6B,OACxC,2BACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Keyword } from "../../types/Keyword.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _tvKeywordsSchema: v.ObjectSchema<{
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
6
|
+
readonly results: v.ArraySchema<v.GenericSchema<Keyword>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
export interface TvKeywords extends v.InferOutput<typeof _tvKeywordsSchema> {}
|
|
9
|
+
/**
|
|
10
|
+
* ### TV Keywords
|
|
11
|
+
*
|
|
12
|
+
* The keywords a TV series is tagged with (`getTvSeriesKeywords`). Movie keywords come back under `keywords` instead (see `MovieKeywords`).
|
|
13
|
+
*/
|
|
14
|
+
export declare const tvKeywordsSchema: v.GenericSchema<TvKeywords>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=TvKeywords.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvKeywords.d.mts","names":["_$______index_js0.Keyword"],"sources":["../../../src/tv/types/TvKeywords.ts"],"mappings":";;;cAKM,mBAAiB,EAAA;;;;iBAKN,mBAAmB,EAAE,mBAAmB;;;;;;qBAO5C,kBAAgB,EAAA,cAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { keywordSchema } from "../../types/Keyword.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/tv/types/TvKeywords.ts
|
|
6
|
+
const _tvKeywordsSchema = v.object({
|
|
7
|
+
id: integer,
|
|
8
|
+
results: v.array(keywordSchema)
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* ### TV Keywords
|
|
12
|
+
*
|
|
13
|
+
* The keywords a TV series is tagged with (`getTvSeriesKeywords`). Movie keywords come back under `keywords` instead (see `MovieKeywords`).
|
|
14
|
+
*/
|
|
15
|
+
const tvKeywordsSchema = schema(_tvKeywordsSchema);
|
|
16
|
+
export { tvKeywordsSchema };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=TvKeywords.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TvKeywords.mjs","names":[],"sources":["../../../src/tv/types/TvKeywords.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { keywordSchema } from \"../../types/Keyword.js\";\n\nconst _tvKeywordsSchema = v.object({\n id: integer,\n results: v.array(keywordSchema)\n});\n\nexport interface TvKeywords extends v.InferOutput<typeof _tvKeywordsSchema> {}\n\n/**\n * ### TV Keywords\n *\n * The keywords a TV series is tagged with (`getTvSeriesKeywords`). Movie keywords come back under `keywords` instead (see `MovieKeywords`).\n */\nexport const tvKeywordsSchema = schema<TvKeywords>(_tvKeywordsSchema);\n"],"mappings":";;;;;AAKA,MAAM,oBAAoB,EAAE,OAAO;CACjC,IAAI;CACJ,SAAS,EAAE,MAAM,aAAa;AAChC,CAAC;;;;;;AASD,MAAa,mBAAmB,OAAmB,iBAAiB"}
|