@lorenzopant/tmdb 1.17.1 → 1.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5087 -4
- package/dist/index.js +3721 -5
- package/package.json +12 -5
- package/dist/client.d.ts +0 -51
- package/dist/client.js +0 -166
- package/dist/endpoints/base.d.ts +0 -22
- package/dist/endpoints/base.js +0 -32
- package/dist/endpoints/certifications.d.ts +0 -20
- package/dist/endpoints/certifications.js +0 -24
- package/dist/endpoints/changes.d.ts +0 -40
- package/dist/endpoints/changes.js +0 -46
- package/dist/endpoints/collections.d.ts +0 -39
- package/dist/endpoints/collections.js +0 -52
- package/dist/endpoints/companies.d.ts +0 -37
- package/dist/endpoints/companies.js +0 -49
- package/dist/endpoints/configuration.d.ts +0 -72
- package/dist/endpoints/configuration.js +0 -83
- package/dist/endpoints/credits.d.ts +0 -16
- package/dist/endpoints/credits.js +0 -22
- package/dist/endpoints/discover.d.ts +0 -36
- package/dist/endpoints/discover.js +0 -61
- package/dist/endpoints/find.d.ts +0 -16
- package/dist/endpoints/find.js +0 -21
- package/dist/endpoints/genres.d.ts +0 -25
- package/dist/endpoints/genres.js +0 -28
- package/dist/endpoints/keywords.d.ts +0 -29
- package/dist/endpoints/keywords.js +0 -38
- package/dist/endpoints/movie_lists.d.ts +0 -53
- package/dist/endpoints/movie_lists.js +0 -65
- package/dist/endpoints/movies.d.ts +0 -202
- package/dist/endpoints/movies.js +0 -255
- package/dist/endpoints/networks.d.ts +0 -36
- package/dist/endpoints/networks.js +0 -46
- package/dist/endpoints/people.d.ts +0 -91
- package/dist/endpoints/people.js +0 -128
- package/dist/endpoints/people_lists.d.ts +0 -16
- package/dist/endpoints/people_lists.js +0 -16
- package/dist/endpoints/reviews.d.ts +0 -14
- package/dist/endpoints/reviews.js +0 -16
- package/dist/endpoints/search.d.ts +0 -88
- package/dist/endpoints/search.js +0 -102
- package/dist/endpoints/trending.d.ts +0 -36
- package/dist/endpoints/trending.js +0 -48
- package/dist/endpoints/tv_episode_groups.d.ts +0 -13
- package/dist/endpoints/tv_episode_groups.js +0 -16
- package/dist/endpoints/tv_episodes.d.ts +0 -110
- package/dist/endpoints/tv_episodes.js +0 -136
- package/dist/endpoints/tv_seasons.d.ts +0 -128
- package/dist/endpoints/tv_seasons.js +0 -164
- package/dist/endpoints/tv_series.d.ts +0 -244
- package/dist/endpoints/tv_series.js +0 -311
- package/dist/endpoints/tv_series_lists.d.ts +0 -51
- package/dist/endpoints/tv_series_lists.js +0 -63
- package/dist/endpoints/watch_providers.d.ts +0 -34
- package/dist/endpoints/watch_providers.js +0 -46
- package/dist/errors/messages.d.ts +0 -15
- package/dist/errors/messages.js +0 -47
- package/dist/errors/tmdb.d.ts +0 -45
- package/dist/errors/tmdb.js +0 -39
- package/dist/images/images.d.ts +0 -12
- package/dist/images/images.js +0 -26
- package/dist/routes.d.ts +0 -157
- package/dist/routes.js +0 -157
- package/dist/tmdb.d.ts +0 -61
- package/dist/tmdb.js +0 -94
- package/dist/types/collections.d.ts +0 -72
- package/dist/types/collections.js +0 -1
- package/dist/types/common/certifications.d.ts +0 -19
- package/dist/types/common/certifications.js +0 -1
- package/dist/types/common/changes.d.ts +0 -44
- package/dist/types/common/changes.js +0 -1
- package/dist/types/common/images.d.ts +0 -64
- package/dist/types/common/images.js +0 -1
- package/dist/types/common/index.d.ts +0 -6
- package/dist/types/common/index.js +0 -6
- package/dist/types/common/media.d.ts +0 -305
- package/dist/types/common/media.js +0 -1
- package/dist/types/common/pagination.d.ts +0 -6
- package/dist/types/common/pagination.js +0 -1
- package/dist/types/common/params.d.ts +0 -27
- package/dist/types/common/params.js +0 -1
- package/dist/types/companies.d.ts +0 -53
- package/dist/types/companies.js +0 -1
- package/dist/types/config/configuration.d.ts +0 -56
- package/dist/types/config/configuration.js +0 -1
- package/dist/types/config/countries.d.ts +0 -3
- package/dist/types/config/countries.js +0 -1257
- package/dist/types/config/images.d.ts +0 -49
- package/dist/types/config/images.js +0 -13
- package/dist/types/config/index.d.ts +0 -6
- package/dist/types/config/index.js +0 -6
- package/dist/types/config/languages.d.ts +0 -11
- package/dist/types/config/languages.js +0 -1
- package/dist/types/config/options.d.ts +0 -46
- package/dist/types/config/options.js +0 -1
- package/dist/types/config/timezones.d.ts +0 -751
- package/dist/types/config/timezones.js +0 -1149
- package/dist/types/credits.d.ts +0 -148
- package/dist/types/credits.js +0 -1
- package/dist/types/discover.d.ts +0 -130
- package/dist/types/discover.js +0 -27
- package/dist/types/enums.d.ts +0 -8
- package/dist/types/enums.js +0 -9
- package/dist/types/find.d.ts +0 -103
- package/dist/types/find.js +0 -1
- package/dist/types/index.d.ts +0 -21
- package/dist/types/index.js +0 -21
- package/dist/types/keywords.d.ts +0 -19
- package/dist/types/keywords.js +0 -1
- package/dist/types/movies.d.ts +0 -304
- package/dist/types/movies.js +0 -1
- package/dist/types/networks.d.ts +0 -45
- package/dist/types/networks.js +0 -1
- package/dist/types/people-lists.d.ts +0 -5
- package/dist/types/people-lists.js +0 -1
- package/dist/types/people.d.ts +0 -214
- package/dist/types/people.js +0 -1
- package/dist/types/reviews.d.ts +0 -22
- package/dist/types/reviews.js +0 -1
- package/dist/types/search.d.ts +0 -198
- package/dist/types/search.js +0 -1
- package/dist/types/trending.d.ts +0 -55
- package/dist/types/trending.js +0 -1
- package/dist/types/tv-episode-groups.d.ts +0 -63
- package/dist/types/tv-episode-groups.js +0 -13
- package/dist/types/tv-episodes.d.ts +0 -98
- package/dist/types/tv-episodes.js +0 -1
- package/dist/types/tv-seasons.d.ts +0 -133
- package/dist/types/tv-seasons.js +0 -1
- package/dist/types/tv-series.d.ts +0 -445
- package/dist/types/tv-series.js +0 -1
- package/dist/types/utility.d.ts +0 -16
- package/dist/types/utility.js +0 -10
- package/dist/types/watch-providers.d.ts +0 -34
- package/dist/types/watch-providers.js +0 -1
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/index.js +0 -2
- package/dist/utils/jwt.d.ts +0 -1
- package/dist/utils/jwt.js +0 -61
- package/dist/utils/logger.d.ts +0 -18
- package/dist/utils/logger.js +0 -40
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { AlternativeName, AlternativeNamesResult, WithLanguage } from "./common";
|
|
2
|
-
import { ImagesResult, OrganizationImage } from "./common/images";
|
|
3
|
-
import { CountryISO3166_1 } from "./config/countries";
|
|
4
|
-
import { Language } from "./config";
|
|
5
|
-
/**
|
|
6
|
-
* Minimal company data reused across company-related responses.
|
|
7
|
-
*/
|
|
8
|
-
export type CompanySummary = {
|
|
9
|
-
/** Unique company identifier */
|
|
10
|
-
id: number;
|
|
11
|
-
/** Relative path to the company logo */
|
|
12
|
-
logo_path?: string | null;
|
|
13
|
-
/** Company display name */
|
|
14
|
-
name: string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Detailed company information returned by `/company/{company_id}`.
|
|
18
|
-
*/
|
|
19
|
-
export type Company = CompanySummary & {
|
|
20
|
-
/** ISO 3166-1 country code of origin */
|
|
21
|
-
origin_country: CountryISO3166_1;
|
|
22
|
-
/** Company description or biography */
|
|
23
|
-
description: string;
|
|
24
|
-
/** Company headquarters location */
|
|
25
|
-
headquarters: string;
|
|
26
|
-
/** Official company homepage */
|
|
27
|
-
homepage: string | null;
|
|
28
|
-
/** Parent company, if TMDB links one */
|
|
29
|
-
parent_company?: CompanySummary | null;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* A single alternative company name entry.
|
|
33
|
-
*/
|
|
34
|
-
export type CompanyAlternativeName = AlternativeName;
|
|
35
|
-
/**
|
|
36
|
-
* Alternative names response for a company.
|
|
37
|
-
*/
|
|
38
|
-
export type CompanyAlternativeNames = AlternativeNamesResult;
|
|
39
|
-
/**
|
|
40
|
-
* Company logo images returned by `/company/{company_id}/images`.
|
|
41
|
-
*/
|
|
42
|
-
export type CompanyImages = ImagesResult<OrganizationImage, "logos">;
|
|
43
|
-
/** Base param used by all company queries */
|
|
44
|
-
export type CompanyBaseParam = {
|
|
45
|
-
/** Uniquely identifies a company in TMDB. */
|
|
46
|
-
company_id: number;
|
|
47
|
-
};
|
|
48
|
-
export type CompanyDetailsParams = CompanyBaseParam;
|
|
49
|
-
export type CompanyAlternativeNamesParams = CompanyBaseParam;
|
|
50
|
-
export type CompanyImagesParams = CompanyBaseParam & {
|
|
51
|
-
/** Languages to include images for. Pass an array — it will be serialized as a comma-separated list (e.g. ["en", "null"]). Use "null" to include untagged images. */
|
|
52
|
-
include_image_language?: (Language | "null")[];
|
|
53
|
-
} & WithLanguage;
|
package/dist/types/companies.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { CountryISO3166_1 } from "./countries";
|
|
2
|
-
import { Language } from "./languages";
|
|
3
|
-
export type ImageConfiguration = {
|
|
4
|
-
/** Base URL for constructing image URLs (HTTP) */
|
|
5
|
-
base_url: string;
|
|
6
|
-
/** Secure base URL for constructing image URLs (HTTPS) */
|
|
7
|
-
secure_base_url: string;
|
|
8
|
-
/** Available size options for backdrop images */
|
|
9
|
-
backdrop_sizes: string[];
|
|
10
|
-
/** Available size options for logo images */
|
|
11
|
-
logo_sizes: string[];
|
|
12
|
-
/** Available size options for poster images */
|
|
13
|
-
poster_sizes: string[];
|
|
14
|
-
/** Available size options for profile images */
|
|
15
|
-
profile_sizes: string[];
|
|
16
|
-
/** Available size options for still images (from TV shows/episodes) */
|
|
17
|
-
still_sizes: string[];
|
|
18
|
-
};
|
|
19
|
-
export type ConfigurationResponse = {
|
|
20
|
-
/** Image configuration settings including base URLs and available sizes */
|
|
21
|
-
images: ImageConfiguration;
|
|
22
|
-
/** List of keys that can be used to track configuration changes */
|
|
23
|
-
change_keys: string[];
|
|
24
|
-
};
|
|
25
|
-
export type ConfigurationCountry = {
|
|
26
|
-
/** ISO 3166-1 alpha-2 country code */
|
|
27
|
-
iso_3166_1: CountryISO3166_1;
|
|
28
|
-
/** English name of the country */
|
|
29
|
-
english_name: string;
|
|
30
|
-
/** Native name of the country in its local language */
|
|
31
|
-
native_name: string;
|
|
32
|
-
};
|
|
33
|
-
export type ConfigurationCountriesParams = {
|
|
34
|
-
/** ISO 639-1 language code for localized country names */
|
|
35
|
-
language?: Language;
|
|
36
|
-
};
|
|
37
|
-
export type ConfigurationJob = {
|
|
38
|
-
/** Name of the department (e.g., "Production", "Sound", "Camera") */
|
|
39
|
-
department: string;
|
|
40
|
-
/** List of job titles within this department */
|
|
41
|
-
jobs: string[];
|
|
42
|
-
};
|
|
43
|
-
export type ConfigurationLanguage = {
|
|
44
|
-
/** ISO 639-1 two-letter language code */
|
|
45
|
-
iso_639_1: string;
|
|
46
|
-
/** English name of the language */
|
|
47
|
-
english_name: string;
|
|
48
|
-
/** Native name of the language */
|
|
49
|
-
name: string;
|
|
50
|
-
};
|
|
51
|
-
export type ConfigurationTimezone = {
|
|
52
|
-
/** ISO 3166-1 two-letter country code */
|
|
53
|
-
iso_3166_1: string;
|
|
54
|
-
/** List of timezone identifiers for this country (e.g., "America/New_York") */
|
|
55
|
-
zones: string[];
|
|
56
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ConfigurationCountry } from "./configuration";
|
|
2
|
-
export declare const TMDBCountries: ConfigurationCountry[];
|
|
3
|
-
export type CountryISO3166_1 = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BM" | "BN" | "BO" | "BR" | "BS" | "BT" | "BU" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CS" | "CU" | "CV" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SU" | "SV" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "XC" | "XG" | "XI" | "XK" | "YE" | "YT" | "YU" | "ZA" | "ZM" | "ZR" | "ZW";
|