@tdanks2000/tmdb-wrapper 1.0.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 (207) hide show
  1. package/README.md +137 -0
  2. package/dist/@types/endpoints/account.d.ts +16 -0
  3. package/dist/@types/endpoints/account.d.ts.map +1 -0
  4. package/dist/@types/endpoints/account.js +2 -0
  5. package/dist/@types/endpoints/certification.d.ts +19 -0
  6. package/dist/@types/endpoints/certification.d.ts.map +1 -0
  7. package/dist/@types/endpoints/certification.js +2 -0
  8. package/dist/@types/endpoints/changes.d.ts +26 -0
  9. package/dist/@types/endpoints/changes.d.ts.map +1 -0
  10. package/dist/@types/endpoints/changes.js +2 -0
  11. package/dist/@types/endpoints/collection.d.ts +21 -0
  12. package/dist/@types/endpoints/collection.d.ts.map +1 -0
  13. package/dist/@types/endpoints/collection.js +2 -0
  14. package/dist/@types/endpoints/companies.d.ts +29 -0
  15. package/dist/@types/endpoints/companies.d.ts.map +1 -0
  16. package/dist/@types/endpoints/companies.js +2 -0
  17. package/dist/@types/endpoints/configuration.d.ts +105 -0
  18. package/dist/@types/endpoints/configuration.d.ts.map +1 -0
  19. package/dist/@types/endpoints/configuration.js +2 -0
  20. package/dist/@types/endpoints/credits.d.ts +135 -0
  21. package/dist/@types/endpoints/credits.d.ts.map +1 -0
  22. package/dist/@types/endpoints/credits.js +2 -0
  23. package/dist/@types/endpoints/discover.d.ts +15 -0
  24. package/dist/@types/endpoints/discover.d.ts.map +1 -0
  25. package/dist/@types/endpoints/discover.js +2 -0
  26. package/dist/@types/endpoints/find.d.ts +20 -0
  27. package/dist/@types/endpoints/find.d.ts.map +1 -0
  28. package/dist/@types/endpoints/find.js +2 -0
  29. package/dist/@types/endpoints/index.d.ts +22 -0
  30. package/dist/@types/endpoints/index.d.ts.map +1 -0
  31. package/dist/@types/endpoints/index.js +37 -0
  32. package/dist/@types/endpoints/keywords.d.ts +21 -0
  33. package/dist/@types/endpoints/keywords.d.ts.map +1 -0
  34. package/dist/@types/endpoints/keywords.js +2 -0
  35. package/dist/@types/endpoints/movies.d.ts +144 -0
  36. package/dist/@types/endpoints/movies.d.ts.map +1 -0
  37. package/dist/@types/endpoints/movies.js +12 -0
  38. package/dist/@types/endpoints/networks.d.ts +14 -0
  39. package/dist/@types/endpoints/networks.d.ts.map +1 -0
  40. package/dist/@types/endpoints/networks.js +2 -0
  41. package/dist/@types/endpoints/options.d.ts +73 -0
  42. package/dist/@types/endpoints/options.d.ts.map +1 -0
  43. package/dist/@types/endpoints/options.js +2 -0
  44. package/dist/@types/endpoints/people.d.ts +135 -0
  45. package/dist/@types/endpoints/people.d.ts.map +1 -0
  46. package/dist/@types/endpoints/people.js +2 -0
  47. package/dist/@types/endpoints/review.d.ts +8 -0
  48. package/dist/@types/endpoints/review.d.ts.map +1 -0
  49. package/dist/@types/endpoints/review.js +2 -0
  50. package/dist/@types/endpoints/search.d.ts +9 -0
  51. package/dist/@types/endpoints/search.d.ts.map +1 -0
  52. package/dist/@types/endpoints/search.js +2 -0
  53. package/dist/@types/endpoints/trending.d.ts +12 -0
  54. package/dist/@types/endpoints/trending.d.ts.map +1 -0
  55. package/dist/@types/endpoints/trending.js +2 -0
  56. package/dist/@types/endpoints/tvEpisode.d.ts +53 -0
  57. package/dist/@types/endpoints/tvEpisode.d.ts.map +1 -0
  58. package/dist/@types/endpoints/tvEpisode.js +2 -0
  59. package/dist/@types/endpoints/tvSeasons.d.ts +19 -0
  60. package/dist/@types/endpoints/tvSeasons.d.ts.map +1 -0
  61. package/dist/@types/endpoints/tvSeasons.js +2 -0
  62. package/dist/@types/endpoints/tvShows.d.ts +260 -0
  63. package/dist/@types/endpoints/tvShows.d.ts.map +1 -0
  64. package/dist/@types/endpoints/tvShows.js +2 -0
  65. package/dist/@types/endpoints/watchProviders.d.ts +295 -0
  66. package/dist/@types/endpoints/watchProviders.d.ts.map +1 -0
  67. package/dist/@types/endpoints/watchProviders.js +2 -0
  68. package/dist/@types/index.d.ts +4 -0
  69. package/dist/@types/index.d.ts.map +1 -0
  70. package/dist/@types/index.js +19 -0
  71. package/dist/@types/models/baseEndpoint.d.ts +7 -0
  72. package/dist/@types/models/baseEndpoint.d.ts.map +1 -0
  73. package/dist/@types/models/baseEndpoint.js +11 -0
  74. package/dist/@types/models/index.d.ts +2 -0
  75. package/dist/@types/models/index.d.ts.map +1 -0
  76. package/dist/@types/models/index.js +17 -0
  77. package/dist/@types/types.d.ts +174 -0
  78. package/dist/@types/types.d.ts.map +1 -0
  79. package/dist/@types/types.js +2 -0
  80. package/dist/endpoints/account.d.ts +6 -0
  81. package/dist/endpoints/account.d.ts.map +1 -0
  82. package/dist/endpoints/account.js +24 -0
  83. package/dist/endpoints/certification.d.ts +8 -0
  84. package/dist/endpoints/certification.d.ts.map +1 -0
  85. package/dist/endpoints/certification.js +30 -0
  86. package/dist/endpoints/changes.d.ts +9 -0
  87. package/dist/endpoints/changes.d.ts.map +1 -0
  88. package/dist/endpoints/changes.js +35 -0
  89. package/dist/endpoints/collections.d.ts +9 -0
  90. package/dist/endpoints/collections.d.ts.map +1 -0
  91. package/dist/endpoints/collections.js +41 -0
  92. package/dist/endpoints/companies.d.ts +9 -0
  93. package/dist/endpoints/companies.d.ts.map +1 -0
  94. package/dist/endpoints/companies.js +35 -0
  95. package/dist/endpoints/configuration.d.ts +7 -0
  96. package/dist/endpoints/configuration.d.ts.map +1 -0
  97. package/dist/endpoints/configuration.js +25 -0
  98. package/dist/endpoints/credits.d.ts +7 -0
  99. package/dist/endpoints/credits.d.ts.map +1 -0
  100. package/dist/endpoints/credits.js +25 -0
  101. package/dist/endpoints/discover.d.ts +61 -0
  102. package/dist/endpoints/discover.d.ts.map +1 -0
  103. package/dist/endpoints/discover.js +30 -0
  104. package/dist/endpoints/find.d.ts +6 -0
  105. package/dist/endpoints/find.d.ts.map +1 -0
  106. package/dist/endpoints/find.js +24 -0
  107. package/dist/endpoints/genre.d.ts +14 -0
  108. package/dist/endpoints/genre.d.ts.map +1 -0
  109. package/dist/endpoints/genre.js +30 -0
  110. package/dist/endpoints/index.d.ts +19 -0
  111. package/dist/endpoints/index.d.ts.map +1 -0
  112. package/dist/endpoints/index.js +34 -0
  113. package/dist/endpoints/keywords.d.ts +7 -0
  114. package/dist/endpoints/keywords.d.ts.map +1 -0
  115. package/dist/endpoints/keywords.js +30 -0
  116. package/dist/endpoints/movies.d.ts +36 -0
  117. package/dist/endpoints/movies.d.ts.map +1 -0
  118. package/dist/endpoints/movies.js +134 -0
  119. package/dist/endpoints/networks.d.ts +9 -0
  120. package/dist/endpoints/networks.d.ts.map +1 -0
  121. package/dist/endpoints/networks.js +35 -0
  122. package/dist/endpoints/people.d.ts +16 -0
  123. package/dist/endpoints/people.d.ts.map +1 -0
  124. package/dist/endpoints/people.js +79 -0
  125. package/dist/endpoints/review.d.ts +6 -0
  126. package/dist/endpoints/review.d.ts.map +1 -0
  127. package/dist/endpoints/review.js +24 -0
  128. package/dist/endpoints/search.d.ts +39 -0
  129. package/dist/endpoints/search.d.ts.map +1 -0
  130. package/dist/endpoints/search.js +56 -0
  131. package/dist/endpoints/trending.d.ts +6 -0
  132. package/dist/endpoints/trending.d.ts.map +1 -0
  133. package/dist/endpoints/trending.js +24 -0
  134. package/dist/endpoints/tvEpisodes.d.ts +24 -0
  135. package/dist/endpoints/tvEpisodes.d.ts.map +1 -0
  136. package/dist/endpoints/tvEpisodes.js +68 -0
  137. package/dist/endpoints/tvSeasons.d.ts +25 -0
  138. package/dist/endpoints/tvSeasons.d.ts.map +1 -0
  139. package/dist/endpoints/tvSeasons.js +73 -0
  140. package/dist/endpoints/tvShows.d.ts +33 -0
  141. package/dist/endpoints/tvShows.d.ts.map +1 -0
  142. package/dist/endpoints/tvShows.js +154 -0
  143. package/dist/index.d.ts +26 -0
  144. package/dist/index.d.ts.map +1 -0
  145. package/dist/index.js +43 -0
  146. package/dist/utils/api.d.ts +7 -0
  147. package/dist/utils/api.d.ts.map +1 -0
  148. package/dist/utils/api.js +39 -0
  149. package/dist/utils/getimagePath.d.ts +12 -0
  150. package/dist/utils/getimagePath.d.ts.map +1 -0
  151. package/dist/utils/getimagePath.js +19 -0
  152. package/dist/utils/index.d.ts +3 -0
  153. package/dist/utils/index.d.ts.map +1 -0
  154. package/dist/utils/index.js +18 -0
  155. package/package.json +40 -0
  156. package/src/@types/endpoints/account.ts +17 -0
  157. package/src/@types/endpoints/certification.ts +19 -0
  158. package/src/@types/endpoints/changes.ts +29 -0
  159. package/src/@types/endpoints/collection.ts +23 -0
  160. package/src/@types/endpoints/companies.ts +33 -0
  161. package/src/@types/endpoints/configuration.ts +111 -0
  162. package/src/@types/endpoints/credits.ts +149 -0
  163. package/src/@types/endpoints/discover.ts +31 -0
  164. package/src/@types/endpoints/find.ts +28 -0
  165. package/src/@types/endpoints/index.ts +21 -0
  166. package/src/@types/endpoints/keywords.ts +24 -0
  167. package/src/@types/endpoints/movies.ts +162 -0
  168. package/src/@types/endpoints/networks.ts +15 -0
  169. package/src/@types/endpoints/options.ts +189 -0
  170. package/src/@types/endpoints/people.ts +151 -0
  171. package/src/@types/endpoints/review.ts +8 -0
  172. package/src/@types/endpoints/search.ts +10 -0
  173. package/src/@types/endpoints/trending.ts +20 -0
  174. package/src/@types/endpoints/tvEpisode.ts +58 -0
  175. package/src/@types/endpoints/tvSeasons.ts +23 -0
  176. package/src/@types/endpoints/tvShows.ts +284 -0
  177. package/src/@types/endpoints/watchProviders.ts +298 -0
  178. package/src/@types/index.ts +3 -0
  179. package/src/@types/models/baseEndpoint.ts +9 -0
  180. package/src/@types/models/index.ts +1 -0
  181. package/src/@types/types.ts +199 -0
  182. package/src/endpoints/account.ts +11 -0
  183. package/src/endpoints/certification.ts +15 -0
  184. package/src/endpoints/changes.ts +19 -0
  185. package/src/endpoints/collections.ts +32 -0
  186. package/src/endpoints/companies.ts +19 -0
  187. package/src/endpoints/configuration.ts +11 -0
  188. package/src/endpoints/credits.ts +11 -0
  189. package/src/endpoints/discover.ts +73 -0
  190. package/src/endpoints/find.ts +11 -0
  191. package/src/endpoints/genre.ts +19 -0
  192. package/src/endpoints/index.ts +18 -0
  193. package/src/endpoints/keywords.ts +17 -0
  194. package/src/endpoints/movies.ts +138 -0
  195. package/src/endpoints/networks.ts +19 -0
  196. package/src/endpoints/people.ts +79 -0
  197. package/src/endpoints/review.ts +11 -0
  198. package/src/endpoints/search.ts +78 -0
  199. package/src/endpoints/trending.ts +15 -0
  200. package/src/endpoints/tvEpisodes.ts +88 -0
  201. package/src/endpoints/tvSeasons.ts +93 -0
  202. package/src/endpoints/tvShows.ts +151 -0
  203. package/src/index.ts +66 -0
  204. package/src/utils/api.ts +31 -0
  205. package/src/utils/getimagePath.ts +16 -0
  206. package/src/utils/index.ts +2 -0
  207. package/tsconfig.json +108 -0
