🍿 @lorenzopant/tmdb

Account

Types related to the Account namespace.

Types related to the AccountAPI namespace.

AccountDetails

The public profile of a TMDB account as returned by account.details().

Prop

Type

AccountAvatar

Prop

Type

AccountDetailsParams

Prop

Type

AccountMediaListParams

Shared params for all paginated favorites, watchlist, and rated list endpoints.

Prop

Type

AccountListsParams

Params for the lists() endpoint (no language param).

Prop

Type

AccountSortBy

Sort order for paginated account lists.

type AccountSortBy = "created_at.asc" | "created_at.desc";

AccountMutationParams

Shared params for mutation endpoints (add_favorite, add_to_watchlist).

Prop

Type

AccountAddFavoriteBody

Request body for add_favorite().

Prop

Type

AccountAddToWatchlistBody

Request body for add_to_watchlist().

Prop

Type

AccountMutationResponse

Response returned by add_favorite() and add_to_watchlist() on success (HTTP 2xx). Errors (4xx/5xx) are always thrown as TMDBError and never appear here.

Prop

Type

AccountMovieItem

A movie entry in an account's favorites or watchlist list. Extends MovieResultItem with adult always present.

Prop

Type

AccountTVItem

A TV show entry in an account's favorites or watchlist list. Equivalent to TVSeriesResultItem.

AccountRatedMovieItem

A movie from the rated movies list. Extends AccountMovieItem with a user rating field.

Prop

Type

AccountRatedTVItem

A TV show from the rated TV list. Extends AccountTVItem with a user rating field.

Prop

Type

AccountRatedEpisodeItem

A single TV episode from the rated episodes list.

Prop

Type

AccountListItem

A custom list summary as returned by lists().

Prop

Type

On this page