@lorenzopant/tmdb 1.6.1 → 1.7.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,17 @@
1
+ import { CreditDetails, CreditDetailsParams } from "../types/other/credits";
2
+ import { TMDBAPIBase } from "./base";
3
+ export declare class CreditsAPI extends TMDBAPIBase {
4
+ private creditPath;
5
+ /**
6
+ * Details
7
+ * GET - https://api.themoviedb.org/3/credit/{credit_id}
8
+ *
9
+ * Get the detailed information for a movie or TV credit.
10
+ *
11
+ * @param credit_id Unique identifier for the credit
12
+ * @param language Language for the response
13
+ * @reference https://developer.themoviedb.org/reference/credit-details
14
+ */
15
+ details(params: CreditDetailsParams): Promise<CreditDetails>;
16
+ }
17
+ //# sourceMappingURL=credits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/endpoints/credits.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,UAAW,SAAQ,WAAW;IAC1C,OAAO,CAAC,UAAU;IAIlB;;;;;;;;;OASG;IACG,OAAO,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC;CAKlE"}
@@ -0,0 +1,22 @@
1
+ import { ENDPOINTS } from "../routes";
2
+ import { TMDBAPIBase } from "./base";
3
+ export class CreditsAPI extends TMDBAPIBase {
4
+ creditPath(credit_id) {
5
+ return `${ENDPOINTS.CREDITS.DETAILS}/${credit_id}`;
6
+ }
7
+ /**
8
+ * Details
9
+ * GET - https://api.themoviedb.org/3/credit/{credit_id}
10
+ *
11
+ * Get the detailed information for a movie or TV credit.
12
+ *
13
+ * @param credit_id Unique identifier for the credit
14
+ * @param language Language for the response
15
+ * @reference https://developer.themoviedb.org/reference/credit-details
16
+ */
17
+ async details(params) {
18
+ const endpoint = this.creditPath(params.credit_id);
19
+ const requestParams = this.withLanguage(params) ?? params;
20
+ return this.client.request(endpoint, requestParams);
21
+ }
22
+ }
package/dist/routes.d.ts CHANGED
@@ -16,6 +16,9 @@ export declare const ENDPOINTS: {
16
16
  PEOPLE_LIST: string;
17
17
  TV_LIST: string;
18
18
  };
