@api-wrappers/tmdb-wrapper 2.0.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.
@@ -0,0 +1,2981 @@
1
+ //#region src/@types/endpoints/account.d.ts
2
+ interface Gravatar {
3
+ hash: string;
4
+ }
5
+ interface Avatar {
6
+ gravatar: Gravatar;
7
+ }
8
+ interface AccountDetails {
9
+ avatar: Avatar;
10
+ id: number;
11
+ include_adult: boolean;
12
+ iso_3166_1: string;
13
+ iso_639_1: string;
14
+ name: string;
15
+ username: string;
16
+ }
17
+ //# sourceMappingURL=account.d.ts.map
18
+ //#endregion
19
+ //#region src/@types/endpoints/certification.d.ts
20
+ interface Certification {
21
+ certification: string;
22
+ meaning: string;
23
+ order: number;
24
+ }
25
+ interface Certifications {
26
+ certifications: Record<string, Certification[]>;
27
+ }
28
+ //# sourceMappingURL=certification.d.ts.map
29
+ //#endregion
30
+ //#region src/@types/endpoints/changes.d.ts
31
+ interface MediaChange {
32
+ id: number;
33
+ adult: boolean | undefined;
34
+ }
35
+ interface MediaChanges {
36
+ results: MediaChange[];
37
+ page: number;
38
+ total_pages: number;
39
+ total_results: number;
40
+ }
41
+ interface Changes<T> {
42
+ changes: Change<T>[];
43
+ }
44
+ interface Change<T> {
45
+ key: string;
46
+ items: ChangeItem<T>[];
47
+ }
48
+ interface ChangeItem<T> {
49
+ id: string;
50
+ action: string;
51
+ time: string;
52
+ value: T;
53
+ iso_639_1: string;
54
+ original_value: T;
55
+ }
56
+ //# sourceMappingURL=changes.d.ts.map
57
+ //#endregion
58
+ //#region src/@types/wire.d.ts
59
+ type TMDBDate = string;
60
+ type TMDBDateTime = string;
61
+ type Nullable<T> = T | null;
62
+ //# sourceMappingURL=wire.d.ts.map
63
+ //#endregion
64
+ //#region src/@types/endpoints/collection.d.ts
65
+ interface Collection {
66
+ id: number;
67
+ backdrop_path: Nullable<string>;
68
+ name: string;
69
+ poster_path: Nullable<string>;
70
+ adult: boolean;
71
+ original_language: string;
72
+ original_name: string;
73
+ overview: string;
74
+ }
75
+ interface DetailedCollection extends Collection {
76
+ parts: Movie[];
77
+ }
78
+ interface CollectionImageOptions extends LanguageOption {
79
+ /**
80
+ * a list of ISO-639-1 values to query
81
+ */
82
+ include_image_language?: string[];
83
+ }
84
+ //# sourceMappingURL=collection.d.ts.map
85
+ //#endregion
86
+ //#region src/@types/endpoints/companies.d.ts
87
+ interface CompanyDetails {
88
+ description: string;
89
+ headquarters: string;
90
+ homepage: Nullable<string>;
91
+ id: number;
92
+ logo_path: Nullable<string>;
93
+ name: string;
94
+ origin_country: string;
95
+ parent_company: Nullable<ParentCompany>;
96
+ }
97
+ interface ParentCompany {
98
+ name: string;
99
+ id: number;
100
+ logo_path: Nullable<string>;
101
+ }
102
+ interface AlternativeNames {
103
+ id: number;
104
+ results: Name[];
105
+ }
106
+ interface Name {
107
+ name: string;
108
+ type: string;
109
+ }
110
+ interface CompanyImages {
111
+ id: number;
112
+ logos: Image[];
113
+ }
114
+ //# sourceMappingURL=companies.d.ts.map
115
+ //#endregion
116
+ //#region src/@types/endpoints/configuration.d.ts
117
+ interface ImageConfiguration {
118
+ base_url: string;
119
+ secure_base_url: string;
120
+ backdrop_sizes: BackdropSizes[];
121
+ logo_sizes: LogoSizes[];
122
+ poster_sizes: PosterSizes[];
123
+ profile_sizes: ProfileSizes[];
124
+ still_sizes: StillSizes[];
125
+ }
126
+ interface Configuration {
127
+ images: ImageConfiguration;
128
+ change_keys: ChangeKeys[];
129
+ }
130
+ declare enum BackdropSizes {
131
+ W300 = "w300",
132
+ W500 = "w500",
133
+ W780 = "w780",
134
+ W1280 = "w1280",
135
+ ORIGINAL = "original",
136
+ }
137
+ declare enum LogoSizes {
138
+ W45 = "w45",
139
+ W92 = "w92",
140
+ W154 = "w154",
141
+ W185 = "w185",
142
+ W300 = "w300",
143
+ W500 = "w500",
144
+ ORIGINAL = "original",
145
+ }
146
+ declare enum PosterSizes {
147
+ W92 = "w92",
148
+ W154 = "w154",
149
+ W185 = "w185",
150
+ W300 = "w300",
151
+ W500 = "w500",
152
+ W780 = "w780",
153
+ ORIGINAL = "original",
154
+ }
155
+ declare enum ProfileSizes {
156
+ W45 = "w45",
157
+ W185 = "w185",
158
+ W632 = "w632",
159
+ ORIGINAL = "original",
160
+ }
161
+ declare enum StillSizes {
162
+ W92 = "w92",
163
+ W185 = "w185",
164
+ W300 = "w300",
165
+ ORIGINAL = "original",
166
+ }
167
+ declare enum ChangeKeys {
168
+ ADULT = "adult",
169
+ AIR_DATE = "air_date",
170
+ ALSO_KNOWN_AS = "also_known_as",
171
+ ALTERNATIVE_TITLES = "alternative_titles",
172
+ BIOGRAPHY = "biography",
173
+ BIRTHDAY = "birthday",
174
+ BUDGET = "budget",
175
+ CAST = "cast",
176
+ CERTIFICATIONS = "certifications",
177
+ CHARACTER_NAMES = "character_names",
178
+ CREATED_BY = "created_by",
179
+ CREW = "crew",
180
+ DEATHDAY = "deathday",
181
+ EPISODE = "episode",
182
+ EPISODE_NUMBER = "episode_number",
183
+ EPISODE_RUN_TIME = "episode_run_time",
184
+ FREEBASE_ID = "freebase_id",
185
+ FREEBASE_MID = "freebase_mid",
186
+ GENERAL = "general",
187
+ GENRES = "genres",
188
+ GUEST_STARS = "guest_stars",
189
+ HOMEPAGE = "homepage",
190
+ IMAGES = "images",
191
+ IMDB_ID = "imdb_id",
192
+ LANGUAGES = "languages",
193
+ NAME = "name",
194
+ NETWORK = "network",
195
+ ORIGIN_COUNTRY = "origin_country",
196
+ ORIGINAL_NAME = "original_name",
197
+ ORIGINAL_TITLE = "original_title",
198
+ OVERVIEW = "overview",
199
+ PARTS = "parts",
200
+ PLACE_OF_BIRTH = "place_of_birth",
201
+ PLOT_KEYWORDS = "plot_keywords",
202
+ PRODUCTION_CODE = "production_code",
203
+ PRODUCTION_COMPANIES = "production_companies",
204
+ PRODUCTION_COUNTRIES = "production_countries",
205
+ RELEASES = "releases",
206
+ REVENUE = "revenue",
207
+ RUNTIME = "runtime",
208
+ SEASON = "season",
209
+ SEASON_NUMBER = "season_number",
210
+ SEASON_REGULAR = "season_regular",
211
+ SPOKEN_LANGUAGES = "spoken_languages",
212
+ STATUS = "status",
213
+ TAGLINE = "tagline",
214
+ TITLE = "title",
215
+ TRANSLATIONS = "translations",
216
+ TVDB_ID = "tvdb_id",
217
+ TVRAGE_ID = "tvrage_id",
218
+ TYPE = "type",
219
+ VIDEO = "video",
220
+ VIDEOS = "videos",
221
+ }
222
+ //# sourceMappingURL=configuration.d.ts.map
223
+ //#endregion
224
+ //#region src/@types/endpoints/credits.d.ts
225
+ interface CreditSeason {
226
+ air_date?: string;
227
+ poster_path: Nullable<string>;
228
+ season_number?: number;
229
+ }
230
+ interface Media$1 {
231
+ id?: number;
232
+ name?: string;
233
+ first_air_date?: string;
234
+ vote_count?: number;
235
+ overview?: string;
236
+ vote_average?: number;
237
+ backdrop_path: Nullable<string>;
238
+ genre_ids?: number[];
239
+ original_name?: string;
240
+ origin_country?: string[];
241
+ poster_path: Nullable<string>;
242
+ original_language?: string;
243
+ popularity?: number;
244
+ character?: string;
245
+ episodes?: string[];
246
+ seasons?: CreditSeason[];
247
+ }
248
+ interface CreditResponse {
249
+ credit_type?: string;
250
+ department?: string;
251
+ job?: string;
252
+ media?: Media$1;
253
+ media_type?: string;
254
+ id?: string;
255
+ person?: Person;
256
+ }
257
+ interface Title {
258
+ iso_3166_1: string;
259
+ title: string;
260
+ type: string;
261
+ }
262
+ interface AlternativeTitles {
263
+ id: number;
264
+ titles: Title[];
265
+ }
266
+ interface Cast {
267
+ adult: boolean;
268
+ gender: number;
269
+ id: number;
270
+ known_for_department: string;
271
+ name: string;
272
+ original_name: string;
273
+ popularity: number;
274
+ profile_path: Nullable<string>;
275
+ cast_id: number;
276
+ character: string;
277
+ credit_id: string;
278
+ order: number;
279
+ }
280
+ interface Crew {
281
+ adult: boolean;
282
+ gender: number;
283
+ id: number;
284
+ known_for_department: string;
285
+ name: string;
286
+ original_name: string;
287
+ popularity: number;
288
+ profile_path: Nullable<string>;
289
+ credit_id: string;
290
+ department: string;
291
+ job: string;
292
+ }
293
+ interface Credits {
294
+ id: number;
295
+ cast: Cast[];
296
+ crew: Crew[];
297
+ }
298
+ interface ImageCollection {
299
+ id: number;
300
+ backdrops: Image[];
301
+ posters: Image[];
302
+ }
303
+ interface Video {
304
+ id: string;
305
+ iso_639_1: string;
306
+ iso_3166_1: string;
307
+ key: string;
308
+ name: string;
309
+ site: string;
310
+ size: number;
311
+ type: string;
312
+ }
313
+ interface Videos {
314
+ id: number;
315
+ results: Video[];
316
+ }
317
+ interface AggregateCredits {
318
+ id: number;
319
+ cast: AggregateCast[];
320
+ crew: AggregateCrew[];
321
+ }
322
+ interface CastRole {
323
+ credit_id: string;
324
+ character: string;
325
+ episode_count: number;
326
+ }
327
+ interface AggregateCast {
328
+ adult: boolean;
329
+ gender: number;
330
+ id: number;
331
+ known_for_department: string;
332
+ name: string;
333
+ original_name: string;
334
+ popularity: number;
335
+ profile_path: Nullable<string>;
336
+ roles: CastRole[];
337
+ total_episode_count: number;
338
+ order: number;
339
+ }
340
+ interface CrewJob {
341
+ credit_id: string;
342
+ job: string;
343
+ episode_count: number;
344
+ }
345
+ interface AggregateCrew {
346
+ adult: boolean;
347
+ gender: number;
348
+ id: number;
349
+ known_for_department: string;
350
+ name: string;
351
+ original_name: string;
352
+ popularity: number;
353
+ profile_path: Nullable<string>;
354
+ jobs: CrewJob[];
355
+ department: string;
356
+ total_episode_count: number;
357
+ }
358
+ //# sourceMappingURL=credits.d.ts.map
359
+ //#endregion
360
+ //#region src/@types/endpoints/discover.d.ts
361
+ type MovieSortOption = "original_title.asc" | "original_title.desc" | "popularity.asc" | "popularity.desc" | "revenue.asc" | "revenue.desc" | "primary_release_date.asc" | "primary_release_date.desc" | "title.asc" | "title.desc" | "vote_average.asc" | "vote_average.desc" | "vote_count.asc" | "vote_count.desc";
362
+ type TvSortOption = "first_air_date.asc" | "first_air_date.desc" | "name.asc" | "name.desc" | "original_name.asc" | "original_name.desc" | "popularity.asc" | "popularity.desc" | "vote_average.asc" | "vote_average.desc" | "vote_count.asc" | "vote_count.desc";
363
+ interface MovieDiscoverResult {
364
+ page: number;
365
+ results: Movie[];
366
+ total_results: number;
367
+ total_pages: number;
368
+ }
369
+ interface TvShowDiscoverResult {
370
+ page: number;
371
+ results: TV[];
372
+ total_results: number;
373
+ total_pages: number;
374
+ }
375
+ type WatchMonetizationType = "flatrate" | "free" | "ads" | "rent" | "buy";
376
+ interface DiscoverQueryOptions {
377
+ language?: string;
378
+ page?: number;
379
+ "vote_average.gte"?: number;
380
+ "vote_average.lte"?: number;
381
+ "vote_count.gte"?: number;
382
+ "vote_count.lte"?: number;
383
+ with_watch_providers?: string;
384
+ without_watch_providers?: string;
385
+ watch_region?: string;
386
+ with_watch_monetization_types?: WatchMonetizationType | string;
387
+ "with_runtime.gte"?: number;
388
+ "with_runtime.lte"?: number;
389
+ with_genres?: string;
390
+ without_genres?: string;
391
+ with_keywords?: string;
392
+ without_keywords?: string;
393
+ with_companies?: string;
394
+ without_companies?: string;
395
+ with_original_language?: string;
396
+ with_text_query?: string;
397
+ }
398
+ interface MovieQueryOptions extends Omit<DiscoverQueryOptions, "with_text_query"> {
399
+ sort_by?: MovieSortOption;
400
+ region?: string;
401
+ certification_country?: string;
402
+ certification?: string;
403
+ "certification.lte"?: string;
404
+ "certification.gte"?: string;
405
+ include_adult?: boolean;
406
+ include_video?: boolean;
407
+ primary_release_year?: number;
408
+ "primary_release_date.gte"?: string;
409
+ "primary_release_date.lte"?: string;
410
+ "release_date.gte"?: string;
411
+ "release_date.lte"?: string;
412
+ with_release_type?: number | string;
413
+ year?: number;
414
+ with_cast?: string;
415
+ with_crew?: string;
416
+ with_people?: string;
417
+ }
418
+ interface TvShowQueryOptions extends DiscoverQueryOptions {
419
+ sort_by?: TvSortOption;
420
+ "air_date.gte"?: string;
421
+ "air_date.lte"?: string;
422
+ "first_air_date.gte"?: string;
423
+ "first_air_date.lte"?: string;
424
+ first_air_date_year?: number;
425
+ include_adult?: boolean;
426
+ include_null_first_air_dates?: boolean;
427
+ screened_theatrically?: boolean;
428
+ timezone?: string;
429
+ with_networks?: number | string;
430
+ with_origin_country?: string;
431
+ with_status?: string;
432
+ with_type?: string;
433
+ }
434
+ //# sourceMappingURL=discover.d.ts.map
435
+ //#endregion
436
+ //#region src/@types/endpoints/find.d.ts
437
+ type ExternalSource = "imdb_id" | "freebase_mid" | "freebase_id" | "tvdb_id" | "tvrage_id" | "facebook_id" | "twitter_id" | "instagram_id";
438
+ interface ExternalIdOptions {
439
+ external_source: ExternalSource;
440
+ language?: string;
441
+ }
442
+ type MediaTagged<T, TMediaType extends string> = T & {
443
+ media_type: TMediaType;
444
+ };
445
+ interface FindResult {
446
+ movie_results: MediaTagged<Movie, "movie">[];
447
+ person_results: MediaTagged<Person, "person">[];
448
+ tv_results: MediaTagged<TV, "tv">[];
449
+ tv_episode_results: MediaTagged<Episode, "tv_episode">[];
450
+ tv_season_results: MediaTagged<Season & {
451
+ show_id: number;
452
+ }, "tv_season">[];
453
+ }
454
+ //#endregion
455
+ //#region src/@types/endpoints/genre.d.ts
456
+ interface Genres {
457
+ genres: Array<{
458
+ id: number;
459
+ name: string;
460
+ }>;
461
+ }
462
+ //# sourceMappingURL=genre.d.ts.map
463
+ //#endregion
464
+ //#region src/@types/endpoints/options.d.ts
465
+ interface LanguageOption {
466
+ language?: string;
467
+ }
468
+ interface RegionOption {
469
+ region?: string;
470
+ }
471
+ interface TimezoneOption {
472
+ timezone?: string;
473
+ }
474
+ interface PageOption {
475
+ page?: number;
476
+ }
477
+ interface ChangeOption extends PageOption {
478
+ start_date?: TMDBDate;
479
+ end_date?: TMDBDate;
480
+ }
481
+ type AppendToResponseMovieKey = "images" | "videos" | "credits" | "recommendations" | "reviews" | "changes" | "similar" | "lists" | "release_dates" | "alternative_titles" | "external_ids" | "translations" | "watch/providers" | "keywords";
482
+ type AppendToResponseTvKey = "content_ratings" | "images" | "videos" | "credits" | "recommendations" | "reviews" | "changes" | "similar" | "alternative_titles" | "external_ids" | "translations" | "watch/providers" | "aggregate_credits" | "episode_groups" | "screened_theatrically" | "keywords";
483
+ type AppendToResponsePersonKey = "images" | "changes" | "movie_credits" | "tv_credits" | "combined_credits" | "external_ids" | "tagged_images" | "translations";
484
+ type AppendToResponseTvEpisodeKey = "images" | "credits" | "external_ids" | "videos" | "translations";
485
+ type AppendToResponseTvSeasonKey = "images" | "credits" | "external_ids" | "videos" | "aggregate_credits" | "translations";
486
+ type AppendToResponseAllKeys = AppendToResponseTvKey | AppendToResponseMovieKey | AppendToResponseTvEpisodeKey | AppendToResponseTvSeasonKey | AppendToResponsePersonKey;
487
+ type AppendToResponseMediaType = "movie" | "tvShow" | "person" | "tvSeason" | "tvEpisode";
488
+ type AppendToResponse<K, T extends AppendToResponseAllKeys[] | undefined, Media extends AppendToResponseMediaType> = K & (T extends undefined ? object : T extends Array<unknown> ? ("credits" extends T[number] ? {
489
+ credits: Media extends "tvEpisode" ? TvEpisodeCredit : Omit<Credits, "id">;
490
+ } : object) & ("videos" extends T[number] ? {
491
+ videos: Omit<Videos, "id">;
492
+ } : object) & ("images" extends T[number] ? {
493
+ images: Omit<Media extends "person" ? PeopleImages : Images, "id">;
494
+ } : object) & ("recommendations" extends T[number] ? {
495
+ recommendations: Recommendations;
496
+ } : object) & ("reviews" extends T[number] ? {
497
+ reviews: Omit<Reviews, "id">;
498
+ } : object) & ("changes" extends T[number] ? {
499
+ changes: Changes<Media extends "person" ? PersonChangeValue : Media extends "movie" ? MovieChangeValue : Media extends "tvShow" ? TvShowChangeValue : Media extends "tvSeason" ? TvSeasonChangeValue : TvEpisodeChangeValue>;
500
+ } : object) & ("keywords" extends T[number] ? {
501
+ keywords: Omit<Keywords, "id">;
502
+ } : object) & ("lists" extends T[number] ? {
503
+ lists: Omit<MovieLists, "id">;
504
+ } : object) & ("release_dates" extends T[number] ? {
505
+ release_dates: Omit<ReleaseDates, "id">;
506
+ } : object) & ("alternative_titles" extends T[number] ? {
507
+ alternative_titles: Omit<AlternativeTitles, "id">;
508
+ } : object) & ("external_ids" extends T[number] ? {
509
+ external_ids: Omit<ExternalIds, "id">;
510
+ } : object) & ("translations" extends T[number] ? {
511
+ translations: Omit<Media extends "person" ? PersonTranslations : Media extends "tvEpisode" ? TvEpisodeTranslations : Translations, "id">;
512
+ } : object) & ("watch/providers" extends T[number] ? {
513
+ "watch/providers": Omit<WatchProviders, "id">;
514
+ } : object) & ("aggregate_credits" extends T[number] ? {
515
+ aggregate_credits: Omit<AggregateCredits, "id">;
516
+ } : object) & ("episode_groups" extends T[number] ? {
517
+ episode_groups: Omit<EpisodeGroups, "id">;
518
+ } : object) & ("screened_theatrically" extends T[number] ? {
519
+ screened_theatrically: Omit<ScreenedTheatrically, "id">;
520
+ } : object) & ("similar" extends T[number] ? {
521
+ similar: Media extends "movie" ? SimilarMovies : Media extends "tvShow" ? Similartv : unknown;
522
+ } : object) & ("content_ratings" extends T[number] ? {
523
+ content_ratings: Omit<ContentRatings, "id">;
524
+ } : object) & ("movie_credits" extends T[number] ? {
525
+ movie_credits: Omit<PersonMovieCredit, "id">;
526
+ } : object) & ("tv_credits" extends T[number] ? {
527
+ tv_credits: Omit<PersonTvShowCredit, "id">;
528
+ } : object) & ("combined_credits" extends T[number] ? {
529
+ combined_credits: Omit<PersonCombinedCredits, "id">;
530
+ } : object) & ("tagged_images" extends T[number] ? {
531
+ tagged_images: TaggedImages;
532
+ } : object) : never);
533
+ //#endregion
534
+ //#region src/@types/endpoints/keywords.d.ts
535
+ interface KeywordsOptions extends PageOption {
536
+ include_adult?: boolean;
537
+ language?: string;
538
+ }
539
+ interface BelongingMovies {
540
+ page: number;
541
+ results: Movie[];
542
+ total_results: number;
543
+ total_pages: number;
544
+ }
545
+ interface Keyword {
546
+ id: number;
547
+ name: string;
548
+ }
549
+ interface Keywords {
550
+ id: number;
551
+ keywords: Keyword[];
552
+ }
553
+ //# sourceMappingURL=keywords.d.ts.map
554
+ //#endregion
555
+ //#region src/@types/endpoints/movies.d.ts
556
+ interface BelongsToCollection {
557
+ id: number;
558
+ name: string;
559
+ poster_path: Nullable<string>;
560
+ backdrop_path: Nullable<string>;
561
+ }
562
+ interface MovieDetails {
563
+ adult: boolean;
564
+ backdrop_path: Nullable<string>;
565
+ belongs_to_collection?: Nullable<BelongsToCollection>;
566
+ budget: number;
567
+ genres: Genre[];
568
+ homepage: Nullable<string>;
569
+ id: number;
570
+ imdb_id: Nullable<string>;
571
+ original_language: string;
572
+ original_title: string;
573
+ overview: string;
574
+ popularity: number;
575
+ poster_path: Nullable<string>;
576
+ production_companies: ProductionCompany[];
577
+ production_countries: ProductionCountry[];
578
+ release_date: string;
579
+ revenue: number;
580
+ runtime: Nullable<number>;
581
+ spoken_languages: SpokenLanguage[];
582
+ status: string;
583
+ tagline: Nullable<string>;
584
+ title: string;
585
+ video: boolean;
586
+ vote_average: number;
587
+ vote_count: number;
588
+ }
589
+ declare enum ReleaseDateType {
590
+ Premiere = 1,
591
+ "Theatrical (limited)" = 2,
592
+ Theatrical = 3,
593
+ Digital = 4,
594
+ Physical = 5,
595
+ TV = 6,
596
+ }
597
+ interface ReleaseDate {
598
+ certification: string;
599
+ iso_639_1: string;
600
+ release_date: TMDBDateTime;
601
+ type: ReleaseDateType;
602
+ note: string;
603
+ }
604
+ interface ReleaseDateResult {
605
+ iso_3166_1: string;
606
+ release_dates: ReleaseDate[];
607
+ }
608
+ interface ReleaseDates {
609
+ id: number;
610
+ results: ReleaseDateResult[];
611
+ }
612
+ interface SimilarMovies {
613
+ page: number;
614
+ results: Movie[];
615
+ total_pages: number;
616
+ total_results: number;
617
+ }
618
+ interface MovieList {
619
+ description: string;
620
+ favorite_count: number;
621
+ id: number;
622
+ item_count: number;
623
+ iso_639_1: string;
624
+ list_type: string;
625
+ name: string;
626
+ poster_path: Nullable<string>;
627
+ }
628
+ interface MovieLists {
629
+ id: number;
630
+ page: number;
631
+ results: MovieList[];
632
+ total_pages: number;
633
+ total_results: number;
634
+ }
635
+ interface LatestMovie {
636
+ adult: boolean;
637
+ backdrop_path: Nullable<string>;
638
+ belongs_to_collection?: Nullable<BelongsToCollection>;
639
+ budget: number;
640
+ genres: Genre[];
641
+ homepage: Nullable<string>;
642
+ id: number;
643
+ imdb_id: Nullable<string>;
644
+ original_language: string;
645
+ original_title: string;
646
+ overview: string;
647
+ popularity: number;
648
+ poster_path: Nullable<string>;
649
+ production_companies: ProductionCompany[];
650
+ production_countries: ProductionCountry[];
651
+ release_date: string;
652
+ revenue: number;
653
+ runtime: Nullable<number>;
654
+ spoken_languages: SpokenLanguage[];
655
+ status: string;
656
+ tagline: Nullable<string>;
657
+ title: string;
658
+ video: boolean;
659
+ vote_average: number;
660
+ vote_count: number;
661
+ }
662
+ interface Dates {
663
+ maximum: string;
664
+ minimum: string;
665
+ }
666
+ interface MoviesPlayingNow {
667
+ page: number;
668
+ results: Movie[];
669
+ dates: Dates;
670
+ total_pages: number;
671
+ total_results: number;
672
+ }
673
+ interface PopularMovies {
674
+ page: number;
675
+ results: Movie[];
676
+ total_results: number;
677
+ total_pages: number;
678
+ }
679
+ interface TopRatedMovies {
680
+ page: number;
681
+ results: Movie[];
682
+ total_results: number;
683
+ total_pages: number;
684
+ }
685
+ interface UpcomingMovies {
686
+ page: number;
687
+ results: Movie[];
688
+ total_results: number;
689
+ total_pages: number;
690
+ }
691
+ type MovieChangeValue = string | {
692
+ person_id: number;
693
+ character: string;
694
+ order: number;
695
+ cast_id: number;
696
+ credit_id: string;
697
+ } | unknown;
698
+ interface MoviesImageSearchOptions extends LanguageOption {
699
+ /**
700
+ * a list of ISO-639-1 values to query
701
+ */
702
+ include_image_language?: string[];
703
+ }
704
+ //# sourceMappingURL=movies.d.ts.map
705
+ //#endregion
706
+ //#region src/@types/endpoints/networks.d.ts
707
+ interface NetworkDetails {
708
+ headquarters: string;
709
+ homepage: Nullable<string>;
710
+ id: number;
711
+ logo_path: Nullable<string>;
712
+ name: string;
713
+ origin_country: string;
714
+ }
715
+ interface NetworkImages {
716
+ id: number;
717
+ logos: Image[];
718
+ }
719
+ //# sourceMappingURL=networks.d.ts.map
720
+ //#endregion
721
+ //#region src/@types/endpoints/people.d.ts
722
+ interface Cast$1 {
723
+ character: string;
724
+ credit_id: string;
725
+ vote_count: number;
726
+ id: number;
727
+ backdrop_path: Nullable<string>;
728
+ poster_path: Nullable<string>;
729
+ original_language: string;
730
+ vote_average: number;
731
+ genre_ids: number[];
732
+ popularity: number;
733
+ overview: string;
734
+ }
735
+ interface Crew$1 {
736
+ id: number;
737
+ department: string;
738
+ original_language: string;
739
+ credit_id: string;
740
+ overview: string;
741
+ vote_count: number;
742
+ poster_path: Nullable<string>;
743
+ backdrop_path: Nullable<string>;
744
+ popularity: number;
745
+ genre_ids: number[];
746
+ job: string;
747
+ vote_average: number;
748
+ }
749
+ interface PersonMovieCast extends Cast$1 {
750
+ release_date: string;
751
+ video: boolean;
752
+ adult: boolean;
753
+ title: string;
754
+ original_title: string;
755
+ }
756
+ interface PersonMovieCrew extends Crew$1 {
757
+ original_title: string;
758
+ video: boolean;
759
+ title: string;
760
+ adult: boolean;
761
+ release_date: string;
762
+ }
763
+ interface PersonTvShowCrew extends Crew$1 {
764
+ episode_count: number;
765
+ origin_country: string[];
766
+ original_name: string;
767
+ name: string;
768
+ first_air_date: string;
769
+ }
770
+ interface PersonTvShowCast extends Cast$1 {
771
+ original_name: string;
772
+ name: string;
773
+ episode_count: number;
774
+ first_air_date: string;
775
+ origin_country: string[];
776
+ }
777
+ interface PersonMovieCredit {
778
+ cast: PersonMovieCast[];
779
+ crew: PersonMovieCrew[];
780
+ id: number;
781
+ }
782
+ interface PersonTvShowCredit {
783
+ cast: PersonTvShowCast[];
784
+ crew: PersonTvShowCrew[];
785
+ id: number;
786
+ }
787
+ interface PersonCombinedCredits {
788
+ cast: Array<PersonMovieCast | PersonTvShowCast>;
789
+ crew: Array<PersonMovieCrew | PersonTvShowCrew>;
790
+ id: number;
791
+ }
792
+ interface PersonDetails {
793
+ birthday: Nullable<string>;
794
+ known_for_department: string;
795
+ deathday: Nullable<string>;
796
+ id: number;
797
+ name: string;
798
+ also_known_as: string[];
799
+ gender: number;
800
+ biography: string;
801
+ popularity: number;
802
+ place_of_birth: Nullable<string>;
803
+ profile_path: Nullable<string>;
804
+ adult: boolean;
805
+ imdb_id: Nullable<string>;
806
+ homepage: Nullable<string>;
807
+ }
808
+ type PersonChangeValue = string | {
809
+ profile: {
810
+ file_path: Nullable<string>;
811
+ };
812
+ };
813
+ interface PopularPersons {
814
+ page: number;
815
+ results: Person[];
816
+ total_results: number;
817
+ total_pages: number;
818
+ }
819
+ interface PeopleImages {
820
+ id: number;
821
+ profiles: Image[];
822
+ }
823
+ interface TaggedImage {
824
+ aspect_ratio: number;
825
+ file_path: Nullable<string>;
826
+ height: number;
827
+ id: string;
828
+ iso_639_1: Nullable<string>;
829
+ vote_average: number;
830
+ vote_count: number;
831
+ width: number;
832
+ image_type: string;
833
+ media_type: "movie" | "tv";
834
+ media: Movie | TV;
835
+ }
836
+ interface TaggedImages {
837
+ page: number;
838
+ results: TaggedImage[];
839
+ total_results: number;
840
+ total_pages: number;
841
+ }
842
+ interface PersonTranslations {
843
+ id: number;
844
+ translations: Array<{
845
+ iso_3166_1: string;
846
+ iso_639_1: string;
847
+ name: string;
848
+ english_name: string;
849
+ data: {
850
+ biography: string;
851
+ };
852
+ }>;
853
+ }
854
+ //#endregion
855
+ //#region src/@types/endpoints/review.d.ts
856
+ interface ReviewDetails extends Review {
857
+ iso_639_1: string;
858
+ media_id: number;
859
+ media_title: string;
860
+ media_type: "movie" | "tv";
861
+ }
862
+ //# sourceMappingURL=review.d.ts.map
863
+ //#endregion
864
+ //#region src/@types/endpoints/search.d.ts
865
+ interface Search<T> {
866
+ page: number;
867
+ results: T[];
868
+ total_pages: number;
869
+ total_results: number;
870
+ }
871
+ type MultiSearchResult = MovieWithMediaType | TVWithMediaType | PersonWithMediaType;
872
+ interface SearchOptions {
873
+ query: string;
874
+ page?: number;
875
+ }
876
+ interface MovieSearchOptions extends SearchOptions, LanguageOption, PageOption, RegionOption {
877
+ include_adult?: boolean;
878
+ year?: number;
879
+ primary_release_year?: number;
880
+ }
881
+ interface CollectionSearchOptions extends SearchOptions, LanguageOption, PageOption, RegionOption {
882
+ include_adult?: boolean;
883
+ }
884
+ interface TvSearchOptions extends SearchOptions, LanguageOption, PageOption {
885
+ include_adult?: boolean;
886
+ year?: number;
887
+ first_air_date_year?: number;
888
+ }
889
+ interface PeopleSearchOptions extends SearchOptions, LanguageOption, PageOption {
890
+ include_adult?: boolean;
891
+ }
892
+ interface MultiSearchOptions extends SearchOptions, LanguageOption, PageOption {
893
+ include_adult?: boolean;
894
+ }
895
+ //# sourceMappingURL=search.d.ts.map
896
+ //#endregion
897
+ //#region src/@types/endpoints/trending.d.ts
898
+ type TimeWindow = "day" | "week";
899
+ type TrendingMediaType = MediaType | "all";
900
+ type TrendingResult<T extends TrendingMediaType> = T extends "tv" ? TV : T extends "movie" ? Movie : T extends "person" ? Person : TVWithMediaType | MovieWithMediaType | PersonWithMediaType;
901
+ interface TrendingResults<T extends TrendingMediaType> {
902
+ page: number;
903
+ results: TrendingResult<T>[];
904
+ total_pages: number;
905
+ total_results: number;
906
+ }
907
+ //#endregion
908
+ //#region src/@types/endpoints/tvEpisode.d.ts
909
+ interface EpisodeSelection {
910
+ tvShowID: number;
911
+ seasonNumber: number;
912
+ episodeNumber: number;
913
+ }
914
+ interface Episode {
915
+ air_date: string;
916
+ episode_number: number;
917
+ crew: Crew[];
918
+ guest_stars: GuestStar[];
919
+ id: number;
920
+ name: string;
921
+ overview: string;
922
+ production_code: string;
923
+ season_number: number;
924
+ still_path: Nullable<string>;
925
+ vote_average: number;
926
+ vote_count: number;
927
+ runtime: number;
928
+ show_id: number;
929
+ }
930
+ interface GuestStar {
931
+ credit_id: string;
932
+ order: number;
933
+ character: string;
934
+ adult: boolean;
935
+ gender: number | null;
936
+ id: number;
937
+ known_for_department: string;
938
+ name: string;
939
+ original_name: string;
940
+ popularity: number;
941
+ profile_path: string | null;
942
+ }
943
+ interface TvEpisodeCredit extends Credits {
944
+ guest_stars: GuestStar[];
945
+ }
946
+ interface TvEpisodeTranslations {
947
+ id: number;
948
+ translations: Array<{
949
+ iso_3166_1: string;
950
+ iso_639_1: string;
951
+ name: string;
952
+ english_name: string;
953
+ data: {
954
+ name: string;
955
+ overview: string;
956
+ };
957
+ }>;
958
+ }
959
+ type TvEpisodeChangeValue = string | unknown;
960
+ interface TvEpisodeImageSearchOptions extends LanguageOption {
961
+ /**
962
+ * a list of ISO-639-1 values to query
963
+ */
964
+ include_image_language?: string[];
965
+ }
966
+ interface TvEpisodeVideoSearchOptions extends LanguageOption {
967
+ /**
968
+ * a list of ISO-639-1 values to query
969
+ */
970
+ include_video_language?: string[];
971
+ }
972
+ //# sourceMappingURL=tvEpisode.d.ts.map
973
+ //#endregion
974
+ //#region src/@types/endpoints/tvSeasons.d.ts
975
+ interface SeasonSelection {
976
+ tvShowID: number;
977
+ seasonNumber: number;
978
+ }
979
+ interface SeasonDetails {
980
+ air_date: string;
981
+ episodes: Episode[];
982
+ name: string;
983
+ overview: string;
984
+ id: number;
985
+ poster_path: Nullable<string>;
986
+ season_number: number;
987
+ }
988
+ type TvSeasonChangeValue = string | {
989
+ episode_id: number;
990
+ episode_number: number;
991
+ };
992
+ interface TvSeasonImageSearchOptions extends LanguageOption {
993
+ /**
994
+ * a list of ISO-639-1 values to query
995
+ */
996
+ include_image_language?: string[];
997
+ }
998
+ interface TvSeasonVideoSearchOptions extends LanguageOption {
999
+ /**
1000
+ * a list of ISO-639-1 values to query
1001
+ */
1002
+ include_video_language?: string[];
1003
+ }
1004
+ //# sourceMappingURL=tvSeasons.d.ts.map
1005
+ //#endregion
1006
+ //#region src/@types/endpoints/tvShows.d.ts
1007
+ interface CreatedBy {
1008
+ id: number;
1009
+ credit_id: string;
1010
+ name: string;
1011
+ gender: number;
1012
+ profile_path: Nullable<string>;
1013
+ }
1014
+ interface NextEpisodeToAir {
1015
+ id: number;
1016
+ name: string;
1017
+ overview: string;
1018
+ vote_average: number;
1019
+ vote_count: number;
1020
+ air_date: string;
1021
+ episode_number: number;
1022
+ production_code: string;
1023
+ runtime: Nullable<number>;
1024
+ season_number: number;
1025
+ show_id: number;
1026
+ still_path: Nullable<string>;
1027
+ }
1028
+ interface LastEpisodeToAir {
1029
+ air_date: string;
1030
+ episode_number: number;
1031
+ id: number;
1032
+ name: string;
1033
+ overview: string;
1034
+ production_code: string;
1035
+ season_number: number;
1036
+ still_path: Nullable<string>;
1037
+ vote_average: number;
1038
+ vote_count: number;
1039
+ }
1040
+ interface Network {
1041
+ id: number;
1042
+ logo_path: Nullable<string>;
1043
+ name: string;
1044
+ origin_country: string;
1045
+ }
1046
+ interface Season {
1047
+ air_date: string;
1048
+ episode_count: number;
1049
+ id: number;
1050
+ name: string;
1051
+ overview: string;
1052
+ poster_path: Nullable<string>;
1053
+ season_number: number;
1054
+ }
1055
+ interface TvShowDetails {
1056
+ backdrop_path: Nullable<string>;
1057
+ created_by: CreatedBy[];
1058
+ episode_run_time: number[];
1059
+ first_air_date: string;
1060
+ genres: Genre[];
1061
+ homepage: Nullable<string>;
1062
+ id: number;
1063
+ in_production: boolean;
1064
+ languages: string[];
1065
+ last_air_date: string;
1066
+ last_episode_to_air: Nullable<LastEpisodeToAir>;
1067
+ name: string;
1068
+ next_episode_to_air?: Nullable<NextEpisodeToAir>;
1069
+ networks: Network[];
1070
+ number_of_episodes: number;
1071
+ number_of_seasons: number;
1072
+ origin_country: string[];
1073
+ original_language: string;
1074
+ original_name: string;
1075
+ overview: string;
1076
+ popularity: number;
1077
+ poster_path: Nullable<string>;
1078
+ production_companies: ProductionCompany[];
1079
+ production_countries: ProductionCountry[];
1080
+ seasons: Season[];
1081
+ spoken_languages: SpokenLanguage[];
1082
+ status: string;
1083
+ tagline: Nullable<string>;
1084
+ type: string;
1085
+ vote_average: number;
1086
+ vote_count: number;
1087
+ }
1088
+ interface EpisodeGroup {
1089
+ description: string;
1090
+ episode_count: number;
1091
+ group_count: number;
1092
+ id: string;
1093
+ name: string;
1094
+ network: Network;
1095
+ type: number;
1096
+ }
1097
+ interface EpisodeGroups {
1098
+ results: EpisodeGroup[];
1099
+ id: number;
1100
+ }
1101
+ interface ScreenedTheatricallyResult {
1102
+ id: number;
1103
+ episode_number: number;
1104
+ season_number: number;
1105
+ }
1106
+ interface ScreenedTheatrically {
1107
+ id: number;
1108
+ results: ScreenedTheatricallyResult[];
1109
+ }
1110
+ interface SimilarTvShow {
1111
+ backdrop_path: Nullable<string>;
1112
+ first_air_date: string;
1113
+ genre_ids: number[];
1114
+ id: number;
1115
+ original_language: string;
1116
+ original_name: string;
1117
+ overview: string;
1118
+ origin_country: string[];
1119
+ poster_path: Nullable<string>;
1120
+ popularity: number;
1121
+ name: string;
1122
+ vote_average: number;
1123
+ vote_count: number;
1124
+ }
1125
+ interface Similartv {
1126
+ page: number;
1127
+ results: SimilarTvShow[];
1128
+ total_pages: number;
1129
+ total_results: number;
1130
+ }
1131
+ interface Latesttv {
1132
+ backdrop_path: Nullable<string>;
1133
+ created_by: CreatedBy[];
1134
+ episode_run_time: number[];
1135
+ first_air_date: string;
1136
+ genres: Genre[];
1137
+ homepage: Nullable<string>;
1138
+ id: number;
1139
+ in_production: boolean;
1140
+ languages: string[];
1141
+ last_air_date: string;
1142
+ name: string;
1143
+ networks: Network[];
1144
+ number_of_episodes: number;
1145
+ number_of_seasons: number;
1146
+ origin_country: string[];
1147
+ original_language: string;
1148
+ original_name: string;
1149
+ overview?: Nullable<string>;
1150
+ popularity: number;
1151
+ poster_path: Nullable<string>;
1152
+ production_companies: ProductionCompany[];
1153
+ seasons: Season[];
1154
+ status: string;
1155
+ type: string;
1156
+ vote_average: number;
1157
+ vote_count: number;
1158
+ }
1159
+ interface OnTheAirResult {
1160
+ poster_path: Nullable<string>;
1161
+ popularity: number;
1162
+ id: number;
1163
+ backdrop_path: Nullable<string>;
1164
+ vote_average: number;
1165
+ overview: string;
1166
+ first_air_date: string;
1167
+ origin_country: string[];
1168
+ genre_ids: number[];
1169
+ original_language: string;
1170
+ vote_count: number;
1171
+ name: string;
1172
+ original_name: string;
1173
+ }
1174
+ interface OnTheAir {
1175
+ page: number;
1176
+ results: OnTheAirResult[];
1177
+ total_results: number;
1178
+ total_pages: number;
1179
+ }
1180
+ interface AiringTodayResult {
1181
+ poster_path: Nullable<string>;
1182
+ popularity: number;
1183
+ id: number;
1184
+ backdrop_path: Nullable<string>;
1185
+ vote_average: number;
1186
+ overview: string;
1187
+ first_air_date: string;
1188
+ origin_country: string[];
1189
+ genre_ids: number[];
1190
+ original_language: string;
1191
+ vote_count: number;
1192
+ name: string;
1193
+ original_name: string;
1194
+ }
1195
+ interface tvAiringToday {
1196
+ page: number;
1197
+ results: AiringTodayResult[];
1198
+ total_results: number;
1199
+ total_pages: number;
1200
+ }
1201
+ interface PopularTvShowResult {
1202
+ poster_path: Nullable<string>;
1203
+ popularity: number;
1204
+ id: number;
1205
+ backdrop_path: Nullable<string>;
1206
+ vote_average: number;
1207
+ overview: string;
1208
+ first_air_date: string;
1209
+ origin_country: string[];
1210
+ genre_ids: number[];
1211
+ original_language: string;
1212
+ vote_count: number;
1213
+ name: string;
1214
+ original_name: string;
1215
+ }
1216
+ interface Populartv {
1217
+ page: number;
1218
+ results: PopularTvShowResult[];
1219
+ total_results: number;
1220
+ total_pages: number;
1221
+ }
1222
+ interface TopRatedTvShowResult {
1223
+ poster_path: Nullable<string>;
1224
+ popularity: number;
1225
+ id: number;
1226
+ backdrop_path: Nullable<string>;
1227
+ vote_average: number;
1228
+ overview: string;
1229
+ first_air_date: string;
1230
+ origin_country: string[];
1231
+ genre_ids: number[];
1232
+ original_language: string;
1233
+ vote_count: number;
1234
+ name: string;
1235
+ original_name: string;
1236
+ }
1237
+ interface TopRatedtv {
1238
+ page: number;
1239
+ results: TopRatedTvShowResult[];
1240
+ total_results: number;
1241
+ total_pages: number;
1242
+ }
1243
+ interface TvShowChangeValue {
1244
+ season_id: number;
1245
+ season_number: number;
1246
+ }
1247
+ interface TvShowImageOptions extends LanguageOption {
1248
+ /**
1249
+ * a list of ISO-639-1 values to query
1250
+ */
1251
+ include_image_language?: string[];
1252
+ }
1253
+ interface TvShowVideoOptions extends LanguageOption {
1254
+ /**
1255
+ * a list of ISO-639-1 values to query
1256
+ */
1257
+ include_video_language?: string[];
1258
+ }
1259
+ //# sourceMappingURL=tvShows.d.ts.map
1260
+ //#endregion
1261
+ //#region src/@types/endpoints/watchProviders.d.ts
1262
+ interface Flatrate {
1263
+ display_priority: number;
1264
+ logo_path: string;
1265
+ provider_id: number;
1266
+ provider_name: string;
1267
+ }
1268
+ interface Rent {
1269
+ display_priority: number;
1270
+ logo_path: string;
1271
+ provider_id: number;
1272
+ provider_name: string;
1273
+ }
1274
+ interface Buy {
1275
+ display_priority: number;
1276
+ logo_path: string;
1277
+ provider_id: number;
1278
+ provider_name: string;
1279
+ }
1280
+ interface WatchRegion {
1281
+ iso_3166_1: string;
1282
+ english_name: string;
1283
+ native_name: string;
1284
+ }
1285
+ interface WatchRegionsResponse {
1286
+ results: WatchRegion[];
1287
+ }
1288
+ interface WatchProviderEntry {
1289
+ display_priority: number;
1290
+ logo_path: string | null;
1291
+ provider_id: number;
1292
+ provider_name: string;
1293
+ }
1294
+ type WatchLocale = Record<string, {
1295
+ link: string;
1296
+ flatrate?: WatchProviderEntry[];
1297
+ rent?: WatchProviderEntry[];
1298
+ buy?: WatchProviderEntry[];
1299
+ free?: WatchProviderEntry[];
1300
+ ads?: WatchProviderEntry[];
1301
+ }>;
1302
+ interface WatchProviders {
1303
+ id: number;
1304
+ results: WatchLocale;
1305
+ }
1306
+ interface WatchProviderListItem {
1307
+ display_priority: number;
1308
+ logo_path: string | null;
1309
+ provider_id: number;
1310
+ provider_name: string;
1311
+ }
1312
+ interface WatchProviderListResponse {
1313
+ results: WatchProviderListItem[];
1314
+ }
1315
+ //# sourceMappingURL=watchProviders.d.ts.map
1316
+ //#endregion
1317
+ //#region src/utils/api.d.ts
1318
+ type Primitive = string | number | boolean;
1319
+ type QueryValue = Primitive | null | undefined | Array<Primitive | null | undefined>;
1320
+ type Query = Record<string, QueryValue>;
1321
+ interface RequestOptions<Q extends object = object> {
1322
+ query?: Q;
1323
+ signal?: AbortSignal;
1324
+ timeoutMs?: number;
1325
+ retries?: number;
1326
+ retryDelayMs?: number;
1327
+ }
1328
+ interface RequestConfig {
1329
+ signal?: AbortSignal;
1330
+ timeoutMs?: number;
1331
+ retries?: number;
1332
+ retryDelayMs?: number;
1333
+ }
1334
+ declare class TMDBError extends Error {
1335
+ readonly status: number;
1336
+ readonly url: string;
1337
+ readonly payload?: unknown | undefined;
1338
+ constructor(message: string, status: number, url: string, payload?: unknown | undefined);
1339
+ }
1340
+ declare const parseOptions: (options?: Query) => string;
1341
+ declare const csv: (values?: ReadonlyArray<Primitive | null | undefined>) => string | undefined;
1342
+ declare const withQuery: <Q extends object>(query?: Q, config?: RequestConfig) => RequestOptions<Q>;
1343
+ declare class API {
1344
+ private apiKey?;
1345
+ private accessToken?;
1346
+ constructor(auth: TokenType);
1347
+ get<T, Q extends object = object>(path: string, opts?: RequestOptions<Q>): Promise<T>;
1348
+ }
1349
+ //# sourceMappingURL=api.d.ts.map
1350
+ //#endregion
1351
+ //#region src/utils/getimagePath.d.ts
1352
+ declare const TMDB_IMAGE_BASE_URL = "https://image.tmdb.org/t/p/";
1353
+ declare const ImageSizes: {
1354
+ readonly ORIGINAL: "original";
1355
+ readonly W500: "w500";
1356
+ readonly W300: "w300";
1357
+ readonly W185: "w185";
1358
+ readonly W92: "w92";
1359
+ readonly H632: "h632";
1360
+ };
1361
+ type ImageSize = (typeof ImageSizes)[keyof typeof ImageSizes];
1362
+ declare const ImageFormats: {
1363
+ readonly JPG: "jpg";
1364
+ readonly PNG: "png";
1365
+ readonly SVG: "svg";
1366
+ };
1367
+ type ImageFormat = (typeof ImageFormats)[keyof typeof ImageFormats];
1368
+ /**
1369
+ * Constructs a TMDB image URL.
1370
+ *
1371
+ * - Keeps paths as-is unless `format` is provided (then it replaces/appends
1372
+ * the extension safely using the last dot after the last slash).
1373
+ * - Handles leading/trailing slashes robustly.
1374
+ * - If `imagePath` is already an absolute URL, it is returned unchanged.
1375
+ */
1376
+ declare const getFullImagePath: (baseUrl: string, fileSize: string, imagePath: string, format?: string) => string;
1377
+ /**
1378
+ * Convenience helper for TMDB `Image` objects.
1379
+ */
1380
+ declare const formImage: (image: Image, fileSize: ImageSize, format?: ImageFormat) => string | undefined;
1381
+ //# sourceMappingURL=getimagePath.d.ts.map
1382
+ //#endregion
1383
+ //#region src/@types/types.d.ts
1384
+ interface ErrorResponse {
1385
+ status_code: number;
1386
+ status_message: string;
1387
+ success: boolean;
1388
+ }
1389
+ type MediaType = "movie" | "tv" | "person";
1390
+ interface AuthorDetails {
1391
+ name: string;
1392
+ username: string;
1393
+ avatar_path: Nullable<string>;
1394
+ rating?: Nullable<number>;
1395
+ }
1396
+ type KnownFor = MovieWithMediaType | TVWithMediaType;
1397
+ interface Person {
1398
+ id: number;
1399
+ name: string;
1400
+ known_for: KnownFor[];
1401
+ profile_path: Nullable<string>;
1402
+ adult: boolean;
1403
+ known_for_department: string;
1404
+ gender: number;
1405
+ popularity: number;
1406
+ }
1407
+ interface PersonWithMediaType extends Person {
1408
+ media_type: "person";
1409
+ }
1410
+ interface Movie {
1411
+ id: number;
1412
+ poster_path: Nullable<string>;
1413
+ adult: boolean;
1414
+ overview: string;
1415
+ release_date: string;
1416
+ genre_ids: number[];
1417
+ original_title: string;
1418
+ original_language: string;
1419
+ title: string;
1420
+ backdrop_path: Nullable<string>;
1421
+ popularity: number;
1422
+ vote_count: number;
1423
+ video: boolean;
1424
+ vote_average: number;
1425
+ }
1426
+ interface MovieWithMediaType extends Movie {
1427
+ media_type: "movie";
1428
+ }
1429
+ interface Company {
1430
+ id: number;
1431
+ logo_path: Nullable<string>;
1432
+ name: string;
1433
+ origin_country: string;
1434
+ }
1435
+ interface TV {
1436
+ id: number;
1437
+ name: string;
1438
+ first_air_date: string;
1439
+ backdrop_path: Nullable<string>;
1440
+ genre_ids: number[];
1441
+ origin_country: string[];
1442
+ original_language: string;
1443
+ original_name: string;
1444
+ overview: string;
1445
+ poster_path: Nullable<string>;
1446
+ popularity: number;
1447
+ vote_count: number;
1448
+ vote_average: number;
1449
+ }
1450
+ interface TVWithMediaType extends TV {
1451
+ media_type: "tv";
1452
+ }
1453
+ interface Genre {
1454
+ id: number;
1455
+ name: string;
1456
+ }
1457
+ interface ExternalIds {
1458
+ imdb_id: Nullable<string>;
1459
+ facebook_id: Nullable<string>;
1460
+ instagram_id: Nullable<string>;
1461
+ twitter_id: Nullable<string>;
1462
+ id: number;
1463
+ }
1464
+ interface ProductionCompany {
1465
+ id: number;
1466
+ logo_path: Nullable<string>;
1467
+ name: string;
1468
+ origin_country: string;
1469
+ }
1470
+ interface ProductionCountry {
1471
+ iso_3166_1: string;
1472
+ name: string;
1473
+ }
1474
+ interface SpokenLanguage {
1475
+ english_name: string;
1476
+ iso_639_1: string;
1477
+ name: string;
1478
+ }
1479
+ interface ContentRatings {
1480
+ results: ContentRatingsResult[];
1481
+ id: number;
1482
+ }
1483
+ interface ContentRatingsResult {
1484
+ descriptor: unknown[];
1485
+ iso_3166_1: string;
1486
+ rating: string;
1487
+ }
1488
+ interface Recommendation {
1489
+ adult: boolean;
1490
+ backdrop_path?: string;
1491
+ genre_ids: number[];
1492
+ id: number;
1493
+ original_language: string;
1494
+ original_title: string;
1495
+ overview: string;
1496
+ release_date: string;
1497
+ poster_path?: string;
1498
+ popularity: number;
1499
+ title: string;
1500
+ video: boolean;
1501
+ vote_average: number;
1502
+ vote_count: number;
1503
+ }
1504
+ interface Recommendations {
1505
+ page: number;
1506
+ results: Recommendation[];
1507
+ total_pages: number;
1508
+ total_results: number;
1509
+ }
1510
+ interface Review {
1511
+ author: string;
1512
+ author_details: AuthorDetails;
1513
+ content: string;
1514
+ created_at: TMDBDateTime;
1515
+ id: string;
1516
+ updated_at: TMDBDateTime;
1517
+ url: string;
1518
+ }
1519
+ interface Reviews {
1520
+ id: number;
1521
+ page: number;
1522
+ results: Review[];
1523
+ total_pages: number;
1524
+ total_results: number;
1525
+ }
1526
+ interface TranslationData {
1527
+ title: string;
1528
+ overview: string;
1529
+ homepage: string;
1530
+ }
1531
+ interface Translation {
1532
+ iso_3166_1: string;
1533
+ iso_639_1: string;
1534
+ name: string;
1535
+ english_name: string;
1536
+ data: TranslationData;
1537
+ }
1538
+ interface Translations {
1539
+ id: number;
1540
+ translations: Translation[];
1541
+ }
1542
+ interface Image {
1543
+ aspect_ratio: number;
1544
+ file_path: string;
1545
+ height: number;
1546
+ iso_639_1: Nullable<string>;
1547
+ vote_average: number;
1548
+ vote_count: number;
1549
+ width: number;
1550
+ }
1551
+ interface Images {
1552
+ id: number;
1553
+ backdrops: Image[];
1554
+ logos: Image[];
1555
+ posters: Image[];
1556
+ }
1557
+ type TMDBConfig = {
1558
+ accessToken: string;
1559
+ apiKey?: string;
1560
+ } | {
1561
+ apiKey: string;
1562
+ accessToken?: string;
1563
+ };
1564
+ type TokenType = string | TMDBConfig;
1565
+ //# sourceMappingURL=types.d.ts.map
1566
+ //#endregion
1567
+ //#region src/@types/models/baseEndpoint.d.ts
1568
+ /**
1569
+ * Base class for all TMDB API endpoints.
1570
+ *
1571
+ * Provides a configured {@link API} client instance to subclasses.
1572
+ */
1573
+ declare class BaseEndpoint {
1574
+ protected readonly auth: TokenType;
1575
+ /**
1576
+ * Low-level HTTP client wrapper used by all endpoints.
1577
+ */
1578
+ protected readonly api: API;
1579
+ /**
1580
+ * Create a new endpoint instance.
1581
+ *
1582
+ * @param {TokenType} auth - Authentication information.
1583
+ * - If a string: treated as a v4 API Read Access Token (Bearer token).
1584
+ * - If an object: can include an API key and/or access token.
1585
+ */
1586
+ constructor(auth: TokenType);
1587
+ }
1588
+ //# sourceMappingURL=baseEndpoint.d.ts.map
1589
+ //#endregion
1590
+ //#region src/endpoints/account.d.ts
1591
+ /**
1592
+ * Represents an endpoint for retrieving account details.
1593
+ *
1594
+ * TMDB v3 reference:
1595
+ * - GET /account/{account_id}
1596
+ *
1597
+ * Note:
1598
+ * TMDB does not expose a generic "GET /account" for account details. You must
1599
+ * provide an `account_id`. Most apps obtain it from an auth flow and then cache
1600
+ * it for subsequent requests.
1601
+ */
1602
+ declare class AccountEndpoint extends BaseEndpoint {
1603
+ protected readonly access_token: TokenType;
1604
+ /**
1605
+ * Constructs a new AccountEndpoint instance.
1606
+ *
1607
+ * @param {TokenType} access_token - The access token used for authentication.
1608
+ */
1609
+ constructor(access_token: TokenType);
1610
+ /**
1611
+ * Retrieves account details asynchronously.
1612
+ *
1613
+ * TMDB: GET /account/{account_id}
1614
+ *
1615
+ * @param {number} accountId - The TMDB account ID.
1616
+ * @returns {Promise<AccountDetails>} A Promise that resolves with the account details.
1617
+ */
1618
+ details(accountId: number): Promise<AccountDetails>;
1619
+ }
1620
+ //# sourceMappingURL=account.d.ts.map
1621
+ //#endregion
1622
+ //#region src/endpoints/certification.d.ts
1623
+ /**
1624
+ * Represents an endpoint for retrieving certifications for movies and TV shows.
1625
+ *
1626
+ * TMDB v3 reference:
1627
+ * - GET /certification/movie/list
1628
+ * - GET /certification/tv/list
1629
+ */
1630
+ declare class CertificationEndpoint extends BaseEndpoint {
1631
+ protected readonly access_token: TokenType;
1632
+ /**
1633
+ * Constructs a new CertificationEndpoint instance.
1634
+ *
1635
+ * @param {TokenType} access_token - The access token used for authentication.
1636
+ */
1637
+ constructor(access_token: TokenType);
1638
+ /**
1639
+ * Retrieves certifications for movies asynchronously.
1640
+ *
1641
+ * TMDB: GET /certification/movie/list
1642
+ *
1643
+ * @returns {Promise<Certifications>} A Promise that resolves with the certifications for movies.
1644
+ */
1645
+ movies(): Promise<Certifications>;
1646
+ /**
1647
+ * Retrieves certifications for TV shows asynchronously.
1648
+ *
1649
+ * TMDB: GET /certification/tv/list
1650
+ *
1651
+ * @returns {Promise<Certifications>} A Promise that resolves with the certifications for TV shows.
1652
+ */
1653
+ tv(): Promise<Certifications>;
1654
+ }
1655
+ //# sourceMappingURL=certification.d.ts.map
1656
+ //#endregion
1657
+ //#region src/endpoints/changes.d.ts
1658
+ /**
1659
+ * Represents an endpoint for retrieving changes in movies, TV shows, and persons.
1660
+ *
1661
+ * TMDB v3 reference:
1662
+ * - GET /movie/changes
1663
+ * - GET /tv/changes
1664
+ * - GET /person/changes
1665
+ */
1666
+ declare class ChangeEndpoint extends BaseEndpoint {
1667
+ protected readonly access_token: TokenType;
1668
+ /**
1669
+ * Constructs a new ChangeEndpoint instance.
1670
+ *
1671
+ * @param {TokenType} access_token - The access token used for authentication.
1672
+ */
1673
+ constructor(access_token: TokenType);
1674
+ /**
1675
+ * Retrieves changes in movies asynchronously.
1676
+ *
1677
+ * TMDB: GET /movie/changes
1678
+ *
1679
+ * @param {ChangeOption} [options] - Optional parameters for filtering the changes.
1680
+ * @returns {Promise<MediaChanges>} A Promise that resolves with the changes in movies.
1681
+ */
1682
+ movies(options?: ChangeOption): Promise<MediaChanges>;
1683
+ /**
1684
+ * Retrieves changes in TV shows asynchronously.
1685
+ *
1686
+ * TMDB: GET /tv/changes
1687
+ *
1688
+ * @param {ChangeOption} [options] - Optional parameters for filtering the changes.
1689
+ * @returns {Promise<MediaChanges>} A Promise that resolves with the changes in TV shows.
1690
+ */
1691
+ tv(options?: ChangeOption): Promise<MediaChanges>;
1692
+ /**
1693
+ * Retrieves changes related to persons asynchronously.
1694
+ *
1695
+ * TMDB: GET /person/changes
1696
+ *
1697
+ * @param {ChangeOption} [options] - Optional parameters for filtering the changes.
1698
+ * @returns {Promise<MediaChanges>} A Promise that resolves with the changes related to persons.
1699
+ */
1700
+ person(options?: ChangeOption): Promise<MediaChanges>;
1701
+ }
1702
+ //# sourceMappingURL=changes.d.ts.map
1703
+ //#endregion
1704
+ //#region src/endpoints/collections.d.ts
1705
+ /**
1706
+ * Represents an endpoint for accessing collections and their details.
1707
+ */
1708
+ declare class CollectionsEndpoint extends BaseEndpoint {
1709
+ protected readonly auth: TokenType;
1710
+ /**
1711
+ * Constructs a new CollectionsEndpoint instance.
1712
+ *
1713
+ * @param {TokenType} auth - The authentication configuration.
1714
+ */
1715
+ constructor(auth: TokenType);
1716
+ /**
1717
+ * Retrieves details of a specific collection asynchronously.
1718
+ *
1719
+ * @param {number} id - The ID of the collection.
1720
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
1721
+ * language.
1722
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1723
+ * @returns {Promise<DetailedCollection>} A Promise that resolves with the
1724
+ * detailed information of the collection.
1725
+ */
1726
+ details(id: number, options?: LanguageOption, request?: RequestConfig): Promise<DetailedCollection>;
1727
+ /**
1728
+ * Retrieves images associated with a specific collection asynchronously.
1729
+ *
1730
+ * @param {number} id - The ID of the collection.
1731
+ * @param {CollectionImageOptions} [options] - Optional parameters for
1732
+ * specifying image options.
1733
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1734
+ * @returns {Promise<ImageCollection>} A Promise that resolves with the
1735
+ * collection images.
1736
+ */
1737
+ images(id: number, options?: CollectionImageOptions, request?: RequestConfig): Promise<ImageCollection>;
1738
+ /**
1739
+ * Retrieves translations for a specific collection asynchronously.
1740
+ *
1741
+ * @param {number} id - The ID of the collection.
1742
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
1743
+ * language.
1744
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1745
+ * @returns {Promise<Translations>} A Promise that resolves with the
1746
+ * translations of the collection.
1747
+ */
1748
+ translations(id: number, options?: LanguageOption, request?: RequestConfig): Promise<Translations>;
1749
+ }
1750
+ //# sourceMappingURL=collections.d.ts.map
1751
+ //#endregion
1752
+ //#region src/endpoints/companies.d.ts
1753
+ /**
1754
+ * Represents an endpoint for accessing company details and related information.
1755
+ */
1756
+ declare class CompaniesEndpoint extends BaseEndpoint {
1757
+ protected readonly auth: TokenType;
1758
+ /**
1759
+ * Constructs a new CompaniesEndpoint instance.
1760
+ *
1761
+ * @param {TokenType} auth - The authentication configuration.
1762
+ */
1763
+ constructor(auth: TokenType);
1764
+ /**
1765
+ * Retrieves details of a specific company asynchronously.
1766
+ *
1767
+ * @param {number} id - The ID of the company.
1768
+ * @returns {Promise<CompanyDetails>} A Promise that resolves with the
1769
+ * detailed information of the company.
1770
+ */
1771
+ details(id: number): Promise<CompanyDetails>;
1772
+ /**
1773
+ * Retrieves alternative names of a specific company asynchronously.
1774
+ *
1775
+ * @param {number} id - The ID of the company.
1776
+ * @returns {Promise<AlternativeNames>} A Promise that resolves with the
1777
+ * alternative names of the company.
1778
+ */
1779
+ alternativeNames(id: number): Promise<AlternativeNames>;
1780
+ /**
1781
+ * Retrieves images associated with a specific company asynchronously.
1782
+ *
1783
+ * @param {number} id - The ID of the company.
1784
+ * @returns {Promise<CompanyImages>} A Promise that resolves with the images
1785
+ * of the company.
1786
+ */
1787
+ images(id: number): Promise<CompanyImages>;
1788
+ }
1789
+ //# sourceMappingURL=companies.d.ts.map
1790
+ //#endregion
1791
+ //#region src/endpoints/configuration.d.ts
1792
+ /**
1793
+ * Represents an endpoint for retrieving current system configuration.
1794
+ */
1795
+ declare class ConfigurationEndpoint extends BaseEndpoint {
1796
+ protected readonly auth: TokenType;
1797
+ /**
1798
+ * Constructs a new ConfigurationEndpoint instance.
1799
+ *
1800
+ * @param {TokenType} auth - The authentication configuration.
1801
+ */
1802
+ constructor(auth: TokenType);
1803
+ /**
1804
+ * Retrieves the current system configuration asynchronously.
1805
+ *
1806
+ * @returns {Promise<Configuration>} A Promise that resolves with the current
1807
+ * system configuration.
1808
+ */
1809
+ getCurrent(): Promise<Configuration>;
1810
+ }
1811
+ //# sourceMappingURL=configuration.d.ts.map
1812
+ //#endregion
1813
+ //#region src/endpoints/credits.d.ts
1814
+ /**
1815
+ * Represents an endpoint for retrieving credit details.
1816
+ */
1817
+ declare class CreditsEndpoint extends BaseEndpoint {
1818
+ protected readonly auth: TokenType;
1819
+ /**
1820
+ * Constructs a new CreditsEndpoint instance.
1821
+ *
1822
+ * @param {TokenType} auth - The authentication configuration.
1823
+ */
1824
+ constructor(auth: TokenType);
1825
+ /**
1826
+ * Retrieves credit details by ID asynchronously.
1827
+ *
1828
+ * @param {string} id - The ID of the credit.
1829
+ * @returns {Promise<CreditResponse>} A Promise that resolves with the credit
1830
+ * details.
1831
+ */
1832
+ getById(id: string): Promise<CreditResponse>;
1833
+ }
1834
+ //# sourceMappingURL=credits.d.ts.map
1835
+ //#endregion
1836
+ //#region src/endpoints/discover.d.ts
1837
+ /**
1838
+ * Represents an endpoint for discovering movies and TV shows based on various
1839
+ * criteria.
1840
+ *
1841
+ * TMDB v3 reference:
1842
+ * - GET /discover/movie
1843
+ * - GET /discover/tv
1844
+ */
1845
+ declare class DiscoverEndpoint extends BaseEndpoint {
1846
+ protected readonly access_token: TokenType;
1847
+ /**
1848
+ * Constructs a new DiscoverEndpoint instance.
1849
+ *
1850
+ * @param {TokenType} access_token - The access token used for authentication.
1851
+ */
1852
+ constructor(access_token: TokenType);
1853
+ /**
1854
+ * Retrieves a list of movies based on the provided query options
1855
+ * asynchronously.
1856
+ *
1857
+ * @param {MovieQueryOptions} [options] - Optional parameters for refining the
1858
+ * movie discovery.
1859
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1860
+ * @returns {Promise<MovieDiscoverResult>} A Promise that resolves with the
1861
+ * movie discovery results.
1862
+ */
1863
+ movie(options?: MovieQueryOptions, request?: RequestConfig): Promise<MovieDiscoverResult>;
1864
+ /**
1865
+ * Retrieves a list of TV shows based on the provided query options
1866
+ * asynchronously.
1867
+ *
1868
+ * @param {TvShowQueryOptions} [options] - Optional parameters for refining
1869
+ * the TV show discovery.
1870
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1871
+ * @returns {Promise<TvShowDiscoverResult>} A Promise that resolves with the
1872
+ * TV show discovery results.
1873
+ */
1874
+ tvShow(options?: TvShowQueryOptions, request?: RequestConfig): Promise<TvShowDiscoverResult>;
1875
+ }
1876
+ //# sourceMappingURL=discover.d.ts.map
1877
+ //#endregion
1878
+ //#region src/endpoints/find.d.ts
1879
+ /**
1880
+ * Represents an endpoint for finding media by external ID.
1881
+ */
1882
+ declare class FindEndpoint extends BaseEndpoint {
1883
+ protected readonly auth: TokenType;
1884
+ /**
1885
+ * Constructs a new FindEndpoint instance.
1886
+ *
1887
+ * @param {TokenType} auth - The authentication configuration.
1888
+ */
1889
+ constructor(auth: TokenType);
1890
+ /**
1891
+ * Retrieves media by external ID asynchronously.
1892
+ *
1893
+ * @param {string} externalId - The external ID of the media.
1894
+ * @param {ExternalIdOptions} options - Options for finding media by external
1895
+ * ID.
1896
+ * @returns {Promise<FindResult>} A Promise that resolves with the result of
1897
+ * the find operation.
1898
+ */
1899
+ byId(externalId: string, options: ExternalIdOptions): Promise<FindResult>;
1900
+ }
1901
+ //# sourceMappingURL=find.d.ts.map
1902
+ //#endregion
1903
+ //#region src/endpoints/genre.d.ts
1904
+ /**
1905
+ * Represents an endpoint for retrieving genre information for movies and TV
1906
+ * shows.
1907
+ */
1908
+ declare class GenreEndpoint extends BaseEndpoint {
1909
+ protected readonly auth: TokenType;
1910
+ /**
1911
+ * Constructs a new GenreEndpoint instance.
1912
+ *
1913
+ * @param {TokenType} auth - The authentication configuration.
1914
+ */
1915
+ constructor(auth: TokenType);
1916
+ /**
1917
+ * Retrieves genre information for movies asynchronously.
1918
+ *
1919
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
1920
+ * language.
1921
+ * @returns {Promise<Genres>} A Promise that resolves with the genre
1922
+ * information for movies.
1923
+ */
1924
+ movies(options?: LanguageOption): Promise<Genres>;
1925
+ /**
1926
+ * Retrieves genre information for TV shows asynchronously.
1927
+ *
1928
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
1929
+ * language.
1930
+ * @returns {Promise<Genres>} A Promise that resolves with the genre
1931
+ * information for TV shows.
1932
+ */
1933
+ tv(options?: LanguageOption): Promise<Genres>;
1934
+ }
1935
+ //# sourceMappingURL=genre.d.ts.map
1936
+ //#endregion
1937
+ //#region src/endpoints/keywords.d.ts
1938
+ /**
1939
+ * Represents an endpoint for accessing keyword details and related movies.
1940
+ */
1941
+ declare class KeywordsEndpoint extends BaseEndpoint {
1942
+ protected readonly auth: TokenType;
1943
+ /**
1944
+ * Constructs a new KeywordsEndpoint instance.
1945
+ *
1946
+ * @param {TokenType} auth - The authentication configuration.
1947
+ */
1948
+ constructor(auth: TokenType);
1949
+ /**
1950
+ * Retrieves details of a specific keyword asynchronously.
1951
+ *
1952
+ * @param {number} keywordId - The ID of the keyword.
1953
+ * @returns {Promise<Keyword>} A Promise that resolves with the details of
1954
+ * the keyword.
1955
+ */
1956
+ details(keywordId: number): Promise<Keyword>;
1957
+ /**
1958
+ * Retrieves movies belonging to a specific keyword asynchronously.
1959
+ *
1960
+ * @param {number} keywordId - The ID of the keyword.
1961
+ * @param {KeywordsOptions} [options] - Optional parameters for refining the
1962
+ * search.
1963
+ * @returns {Promise<BelongingMovies>} A Promise that resolves with the
1964
+ * movies belonging to the keyword.
1965
+ */
1966
+ belongingMovies(keywordId: number, options?: KeywordsOptions): Promise<BelongingMovies>;
1967
+ }
1968
+ //# sourceMappingURL=keywords.d.ts.map
1969
+ //#endregion
1970
+ //#region src/endpoints/movies.d.ts
1971
+ /**
1972
+ * Represents an endpoint for accessing movie-related information.
1973
+ */
1974
+ declare class MoviesEndpoint extends BaseEndpoint {
1975
+ protected readonly auth: TokenType;
1976
+ /**
1977
+ * Constructs a new MoviesEndpoint instance.
1978
+ *
1979
+ * @param {TokenType} auth - The authentication configuration.
1980
+ */
1981
+ constructor(auth: TokenType);
1982
+ /**
1983
+ * Retrieves details of a specific movie asynchronously.
1984
+ *
1985
+ * @param {number} id - The ID of the movie.
1986
+ * @param {AppendToResponseMovieKey[]} [appendToResponse] - Optional keys to
1987
+ * append to the response.
1988
+ * @param {string} [language] - Optional parameter for specifying the
1989
+ * language.
1990
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
1991
+ * @returns {Promise<AppendToResponse<MovieDetails, T, "movie">>} A Promise
1992
+ * that resolves with the details of the movie.
1993
+ */
1994
+ details<T extends AppendToResponseMovieKey[] | undefined>(id: number, appendToResponse?: T, language?: string, request?: RequestConfig): Promise<AppendToResponse<MovieDetails, T, "movie">>;
1995
+ /**
1996
+ * Retrieves alternative titles of a specific movie asynchronously.
1997
+ *
1998
+ * @param {number} id - The ID of the movie.
1999
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2000
+ * @returns {Promise<AlternativeTitles>} A Promise that resolves with the
2001
+ * alternative titles of the movie.
2002
+ */
2003
+ alternativeTitles(id: number, request?: RequestConfig): Promise<AlternativeTitles>;
2004
+ /**
2005
+ * Retrieves changes made to a specific movie asynchronously.
2006
+ *
2007
+ * @param {number} id - The ID of the movie.
2008
+ * @param {ChangeOption} [options] - Optional parameters for filtering
2009
+ * changes.
2010
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2011
+ * @returns {Promise<Changes<MovieChangeValue>>} A Promise that resolves with
2012
+ * the changes made to the movie.
2013
+ */
2014
+ changes(id: number, options?: ChangeOption, request?: RequestConfig): Promise<Changes<MovieChangeValue>>;
2015
+ /**
2016
+ * Retrieves credits of a specific movie asynchronously.
2017
+ *
2018
+ * @param {number} id - The ID of the movie.
2019
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2020
+ * language.
2021
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2022
+ * @returns {Promise<Credits>} A Promise that resolves with the credits of
2023
+ * the movie.
2024
+ */
2025
+ credits(id: number, options?: LanguageOption, request?: RequestConfig): Promise<Credits>;
2026
+ /**
2027
+ * Retrieves external IDs of a specific movie asynchronously.
2028
+ *
2029
+ * @param {number} id - The ID of the movie.
2030
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2031
+ * @returns {Promise<ExternalIds>} A Promise that resolves with the external
2032
+ * IDs of the movie.
2033
+ */
2034
+ externalIds(id: number, request?: RequestConfig): Promise<ExternalIds>;
2035
+ /**
2036
+ * Retrieves images of a specific movie asynchronously.
2037
+ *
2038
+ * @param {number} id - The ID of the movie.
2039
+ * @param {MoviesImageSearchOptions} [options] - Optional parameters for
2040
+ * specifying image search options.
2041
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2042
+ * @returns {Promise<Images>} A Promise that resolves with the images of the
2043
+ * movie.
2044
+ */
2045
+ images(id: number, options?: MoviesImageSearchOptions, request?: RequestConfig): Promise<Images>;
2046
+ /**
2047
+ * Retrieves keywords of a specific movie asynchronously.
2048
+ *
2049
+ * @param {number} id - The ID of the movie.
2050
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2051
+ * @returns {Promise<Keywords>} A Promise that resolves with the keywords of
2052
+ * the movie.
2053
+ */
2054
+ keywords(id: number, request?: RequestConfig): Promise<Keywords>;
2055
+ /**
2056
+ * Retrieves lists containing a specific movie asynchronously.
2057
+ *
2058
+ * @param {number} id - The ID of the movie.
2059
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2060
+ * specifying language and pagination options.
2061
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2062
+ * @returns {Promise<MovieLists>} A Promise that resolves with the lists
2063
+ * containing the movie.
2064
+ */
2065
+ lists(id: number, options?: LanguageOption & PageOption, request?: RequestConfig): Promise<MovieLists>;
2066
+ /**
2067
+ * Retrieves recommendations for a specific movie asynchronously.
2068
+ *
2069
+ * @param {number} id - The ID of the movie.
2070
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2071
+ * specifying language and pagination options.
2072
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2073
+ * @returns {Promise<Recommendations>} A Promise that resolves with the
2074
+ * recommendations for the movie.
2075
+ */
2076
+ recommendations(id: number, options?: LanguageOption & PageOption, request?: RequestConfig): Promise<Recommendations>;
2077
+ /**
2078
+ * Retrieves release dates of a specific movie asynchronously.
2079
+ *
2080
+ * @param {number} id - The ID of the movie.
2081
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2082
+ * @returns {Promise<ReleaseDates>} A Promise that resolves with the release
2083
+ * dates of the movie.
2084
+ */
2085
+ releaseDates(id: number, request?: RequestConfig): Promise<ReleaseDates>;
2086
+ /**
2087
+ * Retrieves reviews for a specific movie asynchronously.
2088
+ *
2089
+ * @param {number} id - The ID of the movie.
2090
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2091
+ * specifying language and pagination options.
2092
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2093
+ * @returns {Promise<Reviews>} A Promise that resolves with the reviews for
2094
+ * the movie.
2095
+ */
2096
+ reviews(id: number, options?: LanguageOption & PageOption, request?: RequestConfig): Promise<Reviews>;
2097
+ /**
2098
+ * Retrieves similar movies for a specific movie asynchronously.
2099
+ *
2100
+ * @param {number} id - The ID of the movie.
2101
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2102
+ * specifying language and pagination options.
2103
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2104
+ * @returns {Promise<SimilarMovies>} A Promise that resolves with the similar
2105
+ * movies for the movie.
2106
+ */
2107
+ similar(id: number, options?: LanguageOption & PageOption, request?: RequestConfig): Promise<SimilarMovies>;
2108
+ /**
2109
+ * Retrieves translations of a specific movie asynchronously.
2110
+ *
2111
+ * @param {number} id - The ID of the movie.
2112
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2113
+ * @returns {Promise<Translations>} A Promise that resolves with the
2114
+ * translations of the movie.
2115
+ */
2116
+ translations(id: number, request?: RequestConfig): Promise<Translations>;
2117
+ /**
2118
+ * Retrieves videos of a specific movie asynchronously.
2119
+ *
2120
+ * @param {number} id - The ID of the movie.
2121
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2122
+ * language.
2123
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2124
+ * @returns {Promise<Videos>} A Promise that resolves with the videos of the
2125
+ * movie.
2126
+ */
2127
+ videos(id: number, options?: LanguageOption, request?: RequestConfig): Promise<Videos>;
2128
+ /**
2129
+ * Retrieves watch providers of a specific movie asynchronously.
2130
+ *
2131
+ * @param {number} id - The ID of the movie.
2132
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2133
+ * @returns {Promise<WatchProviders>} A Promise that resolves with the watch
2134
+ * providers of the movie.
2135
+ */
2136
+ watchProviders(id: number, request?: RequestConfig): Promise<WatchProviders>;
2137
+ /**
2138
+ * Retrieves details of the latest movie asynchronously.
2139
+ *
2140
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2141
+ * @returns {Promise<LatestMovie>} A Promise that resolves with the details
2142
+ * of the latest movie.
2143
+ */
2144
+ latest(request?: RequestConfig): Promise<LatestMovie>;
2145
+ /**
2146
+ * Retrieves movies playing now asynchronously.
2147
+ *
2148
+ * @param {PageOption & LanguageOption & RegionOption} [options] - Optional
2149
+ * parameters for specifying language, region, and pagination options.
2150
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2151
+ * @returns {Promise<MoviesPlayingNow>} A Promise that resolves with the
2152
+ * movies playing now.
2153
+ */
2154
+ nowPlaying(options?: PageOption & LanguageOption & RegionOption, request?: RequestConfig): Promise<MoviesPlayingNow>;
2155
+ /**
2156
+ * Retrieves popular movies asynchronously.
2157
+ *
2158
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2159
+ * specifying language and pagination options.
2160
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2161
+ * @returns {Promise<PopularMovies>} A Promise that resolves with the popular
2162
+ * movies.
2163
+ */
2164
+ popular(options?: LanguageOption & PageOption, request?: RequestConfig): Promise<PopularMovies>;
2165
+ /**
2166
+ * Retrieves top rated movies asynchronously.
2167
+ *
2168
+ * @param {PageOption & LanguageOption & RegionOption} [options] - Optional
2169
+ * parameters for specifying language, region, and pagination options.
2170
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2171
+ * @returns {Promise<TopRatedMovies>} A Promise that resolves with the top
2172
+ * rated movies.
2173
+ */
2174
+ topRated(options?: PageOption & LanguageOption & RegionOption, request?: RequestConfig): Promise<TopRatedMovies>;
2175
+ /**
2176
+ * Retrieves upcoming movies asynchronously.
2177
+ *
2178
+ * @param {PageOption & LanguageOption & RegionOption} [options] - Optional
2179
+ * parameters for specifying language, region, and pagination options.
2180
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2181
+ * @returns {Promise<UpcomingMovies>} A Promise that resolves with the
2182
+ * upcoming movies.
2183
+ */
2184
+ upcoming(options?: PageOption & LanguageOption & RegionOption, request?: RequestConfig): Promise<UpcomingMovies>;
2185
+ }
2186
+ //# sourceMappingURL=movies.d.ts.map
2187
+ //#endregion
2188
+ //#region src/endpoints/networks.d.ts
2189
+ /**
2190
+ * Represents an endpoint for accessing network details.
2191
+ */
2192
+ declare class NetworksEndpoint extends BaseEndpoint {
2193
+ protected readonly auth: TokenType;
2194
+ /**
2195
+ * Constructs a new NetworksEndpoint instance.
2196
+ *
2197
+ * @param {TokenType} auth - The authentication configuration.
2198
+ */
2199
+ constructor(auth: TokenType);
2200
+ /**
2201
+ * Retrieves details of a specific network asynchronously.
2202
+ *
2203
+ * @param {number} id - The ID of the network.
2204
+ * @returns {Promise<NetworkDetails>} A Promise that resolves with the
2205
+ * details of the network.
2206
+ */
2207
+ details(id: number): Promise<NetworkDetails>;
2208
+ /**
2209
+ * Retrieves alternative names of a specific network asynchronously.
2210
+ *
2211
+ * @param {number} id - The ID of the network.
2212
+ * @returns {Promise<AlternativeNames>} A Promise that resolves with the
2213
+ * alternative names of the network.
2214
+ */
2215
+ alternativeNames(id: number): Promise<AlternativeNames>;
2216
+ /**
2217
+ * Retrieves images of a specific network asynchronously.
2218
+ *
2219
+ * @param {number} id - The ID of the network.
2220
+ * @returns {Promise<NetworkImages>} A Promise that resolves with the images
2221
+ * of the network.
2222
+ */
2223
+ images(id: number): Promise<NetworkImages>;
2224
+ }
2225
+ //# sourceMappingURL=networks.d.ts.map
2226
+ //#endregion
2227
+ //#region src/endpoints/people.d.ts
2228
+ /**
2229
+ * Represents an endpoint for accessing information about people.
2230
+ */
2231
+ declare class PeopleEndpoint extends BaseEndpoint {
2232
+ protected readonly auth: TokenType;
2233
+ /**
2234
+ * Constructs a new PeopleEndpoint instance.
2235
+ *
2236
+ * @param {TokenType} auth - The authentication configuration.
2237
+ */
2238
+ constructor(auth: TokenType);
2239
+ /**
2240
+ * Retrieves details of a specific person asynchronously.
2241
+ *
2242
+ * @param {number} id - The ID of the person.
2243
+ * @param {AppendToResponsePersonKey[]} [appendToResponse] - Optional keys to
2244
+ * append to the response.
2245
+ * @param {string} [language] - Optional parameter for specifying the
2246
+ * language.
2247
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2248
+ * @returns {Promise<AppendToResponse<PersonDetails, T, "person">>} A
2249
+ * Promise that resolves with the details of the person.
2250
+ */
2251
+ details<T extends AppendToResponsePersonKey[] | undefined>(id: number, appendToResponse?: T, language?: string, request?: RequestConfig): Promise<AppendToResponse<PersonDetails, T, "person">>;
2252
+ /**
2253
+ * Retrieves changes made to a specific person asynchronously.
2254
+ *
2255
+ * @param {number} id - The ID of the person.
2256
+ * @param {ChangeOption} [options] - Optional parameters for filtering
2257
+ * changes.
2258
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2259
+ * @returns {Promise<Changes<PersonChangeValue>>} A Promise that resolves
2260
+ * with the changes made to the person.
2261
+ */
2262
+ changes(id: number, options?: ChangeOption, request?: RequestConfig): Promise<Changes<PersonChangeValue>>;
2263
+ /**
2264
+ * Retrieves movie credits of a specific person asynchronously.
2265
+ *
2266
+ * @param {number} id - The ID of the person.
2267
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2268
+ * language.
2269
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2270
+ * @returns {Promise<PersonMovieCredit>} A Promise that resolves with the
2271
+ * movie credits of the person.
2272
+ */
2273
+ movieCredits(id: number, options?: LanguageOption, request?: RequestConfig): Promise<PersonMovieCredit>;
2274
+ /**
2275
+ * Retrieves TV show credits of a specific person asynchronously.
2276
+ *
2277
+ * @param {number} id - The ID of the person.
2278
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2279
+ * language.
2280
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2281
+ * @returns {Promise<PersonTvShowCredit>} A Promise that resolves with the
2282
+ * TV show credits of the person.
2283
+ */
2284
+ tvShowCredits(id: number, options?: LanguageOption, request?: RequestConfig): Promise<PersonTvShowCredit>;
2285
+ /**
2286
+ * Retrieves combined credits of a specific person asynchronously.
2287
+ *
2288
+ * @param {number} id - The ID of the person.
2289
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2290
+ * language.
2291
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2292
+ * @returns {Promise<PersonCombinedCredits>} A Promise that resolves with the
2293
+ * combined credits of the person.
2294
+ */
2295
+ combinedCredits(id: number, options?: LanguageOption, request?: RequestConfig): Promise<PersonCombinedCredits>;
2296
+ /**
2297
+ * Retrieves external IDs of a specific person asynchronously.
2298
+ *
2299
+ * @param {number} id - The ID of the person.
2300
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2301
+ * @returns {Promise<ExternalIds>} A Promise that resolves with the external
2302
+ * IDs of the person.
2303
+ */
2304
+ externalId(id: number, request?: RequestConfig): Promise<ExternalIds>;
2305
+ /**
2306
+ * Retrieves images of a specific person asynchronously.
2307
+ *
2308
+ * @param {number} id - The ID of the person.
2309
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2310
+ * @returns {Promise<PeopleImages>} A Promise that resolves with the images
2311
+ * of the person.
2312
+ */
2313
+ images(id: number, request?: RequestConfig): Promise<PeopleImages>;
2314
+ /**
2315
+ * Retrieves tagged images of a specific person asynchronously.
2316
+ *
2317
+ * @param {number} id - The ID of the person.
2318
+ * @param {PageOption} [options] - Optional parameters for specifying
2319
+ * pagination options.
2320
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2321
+ * @returns {Promise<TaggedImages>} A Promise that resolves with the tagged
2322
+ * images of the person.
2323
+ */
2324
+ taggedImages(id: number, options?: PageOption, request?: RequestConfig): Promise<TaggedImages>;
2325
+ /**
2326
+ * Retrieves translations of a specific person asynchronously.
2327
+ *
2328
+ * @param {number} id - The ID of the person.
2329
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2330
+ * @returns {Promise<PersonTranslations>} A Promise that resolves with the
2331
+ * translations of the person.
2332
+ */
2333
+ translation(id: number, request?: RequestConfig): Promise<PersonTranslations>;
2334
+ /**
2335
+ * Retrieves details of the latest person asynchronously.
2336
+ *
2337
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2338
+ * @returns {Promise<PersonDetails>} A Promise that resolves with the details
2339
+ * of the latest person.
2340
+ */
2341
+ latest(request?: RequestConfig): Promise<PersonDetails>;
2342
+ /**
2343
+ * Retrieves popular persons asynchronously.
2344
+ *
2345
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2346
+ * specifying language and pagination options.
2347
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2348
+ * @returns {Promise<PopularPersons>} A Promise that resolves with the
2349
+ * popular persons.
2350
+ */
2351
+ popular(options?: LanguageOption & PageOption, request?: RequestConfig): Promise<PopularPersons>;
2352
+ }
2353
+ //# sourceMappingURL=people.d.ts.map
2354
+ //#endregion
2355
+ //#region src/endpoints/review.d.ts
2356
+ /**
2357
+ * Represents an endpoint for accessing review details.
2358
+ */
2359
+ declare class ReviewEndpoint extends BaseEndpoint {
2360
+ protected readonly auth: TokenType;
2361
+ /**
2362
+ * Constructs a new ReviewEndpoint instance.
2363
+ *
2364
+ * @param {TokenType} auth - The authentication configuration.
2365
+ */
2366
+ constructor(auth: TokenType);
2367
+ /**
2368
+ * Retrieves details of a specific review asynchronously.
2369
+ *
2370
+ * @param {string} id - The ID of the review.
2371
+ * @returns {Promise<ReviewDetails>} A Promise that resolves with the details
2372
+ * of the review.
2373
+ */
2374
+ details(id: string): Promise<ReviewDetails>;
2375
+ }
2376
+ //# sourceMappingURL=review.d.ts.map
2377
+ //#endregion
2378
+ //#region src/endpoints/search.d.ts
2379
+ /**
2380
+ * Represents an endpoint for performing various search operations.
2381
+ */
2382
+ declare class SearchEndpoint extends BaseEndpoint {
2383
+ protected readonly access_token: TokenType;
2384
+ /**
2385
+ * Constructs a new SearchEndpoint instance.
2386
+ *
2387
+ * @param {TokenType} access_token - The access token used for authentication.
2388
+ */
2389
+ constructor(access_token: TokenType);
2390
+ /**
2391
+ * Searches for companies asynchronously.
2392
+ *
2393
+ * @param {SearchOptions} options - The search options.
2394
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2395
+ * @returns {Promise<Search<Company>>} A Promise that resolves with the
2396
+ * search results for companies.
2397
+ */
2398
+ companies(options: SearchOptions, request?: RequestConfig): Promise<Search<Company>>;
2399
+ /**
2400
+ * Searches for collections asynchronously.
2401
+ *
2402
+ * @param {CollectionSearchOptions} options - The search options.
2403
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2404
+ * @returns {Promise<Search<Collection>>} A Promise that resolves with the
2405
+ * search results for collections.
2406
+ */
2407
+ collections(options: CollectionSearchOptions, request?: RequestConfig): Promise<Search<Collection>>;
2408
+ /**
2409
+ * Searches for keywords asynchronously.
2410
+ *
2411
+ * @param {SearchOptions} options - The search options.
2412
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2413
+ * @returns {Promise<Search<{ id: string; name: string }>>} A Promise that
2414
+ * resolves with the search results for keywords.
2415
+ */
2416
+ keywords(options: SearchOptions, request?: RequestConfig): Promise<Search<{
2417
+ id: string;
2418
+ name: string;
2419
+ }>>;
2420
+ /**
2421
+ * Searches for movies asynchronously.
2422
+ *
2423
+ * @param {MovieSearchOptions} options - The search options.
2424
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2425
+ * @returns {Promise<Search<Movie>>} A Promise that resolves with the search
2426
+ * results for movies.
2427
+ */
2428
+ movies(options: MovieSearchOptions, request?: RequestConfig): Promise<Search<Movie>>;
2429
+ /**
2430
+ * Searches for people asynchronously.
2431
+ *
2432
+ * @param {PeopleSearchOptions} options - The search options.
2433
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2434
+ * @returns {Promise<Search<Person>>} A Promise that resolves with the search
2435
+ * results for people.
2436
+ */
2437
+ people(options: PeopleSearchOptions, request?: RequestConfig): Promise<Search<Person>>;
2438
+ /**
2439
+ * Searches for TV shows asynchronously.
2440
+ *
2441
+ * @param {TvSearchOptions} options - The search options.
2442
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2443
+ * @returns {Promise<Search<TV>>} A Promise that resolves with the search
2444
+ * results for TV shows.
2445
+ */
2446
+ tv(options: TvSearchOptions, request?: RequestConfig): Promise<Search<TV>>;
2447
+ /**
2448
+ * Performs a multi-search asynchronously.
2449
+ *
2450
+ * @param {MultiSearchOptions} options - The search options.
2451
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2452
+ * @returns {Promise<Search<MultiSearchResult>>} A Promise that resolves with
2453
+ * the multi-search results.
2454
+ */
2455
+ multi(options: MultiSearchOptions, request?: RequestConfig): Promise<Search<MultiSearchResult>>;
2456
+ }
2457
+ //# sourceMappingURL=search.d.ts.map
2458
+ //#endregion
2459
+ //#region src/endpoints/trending.d.ts
2460
+ /**
2461
+ * Represents an endpoint for retrieving trending content.
2462
+ */
2463
+ declare class TrendingEndpoint extends BaseEndpoint {
2464
+ protected readonly auth: TokenType;
2465
+ /**
2466
+ * Constructs a new TrendingEndpoint instance.
2467
+ *
2468
+ * @param {TokenType} auth - The authentication configuration.
2469
+ */
2470
+ constructor(auth: TokenType);
2471
+ /**
2472
+ * Retrieves trending content asynchronously based on media type and time
2473
+ * window.
2474
+ *
2475
+ * @param {TrendingMediaType} mediaType - The type of media.
2476
+ * @param {TimeWindow} timeWindow - The time window for trending content.
2477
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for
2478
+ * specifying the language and pagination.
2479
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2480
+ * @returns {Promise<TrendingResults<T>>} A Promise that resolves with the
2481
+ * trending results.
2482
+ * @template T - The type of media being searched for.
2483
+ */
2484
+ trending<T extends TrendingMediaType>(mediaType: T, timeWindow: TimeWindow, options?: LanguageOption & PageOption, request?: RequestConfig): Promise<TrendingResults<T>>;
2485
+ }
2486
+ //# sourceMappingURL=trending.d.ts.map
2487
+ //#endregion
2488
+ //#region src/endpoints/tvEpisodes.d.ts
2489
+ /**
2490
+ * Represents an endpoint for accessing TV episode-related information.
2491
+ */
2492
+ declare class TvEpisodesEndpoint extends BaseEndpoint {
2493
+ protected readonly auth: TokenType;
2494
+ /**
2495
+ * Constructs a new TvEpisodesEndpoint instance.
2496
+ *
2497
+ * @param {TokenType} auth - The authentication configuration.
2498
+ */
2499
+ constructor(auth: TokenType);
2500
+ /**
2501
+ * Retrieves details of a specific TV episode asynchronously.
2502
+ *
2503
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2504
+ * the TV episode.
2505
+ * @param {AppendToResponseTvEpisodeKey[]} [appendToResponse] - Additional
2506
+ * data to append to the response.
2507
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2508
+ * language.
2509
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2510
+ * @returns {Promise<AppendToResponse<Omit<Episode, "show_id">, T,
2511
+ * "tvEpisode">>} A Promise that resolves with the details of the TV
2512
+ * episode.
2513
+ */
2514
+ details<T extends AppendToResponseTvEpisodeKey[] | undefined>(episodeSelection: EpisodeSelection, appendToResponse?: T, options?: LanguageOption, request?: RequestConfig): Promise<AppendToResponse<Omit<Episode, "show_id">, T, "tvEpisode">>;
2515
+ /**
2516
+ * Retrieves changes related to a specific TV episode asynchronously.
2517
+ *
2518
+ * @param {number} episodeID - The ID of the TV episode.
2519
+ * @param {ChangeOption} [options] - Optional parameters for specifying
2520
+ * changes.
2521
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2522
+ * @returns {Promise<Changes<TvEpisodeChangeValue>>} A Promise that resolves
2523
+ * with the changes related to the TV episode.
2524
+ */
2525
+ changes(episodeID: number, options?: ChangeOption, request?: RequestConfig): Promise<Changes<TvEpisodeChangeValue>>;
2526
+ /**
2527
+ * Retrieves credits for a specific TV episode asynchronously.
2528
+ *
2529
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2530
+ * the TV episode.
2531
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2532
+ * language.
2533
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2534
+ * @returns {Promise<TvEpisodeCredit>} A Promise that resolves with the
2535
+ * credits for the TV episode.
2536
+ */
2537
+ credits(episodeSelection: EpisodeSelection, options?: LanguageOption, request?: RequestConfig): Promise<TvEpisodeCredit>;
2538
+ /**
2539
+ * Retrieves external IDs for a specific TV episode asynchronously.
2540
+ *
2541
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2542
+ * the TV episode.
2543
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2544
+ * @returns {Promise<ExternalIds>} A Promise that resolves with the external
2545
+ * IDs for the TV episode.
2546
+ */
2547
+ externalIds(episodeSelection: EpisodeSelection, request?: RequestConfig): Promise<ExternalIds>;
2548
+ /**
2549
+ * Retrieves images for a specific TV episode asynchronously.
2550
+ *
2551
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2552
+ * the TV episode.
2553
+ * @param {TvEpisodeImageSearchOptions} [options] - Optional parameters for
2554
+ * specifying image search options.
2555
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2556
+ * @returns {Promise<Images>} A Promise that resolves with the images for the
2557
+ * TV episode.
2558
+ */
2559
+ images(episodeSelection: EpisodeSelection, options?: TvEpisodeImageSearchOptions, request?: RequestConfig): Promise<Images>;
2560
+ /**
2561
+ * Retrieves translations for a specific TV episode asynchronously.
2562
+ *
2563
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2564
+ * the TV episode.
2565
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2566
+ * @returns {Promise<TvEpisodeTranslations>} A Promise that resolves with the
2567
+ * translations for the TV episode.
2568
+ */
2569
+ translations(episodeSelection: EpisodeSelection, request?: RequestConfig): Promise<TvEpisodeTranslations>;
2570
+ /**
2571
+ * Retrieves videos for a specific TV episode asynchronously.
2572
+ *
2573
+ * @param {EpisodeSelection} episodeSelection - The selection criteria for
2574
+ * the TV episode.
2575
+ * @param {TvEpisodeVideoSearchOptions} [options] - Optional parameters for
2576
+ * specifying video search options.
2577
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2578
+ * @returns {Promise<Videos>} A Promise that resolves with the videos for the
2579
+ * TV episode.
2580
+ */
2581
+ videos(episodeSelection: EpisodeSelection, options?: TvEpisodeVideoSearchOptions, request?: RequestConfig): Promise<Videos>;
2582
+ }
2583
+ //# sourceMappingURL=tvEpisodes.d.ts.map
2584
+ //#endregion
2585
+ //#region src/endpoints/tvSeasons.d.ts
2586
+ /**
2587
+ * Represents an endpoint for accessing TV season-related information.
2588
+ */
2589
+ declare class TvSeasonsEndpoint extends BaseEndpoint {
2590
+ protected readonly auth: TokenType;
2591
+ /**
2592
+ * Constructs a new TvSeasonsEndpoint instance.
2593
+ *
2594
+ * @param {TokenType} auth - The authentication configuration.
2595
+ */
2596
+ constructor(auth: TokenType);
2597
+ /**
2598
+ * Retrieves details of a specific TV season asynchronously.
2599
+ *
2600
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2601
+ * TV season.
2602
+ * @param {AppendToResponseTvSeasonKey[]} [appendToResponse] - Additional
2603
+ * data to append to the response.
2604
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2605
+ * language.
2606
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2607
+ * @returns {Promise<AppendToResponse<SeasonDetails, T, "tvSeason">>} A
2608
+ * Promise that resolves with the details of the TV season.
2609
+ */
2610
+ details<T extends AppendToResponseTvSeasonKey[] | undefined>(seasonSelection: SeasonSelection, appendToResponse?: T, options?: LanguageOption, request?: RequestConfig): Promise<AppendToResponse<SeasonDetails, T, "tvSeason">>;
2611
+ /**
2612
+ * Retrieves aggregate credits for a specific TV season asynchronously.
2613
+ *
2614
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2615
+ * TV season.
2616
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2617
+ * language.
2618
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2619
+ * @returns {Promise<AggregateCredits>} A Promise that resolves with the
2620
+ * aggregate credits for the TV season.
2621
+ */
2622
+ aggregateCredits(seasonSelection: SeasonSelection, options?: LanguageOption, request?: RequestConfig): Promise<AggregateCredits>;
2623
+ /**
2624
+ * Retrieves changes related to a specific TV season asynchronously.
2625
+ *
2626
+ * @param {number} seasonId - The ID of the TV season.
2627
+ * @param {ChangeOption} [options] - Optional parameters for specifying
2628
+ * changes.
2629
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2630
+ * @returns {Promise<Changes<TvSeasonChangeValue>>} A Promise that resolves
2631
+ * with the changes related to the TV season.
2632
+ */
2633
+ changes(seasonId: number, options?: ChangeOption, request?: RequestConfig): Promise<Changes<TvSeasonChangeValue>>;
2634
+ /**
2635
+ * Retrieves credits for a specific TV season asynchronously.
2636
+ *
2637
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2638
+ * TV season.
2639
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2640
+ * language.
2641
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2642
+ * @returns {Promise<Credits>} A Promise that resolves with the credits for
2643
+ * the TV season.
2644
+ */
2645
+ credits(seasonSelection: SeasonSelection, options?: LanguageOption, request?: RequestConfig): Promise<Credits>;
2646
+ /**
2647
+ * Retrieves external IDs for a specific TV season asynchronously.
2648
+ *
2649
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2650
+ * TV season.
2651
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2652
+ * language.
2653
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2654
+ * @returns {Promise<ExternalIds>} A Promise that resolves with the external
2655
+ * IDs for the TV season.
2656
+ */
2657
+ externalIds(seasonSelection: SeasonSelection, options?: LanguageOption, request?: RequestConfig): Promise<ExternalIds>;
2658
+ /**
2659
+ * Retrieves images for a specific TV season asynchronously.
2660
+ *
2661
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2662
+ * TV season.
2663
+ * @param {TvSeasonImageSearchOptions} [options] - Optional parameters for
2664
+ * specifying image search options.
2665
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2666
+ * @returns {Promise<Images>} A Promise that resolves with the images for the
2667
+ * TV season.
2668
+ */
2669
+ images(seasonSelection: SeasonSelection, options?: TvSeasonImageSearchOptions, request?: RequestConfig): Promise<Images>;
2670
+ /**
2671
+ * Retrieves videos for a specific TV season asynchronously.
2672
+ *
2673
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2674
+ * TV season.
2675
+ * @param {TvSeasonVideoSearchOptions} [options] - Optional parameters for
2676
+ * specifying video search options.
2677
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2678
+ * @returns {Promise<Videos>} A Promise that resolves with the videos for the
2679
+ * TV season.
2680
+ */
2681
+ videos(seasonSelection: SeasonSelection, options?: TvSeasonVideoSearchOptions, request?: RequestConfig): Promise<Videos>;
2682
+ /**
2683
+ * Retrieves translations for a specific TV season asynchronously.
2684
+ *
2685
+ * @param {SeasonSelection} seasonSelection - The selection criteria for the
2686
+ * TV season.
2687
+ * @param {LanguageOption} [options] - Optional parameters for specifying the
2688
+ * language.
2689
+ * @param {RequestConfig} [request] - Optional request behavior overrides.
2690
+ * @returns {Promise<Translations>} A Promise that resolves with the
2691
+ * translations for the TV season.
2692
+ */
2693
+ translations(seasonSelection: SeasonSelection, options?: LanguageOption, request?: RequestConfig): Promise<Translations>;
2694
+ }
2695
+ //# sourceMappingURL=tvSeasons.d.ts.map
2696
+ //#endregion
2697
+ //#region src/endpoints/tvShows.d.ts
2698
+ /**
2699
+ * Represents an endpoint for accessing TV show-related information.
2700
+ */
2701
+ declare class TvShowsEndpoint extends BaseEndpoint {
2702
+ protected readonly auth: TokenType;
2703
+ /**
2704
+ * Constructs a new TvShowsEndpoint instance.
2705
+ *
2706
+ * @param {TokenType} auth - The authentication configuration.
2707
+ */
2708
+ constructor(auth: TokenType);
2709
+ /**
2710
+ * Retrieves details of a specific TV show asynchronously.
2711
+ *
2712
+ * @param {number} id - The ID of the TV show.
2713
+ * @param {AppendToResponseTvKey[]} [appendToResponse] - Additional data to
2714
+ * append to the response.
2715
+ * @param {string} [language] - The language for the response.
2716
+ * @returns {Promise<AppendToResponse<TvShowDetails, T, "tvShow">>} A
2717
+ * Promise that resolves with the details of the TV show.
2718
+ */
2719
+ details<T extends AppendToResponseTvKey[] | undefined>(id: number, appendToResponse?: T, language?: string): Promise<AppendToResponse<TvShowDetails, T, "tvShow">>;
2720
+ /**
2721
+ * Retrieves alternative titles of a specific TV show asynchronously.
2722
+ *
2723
+ * @param {number} id - The ID of the TV show.
2724
+ * @returns {Promise<AlternativeTitles>} A Promise that resolves with the
2725
+ * alternative titles of the TV show.
2726
+ */
2727
+ alternativeTitles(id: number): Promise<AlternativeTitles>;
2728
+ /**
2729
+ * Retrieves changes for a specific TV show asynchronously.
2730
+ *
2731
+ * @param {number} id - The ID of the TV show.
2732
+ * @param {ChangeOption} [options] - Additional options for the request.
2733
+ * @returns {Promise<Changes<TvShowChangeValue>>} A Promise that resolves
2734
+ * with the changes for the TV show.
2735
+ */
2736
+ changes(id: number, options?: ChangeOption): Promise<Changes<TvShowChangeValue>>;
2737
+ /**
2738
+ * Retrieves content ratings for a specific TV show asynchronously.
2739
+ *
2740
+ * @param {number} id - The ID of the TV show.
2741
+ * @returns {Promise<ContentRatings>} A Promise that resolves with the
2742
+ * content ratings of the TV show.
2743
+ */
2744
+ contentRatings(id: number): Promise<ContentRatings>;
2745
+ /**
2746
+ * Retrieves aggregate credits for a specific TV show asynchronously.
2747
+ *
2748
+ * @param {number} id - The ID of the TV show.
2749
+ * @param {LanguageOption} [options] - Additional options for the request.
2750
+ * @returns {Promise<AggregateCredits>} A Promise that resolves with the
2751
+ * aggregate credits of the TV show.
2752
+ */
2753
+ aggregateCredits(id: number, options?: LanguageOption): Promise<AggregateCredits>;
2754
+ /**
2755
+ * Retrieves credits for a specific TV show asynchronously.
2756
+ *
2757
+ * @param {number} id - The ID of the TV show.
2758
+ * @param {LanguageOption} [options] - Additional options for the request.
2759
+ * @returns {Promise<Credits>} A Promise that resolves with the credits of
2760
+ * the TV show.
2761
+ */
2762
+ credits(id: number, options?: LanguageOption): Promise<Credits>;
2763
+ /**
2764
+ * Retrieves details of a specific season of a TV show asynchronously.
2765
+ *
2766
+ * @param {number} tvId - The ID of the TV show.
2767
+ * @param {number} seasonNumber - The season number.
2768
+ * @returns {Promise<SeasonDetails>} A Promise that resolves with the details
2769
+ * of the season.
2770
+ */
2771
+ season(tvId: number, seasonNumber: number): Promise<SeasonDetails>;
2772
+ /**
2773
+ * Retrieves episode groups for a specific TV show asynchronously.
2774
+ *
2775
+ * @param {number} id - The ID of the TV show.
2776
+ * @returns {Promise<EpisodeGroups>} A Promise that resolves with the episode
2777
+ * groups of the TV show.
2778
+ */
2779
+ episodeGroups(id: number): Promise<EpisodeGroups>;
2780
+ /**
2781
+ * Retrieves external IDs for a specific TV show asynchronously.
2782
+ *
2783
+ * @param {number} id - The ID of the TV show.
2784
+ * @returns {Promise<ExternalIds>} A Promise that resolves with the external
2785
+ * IDs of the TV show.
2786
+ */
2787
+ externalIds(id: number): Promise<ExternalIds>;
2788
+ /**
2789
+ * Retrieves images for a specific TV show asynchronously.
2790
+ *
2791
+ * @param {number} id - The ID of the TV show.
2792
+ * @param {TvShowImageOptions} [options] - Additional options for the
2793
+ * request.
2794
+ * @returns {Promise<Images>} A Promise that resolves with the images of the
2795
+ * TV show.
2796
+ */
2797
+ images(id: number, options?: TvShowImageOptions): Promise<Images>;
2798
+ /**
2799
+ * Retrieves keywords for a specific TV show asynchronously.
2800
+ *
2801
+ * @param {number} id - The ID of the TV show.
2802
+ * @returns {Promise<Keywords>} A Promise that resolves with the keywords of
2803
+ * the TV show.
2804
+ */
2805
+ keywords(id: number): Promise<Keywords>;
2806
+ /**
2807
+ * Retrieves recommendations for a specific TV show asynchronously.
2808
+ *
2809
+ * @param {number} id - The ID of the TV show.
2810
+ * @param {LanguageOption & PageOption} [options] - Additional options for
2811
+ * the request.
2812
+ * @returns {Promise<Recommendations>} A Promise that resolves with the
2813
+ * recommendations for the TV show.
2814
+ */
2815
+ recommendations(id: number, options?: LanguageOption & PageOption): Promise<Recommendations>;
2816
+ /**
2817
+ * Retrieves reviews for a specific TV show asynchronously.
2818
+ *
2819
+ * @param {number} id - The ID of the TV show.
2820
+ * @param {LanguageOption & PageOption} [options] - Additional options for
2821
+ * the request.
2822
+ * @returns {Promise<Reviews>} A Promise that resolves with the reviews of
2823
+ * the TV show.
2824
+ */
2825
+ reviews(id: number, options?: LanguageOption & PageOption): Promise<Reviews>;
2826
+ /**
2827
+ * Retrieves information about whether the TV show was screened theatrically
2828
+ * asynchronously.
2829
+ *
2830
+ * @param {number} id - The ID of the TV show.
2831
+ * @returns {Promise<ScreenedTheatrically>} A Promise that resolves with
2832
+ * information about theatrical screenings.
2833
+ */
2834
+ screenedTheatrically(id: number): Promise<ScreenedTheatrically>;
2835
+ /**
2836
+ * Retrieves similar TV shows for a specific TV show asynchronously.
2837
+ *
2838
+ * @param {number} id - The ID of the TV show.
2839
+ * @param {LanguageOption & PageOption} [options] - Additional options for
2840
+ * the request.
2841
+ * @returns {Promise<Similartv>} A Promise that resolves with the similar TV
2842
+ * shows.
2843
+ */
2844
+ similar(id: number, options?: LanguageOption & PageOption): Promise<Similartv>;
2845
+ /**
2846
+ * Retrieves translations for a specific TV show asynchronously.
2847
+ *
2848
+ * @param {number} id - The ID of the TV show.
2849
+ * @returns {Promise<Translations>} A Promise that resolves with the
2850
+ * translations of the TV show.
2851
+ */
2852
+ translations(id: number): Promise<Translations>;
2853
+ /**
2854
+ * Retrieves videos for a specific TV show asynchronously.
2855
+ *
2856
+ * @param {number} id - The ID of the TV show.
2857
+ * @param {TvShowVideoOptions} [options] - Additional options for the
2858
+ * request.
2859
+ * @returns {Promise<Videos>} A Promise that resolves with the videos of the
2860
+ * TV show.
2861
+ */
2862
+ videos(id: number, options?: TvShowVideoOptions): Promise<Videos>;
2863
+ /**
2864
+ * Retrieves watch providers for a specific TV show asynchronously.
2865
+ * Powered by JustWatch.
2866
+ *
2867
+ * @param {number} id - The ID of the TV show.
2868
+ * @returns {Promise<WatchProviders>} A Promise that resolves with the watch
2869
+ * providers of the TV show.
2870
+ */
2871
+ watchProviders(id: number): Promise<WatchProviders>;
2872
+ /**
2873
+ * Retrieves the latest TV show asynchronously.
2874
+ *
2875
+ * @returns {Promise<Latesttv>} A Promise that resolves with the latest TV
2876
+ * show.
2877
+ */
2878
+ latest(): Promise<Latesttv>;
2879
+ /**
2880
+ * Retrieves TV shows that are currently on the air asynchronously.
2881
+ *
2882
+ * @param {PageOption & LanguageOption & TimezoneOption} [options] -
2883
+ * Additional options for the request.
2884
+ * @returns {Promise<OnTheAir>} A Promise that resolves with TV shows
2885
+ * currently on the air.
2886
+ */
2887
+ onTheAir(options?: PageOption & LanguageOption & TimezoneOption): Promise<OnTheAir>;
2888
+ /**
2889
+ * Retrieves TV shows that are airing today asynchronously.
2890
+ *
2891
+ * @param {PageOption & LanguageOption & TimezoneOption} [options] -
2892
+ * Additional options for the request.
2893
+ * @returns {Promise<tvAiringToday>} A Promise that resolves with TV shows
2894
+ * airing today.
2895
+ */
2896
+ airingToday(options?: PageOption & LanguageOption & TimezoneOption): Promise<tvAiringToday>;
2897
+ /**
2898
+ * Retrieves popular TV shows asynchronously.
2899
+ *
2900
+ * @param {PageOption & LanguageOption} [options] - Additional options for
2901
+ * the request.
2902
+ * @returns {Promise<Populartv>} A Promise that resolves with popular TV
2903
+ * shows.
2904
+ */
2905
+ popular(options?: PageOption & LanguageOption): Promise<Populartv>;
2906
+ /**
2907
+ * Retrieves top-rated TV shows asynchronously.
2908
+ *
2909
+ * @param {PageOption & LanguageOption} [options] - Additional options for
2910
+ * the request.
2911
+ * @returns {Promise<TopRatedtv>} A Promise that resolves with top-rated TV
2912
+ * shows.
2913
+ */
2914
+ topRated(options?: PageOption & LanguageOption): Promise<TopRatedtv>;
2915
+ }
2916
+ //# sourceMappingURL=tvShows.d.ts.map
2917
+ //#endregion
2918
+ //#region src/endpoints/watchProviders.d.ts
2919
+ /**
2920
+ * Represents an endpoint for accessing watch provider information.
2921
+ */
2922
+ declare class WatchProvidersEndpoint extends BaseEndpoint {
2923
+ protected readonly access_token: TokenType;
2924
+ /**
2925
+ * Constructs a new WatchProvidersEndpoint instance.
2926
+ *
2927
+ * @param {TokenType} access_token - The access token used for authentication.
2928
+ */
2929
+ constructor(access_token: TokenType);
2930
+ /**
2931
+ * Retrieves a list of watch providers for movies.
2932
+ *
2933
+ * @returns {Promise<WatchProviderListResponse>} A Promise that resolves with
2934
+ * the list of movie watch providers.
2935
+ */
2936
+ movie(): Promise<WatchProviderListResponse>;
2937
+ /**
2938
+ * Retrieves a list of watch providers for TV shows.
2939
+ *
2940
+ * @returns {Promise<WatchProviderListResponse>} A Promise that resolves with
2941
+ * the list of TV watch providers.
2942
+ */
2943
+ tv(): Promise<WatchProviderListResponse>;
2944
+ /**
2945
+ * Retrieves a list of available regions for watch providers.
2946
+ *
2947
+ * @returns {Promise<WatchRegionsResponse>} A Promise that resolves with the
2948
+ * list of available regions.
2949
+ */
2950
+ regions(): Promise<WatchRegionsResponse>;
2951
+ }
2952
+ //# sourceMappingURL=watchProviders.d.ts.map
2953
+ //#endregion
2954
+ //#region src/index.d.ts
2955
+ declare class TMDB {
2956
+ readonly account: AccountEndpoint;
2957
+ readonly certification: CertificationEndpoint;
2958
+ readonly changes: ChangeEndpoint;
2959
+ readonly collections: CollectionsEndpoint;
2960
+ readonly companies: CompaniesEndpoint;
2961
+ readonly configuration: ConfigurationEndpoint;
2962
+ readonly credits: CreditsEndpoint;
2963
+ readonly discover: DiscoverEndpoint;
2964
+ readonly find: FindEndpoint;
2965
+ readonly genre: GenreEndpoint;
2966
+ readonly keywords: KeywordsEndpoint;
2967
+ readonly movies: MoviesEndpoint;
2968
+ readonly networks: NetworksEndpoint;
2969
+ readonly people: PeopleEndpoint;
2970
+ readonly review: ReviewEndpoint;
2971
+ readonly search: SearchEndpoint;
2972
+ readonly trending: TrendingEndpoint;
2973
+ readonly tvEpisodes: TvEpisodesEndpoint;
2974
+ readonly tvSeasons: TvSeasonsEndpoint;
2975
+ readonly tvShows: TvShowsEndpoint;
2976
+ readonly watchProviders: WatchProvidersEndpoint;
2977
+ constructor(auth: TokenType);
2978
+ }
2979
+ //#endregion
2980
+ export { API, AccountDetails, AggregateCast, AggregateCredits, AggregateCrew, AiringTodayResult, AlternativeNames, AlternativeTitles, AppendToResponse, AppendToResponseMediaType, AppendToResponseMovieKey, AppendToResponsePersonKey, AppendToResponseTvEpisodeKey, AppendToResponseTvKey, AppendToResponseTvSeasonKey, AuthorDetails, Avatar, BackdropSizes, BaseEndpoint, BelongingMovies, BelongsToCollection, Buy, Cast, CastRole, Certification, Certifications, Change, ChangeItem, ChangeKeys, ChangeOption, Changes, Collection, CollectionImageOptions, CollectionSearchOptions, Company, CompanyDetails, CompanyImages, Configuration, ContentRatings, ContentRatingsResult, CreatedBy, CreditResponse, CreditSeason, Credits, Crew, CrewJob, Dates, DetailedCollection, DiscoverQueryOptions, Episode, EpisodeGroup, EpisodeGroups, EpisodeSelection, ErrorResponse, ExternalIdOptions, ExternalIds, ExternalSource, FindResult, Flatrate, Genre, Genres, Gravatar, GuestStar, Image, ImageCollection, ImageConfiguration, ImageFormat, ImageFormats, ImageSize, ImageSizes, Images, Keyword, Keywords, KeywordsOptions, KnownFor, LanguageOption, LastEpisodeToAir, LatestMovie, Latesttv, LogoSizes, Media$1 as Media, MediaChange, MediaChanges, MediaType, Movie, MovieChangeValue, MovieDetails, MovieDiscoverResult, MovieList, MovieLists, MovieQueryOptions, MovieSearchOptions, MovieSortOption, MovieWithMediaType, MoviesImageSearchOptions, MoviesPlayingNow, MultiSearchOptions, MultiSearchResult, Name, Network, NetworkDetails, NetworkImages, NextEpisodeToAir, OnTheAir, OnTheAirResult, PageOption, ParentCompany, PeopleImages, PeopleSearchOptions, Person, PersonChangeValue, PersonCombinedCredits, PersonDetails, PersonMovieCast, PersonMovieCredit, PersonMovieCrew, PersonTranslations, PersonTvShowCast, PersonTvShowCredit, PersonTvShowCrew, PersonWithMediaType, PopularMovies, PopularPersons, PopularTvShowResult, Populartv, PosterSizes, Primitive, ProductionCompany, ProductionCountry, ProfileSizes, Query, QueryValue, Recommendation, Recommendations, RegionOption, ReleaseDate, ReleaseDateResult, ReleaseDateType, ReleaseDates, Rent, RequestConfig, RequestOptions, Review, ReviewDetails, Reviews, ScreenedTheatrically, ScreenedTheatricallyResult, Search, SearchOptions, Season, SeasonDetails, SeasonSelection, SimilarMovies, SimilarTvShow, Similartv, SpokenLanguage, StillSizes, TMDB, TMDBConfig, TMDBError, TMDB_IMAGE_BASE_URL, TV, TVWithMediaType, TaggedImage, TaggedImages, TimeWindow, TimezoneOption, Title, TokenType, TopRatedMovies, TopRatedTvShowResult, TopRatedtv, Translation, TranslationData, Translations, TrendingMediaType, TrendingResults, TvEpisodeChangeValue, TvEpisodeCredit, TvEpisodeImageSearchOptions, TvEpisodeTranslations, TvEpisodeVideoSearchOptions, TvSearchOptions, TvSeasonChangeValue, TvSeasonImageSearchOptions, TvSeasonVideoSearchOptions, TvShowChangeValue, TvShowDetails, TvShowDiscoverResult, TvShowImageOptions, TvShowQueryOptions, TvShowVideoOptions, TvSortOption, UpcomingMovies, Video, Videos, WatchLocale, WatchMonetizationType, WatchProviderEntry, WatchProviderListItem, WatchProviderListResponse, WatchProviders, WatchRegion, WatchRegionsResponse, csv, formImage, getFullImagePath, parseOptions, tvAiringToday, withQuery };
2981
+ //# sourceMappingURL=index.d.cts.map