@tdanks2000/tmdb-wrapper 1.0.1 → 1.0.3

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 (95) hide show
  1. package/.github/workflows/npm-publish.yml +33 -0
  2. package/README.md +11 -0
  3. package/dist/@types/endpoints/configuration.d.ts +1 -0
  4. package/dist/@types/endpoints/configuration.d.ts.map +1 -1
  5. package/dist/@types/models/baseEndpoint.d.ts +1 -1
  6. package/dist/@types/models/baseEndpoint.d.ts.map +1 -1
  7. package/dist/@types/models/baseEndpoint.js +1 -1
  8. package/dist/endpoints/account.d.ts +1 -1
  9. package/dist/endpoints/account.d.ts.map +1 -1
  10. package/dist/endpoints/account.js +1 -1
  11. package/dist/endpoints/certification.d.ts +1 -1
  12. package/dist/endpoints/certification.d.ts.map +1 -1
  13. package/dist/endpoints/certification.js +1 -1
  14. package/dist/endpoints/changes.d.ts +1 -1
  15. package/dist/endpoints/changes.d.ts.map +1 -1
  16. package/dist/endpoints/changes.js +1 -1
  17. package/dist/endpoints/collections.d.ts +1 -1
  18. package/dist/endpoints/collections.d.ts.map +1 -1
  19. package/dist/endpoints/collections.js +1 -1
  20. package/dist/endpoints/companies.d.ts +1 -1
  21. package/dist/endpoints/companies.d.ts.map +1 -1
  22. package/dist/endpoints/companies.js +1 -1
  23. package/dist/endpoints/configuration.d.ts +1 -1
  24. package/dist/endpoints/configuration.d.ts.map +1 -1
  25. package/dist/endpoints/configuration.js +1 -1
  26. package/dist/endpoints/credits.d.ts +1 -1
  27. package/dist/endpoints/credits.d.ts.map +1 -1
  28. package/dist/endpoints/credits.js +1 -1
  29. package/dist/endpoints/discover.d.ts +1 -1
  30. package/dist/endpoints/discover.d.ts.map +1 -1
  31. package/dist/endpoints/discover.js +1 -1
  32. package/dist/endpoints/find.d.ts +1 -1
  33. package/dist/endpoints/find.d.ts.map +1 -1
  34. package/dist/endpoints/find.js +1 -1
  35. package/dist/endpoints/genre.d.ts +1 -1
  36. package/dist/endpoints/genre.d.ts.map +1 -1
  37. package/dist/endpoints/genre.js +1 -1
  38. package/dist/endpoints/keywords.d.ts +1 -1
  39. package/dist/endpoints/keywords.d.ts.map +1 -1
  40. package/dist/endpoints/keywords.js +1 -1
  41. package/dist/endpoints/movies.d.ts +1 -1
  42. package/dist/endpoints/movies.d.ts.map +1 -1
  43. package/dist/endpoints/movies.js +1 -1
  44. package/dist/endpoints/networks.d.ts +1 -1
  45. package/dist/endpoints/networks.d.ts.map +1 -1
  46. package/dist/endpoints/networks.js +1 -1
  47. package/dist/endpoints/people.d.ts +1 -1
  48. package/dist/endpoints/people.d.ts.map +1 -1
  49. package/dist/endpoints/people.js +1 -1
  50. package/dist/endpoints/review.d.ts +1 -1
  51. package/dist/endpoints/review.d.ts.map +1 -1
  52. package/dist/endpoints/review.js +1 -1
  53. package/dist/endpoints/search.d.ts +1 -1
  54. package/dist/endpoints/search.d.ts.map +1 -1
  55. package/dist/endpoints/search.js +1 -1
  56. package/dist/endpoints/trending.d.ts +3 -3
  57. package/dist/endpoints/trending.d.ts.map +1 -1
  58. package/dist/endpoints/trending.js +2 -2
  59. package/dist/endpoints/tvEpisodes.d.ts +1 -1
  60. package/dist/endpoints/tvEpisodes.d.ts.map +1 -1
  61. package/dist/endpoints/tvEpisodes.js +1 -1
  62. package/dist/endpoints/tvSeasons.d.ts +1 -1
  63. package/dist/endpoints/tvSeasons.d.ts.map +1 -1
  64. package/dist/endpoints/tvSeasons.js +1 -1
  65. package/dist/endpoints/tvShows.d.ts +1 -1
  66. package/dist/endpoints/tvShows.d.ts.map +1 -1
  67. package/dist/endpoints/tvShows.js +1 -1
  68. package/dist/index.d.ts +1 -1
  69. package/dist/index.js +1 -1
  70. package/package.json +41 -40
  71. package/src/@types/endpoints/configuration.ts +1 -0
  72. package/src/@types/models/baseEndpoint.ts +1 -1
  73. package/src/endpoints/account.ts +1 -1
  74. package/src/endpoints/certification.ts +1 -1
  75. package/src/endpoints/changes.ts +1 -1
  76. package/src/endpoints/collections.ts +1 -1
  77. package/src/endpoints/companies.ts +1 -1
  78. package/src/endpoints/configuration.ts +1 -1
  79. package/src/endpoints/credits.ts +1 -1
  80. package/src/endpoints/discover.ts +1 -1
  81. package/src/endpoints/find.ts +1 -1
  82. package/src/endpoints/genre.ts +1 -1
  83. package/src/endpoints/keywords.ts +1 -1
  84. package/src/endpoints/movies.ts +1 -1
  85. package/src/endpoints/networks.ts +1 -1
  86. package/src/endpoints/people.ts +1 -1
  87. package/src/endpoints/review.ts +1 -1
  88. package/src/endpoints/search.ts +1 -1
  89. package/src/endpoints/trending.ts +3 -3
  90. package/src/endpoints/tvEpisodes.ts +1 -1
  91. package/src/endpoints/tvSeasons.ts +1 -1
  92. package/src/endpoints/tvShows.ts +1 -1
  93. package/src/index.ts +1 -1
  94. package/src/utils/api.ts +1 -1
  95. package/tsconfig.json +1 -8
