@lorenzopant/tmdb 1.23.0 → 1.25.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/dist/index.d.mts CHANGED
@@ -1,3 +1,5 @@
1
+ import { $ as VideoItem, A as AlternativeName, B as KnownForItem, C as ImagesResult, D as Prettify, E as LiteralUnionNumber, F as Credit, G as MovieCollection, H as KnownForTV, I as Crew, J as Review, K as ProductionCompany, L as Genre, M as AlternativeTitle, N as Cast, O as isKnownForMovie, P as ContentRating, Q as TranslationResults, R as GenresResponse, S as ImageItem, T as LiteralUnion, U as MediaType, V as KnownForMovie, W as MediaWatchProviders, X as SpokenLanguage, Y as ReviewAuthorDetails, Z as Translation, _ as ProfileSize, a as FallbackUrlConfig, at as TMDBCountries, b as FileType, c as ImageLanguagePriorityConfig, ct as ConfigurationJob, d as ImagesConfig, dt as ConfigurationTimezone, et as VideoResults, f as LOGO_SIZES, ft as ImageConfiguration, g as PosterSize, h as PROFILE_SIZES, ht as PrimaryTranslations, i as DefaultImageSizesConfig, it as CountryISO3166_1, j as AlternativeNamesResult, k as isKnownForTV, l as ImageSize, lt as ConfigurationLanguage, m as POSTER_SIZES, mt as LanguageISO6391, n as BACKDROP_SIZES, nt as WatchProvider, o as IMAGE_BASE_URL, ot as ConfigurationCountriesParams, p as LogoSize, pt as Language, q as ProductionCountry, r as BackdropSize, rt as WatchProviderItem, s as IMAGE_SECURE_BASE_URL, st as ConfigurationCountry, t as ImageAPI, tt as WatchMonetizationType, u as ImageSizeTypes, ut as ConfigurationResponse, v as STILL_SIZES, w as OrganizationImage, x as ImageCollectionKey, y as StillSize, z as Keyword } from "./images.mjs";
2
+
1
3
  //#region src/types/common/changes.d.ts
