|
| 1 | +export type TmdbDiscoverMovieQuery = { |
| 2 | + /** use in conjunction with region */ |
| 3 | + certification: string; |
| 4 | + /** use in conjunction with region */ |
| 5 | + 'certification.gte': string; |
| 6 | + /** use in conjunction with region */ |
| 7 | + 'certification.lte': string; |
| 8 | + /** use in conjunction with the certification, certification.gte and certification.lte filters */ |
| 9 | + certification_country: string; |
| 10 | + include_adult: boolean; |
| 11 | + include_video: boolean; |
| 12 | + language: string; |
| 13 | + primary_release_year: number; |
| 14 | + 'primary_release_date.gte': string; |
| 15 | + 'primary_release_date.lte': string; |
| 16 | + region: string; |
| 17 | + 'release_date.gte': string; |
| 18 | + 'release_date.lte': string; |
| 19 | + /** Default: popularity.desc */ |
| 20 | + sort_by: |
| 21 | + | 'original_title.asc' |
| 22 | + | 'original_title.desc' |
| 23 | + | 'popularity.asc' |
| 24 | + | 'popularity.desc' |
| 25 | + | 'revenue.asc' |
| 26 | + | 'revenue.desc' |
| 27 | + | 'primary_release_date.asc' |
| 28 | + | 'title.asc' |
| 29 | + | 'title.desc' |
| 30 | + | 'primary_release_date.desc' |
| 31 | + | 'vote_average.asc' |
| 32 | + | 'vote_average.desc' |
| 33 | + | 'vote_count.asc' |
| 34 | + | 'vote_count.desc'; |
| 35 | + 'vote_average.gte': number; |
| 36 | + 'vote_average.lte': number; |
| 37 | + 'vote_count.gte': number; |
| 38 | + 'vote_count.lte': number; |
| 39 | + watch_region: string; |
| 40 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 41 | + with_cast: string; |
| 42 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 43 | + with_companies: string; |
| 44 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 45 | + with_crew: string; |
| 46 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 47 | + with_genres: string; |
| 48 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 49 | + with_keywords: string; |
| 50 | + with_origin_country: string; |
| 51 | + with_original_language: string; |
| 52 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 53 | + with_people: string; |
| 54 | + /** possible values are: [1, 2, 3, 4, 5, 6] can be a comma (AND) or pipe (OR) separated query, can be used in conjunction with region */ |
| 55 | + with_release_type: string; |
| 56 | + 'with_runtime.gte': number; |
| 57 | + 'with_runtime.lte': number; |
| 58 | + /** possible values are: [flatrate, free, ads, rent, buy] use in conjunction with watch_region, can be a comma (AND) or pipe (OR) separated query */ |
| 59 | + with_watch_monetization_types: string; |
| 60 | + /** use in conjunction with watch_region, can be a comma (AND) or pipe (OR) separated query */ |
| 61 | + with_watch_providers: string; |
| 62 | + without_companies: string; |
| 63 | + without_genres: string; |
| 64 | + without_keywords: string; |
| 65 | + without_watch_providers: string; |
| 66 | + year: number; |
| 67 | +}; |
| 68 | + |
| 69 | +export type TmdbDiscoverTvQuery = { |
| 70 | + 'air_date.gte': string; |
| 71 | + 'air_date.lte': string; |
| 72 | + first_air_date_year: number; |
| 73 | + 'first_air_date.gte': string; |
| 74 | + 'first_air_date.lte': string; |
| 75 | + include_adult: boolean; |
| 76 | + include_null_first_air_dates: boolean; |
| 77 | + language: string; |
| 78 | + screened_theatrically: boolean; |
| 79 | + /** Default: popularity.desc */ |
| 80 | + sort_by: |
| 81 | + | 'first_air_date.asc' |
| 82 | + | 'first_air_date.desc' |
| 83 | + | 'name.asc' |
| 84 | + | 'name.desc' |
| 85 | + | 'original_name.asc' |
| 86 | + | 'original_name.desc' |
| 87 | + | 'popularity.asc' |
| 88 | + | 'popularity.desc' |
| 89 | + | 'vote_average.asc' |
| 90 | + | 'vote_average.desc' |
| 91 | + | 'vote_count.asc' |
| 92 | + | 'vote_count.desc'; |
| 93 | + timezone: string; |
| 94 | + 'vote_average.gte': number; |
| 95 | + 'vote_average.lte': number; |
| 96 | + 'vote_count.gte': number; |
| 97 | + 'vote_count.lte': number; |
| 98 | + watch_region: string; |
| 99 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 100 | + with_companies: string; |
| 101 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 102 | + with_genres: string; |
| 103 | + /** can be a comma (AND) or pipe (OR) separated query */ |
| 104 | + with_keywords: string; |
| 105 | + with_networks: string; |
| 106 | + with_origin_country: string; |
| 107 | + with_original_language: string; |
| 108 | + 'with_runtime.gte': number; |
| 109 | + 'with_runtime.lte': number; |
| 110 | + /** possible values are: [0, 1, 2, 3, 4, 5], can be a comma (AND) or pipe (OR) separated query */ |
| 111 | + with_status: string; |
| 112 | + /** possible values are: [flatrate, free, ads, rent, buy] use in conjunction with watch_region, can be a comma (AND) or pipe (OR) separated query */ |
| 113 | + with_watch_monetization_types: string; |
| 114 | + /** use in conjunction with watch_region, can be a comma (AND) or pipe (OR) separated query */ |
| 115 | + with_watch_providers: string; |
| 116 | + without_companies: string; |
| 117 | + without_genres: string; |
| 118 | + without_keywords: string; |
| 119 | + without_watch_providers: string; |
| 120 | + /** possible values are: [0, 1, 2, 3, 4, 5, 6], can be a comma (AND) or pipe (OR) separated query */ |
| 121 | + with_type: string; |
| 122 | +}; |
0 commit comments