@lorenzopant/tmdb 1.1.7 → 1.2.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.
Files changed (122) hide show
  1. package/dist/endpoints/configuration.d.ts +3 -3
  2. package/dist/endpoints/configuration.d.ts.map +1 -1
  3. package/dist/endpoints/configuration.js +1 -1
  4. package/dist/endpoints/movie_lists.d.ts +2 -6
  5. package/dist/endpoints/movie_lists.d.ts.map +1 -1
  6. package/dist/endpoints/movie_lists.js +2 -7
  7. package/dist/endpoints/movies.d.ts +3 -2
  8. package/dist/endpoints/movies.d.ts.map +1 -1
  9. package/dist/endpoints/search.d.ts +7 -7
  10. package/dist/endpoints/search.d.ts.map +1 -1
  11. package/dist/endpoints/tv_series.d.ts +240 -12
  12. package/dist/endpoints/tv_series.d.ts.map +1 -1
  13. package/dist/endpoints/tv_series.js +288 -10
  14. package/dist/tmdb.d.ts +1 -1
  15. package/dist/tmdb.d.ts.map +1 -1
  16. package/dist/tmdb.js +2 -2
  17. package/dist/types/common/changes.d.ts +2 -0
  18. package/dist/types/common/changes.d.ts.map +1 -1
  19. package/dist/types/common/media.d.ts +107 -0
  20. package/dist/types/common/media.d.ts.map +1 -1
  21. package/dist/types/common/params.d.ts +9 -0
  22. package/dist/types/common/params.d.ts.map +1 -1
  23. package/dist/types/config/configuration.d.ts +9 -0
  24. package/dist/types/config/configuration.d.ts.map +1 -1
  25. package/dist/types/config/countries.d.ts +2 -9
  26. package/dist/types/config/countries.d.ts.map +1 -1
  27. package/dist/types/config/languages.d.ts +0 -1
  28. package/dist/types/config/languages.d.ts.map +1 -1
  29. package/dist/types/index.d.ts +0 -1
  30. package/dist/types/index.d.ts.map +1 -1
  31. package/dist/types/index.js +0 -1
  32. package/dist/types/movies/alternative_titles.d.ts +2 -12
  33. package/dist/types/movies/alternative_titles.d.ts.map +1 -1
  34. package/dist/types/movies/index.d.ts +1 -2
  35. package/dist/types/movies/index.d.ts.map +1 -1
  36. package/dist/types/movies/index.js +1 -2
  37. package/dist/types/movies/movie.d.ts +1 -1
  38. package/dist/types/movies/params.d.ts +2 -7
  39. package/dist/types/movies/params.d.ts.map +1 -1
  40. package/dist/types/movies/{reccomendations.d.ts → recommendations.d.ts} +1 -1
  41. package/dist/types/movies/recommendations.d.ts.map +1 -0
  42. package/dist/types/movies/reviews.d.ts +2 -34
  43. package/dist/types/movies/reviews.d.ts.map +1 -1
  44. package/dist/types/movies/translations.d.ts +16 -23
  45. package/dist/types/movies/translations.d.ts.map +1 -1
  46. package/dist/types/search/collection.d.ts +1 -1
  47. package/dist/types/search/company.d.ts +1 -1
  48. package/dist/types/search/index.d.ts +1 -1
  49. package/dist/types/search/index.d.ts.map +1 -1
  50. package/dist/types/search/index.js +1 -1
  51. package/dist/types/search/keyword.d.ts +2 -6
  52. package/dist/types/search/keyword.d.ts.map +1 -1
  53. package/dist/types/search/{movies.d.ts → movie.d.ts} +1 -1
  54. package/dist/types/search/movie.d.ts.map +1 -0
  55. package/dist/types/{person → search}/person.d.ts.map +1 -1
  56. package/dist/types/tv/alternative_titles.d.ts +11 -0
  57. package/dist/types/tv/alternative_titles.d.ts.map +1 -0
  58. package/dist/types/tv/changes.d.ts +3 -0
  59. package/dist/types/tv/changes.d.ts.map +1 -0
  60. package/dist/types/tv/content_ratings.d.ts +5 -0
  61. package/dist/types/tv/content_ratings.d.ts.map +1 -0
  62. package/dist/types/tv/content_ratings.js +1 -0
  63. package/dist/types/tv/episode_groups.d.ts +30 -0
  64. package/dist/types/tv/episode_groups.d.ts.map +1 -0
  65. package/dist/types/tv/episode_groups.js +1 -0
  66. package/dist/types/tv/external_ids.d.ts +17 -7
  67. package/dist/types/tv/external_ids.d.ts.map +1 -1
  68. package/dist/types/tv/images.d.ts +11 -5
  69. package/dist/types/tv/images.d.ts.map +1 -1
  70. package/dist/types/tv/index.d.ts +9 -1
  71. package/dist/types/tv/index.d.ts.map +1 -1
  72. package/dist/types/tv/index.js +9 -1
  73. package/dist/types/tv/lists.d.ts +32 -0
  74. package/dist/types/tv/lists.d.ts.map +1 -0
  75. package/dist/types/tv/lists.js +1 -0
  76. package/dist/types/tv/params.d.ts +48 -4
  77. package/dist/types/tv/params.d.ts.map +1 -1
  78. package/dist/types/tv/{reccomendations.d.ts → recommendations.d.ts} +1 -1
  79. package/dist/types/tv/recommendations.d.ts.map +1 -0
  80. package/dist/types/tv/recommendations.js +1 -0
  81. package/dist/types/tv/reviews.d.ts +6 -0
  82. package/dist/types/tv/reviews.d.ts.map +1 -0
  83. package/dist/types/tv/reviews.js +1 -0
  84. package/dist/types/tv/screened_theatrically.d.ts +21 -0
  85. package/dist/types/tv/screened_theatrically.d.ts.map +1 -0
  86. package/dist/types/tv/screened_theatrically.js +1 -0
  87. package/dist/types/tv/translations.d.ts +33 -0
  88. package/dist/types/tv/translations.d.ts.map +1 -0
  89. package/dist/types/tv/translations.js +1 -0
  90. package/dist/types/tv/tv_series.d.ts +5 -4
  91. package/dist/types/tv/tv_series.d.ts.map +1 -1
  92. package/package.json +5 -9
  93. package/.husky/pre-commit +0 -15
  94. package/.prettierrc +0 -5
  95. package/CODE_OF_CONDUCT.md +0 -128
  96. package/CONTRIBUTING.md +0 -71
  97. package/dist/scripts/check-exports.d.ts +0 -2
  98. package/dist/scripts/check-exports.d.ts.map +0 -1
  99. package/dist/scripts/check-exports.js +0 -87
  100. package/dist/scripts/find-missing.d.ts +0 -2
  101. package/dist/scripts/find-missing.d.ts.map +0 -1
  102. package/dist/scripts/find-missing.js +0 -95
  103. package/dist/scripts/generate-explicit-exports.d.ts +0 -2
  104. package/dist/scripts/generate-explicit-exports.d.ts.map +0 -1
  105. package/dist/scripts/generate-explicit-exports.js +0 -47
  106. package/dist/scripts/generate-index-files.d.ts +0 -2
  107. package/dist/scripts/generate-index-files.d.ts.map +0 -1
  108. package/dist/scripts/generate-index-files.js +0 -27
  109. package/dist/types/movies/reccomendations.d.ts.map +0 -1
  110. package/dist/types/movies/watch_providers.d.ts +0 -37
  111. package/dist/types/movies/watch_providers.d.ts.map +0 -1
  112. package/dist/types/person/index.d.ts +0 -2
  113. package/dist/types/person/index.d.ts.map +0 -1
  114. package/dist/types/person/index.js +0 -1
  115. package/dist/types/search/movies.d.ts.map +0 -1
  116. package/dist/types/tv/reccomendations.d.ts.map +0 -1
  117. /package/dist/types/movies/{reccomendations.js → recommendations.js} +0 -0
  118. /package/dist/types/{movies/watch_providers.js → search/movie.js} +0 -0
  119. /package/dist/types/{person → search}/person.d.ts +0 -0
  120. /package/dist/types/{person → search}/person.js +0 -0
  121. /package/dist/types/{search/movies.js → tv/alternative_titles.js} +0 -0
  122. /package/dist/types/tv/{reccomendations.js → changes.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,WAAW,CAAC"}
@@ -2,7 +2,6 @@ export * from "./common";
2
2
  export * from "./config";
3
3
  export * from "./movies";
4
4
  export * from "./networks";
5
- export * from "./person";
6
5
  export * from "./search";
7
6
  export * from "./tv";
8
7
  export * from "./utility";
@@ -1,3 +1,4 @@
1
+ import { AlternativeTitle } from "../common";
1
2
  /**
2
3
  * Alternative titles for a movie in different countries/languages
3
4
  */
@@ -5,17 +6,6 @@ export type MovieAlternativeTitles = {
5
6
  /** Movie identifier */
6
7
  id: number;
7
8
  /** Array of alternative titles */
8
- titles: MovieAlternativeTitle[];
9
- };
10
- /**
11
- * Individual alternative title entry
12
- */
13
- export type MovieAlternativeTitle = {
14
- /** Alternative title text */
15
- title: string;
16
- /** ISO 3166-1 country code where this title is used */
17
- iso_3166_1: string;
18
- /** Type of title (e.g., "original title", "working title") */
19
- type: string;
9
+ titles: AlternativeTitle[];
20
10
  };
21
11
  //# sourceMappingURL=alternative_titles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alternative_titles.d.ts","sourceRoot":"","sources":["../../../src/types/movies/alternative_titles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACpC,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,MAAM,EAAE,qBAAqB,EAAE,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IACnC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"}
1
+ {"version":3,"file":"alternative_titles.d.ts","sourceRoot":"","sources":["../../../src/types/movies/alternative_titles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACpC,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,MAAM,EAAE,gBAAgB,EAAE,CAAC;CAC3B,CAAC"}
@@ -6,11 +6,10 @@ export * from "./images";
6
6
  export * from "./keywords";
7
7
  export * from "./movie";
8
8
  export * from "./params";
9
- export * from "./reccomendations";
9
+ export * from "./recommendations";
10
10
  export * from "./release_dates";
11
11
  export * from "./reviews";
12
12
  export * from "./similar";
13
13
  export * from "./translations";
14
14
  export * from "./videos";
15
- export * from "./watch_providers";
16
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/movies/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/movies/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
@@ -6,10 +6,9 @@ export * from "./images";
6
6
  export * from "./keywords";
7
7
  export * from "./movie";
8
8
  export * from "./params";
9
- export * from "./reccomendations";
9
+ export * from "./recommendations";
10
10
  export * from "./release_dates";
11
11
  export * from "./reviews";
12
12
  export * from "./similar";
13
13
  export * from "./translations";
14
14
  export * from "./videos";
15
- export * from "./watch_providers";
@@ -5,7 +5,7 @@ import { MovieCredits } from "./credits";
5
5
  import { MovieExternalIDs } from "./external_ids";
6
6
  import { MovieImages } from "./images";
7
7
  import { MovieKeywords } from "./keywords";
8
- import { MovieRecommendations } from "./reccomendations";
8
+ import { MovieRecommendations } from "./recommendations";
9
9
  import { MovieReleaseDates } from "./release_dates";
10
10
  import { MovieReviews } from "./reviews";
11
11
  import { MovieSimilar } from "./similar";
@@ -1,4 +1,4 @@
1
- import { TMDBQueryParams, WithLanguagePage, WithParams } from "../common";
1
+ import { DateRange, TMDBQueryParams, WithLanguagePage, WithParams } from "../common";
2
2
  import { CountryISO3166_1 } from "../config/countries";
3
3
  import { Language, LanguageISO6391 } from "../config/languages";
4
4
  import { Prettify } from "../utility";
@@ -53,12 +53,7 @@ export type MovieWatchProvidersParams = MovieBaseParam;
53
53
  /**
54
54
  * Parameters for fetching movie change history.
55
55
  */
56
- export type MovieChangesParams = Prettify<MovieBaseParam & WithParams<"page"> & {
57
- /** Start date for changes in ISO 8601 format (YYYY-MM-DD) */
58
- start_date?: string;
59
- /** End date for changes in ISO 8601 format (YYYY-MM-DD) */
60
- end_date?: string;
61
- }>;
56
+ export type MovieChangesParams = Prettify<MovieBaseParam & WithParams<"page"> & DateRange>;
62
57
  /**
63
58
  * Parameters for fetching movie images (backdrops, logos, posters).
64
59
  *
@@ -1 +1 @@
1
- {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../src/types/movies/params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAC9C;;;GAGG;AACH,KAAK,cAAc,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CACxC,cAAc,GAAG;IAAE,kBAAkB,CAAC,EAAE,8BAA8B,EAAE,CAAA;CAAE,GAAG,UAAU,CAAC,UAAU,CAAC,CACnG,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,cAAc,GAAG;IAAE,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAAC;AAErG;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CACxC,cAAc,GACb,UAAU,CAAC,MAAM,CAAC,GAAG;IACpB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CACF,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACvC,cAAc,GAAG;IAChB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;IACtC,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;CACpD,CACD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC,cAAc,GAAG,gBAAgB,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,cAAc,GAAG,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../src/types/movies/params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAC9C;;;GAGG;AACH,KAAK,cAAc,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CACxC,cAAc,GAAG;IAAE,kBAAkB,CAAC,EAAE,8BAA8B,EAAE,CAAA;CAAE,GAAG,UAAU,CAAC,UAAU,CAAC,CACnG,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,cAAc,GAAG;IAAE,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAAC;AAErG;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;AAE3F;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACvC,cAAc,GAAG;IAChB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;IACtC,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;CACpD,CACD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC,cAAc,GAAG,gBAAgB,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,cAAc,GAAG,gBAAgB,CAAC,CAAC"}
@@ -4,4 +4,4 @@ import { MovieResultItem } from "../search";
4
4
  * Paginated list of recommended movies based on this movie
5
5
  */
6
6
  export type MovieRecommendations = PaginatedResponse<MovieResultItem>;
7
- //# sourceMappingURL=reccomendations.d.ts.map
7
+ //# sourceMappingURL=recommendations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommendations.d.ts","sourceRoot":"","sources":["../../../src/types/movies/recommendations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,eAAe,CAAC,CAAC"}
@@ -1,38 +1,6 @@
1
- import { PaginatedResponse } from "../common";
1
+ import { PaginatedResponse, Review } from "../common";
2
2
  /**
3
3
  * Paginated list of user reviews for a movie
4
4
  */
5
- export type MovieReviews = PaginatedResponse<MovieReview>;
6
- /**
7
- * Individual movie review with author information
8
- */
9
- export type MovieReview = {
10
- /** Review author's display name */
11
- author: string;
12
- /** Detailed information about the review author */
13
- author_details: MovieReviewAuthorDetails;
14
- /** Full review text content */
15
- content: string;
16
- /** Timestamp when the review was created (ISO 8601) */
17
- created_at: string;
18
- /** Unique review identifier */
19
- id: string;
20
- /** Timestamp of last update (ISO 8601) */
21
- updated_at: string;
22
- /** URL to the review on TMDB website */
23
- url: string;
24
- };
25
- /**
26
- * Author information for a movie review
27
- */
28
- export type MovieReviewAuthorDetails = {
29
- /** Author's full name */
30
- name: string;
31
- /** Author's username on TMDB */
32
- username: string;
33
- /** Path to author's avatar image (optional) */
34
- avatar_path?: string;
35
- /** Rating given by the author (0-10 scale, optional) */
36
- rating?: number;
37
- };
5
+ export type MovieReviews = PaginatedResponse<Review>;
38
6
  //# sourceMappingURL=reviews.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../../src/types/movies/reviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB,mCAAmC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,cAAc,EAAE,wBAAwB,CAAC;IACzC,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACtC,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
1
+ {"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../../src/types/movies/reviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Translation } from "../common";
1
2
  /**
2
3
  * Movie translations containing all available language versions
3
4
  */
@@ -5,32 +6,24 @@ export type MovieTranslations = {
5
6
  /** Movie identifier */
6
7
  id: number;
7
8
  /** Array of translations in different languages */
8
- translations: MovieTranslationResults[];
9
+ translations: MovieTranslationItem[];
10
+ };
11
+ export type MovieTranslationItem = Translation & {
12
+ data: MovieTranslationData;
9
13
  };
10
14
  /**
11
15
  * Translation data for a specific language
12
16
  */
13
- export type MovieTranslationResults = {
14
- /** ISO 3166-1 alpha-2 country code */
15
- iso_3166_1: string;
16
- /** ISO 639-1 language code */
17
- iso_639_1: string;
18
- /** Native name of the language */
19
- name: string;
20
- /** English name of the language */
21
- english_name: string;
22
- /** Translated movie information */
23
- data: {
24
- /** Translated homepage URL */
25
- homepage: string;
26
- /** Translated synopsis/overview */
27
- overview: string;
28
- /** Movie runtime in minutes */
29
- runtime: number;
30
- /** Translated tagline */
31
- tagline: string;
32
- /** Translated movie title */
33
- title: string;
34
- };
17
+ export type MovieTranslationData = {
18
+ /** Translated homepage URL */
19
+ homepage?: string;
20
+ /** Translated synopsis/overview */
21
+ overview?: string;
22
+ /** Movie runtime in minutes */
23
+ runtime?: number;
24
+ /** Translated tagline */
25
+ tagline?: string;
26
+ /** Translated movie title */
27
+ title?: string;
35
28
  };
36
29
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/types/movies/translations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,YAAY,EAAE,uBAAuB,EAAE,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACrC,sCAAsC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,IAAI,EAAE;QACL,8BAA8B;QAC9B,QAAQ,EAAE,MAAM,CAAC;QACjB,mCAAmC;QACnC,QAAQ,EAAE,MAAM,CAAC;QACjB,+BAA+B;QAC/B,OAAO,EAAE,MAAM,CAAC;QAChB,yBAAyB;QACzB,OAAO,EAAE,MAAM,CAAC;QAChB,6BAA6B;QAC7B,KAAK,EAAE,MAAM,CAAC;KACd,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/types/movies/translations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,YAAY,EAAE,oBAAoB,EAAE,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD,IAAI,EAAE,oBAAoB,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAClC,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Collection information in search results
3
3
  */
4
- export type SearchCollectionItem = {
4
+ export type CollectionResultItem = {
5
5
  /** Whether the collection contains adult content */
6
6
  adult: boolean;
7
7
  /** Path to backdrop image */
@@ -2,7 +2,7 @@ import { CountryISO3166_1 } from "../config/countries";
2
2
  /**
3
3
  * Company information in search results
4
4
  */
5
- export type SearchCompanyItem = {
5
+ export type CompanyResultItem = {
6
6
  /** Unique company identifier */
7
7
  id: number;
8
8
  /** Path to company logo image */
@@ -1,7 +1,7 @@
1
1
  export * from "./collection";
2
2
  export * from "./company";
3
3
  export * from "./keyword";
4
- export * from "./movies";
4
+ export * from "./movie";
5
5
  export * from "./params";
6
6
  export * from "./tv";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/search/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/search/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export * from "./collection";
2
2
  export * from "./company";
3
3
  export * from "./keyword";
4
- export * from "./movies";
4
+ export * from "./movie";
5
5
  export * from "./params";
6
6
  export * from "./tv";
@@ -1,10 +1,6 @@
1
+ import { Keyword } from "../common";
1
2
  /**
2
3
  * Keyword information in search results
3
4
  */
4
- export type SearchKeywordItem = {
5
- /** Unique keyword identifier */
6
- id: number;
7
- /** Keyword text/name */
8
- name: string;
9
- };
5
+ export type KeywordResultItem = Keyword;
10
6
  //# sourceMappingURL=keyword.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyword.d.ts","sourceRoot":"","sources":["../../../src/types/search/keyword.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"}
1
+ {"version":3,"file":"keyword.d.ts","sourceRoot":"","sources":["../../../src/types/search/keyword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC"}
@@ -31,4 +31,4 @@ export type MovieResultItem = {
31
31
  /** Total number of votes received */
32
32
  vote_count: number;
33
33
  };
34
- //# sourceMappingURL=movies.d.ts.map
34
+ //# sourceMappingURL=movie.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"movie.d.ts","sourceRoot":"","sources":["../../../src/types/search/movie.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,6BAA6B;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,8BAA8B;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,cAAc,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,KAAK,EAAE,OAAO,CAAC;IACf,sDAAsD;IACtD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,0CAA0C;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,KAAK,EAAE,OAAO,CAAC;IACf,uCAAuC;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../src/types/person/person.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../src/types/search/person.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,YAAY,EAAE,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { AlternativeTitle } from "../common";
2
+ /**
3
+ * Alternative titles for a tv show in different countries/languages
4
+ */
5
+ export type TVAlternativeTitles = {
6
+ /** Movie identifier */
7
+ id: number;
8
+ /** Array of alternative titles */
9
+ results: AlternativeTitle[];
10
+ };
11
+ //# sourceMappingURL=alternative_titles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alternative_titles.d.ts","sourceRoot":"","sources":["../../../src/types/tv/alternative_titles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Changes } from "../common";
2
+ export type TVSeriesChanges = Changes;
3
+ //# sourceMappingURL=changes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../src/types/tv/changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ContentRating } from "../common";
2
+ export type TVContentRatings = {
3
+ results: ContentRating[];
4
+ };
5
+ //# sourceMappingURL=content_ratings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content_ratings.d.ts","sourceRoot":"","sources":["../../../src/types/tv/content_ratings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,aAAa,EAAE,CAAC;CACzB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ import { NetworkItem } from "../networks";
2
+ /**
3
+ * Collection of episode groups for a TV series
4
+ */
5
+ export type TVEpisodeGroups = {
6
+ /** TV series identifier */
7
+ id: number;
8
+ /** Array of episode group items */
9
+ results: TVEpisodeGroupItem[];
10
+ };
11
+ /**
12
+ * Alternative grouping of episodes (e.g., chronological order, director's cut)
13
+ */
14
+ export type TVEpisodeGroupItem = {
15
+ /** Description explaining the purpose of this episode grouping */
16
+ description: string;
17
+ /** Total number of episodes in this group */
18
+ episode_count: number;
19
+ /** Number of sub-groups within this episode group */
20
+ group_count: number;
21
+ /** Unique episode group identifier */
22
+ id: string;
23
+ /** Name of the episode group */
24
+ name: string;
25
+ /** Network that created or distributed this episode grouping */
26
+ network: NetworkItem;
27
+ /** Type of grouping (1=Original air date, 2=Absolute, 3=DVD, 4=Digital, 5=Story arc, 6=Production, 7=TV) */
28
+ type: number;
29
+ };
30
+ //# sourceMappingURL=episode_groups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"episode_groups.d.ts","sourceRoot":"","sources":["../../../src/types/tv/episode_groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,mCAAmC;IACnC,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,EAAE,WAAW,CAAC;IACrB,4GAA4G;IAC5G,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,16 +1,26 @@
1
1
  /**
2
- * External identifiers for a TV show.
2
+ * External platform identifiers for a TV series
3
3
  */
4
4
  export type TVExternalIDs = {
5
- /** TMDB unique identifier for the TV show. */
5
+ /** TV series identifier in TMDB */
6
6
  id: number;
7
- /** IMDb identifier string, or undefined if unavailable. */
7
+ /** IMDb identifier (e.g., "tt0944947"), null if not available */
8
8
  imdb_id?: string;
9
- /** Facebook identifier string, or undefined if unavailable. */
9
+ /** Freebase MID identifier (deprecated), null if not available */
10
+ freebase_mid?: string;
11
+ /** Freebase ID (deprecated), null if not available */
12
+ freebase_id?: string;
13
+ /** TheTVDB identifier, null if not available */
14
+ tvdb_id?: number;
15
+ /** TVRage identifier (service discontinued), null if not available */
16
+ tvrage_id?: number;
17
+ /** Wikidata identifier (e.g., "Q23572"), null if not available */
18
+ wikidata_id?: string;
19
+ /** Facebook page identifier, null if not available */
10
20
  facebook_id?: string;
11
- /** Twitter identifier string, or undefined if unavailable. */
12
- twitter_id?: string;
13
- /** Instagram identifier string, or undefined if unavailable. */
21
+ /** Instagram handle, null if not available */
14
22
  instagram_id?: string;
23
+ /** Twitter/X handle, null if not available */
24
+ twitter_id?: string;
15
25
  };
16
26
  //# sourceMappingURL=external_ids.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"external_ids.d.ts","sourceRoot":"","sources":["../../../src/types/tv/external_ids.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"external_ids.d.ts","sourceRoot":"","sources":["../../../src/types/tv/external_ids.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -7,12 +7,18 @@ export type TVImages = {
7
7
  /** TMDB unique identifier for the TV show. */
8
8
  id: number;
9
9
  /** List of backdrop images for the TV show. */
10
- backdrops: ImageItem[];
10
+ backdrops: TVImageItem[];
11
11
  /** List of logo images for the TV show. */
12
- logos: ImageItem[];
12
+ logos: TVImageItem[];
13
13
  /** List of poster images for the TV show. */
14
- posters: ImageItem[];
15
- /** List of still images for the TV show. */
16
- stills?: ImageItem[];
14
+ posters: TVImageItem[];
15
+ };
16
+ /**
17
+ * Image items for TVShows have an undocumented "iso_3166_1" property
18
+ * I decided to put it anyway as an optional property,
19
+ * but only for tv shows images.
20
+ */
21
+ export type TVImageItem = ImageItem & {
22
+ iso_3166_1?: string;
17
23
  };
18
24
  //# sourceMappingURL=images.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/tv/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,+CAA+C;IAC/C,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,2CAA2C;IAC3C,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,6CAA6C;IAC7C,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/tv/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,+CAA+C;IAC/C,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,2CAA2C;IAC3C,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,6CAA6C;IAC7C,OAAO,EAAE,WAAW,EAAE,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -1,13 +1,21 @@
1
1
  export * from "./aggregate_credits";
2
+ export * from "./alternative_titles";
3
+ export * from "./changes";
4
+ export * from "./content_ratings";
2
5
  export * from "./credits";
6
+ export * from "./episode_groups";
3
7
  export * from "./episodes";
4
8
  export * from "./external_ids";
5
9
  export * from "./images";
6
10
  export * from "./keywords";
11
+ export * from "./lists";
7
12
  export * from "./params";
8
- export * from "./reccomendations";
13
+ export * from "./recommendations";
14
+ export * from "./reviews";
15
+ export * from "./screened_theatrically";
9
16
  export * from "./seasons";
10
17
  export * from "./similar";
11
18
  export * from "./tv_series";
12
19
  export * from "./videos";
20
+ export * from "./translations";
13
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/tv/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/tv/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
@@ -1,12 +1,20 @@
1
1
  export * from "./aggregate_credits";
2
+ export * from "./alternative_titles";
3
+ export * from "./changes";
4
+ export * from "./content_ratings";
2
5
  export * from "./credits";
6
+ export * from "./episode_groups";
3
7
  export * from "./episodes";
4
8
  export * from "./external_ids";
5
9
  export * from "./images";
6
10
  export * from "./keywords";
11
+ export * from "./lists";
7
12
  export * from "./params";
8
- export * from "./reccomendations";
13
+ export * from "./recommendations";
14
+ export * from "./reviews";
15
+ export * from "./screened_theatrically";
9
16
  export * from "./seasons";
10
17
  export * from "./similar";
11
18
  export * from "./tv_series";
12
19
  export * from "./videos";
20
+ export * from "./translations";
@@ -0,0 +1,32 @@
1
+ import { PaginatedResponse } from "../common";
2
+ import { CountryISO3166_1, LanguageISO6391 } from "../config";
3
+ /**
4
+ * Represents a paginated collection of TV series lists, extended with a unique identifier.
5
+ * Combines a standard `PaginatedResponse<TVSeriesListItem>` with an `id` field
6
+ * that uniquely identifies the tv show.
7
+ */
8
+ export type TVSeriesLists = PaginatedResponse<TVSeriesListItem> & {
9
+ id: number;
10
+ };
11
+ /**
12
+ * Represents a single TV series list entry as returned by the TMDB API.
13
+ */
14
+ export type TVSeriesListItem = {
15
+ /** A brief description of the list provided by its creator. */
16
+ description: string;
17
+ /** The number of times this list has been marked as a favorite by TMDB users. */
18
+ favorite_count: number;
19
+ /** The unique identifier for this list on TMDB. */
20
+ id: number;
21
+ /** The total number of items (TV series) currently in this list. */
22
+ item_count: number;
23
+ /** The primary language of the list content as an ISO 639-1 code (e.g. `"en"`). */
24
+ iso_639_1: string | LanguageISO6391;
25
+ /** The country associated with the list as an ISO 3166-1 alpha-2 code (e.g. `"US"`). */
26
+ iso_3166_1: string | CountryISO3166_1;
27
+ /** The display name of the list. */
28
+ name: string;
29
+ /** Path to the list's poster image on the TMDB CDN. Combine with a base URL to get the full image path. */
30
+ poster_path?: string;
31
+ };
32
+ //# sourceMappingURL=lists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../../src/types/tv/lists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,+DAA+D;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,cAAc,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,SAAS,EAAE,MAAM,GAAG,eAAe,CAAC;IACpC,wFAAwF;IACxF,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAAC;IACtC,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,2GAA2G;IAC3G,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};