2
4
  /**
3
5
  * Container for entity change history
@@ -33,381 +35,6 @@ type ChangeResultItem = {
33
35
  softcore: boolean;
34
36
  };
35
37
  //#endregion
36
- //#region src/types/config/languages.d.ts
37
- type LanguageISO6391 = "ay" | "ch" | "fj" | "it" | "nv" | "qu" | "ru" | "sc" | "sw" | "tn" | "ur" | "ho" | "km" | "kj" | "tt" | "ps" | "cn" | "mk" | "yo" | "fo" | "ff" | "ig" | "io" | "id" | "ko" | "mo" | "nr" | "pi" | "so" | "sq" | "ta" | "tl" | "th" | "ve" | "vo" | "cu" | "kw" | "fr" | "fy" | "ht" | "ie" | "ia" | "mh" | "rn" | "se" | "gd" | "ii" | "lo" | "la" | "ny" | "oj" | "ab" | "ar" | "ee" | "hi" | "an" | "ba" | "bn" | "bi" | "et" | "eu" | "gl" | "ha" | "hz" | "iu" | "jv" | "kr" | "mn" | "my" | "na" | "pt" | "sd" | "zu" | "ak" | "hu" | "ik" | "ks" | "ka" | "lg" | "oc" | "uz" | "xh" | "za" | "zh" | "el" | "ga" | "gn" | "gu" | "kl" | "kn" | "ky" | "nl" | "sl" | "sr" | "ss" | "ug" | "bg" | "co" | "cy" | "dv" | "ki" | "mt" | "ne" | "si" | "sn" | "su" | "to" | "wa" | "cr" | "fi" | "hr" | "mg" | "nb" | "ts" | "vi" | "hy" | "av" | "az" | "gv" | "sh" | "lv" | "mr" | "pl" | "rm" | "tr" | "xx" | "ca" | "de" | "rw" | "ln" | "ro" | "ty" | "ti" | "he" | "as" | "bo" | "dz" | "eo" | "ja" | "ng" | "no" | "pa" | "sa" | "am" | "fa" | "aa" | "ae" | "br" | "is" | "kk" | "lt" | "mi" | "ms" | "or" | "st" | "tk" | "af" | "bm" | "bs" | "cs" | "ce" | "kv" | "lb" | "nd" | "sk" | "sm" | "tg" | "wo" | "yi" | "be" | "cv" | "da" | "en" | "kg" | "ku" | "li" | "lu" | "ml" | "nn" | "om" | "os" | "sg" | "es" | "sv" | "te" | "tw" | "uk";
38
- /**
39
- * Defined as const for utility purposes.
40
- * Last update: 20 Nov 2025
41
- */
42
- type PrimaryTranslations = "af-ZA" | "ar-AE" | "ar-SA" | "be-BY" | "bg-BG" | "bn-BD" | "ca-ES" | "ch-GU" | "cn-CN" | "cs-CZ" | "cy-GB" | "da-DK" | "de-AT" | "de-CH" | "de-DE" | "el-GR" | "en-AU" | "en-CA" | "en-GB" | "en-IE" | "en-NZ" | "en-US" | "eo-EO" | "es-ES" | "es-MX" | "et-EE" | "eu-ES" | "fa-IR" | "fi-FI" | "fr-CA" | "fr-FR" | "ga-IE" | "gd-GB" | "gl-ES" | "he-IL" | "hi-IN" | "hr-HR" | "hu-HU" | "id-ID" | "it-IT" | "ja-JP" | "ka-GE" | "kk-KZ" | "kn-IN" | "ko-KR" | "ky-KG" | "lt-LT" | "lv-LV" | "ml-IN" | "mr-IN" | "ms-MY" | "ms-SG" | "nb-NO" | "nl-BE" | "nl-NL" | "no-NO" | "pa-IN" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "si-LK" | "sk-SK" | "sl-SI" | "sq-AL" | "sr-RS" | "sv-SE" | "ta-IN" | "te-IN" | "th-TH" | "tl-PH" | "tr-TR" | "uk-UA" | "vi-VN" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | "zu-ZA";
43
- /**
44
- * As per TMDB documentation:
45
- * https://developer.themoviedb.org/reference/configuration-primary-translations
46
- */
47
- type Language = PrimaryTranslations | LanguageISO6391;
48
- //#endregion
49
- //#region src/types/config/configuration.d.ts
50
- type ImageConfiguration = {
51
- /** Base URL for constructing image URLs (HTTP) */base_url: string; /** Secure base URL for constructing image URLs (HTTPS) */
52
- secure_base_url: string; /** Available size options for backdrop images */
53
- backdrop_sizes: string[]; /** Available size options for logo images */
54
- logo_sizes: string[]; /** Available size options for poster images */
55
- poster_sizes: string[]; /** Available size options for profile images */
56
- profile_sizes: string[]; /** Available size options for still images (from TV shows/episodes) */
57
- still_sizes: string[];
58
- };
59
- type ConfigurationResponse = {
60
- /** Image configuration settings including base URLs and available sizes */images: ImageConfiguration; /** List of keys that can be used to track configuration changes */
61
- change_keys: string[];
62
- };
63
- type ConfigurationCountry = {
64
- /** ISO 3166-1 alpha-2 country code */iso_3166_1: CountryISO3166_1; /** English name of the country */
65
- english_name: string; /** Native name of the country in its local language */
66
- native_name: string;
67
- };
68
- type ConfigurationCountriesParams = {
69
- /** ISO 639-1 language code for localized country names */language?: Language;
70
- };
71
- type ConfigurationJob = {
72
- /** Name of the department (e.g., "Production", "Sound", "Camera") */department: string; /** List of job titles within this department */
73
- jobs: string[];
74
- };
75
- type ConfigurationLanguage = {
76
- /** ISO 639-1 two-letter language code */iso_639_1: string; /** English name of the language */
77
- english_name: string; /** Native name of the language */
78
- name: string;
79
- };
80
- type ConfigurationTimezone = {
81
- /** ISO 3166-1 two-letter country code */iso_3166_1: string; /** List of timezone identifiers for this country (e.g., "America/New_York") */
82
- zones: string[];
83
- };
84
- //#endregion
85
- //#region src/types/config/countries.d.ts
86
- declare const TMDBCountries: ConfigurationCountry[];
87
- type CountryISO3166_1 = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BM" | "BN" | "BO" | "BR" | "BS" | "BT" | "BU" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CS" | "CU" | "CV" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SU" | "SV" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "XC" | "XG" | "XI" | "XK" | "YE" | "YT" | "YU" | "ZA" | "ZM" | "ZR" | "ZW";
88
- //#endregion
89
- //#region src/types/common/media.d.ts
90
- /**
91
- * Represents a genre of a movie or TV show.
92
- */
93
- type Genre = {
94
- id: number;
95
- name: string;
96
- };
97
- /**
98
- * Response containing available genres
99
- */
100
- type GenresResponse = {
101
- /** Array of genre objects with ID and name */genres: Genre[];
102
- };
103
- /**
104
- * Represents a production company involved in creating a movie or TV show.
105
- */
106
- type ProductionCompany = {
107
- id: number;
108
- logo_path?: string;
109
- name: string;
110
- origin_country: string;
111
- };
112
- /**
113
- * Represents a country where a movie or TV show was produced.
114
- */
115
- type ProductionCountry = {
116
- iso_3166_1: string;
117
- name: string;
118
- };
119
- /**
120
- * Represents a spoken language in a movie or TV show.
121
- */
122
- type SpokenLanguage = {
123
- english_name: string;
124
- iso_639_1: string;
125
- name: string;
126
- };
127
- /**
128
- * Represents a collection of movies.
129
- */
130
- type MovieCollection = {
131
- id: number;
132
- name: string;
133
- poster_path?: string;
134
- backdrop_path?: string;
135
- };
136
- /**
137
- * Represents common class for cast and crew types
138
- */
139
- type Credit = {
140
- adult: boolean;
141
- gender?: number;
142
- id: number;
143
- known_for_department: string;
144
- name: string;
145
- original_name: string;
146
- popularity: number;
147
- profile_path?: string;
148
- credit_id: string;
149
- };
150
- /**
151
- * Represents a cast member in a movie or TV show.
152
- */
153
- type Cast = Credit & {
154
- cast_id?: number;
155
- character: string;
156
- order: number;
157
- };
158
- /**
159
- * Represents a crew member in a movie or TV show.
160
- */
161
- type Crew = Credit & {
162
- department: string;
163
- job: string;
164
- };
165
- /**
166
- * Represents a keyword entry
167
- */
168
- type Keyword = {
169
- id: number;
170
- name: string;
171
- };
172
- /**
173
- * Represents an alternative name entry for a company or network.
174
- *
175
- * @see https://developer.themoviedb.org/reference/company-alternative-names
176
- * @see https://developer.themoviedb.org/reference/network-alternative-names
177
- */
178
- type AlternativeName = {
179
- /** The alternative name. */name: string; /** The type or context of the alternative name (e.g. "short name", "abbreviation"). */
180
- type: string;
181
- };
182
- /**
183
- * Represents the response from the TMDB alternative names endpoint
184
- * for a company or network.
185
- *
186
- * @see https://developer.themoviedb.org/reference/company-alternative-names
187
- * @see https://developer.themoviedb.org/reference/network-alternative-names
188
- */
189
- type AlternativeNamesResult = {
190
- /** The unique TMDB identifier of the company or network. */id: number; /** A list of alternative names associated with the company or network. */
191
- results: AlternativeName[];
192
- };
193
- /**
194
- * Alternative title entry
195
- */
196
- type AlternativeTitle = {
197
- /** Alternative title text */title: string; /** ISO 3166-1 country code where this title is used */
198
- iso_3166_1: string; /** Type of title (e.g., "original title", "working title") */
199
- type: string;
200
- };
201
- type VideoResults = {
202
- /** Media identifier. Absent when this resource is fetched via `append_to_response` rather than standalone. */id?: number | string; /** Array of video items */
203
- results: VideoItem[];
204
- };
205
- /**
206
- * Video metadata and details
207
- */
208
- type VideoItem = {
209
- /** ISO 639-1 language code of the video */iso_639_1: string; /** ISO 3166-1 country code where the video is available */
210
- iso_3166_1: string; /** Video title or name */
211
- name: string; /** Unique video key/ID on the hosting platform */
212
- key: string; /** Video hosting platform (e.g., "YouTube", "Vimeo") */
213
- site: string; /** Video resolution/size (e.g., 1080, 720) */
214
- size: number; /** Type of video (e.g., "Trailer", "Teaser", "Clip", "Featurette", "Behind the Scenes") */
215
- type: string; /** Whether this is an official video from the content distributor */
216
- official: boolean; /** Publication date and time (ISO 8601 format) */
217
- published_at: string; /** Unique video identifier in TMDB */
218
- id: string;
219
- };
220
- /**
221
- * Watch provider monetization filters supported by TMDB media discovery endpoints.
222
- */
223
- type WatchMonetizationType = "flatrate" | "free" | "ads" | "rent" | "buy";
224
- /**
225
- * Base properties shared between movie and TV show results
226
- */
227
- type BaseKnownForItem = {
228
- adult: boolean;
229
- backdrop_path?: string;
230
- id: number;
231
- original_language: string;
232
- overview: string;
233
- poster_path?: string;
234
- genre_ids: number[];
235
- popularity: number; /** Whether the item is flagged as softcore content */
236
- softcore: boolean;
237
- vote_average: number;
238
- vote_count: number;
239
- };
240
- /**
241
- * Movie item in known_for array
242
- */
243
- type KnownForMovie = BaseKnownForItem & {
244
- /** Media type discriminator */media_type: "movie"; /** Movie title (localized) */
245
- title: string; /** Original title in the original language */
246
- original_title: string; /** Release date in ISO 8601 format (YYYY-MM-DD) */
247
- release_date: string; /** Whether a video is available on TMDB */
248
- video: boolean;
249
- };
250
- /**
251
- * TV show item in known_for array
252
- */
253
- type KnownForTV = BaseKnownForItem & {
254
- /** Media type discriminator */media_type: "tv"; /** Series name (localized) */
255
- name: string; /** Original series name */
256
- original_name: string; /** First air date (YYYY-MM-DD) */
257
- first_air_date: string; /** Origin country codes (ISO 3166-1 array) */
258
- origin_country: CountryISO3166_1[];
259
- };
260
- /**
261
- * Union type for items in the known_for array (can be either movie or TV show)
262
- */
263
- type KnownForItem = KnownForMovie | KnownForTV;
264
- /** Available media types on TMDB */
265
- type MediaType = "movie" | "tv";
266
- /**
267
- * Content rating information for a TV show or movie
268
- */
269
- type ContentRating = {
270
- /** Additional content descriptors or advisory warnings (e.g., "violence", "language", "nudity") */descriptors: string[]; /** ISO 3166-1 country code where this rating applies */
271
- iso_3166_1: string; /** Age or content rating (e.g., "TV-MA", "PG-13", "TV-14", "R") */
272
- rating: string;
273
- };
274
- /**
275
- * Individual movie review with author information
276
- */
277
- type Review = {
278
- /** Review author's display name */author: string; /** Detailed information about the review author */
279
- author_details: ReviewAuthorDetails; /** Full review text content */
280
- content: string; /** Timestamp when the review was created (ISO 8601) */
281
- created_at: string; /** Unique review identifier */
282
- id: string; /** Timestamp of last update (ISO 8601) */
283
- updated_at: string; /** URL to the review on TMDB website */
284
- url: string;
285
- };
286
- /**
287
- * Author information for a movie review
288
- */
289
- type ReviewAuthorDetails = {
290
- /** Author's full name */name: string; /** Author's username on TMDB */
291
- username: string; /** Path to author's avatar image (optional) */
292
- avatar_path?: string; /** Rating given by the author (0-10 scale, optional) */
293
- rating?: number;
294
- };
295
- /** Collection of translations for a media item (object with `id` and `translations`). */
296
- type TranslationResults<T> = {
297
- /** Absent when this resource is fetched via `append_to_response` rather than standalone. */id?: number | string;
298
- translations: Translation<T>[];
299
- };
300
- /**
301
- * Translation data for a specific language
302
- */
303
- type Translation<T = unknown> = {
304
- /** ISO 3166-1 alpha-2 country code */iso_3166_1: string; /** ISO 639-1 language code */
305
- iso_639_1: string; /** Native name of the language */
306
- name: string; /** English name of the language */
307
- english_name: string; /** Translated media (tv/movie) information */
308
- data: T;
309
- };
310
- /**
311
- * Watch provider availability by country
312
- */
313
- type MediaWatchProviders = {
314
- /** Movie/TV show identifier. Absent when fetched via `append_to_response` rather than standalone. */id?: number; /** Watch providers grouped by country code */
315
- results: Record<CountryISO3166_1, WatchProvider>;
316
- };
317
- /**
318
- * Watch provider options for a specific country
319
- */
320
- type WatchProvider = {
321
- /** URL to watch/purchase the movie */link: string; /** Ad-supported (free with ads) providers */
322
- ads?: WatchProviderItem[]; /** Streaming providers (subscription required) */
323
- flatrate?: WatchProviderItem[]; /** Free (no ads, no subscription) providers */
324
- free?: WatchProviderItem[]; /** Rental providers */
325
- rent?: WatchProviderItem[]; /** Purchase providers */
326
- buy?: WatchProviderItem[];
327
- };
328
- /**
329
- * Individual watch provider details
330
- */
331
- type WatchProviderItem = {
332
- /** Path to provider logo image */logo_path: string; /** Unique provider identifier */
333
- provider_id: number; /** Provider name (e.g., "Netflix", "Amazon Prime Video") */
334
- provider_name: string; /** Display priority order (lower numbers = higher priority) */
335
- display_priority: number;
336
- };
337
- //#endregion
338
- //#region src/types/utility.d.ts
339
- /**
340
- * Forces TypeScript to resolve and display the final shape of a type.
341
- * Useful for seeing the actual properties when hovering in the IDE.
342
- */
343
- type Prettify<T> = T extends object ? (T extends infer O ? { [K in keyof O]: Prettify<O[K]> } : never) : T;
344
- /** Keep literal suggestions but allow any string */
345
- type LiteralUnion<T extends string> = T | (string & {});
346
- /** Keep literal suggestions but allow any number */
347
- type LiteralUnionNumber<T extends number> = T | (number & {});
348
- /**
349
- * Type guard checks for KnowForItems (tv or movie)
350
- * @returns
351
- */
352
- declare function isKnownForMovie(item: KnownForItem): item is KnownForMovie;
353
- declare function isKnownForTV(item: KnownForItem): item is KnownForTV;
354
- //#endregion
355
- //#region src/types/common/images.d.ts
356
- /**
357
- * Defines the possible image collection keys returned by TMDB image endpoints.
358
- */
359
- type ImageCollectionKey = "backdrops" | "logos" | "posters" | "profiles" | "stills";
360
- /**
361
- * Image metadata and details
362
- */
363
- type ImageItem = {
364
- /** Aspect ratio of the image (width/height) */aspect_ratio: number; /** Image height in pixels */
365
- height: number; /** ISO 639-1 language code if image contains text, null otherwise */
366
- iso_639_1?: string; /** ISO 3166-1 country code the image is tagged for, if any */
367
- iso_3166_1?: string; /** Relative path to the image file (append to base URL) */
368
- file_path: string; /** Average user rating for this image */
369
- vote_average: number; /** Total number of votes for this image */
370
- vote_count: number; /** Image width in pixels */
371
- width: number;
372
- };
373
- /**
374
- * Represents a single company or network logo (slightly different from ImageItem)
375
- *
376
- * Note on FileType from TMDB:
377
- * There are two image formats that are supported for companies, PNG's and SVG's.
378
- * You can see which type the original file is by looking at the file_type field.
379
- * We prefer SVG's as they are resolution independent and as such, the width and height are only
380
- * there to reflect the original asset that was uploaded.
381
- * An SVG can be scaled properly beyond those dimensions if you call them as a PNG.
382
- */
383
- type OrganizationImage = Omit<ImageItem, "iso_639_1"> & {
384
- id: string;
385
- file_type: FileType;
386
- };
387
- /**
388
- * Represents the response from a TMDB image endpoint.
389
- * Use the generic parameter to specify which image collections are present.
390
- *
391
- * @template K - The image collection keys available for the given entity type.
392
- *
393
- * @example
394
- * // Company or Network (logos only)
395
- * type OrganizationImagesResult = ImagesResult<"logos">;
396
- *
397
- * @example
398
- * // Movie or TV Show (backdrops, logos and posters)
399
- * type MovieImagesResult = ImagesResult<"backdrops" | "logos" | "posters">;
400
- *
401
- * @example
402
- * // Person (profiles only)
403
- * type PersonImagesResult = ImagesResult<"profiles">;
404
- */
405
- type ImagesResult<T, K extends ImageCollectionKey> = {
406
- /** The unique TMDB identifier of the entity. Absent when fetched via `append_to_response` rather than standalone. */id?: number;
407
- } & { [P in K]: T[] };
408
- /** Available file type on svg (for images) */
409
- type FileType = LiteralUnion<".png" | ".svg">;
410
- //#endregion
411
38
  //#region src/types/common/pagination.d.ts