@@ -0,0 +1,284 @@
1
+ import { Genre, LanguageOption, ProductionCompany, ProductionCountry, SpokenLanguage } from '..';
2
+
3
+ export interface CreatedBy {
4
+ id: number;
5
+ credit_id: string;
6
+ name: string;
7
+ gender: number;
8
+ profile_path: string;
9
+ }
10
+
11
+ export interface NextEpisodeToAir {
12
+ id: number;
13
+ name: string;
14
+ overview: string;
15
+ vote_average: number;
16
+ vote_count: number;
17
+ air_date: string;
18
+ episode_number: number;
19
+ production_code: string;
20
+ runtime: number;
21
+ season_number: number;
22
+ show_id: number;
23
+ still_path: string;
24
+ }
25
+
26
+ export interface LastEpisodeToAir {
27
+ air_date: string;
28
+ episode_number: number;
29
+ id: number;
30
+ name: string;
31
+ overview: string;
32
+ production_code: string;
33
+ season_number: number;
34
+ still_path: string;
35
+ vote_average: number;
36
+ vote_count: number;
37
+ }
38
+
39
+ export interface Network {
40
+ name: string;
41
+ id: number;
42
+ logo_path: string;
43
+ origin_country: string;
44
+ }
45
+
46
+ export interface Season {
47
+ air_date: string;
48
+ episode_count: number;
49
+ id: number;
50
+ name: string;
51
+ overview: string;
52
+ poster_path: string;
53
+ season_number: number;
54
+ }
55
+
56
+ export interface TvShowDetails {
57
+ backdrop_path: string;
58
+ created_by: CreatedBy[];
59
+ episode_run_time: number[];
60
+ first_air_date: string;
61
+ genres: Genre[];
62
+ homepage: string;
63
+ id: number;
64
+ in_production: boolean;
65
+ languages: string[];
66
+ last_air_date: string;
67
+ last_episode_to_air: LastEpisodeToAir;
68
+ name: string;
69
+ next_episode_to_air?: NextEpisodeToAir;
70
+ networks: Network[];
71
+ number_of_episodes: number;
72
+ number_of_seasons: number;
73
+ origin_country: string[];
74
+ original_language: string;
75
+ original_name: string;
76
+ overview: string;
77
+ popularity: number;
78
+ poster_path: string;
79
+ production_companies: ProductionCompany[];
80
+ production_countries: ProductionCountry[];
81
+ seasons: Season[];
82
+ spoken_languages: SpokenLanguage[];
83
+ status: string;
84
+ tagline: string;
85
+ type: string;
86
+ vote_average: number;
87
+ vote_count: number;
88
+ }
89
+
90
+ export interface Network {
91
+ id: number;
92
+ logo_path: string;
93
+ name: string;
94
+ origin_country: string;
95
+ }
96
+
97
+ export interface EpisodeGroup {
98
+ description: string;
99
+ episode_count: number;
100
+ group_count: number;
101
+ id: string;
102
+ name: string;
103
+ network: Network;
104
+ type: number;
105
+ }
106
+
107
+ export interface EpisodeGroups {
108
+ results: EpisodeGroup[];
109
+ id: number;
110
+ }
111
+
112
+ export interface ScreenedTheatricallyResult {
113
+ id: number;
114
+ episode_number: number;
115
+ season_number: number;
116
+ }
117
+
118
+ export interface ScreenedTheatrically {
119
+ id: number;
120
+ results: ScreenedTheatricallyResult[];
121
+ }
122
+
123
+ export interface SimilarTvShow {
124
+ backdrop_path: string;
125
+ first_air_date: string;
126
+ genre_ids: number[];
127
+ id: number;
128
+ original_language: string;
129
+ original_name: string;
130
+ overview: string;
131
+ origin_country: string[];
132
+ poster_path: string;
133
+ popularity: number;
134
+ name: string;
135
+ vote_average: number;
136
+ vote_count: number;
137
+ }
138
+
139
+ export interface Similartv {
140
+ page: number;
141
+ results: SimilarTvShow[];
142
+ total_pages: number;
143
+ total_results: number;
144
+ }
145
+
146
+ export interface Latesttv {
147
+ backdrop_path?: string;
148
+ created_by: CreatedBy[];
149
+ episode_run_time: number[];
150
+ first_air_date: string;
151
+ genres: Genre[];
152
+ homepage: string;
153
+ id: number;
154
+ in_production: boolean;
155
+ languages: string[];
156
+ last_air_date: string;
157
+ name: string;
158
+ networks: Network[];
159
+ number_of_episodes: number;
160
+ number_of_seasons: number;
161
+ origin_country: string[];
162
+ original_language: string;
163
+ original_name: string;
164
+ overview?: string;
165
+ popularity: number;
166
+ poster_path?: string;
167
+ production_companies: ProductionCompany[];
168
+ seasons: Season[];
169
+ status: string;
170
+ type: string;
171
+ vote_average: number;
172
+ vote_count: number;
173
+ }
174
+
175
+ export interface OnTheAirResult {
176
+ poster_path: string;
177
+ popularity: number;
178
+ id: number;
179
+ backdrop_path: string;
180
+ vote_average: number;
181
+ overview: string;
182
+ first_air_date: string;
183
+ origin_country: string[];
184
+ genre_ids: number[];
185
+ original_language: string;
186
+ vote_count: number;
187
+ name: string;
188
+ original_name: string;
189
+ }
190
+
191
+ export interface OnTheAir {
192
+ page: number;
193
+ results: OnTheAirResult[];
194
+ total_results: number;
195
+ total_pages: number;
196
+ }
197
+
198
+ export interface AiringTodayResult {
199
+ poster_path: string;
200
+ popularity: number;
201
+ id: number;
202
+ backdrop_path: string;
203
+ vote_average: number;
204
+ overview: string;
205
+ first_air_date: string;
206
+ origin_country: string[];
207
+ genre_ids: number[];
208
+ original_language: string;
209
+ vote_count: number;
210
+ name: string;
211
+ original_name: string;
212
+ }
213
+
214
+ export interface tvAiringToday {
215
+ page: number;
216
+ results: AiringTodayResult[];
217
+ total_results: number;
218
+ total_pages: number;
219
+ }
220
+
221
+ export interface PopularTvShowResult {
222
+ poster_path: string;
223
+ popularity: number;
224
+ id: number;
225
+ backdrop_path: string;
226
+ vote_average: number;
227
+ overview: string;
228
+ first_air_date: string;
229
+ origin_country: string[];
230
+ genre_ids: number[];
231
+ original_language: string;
232
+ vote_count: number;
233
+ name: string;
234
+ original_name: string;
235
+ }
236
+
237
+ export interface Populartv {
238
+ page: number;
239
+ results: PopularTvShowResult[];
240
+ total_results: number;
241
+ total_pages: number;
242
+ }
243
+
244
+ export interface TopRatedTvShowResult {
245
+ poster_path: string;
246
+ popularity: number;
247
+ id: number;
248
+ backdrop_path: string;
249
+ vote_average: number;
250
+ overview: string;
251
+ first_air_date: string;
252
+ origin_country: string[];
253
+ genre_ids: number[];
254
+ original_language: string;
255
+ vote_count: number;
256
+ name: string;
257
+ original_name: string;
258
+ }
259
+
260
+ export interface TopRatedtv {
261
+ page: number;
262
+ results: TopRatedTvShowResult[];
263
+ total_results: number;
264
+ total_pages: number;
265
+ }
266
+
267
+ export interface TvShowChangeValue {
268
+ season_id: number;
269
+ season_number: number;
270
+ }
271
+
272
+ export interface TvShowImageOptions extends LanguageOption {
273
+ /**
274
+ * a list of ISO-639-1 values to query
275
+ */
276
+ include_image_language?: string[];
277
+ }
278
+
279
+ export interface TvShowVideoOptions extends LanguageOption {
280
+ /**
281
+ * a list of ISO-639-1 values to query
282
+ */
283
+ include_video_language?: string[];
284
+ }
@@ -0,0 +1,298 @@
1
+ export interface Flatrate {
2
+ display_priority: number;
3
+ logo_path: string;
4
+ provider_id: number;
5
+ provider_name: string;
6
+ }
7
+
8
+ export interface Rent {
9
+ display_priority: number;
10
+ logo_path: string;
11
+ provider_id: number;
12
+ provider_name: string;
13
+ }
14
+
15
+ export interface Buy {
16
+ display_priority: number;
17
+ logo_path: string;
18
+ provider_id: number;
19
+ provider_name: string;
20
+ }
21
+
22
+ export interface WatchLocale {
23
+ AR: {
24
+ link: string;
25
+ flatrate: Flatrate[];
26
+ rent: Rent[];
27
+ buy: Buy[];
28
+ };
29
+ AT: {
30
+ link: string;
31
+ rent: Rent[];
32
+ buy: Buy[];
33
+ };
34
+ AU: {
35
+ link: string;
36
+ flatrate: Flatrate[];
37
+ rent: Rent[];
38
+ buy: Buy[];
39
+ };
40
+ BE: {
41
+ link: string;
42
+ buy: Buy[];
43
+ flatrate: Flatrate[];
44
+ rent: Rent[];
45
+ };
46
+ BR: {
47
+ link: string;
48
+ rent: Rent[];
49
+ buy: Buy[];
50
+ flatrate: Flatrate[];
51
+ };
52
+ CA: {
53
+ link: string;
54
+ rent: Rent[];
55
+ flatrate: Flatrate[];
56
+ buy: Buy[];
57
+ };
58
+ CH: {
59
+ link: string;
60
+ rent: Rent[];
61
+ buy: Buy[];
62
+ flatrate: Flatrate[];
63
+ };
64
+ CL: {
65
+ link: string;
66
+ flatrate: Flatrate[];
67
+ buy: Buy[];
68
+ rent: Rent[];
69
+ };
70
+ CO: {
71
+ link: string;
72
+ flatrate: Flatrate[];
73
+ rent: Rent[];
74
+ buy: Buy[];
75
+ };
76
+ CZ: {
77
+ link: string;
78
+ buy: Buy[];
79
+ flatrate: Flatrate[];
80
+ rent: Rent[];
81
+ };
82
+ DE: {
83
+ link: string;
84
+ rent: Rent[];
85
+ buy: Buy[];
86
+ };
87
+ DK: {
88
+ link: string;
89
+ rent: Rent[];
90
+ buy: Buy[];
91
+ flatrate: Flatrate[];
92
+ };
93
+ EC: {
94
+ link: string;
95
+ flatrate: Flatrate[];
96
+ buy: Buy[];
97
+ rent: Rent[];
98
+ };
99
+ EE: {
100
+ link: string;
101
+ flatrate: Flatrate[];
102
+ buy: Buy[];
103
+ rent: Rent[];
104
+ };
105
+ ES: {
106
+ link: string;
107
+ rent: Rent[];
108
+ flatrate: Flatrate[];
109
+ buy: Buy[];
110
+ };
111
+ FI: {
112
+ link: string;
113
+ buy: Buy[];
114
+ flatrate: Flatrate[];
115
+ rent: Rent[];
116
+ };
117
+ FR: {
118
+ link: string;
119
+ flatrate: Flatrate[];
120
+ buy: Buy[];
121
+ rent: Rent[];
122
+ };
123
+ GB: {
124
+ link: string;
125
+ rent: Rent[];
126
+ flatrate: Flatrate[];
127
+ buy: Buy[];
128
+ };
129
+ GR: {
130
+ link: string;
131
+ flatrate: Flatrate[];
132
+ rent: Rent[];
133
+ buy: Buy[];
134
+ };
135
+ HU: {
136
+ link: string;
137
+ rent: Rent[];
138
+ buy: Buy[];
139
+ flatrate: Flatrate[];
140
+ };
141
+ ID: {
142
+ link: string;
143
+ flatrate: Flatrate[];
144
+ rent: Rent[];
145
+ buy: Buy[];
146
+ };
147
+ IE: {
148
+ link: string;
149
+ rent: Rent[];
150
+ flatrate: Flatrate[];
151
+ buy: Buy[];
152
+ };
153
+ IN: {
154
+ link: string;
155
+ buy: Buy[];
156
+ flatrate: Flatrate[];
157
+ rent: Rent[];
158
+ };
159
+ IT: {
160
+ link: string;
161
+ buy: Buy[];
162
+ flatrate: Flatrate[];
163
+ rent: Rent[];
164
+ };
165
+ JP: {
166
+ link: string;
167
+ rent: Rent[];
168
+ flatrate: Flatrate[];
169
+ buy: Buy[];
170
+ };
171
+ KR: {
172
+ link: string;
173
+ buy: Buy[];
174
+ rent: Rent[];
175
+ flatrate: Flatrate[];
176
+ };
177
+ LT: {
178
+ link: string;
179
+ buy: Buy[];
180
+ flatrate: Flatrate[];
181
+ };
182
+ LV: {
183
+ link: string;
184
+ buy: Buy[];
185
+ flatrate: Flatrate[];
186
+ };
187
+ MX: {
188
+ link: string;
189
+ flatrate: Flatrate[];
190
+ rent: Rent[];
191
+ buy: Buy[];
192
+ };
193
+ MY: {
194
+ link: string;
195
+ rent: Rent[];
196
+ flatrate: Flatrate[];
197
+ buy: Buy[];
198
+ };
199
+ NL: {
200
+ link: string;
201
+ flatrate: Flatrate[];
202
+ buy: Buy[];
203
+ rent: Rent[];
204
+ };
205
+ NO: {
206
+ link: string;
207
+ buy: Buy[];
208
+ rent: Rent[];
209
+ flatrate: Flatrate[];
210
+ };
211
+ NZ: {
212
+ link: string;
213
+ buy: Buy[];
214
+ rent: Rent[];
215
+ flatrate: Flatrate[];
216
+ };
217
+ PE: {
218
+ link: string;
219
+ flatrate: Flatrate[];
220
+ rent: Rent[];
221
+ buy: Buy[];
222
+ };
223
+ PH: {
224
+ link: string;
225
+ rent: Rent[];
226
+ buy: Buy[];
227
+ flatrate: Flatrate[];
228
+ };
229
+ PL: {
230
+ link: string;
231
+ rent: Rent[];
232
+ flatrate: Flatrate[];
233
+ buy: Buy[];
234
+ };
235
+ PT: {
236
+ link: string;
237
+ rent: Rent[];
238
+ flatrate: Flatrate[];
239
+ buy: Buy[];
240
+ };
241
+ RO: {
242
+ link: string;
243
+ flatrate: Flatrate[];
244
+ };
245
+ RU: {
246
+ link: string;
247
+ rent: Rent[];
248
+ flatrate: Flatrate[];
249
+ buy: Buy[];
250
+ };
251
+ SE: {
252
+ link: string;
253
+ rent: Rent[];
254
+ flatrate: Flatrate[];
255
+ buy: Buy[];
256
+ };
257
+ SG: {
258
+ link: string;
259
+ flatrate: Flatrate[];
260
+ buy: Buy[];
261
+ rent: Rent[];
262
+ };
263
+ TH: {
264
+ link: string;
265
+ flatrate: Flatrate[];
266
+ rent: Rent[];
267
+ buy: Buy[];
268
+ };
269
+ TR: {
270
+ link: string;
271
+ buy: Buy[];
272
+ rent: Rent[];
273
+ flatrate: Flatrate[];
274
+ };
275
+ US: {
276
+ link: string;
277
+ rent: Rent[];
278
+ buy: Buy[];
279
+ flatrate: Flatrate[];
280
+ };
281
+ VE: {
282
+ link: string;
283
+ flatrate: Flatrate[];
284
+ rent: Rent[];
285
+ buy: Buy[];
286
+ };
287
+ ZA: {
288
+ link: string;
289
+ rent: Rent[];
290
+ buy: Buy[];
291
+ flatrate: Flatrate[];
292
+ };
293
+ }
294
+
295
+ export interface WatchProviders {
296
+ id: number;
297
+ results: WatchLocale;
298
+ }
@@ -0,0 +1,3 @@
1
+ export * from './endpoints';
2
+ export * from './models';
3
+ export * from './types';
@@ -0,0 +1,9 @@
1
+ import { API } from '@/utils';
2
+
3
+ export class BaseEndpoint {
4
+ protected api: API;
5
+
6
+ constructor(protected readonly access_token: string) {
7
+ this.api = new API(access_token);
8
+ }
9
+ }
@@ -0,0 +1 @@
1
+ export * from './baseEndpoint';