@saeris/tmdbkit 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE.md +21 -0
- package/README.md +385 -4
- package/dist/certification/getMovieCertifications.d.mts +9 -0
- package/dist/certification/getMovieCertifications.d.mts.map +1 -0
- package/dist/certification/getMovieCertifications.mjs +11 -0
- package/dist/certification/getMovieCertifications.mjs.map +1 -0
- package/dist/certification/getTvCertifications.d.mts +9 -0
- package/dist/certification/getTvCertifications.d.mts.map +1 -0
- package/dist/certification/getTvCertifications.mjs +11 -0
- package/dist/certification/getTvCertifications.mjs.map +1 -0
- package/dist/certification/index.d.mts +5 -0
- package/dist/certification/index.mjs +4 -0
- package/dist/certification/types/Certifications.d.mts +23 -0
- package/dist/certification/types/Certifications.d.mts.map +1 -0
- package/dist/certification/types/Certifications.mjs +24 -0
- package/dist/certification/types/Certifications.mjs.map +1 -0
- package/dist/certification/types/index.d.mts +2 -0
- package/dist/certification/types/index.mjs +1 -0
- package/dist/collection/getCollection.d.mts +37 -0
- package/dist/collection/getCollection.d.mts.map +1 -0
- package/dist/collection/getCollection.mjs +17 -0
- package/dist/collection/getCollection.mjs.map +1 -0
- package/dist/collection/getCollectionImages.d.mts +45 -0
- package/dist/collection/getCollectionImages.d.mts.map +1 -0
- package/dist/collection/getCollectionImages.mjs +21 -0
- package/dist/collection/getCollectionImages.mjs.map +1 -0
- package/dist/collection/getCollectionTranslations.d.mts +13 -0
- package/dist/collection/getCollectionTranslations.d.mts.map +1 -0
- package/dist/collection/getCollectionTranslations.mjs +14 -0
- package/dist/collection/getCollectionTranslations.mjs.map +1 -0
- package/dist/collection/index.d.mts +8 -0
- package/dist/collection/index.mjs +7 -0
- package/dist/collection/types/CollectionDetails.d.mts +23 -0
- package/dist/collection/types/CollectionDetails.d.mts.map +1 -0
- package/dist/collection/types/CollectionDetails.mjs +25 -0
- package/dist/collection/types/CollectionDetails.mjs.map +1 -0
- package/dist/collection/types/CollectionListItem.d.mts +24 -0
- package/dist/collection/types/CollectionListItem.d.mts.map +1 -0
- package/dist/collection/types/CollectionListItem.mjs +26 -0
- package/dist/collection/types/CollectionListItem.mjs.map +1 -0
- package/dist/collection/types/CollectionTranslations.d.mts +17 -0
- package/dist/collection/types/CollectionTranslations.d.mts.map +1 -0
- package/dist/collection/types/CollectionTranslations.mjs +18 -0
- package/dist/collection/types/CollectionTranslations.mjs.map +1 -0
- package/dist/collection/types/index.d.mts +4 -0
- package/dist/collection/types/index.mjs +4 -0
- package/dist/company/getCompany.d.mts +13 -0
- package/dist/company/getCompany.d.mts.map +1 -0
- package/dist/company/getCompany.mjs +14 -0
- package/dist/company/getCompany.mjs.map +1 -0
- package/dist/company/getCompanyAlternativeNames.d.mts +13 -0
- package/dist/company/getCompanyAlternativeNames.d.mts.map +1 -0
- package/dist/company/getCompanyAlternativeNames.mjs +14 -0
- package/dist/company/getCompanyAlternativeNames.mjs.map +1 -0
- package/dist/company/getCompanyImages.d.mts +13 -0
- package/dist/company/getCompanyImages.d.mts.map +1 -0
- package/dist/company/getCompanyImages.mjs +14 -0
- package/dist/company/getCompanyImages.mjs.map +1 -0
- package/dist/company/index.d.mts +7 -0
- package/dist/company/index.mjs +6 -0
- package/dist/company/types/CompanyDetails.d.mts +23 -0
- package/dist/company/types/CompanyDetails.d.mts.map +1 -0
- package/dist/company/types/CompanyDetails.mjs +26 -0
- package/dist/company/types/CompanyDetails.mjs.map +1 -0
- package/dist/company/types/CompanyListItem.d.mts +10 -0
- package/dist/company/types/CompanyListItem.d.mts.map +1 -0
- package/dist/company/types/CompanyListItem.mjs +13 -0
- package/dist/company/types/CompanyListItem.mjs.map +1 -0
- package/dist/company/types/index.d.mts +3 -0
- package/dist/company/types/index.mjs +3 -0
- package/dist/configuration/getConfiguration.d.mts +9 -0
- package/dist/configuration/getConfiguration.d.mts.map +1 -0
- package/dist/configuration/getConfiguration.mjs +11 -0
- package/dist/configuration/getConfiguration.mjs.map +1 -0
- package/dist/configuration/getCountries.d.mts +36 -0
- package/dist/configuration/getCountries.d.mts.map +1 -0
- package/dist/configuration/getCountries.mjs +13 -0
- package/dist/configuration/getCountries.mjs.map +1 -0
- package/dist/configuration/getJobs.d.mts +9 -0
- package/dist/configuration/getJobs.d.mts.map +1 -0
- package/dist/configuration/getJobs.mjs +11 -0
- package/dist/configuration/getJobs.mjs.map +1 -0
- package/dist/configuration/getLanguages.d.mts +9 -0
- package/dist/configuration/getLanguages.d.mts.map +1 -0
- package/dist/configuration/getLanguages.mjs +11 -0
- package/dist/configuration/getLanguages.mjs.map +1 -0
- package/dist/configuration/getPrimaryTranslations.d.mts +9 -0
- package/dist/configuration/getPrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/getPrimaryTranslations.mjs +11 -0
- package/dist/configuration/getPrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/getTimezones.d.mts +9 -0
- package/dist/configuration/getTimezones.d.mts.map +1 -0
- package/dist/configuration/getTimezones.mjs +11 -0
- package/dist/configuration/getTimezones.mjs.map +1 -0
- package/dist/configuration/imageUrl.d.mts +26 -0
- package/dist/configuration/imageUrl.d.mts.map +1 -0
- package/dist/configuration/imageUrl.mjs +50 -0
- package/dist/configuration/imageUrl.mjs.map +1 -0
- package/dist/configuration/index.d.mts +15 -0
- package/dist/configuration/index.mjs +14 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts +26 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts.map +1 -0
- package/dist/configuration/types/ConfigurationDetails.mjs +28 -0
- package/dist/configuration/types/ConfigurationDetails.mjs.map +1 -0
- package/dist/configuration/types/Country.d.mts +27 -0
- package/dist/configuration/types/Country.d.mts.map +1 -0
- package/dist/configuration/types/Country.mjs +22 -0
- package/dist/configuration/types/Country.mjs.map +1 -0
- package/dist/configuration/types/DepartmentJobs.d.mts +15 -0
- package/dist/configuration/types/DepartmentJobs.d.mts.map +1 -0
- package/dist/configuration/types/DepartmentJobs.mjs +16 -0
- package/dist/configuration/types/DepartmentJobs.mjs.map +1 -0
- package/dist/configuration/types/Language.d.mts +10 -0
- package/dist/configuration/types/Language.d.mts.map +1 -0
- package/dist/configuration/types/Language.mjs +13 -0
- package/dist/configuration/types/Language.mjs.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts +9 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.mjs +12 -0
- package/dist/configuration/types/PrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/types/Timezone.d.mts +17 -0
- package/dist/configuration/types/Timezone.d.mts.map +1 -0
- package/dist/configuration/types/Timezone.mjs +18 -0
- package/dist/configuration/types/Timezone.mjs.map +1 -0
- package/dist/configuration/types/index.d.mts +7 -0
- package/dist/configuration/types/index.mjs +7 -0
- package/dist/credit/getCredit.d.mts +37 -0
- package/dist/credit/getCredit.d.mts.map +1 -0
- package/dist/credit/getCredit.mjs +16 -0
- package/dist/credit/getCredit.mjs.map +1 -0
- package/dist/credit/index.d.mts +4 -0
- package/dist/credit/index.mjs +3 -0
- package/dist/credit/types/CreditDetails.d.mts +62 -0
- package/dist/credit/types/CreditDetails.d.mts.map +1 -0
- package/dist/credit/types/CreditDetails.mjs +35 -0
- package/dist/credit/types/CreditDetails.mjs.map +1 -0
- package/dist/credit/types/index.d.mts +2 -0
- package/dist/credit/types/index.mjs +1 -0
- package/dist/discover/discoverMovies.d.mts +708 -0
- package/dist/discover/discoverMovies.d.mts.map +1 -0
- package/dist/discover/discoverMovies.mjs +93 -0
- package/dist/discover/discoverMovies.mjs.map +1 -0
- package/dist/discover/discoverTvSeries.d.mts +608 -0
- package/dist/discover/discoverTvSeries.d.mts.map +1 -0
- package/dist/discover/discoverTvSeries.mjs +80 -0
- package/dist/discover/discoverTvSeries.mjs.map +1 -0
- package/dist/discover/index.d.mts +3 -0
- package/dist/discover/index.mjs +3 -0
- package/dist/find/findByExternalId.d.mts +38 -0
- package/dist/find/findByExternalId.d.mts.map +1 -0
- package/dist/find/findByExternalId.mjs +29 -0
- package/dist/find/findByExternalId.mjs.map +1 -0
- package/dist/find/index.d.mts +4 -0
- package/dist/find/index.mjs +3 -0
- package/dist/find/types/FindResults.d.mts +47 -0
- package/dist/find/types/FindResults.d.mts.map +1 -0
- package/dist/find/types/FindResults.mjs +39 -0
- package/dist/find/types/FindResults.mjs.map +1 -0
- package/dist/find/types/index.d.mts +2 -0
- package/dist/find/types/index.mjs +1 -0
- package/dist/genre/getMovieGenres.d.mts +36 -0
- package/dist/genre/getMovieGenres.d.mts.map +1 -0
- package/dist/genre/getMovieGenres.mjs +13 -0
- package/dist/genre/getMovieGenres.mjs.map +1 -0
- package/dist/genre/getTvGenres.d.mts +36 -0
- package/dist/genre/getTvGenres.d.mts.map +1 -0
- package/dist/genre/getTvGenres.mjs +13 -0
- package/dist/genre/getTvGenres.mjs.map +1 -0
- package/dist/genre/index.d.mts +5 -0
- package/dist/genre/index.mjs +4 -0
- package/dist/genre/types/GenreList.d.mts +15 -0
- package/dist/genre/types/GenreList.d.mts.map +1 -0
- package/dist/genre/types/GenreList.mjs +14 -0
- package/dist/genre/types/GenreList.mjs.map +1 -0
- package/dist/genre/types/index.d.mts +2 -0
- package/dist/genre/types/index.mjs +1 -0
- package/dist/index.d.mts +213 -0
- package/dist/index.mjs +192 -0
- package/dist/keyword/getKeyword.d.mts +13 -0
- package/dist/keyword/getKeyword.d.mts.map +1 -0
- package/dist/keyword/getKeyword.mjs +14 -0
- package/dist/keyword/getKeyword.mjs.map +1 -0
- package/dist/keyword/getKeywordMovies.d.mts +51 -0
- package/dist/keyword/getKeywordMovies.d.mts.map +1 -0
- package/dist/keyword/getKeywordMovies.mjs +21 -0
- package/dist/keyword/getKeywordMovies.mjs.map +1 -0
- package/dist/keyword/index.d.mts +3 -0
- package/dist/keyword/index.mjs +3 -0
- package/dist/list/getList.d.mts +44 -0
- package/dist/list/getList.d.mts.map +1 -0
- package/dist/list/getList.mjs +20 -0
- package/dist/list/getList.mjs.map +1 -0
- package/dist/list/getListItemStatus.d.mts +44 -0
- package/dist/list/getListItemStatus.d.mts.map +1 -0
- package/dist/list/getListItemStatus.mjs +20 -0
- package/dist/list/getListItemStatus.mjs.map +1 -0
- package/dist/list/index.d.mts +7 -0
- package/dist/list/index.mjs +6 -0
- package/dist/list/types/ListDetails.d.mts +29 -0
- package/dist/list/types/ListDetails.d.mts.map +1 -0
- package/dist/list/types/ListDetails.mjs +31 -0
- package/dist/list/types/ListDetails.mjs.map +1 -0
- package/dist/list/types/ListItemStatus.d.mts +15 -0
- package/dist/list/types/ListItemStatus.d.mts.map +1 -0
- package/dist/list/types/ListItemStatus.mjs +18 -0
- package/dist/list/types/ListItemStatus.mjs.map +1 -0
- package/dist/list/types/ListsContaining.d.mts +31 -0
- package/dist/list/types/ListsContaining.d.mts.map +1 -0
- package/dist/list/types/ListsContaining.mjs +32 -0
- package/dist/list/types/ListsContaining.mjs.map +1 -0
- package/dist/list/types/index.d.mts +4 -0
- package/dist/list/types/index.mjs +4 -0
- package/dist/movie/getLatestMovie.d.mts +9 -0
- package/dist/movie/getLatestMovie.d.mts.map +1 -0
- package/dist/movie/getLatestMovie.mjs +11 -0
- package/dist/movie/getLatestMovie.mjs.map +1 -0
- package/dist/movie/getMovie.d.mts +45 -0
- package/dist/movie/getMovie.d.mts.map +1 -0
- package/dist/movie/getMovie.mjs +36 -0
- package/dist/movie/getMovie.mjs.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts +38 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.mjs +19 -0
- package/dist/movie/getMovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/getMovieChangeList.d.mts +50 -0
- package/dist/movie/getMovieChangeList.d.mts.map +1 -0
- package/dist/movie/getMovieChangeList.mjs +19 -0
- package/dist/movie/getMovieChangeList.mjs.map +1 -0
- package/dist/movie/getMovieChanges.d.mts +51 -0
- package/dist/movie/getMovieChanges.d.mts.map +1 -0
- package/dist/movie/getMovieChanges.mjs +22 -0
- package/dist/movie/getMovieChanges.mjs.map +1 -0
- package/dist/movie/getMovieCredits.d.mts +37 -0
- package/dist/movie/getMovieCredits.d.mts.map +1 -0
- package/dist/movie/getMovieCredits.mjs +17 -0
- package/dist/movie/getMovieCredits.mjs.map +1 -0
- package/dist/movie/getMovieExternalIds.d.mts +13 -0
- package/dist/movie/getMovieExternalIds.d.mts.map +1 -0
- package/dist/movie/getMovieExternalIds.mjs +14 -0
- package/dist/movie/getMovieExternalIds.mjs.map +1 -0
- package/dist/movie/getMovieImages.d.mts +45 -0
- package/dist/movie/getMovieImages.d.mts.map +1 -0
- package/dist/movie/getMovieImages.mjs +21 -0
- package/dist/movie/getMovieImages.mjs.map +1 -0
- package/dist/movie/getMovieKeywords.d.mts +13 -0
- package/dist/movie/getMovieKeywords.d.mts.map +1 -0
- package/dist/movie/getMovieKeywords.mjs +13 -0
- package/dist/movie/getMovieKeywords.mjs.map +1 -0
- package/dist/movie/getMovieLists.d.mts +44 -0
- package/dist/movie/getMovieLists.d.mts.map +1 -0
- package/dist/movie/getMovieLists.mjs +20 -0
- package/dist/movie/getMovieLists.mjs.map +1 -0
- package/dist/movie/getMovieRecommendations.d.mts +44 -0
- package/dist/movie/getMovieRecommendations.d.mts.map +1 -0
- package/dist/movie/getMovieRecommendations.mjs +20 -0
- package/dist/movie/getMovieRecommendations.mjs.map +1 -0
- package/dist/movie/getMovieReleaseDates.d.mts +13 -0
- package/dist/movie/getMovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/getMovieReleaseDates.mjs +14 -0
- package/dist/movie/getMovieReleaseDates.mjs.map +1 -0
- package/dist/movie/getMovieReviews.d.mts +44 -0
- package/dist/movie/getMovieReviews.d.mts.map +1 -0
- package/dist/movie/getMovieReviews.mjs +20 -0
- package/dist/movie/getMovieReviews.mjs.map +1 -0
- package/dist/movie/getMovieTranslations.d.mts +13 -0
- package/dist/movie/getMovieTranslations.d.mts.map +1 -0
- package/dist/movie/getMovieTranslations.mjs +14 -0
- package/dist/movie/getMovieTranslations.mjs.map +1 -0
- package/dist/movie/getMovieVideos.d.mts +37 -0
- package/dist/movie/getMovieVideos.d.mts.map +1 -0
- package/dist/movie/getMovieVideos.mjs +17 -0
- package/dist/movie/getMovieVideos.mjs.map +1 -0
- package/dist/movie/getMovieWatchProviders.d.mts +13 -0
- package/dist/movie/getMovieWatchProviders.d.mts.map +1 -0
- package/dist/movie/getMovieWatchProviders.mjs +14 -0
- package/dist/movie/getMovieWatchProviders.mjs.map +1 -0
- package/dist/movie/getNowPlayingMovies.d.mts +51 -0
- package/dist/movie/getNowPlayingMovies.d.mts.map +1 -0
- package/dist/movie/getNowPlayingMovies.mjs +19 -0
- package/dist/movie/getNowPlayingMovies.mjs.map +1 -0
- package/dist/movie/getPopularMovies.d.mts +51 -0
- package/dist/movie/getPopularMovies.d.mts.map +1 -0
- package/dist/movie/getPopularMovies.mjs +19 -0
- package/dist/movie/getPopularMovies.mjs.map +1 -0
- package/dist/movie/getSimilarMovies.d.mts +44 -0
- package/dist/movie/getSimilarMovies.d.mts.map +1 -0
- package/dist/movie/getSimilarMovies.mjs +20 -0
- package/dist/movie/getSimilarMovies.mjs.map +1 -0
- package/dist/movie/getTopRatedMovies.d.mts +51 -0
- package/dist/movie/getTopRatedMovies.d.mts.map +1 -0
- package/dist/movie/getTopRatedMovies.mjs +19 -0
- package/dist/movie/getTopRatedMovies.mjs.map +1 -0
- package/dist/movie/getUpcomingMovies.d.mts +51 -0
- package/dist/movie/getUpcomingMovies.d.mts.map +1 -0
- package/dist/movie/getUpcomingMovies.mjs +19 -0
- package/dist/movie/getUpcomingMovies.mjs.map +1 -0
- package/dist/movie/index.d.mts +31 -0
- package/dist/movie/index.mjs +30 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts +20 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs +23 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/types/MovieCredits.d.mts +39 -0
- package/dist/movie/types/MovieCredits.d.mts.map +1 -0
- package/dist/movie/types/MovieCredits.mjs +30 -0
- package/dist/movie/types/MovieCredits.mjs.map +1 -0
- package/dist/movie/types/MovieDetails.d.mts +145 -0
- package/dist/movie/types/MovieDetails.d.mts.map +1 -0
- package/dist/movie/types/MovieDetails.mjs +94 -0
- package/dist/movie/types/MovieDetails.mjs.map +1 -0
- package/dist/movie/types/MovieExternalIds.d.mts +19 -0
- package/dist/movie/types/MovieExternalIds.d.mts.map +1 -0
- package/dist/movie/types/MovieExternalIds.mjs +22 -0
- package/dist/movie/types/MovieExternalIds.mjs.map +1 -0
- package/dist/movie/types/MovieKeywords.d.mts +16 -0
- package/dist/movie/types/MovieKeywords.d.mts.map +1 -0
- package/dist/movie/types/MovieKeywords.mjs +18 -0
- package/dist/movie/types/MovieKeywords.mjs.map +1 -0
- package/dist/movie/types/MovieListItem.d.mts +116 -0
- package/dist/movie/types/MovieListItem.d.mts.map +1 -0
- package/dist/movie/types/MovieListItem.mjs +57 -0
- package/dist/movie/types/MovieListItem.mjs.map +1 -0
- package/dist/movie/types/MovieReleaseDates.d.mts +36 -0
- package/dist/movie/types/MovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/types/MovieReleaseDates.mjs +45 -0
- package/dist/movie/types/MovieReleaseDates.mjs.map +1 -0
- package/dist/movie/types/MovieTranslations.d.mts +20 -0
- package/dist/movie/types/MovieTranslations.d.mts.map +1 -0
- package/dist/movie/types/MovieTranslations.mjs +22 -0
- package/dist/movie/types/MovieTranslations.mjs.map +1 -0
- package/dist/movie/types/index.d.mts +9 -0
- package/dist/movie/types/index.mjs +9 -0
- package/dist/network/getNetwork.d.mts +13 -0
- package/dist/network/getNetwork.d.mts.map +1 -0
- package/dist/network/getNetwork.mjs +14 -0
- package/dist/network/getNetwork.mjs.map +1 -0
- package/dist/network/getNetworkAlternativeNames.d.mts +13 -0
- package/dist/network/getNetworkAlternativeNames.d.mts.map +1 -0
- package/dist/network/getNetworkAlternativeNames.mjs +14 -0
- package/dist/network/getNetworkAlternativeNames.mjs.map +1 -0
- package/dist/network/getNetworkImages.d.mts +13 -0
- package/dist/network/getNetworkImages.d.mts.map +1 -0
- package/dist/network/getNetworkImages.mjs +14 -0
- package/dist/network/getNetworkImages.mjs.map +1 -0
- package/dist/network/index.d.mts +6 -0
- package/dist/network/index.mjs +5 -0
- package/dist/network/types/NetworkDetails.d.mts +19 -0
- package/dist/network/types/NetworkDetails.d.mts.map +1 -0
- package/dist/network/types/NetworkDetails.mjs +22 -0
- package/dist/network/types/NetworkDetails.mjs.map +1 -0
- package/dist/network/types/index.d.mts +2 -0
- package/dist/network/types/index.mjs +1 -0
- package/dist/person/getLatestPerson.d.mts +9 -0
- package/dist/person/getLatestPerson.d.mts.map +1 -0
- package/dist/person/getLatestPerson.mjs +11 -0
- package/dist/person/getLatestPerson.mjs.map +1 -0
- package/dist/person/getPerson.d.mts +45 -0
- package/dist/person/getPerson.d.mts.map +1 -0
- package/dist/person/getPerson.mjs +30 -0
- package/dist/person/getPerson.mjs.map +1 -0
- package/dist/person/getPersonChangeList.d.mts +50 -0
- package/dist/person/getPersonChangeList.d.mts.map +1 -0
- package/dist/person/getPersonChangeList.mjs +19 -0
- package/dist/person/getPersonChangeList.mjs.map +1 -0
- package/dist/person/getPersonChanges.d.mts +51 -0
- package/dist/person/getPersonChanges.d.mts.map +1 -0
- package/dist/person/getPersonChanges.mjs +22 -0
- package/dist/person/getPersonChanges.mjs.map +1 -0
- package/dist/person/getPersonCombinedCredits.d.mts +37 -0
- package/dist/person/getPersonCombinedCredits.d.mts.map +1 -0
- package/dist/person/getPersonCombinedCredits.mjs +16 -0
- package/dist/person/getPersonCombinedCredits.mjs.map +1 -0
- package/dist/person/getPersonExternalIds.d.mts +13 -0
- package/dist/person/getPersonExternalIds.d.mts.map +1 -0
- package/dist/person/getPersonExternalIds.mjs +14 -0
- package/dist/person/getPersonExternalIds.mjs.map +1 -0
- package/dist/person/getPersonImages.d.mts +13 -0
- package/dist/person/getPersonImages.d.mts.map +1 -0
- package/dist/person/getPersonImages.mjs +14 -0
- package/dist/person/getPersonImages.mjs.map +1 -0
- package/dist/person/getPersonMovieCredits.d.mts +37 -0
- package/dist/person/getPersonMovieCredits.d.mts.map +1 -0
- package/dist/person/getPersonMovieCredits.mjs +17 -0
- package/dist/person/getPersonMovieCredits.mjs.map +1 -0
- package/dist/person/getPersonTaggedImages.d.mts +37 -0
- package/dist/person/getPersonTaggedImages.d.mts.map +1 -0
- package/dist/person/getPersonTaggedImages.mjs +17 -0
- package/dist/person/getPersonTaggedImages.mjs.map +1 -0
- package/dist/person/getPersonTranslations.d.mts +13 -0
- package/dist/person/getPersonTranslations.d.mts.map +1 -0
- package/dist/person/getPersonTranslations.mjs +14 -0
- package/dist/person/getPersonTranslations.mjs.map +1 -0
- package/dist/person/getPersonTvCredits.d.mts +37 -0
- package/dist/person/getPersonTvCredits.d.mts.map +1 -0
- package/dist/person/getPersonTvCredits.mjs +17 -0
- package/dist/person/getPersonTvCredits.mjs.map +1 -0
- package/dist/person/getPopularPeople.d.mts +43 -0
- package/dist/person/getPopularPeople.d.mts.map +1 -0
- package/dist/person/getPopularPeople.mjs +17 -0
- package/dist/person/getPopularPeople.mjs.map +1 -0
- package/dist/person/index.d.mts +20 -0
- package/dist/person/index.mjs +19 -0
- package/dist/person/types/PersonCredits.d.mts +127 -0
- package/dist/person/types/PersonCredits.d.mts.map +1 -0
- package/dist/person/types/PersonCredits.mjs +81 -0
- package/dist/person/types/PersonCredits.mjs.map +1 -0
- package/dist/person/types/PersonDetails.d.mts +78 -0
- package/dist/person/types/PersonDetails.d.mts.map +1 -0
- package/dist/person/types/PersonDetails.mjs +55 -0
- package/dist/person/types/PersonDetails.mjs.map +1 -0
- package/dist/person/types/PersonExternalIds.d.mts +26 -0
- package/dist/person/types/PersonExternalIds.d.mts.map +1 -0
- package/dist/person/types/PersonExternalIds.mjs +30 -0
- package/dist/person/types/PersonExternalIds.mjs.map +1 -0
- package/dist/person/types/PersonListItem.d.mts +75 -0
- package/dist/person/types/PersonListItem.d.mts.map +1 -0
- package/dist/person/types/PersonListItem.mjs +46 -0
- package/dist/person/types/PersonListItem.mjs.map +1 -0
- package/dist/person/types/PersonTranslations.d.mts +18 -0
- package/dist/person/types/PersonTranslations.d.mts.map +1 -0
- package/dist/person/types/PersonTranslations.mjs +19 -0
- package/dist/person/types/PersonTranslations.mjs.map +1 -0
- package/dist/person/types/TaggedImages.d.mts +36 -0
- package/dist/person/types/TaggedImages.d.mts.map +1 -0
- package/dist/person/types/TaggedImages.mjs +31 -0
- package/dist/person/types/TaggedImages.mjs.map +1 -0
- package/dist/person/types/index.d.mts +7 -0
- package/dist/person/types/index.mjs +7 -0
- package/dist/requests/TmdbSession.d.mts +91 -0
- package/dist/requests/TmdbSession.d.mts.map +1 -0
- package/dist/requests/TmdbSession.mjs +203 -0
- package/dist/requests/TmdbSession.mjs.map +1 -0
- package/dist/requests/addParams.d.mts +15 -0
- package/dist/requests/addParams.d.mts.map +1 -0
- package/dist/requests/addParams.mjs +27 -0
- package/dist/requests/addParams.mjs.map +1 -0
- package/dist/requests/buildURL.d.mts +11 -0
- package/dist/requests/buildURL.d.mts.map +1 -0
- package/dist/requests/buildURL.mjs +15 -0
- package/dist/requests/buildURL.mjs.map +1 -0
- package/dist/requests/index.d.mts +7 -0
- package/dist/requests/index.mjs +7 -0
- package/dist/requests/methods.d.mts +22 -0
- package/dist/requests/methods.d.mts.map +1 -0
- package/dist/requests/methods.mjs +16 -0
- package/dist/requests/methods.mjs.map +1 -0
- package/dist/requests/request.d.mts +28 -0
- package/dist/requests/request.d.mts.map +1 -0
- package/dist/requests/request.mjs +62 -0
- package/dist/requests/request.mjs.map +1 -0
- package/dist/requests/toValidated.d.mts +11 -0
- package/dist/requests/toValidated.d.mts.map +1 -0
- package/dist/requests/toValidated.mjs +24 -0
- package/dist/requests/toValidated.mjs.map +1 -0
- package/dist/review/getReview.d.mts +13 -0
- package/dist/review/getReview.d.mts.map +1 -0
- package/dist/review/getReview.mjs +13 -0
- package/dist/review/getReview.mjs.map +1 -0
- package/dist/review/index.d.mts +4 -0
- package/dist/review/index.mjs +3 -0
- package/dist/review/types/Review.d.mts +79 -0
- package/dist/review/types/Review.d.mts.map +1 -0
- package/dist/review/types/Review.mjs +49 -0
- package/dist/review/types/Review.mjs.map +1 -0
- package/dist/review/types/index.d.mts +2 -0
- package/dist/review/types/index.mjs +1 -0
- package/dist/search/index.d.mts +8 -0
- package/dist/search/index.mjs +8 -0
- package/dist/search/searchCollections.d.mts +58 -0
- package/dist/search/searchCollections.d.mts.map +1 -0
- package/dist/search/searchCollections.mjs +25 -0
- package/dist/search/searchCollections.mjs.map +1 -0
- package/dist/search/searchCompanies.d.mts +37 -0
- package/dist/search/searchCompanies.d.mts.map +1 -0
- package/dist/search/searchCompanies.mjs +20 -0
- package/dist/search/searchCompanies.mjs.map +1 -0
- package/dist/search/searchKeywords.d.mts +37 -0
- package/dist/search/searchKeywords.d.mts.map +1 -0
- package/dist/search/searchKeywords.mjs +20 -0
- package/dist/search/searchKeywords.mjs.map +1 -0
- package/dist/search/searchMovies.d.mts +73 -0
- package/dist/search/searchMovies.d.mts.map +1 -0
- package/dist/search/searchMovies.mjs +28 -0
- package/dist/search/searchMovies.mjs.map +1 -0
- package/dist/search/searchMulti.d.mts +51 -0
- package/dist/search/searchMulti.d.mts.map +1 -0
- package/dist/search/searchMulti.mjs +24 -0
- package/dist/search/searchMulti.mjs.map +1 -0
- package/dist/search/searchPeople.d.mts +51 -0
- package/dist/search/searchPeople.d.mts.map +1 -0
- package/dist/search/searchPeople.mjs +24 -0
- package/dist/search/searchPeople.mjs.map +1 -0
- package/dist/search/searchTvSeries.d.mts +67 -0
- package/dist/search/searchTvSeries.d.mts.map +1 -0
- package/dist/search/searchTvSeries.mjs +28 -0
- package/dist/search/searchTvSeries.mjs.map +1 -0
- package/dist/trending/getTrending.d.mts +38 -0
- package/dist/trending/getTrending.d.mts.map +1 -0
- package/dist/trending/getTrending.mjs +18 -0
- package/dist/trending/getTrending.mjs.map +1 -0
- package/dist/trending/getTrendingMovies.d.mts +38 -0
- package/dist/trending/getTrendingMovies.d.mts.map +1 -0
- package/dist/trending/getTrendingMovies.mjs +18 -0
- package/dist/trending/getTrendingMovies.mjs.map +1 -0
- package/dist/trending/getTrendingPeople.d.mts +38 -0
- package/dist/trending/getTrendingPeople.d.mts.map +1 -0
- package/dist/trending/getTrendingPeople.mjs +18 -0
- package/dist/trending/getTrendingPeople.mjs.map +1 -0
- package/dist/trending/getTrendingTvSeries.d.mts +38 -0
- package/dist/trending/getTrendingTvSeries.d.mts.map +1 -0
- package/dist/trending/getTrendingTvSeries.mjs +18 -0
- package/dist/trending/getTrendingTvSeries.mjs.map +1 -0
- package/dist/trending/index.d.mts +5 -0
- package/dist/trending/index.mjs +5 -0
- package/dist/tv/getLatestTvSeries.d.mts +9 -0
- package/dist/tv/getLatestTvSeries.d.mts.map +1 -0
- package/dist/tv/getLatestTvSeries.mjs +11 -0
- package/dist/tv/getLatestTvSeries.mjs.map +1 -0
- package/dist/tv/getPopularTvSeries.d.mts +43 -0
- package/dist/tv/getPopularTvSeries.d.mts.map +1 -0
- package/dist/tv/getPopularTvSeries.mjs +17 -0
- package/dist/tv/getPopularTvSeries.mjs.map +1 -0
- package/dist/tv/getSimilarTvSeries.d.mts +44 -0
- package/dist/tv/getSimilarTvSeries.d.mts.map +1 -0
- package/dist/tv/getSimilarTvSeries.mjs +20 -0
- package/dist/tv/getSimilarTvSeries.mjs.map +1 -0
- package/dist/tv/getTopRatedTvSeries.d.mts +43 -0
- package/dist/tv/getTopRatedTvSeries.d.mts.map +1 -0
- package/dist/tv/getTopRatedTvSeries.mjs +17 -0
- package/dist/tv/getTopRatedTvSeries.mjs.map +1 -0
- package/dist/tv/getTvChangeList.d.mts +50 -0
- package/dist/tv/getTvChangeList.d.mts.map +1 -0
- package/dist/tv/getTvChangeList.mjs +19 -0
- package/dist/tv/getTvChangeList.mjs.map +1 -0
- package/dist/tv/getTvEpisode.d.mts +47 -0
- package/dist/tv/getTvEpisode.d.mts.map +1 -0
- package/dist/tv/getTvEpisode.mjs +29 -0
- package/dist/tv/getTvEpisode.mjs.map +1 -0
- package/dist/tv/getTvEpisodeChanges.d.mts +13 -0
- package/dist/tv/getTvEpisodeChanges.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeChanges.mjs +14 -0
- package/dist/tv/getTvEpisodeChanges.mjs.map +1 -0
- package/dist/tv/getTvEpisodeCredits.d.mts +39 -0
- package/dist/tv/getTvEpisodeCredits.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeCredits.mjs +19 -0
- package/dist/tv/getTvEpisodeCredits.mjs.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts +15 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs +18 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs.map +1 -0
- package/dist/tv/getTvEpisodeGroup.d.mts +13 -0
- package/dist/tv/getTvEpisodeGroup.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeGroup.mjs +13 -0
- package/dist/tv/getTvEpisodeGroup.mjs.map +1 -0
- package/dist/tv/getTvEpisodeImages.d.mts +47 -0
- package/dist/tv/getTvEpisodeImages.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeImages.mjs +23 -0
- package/dist/tv/getTvEpisodeImages.mjs.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts +15 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.mjs +18 -0
- package/dist/tv/getTvEpisodeTranslations.mjs.map +1 -0
- package/dist/tv/getTvEpisodeVideos.d.mts +47 -0
- package/dist/tv/getTvEpisodeVideos.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeVideos.mjs +23 -0
- package/dist/tv/getTvEpisodeVideos.mjs.map +1 -0
- package/dist/tv/getTvSeason.d.mts +46 -0
- package/dist/tv/getTvSeason.d.mts.map +1 -0
- package/dist/tv/getTvSeason.mjs +30 -0
- package/dist/tv/getTvSeason.mjs.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs +18 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonChanges.d.mts +51 -0
- package/dist/tv/getTvSeasonChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeasonChanges.mjs +21 -0
- package/dist/tv/getTvSeasonChanges.mjs.map +1 -0
- package/dist/tv/getTvSeasonCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonCredits.mjs +18 -0
- package/dist/tv/getTvSeasonCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts +14 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.mjs +17 -0
- package/dist/tv/getTvSeasonExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeasonImages.d.mts +46 -0
- package/dist/tv/getTvSeasonImages.d.mts.map +1 -0
- package/dist/tv/getTvSeasonImages.mjs +22 -0
- package/dist/tv/getTvSeasonImages.mjs.map +1 -0
- package/dist/tv/getTvSeasonTranslations.d.mts +14 -0
- package/dist/tv/getTvSeasonTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeasonTranslations.mjs +17 -0
- package/dist/tv/getTvSeasonTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeasonVideos.d.mts +46 -0
- package/dist/tv/getTvSeasonVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeasonVideos.mjs +22 -0
- package/dist/tv/getTvSeasonVideos.mjs.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts +38 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs +18 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs.map +1 -0
- package/dist/tv/getTvSeries.d.mts +45 -0
- package/dist/tv/getTvSeries.d.mts.map +1 -0
- package/dist/tv/getTvSeries.mjs +39 -0
- package/dist/tv/getTvSeries.mjs.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs +17 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts +50 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.mjs +18 -0
- package/dist/tv/getTvSeriesAiringToday.mjs.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts +13 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs +14 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs.map +1 -0
- package/dist/tv/getTvSeriesChanges.d.mts +51 -0
- package/dist/tv/getTvSeriesChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeriesChanges.mjs +21 -0
- package/dist/tv/getTvSeriesChanges.mjs.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts +13 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.mjs +14 -0
- package/dist/tv/getTvSeriesContentRatings.mjs.map +1 -0
- package/dist/tv/getTvSeriesCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesCredits.mjs +17 -0
- package/dist/tv/getTvSeriesCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts +13 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs +14 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts +13 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.mjs +14 -0
- package/dist/tv/getTvSeriesExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeriesImages.d.mts +45 -0
- package/dist/tv/getTvSeriesImages.d.mts.map +1 -0
- package/dist/tv/getTvSeriesImages.mjs +21 -0
- package/dist/tv/getTvSeriesImages.mjs.map +1 -0
- package/dist/tv/getTvSeriesKeywords.d.mts +13 -0
- package/dist/tv/getTvSeriesKeywords.d.mts.map +1 -0
- package/dist/tv/getTvSeriesKeywords.mjs +14 -0
- package/dist/tv/getTvSeriesKeywords.mjs.map +1 -0
- package/dist/tv/getTvSeriesLists.d.mts +44 -0
- package/dist/tv/getTvSeriesLists.d.mts.map +1 -0
- package/dist/tv/getTvSeriesLists.mjs +20 -0
- package/dist/tv/getTvSeriesLists.mjs.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts +50 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs +18 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts +44 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.mjs +20 -0
- package/dist/tv/getTvSeriesRecommendations.mjs.map +1 -0
- package/dist/tv/getTvSeriesReviews.d.mts +44 -0
- package/dist/tv/getTvSeriesReviews.d.mts.map +1 -0
- package/dist/tv/getTvSeriesReviews.mjs +20 -0
- package/dist/tv/getTvSeriesReviews.mjs.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts +13 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs +14 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/getTvSeriesTranslations.d.mts +13 -0
- package/dist/tv/getTvSeriesTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesTranslations.mjs +14 -0
- package/dist/tv/getTvSeriesTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeriesVideos.d.mts +45 -0
- package/dist/tv/getTvSeriesVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeriesVideos.mjs +21 -0
- package/dist/tv/getTvSeriesVideos.mjs.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts +13 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs +14 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs.map +1 -0
- package/dist/tv/index.d.mts +57 -0
- package/dist/tv/index.mjs +56 -0
- package/dist/tv/types/AggregateCredits.d.mts +53 -0
- package/dist/tv/types/AggregateCredits.d.mts.map +1 -0
- package/dist/tv/types/AggregateCredits.mjs +41 -0
- package/dist/tv/types/AggregateCredits.mjs.map +1 -0
- package/dist/tv/types/ContentRatings.d.mts +21 -0
- package/dist/tv/types/ContentRatings.d.mts.map +1 -0
- package/dist/tv/types/ContentRatings.mjs +24 -0
- package/dist/tv/types/ContentRatings.mjs.map +1 -0
- package/dist/tv/types/EpisodeGroups.d.mts +64 -0
- package/dist/tv/types/EpisodeGroups.d.mts.map +1 -0
- package/dist/tv/types/EpisodeGroups.mjs +52 -0
- package/dist/tv/types/EpisodeGroups.mjs.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts +19 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.mjs +22 -0
- package/dist/tv/types/ScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts +20 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.mjs +23 -0
- package/dist/tv/types/TvAlternativeTitles.mjs.map +1 -0
- package/dist/tv/types/TvCredits.d.mts +26 -0
- package/dist/tv/types/TvCredits.d.mts.map +1 -0
- package/dist/tv/types/TvCredits.mjs +27 -0
- package/dist/tv/types/TvCredits.mjs.map +1 -0
- package/dist/tv/types/TvEpisode.d.mts +48 -0
- package/dist/tv/types/TvEpisode.d.mts.map +1 -0
- package/dist/tv/types/TvEpisode.mjs +36 -0
- package/dist/tv/types/TvEpisode.mjs.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts +62 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.mjs +36 -0
- package/dist/tv/types/TvEpisodeDetails.mjs.map +1 -0
- package/dist/tv/types/TvExternalIds.d.mts +47 -0
- package/dist/tv/types/TvExternalIds.d.mts.map +1 -0
- package/dist/tv/types/TvExternalIds.mjs +50 -0
- package/dist/tv/types/TvExternalIds.mjs.map +1 -0
- package/dist/tv/types/TvKeywords.d.mts +16 -0
- package/dist/tv/types/TvKeywords.d.mts.map +1 -0
- package/dist/tv/types/TvKeywords.mjs +18 -0
- package/dist/tv/types/TvKeywords.mjs.map +1 -0
- package/dist/tv/types/TvListItem.d.mts +106 -0
- package/dist/tv/types/TvListItem.d.mts.map +1 -0
- package/dist/tv/types/TvListItem.mjs +47 -0
- package/dist/tv/types/TvListItem.mjs.map +1 -0
- package/dist/tv/types/TvSeasonDetails.d.mts +99 -0
- package/dist/tv/types/TvSeasonDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeasonDetails.mjs +57 -0
- package/dist/tv/types/TvSeasonDetails.mjs.map +1 -0
- package/dist/tv/types/TvSeriesDetails.d.mts +193 -0
- package/dist/tv/types/TvSeriesDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeriesDetails.mjs +120 -0
- package/dist/tv/types/TvSeriesDetails.mjs.map +1 -0
- package/dist/tv/types/TvTranslations.d.mts +26 -0
- package/dist/tv/types/TvTranslations.d.mts.map +1 -0
- package/dist/tv/types/TvTranslations.mjs +25 -0
- package/dist/tv/types/TvTranslations.mjs.map +1 -0
- package/dist/tv/types/index.d.mts +15 -0
- package/dist/tv/types/index.mjs +15 -0
- package/dist/types/AlternativeNames.d.mts +18 -0
- package/dist/types/AlternativeNames.d.mts.map +1 -0
- package/dist/types/AlternativeNames.mjs +21 -0
- package/dist/types/AlternativeNames.mjs.map +1 -0
- package/dist/types/ChangeList.d.mts +17 -0
- package/dist/types/ChangeList.d.mts.map +1 -0
- package/dist/types/ChangeList.mjs +19 -0
- package/dist/types/ChangeList.mjs.map +1 -0
- package/dist/types/Changes.d.mts +46 -0
- package/dist/types/Changes.d.mts.map +1 -0
- package/dist/types/Changes.mjs +32 -0
- package/dist/types/Changes.mjs.map +1 -0
- package/dist/types/Credit.d.mts +89 -0
- package/dist/types/Credit.d.mts.map +1 -0
- package/dist/types/Credit.mjs +47 -0
- package/dist/types/Credit.mjs.map +1 -0
- package/dist/types/Genre.d.mts +18 -0
- package/dist/types/Genre.d.mts.map +1 -0
- package/dist/types/Genre.mjs +18 -0
- package/dist/types/Genre.mjs.map +1 -0
- package/dist/types/Images.d.mts +99 -0
- package/dist/types/Images.d.mts.map +1 -0
- package/dist/types/Images.mjs +75 -0
- package/dist/types/Images.mjs.map +1 -0
- package/dist/types/Keyword.d.mts +22 -0
- package/dist/types/Keyword.d.mts.map +1 -0
- package/dist/types/Keyword.mjs +21 -0
- package/dist/types/Keyword.mjs.map +1 -0
- package/dist/types/MediaListItem.d.mts +15 -0
- package/dist/types/MediaListItem.d.mts.map +1 -0
- package/dist/types/MediaListItem.mjs +21 -0
- package/dist/types/MediaListItem.mjs.map +1 -0
- package/dist/types/PagedResults.d.mts +26 -0
- package/dist/types/PagedResults.d.mts.map +1 -0
- package/dist/types/PagedResults.mjs +22 -0
- package/dist/types/PagedResults.mjs.map +1 -0
- package/dist/types/ProductionCompany.d.mts +24 -0
- package/dist/types/ProductionCompany.d.mts.map +1 -0
- package/dist/types/ProductionCompany.mjs +21 -0
- package/dist/types/ProductionCompany.mjs.map +1 -0
- package/dist/types/ProductionCountry.d.mts +20 -0
- package/dist/types/ProductionCountry.d.mts.map +1 -0
- package/dist/types/ProductionCountry.mjs +18 -0
- package/dist/types/ProductionCountry.mjs.map +1 -0
- package/dist/types/SpokenLanguage.d.mts +24 -0
- package/dist/types/SpokenLanguage.d.mts.map +1 -0
- package/dist/types/SpokenLanguage.mjs +20 -0
- package/dist/types/SpokenLanguage.mjs.map +1 -0
- package/dist/types/Translation.d.mts +27 -0
- package/dist/types/Translation.d.mts.map +1 -0
- package/dist/types/Translation.mjs +30 -0
- package/dist/types/Translation.mjs.map +1 -0
- package/dist/types/Video.d.mts +51 -0
- package/dist/types/Video.d.mts.map +1 -0
- package/dist/types/Video.mjs +37 -0
- package/dist/types/Video.mjs.map +1 -0
- package/dist/types/index.d.mts +15 -0
- package/dist/types/index.mjs +15 -0
- package/dist/utils/isNonNullable.d.mts +8 -0
- package/dist/utils/isNonNullable.d.mts.map +1 -0
- package/dist/utils/isNonNullable.mjs +10 -0
- package/dist/utils/isNonNullable.mjs.map +1 -0
- package/dist/utils/isObject.d.mts +2 -0
- package/dist/utils/isObject.d.mts.map +1 -0
- package/dist/utils/isObject.mjs +5 -0
- package/dist/utils/isObject.mjs.map +1 -0
- package/dist/utils/sleep.d.mts +5 -0
- package/dist/utils/sleep.d.mts.map +1 -0
- package/dist/utils/sleep.mjs +29 -0
- package/dist/utils/sleep.mjs.map +1 -0
- package/dist/utils/toCamelCase.d.mts +8 -0
- package/dist/utils/toCamelCase.d.mts.map +1 -0
- package/dist/utils/toCamelCase.mjs +11 -0
- package/dist/utils/toCamelCase.mjs.map +1 -0
- package/dist/utils/toCamelKeys.d.mts +17 -0
- package/dist/utils/toCamelKeys.d.mts.map +1 -0
- package/dist/utils/toCamelKeys.mjs +18 -0
- package/dist/utils/toCamelKeys.mjs.map +1 -0
- package/dist/utils/toSnakeCase.d.mts +2 -0
- package/dist/utils/toSnakeCase.d.mts.map +1 -0
- package/dist/utils/toSnakeCase.mjs +5 -0
- package/dist/utils/toSnakeCase.mjs.map +1 -0
- package/dist/utils/toSnakeKeys.d.mts +21 -0
- package/dist/utils/toSnakeKeys.d.mts.map +1 -0
- package/dist/utils/toSnakeKeys.mjs +18 -0
- package/dist/utils/toSnakeKeys.mjs.map +1 -0
- package/dist/validations/index.d.mts +4 -0
- package/dist/validations/index.mjs +4 -0
- package/dist/validations/integer.d.mts +8 -0
- package/dist/validations/integer.d.mts.map +1 -0
- package/dist/validations/integer.mjs +11 -0
- package/dist/validations/integer.mjs.map +1 -0
- package/dist/validations/isoDate.d.mts +4 -0
- package/dist/validations/isoDate.d.mts.map +1 -0
- package/dist/validations/isoDate.mjs +7 -0
- package/dist/validations/isoDate.mjs.map +1 -0
- package/dist/validations/schema.d.mts +96 -0
- package/dist/validations/schema.d.mts.map +1 -0
- package/dist/validations/schema.mjs +118 -0
- package/dist/validations/schema.mjs.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts +36 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs +13 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs.map +1 -0
- package/dist/watch-providers/index.d.mts +8 -0
- package/dist/watch-providers/index.mjs +7 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts +22 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderList.mjs +22 -0
- package/dist/watch-providers/types/WatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts +15 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs +14 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviders.d.mts +33 -0
- package/dist/watch-providers/types/WatchProviders.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviders.mjs +35 -0
- package/dist/watch-providers/types/WatchProviders.mjs.map +1 -0
- package/dist/watch-providers/types/index.d.mts +4 -0
- package/dist/watch-providers/types/index.mjs +4 -0
- package/package.json +39 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollection.d.mts","names":[],"sources":["../../src/collection/getCollection.ts"],"mappings":";;;qBAKa,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgBnB,eAAe,eACnB,qBACP"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/collection/getCollection.ts
|
|
5
|
+
const getCollectionSchema = v.object({
|
|
6
|
+
collectionId: tmdbId,
|
|
7
|
+
params: v.exactOptional(v.partial(v.object({ language: v.string() })))
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* ### [Details](https://developer.themoviedb.org/reference/collection-details)
|
|
11
|
+
*
|
|
12
|
+
* **GET** `/collection/{collection_id}`
|
|
13
|
+
*/
|
|
14
|
+
const getCollection = async ({ collectionId, params }, options) => get(`/collection/${collectionId}`, params, options);
|
|
15
|
+
export { getCollection, getCollectionSchema };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=getCollection.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollection.mjs","names":[],"sources":["../../src/collection/getCollection.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { CollectionDetails } from \"./types/CollectionDetails.js\";\n\nexport const getCollectionSchema = v.object({\n collectionId: tmdbId,\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [Details](https://developer.themoviedb.org/reference/collection-details)\n *\n * **GET** `/collection/{collection_id}`\n */\nexport const getCollection: Fetcher<\n typeof getCollectionSchema,\n CollectionDetails\n> = async ({ collectionId, params }, options) =>\n get(`/collection/${collectionId}`, params, options);\n"],"mappings":";;;;AAKA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,cAAc;CACd,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO,EACP,UAAU,EAAE,OAAO,EACrB,CAAC,CACH,CACF;AACF,CAAC;;;;;;AAOD,MAAa,gBAGT,OAAO,EAAE,cAAc,UAAU,YACnC,IAAI,eAAe,gBAAgB,QAAQ,OAAO"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { MediaImages } from "../types/Images.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getCollectionImagesSchema: 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
|
+
/** Specify a comma separated list of ISO-639-1 values to query, for example: `en-US,null` */
|
|
8
|
+
readonly includeImageLanguage: v.StringSchema<undefined>;
|
|
9
|
+
readonly language: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
11
|
+
readonly entries: {
|
|
12
|
+
readonly includeImageLanguage: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
};
|
|
15
|
+
readonly "~standard": v.StandardProps<{
|
|
16
|
+
includeImageLanguage?: string | undefined;
|
|
17
|
+
language?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
includeImageLanguage?: string | undefined;
|
|
20
|
+
language?: string | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
23
|
+
includeImageLanguage?: string | undefined;
|
|
24
|
+
language?: string | undefined;
|
|
25
|
+
}, v.StringIssue | v.ObjectIssue>;
|
|
26
|
+
readonly "~types"?: {
|
|
27
|
+
readonly input: {
|
|
28
|
+
includeImageLanguage?: string | undefined;
|
|
29
|
+
language?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
readonly output: {
|
|
32
|
+
includeImageLanguage?: string | undefined;
|
|
33
|
+
language?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
36
|
+
} | undefined;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* ### [Images](https://developer.themoviedb.org/reference/collection-images)
|
|
41
|
+
*
|
|
42
|
+
* **GET** `/collection/{collection_id}/images`
|
|
43
|
+
*/
|
|
44
|
+
export declare const getCollectionImages: Fetcher<typeof getCollectionImagesSchema, MediaImages>;
|
|
45
|
+
//# sourceMappingURL=getCollectionImages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollectionImages.d.mts","names":[],"sources":["../../src/collection/getCollectionImages.ts"],"mappings":";;;qBAKa,2BAAyB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkBzB,qBAAqB,eACzB,2BACP"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { tmdbId } from "../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/collection/getCollectionImages.ts
|
|
5
|
+
const getCollectionImagesSchema = v.object({
|
|
6
|
+
collectionId: tmdbId,
|
|
7
|
+
params: v.exactOptional(v.partial(v.object({
|
|
8
|
+
/** Specify a comma separated list of ISO-639-1 values to query, for example: `en-US,null` */
|
|
9
|
+
includeImageLanguage: v.string(),
|
|
10
|
+
language: v.string()
|
|
11
|
+
})))
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* ### [Images](https://developer.themoviedb.org/reference/collection-images)
|
|
15
|
+
*
|
|
16
|
+
* **GET** `/collection/{collection_id}/images`
|
|
17
|
+
*/
|
|
18
|
+
const getCollectionImages = async ({ collectionId, params }, options) => get(`/collection/${collectionId}/images`, params, options);
|
|
19
|
+
export { getCollectionImages, getCollectionImagesSchema };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=getCollectionImages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollectionImages.mjs","names":[],"sources":["../../src/collection/getCollectionImages.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { MediaImages } from \"../types/Images.js\";\n\nexport const getCollectionImagesSchema = v.object({\n collectionId: tmdbId,\n params: v.exactOptional(\n v.partial(\n v.object({\n /** Specify a comma separated list of ISO-639-1 values to query, for example: `en-US,null` */\n includeImageLanguage: v.string(),\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [Images](https://developer.themoviedb.org/reference/collection-images)\n *\n * **GET** `/collection/{collection_id}/images`\n */\nexport const getCollectionImages: Fetcher<\n typeof getCollectionImagesSchema,\n MediaImages\n> = async ({ collectionId, params }, options) =>\n get(`/collection/${collectionId}/images`, params, options);\n"],"mappings":";;;;AAKA,MAAa,4BAA4B,EAAE,OAAO;CAChD,cAAc;CACd,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO;;EAEP,sBAAsB,EAAE,OAAO;EAC/B,UAAU,EAAE,OAAO;CACrB,CAAC,CACH,CACF;AACF,CAAC;;;;;;AAOD,MAAa,sBAGT,OAAO,EAAE,cAAc,UAAU,YACnC,IAAI,eAAe,aAAa,UAAU,QAAQ,OAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { CollectionTranslations } from "./types/CollectionTranslations.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getCollectionTranslationsSchema: v.ObjectSchema<{
|
|
5
|
+
readonly collectionId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* ### [Translations](https://developer.themoviedb.org/reference/collection-translations)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/collection/{collection_id}/translations`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getCollectionTranslations: Fetcher<typeof getCollectionTranslationsSchema, CollectionTranslations>;
|
|
13
|
+
//# sourceMappingURL=getCollectionTranslations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollectionTranslations.d.mts","names":[],"sources":["../../src/collection/getCollectionTranslations.ts"],"mappings":";;;qBAKa,iCAA+B,EAAA;;;;;;;;qBAS/B,2BAA2B,eAC/B,iCACP"}
|
|
@@ -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/collection/getCollectionTranslations.ts
|
|
5
|
+
const getCollectionTranslationsSchema = v.object({ collectionId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Translations](https://developer.themoviedb.org/reference/collection-translations)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/collection/{collection_id}/translations`
|
|
10
|
+
*/
|
|
11
|
+
const getCollectionTranslations = async ({ collectionId }, options) => get(`/collection/${collectionId}/translations`, void 0, options);
|
|
12
|
+
export { getCollectionTranslations, getCollectionTranslationsSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getCollectionTranslations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollectionTranslations.mjs","names":[],"sources":["../../src/collection/getCollectionTranslations.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { CollectionTranslations } from \"./types/CollectionTranslations.js\";\n\nexport const getCollectionTranslationsSchema = v.object({\n collectionId: tmdbId\n});\n\n/**\n * ### [Translations](https://developer.themoviedb.org/reference/collection-translations)\n *\n * **GET** `/collection/{collection_id}/translations`\n */\nexport const getCollectionTranslations: Fetcher<\n typeof getCollectionTranslationsSchema,\n CollectionTranslations\n> = async ({ collectionId }, options) =>\n get(`/collection/${collectionId}/translations`, undefined, options);\n"],"mappings":";;;;AAKA,MAAa,kCAAkC,EAAE,OAAO,EACtD,cAAc,OAChB,CAAC;;;;;;AAOD,MAAa,4BAGT,OAAO,EAAE,gBAAgB,YAC3B,IAAI,eAAe,aAAa,gBAAgB,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getCollectionImages, getCollectionImagesSchema } from "./getCollectionImages.mjs";
|
|
2
|
+
import { CollectionTranslationData, CollectionTranslations, collectionTranslationsSchema } from "./types/CollectionTranslations.mjs";
|
|
3
|
+
import { getCollectionTranslations, getCollectionTranslationsSchema } from "./getCollectionTranslations.mjs";
|
|
4
|
+
import { CollectionListItem, PagedCollectionResults, collectionListItemSchema, pagedCollectionResultsSchema } from "./types/CollectionListItem.mjs";
|
|
5
|
+
import "./types/index.mjs";
|
|
6
|
+
import { CollectionDetails, collectionDetailsSchema } from "./types/CollectionDetails.mjs";
|
|
7
|
+
import { getCollection, getCollectionSchema } from "./getCollection.mjs";
|
|
8
|
+
export { CollectionDetails, CollectionListItem, CollectionTranslationData, CollectionTranslations, PagedCollectionResults, collectionDetailsSchema, collectionListItemSchema, collectionTranslationsSchema, getCollection, getCollectionImages, getCollectionImagesSchema, getCollectionSchema, getCollectionTranslations, getCollectionTranslationsSchema, pagedCollectionResultsSchema };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { getCollection, getCollectionSchema } from "./getCollection.mjs";
|
|
2
|
+
import { getCollectionImages, getCollectionImagesSchema } from "./getCollectionImages.mjs";
|
|
3
|
+
import { getCollectionTranslations, getCollectionTranslationsSchema } from "./getCollectionTranslations.mjs";
|
|
4
|
+
import { collectionDetailsSchema } from "./types/CollectionDetails.mjs";
|
|
5
|
+
import { collectionListItemSchema, pagedCollectionResultsSchema } from "./types/CollectionListItem.mjs";
|
|
6
|
+
import { collectionTranslationsSchema } from "./types/CollectionTranslations.mjs";
|
|
7
|
+
export { collectionDetailsSchema, collectionListItemSchema, collectionTranslationsSchema, getCollection, getCollectionImages, getCollectionImagesSchema, getCollectionSchema, getCollectionTranslations, getCollectionTranslationsSchema, pagedCollectionResultsSchema };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MovieMediaListItem } from "../../movie/types/MovieListItem.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _collectionDetailsSchema: v.ObjectSchema<{
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
6
|
+
readonly name: v.StringSchema<undefined>;
|
|
7
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
8
|
+
readonly originalName: v.StringSchema<undefined>;
|
|
9
|
+
readonly overview: v.StringSchema<undefined>;
|
|
10
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
/** The movies in the collection. */
|
|
13
|
+
readonly parts: v.ArraySchema<v.GenericSchema<MovieMediaListItem>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
export interface CollectionDetails extends v.InferOutput<typeof _collectionDetailsSchema> {}
|
|
16
|
+
/**
|
|
17
|
+
* ### Collection
|
|
18
|
+
*
|
|
19
|
+
* A movie collection (a franchise, e.g. "Star Wars Collection") and its movies (`getCollection`). Movies point to theirs through `belongsToCollection`.
|
|
20
|
+
*/
|
|
21
|
+
export declare const collectionDetailsSchema: v.GenericSchema<CollectionDetails>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=CollectionDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionDetails.d.mts","names":["_$______index_js0.MovieMediaListItem"],"sources":["../../../src/collection/types/CollectionDetails.ts"],"mappings":";;;cAKM,0BAAwB,EAAA;;;;;;;;;;;iBAYb,0BAA0B,EAAE,mBACpC;;;;;;qBAQI,yBAAuB,EAAA,cAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { movieMediaListItemSchema } from "../../movie/types/MovieListItem.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/collection/types/CollectionDetails.ts
|
|
6
|
+
const _collectionDetailsSchema = v.object({
|
|
7
|
+
id: integer,
|
|
8
|
+
name: v.string(),
|
|
9
|
+
originalLanguage: v.string(),
|
|
10
|
+
originalName: v.string(),
|
|
11
|
+
overview: v.string(),
|
|
12
|
+
posterPath: v.nullable(v.string()),
|
|
13
|
+
backdropPath: v.nullable(v.string()),
|
|
14
|
+
/** The movies in the collection. */
|
|
15
|
+
parts: v.array(movieMediaListItemSchema)
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* ### Collection
|
|
19
|
+
*
|
|
20
|
+
* A movie collection (a franchise, e.g. "Star Wars Collection") and its movies (`getCollection`). Movies point to theirs through `belongsToCollection`.
|
|
21
|
+
*/
|
|
22
|
+
const collectionDetailsSchema = schema(_collectionDetailsSchema);
|
|
23
|
+
export { collectionDetailsSchema };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=CollectionDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionDetails.mjs","names":[],"sources":["../../../src/collection/types/CollectionDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { movieMediaListItemSchema } from \"../../movie/types/MovieListItem.js\";\n\nconst _collectionDetailsSchema = v.object({\n id: integer,\n name: v.string(),\n originalLanguage: v.string(),\n originalName: v.string(),\n overview: v.string(),\n posterPath: v.nullable(v.string()),\n backdropPath: v.nullable(v.string()),\n /** The movies in the collection. */\n parts: v.array(movieMediaListItemSchema)\n});\n\nexport interface CollectionDetails extends v.InferOutput<\n typeof _collectionDetailsSchema\n> {}\n\n/**\n * ### Collection\n *\n * A movie collection (a franchise, e.g. \"Star Wars Collection\") and its movies (`getCollection`). Movies point to theirs through `belongsToCollection`.\n */\nexport const collectionDetailsSchema = schema<CollectionDetails>(\n _collectionDetailsSchema\n);\n"],"mappings":";;;;;AAKA,MAAM,2BAA2B,EAAE,OAAO;CACxC,IAAI;CACJ,MAAM,EAAE,OAAO;CACf,kBAAkB,EAAE,OAAO;CAC3B,cAAc,EAAE,OAAO;CACvB,UAAU,EAAE,OAAO;CACnB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;CACjC,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;;CAEnC,OAAO,EAAE,MAAM,wBAAwB;AACzC,CAAC;;;;;;AAWD,MAAa,0BAA0B,OACrC,wBACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PagedResults } from "../../types/PagedResults.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
declare const _collectionListItemSchema: v.ObjectSchema<{
|
|
4
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
5
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7
|
+
readonly name: v.StringSchema<undefined>;
|
|
8
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
9
|
+
readonly originalName: v.StringSchema<undefined>;
|
|
10
|
+
readonly overview: v.StringSchema<undefined>;
|
|
11
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
export interface CollectionListItem extends v.InferOutput<typeof _collectionListItemSchema> {}
|
|
14
|
+
/**
|
|
15
|
+
* ### Collection List Item
|
|
16
|
+
*
|
|
17
|
+
* The summary of a collection that `searchCollections` returns.
|
|
18
|
+
*/
|
|
19
|
+
export declare const collectionListItemSchema: v.GenericSchema<CollectionListItem>;
|
|
20
|
+
export interface PagedCollectionResults extends PagedResults<CollectionListItem> {}
|
|
21
|
+
/** A page of {@link CollectionListItem}s. */
|
|
22
|
+
export declare const pagedCollectionResultsSchema: v.GenericSchema<PagedCollectionResults>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=CollectionListItem.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionListItem.d.mts","names":[],"sources":["../../../src/collection/types/CollectionListItem.ts"],"mappings":";;cAKM,2BAAyB,EAAA;;;;;;;;;;iBAWd,2BAA2B,EAAE,mBACrC;;;;;;qBAQI,0BAAwB,EAAA,cAAA;iBAIpB,+BAA+B,aAAa;;qBAGhD,8BAA4B,EAAA,cAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { pagedResults } from "../../types/PagedResults.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/collection/types/CollectionListItem.ts
|
|
6
|
+
const _collectionListItemSchema = v.object({
|
|
7
|
+
adult: v.boolean(),
|
|
8
|
+
backdropPath: v.nullable(v.string()),
|
|
9
|
+
id: integer,
|
|
10
|
+
name: v.string(),
|
|
11
|
+
originalLanguage: v.string(),
|
|
12
|
+
originalName: v.string(),
|
|
13
|
+
overview: v.string(),
|
|
14
|
+
posterPath: v.nullable(v.string())
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* ### Collection List Item
|
|
18
|
+
*
|
|
19
|
+
* The summary of a collection that `searchCollections` returns.
|
|
20
|
+
*/
|
|
21
|
+
const collectionListItemSchema = schema(_collectionListItemSchema);
|
|
22
|
+
/** A page of {@link CollectionListItem}s. */
|
|
23
|
+
const pagedCollectionResultsSchema = schema(pagedResults(collectionListItemSchema));
|
|
24
|
+
export { collectionListItemSchema, pagedCollectionResultsSchema };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=CollectionListItem.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionListItem.mjs","names":[],"sources":["../../../src/collection/types/CollectionListItem.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { pagedResults, type PagedResults } from \"../../types/PagedResults.js\";\n\nconst _collectionListItemSchema = v.object({\n adult: v.boolean(),\n backdropPath: v.nullable(v.string()),\n id: integer,\n name: v.string(),\n originalLanguage: v.string(),\n originalName: v.string(),\n overview: v.string(),\n posterPath: v.nullable(v.string())\n});\n\nexport interface CollectionListItem extends v.InferOutput<\n typeof _collectionListItemSchema\n> {}\n\n/**\n * ### Collection List Item\n *\n * The summary of a collection that `searchCollections` returns.\n */\nexport const collectionListItemSchema = schema<CollectionListItem>(\n _collectionListItemSchema\n);\n\nexport interface PagedCollectionResults extends PagedResults<CollectionListItem> {}\n\n/** A page of {@link CollectionListItem}s. */\nexport const pagedCollectionResultsSchema = schema<PagedCollectionResults>(\n pagedResults(collectionListItemSchema)\n);\n"],"mappings":";;;;;AAKA,MAAM,4BAA4B,EAAE,OAAO;CACzC,OAAO,EAAE,QAAQ;CACjB,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;CACnC,IAAI;CACJ,MAAM,EAAE,OAAO;CACf,kBAAkB,EAAE,OAAO;CAC3B,cAAc,EAAE,OAAO;CACvB,UAAU,EAAE,OAAO;CACnB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;AACnC,CAAC;;;;;;AAWD,MAAa,2BAA2B,OACtC,yBACF;;AAKA,MAAa,+BAA+B,OAC1C,aAAa,wBAAwB,CACvC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Translations } from "../../types/Translation.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
declare const _collectionTranslationDataSchema: v.ObjectSchema<{
|
|
4
|
+
readonly title: v.StringSchema<undefined>;
|
|
5
|
+
readonly overview: v.StringSchema<undefined>;
|
|
6
|
+
readonly homepage: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
export interface CollectionTranslationData extends v.InferOutput<typeof _collectionTranslationDataSchema> {}
|
|
9
|
+
export interface CollectionTranslations extends Translations<CollectionTranslationData> {}
|
|
10
|
+
/**
|
|
11
|
+
* ### Collection Translations
|
|
12
|
+
*
|
|
13
|
+
* A collection's title, overview and homepage in each language TMDB has them in (`getCollectionTranslations`). Untranslated fields are `""`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const collectionTranslationsSchema: v.GenericSchema<CollectionTranslations>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=CollectionTranslations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionTranslations.d.mts","names":[],"sources":["../../../src/collection/types/CollectionTranslations.ts"],"mappings":";;cAIM,kCAAgC,EAAA;;;;;iBAMrB,kCAAkC,EAAE,mBAC5C;iBAGQ,+BAA+B,aAAa;;;;;;qBAOhD,8BAA4B,EAAA,cAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { translations } from "../../types/Translation.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/collection/types/CollectionTranslations.ts
|
|
5
|
+
const _collectionTranslationDataSchema = v.object({
|
|
6
|
+
title: v.string(),
|
|
7
|
+
overview: v.string(),
|
|
8
|
+
homepage: v.string()
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* ### Collection Translations
|
|
12
|
+
*
|
|
13
|
+
* A collection's title, overview and homepage in each language TMDB has them in (`getCollectionTranslations`). Untranslated fields are `""`.
|
|
14
|
+
*/
|
|
15
|
+
const collectionTranslationsSchema = schema(translations(_collectionTranslationDataSchema));
|
|
16
|
+
export { collectionTranslationsSchema };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=CollectionTranslations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionTranslations.mjs","names":[],"sources":["../../../src/collection/types/CollectionTranslations.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { translations, type Translations } from \"../../types/Translation.js\";\n\nconst _collectionTranslationDataSchema = v.object({\n title: v.string(),\n overview: v.string(),\n homepage: v.string()\n});\n\nexport interface CollectionTranslationData extends v.InferOutput<\n typeof _collectionTranslationDataSchema\n> {}\n\nexport interface CollectionTranslations extends Translations<CollectionTranslationData> {}\n\n/**\n * ### Collection Translations\n *\n * A collection's title, overview and homepage in each language TMDB has them in (`getCollectionTranslations`). Untranslated fields are `\"\"`.\n */\nexport const collectionTranslationsSchema = schema<CollectionTranslations>(\n translations(_collectionTranslationDataSchema)\n);\n"],"mappings":";;;;AAIA,MAAM,mCAAmC,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO;CAChB,UAAU,EAAE,OAAO;CACnB,UAAU,EAAE,OAAO;AACrB,CAAC;;;;;;AAaD,MAAa,+BAA+B,OAC1C,aAAa,gCAAgC,CAC/C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CollectionTranslationData, CollectionTranslations, collectionTranslationsSchema } from "./CollectionTranslations.mjs";
|
|
2
|
+
import { CollectionListItem, PagedCollectionResults, collectionListItemSchema, pagedCollectionResultsSchema } from "./CollectionListItem.mjs";
|
|
3
|
+
import { CollectionDetails, collectionDetailsSchema } from "./CollectionDetails.mjs";
|
|
4
|
+
export { CollectionDetails, CollectionListItem, CollectionTranslationData, CollectionTranslations, PagedCollectionResults, collectionDetailsSchema, collectionListItemSchema, collectionTranslationsSchema, pagedCollectionResultsSchema };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { collectionDetailsSchema } from "./CollectionDetails.mjs";
|
|
2
|
+
import { collectionListItemSchema, pagedCollectionResultsSchema } from "./CollectionListItem.mjs";
|
|
3
|
+
import { collectionTranslationsSchema } from "./CollectionTranslations.mjs";
|
|
4
|
+
export { collectionDetailsSchema, collectionListItemSchema, collectionTranslationsSchema, pagedCollectionResultsSchema };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { CompanyDetails } from "./types/CompanyDetails.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getCompanySchema: v.ObjectSchema<{
|
|
5
|
+
readonly companyId: 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/company-details)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/company/{company_id}`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getCompany: Fetcher<typeof getCompanySchema, CompanyDetails>;
|
|
13
|
+
//# sourceMappingURL=getCompany.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompany.d.mts","names":[],"sources":["../../src/company/getCompany.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/company/getCompany.ts
|
|
5
|
+
const getCompanySchema = v.object({ companyId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Details](https://developer.themoviedb.org/reference/company-details)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/company/{company_id}`
|
|
10
|
+
*/
|
|
11
|
+
const getCompany = async ({ companyId }, options) => get(`/company/${companyId}`, void 0, options);
|
|
12
|
+
export { getCompany, getCompanySchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getCompany.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompany.mjs","names":[],"sources":["../../src/company/getCompany.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { tmdbId } from \"../validations/integer.js\";\nimport type { CompanyDetails } from \"./types/CompanyDetails.js\";\n\nexport const getCompanySchema = v.object({\n companyId: tmdbId\n});\n\n/**\n * ### [Details](https://developer.themoviedb.org/reference/company-details)\n *\n * **GET** `/company/{company_id}`\n */\nexport const getCompany: Fetcher<\n typeof getCompanySchema,\n CompanyDetails\n> = async ({ companyId }, options) =>\n get(`/company/${companyId}`, 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 getCompanyAlternativeNamesSchema: v.ObjectSchema<{
|
|
5
|
+
readonly companyId: 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/company-alternative-names)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/company/{company_id}/alternative_names`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getCompanyAlternativeNames: Fetcher<typeof getCompanyAlternativeNamesSchema, AlternativeNames>;
|
|
13
|
+
//# sourceMappingURL=getCompanyAlternativeNames.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompanyAlternativeNames.d.mts","names":[],"sources":["../../src/company/getCompanyAlternativeNames.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/company/getCompanyAlternativeNames.ts
|
|
5
|
+
const getCompanyAlternativeNamesSchema = v.object({ companyId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Alternative Names](https://developer.themoviedb.org/reference/company-alternative-names)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/company/{company_id}/alternative_names`
|
|
10
|
+
*/
|
|
11
|
+
const getCompanyAlternativeNames = async ({ companyId }, options) => get(`/company/${companyId}/alternative_names`, void 0, options);
|
|
12
|
+
export { getCompanyAlternativeNames, getCompanyAlternativeNamesSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getCompanyAlternativeNames.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompanyAlternativeNames.mjs","names":[],"sources":["../../src/company/getCompanyAlternativeNames.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 getCompanyAlternativeNamesSchema = v.object({\n companyId: tmdbId\n});\n\n/**\n * ### [Alternative Names](https://developer.themoviedb.org/reference/company-alternative-names)\n *\n * **GET** `/company/{company_id}/alternative_names`\n */\nexport const getCompanyAlternativeNames: Fetcher<\n typeof getCompanyAlternativeNamesSchema,\n AlternativeNames\n> = async ({ companyId }, options) =>\n get(`/company/${companyId}/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 getCompanyImagesSchema: v.ObjectSchema<{
|
|
5
|
+
readonly companyId: 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/company-images)
|
|
9
|
+
*
|
|
10
|
+
* **GET** `/company/{company_id}/images`
|
|
11
|
+
*/
|
|
12
|
+
export declare const getCompanyImages: Fetcher<typeof getCompanyImagesSchema, LogoImages>;
|
|
13
|
+
//# sourceMappingURL=getCompanyImages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompanyImages.d.mts","names":[],"sources":["../../src/company/getCompanyImages.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/company/getCompanyImages.ts
|
|
5
|
+
const getCompanyImagesSchema = v.object({ companyId: tmdbId });
|
|
6
|
+
/**
|
|
7
|
+
* ### [Images](https://developer.themoviedb.org/reference/company-images)
|
|
8
|
+
*
|
|
9
|
+
* **GET** `/company/{company_id}/images`
|
|
10
|
+
*/
|
|
11
|
+
const getCompanyImages = async ({ companyId }, options) => get(`/company/${companyId}/images`, void 0, options);
|
|
12
|
+
export { getCompanyImages, getCompanyImagesSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=getCompanyImages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCompanyImages.mjs","names":[],"sources":["../../src/company/getCompanyImages.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 getCompanyImagesSchema = v.object({\n companyId: tmdbId\n});\n\n/**\n * ### [Images](https://developer.themoviedb.org/reference/company-images)\n *\n * **GET** `/company/{company_id}/images`\n */\nexport const getCompanyImages: Fetcher<\n typeof getCompanyImagesSchema,\n LogoImages\n> = async ({ companyId }, options) =>\n get(`/company/${companyId}/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,7 @@
|
|
|
1
|
+
import { CompanyDetails, companyDetailsSchema } from "./types/CompanyDetails.mjs";
|
|
2
|
+
import { getCompany, getCompanySchema } from "./getCompany.mjs";
|
|
3
|
+
import { getCompanyAlternativeNames, getCompanyAlternativeNamesSchema } from "./getCompanyAlternativeNames.mjs";
|
|
4
|
+
import { getCompanyImages, getCompanyImagesSchema } from "./getCompanyImages.mjs";
|
|
5
|
+
import { PagedCompanyResults, pagedCompanyResultsSchema } from "./types/CompanyListItem.mjs";
|
|
6
|
+
import "./types/index.mjs";
|
|
7
|
+
export { CompanyDetails, PagedCompanyResults, companyDetailsSchema, getCompany, getCompanyAlternativeNames, getCompanyAlternativeNamesSchema, getCompanyImages, getCompanyImagesSchema, getCompanySchema, pagedCompanyResultsSchema };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getCompany, getCompanySchema } from "./getCompany.mjs";
|
|
2
|
+
import { getCompanyAlternativeNames, getCompanyAlternativeNamesSchema } from "./getCompanyAlternativeNames.mjs";
|
|
3
|
+
import { getCompanyImages, getCompanyImagesSchema } from "./getCompanyImages.mjs";
|
|
4
|
+
import { companyDetailsSchema } from "./types/CompanyDetails.mjs";
|
|
5
|
+
import { pagedCompanyResultsSchema } from "./types/CompanyListItem.mjs";
|
|
6
|
+
export { companyDetailsSchema, getCompany, getCompanyAlternativeNames, getCompanyAlternativeNamesSchema, getCompanyImages, getCompanyImagesSchema, getCompanySchema, pagedCompanyResultsSchema };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _companyDetailsSchema: v.ObjectSchema<{
|
|
3
|
+
/** `""` when TMDB has none. */
|
|
4
|
+
readonly description: v.StringSchema<undefined>;
|
|
5
|
+
readonly headquarters: v.StringSchema<undefined>;
|
|
6
|
+
readonly homepage: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
8
|
+
readonly logoPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly name: v.StringSchema<undefined>;
|
|
10
|
+
/** ISO 3166-1 code, or `""`. */
|
|
11
|
+
readonly originCountry: v.StringSchema<undefined>;
|
|
12
|
+
/** The parent company's id. Recorded as an id for Lucasfilm (2026-10-28); `null` for companies without one is assumed, not observed. */
|
|
13
|
+
readonly parentCompany: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
export interface CompanyDetails extends v.InferOutput<typeof _companyDetailsSchema> {}
|
|
16
|
+
/**
|
|
17
|
+
* ### Company
|
|
18
|
+
*
|
|
19
|
+
* A production company (`getCompany`).
|
|
20
|
+
*/
|
|
21
|
+
export declare const companyDetailsSchema: v.GenericSchema<CompanyDetails>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=CompanyDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyDetails.d.mts","names":[],"sources":["../../../src/company/types/CompanyDetails.ts"],"mappings":";cAIM,uBAAqB,EAAA;;;;;;;;;;;;;iBAcV,uBAAuB,EAAE,mBACjC;;;;;;qBAQI,sBAAoB,EAAA,cAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/company/types/CompanyDetails.ts
|
|
5
|
+
const _companyDetailsSchema = v.object({
|
|
6
|
+
/** `""` when TMDB has none. */
|
|
7
|
+
description: v.string(),
|
|
8
|
+
headquarters: v.string(),
|
|
9
|
+
homepage: v.nullable(v.string()),
|
|
10
|
+
id: integer,
|
|
11
|
+
logoPath: v.nullable(v.string()),
|
|
12
|
+
name: v.string(),
|
|
13
|
+
/** ISO 3166-1 code, or `""`. */
|
|
14
|
+
originCountry: v.string(),
|
|
15
|
+
/** The parent company's id. Recorded as an id for Lucasfilm (2026-10-28); `null` for companies without one is assumed, not observed. */
|
|
16
|
+
parentCompany: v.nullable(integer)
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* ### Company
|
|
20
|
+
*
|
|
21
|
+
* A production company (`getCompany`).
|
|
22
|
+
*/
|
|
23
|
+
const companyDetailsSchema = schema(_companyDetailsSchema);
|
|
24
|
+
export { companyDetailsSchema };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=CompanyDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyDetails.mjs","names":[],"sources":["../../../src/company/types/CompanyDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _companyDetailsSchema = v.object({\n /** `\"\"` when TMDB has none. */\n description: v.string(),\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 /** The parent company's id. Recorded as an id for Lucasfilm (2026-10-28); `null` for companies without one is assumed, not observed. */\n parentCompany: v.nullable(integer)\n});\n\nexport interface CompanyDetails extends v.InferOutput<\n typeof _companyDetailsSchema\n> {}\n\n/**\n * ### Company\n *\n * A production company (`getCompany`).\n */\nexport const companyDetailsSchema = schema<CompanyDetails>(\n _companyDetailsSchema\n);\n"],"mappings":";;;;AAIA,MAAM,wBAAwB,EAAE,OAAO;;CAErC,aAAa,EAAE,OAAO;CACtB,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;;CAExB,eAAe,EAAE,SAAS,OAAO;AACnC,CAAC;;;;;;AAWD,MAAa,uBAAuB,OAClC,qBACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PagedResults } from "../../types/PagedResults.mjs";
|
|
2
|
+
import { ProductionCompany } from "../../types/ProductionCompany.mjs";
|
|
3
|
+
export interface PagedCompanyResults extends PagedResults<ProductionCompany> {}
|
|
4
|
+
/**
|
|
5
|
+
* ### Company Search Results
|
|
6
|
+
*
|
|
7
|
+
* A page of companies (`searchCompanies`), each in the same shape a title's production companies have.
|
|
8
|
+
*/
|
|
9
|
+
export declare const pagedCompanyResultsSchema: import("valibot").GenericSchema<PagedCompanyResults>;
|
|
10
|
+
//# sourceMappingURL=CompanyListItem.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyListItem.d.mts","names":[],"sources":["../../../src/company/types/CompanyListItem.ts"],"mappings":";;iBAOiB,4BAA4B,aAAa;;;;;;qBAO7C,6CAAyB,cAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { pagedResults } from "../../types/PagedResults.mjs";
|
|
3
|
+
import { productionCompanySchema } from "../../types/ProductionCompany.mjs";
|
|
4
|
+
// src/company/types/CompanyListItem.ts
|
|
5
|
+
/**
|
|
6
|
+
* ### Company Search Results
|
|
7
|
+
*
|
|
8
|
+
* A page of companies (`searchCompanies`), each in the same shape a title's production companies have.
|
|
9
|
+
*/
|
|
10
|
+
const pagedCompanyResultsSchema = schema(pagedResults(productionCompanySchema));
|
|
11
|
+
export { pagedCompanyResultsSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=CompanyListItem.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyListItem.mjs","names":[],"sources":["../../../src/company/types/CompanyListItem.ts"],"sourcesContent":["import { schema } from \"../../validations/schema.js\";\nimport { pagedResults, type PagedResults } from \"../../types/PagedResults.js\";\nimport {\n productionCompanySchema,\n type ProductionCompany\n} from \"../../types/ProductionCompany.js\";\n\nexport interface PagedCompanyResults extends PagedResults<ProductionCompany> {}\n\n/**\n * ### Company Search Results\n *\n * A page of companies (`searchCompanies`), each in the same shape a title's production companies have.\n */\nexport const pagedCompanyResultsSchema = schema<PagedCompanyResults>(\n pagedResults(productionCompanySchema)\n);\n"],"mappings":";;;;;;;;;AAcA,MAAa,4BAA4B,OACvC,aAAa,uBAAuB,CACtC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { ConfigurationDetails } from "./types/ConfigurationDetails.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Details](https://developer.themoviedb.org/reference/configuration-details)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getConfiguration: Fetcher<null, ConfigurationDetails>;
|
|
9
|
+
//# sourceMappingURL=getConfiguration.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfiguration.d.mts","names":[],"sources":["../../src/configuration/getConfiguration.ts"],"mappings":";;;;;;;qBAQa,kBAAkB,cAAc"}
|