@@ -0,0 +1,33 @@
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+ name: Node.js Package
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: actions/setup-node@v3
16
+ with:
17
+ node-version: 16
18
+ - run: npm ci
19
+ - run: npm test
20
+
21
+ publish-npm:
22
+ needs: build
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v3
26
+ - uses: actions/setup-node@v3
27
+ with:
28
+ node-version: 16
29
+ registry-url: https://registry.npmjs.org/
30
+ - run: npm ci
31
+ - run: npm publish
32
+ env:
33
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/README.md CHANGED
@@ -2,6 +2,17 @@
2
2
  TMDB Api Wrapper
3
3
  </h1>
4
4
 
5
+ <p align="center">
6
+ <a href="https://www.npmjs.com/package/@tdanks2000/tmdb-wrapper">
7
+ <img alt="NPM Version" src="https://img.shields.io/npm/v/%40tdanks2000%2Ftmdb-wrapper">
8
+ </a>
9
+ <a href="https://github.com/tdanks2000/tmdb-wrapper/blob/master/LICENSE">
10
+ <img src="https://img.shields.io/npm/l/@tdanks2000/tmdb-wrapper" alt="GitHub">
11
+ </a>
12
+ </p>
13
+
14
+ <br />
15
+
5
16
  The TMDB Api Wrapper simplifies the process of making API requests to The Movie Database (TMDb), a comprehensive database for movies and TV shows. It encapsulates functionality related to various API endpoints, such as account, certifications, changes, collections, configuration, credits, discover, find, genres, keywords, movies, people, reviews, search, trending, TV episodes, TV seasons, and TV shows. With this wrapper, developers can quickly integrate TMDB functionality into their TypeScript projects.
6
17
 
7
18
  ## Table of Contents
@@ -13,6 +13,7 @@ export interface Configuration {
13
13
  }