412
39
  type PaginatedResponse<T> = {
413
40
  page: number;
@@ -441,150 +68,6 @@ type WithRegion = WithParams<"region">;
441
68
  type WithLanguagePage = WithParams<"language" | "page">;
442
69
  type WithPageAndDateRange = WithParams<"page"> & DateRange;
443
70
  //#endregion
444
- //#region src/types/config/images.d.ts
445
- declare const IMAGE_BASE_URL = "http://image.tmdb.org/t/p/";
446
- declare const IMAGE_SECURE_BASE_URL = "https://image.tmdb.org/t/p/";
447
- declare const BACKDROP_SIZES: readonly ["w300", "w780", "w1280", "original"];
448
- type BackdropSize = (typeof BACKDROP_SIZES)[number];
449
- declare const LOGO_SIZES: readonly ["w45", "w92", "w154", "w185", "w300", "w500", "original"];
450
- type LogoSize = (typeof LOGO_SIZES)[number];
451
- declare const POSTER_SIZES: readonly ["w92", "w154", "w185", "w342", "w500", "w780", "original"];
452
- type PosterSize = (typeof POSTER_SIZES)[number];
453
- declare const PROFILE_SIZES: readonly ["w45", "w185", "h632", "original"];
454
- type ProfileSize = (typeof PROFILE_SIZES)[number];
455
- declare const STILL_SIZES: readonly ["w92", "w185", "w300", "original"];
456
- type StillSize = (typeof STILL_SIZES)[number];
457
- type ImageSize = BackdropSize | LogoSize | PosterSize | ProfileSize | StillSize;
458
- /**
459
- * Image size type definitions
460
- */
461
- type ImageSizeTypes = {
462
- /** Size options for backdrop images: "w300", "w780", "w1280", "original" */BackdropSize: BackdropSize; /** Size options for logo images: "w45", "w92", "w154", "w185", "w300", "w500", "original" */
463
- LogoSize: LogoSize; /** Size options for poster images: "w92", "w154", "w185", "w342", "w500", "w780", "original" */
464
- PosterSize: PosterSize; /** Size options for profile images: "w45", "w185", "h632", "original" */
465
- ProfileSize: ProfileSize; /** Size options for still images: "w92", "w185", "w300", "original" */
466
- StillSize: StillSize; /** Union of all available image sizes */
467
- ImageSize: ImageSize;
468
- };
469
- type DefaultImageSizesConfig = {
470
- posters?: PosterSize;
471
- backdrops?: BackdropSize;
472
- logos?: LogoSize;
473
- profiles?: ProfileSize;
474
- still?: StillSize;
475
- };
476
- /**
477
- * Per-collection language priority order used by `autocomplete_paths`.
478
- *
479
- * When set, image items in the matching collection array are reordered so that
480
- * images whose `iso_639_1` matches earlier priority entries appear first.
481
- * No items are ever dropped — only their order is affected.
482
- *
483
- * Special values:
484
- * - `"null"` — matches untagged images (where `iso_639_1` is `null` or absent)
485
- * - `"*"` — catch-all: consumes all remaining items at that position
486
- *
487
- * Items not matched by any entry are appended at the end.
488
- *
489
- * @example
490
- * // Prefer textless posters → English → any fallback
491
- * { posters: ["null", "en", "*"] }
492
- */
493
- type ImageLanguagePriorityConfig = Partial<Record<"backdrops" | "logos" | "posters" | "profiles" | "stills", string[]>>;
494
- /**
495
- * Fallback URL(s) used when an image path field is absent (`null` / `undefined`) in a TMDB
496
- * API response and `autocompleteImagePaths` is applied.
497
- *
498
- * - **string** — one URL used for every image type
499
- * - **object** — per-type URLs; any unspecified type keeps the original `null` / `undefined`
500
- *
501
- * @example
502
- * // Single fallback for everything
503
- * fallback_url: "/placeholder.png"
504
- *
505
- * @example
506
- * // Different placeholders per type
507
- * fallback_url: {
508
- * posters: "/poster-placeholder.png",
509
- * backdrops: "/backdrop-placeholder.png",
510
- * }
511
- */
512
- type FallbackUrlConfig = string | Partial<Record<ImageCollectionKey, string>>;
513
- type ImagesConfig = {
514
- /**
515
- * Whether to use the secure (HTTPS) image base URL.
516
- * Defaults to true. Set to false only if working in an environment where HTTPS is not supported
517
- * or where you explicitly need non-secure image URLs.
518
- */
519
- secure_images_url?: boolean;
520
- /**
521
- * Provide default image size configuration for each type of images.
522
- */
523
- default_image_sizes?: Partial<DefaultImageSizesConfig>;
524
- /**
525
- * Automatically expand TMDB image paths found in API responses into full URLs
526
- * using the configured default image sizes.
527
- *
528
- * This is disabled by default to preserve the existing response shape semantics,
529
- * where fields like `poster_path` contain the original relative TMDB path.
530
- */
531
- autocomplete_paths?: boolean;
532
- /**
533
- * Controls the order of image items inside collection arrays (e.g. `posters`, `backdrops`)
534
- * when `autocomplete_paths` is enabled.
535
- *
536
- * Use `"null"` to match untagged images, ISO-639-1 codes (e.g. `"en"`) to match
537
- * language-specific images, and `"*"` as a catch-all fallback.
538
- *
539
- * Items not matched by any entry are appended at the end. No items are dropped.
540
- *
541
- * @example
542
- * image_language_priority: {
543
- * posters: ["null", "en", "*"],
544
- * }
545
- */
546
- image_language_priority?: ImageLanguagePriorityConfig;
547
- /**
548
- * When `true`, automatically derives `include_image_language` from the language
549
- * codes declared in `image_language_priority` and injects it into every `.images()`
550
- * request — so TMDB returns the language variants that the priority config expects
551
- * to sort.
552
- *
553
- * The injected value is the union of all language codes across all configured
554
- * collections, with `"*"` excluded (it has no meaning as an HTTP parameter).
555
- * An explicit `include_image_language` on the call site always takes precedence.
556
- *
557
- * Requires `image_language_priority` to be set; has no effect without it.
558
- *
559
- * @default false
560
- *
561
- * @example
562
- * // Config: automatically fetch Italian + textless posters on every images() call
563
- * images: {
564
- * autocomplete_paths: true,
565
- * image_language_priority: { posters: ["it", "null", "*"] },
566
- * auto_include_image_language: true,
567
- * }
568
- * // Equivalent to always passing: include_image_language: ["it", "null"]
569
- */
570
- auto_include_image_language?: boolean;
571
- /**
572
- * Fallback URL returned for image path fields that are absent (`null` / `undefined`) in the
573
- * API response.
574
- *
575
- * Works independently of `autocomplete_paths`. When set, the response traversal is activated
576
- * even if `autocomplete_paths` is `false`, but only null/undefined image paths are replaced —
577
- * existing relative paths are left as-is unless `autocomplete_paths` is also `true`.
578
- *
579
- * @example
580
- * fallback_url: "/placeholder.png"
581
- *
582
- * @example
583
- * fallback_url: { posters: "/poster-ph.png", backdrops: "/backdrop-ph.png" }
584
- */
585
- fallback_url?: FallbackUrlConfig;
586
- };
587
- //#endregion
588
71
  //#region src/errors/tmdb.d.ts
589
72
  /**
590
73
  * Represents a generic error or an error specific to the TMDB (The Movie Database) API.
@@ -5124,59 +4607,6 @@ declare class WatchProvidersAPI extends TMDBAPIBase {
5124
4607
  available_regions(params?: WatchProviderRegionsParams): Promise<WatchProviderRegionsResponse>;
5125
4608
  }
5126
4609
  //#endregion
5127
- //#region src/images/images.d.ts
5128
- declare class ImageAPI {
5129
- private options;
5130
- constructor(options?: ImagesConfig);
5131
- private buildUrl;
5132
- backdrop(path: string, size?: BackdropSize): string;
5133
- logo(path: string, size?: LogoSize): string;
5134
- poster(path: string, size?: PosterSize): string;
5135
- profile(path: string, size?: ProfileSize): string;
5136
- still(path: string, size?: StillSize): string;
5137
- /**
5138
- * Recursively processes an object or array to autocomplete image paths by transforming string values
5139
- * and tracking the current image collection context.
5140
- *
5141
- * @template T - The type of the value being processed
5142
- * @param value - The value to process (can be an object, array, string, or primitive)
5143
- * @param collectionKey - Optional image collection key to maintain context during recursion
5144
- * @returns The processed value with autocompleted image paths, maintaining the original type
5145
- *
5146
- * @remarks
5147
- * - Arrays are recursively mapped over each entry
5148
- * - String values are transformed using {@link transformPathValue}
5149
- * - Object keys that match image collection keys update the collection context
5150
- * - Non-plain objects (e.g. Date/class instances) are returned unchanged
5151
- */
5152
- autocompleteImagePaths<T>(value: T, collectionKey?: ImageCollectionKey): T;
5153
- /**
5154
- * Traverses a response object substituting `null` / `undefined` image path fields with the
5155
- * configured `fallback_url` without expanding existing relative paths to full URLs.
5156
- *
5157
- * Used internally by the client when `fallback_url` is set but `autocomplete_paths` is `false`.
5158
- */
5159
- applyFallbacksOnly<T>(value: T): T;
5160
- private traverse;
5161
- /**
5162
- * Reorders an image-item array according to a language priority list.
5163
- *
5164
- * Iterates through each priority entry in order:
5165
- * - `"null"` matches items where `iso_639_1` is `null` or `undefined` (untagged)
5166
- * - `"*"` consumes all remaining items as a catch-all and stops processing
5167
- * - Any other string is matched against `iso_639_1` directly
5168
- *
5169
- * Items not matched by any entry are appended at the end.
5170
- * No items are dropped — only their order changes.
5171
- */
5172
- private sortByLanguagePriority;
5173
- private isImageCollectionKey;
5174
- private getFallbackForCollection;
5175
- private isFullUrl;
5176
- private buildImageUrl;
5177
- private transformPathValue;
5178
- }
5179
- //#endregion
5180
4610
  //#region src/endpoints/networks.d.ts
