@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
<sub>2026-10-29</sub>
|
|
5
|
+
|
|
6
|
+
- *(minor)*
|
|
7
|
+
First release: every read endpoint of TMDB's v3 API (116 operations) as typed functions with exported Valibot schemas, each checked against recorded TMDB responses; a concurrent, rate-limited request layer with retries and AbortSignal cancellation; and an imageUrl helper. Session-scoped endpoints (authentication, account, ratings, list editing) come in a later release.
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Drake Costa
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,9 +1,390 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# 🎬 tmdbkit
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[![npm version][npm_badge]][npm]
|
|
6
|
+
[![CI status][ci_badge]][ci]
|
|
7
|
+
|
|
8
|
+
A type-safe client for [The Movie Database (TMDB)][tmdb] API, with [Valibot][valibot] schemas checked against TMDB's real responses
|
|
9
|
+
|
|
10
|
+
</div>
|
|
6
11
|
|
|
7
12
|
---
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
## 📦 Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @saeris/tmdbkit valibot
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
yarn add @saeris/tmdbkit valibot
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
> [!NOTE]
|
|
25
|
+
>
|
|
26
|
+
> `valibot >= 1.4.0` is a peer dependency. tmdbkit runs anywhere with `fetch` and `URL`: Node 22+, browsers, webviews and workers.
|
|
27
|
+
|
|
28
|
+
## 🔑 Authentication
|
|
29
|
+
|
|
30
|
+
Get an **API Read Access Token** (preferred) or a **v3 API key** from your [TMDB API settings][tmdb_api_settings]. Both give the same access. Set one in the environment, or on the shared `tmdb` session:
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
import { tmdb } from "@saeris/tmdbkit";
|
|
34
|
+
|
|
35
|
+
tmdb.setToken(`<API Read Access Token>`); // sent as `Authorization: Bearer …`
|
|
36
|
+
// or
|
|
37
|
+
tmdb.setApiKey(`<v3 API key>`); // sent as `?api_key=…`
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
With nothing set, tmdbkit reads `TMDB_API_TOKEN`, then `TMDB_API_KEY`, from the environment. An explicit credential wins over the environment, and a token wins over a key.
|
|
41
|
+
|
|
42
|
+
## 🔧 Usage
|
|
43
|
+
|
|
44
|
+
Every endpoint is a function that takes its path params and a `params` object of query params, and resolves to a typed response:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import { getMovie, imageUrl, searchMovies } from "@saeris/tmdbkit";
|
|
48
|
+
|
|
49
|
+
const { results } = await searchMovies({
|
|
50
|
+
query: `Star Wars`,
|
|
51
|
+
params: { year: 1977 }
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const movie = await getMovie({
|
|
55
|
+
movieId: results[0].id,
|
|
56
|
+
// Fetch related resources in the same request; each comes back under its own key.
|
|
57
|
+
params: { appendToResponse: [`credits`, `release_dates`] }
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
movie.credits?.cast[0].character; // "Luke Skywalker"
|
|
61
|
+
imageUrl(movie.posterPath, `w500`); // "https://image.tmdb.org/t/p/w500/….jpg", or null with no poster
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### With runtime validation
|
|
65
|
+
|
|
66
|
+
Every endpoint exports its input schema (`getMovieSchema`) and its response schema (`movieDetailsSchema`). `toValidated` wraps an endpoint so both are checked at runtime: useful wherever input comes from outside your app, or wherever you want a change in TMDB's responses to fail loudly at the boundary.
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
import {
|
|
70
|
+
getMovie,
|
|
71
|
+
getMovieSchema,
|
|
72
|
+
movieDetailsSchema,
|
|
73
|
+
toValidated
|
|
74
|
+
} from "@saeris/tmdbkit";
|
|
75
|
+
|
|
76
|
+
const getMovieSafe = toValidated(getMovie, getMovieSchema, movieDetailsSchema);
|
|
77
|
+
|
|
78
|
+
// Throws if the input doesn't match getMovieSchema,
|
|
79
|
+
// or the response doesn't match movieDetailsSchema.
|
|
80
|
+
const movie = await getMovieSafe({ movieId: 11 });
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Errors
|
|
84
|
+
|
|
85
|
+
A non-2xx response throws a `TmdbApiError` carrying the HTTP `status` plus TMDB's own `statusCode` and `statusMessage`:
|
|
86
|
+
|
|
87
|
+
```ts
|
|
88
|
+
import { getMovie, TmdbApiError } from "@saeris/tmdbkit";
|
|
89
|
+
|
|
90
|
+
try {
|
|
91
|
+
await getMovie({ movieId: 999999999 });
|
|
92
|
+
} catch (error) {
|
|
93
|
+
if (error instanceof TmdbApiError && error.statusCode === 34) {
|
|
94
|
+
// 34: "The resource you requested could not be found."
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Error messages name the method and path but never the query string, so a v3 `api_key` doesn't leak into logs.
|
|
100
|
+
|
|
101
|
+
### Cancellation
|
|
102
|
+
|
|
103
|
+
Every endpoint takes `{ signal }` as its last argument. Aborting rejects the request with an `AbortError` while it waits for a rate-limit slot, while it is in flight, or while it backs off before a retry.
|
|
104
|
+
|
|
105
|
+
```ts
|
|
106
|
+
const controller = new AbortController();
|
|
107
|
+
const pending = getMovie({ movieId: 11 }, { signal: controller.signal });
|
|
108
|
+
controller.abort();
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Configuration
|
|
112
|
+
|
|
113
|
+
The shared `tmdb` session holds the credentials and these settings:
|
|
114
|
+
|
|
115
|
+
| setting | default | purpose |
|
|
116
|
+
| -------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
117
|
+
| `tmdb.setRateLimit(limit)` | 20 req / 1000ms | Client-side limit, `{ requests, perMs }`. TMDB's ceiling is "around 40 requests per second" ([rate limiting][tmdb_rate_limiting]), so the default leaves headroom. Requests run concurrently within it. |
|
|
118
|
+
| `tmdb.maxRetries` | `3` | Retries after the first attempt, for `429`, `500`, `502`, `503`, `504` and network failures. Client errors are never retried. |
|
|
119
|
+
| `tmdb.retryDelay` | `500` | Base backoff in ms (`retryDelay * 2^attempt`), used when TMDB sends no `Retry-After`. |
|
|
120
|
+
| `tmdb.clearSession()` | | Forget the credentials and restore the default rate limit. |
|
|
121
|
+
| `tmdb.getQueueSize()` | | How many requests are waiting for a rate-limit slot. |
|
|
122
|
+
|
|
123
|
+
### Response shapes
|
|
124
|
+
|
|
125
|
+
- **Keys are camelCased** (`poster_path` → `posterPath`), with two deliberate exceptions: ISO-code keys keep TMDB's names (`iso_3166_1`, `iso_639_1`), and leading-underscore keys stay as they are (`_id`).
|
|
126
|
+
- **TMDB marks "unknown" per field**, not by one rule: an unknown `releaseDate` or `overview` is `""`, while an unknown `airDate`, `birthday` or `imdbId` is `null`. The schemas follow what TMDB actually returns, and their JSDoc says which a field uses.
|
|
127
|
+
- **Appended keys** (`appendToResponse`) are optional keys on the details response, each holding that endpoint's response without its `id`. The watch-providers key keeps TMDB's slash: `movie["watch/providers"]`.
|
|
128
|
+
- **Images** come back as paths (`/abc.jpg`); `imageUrl(path, size)` builds the URL. Sizes per kind of image are in `imageSizes`.
|
|
129
|
+
|
|
130
|
+
## API Coverage
|
|
131
|
+
|
|
132
|
+
Every read endpoint of TMDB's v3 API is implemented. Each one's spec checks the request it sends and that every recorded TMDB response passes its schema.
|
|
133
|
+
|
|
134
|
+
<!-- coverage:start -->
|
|
135
|
+
|
|
136
|
+
<!-- Generated by `node scripts/codegen/coverage.ts`; edit operations.ts, not this table. -->
|
|
137
|
+
|
|
138
|
+
#### Configuration
|
|
139
|
+
|
|
140
|
+
| Operation | Endpoint |
|
|
141
|
+
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
142
|
+
| [`getConfiguration`](https://developer.themoviedb.org/reference/configuration-details) | `GET /configuration` |
|
|
143
|
+
| [`getCountries`](https://developer.themoviedb.org/reference/configuration-countries) | `GET /configuration/countries` |
|
|
144
|
+
| [`getJobs`](https://developer.themoviedb.org/reference/configuration-jobs) | `GET /configuration/jobs` |
|
|
145
|
+
| [`getLanguages`](https://developer.themoviedb.org/reference/configuration-languages) | `GET /configuration/languages` |
|
|
146
|
+
| [`getPrimaryTranslations`](https://developer.themoviedb.org/reference/configuration-primary-translations) | `GET /configuration/primary_translations` |
|
|
147
|
+
| [`getTimezones`](https://developer.themoviedb.org/reference/configuration-timezones) | `GET /configuration/timezones` |
|
|
148
|
+
|
|
149
|
+
#### Certifications
|
|
150
|
+
|
|
151
|
+
| Operation | Endpoint |
|
|
152
|
+
| ----------------------------------------------------------------------------------------------- | ------------------------------- |
|
|
153
|
+
| [`getMovieCertifications`](https://developer.themoviedb.org/reference/certification-movie-list) | `GET /certification/movie/list` |
|
|
154
|
+
| [`getTvCertifications`](https://developer.themoviedb.org/reference/certifications-tv-list) | `GET /certification/tv/list` |
|
|
155
|
+
|
|
156
|
+
#### Genres
|
|
157
|
+
|
|
158
|
+
| Operation | Endpoint |
|
|
159
|
+
| ------------------------------------------------------------------------------- | ----------------------- |
|
|
160
|
+
| [`getMovieGenres`](https://developer.themoviedb.org/reference/genre-movie-list) | `GET /genre/movie/list` |
|
|
161
|
+
| [`getTvGenres`](https://developer.themoviedb.org/reference/genre-tv-list) | `GET /genre/tv/list` |
|
|
162
|
+
|
|
163
|
+
#### Watch Providers
|
|
164
|
+
|
|
165
|
+
| Operation | Endpoint |
|
|
166
|
+
| --------------------------------------------------------------------------------------------------------- | ------------------------------ |
|
|
167
|
+
| [`getWatchProviderRegions`](https://developer.themoviedb.org/reference/watch-providers-available-regions) | `GET /watch/providers/regions` |
|
|
168
|
+
| [`getMovieWatchProviderList`](https://developer.themoviedb.org/reference/watch-providers-movie-list) | `GET /watch/providers/movie` |
|
|
169
|
+
| [`getTvWatchProviderList`](https://developer.themoviedb.org/reference/watch-provider-tv-list) | `GET /watch/providers/tv` |
|
|
170
|
+
|
|
171
|
+
#### Movies
|
|
172
|
+
|
|
173
|
+
| Operation | Endpoint |
|
|
174
|
+
| -------------------------------------------------------------------------------------------------- | ------------------------------------------ |
|
|
175
|
+
| [`getMovie`](https://developer.themoviedb.org/reference/movie-details) | `GET /movie/{movie_id}` |
|
|
176
|
+
| [`getMovieAlternativeTitles`](https://developer.themoviedb.org/reference/movie-alternative-titles) | `GET /movie/{movie_id}/alternative_titles` |
|
|
177
|
+
| [`getMovieChanges`](https://developer.themoviedb.org/reference/movie-changes) | `GET /movie/{movie_id}/changes` |
|
|
178
|
+
| [`getMovieCredits`](https://developer.themoviedb.org/reference/movie-credits) | `GET /movie/{movie_id}/credits` |
|
|
179
|
+
| [`getMovieExternalIds`](https://developer.themoviedb.org/reference/movie-external-ids) | `GET /movie/{movie_id}/external_ids` |
|
|
180
|
+
| [`getMovieImages`](https://developer.themoviedb.org/reference/movie-images) | `GET /movie/{movie_id}/images` |
|
|
181
|
+
| [`getMovieKeywords`](https://developer.themoviedb.org/reference/movie-keywords) | `GET /movie/{movie_id}/keywords` |
|
|
182
|
+
| [`getLatestMovie`](https://developer.themoviedb.org/reference/movie-latest-id) | `GET /movie/latest` |
|
|
183
|
+
| [`getMovieLists`](https://developer.themoviedb.org/reference/movie-lists) | `GET /movie/{movie_id}/lists` |
|
|
184
|
+
| [`getMovieRecommendations`](https://developer.themoviedb.org/reference/movie-recommendations) | `GET /movie/{movie_id}/recommendations` |
|
|
185
|
+
| [`getMovieReleaseDates`](https://developer.themoviedb.org/reference/movie-release-dates) | `GET /movie/{movie_id}/release_dates` |
|
|
186
|
+
| [`getMovieReviews`](https://developer.themoviedb.org/reference/movie-reviews) | `GET /movie/{movie_id}/reviews` |
|
|
187
|
+
| [`getSimilarMovies`](https://developer.themoviedb.org/reference/movie-similar) | `GET /movie/{movie_id}/similar` |
|
|
188
|
+
| [`getMovieTranslations`](https://developer.themoviedb.org/reference/movie-translations) | `GET /movie/{movie_id}/translations` |
|
|
189
|
+
| [`getMovieVideos`](https://developer.themoviedb.org/reference/movie-videos) | `GET /movie/{movie_id}/videos` |
|
|
190
|
+
| [`getMovieWatchProviders`](https://developer.themoviedb.org/reference/movie-watch-providers) | `GET /movie/{movie_id}/watch/providers` |
|
|
191
|
+
| [`getNowPlayingMovies`](https://developer.themoviedb.org/reference/movie-now-playing-list) | `GET /movie/now_playing` |
|
|
192
|
+
| [`getPopularMovies`](https://developer.themoviedb.org/reference/movie-popular-list) | `GET /movie/popular` |
|
|
193
|
+
| [`getTopRatedMovies`](https://developer.themoviedb.org/reference/movie-top-rated-list) | `GET /movie/top_rated` |
|
|
194
|
+
| [`getUpcomingMovies`](https://developer.themoviedb.org/reference/movie-upcoming-list) | `GET /movie/upcoming` |
|
|
195
|
+
| [`getMovieChangeList`](https://developer.themoviedb.org/reference/changes-movie-list) | `GET /movie/changes` |
|
|
196
|
+
|
|
197
|
+
#### TV Series, Seasons & Episodes
|
|
198
|
+
|
|
199
|
+
| Operation | Endpoint |
|
|
200
|
+
| --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
201
|
+
| [`getTvSeries`](https://developer.themoviedb.org/reference/tv-series-details) | `GET /tv/{series_id}` |
|
|
202
|
+
| [`getTvSeriesAggregateCredits`](https://developer.themoviedb.org/reference/tv-series-aggregate-credits) | `GET /tv/{series_id}/aggregate_credits` |
|
|
203
|
+
| [`getTvSeriesAlternativeTitles`](https://developer.themoviedb.org/reference/tv-series-alternative-titles) | `GET /tv/{series_id}/alternative_titles` |
|
|
204
|
+
| [`getTvSeriesChanges`](https://developer.themoviedb.org/reference/tv-series-changes) | `GET /tv/{series_id}/changes` |
|
|
205
|
+
| [`getTvSeriesContentRatings`](https://developer.themoviedb.org/reference/tv-series-content-ratings) | `GET /tv/{series_id}/content_ratings` |
|
|
206
|
+
| [`getTvSeriesCredits`](https://developer.themoviedb.org/reference/tv-series-credits) | `GET /tv/{series_id}/credits` |
|
|
207
|
+
| [`getTvSeriesEpisodeGroups`](https://developer.themoviedb.org/reference/tv-series-episode-groups) | `GET /tv/{series_id}/episode_groups` |
|
|
208
|
+
| [`getTvSeriesExternalIds`](https://developer.themoviedb.org/reference/tv-series-external-ids) | `GET /tv/{series_id}/external_ids` |
|
|
209
|
+
| [`getTvSeriesImages`](https://developer.themoviedb.org/reference/tv-series-images) | `GET /tv/{series_id}/images` |
|
|
210
|
+
| [`getTvSeriesKeywords`](https://developer.themoviedb.org/reference/tv-series-keywords) | `GET /tv/{series_id}/keywords` |
|
|
211
|
+
| [`getLatestTvSeries`](https://developer.themoviedb.org/reference/tv-series-latest-id) | `GET /tv/latest` |
|
|
212
|
+
| [`getTvSeriesLists`](https://developer.themoviedb.org/reference/lists-copy) | `GET /tv/{series_id}/lists` |
|
|
213
|
+
| [`getTvSeriesRecommendations`](https://developer.themoviedb.org/reference/tv-series-recommendations) | `GET /tv/{series_id}/recommendations` |
|
|
214
|
+
| [`getTvSeriesReviews`](https://developer.themoviedb.org/reference/tv-series-reviews) | `GET /tv/{series_id}/reviews` |
|
|
215
|
+
| [`getTvSeriesScreenedTheatrically`](https://developer.themoviedb.org/reference/tv-series-screened-theatrically) | `GET /tv/{series_id}/screened_theatrically` |
|
|
216
|
+
| [`getSimilarTvSeries`](https://developer.themoviedb.org/reference/tv-series-similar) | `GET /tv/{series_id}/similar` |
|
|
217
|
+
| [`getTvSeriesTranslations`](https://developer.themoviedb.org/reference/tv-series-translations) | `GET /tv/{series_id}/translations` |
|
|
218
|
+
| [`getTvSeriesVideos`](https://developer.themoviedb.org/reference/tv-series-videos) | `GET /tv/{series_id}/videos` |
|
|
219
|
+
| [`getTvSeriesWatchProviders`](https://developer.themoviedb.org/reference/tv-series-watch-providers) | `GET /tv/{series_id}/watch/providers` |
|
|
220
|
+
| [`getTvSeriesAiringToday`](https://developer.themoviedb.org/reference/tv-series-airing-today-list) | `GET /tv/airing_today` |
|
|
221
|
+
| [`getTvSeriesOnTheAir`](https://developer.themoviedb.org/reference/tv-series-on-the-air-list) | `GET /tv/on_the_air` |
|
|
222
|
+
| [`getPopularTvSeries`](https://developer.themoviedb.org/reference/tv-series-popular-list) | `GET /tv/popular` |
|
|
223
|
+
| [`getTopRatedTvSeries`](https://developer.themoviedb.org/reference/tv-series-top-rated-list) | `GET /tv/top_rated` |
|
|
224
|
+
| [`getTvChangeList`](https://developer.themoviedb.org/reference/changes-tv-list) | `GET /tv/changes` |
|
|
225
|
+
| [`getTvSeason`](https://developer.themoviedb.org/reference/tv-season-details) | `GET /tv/{series_id}/season/{season_number}` |
|
|
226
|
+
| [`getTvSeasonAggregateCredits`](https://developer.themoviedb.org/reference/tv-season-aggregate-credits) | `GET /tv/{series_id}/season/{season_number}/aggregate_credits` |
|
|
227
|
+
| [`getTvSeasonChanges`](https://developer.themoviedb.org/reference/tv-season-changes-by-id) | `GET /tv/season/{season_id}/changes` |
|
|
228
|
+
| [`getTvSeasonCredits`](https://developer.themoviedb.org/reference/tv-season-credits) | `GET /tv/{series_id}/season/{season_number}/credits` |
|
|
229
|
+
| [`getTvSeasonExternalIds`](https://developer.themoviedb.org/reference/tv-season-external-ids) | `GET /tv/{series_id}/season/{season_number}/external_ids` |
|
|
230
|
+
| [`getTvSeasonImages`](https://developer.themoviedb.org/reference/tv-season-images) | `GET /tv/{series_id}/season/{season_number}/images` |
|
|
231
|
+
| [`getTvSeasonTranslations`](https://developer.themoviedb.org/reference/tv-season-translations) | `GET /tv/{series_id}/season/{season_number}/translations` |
|
|
232
|
+
| [`getTvSeasonVideos`](https://developer.themoviedb.org/reference/tv-season-videos) | `GET /tv/{series_id}/season/{season_number}/videos` |
|
|
233
|
+
| [`getTvSeasonWatchProviders`](https://developer.themoviedb.org/reference/tv-season-watch-providers) | `GET /tv/{series_id}/season/{season_number}/watch/providers` |
|
|
234
|
+
| [`getTvEpisode`](https://developer.themoviedb.org/reference/tv-episode-details) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}` |
|
|
235
|
+
| [`getTvEpisodeChanges`](https://developer.themoviedb.org/reference/tv-episode-changes-by-id) | `GET /tv/episode/{episode_id}/changes` |
|
|
236
|
+
| [`getTvEpisodeCredits`](https://developer.themoviedb.org/reference/tv-episode-credits) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/credits` |
|
|
237
|
+
| [`getTvEpisodeExternalIds`](https://developer.themoviedb.org/reference/tv-episode-external-ids) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/external_ids` |
|
|
238
|
+
| [`getTvEpisodeImages`](https://developer.themoviedb.org/reference/tv-episode-images) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/images` |
|
|
239
|
+
| [`getTvEpisodeTranslations`](https://developer.themoviedb.org/reference/tv-episode-translations) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/translations` |
|
|
240
|
+
| [`getTvEpisodeVideos`](https://developer.themoviedb.org/reference/tv-episode-videos) | `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/videos` |
|
|
241
|
+
| [`getTvEpisodeGroup`](https://developer.themoviedb.org/reference/tv-episode-group-details) | `GET /tv/episode_group/{tv_episode_group_id}` |
|
|
242
|
+
|
|
243
|
+
#### People
|
|
244
|
+
|
|
245
|
+
| Operation | Endpoint |
|
|
246
|
+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------ |
|
|
247
|
+
| [`getPerson`](https://developer.themoviedb.org/reference/person-details) | `GET /person/{person_id}` |
|
|
248
|
+
| [`getPersonChanges`](https://developer.themoviedb.org/reference/person-changes) | `GET /person/{person_id}/changes` |
|
|
249
|
+
| [`getPersonCombinedCredits`](https://developer.themoviedb.org/reference/person-combined-credits) | `GET /person/{person_id}/combined_credits` |
|
|
250
|
+
| [`getPersonExternalIds`](https://developer.themoviedb.org/reference/person-external-ids) | `GET /person/{person_id}/external_ids` |
|
|
251
|
+
| [`getPersonImages`](https://developer.themoviedb.org/reference/person-images) | `GET /person/{person_id}/images` |
|
|
252
|
+
| [`getLatestPerson`](https://developer.themoviedb.org/reference/person-latest-id) | `GET /person/latest` |
|
|
253
|
+
| [`getPersonMovieCredits`](https://developer.themoviedb.org/reference/person-movie-credits) | `GET /person/{person_id}/movie_credits` |
|
|
254
|
+
| [`getPersonTvCredits`](https://developer.themoviedb.org/reference/person-tv-credits) | `GET /person/{person_id}/tv_credits` |
|
|
255
|
+
| [`getPersonTaggedImages`](https://developer.themoviedb.org/reference/person-tagged-images) | `GET /person/{person_id}/tagged_images` |
|
|
256
|
+
| [`getPersonTranslations`](https://developer.themoviedb.org/reference/translations) | `GET /person/{person_id}/translations` |
|
|
257
|
+
| [`getPopularPeople`](https://developer.themoviedb.org/reference/person-popular-list) | `GET /person/popular` |
|
|
258
|
+
| [`getPersonChangeList`](https://developer.themoviedb.org/reference/changes-people-list) | `GET /person/changes` |
|
|
259
|
+
|
|
260
|
+
#### Collections
|
|
261
|
+
|
|
262
|
+
| Operation | Endpoint |
|
|
263
|
+
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
|
|
264
|
+
| [`getCollection`](https://developer.themoviedb.org/reference/collection-details) | `GET /collection/{collection_id}` |
|
|
265
|
+
| [`getCollectionImages`](https://developer.themoviedb.org/reference/collection-images) | `GET /collection/{collection_id}/images` |
|
|
266
|
+
| [`getCollectionTranslations`](https://developer.themoviedb.org/reference/collection-translations) | `GET /collection/{collection_id}/translations` |
|
|
267
|
+
|
|
268
|
+
#### Companies
|
|
269
|
+
|
|
270
|
+
| Operation | Endpoint |
|
|
271
|
+
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------- |
|
|
272
|
+
| [`getCompany`](https://developer.themoviedb.org/reference/company-details) | `GET /company/{company_id}` |
|
|
273
|
+
| [`getCompanyAlternativeNames`](https://developer.themoviedb.org/reference/company-alternative-names) | `GET /company/{company_id}/alternative_names` |
|
|
274
|
+
| [`getCompanyImages`](https://developer.themoviedb.org/reference/company-images) | `GET /company/{company_id}/images` |
|
|
275
|
+
|
|
276
|
+
#### Networks
|
|
277
|
+
|
|
278
|
+
| Operation | Endpoint |
|
|
279
|
+
| --------------------------------------------------------------------------------------- | --------------------------------------------- |
|
|
280
|
+
| [`getNetwork`](https://developer.themoviedb.org/reference/network-details) | `GET /network/{network_id}` |
|
|
281
|
+
| [`getNetworkAlternativeNames`](https://developer.themoviedb.org/reference/details-copy) | `GET /network/{network_id}/alternative_names` |
|
|
282
|
+
| [`getNetworkImages`](https://developer.themoviedb.org/reference/alternative-names-copy) | `GET /network/{network_id}/images` |
|
|
283
|
+
|
|
284
|
+
#### Keywords
|
|
285
|
+
|
|
286
|
+
| Operation | Endpoint |
|
|
287
|
+
| ------------------------------------------------------------------------------- | ---------------------------------- |
|
|
288
|
+
| [`getKeyword`](https://developer.themoviedb.org/reference/keyword-details) | `GET /keyword/{keyword_id}` |
|
|
289
|
+
| [`getKeywordMovies`](https://developer.themoviedb.org/reference/keyword-movies) | `GET /keyword/{keyword_id}/movies` |
|
|
290
|
+
|
|
291
|
+
#### Credits
|
|
292
|
+
|
|
293
|
+
| Operation | Endpoint |
|
|
294
|
+
| ------------------------------------------------------------------------ | ------------------------- |
|
|
295
|
+
| [`getCredit`](https://developer.themoviedb.org/reference/credit-details) | `GET /credit/{credit_id}` |
|
|
296
|
+
|
|
297
|
+
#### Reviews
|
|
298
|
+
|
|
299
|
+
| Operation | Endpoint |
|
|
300
|
+
| ------------------------------------------------------------------------ | ------------------------- |
|
|
301
|
+
| [`getReview`](https://developer.themoviedb.org/reference/review-details) | `GET /review/{review_id}` |
|
|
302
|
+
|
|
303
|
+
#### Lists
|
|
304
|
+
|
|
305
|
+
| Operation | Endpoint |
|
|
306
|
+
| ---------------------------------------------------------------------------------------- | --------------------------------- |
|
|
307
|
+
| [`getList`](https://developer.themoviedb.org/reference/list-details) | `GET /list/{list_id}` |
|
|
308
|
+
| [`getListItemStatus`](https://developer.themoviedb.org/reference/list-check-item-status) | `GET /list/{list_id}/item_status` |
|
|
309
|
+
|
|
310
|
+
#### Search
|
|
311
|
+
|
|
312
|
+
| Operation | Endpoint |
|
|
313
|
+
| ----------------------------------------------------------------------------------- | ------------------------ |
|
|
314
|
+
| [`searchCollections`](https://developer.themoviedb.org/reference/search-collection) | `GET /search/collection` |
|
|
315
|
+
| [`searchCompanies`](https://developer.themoviedb.org/reference/search-company) | `GET /search/company` |
|
|
316
|
+
| [`searchKeywords`](https://developer.themoviedb.org/reference/search-keyword) | `GET /search/keyword` |
|
|
317
|
+
| [`searchMovies`](https://developer.themoviedb.org/reference/search-movie) | `GET /search/movie` |
|
|
318
|
+
| [`searchMulti`](https://developer.themoviedb.org/reference/search-multi) | `GET /search/multi` |
|
|
319
|
+
| [`searchPeople`](https://developer.themoviedb.org/reference/search-person) | `GET /search/person` |
|
|
320
|
+
| [`searchTvSeries`](https://developer.themoviedb.org/reference/search-tv) | `GET /search/tv` |
|
|
321
|
+
|
|
322
|
+
#### Discover
|
|
323
|
+
|
|
324
|
+
| Operation | Endpoint |
|
|
325
|
+
| ----------------------------------------------------------------------------- | --------------------- |
|
|
326
|
+
| [`discoverMovies`](https://developer.themoviedb.org/reference/discover-movie) | `GET /discover/movie` |
|
|
327
|
+
| [`discoverTvSeries`](https://developer.themoviedb.org/reference/discover-tv) | `GET /discover/tv` |
|
|
328
|
+
|
|
329
|
+
#### Find
|
|
330
|
+
|
|
331
|
+
| Operation | Endpoint |
|
|
332
|
+
| --------------------------------------------------------------------------- | ------------------------- |
|
|
333
|
+
| [`findByExternalId`](https://developer.themoviedb.org/reference/find-by-id) | `GET /find/{external_id}` |
|
|
334
|
+
|
|
335
|
+
#### Trending
|
|
336
|
+
|
|
337
|
+
| Operation | Endpoint |
|
|
338
|
+
| --------------------------------------------------------------------------------- | ------------------------------------ |
|
|
339
|
+
| [`getTrending`](https://developer.themoviedb.org/reference/trending-all) | `GET /trending/all/{time_window}` |
|
|
340
|
+
| [`getTrendingMovies`](https://developer.themoviedb.org/reference/trending-movies) | `GET /trending/movie/{time_window}` |
|
|
341
|
+
| [`getTrendingPeople`](https://developer.themoviedb.org/reference/trending-people) | `GET /trending/person/{time_window}` |
|
|
342
|
+
| [`getTrendingTvSeries`](https://developer.themoviedb.org/reference/trending-tv) | `GET /trending/tv/{time_window}` |
|
|
343
|
+
|
|
344
|
+
#### Not yet implemented
|
|
345
|
+
|
|
346
|
+
The 36 session-scoped operations (authentication, account, ratings, list editing, guest sessions and account states) need a user session and are planned for a later release: `GET /authentication`, `GET /account/{account_id}`, `POST /account/{account_id}/favorite`, `POST /account/{account_id}/watchlist`, `GET /account/{account_id}/favorite/movies`, `GET /account/{account_id}/favorite/tv`, `GET /account/{account_id}/lists`, `GET /account/{account_id}/rated/movies`, `GET /account/{account_id}/rated/tv`, `GET /account/{account_id}/rated/tv/episodes`, `GET /account/{account_id}/watchlist/movies`, `GET /account/{account_id}/watchlist/tv`, `GET /authentication/guest_session/new`, `GET /authentication/token/new`, `POST /authentication/session/new`, `POST /authentication/session/convert/4`, `POST /authentication/token/validate_with_login`, `DELETE /authentication/session`, `GET /guest_session/{guest_session_id}/rated/movies`, `GET /guest_session/{guest_session_id}/rated/tv`, `GET /guest_session/{guest_session_id}/rated/tv/episodes`, `POST /list/{list_id}/add_item`, `POST /list/{list_id}/clear`, `POST /list`, `DELETE /list/{list_id}`, `POST /list/{list_id}/remove_item`, `GET /movie/{movie_id}/account_states`, `POST /movie/{movie_id}/rating`, `DELETE /movie/{movie_id}/rating`, `GET /tv/{series_id}/account_states`, `POST /tv/{series_id}/rating`, `DELETE /tv/{series_id}/rating`, `GET /tv/{series_id}/season/{season_number}/account_states`, `GET /tv/{series_id}/season/{season_number}/episode/{episode_number}/account_states`, `POST /tv/{series_id}/season/{season_number}/episode/{episode_number}/rating`, `DELETE /tv/{series_id}/season/{season_number}/episode/{episode_number}/rating`.
|
|
347
|
+
|
|
348
|
+
<!-- coverage:end -->
|
|
349
|
+
|
|
350
|
+
## 🤝 Contributing
|
|
351
|
+
|
|
352
|
+
The project uses [Vite+][viteplus] as a unified toolchain (Oxlint + Oxfmt + tsdown + Vitest) and [Bumpy][bumpy] for versioning and release. See [`docs/plan.md`][plan] for the design decisions and [`AGENTS.md`][agents] for the conventions.
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
vp install # install dependencies
|
|
356
|
+
vp check --fix # format + lint + typecheck (with autofixes)
|
|
357
|
+
vp test # run Vitest
|
|
358
|
+
yarn fixtures:record # re-record TMDB responses (needs TMDB_API_TOKEN or TMDB_API_KEY in .env)
|
|
359
|
+
yarn bumpy add # create a bump file for your PR
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
Schemas are written from recorded responses, not from TMDB's OpenAPI spec, which names every field but marks none as nullable. `node scripts/codegen/draft.ts <operation> [path]` prints a draft schema from the evidence in `fixtures/shapes.json`, and `node scripts/codegen/scaffold.ts <domain>` writes the op files and specs for new entries in `scripts/codegen/operations.ts`.
|
|
363
|
+
|
|
364
|
+
## 📣 Acknowledgements
|
|
365
|
+
|
|
366
|
+
tmdbkit's request layer and conventions follow [discordkit][discordkit], and it succeeds the GraphQL-based [`tmdb-api`][tmdb_api].
|
|
367
|
+
|
|
368
|
+
This product uses the TMDB API but is not endorsed or certified by TMDB. If your app uses tmdbkit, [TMDB's terms][tmdb_faq] ask you to attribute TMDB as the source of its data and images, in your app's "About" or "Credits" section.
|
|
369
|
+
|
|
370
|
+
## 🥂 License
|
|
371
|
+
|
|
372
|
+
Released under the [MIT license][license] © [Drake Costa][personal-website].
|
|
373
|
+
|
|
374
|
+
[npm_badge]: https://img.shields.io/npm/v/@saeris/tmdbkit.svg?style=flat
|
|
375
|
+
[npm]: https://www.npmjs.com/package/@saeris/tmdbkit
|
|
376
|
+
[ci_badge]: https://github.com/Saeris/tmdbkit/actions/workflows/ci.yml/badge.svg
|
|
377
|
+
[ci]: https://github.com/Saeris/tmdbkit/actions/workflows/ci.yml
|
|
378
|
+
[tmdb]: https://www.themoviedb.org/
|
|
379
|
+
[tmdb_api_settings]: https://www.themoviedb.org/settings/api
|
|
380
|
+
[tmdb_rate_limiting]: https://developer.themoviedb.org/docs/rate-limiting
|
|
381
|
+
[tmdb_faq]: https://developer.themoviedb.org/docs/faq
|
|
382
|
+
[valibot]: https://github.com/fabian-hiller/valibot
|
|
383
|
+
[viteplus]: https://viteplus.dev/
|
|
384
|
+
[bumpy]: https://bumpy.varlock.dev/
|
|
385
|
+
[discordkit]: https://github.com/discordkit/discordkit
|
|
386
|
+
[tmdb_api]: https://github.com/Saeris/tmdb-api
|
|
387
|
+
[plan]: https://github.com/Saeris/tmdbkit/blob/main/docs/plan.md
|
|
388
|
+
[agents]: https://github.com/Saeris/tmdbkit/blob/main/AGENTS.md
|
|
389
|
+
[license]: https://github.com/Saeris/tmdbkit/blob/main/LICENSE.md
|
|
390
|
+
[personal-website]: https://saeris.gg
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { Certifications } from "./types/Certifications.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Movie Certifications](https://developer.themoviedb.org/reference/certification-movie-list)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/certification/movie/list`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getMovieCertifications: Fetcher<null, Certifications>;
|
|
9
|
+
//# sourceMappingURL=getMovieCertifications.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMovieCertifications.d.mts","names":[],"sources":["../../src/certification/getMovieCertifications.ts"],"mappings":";;;;;;;qBAQa,wBAAwB,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/certification/getMovieCertifications.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Movie Certifications](https://developer.themoviedb.org/reference/certification-movie-list)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/certification/movie/list`
|
|
7
|
+
*/
|
|
8
|
+
const getMovieCertifications = async (options) => get(`/certification/movie/list`, void 0, options);
|
|
9
|
+
export { getMovieCertifications };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getMovieCertifications.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMovieCertifications.mjs","names":[],"sources":["../../src/certification/getMovieCertifications.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { Certifications } from \"./types/Certifications.js\";\n\n/**\n * ### [Movie Certifications](https://developer.themoviedb.org/reference/certification-movie-list)\n *\n * **GET** `/certification/movie/list`\n */\nexport const getMovieCertifications: Fetcher<null, Certifications> = async (\n options\n) => get(`/certification/movie/list`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,yBAAwD,OACnE,YACG,IAAI,6BAA6B,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { Certifications } from "./types/Certifications.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [TV Certifications](https://developer.themoviedb.org/reference/certifications-tv-list)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/certification/tv/list`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getTvCertifications: Fetcher<null, Certifications>;
|
|
9
|
+
//# sourceMappingURL=getTvCertifications.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTvCertifications.d.mts","names":[],"sources":["../../src/certification/getTvCertifications.ts"],"mappings":";;;;;;;qBAQa,qBAAqB,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/certification/getTvCertifications.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [TV Certifications](https://developer.themoviedb.org/reference/certifications-tv-list)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/certification/tv/list`
|
|
7
|
+
*/
|
|
8
|
+
const getTvCertifications = async (options) => get(`/certification/tv/list`, void 0, options);
|
|
9
|
+
export { getTvCertifications };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getTvCertifications.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTvCertifications.mjs","names":[],"sources":["../../src/certification/getTvCertifications.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { Certifications } from \"./types/Certifications.js\";\n\n/**\n * ### [TV Certifications](https://developer.themoviedb.org/reference/certifications-tv-list)\n *\n * **GET** `/certification/tv/list`\n */\nexport const getTvCertifications: Fetcher<null, Certifications> = async (\n options\n) => get(`/certification/tv/list`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,sBAAqD,OAChE,YACG,IAAI,0BAA0B,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Certification, Certifications, certificationsSchema } from "./types/Certifications.mjs";
|
|
2
|
+
import { getMovieCertifications } from "./getMovieCertifications.mjs";
|
|
3
|
+
import { getTvCertifications } from "./getTvCertifications.mjs";
|
|
4
|
+
import "./types/index.mjs";
|
|
5
|
+
export { Certification, Certifications, certificationsSchema, getMovieCertifications, getTvCertifications };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { getMovieCertifications } from "./getMovieCertifications.mjs";
|
|
2
|
+
import { getTvCertifications } from "./getTvCertifications.mjs";
|
|
3
|
+
import { certificationsSchema } from "./types/Certifications.mjs";
|
|
4
|
+
export { certificationsSchema, getMovieCertifications, getTvCertifications };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _certificationSchema: v.ObjectSchema<{
|
|
3
|
+
/** The rating itself, e.g. `PG-13`. */
|
|
4
|
+
readonly certification: v.StringSchema<undefined>;
|
|
5
|
+
/** What the rating means, or `""`. */
|
|
6
|
+
readonly meaning: v.StringSchema<undefined>;
|
|
7
|
+
/** Rank within the country, lowest (least restrictive) first. */
|
|
8
|
+
readonly order: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
9
|
+
}, undefined>;
|
|
10
|
+
export interface Certification extends v.InferOutput<typeof _certificationSchema> {}
|
|
11
|
+
declare const _certificationsSchema: v.ObjectSchema<{
|
|
12
|
+
/** Keyed by ISO 3166-1 country code (and some subdivisions, e.g. `CA-QC`). */
|
|
13
|
+
readonly certifications: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.GenericSchema<Certification>, undefined>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
export interface Certifications extends v.InferOutput<typeof _certificationsSchema> {}
|
|
16
|
+
/**
|
|
17
|
+
* ### Certifications
|
|
18
|
+
*
|
|
19
|
+
* The content ratings each country uses for movies or TV (`getMovieCertifications`, `getTvCertifications`).
|
|
20
|
+
*/
|
|
21
|
+
export declare const certificationsSchema: v.GenericSchema<Certifications>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Certifications.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Certifications.d.mts","names":[],"sources":["../../../src/certification/types/Certifications.ts"],"mappings":";cAIM,sBAAoB,EAAA;;;;;;;;iBAST,sBAAsB,EAAE,mBAChC;cAGH,uBAAqB,EAAA;;;;iBAQV,uBAAuB,EAAE,mBACjC;;;;;;qBAQI,sBAAoB,EAAA,cAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/certification/types/Certifications.ts
|
|
5
|
+
const _certificationSchema = v.object({
|
|
6
|
+
/** The rating itself, e.g. `PG-13`. */
|
|
7
|
+
certification: v.string(),
|
|
8
|
+
/** What the rating means, or `""`. */
|
|
9
|
+
meaning: v.string(),
|
|
10
|
+
/** Rank within the country, lowest (least restrictive) first. */
|
|
11
|
+
order: integer
|
|
12
|
+
});
|
|
13
|
+
const _certificationsSchema = v.object({
|
|
14
|
+
/** Keyed by ISO 3166-1 country code (and some subdivisions, e.g. `CA-QC`). */
|
|
15
|
+
certifications: v.record(v.string(), v.array(schema(_certificationSchema))) });
|
|
16
|
+
/**
|
|
17
|
+
* ### Certifications
|
|
18
|
+
*
|
|
19
|
+
* The content ratings each country uses for movies or TV (`getMovieCertifications`, `getTvCertifications`).
|
|
20
|
+
*/
|
|
21
|
+
const certificationsSchema = schema(_certificationsSchema);
|
|
22
|
+
export { certificationsSchema };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=Certifications.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Certifications.mjs","names":[],"sources":["../../../src/certification/types/Certifications.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _certificationSchema = v.object({\n /** The rating itself, e.g. `PG-13`. */\n certification: v.string(),\n /** What the rating means, or `\"\"`. */\n meaning: v.string(),\n /** Rank within the country, lowest (least restrictive) first. */\n order: integer\n});\n\nexport interface Certification extends v.InferOutput<\n typeof _certificationSchema\n> {}\n\nconst _certificationsSchema = v.object({\n /** Keyed by ISO 3166-1 country code (and some subdivisions, e.g. `CA-QC`). */\n certifications: v.record(\n v.string(),\n v.array(schema<Certification>(_certificationSchema))\n )\n});\n\nexport interface Certifications extends v.InferOutput<\n typeof _certificationsSchema\n> {}\n\n/**\n * ### Certifications\n *\n * The content ratings each country uses for movies or TV (`getMovieCertifications`, `getTvCertifications`).\n */\nexport const certificationsSchema = schema<Certifications>(\n _certificationsSchema\n);\n"],"mappings":";;;;AAIA,MAAM,uBAAuB,EAAE,OAAO;;CAEpC,eAAe,EAAE,OAAO;;CAExB,SAAS,EAAE,OAAO;;CAElB,OAAO;AACT,CAAC;AAMD,MAAM,wBAAwB,EAAE,OAAO;;AAErC,gBAAgB,EAAE,OAChB,EAAE,OAAO,GACT,EAAE,MAAM,OAAsB,oBAAoB,CAAC,CACrD,EACF,CAAC;;;;;;AAWD,MAAa,uBAAuB,OAClC,qBACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { certificationsSchema } from "./Certifications.mjs";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { CollectionDetails } from "./types/CollectionDetails.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getCollectionSchema: v.ObjectSchema<{
|
|
5
|
+
readonly collectionId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6
|
+
readonly params: v.ExactOptionalSchema<Omit<v.ObjectSchema<{
|
|
7
|
+
readonly language: v.StringSchema<undefined>;
|
|
8
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
9
|
+
readonly entries: {
|
|
10
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
};
|
|
12
|
+
readonly "~standard": v.StandardProps<{
|
|
13
|
+
language?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
language?: string | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
}, v.StringIssue | v.ObjectIssue>;
|
|
20
|
+
readonly "~types"?: {
|
|
21
|
+
readonly input: {
|
|
22
|
+
language?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
readonly output: {
|
|
25
|
+
language?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
28
|
+
} | undefined;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* ### [Details](https://developer.themoviedb.org/reference/collection-details)
|
|
33
|
+
*
|
|
34
|
+
* **GET** `/collection/{collection_id}`
|
|
35
|
+
*/
|
|
36
|
+
export declare const getCollection: Fetcher<typeof getCollectionSchema, CollectionDetails>;
|
|
37
|
+
//# sourceMappingURL=getCollection.d.mts.map
|