import { TraktPersonUpdate, BaseTraktPerson, TraktPersonExtended, TraktPersonJobs } from '../../models/trakt-people.model.cjs'; import { d as TraktList } from '../../trakt-list.model-DUX3arQu.cjs'; import { TraktClientEndpoint, TraktApiParamsExtended, TraktApiParamsPagination } from '../../models/trakt-client.model.cjs'; import { StartDateParam } from '../../models/trakt-entity.model.cjs'; import '../../models/trakt-id.model.cjs'; import '../../models/trakt-image.model.cjs'; import '@dvcol/common-utils/common/models'; import '@dvcol/base-http-client'; import '@dvcol/common-utils/http/fetch'; import '../trakt-api.filters.cjs'; import '../../models/trakt-episode.model.cjs'; import '../../models/trakt-movie.model.cjs'; import '../../models/trakt-season.model.cjs'; import '../../models/trakt-show.model.cjs'; declare const people: { /** * Returns all people updated since the specified UTC date and time. * We recommended storing the X-Start-Date header you can be efficient using this method moving forward. * By default, 10 results are returned. You can send a limit to get up to 100 results per page. * * * Important * * The start_date is only accurate to the hour, for caching purposes. * Please drop the minutes and seconds from your timestamp to help optimize our cached data. * For example, use 2021-07-17T12:00:00Z and not 2021-07-17T12:23:34Z. * * * Note * * The start_date can only be a maximum of 30 days in the past. * * @pagination true - {@link TraktApiPagination} * @extended true - {@link TraktApiExtended.Full} * * @see [get-recently-updated-people]{@link https://trakt.docs.apiary.io/#reference/people/updates/get-recently-updated-people} */ updates: TraktClientEndpoint & TraktApiParamsPagination, TraktPersonUpdate[], true>; /** * Returns all people Trakt IDs updated since the specified UTC date and time. * We recommended storing the X-Start-Date header you can be efficient using this method moving forward. * By default, 10 results are returned. You can send a limit to get up to 100 results per page. * * * Important * * The start_date is only accurate to the hour, for caching purposes. * Please drop the minutes and seconds from your timestamp to help optimize our cached data. * For example, use 2021-07-17T12:00:00Z and not 2021-07-17T12:23:34Z. * * * Note * * The start_date can only be a maximum of 30 days in the past. * * @pagination true - {@link TraktApiPagination} * * @see [get-recently-updated-people-trakt-ids]{@link https://trakt.docs.apiary.io/#reference/people/updated-ids/get-recently-updated-people-trakt-ids} */ updatedIds: TraktClientEndpoint; /** * Returns a single person's details. * * * Gender * * If available, the gender property will be set to male, female, or non_binary. * * * Known For Department * * If available, the known_for_department property will be set to production, art, crew, costume & make-up, directing, writing, sound, camera, visual effects, lighting, or editing. * Many people have credits across departments, known_for allows you to select their default credits more accurately. * * @extended true - {@link TraktApiExtended.Full} | {@link TraktApiExtended.Images} * * @see [get-a-single-person]{@link https://trakt.docs.apiary.io/#reference/people/summary/get-a-single-person} */ summary: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; } & TraktApiParamsExtended<"full" | "images">, BaseTraktPerson & Partial, true>; /** * Returns all movies where this person is in the cast or crew. Each cast object will have a characters array and a standard movie object. * * The crew object will be broken up by department into production, art, crew, costume & make-up, directing, writing, sound, camera, visual effects, lighting, and editing (if there are people for those crew positions). * Each of those members will have a jobs array and a standard movie object. * * @extended true - {@link TraktApiExtended.Full} | {@link TraktApiExtended.Images} * * @see [get-movie-credits]{@link https://trakt.docs.apiary.io/#reference/people/movies/get-movie-credits} */ movies: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; } & TraktApiParamsExtended<"full" | "images">, { cast: { characters: string[]; person: BaseTraktPerson & Partial; }[]; crew: Partial; }[]>>; }, true>; /** * Returns all shows where this person is in the cast or crew, including the episode_count for which they appear. * Each cast object will have a characters array and a standard show object. * If series_regular is true, this person is a series regular and not simply a guest star. * * The crew object will be broken up by department into production, art, crew, costume & make-up, directing, writing, sound, camera, visual effects, lighting, editing, and created by (if there are people for those crew positions). * Each of those members will have a jobs array and a standard show object. * * @extended true - {@link TraktApiExtended.Full} | {@link TraktApiExtended.Images} * * @see [get-show-credits]{@link https://trakt.docs.apiary.io/#reference/people/shows/get-show-credits} */ shows: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; } & TraktApiParamsExtended<"full" | "images">, { cast: ({ characters: string[]; person: BaseTraktPerson & Partial; } & { episode_count: number; series_regular?: boolean; })[]; crew: Partial; } & { episode_count: number; })[]>>; } & Partial<{ cast: ({ characters: string[]; person: BaseTraktPerson & Partial; } & { episode_count: number; series_regular?: boolean; })[]; crew: Partial; } & { episode_count: number; })[]>>; } & { guest_stars: ({ characters: string[]; person: BaseTraktPerson & Partial; } & { episode_count: number; series_regular?: boolean; })[]; }>, true>; /** * Returns all lists that contain this person. By default, personal lists are returned sorted by the most popular. * * @pagination true - {@link TraktApiPagination} * @emoji true - [documentation]{@link https://trakt.docs.apiary.io/#introduction/emojis} * * @see [get-lists-containing-this-person]{@link https://trakt.docs.apiary.io/#reference/people/lists/get-lists-containing-this-person} */ lists: TraktClientEndpoint<{ /** Trakt ID, Trakt slug, or IMDB ID */ id: string | number; /** Filter for a specific list type */ type?: 'all' | 'personal' | 'official'; /** How to sort */ sort?: 'popular' | 'likes' | 'comments' | 'items' | 'added' | 'updated'; }, TraktList[], true>; }; export { people };