5181
4611
  declare class NetworksAPI extends TMDBAPIBase {
5182
4612
  private networkPath;
@@ -6285,4 +5715,4 @@ type PageInfo = {
6285
5715
  */
6286
5716
  declare function getPageInfo(response: PaginatedResponse<unknown>): PageInfo;
6287
5717
  //#endregion
6288
- export { AccountAPI, AccountAddFavoriteBody, AccountAddToWatchlistBody, AccountAvatar, AccountDetails, AccountDetailsParams, AccountListItem, AccountListsParams, AccountListsResponse, AccountMediaListParams, AccountMovieItem, AccountMovieListResponse, AccountMutationParams, AccountMutationResponse, AccountRatedEpisodeItem, AccountRatedEpisodesResponse, AccountRatedMovieItem, AccountRatedMoviesResponse, AccountRatedTVItem, AccountRatedTVResponse, AccountSortBy, AccountTVItem, AccountTVListResponse, AlternativeName, AlternativeNamesResult, AlternativeTitle, AuthCreateSessionBody, AuthCreateSessionResponse, AuthCreateSessionWithLoginBody, AuthDeleteSessionBody, AuthDeleteSessionResponse, AuthGuestSessionResponse, AuthRequestTokenResponse, AuthValidateKeyResponse, AuthenticationAPI, BACKDROP_SIZES, BackdropSize, Cast, CertificationItem, Certifications, CertificationsAPI, Change, ChangeItem, ChangeResultItem, Changes, ChangesAPI, Collection, CollectionBaseParam, CollectionDetailsParams, CollectionImages, CollectionImagesParams, CollectionItem, CollectionResultItem, CollectionTranslationData, CollectionTranslations, CollectionsAPI, CompaniesAPI, Company, CompanyAlternativeName, CompanyAlternativeNames, CompanyAlternativeNamesParams, CompanyBaseParam, CompanyDetailsParams, CompanyImages, CompanyImagesParams, CompanyResultItem, CompanySummary, ConfigurationAPI, ConfigurationCountriesParams, ConfigurationCountry, ConfigurationJob, ConfigurationLanguage, ConfigurationResponse, ConfigurationTimezone, ContentRating, CountryISO3166_1, Credit, CreditBaseParam, CreditDetails, CreditDetailsMedia, CreditDetailsMovieMedia, CreditDetailsParams, CreditDetailsPerson, CreditDetailsTVEpisode, CreditDetailsTVMedia, CreditDetailsTVSeason, CreditsAPI, Crew, DateRange, DefaultImageSizesConfig, DiscoverAPI, DiscoverFilterExpression, DiscoverMovieParams, DiscoverMovieSortBy, DiscoverTVParams, DiscoverTVResultItem, DiscoverTVSortBy, DiscoverTVStatus, DiscoverTVStatusLabel, DiscoverTVType, DiscoverTVTypeLabel, FallbackUrlConfig, FetchAllPagesOptions, FileType, FindAPI, FindByIDParams, FindExternalSource, FindMovieResultItem, FindPersonResultItem, FindResults, FindTVEpisodeResultItem, FindTVResultItem, FindTVSeasonResultItem, Genre, GenresAPI, GenresResponse, GuestSessionRatedEpisodesResponse, GuestSessionRatedMoviesResponse, GuestSessionRatedParams, GuestSessionRatedTVResponse, GuestSessionsAPI, IMAGE_BASE_URL, IMAGE_SECURE_BASE_URL, ImageCollectionKey, ImageConfiguration, ImageItem, ImageLanguagePriorityConfig, ImageSize, ImageSizeTypes, ImagesConfig, ImagesResult, Keyword, KeywordBaseParam, KeywordDetailsParams, KeywordMoviesParams, KeywordResultItem, KeywordsAPI, KnownForItem, KnownForMovie, KnownForTV, LOGO_SIZES, Language, LanguageISO6391, ListClearParams, ListCreateBody, ListCreateParams, ListCreateResponse, ListDetails, ListDetailsParams, ListItem, ListItemStatusParams, ListItemStatusResponse, ListMovieBody, ListMutationParams, ListMutationResponse, ListsAPI, LiteralUnion, LiteralUnionNumber, LogoSize, MediaType, MediaWatchProviders, MovieAlternativeTitles, MovieAlternativeTitlesParams, MovieAppendToResponseNamespace, MovieAppendableMap, MovieChanges, MovieChangesParams, MovieCollection, MovieCredits, MovieCreditsParams, MovieDateRangeList, MovieDetails, MovieDetailsParams, MovieDetailsWithAppends, MovieExternalIDs, MovieExternalIDsParams, MovieImages, MovieImagesParams, MovieKeywords, MovieKeywordsParams, MovieListParams, MovieListsAPI, MovieRecommendations, MovieRecommendationsParams, MovieReleaseDate, MovieReleaseDateResult, MovieReleaseDates, MovieReleaseDatesParams, MovieReleaseType, MovieReleaseTypeLabel, MovieResultItem, MovieReviews, MovieReviewsParams, MovieSimilar, MovieSimilarParams, MovieTranslationData, MovieTranslations, MovieTranslationsParams, MovieVideos, MovieVideosParams, MovieWatchProviders, MovieWatchProvidersParams, MoviesAPI, MultiSearchResultItem, Network, NetworkBaseParams, NetworkImages, NetworkItem, NetworksAPI, OrganizationImage, POSTER_SIZES, PROFILE_SIZES, PageInfo, PaginatedResponse, PeopleAPI, PeopleListParams, PeopleListsAPI, PersonAppendToResponseNamespace, PersonAppendableMap, PersonBaseParam, PersonChanges, PersonChangesParams, PersonCombinedCastCredit, PersonCombinedCredits, PersonCombinedCrewCredit, PersonCreditsParams, PersonDetails, PersonDetailsParams, PersonDetailsWithAppends, PersonExternalIDs, PersonExternalIDsParams, PersonImages, PersonImagesParams, PersonMovieCastCredit, PersonMovieCredits, PersonMovieCrewCredit, PersonResultItem, PersonTVCastCredit, PersonTVCredits, PersonTVCrewCredit, PersonTaggedImage, PersonTaggedImageMedia, PersonTaggedImages, PersonTaggedImagesParams, PersonTranslationData, PersonTranslations, PersonTranslationsParams, PosterSize, Prettify, PrimaryTranslations, ProductionCompany, ProductionCountry, ProfileSize, RequestInterceptor, RequestInterceptorContext, ResponseErrorInterceptor, ResponseSuccessInterceptor, RetryOptions, Review, ReviewAuthorDetails, ReviewDetails, ReviewDetailsParams, ReviewsAPI, STILL_SIZES, SearchAPI, SearchCollectionsParams, SearchCompanyParams, SearchKeywordsParams, SearchMoviesParams, SearchMultiParams, SearchPersonParams, SearchTVSeriesParams, SpokenLanguage, StillSize, TMDB, TMDBCountries, TMDBError, TMDBLogger, TMDBLoggerEntry, TMDBLoggerFn, TMDBOptions, TMDBQueryParams, TMDBv4, TVAggregateCredits, TVAggregateCreditsCastItem, TVAggregateCreditsCrewItem, TVAggregateCreditsParams, TVAlternativeTitles, TVAppendToResponseNamespace, TVAppendableMap, TVBaseParam, TVChangeParams, TVContentRatings, TVCreditJob, TVCreditRole, TVCredits, TVCreditsParams, TVDetailsParams, TVDetailsWithAppends, TVEpisode, TVEpisodeAppendToResponseNamespace, TVEpisodeAppendableMap, TVEpisodeBaseParams, TVEpisodeChangesParams, TVEpisodeCredits, TVEpisodeCreditsParams, TVEpisodeDetailsParams, TVEpisodeDetailsWithAppends, TVEpisodeExternalIDs, TVEpisodeGroupDetails, TVEpisodeGroupDetailsItem, TVEpisodeGroupEpisode, TVEpisodeGroupItem, TVEpisodeGroupParams, TVEpisodeGroupType, TVEpisodeGroupTypeLabel, TVEpisodeGroups, TVEpisodeGroupsAPI, TVEpisodeId, TVEpisodeImages, TVEpisodeImagesParams, TVEpisodeItem, TVEpisodeTranslationData, TVEpisodeTranslations, TVEpisodeVideos, TVEpisodesAPI, TVExternalIDs, TVImages, TVImagesParams, TVKeywords, TVRecommendations, TVRecommendationsParams, TVReviews, TVReviewsParams, TVScreenedTheatrically, TVScreeningItem, TVSeason, TVSeasonAggregateCredits, TVSeasonAggregateCreditsParams, TVSeasonAppendToResponseNamespace, TVSeasonAppendableMap, TVSeasonBaseParams, TVSeasonChanges, TVSeasonChangesParams, TVSeasonCredits, TVSeasonCreditsParams, TVSeasonDetailsParams, TVSeasonDetailsWithAppends, TVSeasonEpisode, TVSeasonExternalIDs, TVSeasonId, TVSeasonImages, TVSeasonImagesParams, TVSeasonItem, TVSeasonTranslationData, TVSeasonTranslations, TVSeasonVideos, TVSeasonVideosParams, TVSeasonWatchProvidersParams, TVSeasonsAPI, TVSeriesAPI, TVSeriesChanges, TVSeriesDetails, TVSeriesListItem, TVSeriesListParams, TVSeriesLists, TVSeriesListsAPI, TVSeriesListsParams, TVSeriesResultItem, TVSimilar, TVSimilarParams, TVTranslationData, TVTranslations, TVVideos, Timezone, Translation, TranslationResults, TrendingAPI, TrendingAllResult, TrendingMovieResult, TrendingParams, TrendingPersonResult, TrendingTVResult, TrendingTimeWindow, V4AccountAPI, V4AddListItemsBody, V4AddListItemsResponse, V4AuthAPI, V4AuthAccessTokenResponse, V4AuthCreateAccessTokenBody, V4AuthCreateRequestTokenBody, V4AuthDeleteAccessTokenBody, V4AuthDeleteAccessTokenResponse, V4AuthRequestTokenResponse, V4CreateListBody, V4CreateListResponse, V4DeleteListParams, V4ListDetails, V4ListDetailsParams, V4ListItemInput, V4ListItemResult, V4ListItemStatusParams, V4ListItemStatusResponse, V4ListMediaType, V4ListResult, V4ListStatusResponse, V4ListsAPI, V4RemoveListItemsBody, V4UpdateListBody, V4UpdateListItemsBody, V4UpdateListItemsResponse, VideoItem, VideoResults, WatchMonetizationType, WatchProvider, WatchProviderDisplayPriorities, WatchProviderItem, WatchProviderListItem, WatchProviderListParams, WatchProviderListResponse, WatchProviderRegionsParams, WatchProviderRegionsResponse, WatchProvidersAPI, WithLanguage, WithLanguagePage, WithPage, WithPageAndDateRange, WithParams, WithRegion, fetchAllPages, getPageInfo, hasBackdropPath, hasLogoPath, hasNextPage, hasPosterPath, hasPreviousPage, hasProfilePath, hasStillPath, isJwt, isKnownForMovie, isKnownForTV, isPlainObject, isRecord, paginate };
5718
+ export { AccountAPI, AccountAddFavoriteBody, AccountAddToWatchlistBody, AccountAvatar, AccountDetails, AccountDetailsParams, AccountListItem, AccountListsParams, AccountListsResponse, AccountMediaListParams, AccountMovieItem, AccountMovieListResponse, AccountMutationParams, AccountMutationResponse, AccountRatedEpisodeItem, AccountRatedEpisodesResponse, AccountRatedMovieItem, AccountRatedMoviesResponse, AccountRatedTVItem, AccountRatedTVResponse, AccountSortBy, AccountTVItem, AccountTVListResponse, AlternativeName, AlternativeNamesResult, AlternativeTitle, AuthCreateSessionBody, AuthCreateSessionResponse, AuthCreateSessionWithLoginBody, AuthDeleteSessionBody, AuthDeleteSessionResponse, AuthGuestSessionResponse, AuthRequestTokenResponse, AuthValidateKeyResponse, AuthenticationAPI, BACKDROP_SIZES, BackdropSize, Cast, CertificationItem, Certifications, CertificationsAPI, Change, ChangeItem, ChangeResultItem, Changes, ChangesAPI, Collection, CollectionBaseParam, CollectionDetailsParams, CollectionImages, CollectionImagesParams, CollectionItem, CollectionResultItem, CollectionTranslationData, CollectionTranslations, CollectionsAPI, CompaniesAPI, Company, CompanyAlternativeName, CompanyAlternativeNames, CompanyAlternativeNamesParams, CompanyBaseParam, CompanyDetailsParams, CompanyImages, CompanyImagesParams, CompanyResultItem, CompanySummary, ConfigurationAPI, ConfigurationCountriesParams, ConfigurationCountry, ConfigurationJob, ConfigurationLanguage, ConfigurationResponse, ConfigurationTimezone, ContentRating, CountryISO3166_1, Credit, CreditBaseParam, CreditDetails, CreditDetailsMedia, CreditDetailsMovieMedia, CreditDetailsParams, CreditDetailsPerson, CreditDetailsTVEpisode, CreditDetailsTVMedia, CreditDetailsTVSeason, CreditsAPI, Crew, DateRange, DefaultImageSizesConfig, DiscoverAPI, DiscoverFilterExpression, DiscoverMovieParams, DiscoverMovieSortBy, DiscoverTVParams, DiscoverTVResultItem, DiscoverTVSortBy, DiscoverTVStatus, DiscoverTVStatusLabel, DiscoverTVType, DiscoverTVTypeLabel, FallbackUrlConfig, FetchAllPagesOptions, FileType, FindAPI, FindByIDParams, FindExternalSource, FindMovieResultItem, FindPersonResultItem, FindResults, FindTVEpisodeResultItem, FindTVResultItem, FindTVSeasonResultItem, Genre, GenresAPI, GenresResponse, GuestSessionRatedEpisodesResponse, GuestSessionRatedMoviesResponse, GuestSessionRatedParams, GuestSessionRatedTVResponse, GuestSessionsAPI, IMAGE_BASE_URL, IMAGE_SECURE_BASE_URL, ImageAPI, ImageCollectionKey, ImageConfiguration, ImageItem, ImageLanguagePriorityConfig, ImageSize, ImageSizeTypes, ImagesConfig, ImagesResult, Keyword, KeywordBaseParam, KeywordDetailsParams, KeywordMoviesParams, KeywordResultItem, KeywordsAPI, KnownForItem, KnownForMovie, KnownForTV, LOGO_SIZES, Language, LanguageISO6391, ListClearParams, ListCreateBody, ListCreateParams, ListCreateResponse, ListDetails, ListDetailsParams, ListItem, ListItemStatusParams, ListItemStatusResponse, ListMovieBody, ListMutationParams, ListMutationResponse, ListsAPI, LiteralUnion, LiteralUnionNumber, LogoSize, MediaType, MediaWatchProviders, MovieAlternativeTitles, MovieAlternativeTitlesParams, MovieAppendToResponseNamespace, MovieAppendableMap, MovieChanges, MovieChangesParams, MovieCollection, MovieCredits, MovieCreditsParams, MovieDateRangeList, MovieDetails, MovieDetailsParams, MovieDetailsWithAppends, MovieExternalIDs, MovieExternalIDsParams, MovieImages, MovieImagesParams, MovieKeywords, MovieKeywordsParams, MovieListParams, MovieListsAPI, MovieRecommendations, MovieRecommendationsParams, MovieReleaseDate, MovieReleaseDateResult, MovieReleaseDates, MovieReleaseDatesParams, MovieReleaseType, MovieReleaseTypeLabel, MovieResultItem, MovieReviews, MovieReviewsParams, MovieSimilar, MovieSimilarParams, MovieTranslationData, MovieTranslations, MovieTranslationsParams, MovieVideos, MovieVideosParams, MovieWatchProviders, MovieWatchProvidersParams, MoviesAPI, MultiSearchResultItem, Network, NetworkBaseParams, NetworkImages, NetworkItem, NetworksAPI, OrganizationImage, POSTER_SIZES, PROFILE_SIZES, PageInfo, PaginatedResponse, PeopleAPI, PeopleListParams, PeopleListsAPI, PersonAppendToResponseNamespace, PersonAppendableMap, PersonBaseParam, PersonChanges, PersonChangesParams, PersonCombinedCastCredit, PersonCombinedCredits, PersonCombinedCrewCredit, PersonCreditsParams, PersonDetails, PersonDetailsParams, PersonDetailsWithAppends, PersonExternalIDs, PersonExternalIDsParams, PersonImages, PersonImagesParams, PersonMovieCastCredit, PersonMovieCredits, PersonMovieCrewCredit, PersonResultItem, PersonTVCastCredit, PersonTVCredits, PersonTVCrewCredit, PersonTaggedImage, PersonTaggedImageMedia, PersonTaggedImages, PersonTaggedImagesParams, PersonTranslationData, PersonTranslations, PersonTranslationsParams, PosterSize, Prettify, PrimaryTranslations, ProductionCompany, ProductionCountry, ProfileSize, RequestInterceptor, RequestInterceptorContext, ResponseErrorInterceptor, ResponseSuccessInterceptor, RetryOptions, Review, ReviewAuthorDetails, ReviewDetails, ReviewDetailsParams, ReviewsAPI, STILL_SIZES, SearchAPI, SearchCollectionsParams, SearchCompanyParams, SearchKeywordsParams, SearchMoviesParams, SearchMultiParams, SearchPersonParams, SearchTVSeriesParams, SpokenLanguage, StillSize, TMDB, TMDBCountries, TMDBError, TMDBLogger, TMDBLoggerEntry, TMDBLoggerFn, TMDBOptions, TMDBQueryParams, TMDBv4, TVAggregateCredits, TVAggregateCreditsCastItem, TVAggregateCreditsCrewItem, TVAggregateCreditsParams, TVAlternativeTitles, TVAppendToResponseNamespace, TVAppendableMap, TVBaseParam, TVChangeParams, TVContentRatings, TVCreditJob, TVCreditRole, TVCredits, TVCreditsParams, TVDetailsParams, TVDetailsWithAppends, TVEpisode, TVEpisodeAppendToResponseNamespace, TVEpisodeAppendableMap, TVEpisodeBaseParams, TVEpisodeChangesParams, TVEpisodeCredits, TVEpisodeCreditsParams, TVEpisodeDetailsParams, TVEpisodeDetailsWithAppends, TVEpisodeExternalIDs, TVEpisodeGroupDetails, TVEpisodeGroupDetailsItem, TVEpisodeGroupEpisode, TVEpisodeGroupItem, TVEpisodeGroupParams, TVEpisodeGroupType, TVEpisodeGroupTypeLabel, TVEpisodeGroups, TVEpisodeGroupsAPI, TVEpisodeId, TVEpisodeImages, TVEpisodeImagesParams, TVEpisodeItem, TVEpisodeTranslationData, TVEpisodeTranslations, TVEpisodeVideos, TVEpisodesAPI, TVExternalIDs, TVImages, TVImagesParams, TVKeywords, TVRecommendations, TVRecommendationsParams, TVReviews, TVReviewsParams, TVScreenedTheatrically, TVScreeningItem, TVSeason, TVSeasonAggregateCredits, TVSeasonAggregateCreditsParams, TVSeasonAppendToResponseNamespace, TVSeasonAppendableMap, TVSeasonBaseParams, TVSeasonChanges, TVSeasonChangesParams, TVSeasonCredits, TVSeasonCreditsParams, TVSeasonDetailsParams, TVSeasonDetailsWithAppends, TVSeasonEpisode, TVSeasonExternalIDs, TVSeasonId, TVSeasonImages, TVSeasonImagesParams, TVSeasonItem, TVSeasonTranslationData, TVSeasonTranslations, TVSeasonVideos, TVSeasonVideosParams, TVSeasonWatchProvidersParams, TVSeasonsAPI, TVSeriesAPI, TVSeriesChanges, TVSeriesDetails, TVSeriesListItem, TVSeriesListParams, TVSeriesLists, TVSeriesListsAPI, TVSeriesListsParams, TVSeriesResultItem, TVSimilar, TVSimilarParams, TVTranslationData, TVTranslations, TVVideos, Timezone, Translation, TranslationResults, TrendingAPI, TrendingAllResult, TrendingMovieResult, TrendingParams, TrendingPersonResult, TrendingTVResult, TrendingTimeWindow, V4AccountAPI, V4AddListItemsBody, V4AddListItemsResponse, V4AuthAPI, V4AuthAccessTokenResponse, V4AuthCreateAccessTokenBody, V4AuthCreateRequestTokenBody, V4AuthDeleteAccessTokenBody, V4AuthDeleteAccessTokenResponse, V4AuthRequestTokenResponse, V4CreateListBody, V4CreateListResponse, V4DeleteListParams, V4ListDetails, V4ListDetailsParams, V4ListItemInput, V4ListItemResult, V4ListItemStatusParams, V4ListItemStatusResponse, V4ListMediaType, V4ListResult, V4ListStatusResponse, V4ListsAPI, V4RemoveListItemsBody, V4UpdateListBody, V4UpdateListItemsBody, V4UpdateListItemsResponse, VideoItem, VideoResults, WatchMonetizationType, WatchProvider, WatchProviderDisplayPriorities, WatchProviderItem, WatchProviderListItem, WatchProviderListParams, WatchProviderListResponse, WatchProviderRegionsParams, WatchProviderRegionsResponse, WatchProvidersAPI, WithLanguage, WithLanguagePage, WithPage, WithPageAndDateRange, WithParams, WithRegion, fetchAllPages, getPageInfo, hasBackdropPath, hasLogoPath, hasNextPage, hasPosterPath, hasPreviousPage, hasProfilePath, hasStillPath, isJwt, isKnownForMovie, isKnownForTV, isPlainObject, isRecord, paginate };