import { TraktShowShort, TraktShowExtended } from '../../models/trakt-show.model.js'; import { TraktMovieShort, TraktMovieExtended } from '../../models/trakt-movie.model.js'; import { q as TraktPrivateUser } from '../../trakt-list.model-CeURmxQs.js'; import { TraktClientEndpoint, TraktApiParamsExtended } from '../../models/trakt-client.model.js'; import '../../models/trakt-entity.model.js'; import '@dvcol/common-utils/common/models'; import '../../models/trakt-id.model.js'; import '@dvcol/base-http-client'; import '@dvcol/common-utils/http/fetch'; import '../trakt-api.filters.js'; import '../../models/trakt-image.model.js'; import '../../models/trakt-people.model.js'; import '../../models/trakt-episode.model.js'; import '../../models/trakt-season.model.js'; /** * Trakt social recommendations use all the Favorites lists from the users you follow. * The more users you follow with similar tastes, the better your recommendations will be. * We also use other factors for the algorithm to further personalize what gets recommended. * * @see [recommendations]{@link https://trakt.docs.apiary.io/#reference/recommendations} */ declare const recommendations: { movies: { /** * Movie recommendations for a user. By default, 10 results are returned. You can send a limit to get up to 100 results per page. * Set ignore_collected=true to filter out movies the user has already collected or ignore_watchlisted=true to filter out movies the user has already watchlisted. * * The favorited_by array contains all users who favorited the item along with any notes they added. * * @extended true - {@link TraktApiExtended.Full} * @auth required * * @see [get-movie-recommendations]{@link https://trakt.docs.apiary.io/#reference/recommendations/movies/get-movie-recommendations} */ get: TraktClientEndpoint<{ /** filter out collected movies */ ignore_collected?: boolean; /** filter out watchlisted movies */ ignore_watchlisted?: boolean; } & TraktApiParamsExtended<"full">, ({ favorited_by: (TraktPrivateUser & { name: string; vip: boolean; vip_ep: boolean; } & { notes: string; })[]; } & Pick<{ movie: TraktMovieShort & Partial; show: TraktShowShort & Partial; }, "movie">)[], true>; /** * Hide a movie from getting recommended anymore. * * @auth required * * @see [hide-a-movie-recommendation]{@link https://trakt.docs.apiary.io/#reference/recommendations/hide-movie/hide-a-movie-recommendation} */ hide: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; }, unknown, false>; }; /** * TV show recommendations for a user. By default, 10 results are returned. You can send a limit to get up to 100 results per page. * Set ignore_collected=true to filter out shows the user has already collected or ignore_watchlisted=true to filter out shows the user has already watchlisted. * * The favorited_by array contains all users who favorited the item along with any notes they added. * * @extended true - {@link TraktApiExtended.Full} * @auth required * * @see [get-show-recommendations]{@link https://trakt.docs.apiary.io/#reference/recommendations/shows/get-show-recommendations} */ shows: { get: TraktClientEndpoint<{ /** filter out collected movies */ ignore_collected?: boolean; /** filter out watchlisted movies */ ignore_watchlisted?: boolean; } & TraktApiParamsExtended<"full">, ({ favorited_by: (TraktPrivateUser & { name: string; vip: boolean; vip_ep: boolean; } & { notes: string; })[]; } & Pick<{ movie: TraktMovieShort & Partial; show: TraktShowShort & Partial; }, "show">)[], true>; /** * Hide a show from getting recommended anymore. * * @auth required * * @see [hide-a-show-recommendation]{@link https://trakt.docs.apiary.io/#reference/recommendations/hide-show/hide-a-show-recommendation} */ hide: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; }, unknown, false>; }; }; export { recommendations };