14
14
  export declare const enum BackdropSizes {
15
15
  W300 = "w300",
16
+ W500 = "w500",
16
17
  W780 = "w780",
17
18
  W1280 = "w1280",
18
19
  ORIGINAL = "original"
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/@types/endpoints/configuration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,0BAAkB,aAAa;IAC7B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,0BAAkB,SAAS;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,I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IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/@types/endpoints/configuration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,0BAAkB,aAAa;IAC7B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,0BAAkB,SAAS;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,0BAAkB,WAAW;IAC3B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,0BAAkB,YAAY;IAC5B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,0BAAkB,UAAU;IAC1B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,0BAAkB,UAAU;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,kBAAkB,uBAAuB;IACzC,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;IAC7C,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
@@ -1,4 +1,4 @@
1
- import { API } from '@/utils';
1
+ import { API } from '../../utils';
2
2
  export declare class BaseEndpoint {
3
3
  protected readonly access_token: string;
4
4
  protected api: API;
@@ -1 +1 @@
1
- {"version":3,"file":"baseEndpoint.d.ts","sourceRoot":"","sources":["../../../src/@types/models/baseEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,qBAAa,YAAY;IAGX,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAFnD,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;gBAEY,YAAY,EAAE,MAAM;CAGpD"}
1
+ {"version":3,"file":"baseEndpoint.d.ts","sourceRoot":"","sources":["../../../src/@types/models/baseEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,qBAAa,YAAY;IAGX,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAFnD,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC;gBAEY,YAAY,EAAE,MAAM;CAGpD"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BaseEndpoint = void 0;
4
- const utils_1 = require("@/utils");
4
+ const utils_1 = require("../../utils");
5
5
  class BaseEndpoint {
6
6
  constructor(access_token) {
7
7
  this.access_token = access_token;
@@ -1,4 +1,4 @@
1
- import { AccountDetails, BaseEndpoint } from '@/@types';
1
+ import { AccountDetails, BaseEndpoint } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving account details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/endpoints/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,YAAY;IAC/C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;CAGzC"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/endpoints/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,YAAY;IAC/C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;CAGzC"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AccountEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving account details.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Certifications } from '@/@types';
1
+ import { BaseEndpoint, Certifications } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving certifications for movies and TV shows.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"certification.d.ts","sourceRoot":"","sources":["../../src/endpoints/certification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAKzC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;OAGG;IACG,MAAM,IAAI,OAAO,CAAC,cAAc,CAAC;IAIvC;;;OAGG;IACG,EAAE,IAAI,OAAO,CAAC,cAAc,CAAC;CAGpC"}
1
+ {"version":3,"file":"certification.d.ts","sourceRoot":"","sources":["../../src/endpoints/certification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEzD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAKzC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;OAGG;IACG,MAAM,IAAI,OAAO,CAAC,cAAc,CAAC;IAIvC;;;OAGG;IACG,EAAE,IAAI,OAAO,CAAC,cAAc,CAAC;CAGpC"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CertificationEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving certifications for movies and TV shows.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ChangeOption, MediaChanges } from '@/@types';
1
+ import { BaseEndpoint, ChangeOption, MediaChanges } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving changes in movies, TV shows, and persons.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../src/endpoints/changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEpE;;GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAKlC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAI3D;;;;OAIG;IACG,EAAE,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAIvD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;CAG5D"}
1
+ {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../src/endpoints/changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAErE;;GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAKlC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAI3D;;;;OAIG;IACG,EAAE,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAIvD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;CAG5D"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ChangeEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving changes in movies, TV shows, and persons.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, CollectionImageOptions, DetailedCollection, ImageCollection, LanguageOption, Translations } from '@/@types';
1
+ import { BaseEndpoint, CollectionImageOptions, DetailedCollection, ImageCollection, LanguageOption, Translations } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing collections and their details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/endpoints/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACb,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IAKvC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;;OAKG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIhF;;;;;OAKG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,eAAe,CAAC;IAQpF;;;;;OAKG;IACG,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC;CAGhF"}
1
+ {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/endpoints/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,YAAY,EACb,MAAM,WAAW,CAAC;AAInB;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IAKvC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;;OAKG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIhF;;;;;OAKG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,eAAe,CAAC;IAQpF;;;;;OAKG;IACG,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC;CAGhF"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionsEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_COLLECTION = '/collection';
15
15
  /**
16
16
  * Represents an endpoint for accessing collections and their details.
@@ -1,4 +1,4 @@
1
- import { AlternativeNames, BaseEndpoint, CompanyDetails, CompanyImages } from '@/@types';
1
+ import { AlternativeNames, BaseEndpoint, CompanyDetails, CompanyImages } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing company details and related information.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../src/endpoints/companies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzF;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IAKrC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAIlD;;;;OAIG;IACG,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI7D;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGjD"}
1
+ {"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../src/endpoints/companies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1F;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IAKrC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAIlD;;;;OAIG;IACG,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI7D;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGjD"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CompaniesEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for accessing company details and related information.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Configuration } from '@/@types';
1
+ import { BaseEndpoint, Configuration } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving current system configuration.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/endpoints/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEvD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAKzC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC;CAG3C"}
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/endpoints/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAExD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,YAAY;IAKzC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC;CAG3C"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ConfigurationEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving current system configuration.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, CreditResponse } from '@/@types';
1
+ import { BaseEndpoint, CreditResponse } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving credit details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/endpoints/credits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,YAAY;IAKnC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;CAGnD"}
1
+ {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/endpoints/credits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEzD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,YAAY;IAKnC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;CAGnD"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreditsEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving credit details.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, MovieDiscoverResult, MovieQueryOptions, TvShowDiscoverResult, TvShowQueryOptions } from '@/@types';
1
+ import { BaseEndpoint, MovieDiscoverResult, MovieQueryOptions, TvShowDiscoverResult, TvShowQueryOptions } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for discovering movies and TV shows based on various criteria.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/endpoints/discover.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,KAAK,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItE;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAG1E"}
1
+ {"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/endpoints/discover.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAInB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,KAAK,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItE;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAG1E"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.DiscoverEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_DISCOVER = '/discover';
15
15
  /**
16
16
  * Represents an endpoint for discovering movies and TV shows based on various criteria.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ExternalIdOptions, FindResult } from '@/@types';
1
+ import { BaseEndpoint, ExternalIdOptions, FindResult } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for finding media by external ID.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../src/endpoints/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEvE;;GAEG;AACH,qBAAa,YAAa,SAAQ,YAAY;IAC5C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;OAKG;IACG,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC;CAGhF"}
1
+ {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../src/endpoints/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAExE;;GAEG;AACH,qBAAa,YAAa,SAAQ,YAAY;IAC5C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;OAKG;IACG,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC;CAGhF"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.FindEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for finding media by external ID.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Genres, LanguageOption } from '@/@types';
1
+ import { BaseEndpoint, Genres, LanguageOption } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving genre information for movies and TV shows.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"genre.d.ts","sourceRoot":"","sources":["../../src/endpoints/genre.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEhE;;GAEG;AACH,qBAAa,aAAc,SAAQ,YAAY;IAKjC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD;;;;OAIG;IACG,EAAE,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CAGpD"}
1
+ {"version":3,"file":"genre.d.ts","sourceRoot":"","sources":["../../src/endpoints/genre.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEjE;;GAEG;AACH,qBAAa,aAAc,SAAQ,YAAY;IAKjC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD;;;;OAIG;IACG,EAAE,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;CAGpD"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GenreEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving genre information for movies and TV shows.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, BelongingMovies, Keyword, KeywordsOptions } from '@/@types';
1
+ import { BaseEndpoint, BelongingMovies, Keyword, KeywordsOptions } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing keyword details and related movies.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"keywords.d.ts","sourceRoot":"","sources":["../../src/endpoints/keywords.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAInF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIlD;;;;;OAKG;IACG,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;CAG9F"}
1
+ {"version":3,"file":"keywords.d.ts","sourceRoot":"","sources":["../../src/endpoints/keywords.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAIpF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIlD;;;;;OAKG;IACG,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;CAG9F"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.KeywordsEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_KEYWORD = '/keyword';
15
15
  /**
16
16
  * Represents an endpoint for accessing keyword details and related movies.
@@ -1,4 +1,4 @@
1
- import { AlternativeTitles, AppendToResponse, AppendToResponseMovieKey, BaseEndpoint, ChangeOption, Changes, Credits, ExternalIds, Images, Keywords, LanguageOption, LatestMovie, MovieChangeValue, MovieDetails, MovieLists, MoviesImageSearchOptions, MoviesPlayingNow, PageOption, PopularMovies, Recommendations, RegionOption, ReleaseDates, Reviews, SimilarMovies, TopRatedMovies, Translations, UpcomingMovies, Videos, WatchProviders } from '@/@types';
1
+ import { AlternativeTitles, AppendToResponse, AppendToResponseMovieKey, BaseEndpoint, ChangeOption, Changes, Credits, ExternalIds, Images, Keywords, LanguageOption, LatestMovie, MovieChangeValue, MovieDetails, MovieLists, MoviesImageSearchOptions, MoviesPlayingNow, PageOption, PopularMovies, Recommendations, RegionOption, ReleaseDates, Reviews, SimilarMovies, TopRatedMovies, Translations, UpcomingMovies, Videos, WatchProviders } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing movie-related information.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"movies.d.ts","sourceRoot":"","sources":["../../src/endpoints/movies.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,OAAO,EACP,WAAW,EACX,MAAM,EACN,QAAQ,EACR,cAAc,EACd,WAAW,EACX,gBAAgB,EA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cAAc,GAAG,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC;IAI5E;;;;OAIG;IACG,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;IAI7F;;;;OAIG;IACG,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;CAG9F"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.MoviesEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_MOVIE = '/movie';
15
15
  /**
16
16
  * Represents an endpoint for accessing movie-related information.
@@ -1,4 +1,4 @@
1
- import { AlternativeNames, BaseEndpoint, NetworkDetails, NetworkImages } from '@/@types';
1
+ import { AlternativeNames, BaseEndpoint, NetworkDetails, NetworkImages } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing network details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/endpoints/networks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAKpC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAIlD;;;;OAIG;IACG,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI7D;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGjD"}
1
+ {"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/endpoints/networks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1F;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAKpC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAIlD;;;;OAIG;IACG,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI7D;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGjD"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.NetworksEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for accessing network details.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { AppendToResponse, AppendToResponsePersonKey, BaseEndpoint, ChangeOption, Changes, ExternalIds, LanguageOption, PageOption, PeopleImages, PersonChangeValue, PersonCombinedCredits, PersonDetails, PersonMovieCredit, PersonTranslations, PersonTvShowCredit, PopularPersons, TaggedImages } from '@/@types';
1
+ import { AppendToResponse, AppendToResponsePersonKey, BaseEndpoint, ChangeOption, Changes, ExternalIds, LanguageOption, PageOption, PeopleImages, PersonChangeValue, PersonCombinedCredits, PersonDetails, PersonMovieCredit, PersonTranslations, PersonTvShowCredit, PopularPersons, TaggedImages } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing information about people.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../src/endpoints/people.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,WAAW,EACX,cAAc,EACd,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,YAAY,EACb,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAC9C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;OAMG;IACG,OAAO,CAAC,CAAC,SAAS,yBAAyB,EAAE,GAAG,SAAS,EAC7D,EAAE,EAAE,MAAM,EACV,gBAAgB,CAAC,EAAE,CAAC,EACpB,QAAQ,CAAC,EAAE,MAAM;IASnB;;;;;OAKG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAItF;;;;;OAKG;IACG,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpF;;;;;OAKG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAItF;;;;;OAKG;IACG,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI3F;;;;OAIG;IACG,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlD;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,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M,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAItF;;;;;OAKG;IACG,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI3F;;;;OAIG;IACG,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAIlD;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAI/C;;;;;OAKG;IACG,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC;IAI3E;;;;OAIG;IACG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI1D;;;OAGG;IACG,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC;IAItC;;;;OAIG;IACG,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC;CAG9E"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PeopleEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_PERSON = '/person';
15
15
  /**
16
16
  * Represents an endpoint for accessing information about people.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ReviewDetails } from '@/@types';
1
+ import { BaseEndpoint, ReviewDetails } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing review details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../src/endpoints/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEvD;;GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAC9C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGlD"}
1
+ {"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../src/endpoints/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAExD;;GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAC9C;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;OAIG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGlD"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ReviewEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for accessing review details.
16
16
  */
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Collection, Company, Movie, MovieSearchOptions, MultiSearchOptions, MultiSearchResult, PeopleSearchOptions, Person, Search, SearchOptions, TV, TvSearchOptions } from '@/@types';
1
+ import { BaseEndpoint, Collection, Company, Movie, MovieSearchOptions, MultiSearchOptions, MultiSearchResult, PeopleSearchOptions, Person, Search, SearchOptions, TV, TvSearchOptions } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for performing various search operations.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/endpoints/search.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,OAAO,EACP,KAAK,EACL,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,MAAM,EACN,aAAa,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GAEG;AACH,qBAAa,cAAe,SAAQ,YAAY;IAKlC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAIjE;;;;OAIG;IACG,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAItE;;;;OAIG;IACG,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAIrF;;;;OAIG;IACG,MAAM,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAIjE;;;;OAIG;IACG,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAInE;;;;OAIG;IACG,EAAE,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAIvD;;;;OAIG;IACG,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;CAG7E"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SearchEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_SEARCH = '/search';
15
15
  /**
16
16
  * Represents an endpoint for performing various search operations.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, LanguageOption, TimeWindow, TrendingMediaType, TrendingResults } from '@/@types';
1
+ import { BaseEndpoint, LanguageOption, PageOption, TimeWindow, TrendingMediaType, TrendingResults } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for retrieving trending content.
4
4
  */
@@ -12,10 +12,10 @@ export declare class TrendingEndpoint extends BaseEndpoint {
12
12
  * Retrieves trending content asynchronously based on media type and time window.
13
13
  * @param {TrendingMediaType} mediaType - The type of media (e.g., 'all', 'movie', 'tv').
14
14
  * @param {TimeWindow} timeWindow - The time window for trending content (e.g., 'day', 'week').
15
- * @param {LanguageOption} [options] - Optional parameters for specifying the language.
15
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for specifying the language and pagination.
16
16
  * @returns {Promise<TrendingResults<T>>} A Promise that resolves with the trending results.
17
17
  * @template T - The type of media being searched for (e.g., 'movie', 'tv').
18
18
  */
19
- trending<T extends TrendingMediaType>(mediaType: T, timeWindow: TimeWindow, options?: LanguageOption): Promise<TrendingResults<T>>;
19
+ trending<T extends TrendingMediaType>(mediaType: T, timeWindow: TimeWindow, options?: LanguageOption & PageOption): Promise<TrendingResults<T>>;
20
20
  }
21
21
  //# sourceMappingURL=trending.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trending.d.ts","sourceRoot":"","sources":["../../src/endpoints/trending.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAExG;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;;OAOG;IACG,QAAQ,CAAC,CAAC,SAAS,iBAAiB,EACxC,SAAS,EAAE,CAAC,EACZ,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAG/B"}
1
+ {"version":3,"file":"trending.d.ts","sourceRoot":"","sources":["../../src/endpoints/trending.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAErH;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,YAAY;IAChD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;;OAOG;IACG,QAAQ,CAAC,CAAC,SAAS,iBAAiB,EACxC,SAAS,EAAE,CAAC,EACZ,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,GACpC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAG/B"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.TrendingEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  /**
15
15
  * Represents an endpoint for retrieving trending content.
16
16
  */
@@ -26,7 +26,7 @@ class TrendingEndpoint extends _types_1.BaseEndpoint {
26
26
  * Retrieves trending content asynchronously based on media type and time window.
27
27
  * @param {TrendingMediaType} mediaType - The type of media (e.g., 'all', 'movie', 'tv').
28
28
  * @param {TimeWindow} timeWindow - The time window for trending content (e.g., 'day', 'week').
29
- * @param {LanguageOption} [options] - Optional parameters for specifying the language.
29
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for specifying the language and pagination.
30
30
  * @returns {Promise<TrendingResults<T>>} A Promise that resolves with the trending results.
31
31
  * @template T - The type of media being searched for (e.g., 'movie', 'tv').
32
32
  */
@@ -1,4 +1,4 @@
1
- import { AppendToResponse, AppendToResponseTvEpisodeKey, BaseEndpoint, ChangeOption, Changes, Episode, EpisodeSelection, ExternalIds, Images, LanguageOption, TvEpisodeCredit, TvEpisodeImageSearchOptions, TvEpisodeTranslations, TvEpisodeVideoSearchOptions, Videos } from '@/@types';
1
+ import { AppendToResponse, AppendToResponseTvEpisodeKey, BaseEndpoint, ChangeOption, Changes, Episode, EpisodeSelection, ExternalIds, Images, LanguageOption, TvEpisodeCredit, TvEpisodeImageSearchOptions, TvEpisodeTranslations, TvEpisodeVideoSearchOptions, Videos } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing TV episode-related information.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tvEpisodes.d.ts","sourceRoot":"","sources":["../../src/endpoints/tvEpisodes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,4BAA4B,EAC5B,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,cAAc,EAEd,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,MAAM,EACP,MAAM,UAAU,CAAC;AAMlB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAClD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;;OAOG;IACG,OAAO,CAAC,CAAC,SAAS,4BAA4B,EAAE,GAAG,SAAS,EAChE,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,CAAC,EAAE,CAAC,EACpB,OAAO,CAAC,EAAE,cAAc;IAa1B;;;;;OAKG;IACG,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;IAIvD;;;;;OAKG;IACG,OAAO,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc;IAI1E;;;;OAIG;IACG,WAAW,CAAC,gBAAgB,EAAE,gBAAgB;IAIpD;;;;;OAKG;IACG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,2BAA2B;IAQtF;;;;OAIG;IACG,YAAY,CAAC,gBAAgB,EAAE,gBAAgB;IAIrD;;;;;OAKG;IACG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,2BAA2B;CAOvF"}
1
+ {"version":3,"file":"tvEpisodes.d.ts","sourceRoot":"","sources":["../../src/endpoints/tvEpisodes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,4BAA4B,EAC5B,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,cAAc,EAEd,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,MAAM,EACP,MAAM,WAAW,CAAC;AAMnB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAClD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;;OAOG;IACG,OAAO,CAAC,CAAC,SAAS,4BAA4B,EAAE,GAAG,SAAS,EAChE,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,CAAC,EAAE,CAAC,EACpB,OAAO,CAAC,EAAE,cAAc;IAa1B;;;;;OAKG;IACG,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;IAIvD;;;;;OAKG;IACG,OAAO,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc;IAI1E;;;;OAIG;IACG,WAAW,CAAC,gBAAgB,EAAE,gBAAgB;IAIpD;;;;;OAKG;IACG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,2BAA2B;IAQtF;;;;OAIG;IACG,YAAY,CAAC,gBAAgB,EAAE,gBAAgB;IAIrD;;;;;OAKG;IACG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,2BAA2B;CAOvF"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.TvEpisodesEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_EPISODE = (episodeSelection) => {
15
15
  return `/tv/${episodeSelection.tvShowID}/season/${episodeSelection.seasonNumber}/episode/${episodeSelection.episodeNumber}`;
16
16
  };
@@ -1,4 +1,4 @@
1
- import { AggregateCredits, AppendToResponse, AppendToResponseTvSeasonKey, BaseEndpoint, ChangeOption, Changes, Credits, ExternalIds, Images, LanguageOption, SeasonDetails, SeasonSelection, Translations, TvSeasonChangeValue, TvSeasonImageSearchOptions, TvSeasonVideoSearchOptions, Videos } from '@/@types';
1
+ import { AggregateCredits, AppendToResponse, AppendToResponseTvSeasonKey, BaseEndpoint, ChangeOption, Changes, Credits, ExternalIds, Images, LanguageOption, SeasonDetails, SeasonSelection, Translations, TvSeasonChangeValue, TvSeasonImageSearchOptions, TvSeasonVideoSearchOptions, Videos } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing TV season-related information.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tvSeasons.d.ts","sourceRoot":"","sources":["../../src/endpoints/tvSeasons.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,EAC3B,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,OAAO,EACP,WAAW,EACX,MAAM,EACN,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,EAC1B,MAAM,EACP,MAAM,UAAU,CAAC;AAMlB;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IACjD;;;OAGG;gBACS,YAAY,EAAE,MAAM;IAIhC;;;;;;;OAOG;IACG,OAAO,CAAC,CAAC,SAAS,2BAA2B,EAAE,GAAG,SAAS,EAC/D,eAAe,EAAE,eAAe,EAChC,gBAAgB,CAAC,EAAE,CAAC,EACpB,OAAO,CAAC,EAAE,cAAc;IAa1B;;;;;OAKG;IACG,gBAAgB,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,C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QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;IAItD;;;;;OAKG;IACG,OAAO,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc;IAIxE;;;;;OAKG;IACG,WAAW,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc;IAI5E;;;;;OAKG;IACG,MAAM,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,0BAA0B;IAQnF;;;;;OAKG;IACG,MAAM,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,0BAA0B;IAQnF;;;;;OAKG;IACG,YAAY,CAAC,eAAe,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc;CAG9E"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.TvSeasonsEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_SEASON = (seasonSelection) => {
15
15
  return `/tv/${seasonSelection.tvShowID}/season/${seasonSelection.seasonNumber}`;
16
16
  };
@@ -1,4 +1,4 @@
1
- import { AggregateCredits, AlternativeTitles, AppendToResponse, AppendToResponseTvKey, BaseEndpoint, ChangeOption, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, Keywords, LanguageOption, Latesttv, OnTheAir, PageOption, Populartv, Recommendations, Reviews, ScreenedTheatrically, SeasonDetails, Similartv, TimezoneOption, TopRatedtv, Translations, TvShowChangeValue, TvShowDetails, TvShowImageOptions, TvShowVideoOptions, Videos, WatchProviders, tvAiringToday } from '@/@types';
1
+ import { AggregateCredits, AlternativeTitles, AppendToResponse, AppendToResponseTvKey, BaseEndpoint, ChangeOption, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, Keywords, LanguageOption, Latesttv, OnTheAir, PageOption, Populartv, Recommendations, Reviews, ScreenedTheatrically, SeasonDetails, Similartv, TimezoneOption, TopRatedtv, Translations, TvShowChangeValue, TvShowDetails, TvShowImageOptions, TvShowVideoOptions, Videos, WatchProviders, tvAiringToday } from '../@types';
2
2
  /**
3
3
  * Represents an endpoint for accessing TV show-related information.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tvShows.d.ts","sourceRoot":"","sources":["../../src/endpoints/tvShows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,OAAO,EACP,aAAa,EACb,WAAW,EACX,MAAM,EACN,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,eAAe,EACf,OAAO,EACP,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,cAAc,EACd,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,MAAM,EACN,cAAc,EACd,aAAa,EACd,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,qBAAa,eAAgB,SAAQ,YAAY;IAKnC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAJnD;;;OAGG;gBAC4B,YAAY,EAAE,MAAM;IAInD;;;;;;;OAOG;IACG,OAAO,CAAC,CAAC,SAAS,qBAAqB,EAAE,GAAG,SAAS,EACzD,EAAE,EAAE,MAAM,EACV,gBAAgB,CAAC,EAAE,CAAC,EACpB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;IAQxD;;;;OAIG;IACG,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAI/D;;;;;;OAMG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,O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O,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAIjG;;;;OAIG;IACG,OAAO,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAIxE;;;;OAIG;IACG,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC;CAG3E"}
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.TvShowsEndpoint = void 0;
13
- const _types_1 = require("@/@types");
13
+ const _types_1 = require("../@types");
14
14
  const BASE_TV = '/tv';
15
15
  /**
16
16
  * Represents an endpoint for accessing TV show-related information.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AccountEndpoint, CertificationEndpoint, ChangeEndpoint, CollectionsEndpoint, ConfigurationEndpoint, CreditsEndpoint, DiscoverEndpoint, FindEndpoint, GenreEndpoint, KeywordsEndpoint, MoviesEndpoint, PeopleEndpoint, ReviewEndpoint, SearchEndpoint, TrendingEndpoint, TvEpisodesEndpoint, TvSeasonsEndpoint, TvShowsEndpoint } from '@/endpoints';
1
+ import { AccountEndpoint, CertificationEndpoint, ChangeEndpoint, CollectionsEndpoint, ConfigurationEndpoint, CreditsEndpoint, DiscoverEndpoint, FindEndpoint, GenreEndpoint, KeywordsEndpoint, MoviesEndpoint, PeopleEndpoint, ReviewEndpoint, SearchEndpoint, TrendingEndpoint, TvEpisodesEndpoint, TvSeasonsEndpoint, TvShowsEndpoint } from './endpoints';
2
2
  declare class TMDB {
3
3
  constructor(access_token: string);
4
4
  account: AccountEndpoint;
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.TMDB = void 0;
18
- const endpoints_1 = require("@/endpoints");
18
+ const endpoints_1 = require("./endpoints");
19
19
  class TMDB {
20
20
  constructor(access_token) {
21
21
  this.account = new endpoints_1.AccountEndpoint(access_token);
package/package.json CHANGED
@@ -1,40 +1,41 @@
1
- {
2
- "name": "@tdanks2000/tmdb-wrapper",
3
- "module": "./src/index.ts",
4
- "type": "module",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/tdanks2000/tmdb-wrapper"
13
- },
14
- "keywords": [
15
- "tmdb",
16
- "tmdbWrapper",
17
- "tmdb wrapper",
18
- "tmdb-wrapper",
19
- "api wrapper",
20
- "node",
21
- "typescript"
22
- ],
23
- "engines": {
24
- "node": ">=16"
25
- },
26
- "author": "TDanks2000",
27
- "license": "MIT",
28
- "private": false,
29
- "scripts": {
30
- "build": "yarn tsc",
31
- "release": "yarn version && npm publish",
32
- "preversion": "yarn tsc"
33
- },
34
- "devDependencies": {
35
- "@types/node": "^20.11.20",
36
- "ts-node": "^10.9.2",
37
- "typescript": "^5.3.3"
38
- },
39
- "version": "1.0.1"
40
- }
1
+ {
2
+ "name": "@tdanks2000/tmdb-wrapper",
3
+ "version": "1.0.3",
4
+ "module": "./src/index.ts",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/tdanks2000/tmdb-wrapper"
14
+ },
15
+ "keywords": [
16
+ "tmdb",
17
+ "tmdbWrapper",
18
+ "tmdb wrapper",
19
+ "tmdb-wrapper",
20
+ "api wrapper",
21
+ "node",
22
+ "typescript"
23
+ ],
24
+ "engines": {
25
+ "node": ">=16"
26
+ },
27
+ "author": "TDanks2000",
28
+ "license": "MIT",
29
+ "private": false,
30
+ "scripts": {
31
+ "build": "pnpm tsc && pnpm tsc-alias",
32
+ "release": "yarn version && npm publish",
33
+ "preversion": "pnpm run build"
34
+ },
35
+ "devDependencies": {
36
+ "@types/node": "^20.11.20",
37
+ "ts-node": "^10.9.2",
38
+ "tsc-alias": "^1.8.8",
39
+ "typescript": "^5.3.3"
40
+ }
41
+ }
@@ -15,6 +15,7 @@ export interface Configuration {
15
15
 
16
16
  export const enum BackdropSizes {
17
17
  W300 = 'w300',
18
+ W500 = 'w500',
18
19
  W780 = 'w780',
19
20
  W1280 = 'w1280',
20
21
  ORIGINAL = 'original',
@@ -1,4 +1,4 @@
1
- import { API } from '@/utils';
1
+ import { API } from '../../utils';
2
2
 
3
3
  export class BaseEndpoint {
4
4
  protected api: API;
@@ -1,4 +1,4 @@
1
- import { AccountDetails, BaseEndpoint } from '@/@types';
1
+ import { AccountDetails, BaseEndpoint } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving account details.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Certifications } from '@/@types';
1
+ import { BaseEndpoint, Certifications } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving certifications for movies and TV shows.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ChangeOption, MediaChanges } from '@/@types';
1
+ import { BaseEndpoint, ChangeOption, MediaChanges } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving changes in movies, TV shows, and persons.
@@ -5,7 +5,7 @@ import {
5
5
  ImageCollection,
6
6
  LanguageOption,
7
7
  Translations,
8
- } from '@/@types';
8
+ } from '../@types';
9
9
 
10
10
  const BASE_COLLECTION = '/collection';
11
11
 
@@ -1,4 +1,4 @@
1
- import { AlternativeNames, BaseEndpoint, CompanyDetails, CompanyImages } from '@/@types';
1
+ import { AlternativeNames, BaseEndpoint, CompanyDetails, CompanyImages } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for accessing company details and related information.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Configuration } from '@/@types';
1
+ import { BaseEndpoint, Configuration } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving current system configuration.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, CreditResponse } from '@/@types';
1
+ import { BaseEndpoint, CreditResponse } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving credit details.
@@ -4,7 +4,7 @@ import {
4
4
  MovieQueryOptions,
5
5
  TvShowDiscoverResult,
6
6
  TvShowQueryOptions,
7
- } from '@/@types';
7
+ } from '../@types';
8
8
 
9
9
  const BASE_DISCOVER = '/discover';
10
10
 
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ExternalIdOptions, FindResult } from '@/@types';
1
+ import { BaseEndpoint, ExternalIdOptions, FindResult } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for finding media by external ID.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, Genres, LanguageOption } from '@/@types';
1
+ import { BaseEndpoint, Genres, LanguageOption } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving genre information for movies and TV shows.
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, BelongingMovies, Keyword, KeywordsOptions } from '@/@types';
1
+ import { BaseEndpoint, BelongingMovies, Keyword, KeywordsOptions } from '../@types';
2
2
 
3
3
  const BASE_KEYWORD = '/keyword';
4
4
 
@@ -28,7 +28,7 @@ import {
28
28
  UpcomingMovies,
29
29
  Videos,
30
30
  WatchProviders,
31
- } from '@/@types';
31
+ } from '../@types';
32
32
 
33
33
  const BASE_MOVIE = '/movie';
34
34
 
@@ -1,4 +1,4 @@
1
- import { AlternativeNames, BaseEndpoint, NetworkDetails, NetworkImages } from '@/@types';
1
+ import { AlternativeNames, BaseEndpoint, NetworkDetails, NetworkImages } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for accessing network details.
@@ -16,7 +16,7 @@ import {
16
16
  PersonTvShowCredit,
17
17
  PopularPersons,
18
18
  TaggedImages,
19
- } from '@/@types';
19
+ } from '../@types';
20
20
 
21
21
  const BASE_PERSON = '/person';
22
22
 
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, ReviewDetails } from '@/@types';
1
+ import { BaseEndpoint, ReviewDetails } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for accessing review details.
@@ -12,7 +12,7 @@ import {
12
12
  SearchOptions,
13
13
  TV,
14
14
  TvSearchOptions,
15
- } from '@/@types';
15
+ } from '../@types';
16
16
 
17
17
  const BASE_SEARCH = '/search';
18
18
 
@@ -1,4 +1,4 @@
1
- import { BaseEndpoint, LanguageOption, TimeWindow, TrendingMediaType, TrendingResults } from '@/@types';
1
+ import { BaseEndpoint, LanguageOption, PageOption, TimeWindow, TrendingMediaType, TrendingResults } from '../@types';
2
2
 
3
3
  /**
4
4
  * Represents an endpoint for retrieving trending content.
@@ -16,14 +16,14 @@ export class TrendingEndpoint extends BaseEndpoint {
16
16
  * Retrieves trending content asynchronously based on media type and time window.
17
17
  * @param {TrendingMediaType} mediaType - The type of media (e.g., 'all', 'movie', 'tv').
18
18
  * @param {TimeWindow} timeWindow - The time window for trending content (e.g., 'day', 'week').
19
- * @param {LanguageOption} [options] - Optional parameters for specifying the language.
19
+ * @param {LanguageOption & PageOption} [options] - Optional parameters for specifying the language and pagination.
20
20
  * @returns {Promise<TrendingResults<T>>} A Promise that resolves with the trending results.
21
21
  * @template T - The type of media being searched for (e.g., 'movie', 'tv').
22
22
  */
23
23
  async trending<T extends TrendingMediaType>(
24
24
  mediaType: T,
25
25
  timeWindow: TimeWindow,
26
- options?: LanguageOption,
26
+ options?: LanguageOption & PageOption,
27
27
  ): Promise<TrendingResults<T>> {
28
28
  return await this.api.get<TrendingResults<T>>(`/trending/${mediaType}/${timeWindow}`, options);
29
29
  }
@@ -15,7 +15,7 @@ import {
15
15
  TvEpisodeTranslations,
16
16
  TvEpisodeVideoSearchOptions,
17
17
  Videos,
18
- } from '@/@types';
18
+ } from '../@types';
19
19
 
20
20
  const BASE_EPISODE = (episodeSelection: EpisodeSelection): string => {
21
21
  return `/tv/${episodeSelection.tvShowID}/season/${episodeSelection.seasonNumber}/episode/${episodeSelection.episodeNumber}`;
@@ -16,7 +16,7 @@ import {
16
16
  TvSeasonImageSearchOptions,
17
17
  TvSeasonVideoSearchOptions,
18
18
  Videos,
19
- } from '@/@types';
19
+ } from '../@types';
20
20
 
21
21
  const BASE_SEASON = (seasonSelection: SeasonSelection): string => {
22
22
  return `/tv/${seasonSelection.tvShowID}/season/${seasonSelection.seasonNumber}`;
@@ -32,7 +32,7 @@ import {
32
32
  Videos,
33
33
  WatchProviders,
34
34
  tvAiringToday,
35
- } from '@/@types';
35
+ } from '../@types';
36
36
 
37
37
  const BASE_TV = '/tv';
38
38
 
package/src/index.ts CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  TvEpisodesEndpoint,
18
18
  TvSeasonsEndpoint,
19
19
  TvShowsEndpoint,
20
- } from '@/endpoints';
20
+ } from './endpoints';
21
21
 
22
22
  class TMDB {
23
23
  constructor(access_token: string) {
package/src/utils/api.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ErrorResponse } from '@/@types';
1
+ import { ErrorResponse } from '../@types';
2
2
 
3
3
  const BASE_URL_V3 = 'https://api.themoviedb.org/3';
4
4
 
package/tsconfig.json CHANGED
@@ -96,13 +96,6 @@
96
96
 
97
97
  /* Completeness */
98
98
  // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
99
- "skipLibCheck": true /* Skip type checking all .d.ts files. */,
100
- "baseUrl": "./",
101
- "paths": {
102
- "@/*": ["./src/*"],
103
- "@/types/*": ["./src/@types/*"],
104
- "@/utils/*": ["./src/utils/*"],
105
- "@/endpoints/*": ["./src/endpoints/*"]
106
- }
99
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */
107
100
  }
108
101
  }