@saeris/tmdbkit 0.0.0-stage → 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 +389 -2
- 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 +54 -3
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { pageEntries, pagedResults } from "../../types/PagedResults.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/movie/types/MovieListItem.ts
|
|
6
|
+
const movieListItemEntries = {
|
|
7
|
+
adult: v.boolean(),
|
|
8
|
+
backdropPath: v.nullable(v.string()),
|
|
9
|
+
/** Ids into `getMovieGenres`. */
|
|
10
|
+
genreIds: v.array(integer),
|
|
11
|
+
id: integer,
|
|
12
|
+
originalLanguage: v.string(),
|
|
13
|
+
originalTitle: v.string(),
|
|
14
|
+
/** `""` when TMDB has none. */
|
|
15
|
+
overview: v.string(),
|
|
16
|
+
popularity: v.number(),
|
|
17
|
+
posterPath: v.nullable(v.string()),
|
|
18
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
19
|
+
releaseDate: v.string(),
|
|
20
|
+
softcore: v.boolean(),
|
|
21
|
+
title: v.string(),
|
|
22
|
+
video: v.boolean(),
|
|
23
|
+
voteAverage: v.number(),
|
|
24
|
+
voteCount: integer
|
|
25
|
+
};
|
|
26
|
+
const _movieListItemSchema = v.object(movieListItemEntries);
|
|
27
|
+
/**
|
|
28
|
+
* ### Movie List Item
|
|
29
|
+
*
|
|
30
|
+
* The summary of a movie that list, search and discover endpoints return. Fetch `getMovie` for the details.
|
|
31
|
+
*/
|
|
32
|
+
const movieListItemSchema = schema(_movieListItemSchema);
|
|
33
|
+
const movieMediaListItemEntries = {
|
|
34
|
+
...movieListItemEntries,
|
|
35
|
+
mediaType: v.literal(`movie`)
|
|
36
|
+
};
|
|
37
|
+
const _movieMediaListItemSchema = v.object(movieMediaListItemEntries);
|
|
38
|
+
/** A {@link MovieListItem} tagged with `mediaType: "movie"`, as endpoints that can mix media types return it (recommendations, trending, collections, lists). */
|
|
39
|
+
const movieMediaListItemSchema = schema(_movieMediaListItemSchema);
|
|
40
|
+
/** A page of {@link MovieListItem}s. */
|
|
41
|
+
const pagedMovieResultsSchema = schema(pagedResults(movieListItemSchema));
|
|
42
|
+
/** A page of {@link MovieMediaListItem}s. */
|
|
43
|
+
const pagedMovieMediaResultsSchema = schema(pagedResults(movieMediaListItemSchema));
|
|
44
|
+
const _datedMovieResultsSchema = v.object({
|
|
45
|
+
...pageEntries,
|
|
46
|
+
results: v.array(movieListItemSchema),
|
|
47
|
+
/** The release-date window the list covers, as `YYYY-MM-DD`. */
|
|
48
|
+
dates: v.object({
|
|
49
|
+
maximum: v.string(),
|
|
50
|
+
minimum: v.string()
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
/** A page of {@link MovieListItem}s with the date window it covers (`getNowPlayingMovies`, `getUpcomingMovies`). */
|
|
54
|
+
const datedMovieResultsSchema = schema(_datedMovieResultsSchema);
|
|
55
|
+
export { datedMovieResultsSchema, movieListItemEntries, movieListItemSchema, movieMediaListItemEntries, movieMediaListItemSchema, pagedMovieMediaResultsSchema, pagedMovieResultsSchema };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=MovieListItem.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieListItem.mjs","names":[],"sources":["../../../src/movie/types/MovieListItem.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport {\n pageEntries,\n pagedResults,\n type PagedResults\n} from \"../../types/PagedResults.js\";\n\nexport const movieListItemEntries = {\n adult: v.boolean(),\n backdropPath: v.nullable(v.string()),\n /** Ids into `getMovieGenres`. */\n genreIds: v.array(integer),\n id: integer,\n originalLanguage: v.string(),\n originalTitle: v.string(),\n /** `\"\"` when TMDB has none. */\n overview: v.string(),\n popularity: v.number(),\n posterPath: v.nullable(v.string()),\n /** `YYYY-MM-DD`, or `\"\"` when unknown. */\n releaseDate: v.string(),\n softcore: v.boolean(),\n title: v.string(),\n video: v.boolean(),\n voteAverage: v.number(),\n voteCount: integer\n} as const;\n\nconst _movieListItemSchema = v.object(movieListItemEntries);\n\nexport interface MovieListItem extends v.InferOutput<\n typeof _movieListItemSchema\n> {}\n\n/**\n * ### Movie List Item\n *\n * The summary of a movie that list, search and discover endpoints return. Fetch `getMovie` for the details.\n */\nexport const movieListItemSchema = schema<MovieListItem>(_movieListItemSchema);\n\nexport const movieMediaListItemEntries = {\n ...movieListItemEntries,\n mediaType: v.literal(`movie`)\n} as const;\n\nconst _movieMediaListItemSchema = v.object(movieMediaListItemEntries);\n\nexport interface MovieMediaListItem extends v.InferOutput<\n typeof _movieMediaListItemSchema\n> {}\n\n/** A {@link MovieListItem} tagged with `mediaType: \"movie\"`, as endpoints that can mix media types return it (recommendations, trending, collections, lists). */\nexport const movieMediaListItemSchema = schema<MovieMediaListItem>(\n _movieMediaListItemSchema\n);\n\nexport interface PagedMovieResults extends PagedResults<MovieListItem> {}\n\n/** A page of {@link MovieListItem}s. */\nexport const pagedMovieResultsSchema = schema<PagedMovieResults>(\n pagedResults(movieListItemSchema)\n);\n\nexport interface PagedMovieMediaResults extends PagedResults<MovieMediaListItem> {}\n\n/** A page of {@link MovieMediaListItem}s. */\nexport const pagedMovieMediaResultsSchema = schema<PagedMovieMediaResults>(\n pagedResults(movieMediaListItemSchema)\n);\n\nconst _datedMovieResultsSchema = v.object({\n ...pageEntries,\n results: v.array(movieListItemSchema),\n /** The release-date window the list covers, as `YYYY-MM-DD`. */\n dates: v.object({ maximum: v.string(), minimum: v.string() })\n});\n\nexport interface DatedMovieResults extends v.InferOutput<\n typeof _datedMovieResultsSchema\n> {}\n\n/** A page of {@link MovieListItem}s with the date window it covers (`getNowPlayingMovies`, `getUpcomingMovies`). */\nexport const datedMovieResultsSchema = schema<DatedMovieResults>(\n _datedMovieResultsSchema\n);\n"],"mappings":";;;;;AASA,MAAa,uBAAuB;CAClC,OAAO,EAAE,QAAQ;CACjB,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;;CAEnC,UAAU,EAAE,MAAM,OAAO;CACzB,IAAI;CACJ,kBAAkB,EAAE,OAAO;CAC3B,eAAe,EAAE,OAAO;;CAExB,UAAU,EAAE,OAAO;CACnB,YAAY,EAAE,OAAO;CACrB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;;CAEjC,aAAa,EAAE,OAAO;CACtB,UAAU,EAAE,QAAQ;CACpB,OAAO,EAAE,OAAO;CAChB,OAAO,EAAE,QAAQ;CACjB,aAAa,EAAE,OAAO;CACtB,WAAW;AACb;AAEA,MAAM,uBAAuB,EAAE,OAAO,oBAAoB;;;;;;AAW1D,MAAa,sBAAsB,OAAsB,oBAAoB;AAE7E,MAAa,4BAA4B;CACvC,GAAG;CACH,WAAW,EAAE,QAAQ,OAAO;AAC9B;AAEA,MAAM,4BAA4B,EAAE,OAAO,yBAAyB;;AAOpE,MAAa,2BAA2B,OACtC,yBACF;;AAKA,MAAa,0BAA0B,OACrC,aAAa,mBAAmB,CAClC;;AAKA,MAAa,+BAA+B,OAC1C,aAAa,wBAAwB,CACvC;AAEA,MAAM,2BAA2B,EAAE,OAAO;CACxC,GAAG;CACH,SAAS,EAAE,MAAM,mBAAmB;;CAEpC,OAAO,EAAE,OAAO;EAAE,SAAS,EAAE,OAAO;EAAG,SAAS,EAAE,OAAO;CAAE,CAAC;AAC9D,CAAC;;AAOD,MAAa,0BAA0B,OACrC,wBACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/**
|
|
3
|
+
* TMDB's release types (https://developer.themoviedb.org/reference/movie-release-dates, verified 2026-10-28): `1` Premiere, `2` Theatrical (limited), `3` Theatrical, `4` Digital, `5` Physical, `6` TV.
|
|
4
|
+
*/
|
|
5
|
+
export declare const releaseType: v.PicklistSchema<[1, 2, 3, 4, 5, 6], undefined>;
|
|
6
|
+
declare const _releaseDateSchema: v.ObjectSchema<{
|
|
7
|
+
/** The rating in that region (e.g. `PG-13`), or `""`. */
|
|
8
|
+
readonly certification: v.StringSchema<undefined>;
|
|
9
|
+
/** Content descriptors. TMDB doesn't document their type, and only empty arrays were recorded, so they're left `unknown`. */
|
|
10
|
+
readonly descriptors: v.ArraySchema<v.UnknownSchema, undefined>;
|
|
11
|
+
/** Language of the release, or `""`. */
|
|
12
|
+
readonly iso_639_1: v.StringSchema<undefined>;
|
|
13
|
+
/** e.g. a festival name, or `""`. */
|
|
14
|
+
readonly note: v.StringSchema<undefined>;
|
|
15
|
+
/** ISO 8601 timestamp, e.g. `2012-08-28T00:00:00.000Z`. */
|
|
16
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
17
|
+
readonly type: v.PicklistSchema<[1, 2, 3, 4, 5, 6], undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
export interface ReleaseDate extends v.InferOutput<typeof _releaseDateSchema> {}
|
|
20
|
+
declare const _movieReleaseDatesSchema: v.ObjectSchema<{
|
|
21
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
22
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
23
|
+
/** ISO 3166-1 code. */
|
|
24
|
+
readonly iso_3166_1: v.StringSchema<undefined>;
|
|
25
|
+
readonly releaseDates: v.ArraySchema<v.GenericSchema<ReleaseDate>, undefined>;
|
|
26
|
+
}, undefined>, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
export interface MovieReleaseDates extends v.InferOutput<typeof _movieReleaseDatesSchema> {}
|
|
29
|
+
/**
|
|
30
|
+
* ### Movie Release Dates
|
|
31
|
+
*
|
|
32
|
+
* A movie's releases and content ratings, per region (`getMovieReleaseDates`): where Plex-style `mpaa` ratings come from.
|
|
33
|
+
*/
|
|
34
|
+
export declare const movieReleaseDatesSchema: v.GenericSchema<MovieReleaseDates>;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=MovieReleaseDates.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieReleaseDates.d.mts","names":[],"sources":["../../../src/movie/types/MovieReleaseDates.ts"],"mappings":";;;;qBAOa,aAAW,EAAA;cAElB,oBAAkB,EAAA;;;;;;;;;;;;;iBAcP,oBAAoB,EAAE,mBAAmB;cAEpD,0BAAwB,EAAA;;;;;;;;iBAWb,0BAA0B,EAAE,mBACpC;;;;;;qBAQI,yBAAuB,EAAA,cAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/movie/types/MovieReleaseDates.ts
|
|
5
|
+
/**
|
|
6
|
+
* TMDB's release types (https://developer.themoviedb.org/reference/movie-release-dates, verified 2026-10-28): `1` Premiere, `2` Theatrical (limited), `3` Theatrical, `4` Digital, `5` Physical, `6` TV.
|
|
7
|
+
*/
|
|
8
|
+
const releaseType = v.picklist([
|
|
9
|
+
1,
|
|
10
|
+
2,
|
|
11
|
+
3,
|
|
12
|
+
4,
|
|
13
|
+
5,
|
|
14
|
+
6
|
|
15
|
+
]);
|
|
16
|
+
const _releaseDateSchema = v.object({
|
|
17
|
+
/** The rating in that region (e.g. `PG-13`), or `""`. */
|
|
18
|
+
certification: v.string(),
|
|
19
|
+
/** Content descriptors. TMDB doesn't document their type, and only empty arrays were recorded, so they're left `unknown`. */
|
|
20
|
+
descriptors: v.array(v.unknown()),
|
|
21
|
+
/** Language of the release, or `""`. */
|
|
22
|
+
iso_639_1: v.string(),
|
|
23
|
+
/** e.g. a festival name, or `""`. */
|
|
24
|
+
note: v.string(),
|
|
25
|
+
/** ISO 8601 timestamp, e.g. `2012-08-28T00:00:00.000Z`. */
|
|
26
|
+
releaseDate: v.string(),
|
|
27
|
+
type: releaseType
|
|
28
|
+
});
|
|
29
|
+
const _movieReleaseDatesSchema = v.object({
|
|
30
|
+
id: integer,
|
|
31
|
+
results: v.array(v.object({
|
|
32
|
+
/** ISO 3166-1 code. */
|
|
33
|
+
iso_3166_1: v.string(),
|
|
34
|
+
releaseDates: v.array(schema(_releaseDateSchema))
|
|
35
|
+
}))
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* ### Movie Release Dates
|
|
39
|
+
*
|
|
40
|
+
* A movie's releases and content ratings, per region (`getMovieReleaseDates`): where Plex-style `mpaa` ratings come from.
|
|
41
|
+
*/
|
|
42
|
+
const movieReleaseDatesSchema = schema(_movieReleaseDatesSchema);
|
|
43
|
+
export { movieReleaseDatesSchema, releaseType };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=MovieReleaseDates.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieReleaseDates.mjs","names":[],"sources":["../../../src/movie/types/MovieReleaseDates.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\n/**\n * TMDB's release types (https://developer.themoviedb.org/reference/movie-release-dates, verified 2026-10-28): `1` Premiere, `2` Theatrical (limited), `3` Theatrical, `4` Digital, `5` Physical, `6` TV.\n */\nexport const releaseType = v.picklist([1, 2, 3, 4, 5, 6]);\n\nconst _releaseDateSchema = v.object({\n /** The rating in that region (e.g. `PG-13`), or `\"\"`. */\n certification: v.string(),\n /** Content descriptors. TMDB doesn't document their type, and only empty arrays were recorded, so they're left `unknown`. */\n descriptors: v.array(v.unknown()),\n /** Language of the release, or `\"\"`. */\n iso_639_1: v.string(),\n /** e.g. a festival name, or `\"\"`. */\n note: v.string(),\n /** ISO 8601 timestamp, e.g. `2012-08-28T00:00:00.000Z`. */\n releaseDate: v.string(),\n type: releaseType\n});\n\nexport interface ReleaseDate extends v.InferOutput<typeof _releaseDateSchema> {}\n\nconst _movieReleaseDatesSchema = v.object({\n id: integer,\n results: v.array(\n v.object({\n /** ISO 3166-1 code. */\n iso_3166_1: v.string(),\n releaseDates: v.array(schema<ReleaseDate>(_releaseDateSchema))\n })\n )\n});\n\nexport interface MovieReleaseDates extends v.InferOutput<\n typeof _movieReleaseDatesSchema\n> {}\n\n/**\n * ### Movie Release Dates\n *\n * A movie's releases and content ratings, per region (`getMovieReleaseDates`): where Plex-style `mpaa` ratings come from.\n */\nexport const movieReleaseDatesSchema = schema<MovieReleaseDates>(\n _movieReleaseDatesSchema\n);\n"],"mappings":";;;;;;;AAOA,MAAa,cAAc,EAAE,SAAS;CAAC;CAAG;CAAG;CAAG;CAAG;CAAG;AAAC,CAAC;AAExD,MAAM,qBAAqB,EAAE,OAAO;;CAElC,eAAe,EAAE,OAAO;;CAExB,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC;;CAEhC,WAAW,EAAE,OAAO;;CAEpB,MAAM,EAAE,OAAO;;CAEf,aAAa,EAAE,OAAO;CACtB,MAAM;AACR,CAAC;AAID,MAAM,2BAA2B,EAAE,OAAO;CACxC,IAAI;CACJ,SAAS,EAAE,MACT,EAAE,OAAO;;EAEP,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,MAAM,OAAoB,kBAAkB,CAAC;CAC/D,CAAC,CACH;AACF,CAAC;;;;;;AAWD,MAAa,0BAA0B,OACrC,wBACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Translations } from "../../types/Translation.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
declare const _movieTranslationDataSchema: v.ObjectSchema<{
|
|
4
|
+
readonly title: v.StringSchema<undefined>;
|
|
5
|
+
readonly overview: v.StringSchema<undefined>;
|
|
6
|
+
readonly tagline: v.StringSchema<undefined>;
|
|
7
|
+
readonly homepage: v.StringSchema<undefined>;
|
|
8
|
+
/** Minutes; `0` when the translation doesn't set it. */
|
|
9
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
export interface MovieTranslationData extends v.InferOutput<typeof _movieTranslationDataSchema> {}
|
|
12
|
+
export interface MovieTranslations extends Translations<MovieTranslationData> {}
|
|
13
|
+
/**
|
|
14
|
+
* ### Movie Translations
|
|
15
|
+
*
|
|
16
|
+
* A movie's title, overview, tagline, homepage and runtime in each language TMDB has them in (`getMovieTranslations`). Untranslated fields are `""`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const movieTranslationsSchema: v.GenericSchema<MovieTranslations>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=MovieTranslations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieTranslations.d.mts","names":[],"sources":["../../../src/movie/types/MovieTranslations.ts"],"mappings":";;cAKM,6BAA2B,EAAA;;;;;;;;iBAShB,6BAA6B,EAAE,mBACvC;iBAGQ,0BAA0B,aAAa;;;;;;qBAO3C,yBAAuB,EAAA,cAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { translations } from "../../types/Translation.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/movie/types/MovieTranslations.ts
|
|
6
|
+
const _movieTranslationDataSchema = v.object({
|
|
7
|
+
title: v.string(),
|
|
8
|
+
overview: v.string(),
|
|
9
|
+
tagline: v.string(),
|
|
10
|
+
homepage: v.string(),
|
|
11
|
+
/** Minutes; `0` when the translation doesn't set it. */
|
|
12
|
+
runtime: v.nullable(integer)
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* ### Movie Translations
|
|
16
|
+
*
|
|
17
|
+
* A movie's title, overview, tagline, homepage and runtime in each language TMDB has them in (`getMovieTranslations`). Untranslated fields are `""`.
|
|
18
|
+
*/
|
|
19
|
+
const movieTranslationsSchema = schema(translations(_movieTranslationDataSchema));
|
|
20
|
+
export { movieTranslationsSchema };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=MovieTranslations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieTranslations.mjs","names":[],"sources":["../../../src/movie/types/MovieTranslations.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { translations, type Translations } from \"../../types/Translation.js\";\n\nconst _movieTranslationDataSchema = v.object({\n title: v.string(),\n overview: v.string(),\n tagline: v.string(),\n homepage: v.string(),\n /** Minutes; `0` when the translation doesn't set it. */\n runtime: v.nullable(integer)\n});\n\nexport interface MovieTranslationData extends v.InferOutput<\n typeof _movieTranslationDataSchema\n> {}\n\nexport interface MovieTranslations extends Translations<MovieTranslationData> {}\n\n/**\n * ### Movie Translations\n *\n * A movie's title, overview, tagline, homepage and runtime in each language TMDB has them in (`getMovieTranslations`). Untranslated fields are `\"\"`.\n */\nexport const movieTranslationsSchema = schema<MovieTranslations>(\n translations(_movieTranslationDataSchema)\n);\n"],"mappings":";;;;;AAKA,MAAM,8BAA8B,EAAE,OAAO;CAC3C,OAAO,EAAE,OAAO;CAChB,UAAU,EAAE,OAAO;CACnB,SAAS,EAAE,OAAO;CAClB,UAAU,EAAE,OAAO;;CAEnB,SAAS,EAAE,SAAS,OAAO;AAC7B,CAAC;;;;;;AAaD,MAAa,0BAA0B,OACrC,aAAa,2BAA2B,CAC1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DatedMovieResults, MovieListItem, MovieMediaListItem, PagedMovieMediaResults, PagedMovieResults, datedMovieResultsSchema, movieListItemEntries, movieListItemSchema, movieMediaListItemEntries, movieMediaListItemSchema, pagedMovieMediaResultsSchema, pagedMovieResultsSchema } from "./MovieListItem.mjs";
|
|
2
|
+
import { MovieAlternativeTitles, movieAlternativeTitlesSchema } from "./MovieAlternativeTitles.mjs";
|
|
3
|
+
import { MovieCastCredit, MovieCredits, movieCastCreditSchema, movieCreditsSchema } from "./MovieCredits.mjs";
|
|
4
|
+
import { MovieExternalIds, movieExternalIdsSchema } from "./MovieExternalIds.mjs";
|
|
5
|
+
import { MovieKeywords, movieKeywordsSchema } from "./MovieKeywords.mjs";
|
|
6
|
+
import { MovieReleaseDates, ReleaseDate, movieReleaseDatesSchema, releaseType } from "./MovieReleaseDates.mjs";
|
|
7
|
+
import { MovieTranslationData, MovieTranslations, movieTranslationsSchema } from "./MovieTranslations.mjs";
|
|
8
|
+
import { MovieDetails, movieAppendedEntries, movieDetailsEntries, movieDetailsSchema } from "./MovieDetails.mjs";
|
|
9
|
+
export { DatedMovieResults, MovieAlternativeTitles, MovieCastCredit, MovieCredits, MovieDetails, MovieExternalIds, MovieKeywords, MovieListItem, MovieMediaListItem, MovieReleaseDates, MovieTranslationData, MovieTranslations, PagedMovieMediaResults, PagedMovieResults, ReleaseDate, datedMovieResultsSchema, movieAlternativeTitlesSchema, movieAppendedEntries, movieCastCreditSchema, movieCreditsSchema, movieDetailsEntries, movieDetailsSchema, movieExternalIdsSchema, movieKeywordsSchema, movieListItemEntries, movieListItemSchema, movieMediaListItemEntries, movieMediaListItemSchema, movieReleaseDatesSchema, movieTranslationsSchema, pagedMovieMediaResultsSchema, pagedMovieResultsSchema, releaseType };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { datedMovieResultsSchema, movieListItemEntries, movieListItemSchema, movieMediaListItemEntries, movieMediaListItemSchema, pagedMovieMediaResultsSchema, pagedMovieResultsSchema } from "./MovieListItem.mjs";
|
|
2
|
+
import { movieReleaseDatesSchema, releaseType } from "./MovieReleaseDates.mjs";
|
|
3
|
+
import { movieAlternativeTitlesSchema } from "./MovieAlternativeTitles.mjs";
|
|
4
|
+
import { movieCastCreditSchema, movieCreditsSchema } from "./MovieCredits.mjs";
|
|
5
|
+
import { movieExternalIdsSchema } from "./MovieExternalIds.mjs";
|
|
6
|
+
import { movieKeywordsSchema } from "./MovieKeywords.mjs";
|
|
7
|
+
import { movieTranslationsSchema } from "./MovieTranslations.mjs";
|
|
8
|
+
import { movieAppendedEntries, movieDetailsEntries, movieDetailsSchema } from "./MovieDetails.mjs";
|
|
9
|
+
export { datedMovieResultsSchema, movieAlternativeTitlesSchema, movieAppendedEntries, movieCastCreditSchema, movieCreditsSchema, movieDetailsEntries, movieDetailsSchema, movieExternalIdsSchema, movieKeywordsSchema, movieListItemEntries, movieListItemSchema, movieMediaListItemEntries, movieMediaListItemSchema, movieReleaseDatesSchema, movieTranslationsSchema, pagedMovieMediaResultsSchema, pagedMovieResultsSchema, releaseType };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { NetworkDetails } from "./types/NetworkDetails.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getNetworkSchema: v.ObjectSchema<{
|
|
5
|
+
readonly networkId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* ### [Details](https://developer.themoviedb.org/reference/network-details)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/network/{network_id}`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getNetwork: Fetcher<typeof getNetworkSchema, NetworkDetails>;
|
|
13
|
+
//# sourceMappingURL=getNetwork.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetwork.d.mts","names":[],"sources":["../../src/network/getNetwork.ts"],"mappings":";;;qBAKa,kBAAgB,EAAA;;;;;;;;qBAShB,YAAY,eAChB,kBACP"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/network/getNetwork.ts
|
|
5
|
+
const getNetworkSchema = v.object({ networkId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Details](https://developer.themoviedb.org/reference/network-details)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/network/{network_id}`
|
|
10
|
+
*/
|
|
11
|
+
const getNetwork = async ({ networkId }, options) => get(`/network/${networkId}`, void 0, options);
|
|
12
|
+
export { getNetwork, getNetworkSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getNetwork.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetwork.mjs","names":[],"sources":["../../src/network/getNetwork.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { NetworkDetails } from \"./types/NetworkDetails.js\";\n\nexport const getNetworkSchema = v.object({\n networkId: tmdbId\n});\n\n/**\n * ### [Details](https://developer.themoviedb.org/reference/network-details)\n *\n * **GET** `/network/{network_id}`\n */\nexport const getNetwork: Fetcher<\n typeof getNetworkSchema,\n NetworkDetails\n> = async ({ networkId }, options) =>\n get(`/network/${networkId}`, undefined, options);\n"],"mappings":";;;;AAKA,MAAa,mBAAmB,EAAE,OAAO,EACvC,WAAW,OACb,CAAC;;;;;;AAOD,MAAa,aAGT,OAAO,EAAE,aAAa,YACxB,IAAI,YAAY,aAAa,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { AlternativeNames } from "../types/AlternativeNames.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getNetworkAlternativeNamesSchema: v.ObjectSchema<{
|
|
5
|
+
readonly networkId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* ### [Alternative Names](https://developer.themoviedb.org/reference/details-copy)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/network/{network_id}/alternative_names`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getNetworkAlternativeNames: Fetcher<typeof getNetworkAlternativeNamesSchema, AlternativeNames>;
|
|
13
|
+
//# sourceMappingURL=getNetworkAlternativeNames.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkAlternativeNames.d.mts","names":[],"sources":["../../src/network/getNetworkAlternativeNames.ts"],"mappings":";;;qBAKa,kCAAgC,EAAA;;;;;;;;qBAShC,4BAA4B,eAChC,kCACP"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/network/getNetworkAlternativeNames.ts
|
|
5
|
+
const getNetworkAlternativeNamesSchema = v.object({ networkId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Alternative Names](https://developer.themoviedb.org/reference/details-copy)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/network/{network_id}/alternative_names`
|
|
10
|
+
*/
|
|
11
|
+
const getNetworkAlternativeNames = async ({ networkId }, options) => get(`/network/${networkId}/alternative_names`, void 0, options);
|
|
12
|
+
export { getNetworkAlternativeNames, getNetworkAlternativeNamesSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getNetworkAlternativeNames.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkAlternativeNames.mjs","names":[],"sources":["../../src/network/getNetworkAlternativeNames.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { AlternativeNames } from \"../types/AlternativeNames.js\";\n\nexport const getNetworkAlternativeNamesSchema = v.object({\n networkId: tmdbId\n});\n\n/**\n * ### [Alternative Names](https://developer.themoviedb.org/reference/details-copy)\n *\n * **GET** `/network/{network_id}/alternative_names`\n */\nexport const getNetworkAlternativeNames: Fetcher<\n typeof getNetworkAlternativeNamesSchema,\n AlternativeNames\n> = async ({ networkId }, options) =>\n get(`/network/${networkId}/alternative_names`, undefined, options);\n"],"mappings":";;;;AAKA,MAAa,mCAAmC,EAAE,OAAO,EACvD,WAAW,OACb,CAAC;;;;;;AAOD,MAAa,6BAGT,OAAO,EAAE,aAAa,YACxB,IAAI,YAAY,UAAU,qBAAqB,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { LogoImages } from "../types/Images.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getNetworkImagesSchema: v.ObjectSchema<{
|
|
5
|
+
readonly networkId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* ### [Images](https://developer.themoviedb.org/reference/alternative-names-copy)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/network/{network_id}/images`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getNetworkImages: Fetcher<typeof getNetworkImagesSchema, LogoImages>;
|
|
13
|
+
//# sourceMappingURL=getNetworkImages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkImages.d.mts","names":[],"sources":["../../src/network/getNetworkImages.ts"],"mappings":";;;qBAKa,wBAAsB,EAAA;;;;;;;;qBAStB,kBAAkB,eACtB,wBACP"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/network/getNetworkImages.ts
|
|
5
|
+
const getNetworkImagesSchema = v.object({ networkId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Images](https://developer.themoviedb.org/reference/alternative-names-copy)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/network/{network_id}/images`
|
|
10
|
+
*/
|
|
11
|
+
const getNetworkImages = async ({ networkId }, options) => get(`/network/${networkId}/images`, void 0, options);
|
|
12
|
+
export { getNetworkImages, getNetworkImagesSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getNetworkImages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNetworkImages.mjs","names":[],"sources":["../../src/network/getNetworkImages.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { LogoImages } from \"../types/Images.js\";\n\nexport const getNetworkImagesSchema = v.object({\n networkId: tmdbId\n});\n\n/**\n * ### [Images](https://developer.themoviedb.org/reference/alternative-names-copy)\n *\n * **GET** `/network/{network_id}/images`\n */\nexport const getNetworkImages: Fetcher<\n typeof getNetworkImagesSchema,\n LogoImages\n> = async ({ networkId }, options) =>\n get(`/network/${networkId}/images`, undefined, options);\n"],"mappings":";;;;AAKA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,WAAW,OACb,CAAC;;;;;;AAOD,MAAa,mBAGT,OAAO,EAAE,aAAa,YACxB,IAAI,YAAY,UAAU,UAAU,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NetworkDetails, networkDetailsSchema } from "./types/NetworkDetails.mjs";
|
|
2
|
+
import { getNetwork, getNetworkSchema } from "./getNetwork.mjs";
|
|
3
|
+
import { getNetworkAlternativeNames, getNetworkAlternativeNamesSchema } from "./getNetworkAlternativeNames.mjs";
|
|
4
|
+
import { getNetworkImages, getNetworkImagesSchema } from "./getNetworkImages.mjs";
|
|
5
|
+
import "./types/index.mjs";
|
|
6
|
+
export { NetworkDetails, getNetwork, getNetworkAlternativeNames, getNetworkAlternativeNamesSchema, getNetworkImages, getNetworkImagesSchema, getNetworkSchema, networkDetailsSchema };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { getNetwork, getNetworkSchema } from "./getNetwork.mjs";
|
|
2
|
+
import { getNetworkAlternativeNames, getNetworkAlternativeNamesSchema } from "./getNetworkAlternativeNames.mjs";
|
|
3
|
+
import { getNetworkImages, getNetworkImagesSchema } from "./getNetworkImages.mjs";
|
|
4
|
+
import { networkDetailsSchema } from "./types/NetworkDetails.mjs";
|
|
5
|
+
export { getNetwork, getNetworkAlternativeNames, getNetworkAlternativeNamesSchema, getNetworkImages, getNetworkImagesSchema, getNetworkSchema, networkDetailsSchema };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _networkDetailsSchema: v.ObjectSchema<{
|
|
3
|
+
readonly headquarters: v.StringSchema<undefined>;
|
|
4
|
+
readonly homepage: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
6
|
+
readonly logoPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly name: v.StringSchema<undefined>;
|
|
8
|
+
/** ISO 3166-1 code, or `""`. */
|
|
9
|
+
readonly originCountry: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
export interface NetworkDetails extends v.InferOutput<typeof _networkDetailsSchema> {}
|
|
12
|
+
/**
|
|
13
|
+
* ### Network
|
|
14
|
+
*
|
|
15
|
+
* A TV network (`getNetwork`). TV series list theirs under `networks`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const networkDetailsSchema: v.GenericSchema<NetworkDetails>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=NetworkDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkDetails.d.mts","names":[],"sources":["../../../src/network/types/NetworkDetails.ts"],"mappings":";cAIM,uBAAqB,EAAA;;;;;;;;;iBAUV,uBAAuB,EAAE,mBACjC;;;;;;qBAQI,sBAAoB,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/network/types/NetworkDetails.ts
|
|
5
|
+
const _networkDetailsSchema = v.object({
|
|
6
|
+
headquarters: v.string(),
|
|
7
|
+
homepage: v.nullable(v.string()),
|
|
8
|
+
id: integer,
|
|
9
|
+
logoPath: v.nullable(v.string()),
|
|
10
|
+
name: v.string(),
|
|
11
|
+
/** ISO 3166-1 code, or `""`. */
|
|
12
|
+
originCountry: v.string()
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* ### Network
|
|
16
|
+
*
|
|
17
|
+
* A TV network (`getNetwork`). TV series list theirs under `networks`.
|
|
18
|
+
*/
|
|
19
|
+
const networkDetailsSchema = schema(_networkDetailsSchema);
|
|
20
|
+
export { networkDetailsSchema };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=NetworkDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkDetails.mjs","names":[],"sources":["../../../src/network/types/NetworkDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _networkDetailsSchema = v.object({\n headquarters: v.string(),\n homepage: v.nullable(v.string()),\n id: integer,\n logoPath: v.nullable(v.string()),\n name: v.string(),\n /** ISO 3166-1 code, or `\"\"`. */\n originCountry: v.string()\n});\n\nexport interface NetworkDetails extends v.InferOutput<\n typeof _networkDetailsSchema\n> {}\n\n/**\n * ### Network\n *\n * A TV network (`getNetwork`). TV series list theirs under `networks`.\n */\nexport const networkDetailsSchema = schema<NetworkDetails>(\n _networkDetailsSchema\n);\n"],"mappings":";;;;AAIA,MAAM,wBAAwB,EAAE,OAAO;CACrC,cAAc,EAAE,OAAO;CACvB,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC;CAC/B,IAAI;CACJ,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC;CAC/B,MAAM,EAAE,OAAO;;CAEf,eAAe,EAAE,OAAO;AAC1B,CAAC;;;;;;AAWD,MAAa,uBAAuB,OAClC,qBACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { networkDetailsSchema } from "./NetworkDetails.mjs";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { PersonDetails } from "./types/PersonDetails.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Latest](https://developer.themoviedb.org/reference/person-latest-id)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/person/latest`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getLatestPerson: Fetcher<null, PersonDetails>;
|
|
9
|
+
//# sourceMappingURL=getLatestPerson.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLatestPerson.d.mts","names":[],"sources":["../../src/person/getLatestPerson.ts"],"mappings":";;;;;;;qBAQa,iBAAiB,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/person/getLatestPerson.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Latest](https://developer.themoviedb.org/reference/person-latest-id)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/person/latest`
|
|
7
|
+
*/
|
|
8
|
+
const getLatestPerson = async (options) => get(`/person/latest`, void 0, options);
|
|
9
|
+
export { getLatestPerson };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getLatestPerson.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLatestPerson.mjs","names":[],"sources":["../../src/person/getLatestPerson.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { PersonDetails } from \"./types/PersonDetails.js\";\n\n/**\n * ### [Latest](https://developer.themoviedb.org/reference/person-latest-id)\n *\n * **GET** `/person/latest`\n */\nexport const getLatestPerson: Fetcher<null, PersonDetails> = async (options) =>\n get(`/person/latest`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,kBAAgD,OAAO,YAClE,IAAI,kBAAkB,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { PersonDetails } from "./types/PersonDetails.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getPersonSchema: v.ObjectSchema<{
|
|
5
|
+
readonly personId: 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
|
+
/** Fetch these related resources in the same request; each comes back under its own key. At most 20. */
|
|
9
|
+
readonly appendToResponse: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["changes", "combined_credits", "external_ids", "images", "movie_credits", "tagged_images", "translations", "tv_credits"], undefined>, undefined>, v.MaxLengthAction<("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[], 20, undefined>]>;
|
|
10
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
11
|
+
readonly entries: {
|
|
12
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly appendToResponse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<["changes", "combined_credits", "external_ids", "images", "movie_credits", "tagged_images", "translations", "tv_credits"], undefined>, undefined>, v.MaxLengthAction<("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[], 20, undefined>]>, undefined>;
|
|
14
|
+
};
|
|
15
|
+
readonly "~standard": v.StandardProps<{
|
|
16
|
+
language?: string | undefined;
|
|
17
|
+
appendToResponse?: ("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[] | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
language?: string | undefined;
|
|
20
|
+
appendToResponse?: ("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[] | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
23
|
+
language?: string | undefined;
|
|
24
|
+
appendToResponse?: ("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[] | undefined;
|
|
25
|
+
}, v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.ArrayIssue | v.MaxLengthIssue<("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[], 20>>;
|
|
26
|
+
readonly "~types"?: {
|
|
27
|
+
readonly input: {
|
|
28
|
+
language?: string | undefined;
|
|
29
|
+
appendToResponse?: ("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[] | undefined;
|
|
30
|
+
};
|
|
31
|
+
readonly output: {
|
|
32
|
+
language?: string | undefined;
|
|
33
|
+
appendToResponse?: ("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[] | undefined;
|
|
34
|
+
};
|
|
35
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.ArrayIssue | v.MaxLengthIssue<("changes" | "external_ids" | "images" | "translations" | "combined_credits" | "movie_credits" | "tagged_images" | "tv_credits")[], 20>;
|
|
36
|
+
} | undefined;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* ### [Details](https://developer.themoviedb.org/reference/person-details)
|
|
41
|
+
*
|
|
42
|
+
* **GET** `/person/{person_id}`
|
|
43
|
+
*/
|
|
44
|
+
export declare const getPerson: Fetcher<typeof getPersonSchema, PersonDetails>;
|
|
45
|
+
//# sourceMappingURL=getPerson.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPerson.d.mts","names":[],"sources":["../../src/person/getPerson.ts"],"mappings":";;;qBAKa,iBAAe,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgCf,WAAW,eAAe,iBAAiB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/person/getPerson.ts
|
|
5
|
+
const getPersonSchema = v.object({
|
|
6
|
+
personId: tmdbId,
|
|
7
|
+
params: v.exactOptional(v.partial(v.object({
|
|
8
|
+
language: v.string(),
|
|
9
|
+
/** Fetch these related resources in the same request; each comes back under its own key. At most 20. */
|
|
10
|
+
appendToResponse: v.pipe(v.array(v.picklist([
|
|
11
|
+
`changes`,
|
|
12
|
+
`combined_credits`,
|
|
13
|
+
`external_ids`,
|
|
14
|
+
`images`,
|
|
15
|
+
`movie_credits`,
|
|
16
|
+
`tagged_images`,
|
|
17
|
+
`translations`,
|
|
18
|
+
`tv_credits`
|
|
19
|
+
])), v.maxLength(20))
|
|
20
|
+
})))
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* ### [Details](https://developer.themoviedb.org/reference/person-details)
|
|
24
|
+
*
|
|
25
|
+
* **GET** `/person/{person_id}`
|
|
26
|
+
*/
|
|
27
|
+
const getPerson = async ({ personId, params }, options) => get(`/person/${personId}`, params, options);
|
|
28
|
+
export { getPerson, getPersonSchema };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=getPerson.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPerson.mjs","names":[],"sources":["../../src/person/getPerson.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { PersonDetails } from \"./types/PersonDetails.js\";\n\nexport const getPersonSchema = v.object({\n personId: tmdbId,\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string(),\n /** Fetch these related resources in the same request; each comes back under its own key. At most 20. */\n appendToResponse: v.pipe(\n v.array(\n v.picklist([\n `changes`,\n `combined_credits`,\n `external_ids`,\n `images`,\n `movie_credits`,\n `tagged_images`,\n `translations`,\n `tv_credits`\n ])\n ),\n v.maxLength(20)\n )\n })\n )\n )\n});\n\n/**\n * ### [Details](https://developer.themoviedb.org/reference/person-details)\n *\n * **GET** `/person/{person_id}`\n */\nexport const getPerson: Fetcher<typeof getPersonSchema, PersonDetails> = async (\n { personId, params },\n options\n) => get(`/person/${personId}`, params, options);\n"],"mappings":";;;;AAKA,MAAa,kBAAkB,EAAE,OAAO;CACtC,UAAU;CACV,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO;EACP,UAAU,EAAE,OAAO;;EAEnB,kBAAkB,EAAE,KAClB,EAAE,MACA,EAAE,SAAS;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC,CACH,GACA,EAAE,UAAU,EAAE,CAChB;CACF,CAAC,CACH,CACF;AACF,CAAC;;;;;;AAOD,MAAa,YAA4D,OACvE,EAAE,UAAU,UACZ,YACG,IAAI,WAAW,YAAY,QAAQ,OAAO"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { ChangeList } from "../types/ChangeList.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getPersonChangeListSchema: v.ObjectSchema<{
|
|
5
|
+
readonly params: v.ExactOptionalSchema<Omit<v.ObjectSchema<{
|
|
6
|
+
readonly endDate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>;
|
|
7
|
+
readonly page: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8
|
+
readonly startDate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>;
|
|
9
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
10
|
+
readonly entries: {
|
|
11
|
+
readonly endDate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
12
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
13
|
+
readonly startDate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
14
|
+
};
|
|
15
|
+
readonly "~standard": v.StandardProps<{
|
|
16
|
+
endDate?: string | undefined;
|
|
17
|
+
page?: number | undefined;
|
|
18
|
+
startDate?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
endDate?: string | undefined;
|
|
21
|
+
page?: number | undefined;
|
|
22
|
+
startDate?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
25
|
+
endDate?: string | undefined;
|
|
26
|
+
page?: number | undefined;
|
|
27
|
+
startDate?: string | undefined;
|
|
28
|
+
}, v.StringIssue | v.ObjectIssue | v.NumberIssue | v.IntegerIssue<number> | v.IsoDateIssue<string>>;
|
|
29
|
+
readonly "~types"?: {
|
|
30
|
+
readonly input: {
|
|
31
|
+
endDate?: string | undefined;
|
|
32
|
+
page?: number | undefined;
|
|
33
|
+
startDate?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
readonly output: {
|
|
36
|
+
endDate?: string | undefined;
|
|
37
|
+
page?: number | undefined;
|
|
38
|
+
startDate?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NumberIssue | v.IntegerIssue<number> | v.IsoDateIssue<string>;
|
|
41
|
+
} | undefined;
|
|
42
|
+
}, undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* ### [People List](https://developer.themoviedb.org/reference/changes-people-list)
|
|
46
|
+
*
|
|
47
|
+
* **GET** `/person/changes`
|
|
48
|
+
*/
|
|
49
|
+
export declare const getPersonChangeList: Fetcher<typeof getPersonChangeListSchema, ChangeList>;
|
|
50
|
+
//# sourceMappingURL=getPersonChangeList.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPersonChangeList.d.mts","names":[],"sources":["../../src/person/getPersonChangeList.ts"],"mappings":";;;qBAMa,2BAAyB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiBzB,qBAAqB,eACzB,2BACP"}
|