19
+ CREDITS: {
20
+ DETAILS: string;
21
+ };
19
22
  COMPANIES: {
20
23
  DETAILS: string;
21
24
  ALTERNATIVE_NAMES: string;
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFrB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FrB,CAAC"}
package/dist/routes.js CHANGED
@@ -16,6 +16,9 @@ export const ENDPOINTS = {
16
16
  PEOPLE_LIST: "/person/changes",
17
17
  TV_LIST: "/tv/changes",
18
18
  },
19
+ CREDITS: {
20
+ DETAILS: "/credit",
21
+ },
19
22
  COMPANIES: {
20
23
  DETAILS: "/company",
21
24
  ALTERNATIVE_NAMES: "/alternative_names",
package/dist/tmdb.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { CertificationsAPI } from "./endpoints/certifications";
2
2
  import { ChangesAPI } from "./endpoints/changes";
3
3
  import { CompaniesAPI } from "./endpoints/companies";
4
+ import { CreditsAPI } from "./endpoints/credits";
4
5
  import { CollectionsAPI } from "./endpoints/collections";
5
6
  import { ConfigurationAPI } from "./endpoints/configuration";
6
7
  import { GenresAPI } from "./endpoints/genres";
@@ -25,6 +26,7 @@ export declare class TMDB {
25
26
  certifications: CertificationsAPI;
26
27
  changes: ChangesAPI;
27
28
  companies: CompaniesAPI;
29
+ credits: CreditsAPI;
28
30
  collections: CollectionsAPI;
29
31
  /**
30
32
  * Creates a new TMDB instance.
@@ -1 +1 @@
1
- {"version":3,"file":"tmdb.d.ts","sourceRoot":"","sources":["../src/tmdb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBAAa,IAAI;IAChB,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,OAAO,CAAc;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,gBAAgB,CAAC;IAChC,MAAM,EAAE,SAAS,CAAC;IACl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AClB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,gBAAgB,CAAC;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;IACvB,cAAc,EAAE,iBAAiB,CAAC;IAClC,OAAO,EAAE,UAAU,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,WAAW,EAAE,cAAc,CAAC;IAGnC;;;;OAIG;gBACS,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;CAkB1D"}
package/dist/tmdb.js CHANGED
@@ -3,6 +3,7 @@ import { ApiClient } from "./client";
3
3
  import { CertificationsAPI } from "./endpoints/certifications";
4
4
  import { ChangesAPI } from "./endpoints/changes";
5
5
  import { CompaniesAPI } from "./endpoints/companies";
6
+ import { CreditsAPI } from "./endpoints/credits";
6
7
  import { CollectionsAPI } from "./endpoints/collections";
7
8
  import { ConfigurationAPI } from "./endpoints/configuration";
8
9
  import { GenresAPI } from "./endpoints/genres";
@@ -27,6 +28,7 @@ export class TMDB {
27
28
  certifications;
28
29
  changes;
29
30
  companies;
31
+ credits;
30
32
  collections;
31
33
  // etc...
32
34
  /**
@@ -50,6 +52,7 @@ export class TMDB {
50
52
  this.certifications = new CertificationsAPI(this.client, this.options);
51
53
  this.changes = new ChangesAPI(this.client, this.options);
52
54
  this.companies = new CompaniesAPI(this.client, this.options);
55
+ this.credits = new CreditsAPI(this.client, this.options);
53
56
  this.collections = new CollectionsAPI(this.client, this.options);
54
57
  }
55
58
  }
@@ -0,0 +1,149 @@
1
+ import { Credit, MediaType, WithLanguage } from "../common";
2
+ import type { LiteralUnion } from "../utility";
3
+ /**
4
+ * Base params used by all credit queries.
5
+ */
6
+ export type CreditBaseParam = {
7
+ /** TMDB credit identifier. */
8
+ credit_id: string;
9
+ };
10
+ export type CreditDetailsParams = CreditBaseParam & WithLanguage;
11
+ /**
12
+ * Person data attached to a credit details response.
13
+ */
14
+ export type CreditDetailsPerson = Omit<Credit, "credit_id">;
15
+ type CreditDetailsMediaBase = {
16
+ /** Indicates whether the title is marked for adult content. */
17
+ adult: boolean;
18
+ /** Relative path to the backdrop image, if available. */
19
+ backdrop_path?: string | null;
20
+ /** Character name when the credit belongs to cast. */
21
+ character?: string;
22
+ /** Genre identifiers attached to the media item. */
23
+ genre_ids: number[];
24
+ /** TMDB media identifier. */
25
+ id: number;
26
+ /** Original language code. */
27
+ original_language: string;
28
+ /** Plot summary. */
29
+ overview: string;
30
+ /** Relative path to the poster image, if available. */
31
+ poster_path?: string | null;
32
+ /** Popularity score. */
33
+ popularity: number;
34
+ /** Average vote score. */
35
+ vote_average: number;
36
+ /** Total vote count. */
37
+ vote_count: number;
38
+ };
39
+ /**
40
+ * Movie data attached to a credit details response.
41
+ */
42
+ export type CreditDetailsMovieMedia = CreditDetailsMediaBase & {
43
+ /** Media type discriminator. */
44
+ media_type: "movie";
45
+ /** Original movie title. */
46
+ original_title: string;
47
+ /** Release date in ISO 8601 format. */
48
+ release_date: string;
49
+ /** Localized movie title. */
50
+ title: string;
51
+ /** Whether the movie has an associated video. */
52
+ video: boolean;
53
+ };
54
+ /**
55
+ * TV episode summary embedded in a TV credit details response.
56
+ */
57
+ export type CreditDetailsTVEpisode = {
58
+ /** Indicates whether the episode is marked for adult content. */
59
+ adult: boolean;
60
+ /** Episode air date in ISO 8601 format, if available. */
61
+ air_date?: string | null;
62
+ /** Episode number within the season. */
63
+ episode_number: number;
64
+ /** Episode type reported by TMDB. */
65
+ episode_type: string;
66
+ /** Unique episode identifier. */
67
+ id: number;
68
+ /** Episode title. */
69
+ name: string;
70
+ /** Plot summary. */
71
+ overview: string;
72
+ /** Production code if available. */
73
+ production_code: string;
74
+ /** Runtime in minutes, if available. */
75
+ runtime?: number | null;
76
+ /** Season number for the episode. */
77
+ season_number: number;
78
+ /** Episode still image path, if available. */
79
+ still_path?: string | null;
80
+ /** Average vote score. */
81
+ vote_average: number;
82
+ /** Total vote count. */
83
+ vote_count: number;
84
+ };
85
+ /**
86
+ * TV season summary embedded in a TV credit details response.
87
+ */
88
+ export type CreditDetailsTVSeason = {
89
+ /** Season air date in ISO 8601 format, if available. */
90
+ air_date?: string | null;
91
+ /** Total number of episodes in the season. */
92
+ episode_count: number;
93
+ /** Unique season identifier. */
94
+ id: number;
95
+ /** Season title. */
96
+ name: string;
97
+ /** Plot summary. */
98
+ overview: string;
99
+ /** Relative path to the season poster, if available. */
100
+ poster_path?: string | null;
101
+ /** Season number within the series. */
102
+ season_number: number;
103
+ /** Average vote score. */
104
+ vote_average: number;
105
+ };
106
+ /**
107
+ * TV series data attached to a credit details response.
108
+ */
109
+ export type CreditDetailsTVMedia = CreditDetailsMediaBase & {
110
+ /** TV episodes attached to the specific credit. */
111
+ episodes: CreditDetailsTVEpisode[];
112
+ /** First air date in ISO 8601 format. */
113
+ first_air_date: string;
114
+ /** Localized series name. */
115
+ name: string;
116
+ /** Origin country codes. */
117
+ origin_country: string[];
118
+ /** Original series name. */
119
+ original_name: string;
120
+ /** Seasons attached to the specific credit. */
121
+ seasons: CreditDetailsTVSeason[];
122
+ /** Media type discriminator. */
123
+ media_type: "tv";
124
+ };
125
+ /**
126
+ * Media item returned by `/credit/{credit_id}`.
127
+ */
128
+ export type CreditDetailsMedia = CreditDetailsMovieMedia | CreditDetailsTVMedia;
129
+ /**
130
+ * Detailed credit information returned by `/credit/{credit_id}`.
131
+ */
132
+ export type CreditDetails = {
133
+ /** Cast or crew discriminator returned by TMDB. */
134
+ credit_type: LiteralUnion<"cast" | "crew">;
135
+ /** Department associated with the credit. */
136
+ department: string;
137
+ /** Unique credit identifier. */
138
+ id: string;
139
+ /** Job associated with the credit. */
140
+ job: string;
141
+ /** Media type discriminator for the attached media payload. */
142
+ media_type: MediaType;
143
+ /** Movie or TV title linked to the credit. */
144
+ media: CreditDetailsMedia;
145
+ /** Person linked to the credit. */
146
+ person: CreditDetailsPerson;
147
+ };
148
+ export {};
149
+ //# sourceMappingURL=credits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../../src/types/other/credits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AAE5D,KAAK,sBAAsB,GAAG;IAC7B,+DAA+D;IAC/D,KAAK,EAAE,OAAO,CAAC;IACf,yDAAyD;IACzD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,GAAG;IAC9D,gCAAgC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5B,cAAc,EAAE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MAAM,CAAC;IACtB,0BAA0B;IAC1B,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,GAAG;IAC3D,mDAAmD;IACnD,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,yCAAyC;IACzC,cAAc,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,4BAA4B;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC,gCAAgC;IAChC,UAAU,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,uBAAuB,GAAG,oBAAoB,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,mDAAmD;IACnD,WAAW,EAAE,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,+DAA+D;IAC/D,UAAU,EAAE,SAAS,CAAC;IACtB,8CAA8C;IAC9C,KAAK,EAAE,kBAAkB,CAAC;IAC1B,mCAAmC;IACnC,MAAM,EAAE,mBAAmB,CAAC;CAC5B,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
1
  export * from "./collections";
2
2
  export * from "./companies";
3
+ export * from "./credits";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/other/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/other/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from "./collections";
2
2
  export * from "./companies";
3
+ export * from "./credits";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorenzopant/tmdb",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "description": "A completely type-safe The Movie Database (TMDB) API wrapper for typescript applications.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",