@jellyfin/sdk 0.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.
Files changed (870) hide show
  1. package/.gitattributes +5 -0
  2. package/LICENSE +373 -0
  3. package/README.md +141 -0
  4. package/lib/api.d.ts +42 -0
  5. package/lib/api.js +99 -0
  6. package/lib/discovery/discovery-service.d.ts +41 -0
  7. package/lib/discovery/discovery-service.js +112 -0
  8. package/lib/discovery/index.d.ts +7 -0
  9. package/lib/discovery/index.js +23 -0
  10. package/lib/discovery/recommended-server-discovery.d.ts +23 -0
  11. package/lib/discovery/recommended-server-discovery.js +153 -0
  12. package/lib/generated-client/api/activity-log-api.d.ts +113 -0
  13. package/lib/generated-client/api/activity-log-api.js +234 -0
  14. package/lib/generated-client/api/api-key-api.d.ts +161 -0
  15. package/lib/generated-client/api/api-key-api.js +374 -0
  16. package/lib/generated-client/api/artists-api.d.ts +751 -0
  17. package/lib/generated-client/api/artists-api.js +759 -0
  18. package/lib/generated-client/api/audio-api.d.ts +1985 -0
  19. package/lib/generated-client/api/audio-api.js +1582 -0
  20. package/lib/generated-client/api/branding-api.d.ts +127 -0
  21. package/lib/generated-client/api/branding-api.js +334 -0
  22. package/lib/generated-client/api/channels-api.d.ts +419 -0
  23. package/lib/generated-client/api/channels-api.js +648 -0
  24. package/lib/generated-client/api/client-log-api.d.ts +86 -0
  25. package/lib/generated-client/api/client-log-api.js +213 -0
  26. package/lib/generated-client/api/collection-api.d.ts +223 -0
  27. package/lib/generated-client/api/collection-api.js +414 -0
  28. package/lib/generated-client/api/configuration-api.d.ts +293 -0
  29. package/lib/generated-client/api/configuration-api.js +623 -0
  30. package/lib/generated-client/api/dashboard-api.d.ts +132 -0
  31. package/lib/generated-client/api/dashboard-api.js +290 -0
  32. package/lib/generated-client/api/devices-api.d.ts +291 -0
  33. package/lib/generated-client/api/devices-api.js +567 -0
  34. package/lib/generated-client/api/display-preferences-api.d.ts +177 -0
  35. package/lib/generated-client/api/display-preferences-api.js +335 -0
  36. package/lib/generated-client/api/dlna-api.d.ts +292 -0
  37. package/lib/generated-client/api/dlna-api.js +619 -0
  38. package/lib/generated-client/api/dlna-server-api.d.ts +784 -0
  39. package/lib/generated-client/api/dlna-server-api.js +1464 -0
  40. package/lib/generated-client/api/dynamic-hls-api.d.ts +4604 -0
  41. package/lib/generated-client/api/dynamic-hls-api.js +3611 -0
  42. package/lib/generated-client/api/environment-api.d.ts +289 -0
  43. package/lib/generated-client/api/environment-api.js +628 -0
  44. package/lib/generated-client/api/filter-api.d.ts +242 -0
  45. package/lib/generated-client/api/filter-api.js +370 -0
  46. package/lib/generated-client/api/genres-api.d.ts +299 -0
  47. package/lib/generated-client/api/genres-api.js +405 -0
  48. package/lib/generated-client/api/hls-segment-api.d.ts +332 -0
  49. package/lib/generated-client/api/hls-segment-api.js +567 -0
  50. package/lib/generated-client/api/image-api.d.ts +6744 -0
  51. package/lib/generated-client/api/image-api.js +6515 -0
  52. package/lib/generated-client/api/image-by-name-api.d.ts +292 -0
  53. package/lib/generated-client/api/image-by-name-api.js +601 -0
  54. package/lib/generated-client/api/instant-mix-api.d.ts +918 -0
  55. package/lib/generated-client/api/instant-mix-api.js +1138 -0
  56. package/lib/generated-client/api/item-lookup-api.d.ts +574 -0
  57. package/lib/generated-client/api/item-lookup-api.js +1065 -0
  58. package/lib/generated-client/api/item-refresh-api.d.ts +122 -0
  59. package/lib/generated-client/api/item-refresh-api.js +237 -0
  60. package/lib/generated-client/api/item-update-api.d.ts +197 -0
  61. package/lib/generated-client/api/item-update-api.js +392 -0
  62. package/lib/generated-client/api/items-api.d.ts +1824 -0
  63. package/lib/generated-client/api/items-api.js +1488 -0
  64. package/lib/generated-client/api/library-api.d.ts +1482 -0
  65. package/lib/generated-client/api/library-api.js +2414 -0
  66. package/lib/generated-client/api/library-structure-api.d.ts +486 -0
  67. package/lib/generated-client/api/library-structure-api.js +852 -0
  68. package/lib/generated-client/api/live-tv-api.d.ts +2844 -0
  69. package/lib/generated-client/api/live-tv-api.js +4165 -0
  70. package/lib/generated-client/api/localization-api.d.ts +159 -0
  71. package/lib/generated-client/api/localization-api.js +434 -0
  72. package/lib/generated-client/api/media-info-api.d.ts +516 -0
  73. package/lib/generated-client/api/media-info-api.js +711 -0
  74. package/lib/generated-client/api/movies-api.d.ts +123 -0
  75. package/lib/generated-client/api/movies-api.js +238 -0
  76. package/lib/generated-client/api/music-genres-api.d.ts +303 -0
  77. package/lib/generated-client/api/music-genres-api.js +409 -0
  78. package/lib/generated-client/api/notifications-api.d.ts +332 -0
  79. package/lib/generated-client/api/notifications-api.js +698 -0
  80. package/lib/generated-client/api/package-api.d.ts +319 -0
  81. package/lib/generated-client/api/package-api.js +639 -0
  82. package/lib/generated-client/api/persons-api.d.ts +253 -0
  83. package/lib/generated-client/api/persons-api.js +375 -0
  84. package/lib/generated-client/api/playlists-api.d.ts +427 -0
  85. package/lib/generated-client/api/playlists-api.js +649 -0
  86. package/lib/generated-client/api/playstate-api.d.ts +720 -0
  87. package/lib/generated-client/api/playstate-api.js +1055 -0
  88. package/lib/generated-client/api/plugins-api.d.ts +477 -0
  89. package/lib/generated-client/api/plugins-api.js +898 -0
  90. package/lib/generated-client/api/quick-connect-api.d.ts +190 -0
  91. package/lib/generated-client/api/quick-connect-api.js +428 -0
  92. package/lib/generated-client/api/remote-image-api.d.ts +243 -0
  93. package/lib/generated-client/api/remote-image-api.js +423 -0
  94. package/lib/generated-client/api/scheduled-tasks-api.d.ts +289 -0
  95. package/lib/generated-client/api/scheduled-tasks-api.js +559 -0
  96. package/lib/generated-client/api/search-api.d.ts +240 -0
  97. package/lib/generated-client/api/search-api.js +317 -0
  98. package/lib/generated-client/api/session-api.d.ts +985 -0
  99. package/lib/generated-client/api/session-api.js +1622 -0
  100. package/lib/generated-client/api/startup-api.d.ts +296 -0
  101. package/lib/generated-client/api/startup-api.js +685 -0
  102. package/lib/generated-client/api/studios-api.d.ts +289 -0
  103. package/lib/generated-client/api/studios-api.js +399 -0
  104. package/lib/generated-client/api/subtitle-api.d.ts +764 -0
  105. package/lib/generated-client/api/subtitle-api.js +1126 -0
  106. package/lib/generated-client/api/suggestions-api.d.ts +132 -0
  107. package/lib/generated-client/api/suggestions-api.js +243 -0
  108. package/lib/generated-client/api/sync-play-api.d.ts +937 -0
  109. package/lib/generated-client/api/sync-play-api.js +1854 -0
  110. package/lib/generated-client/api/system-api.d.ts +355 -0
  111. package/lib/generated-client/api/system-api.js +879 -0
  112. package/lib/generated-client/api/time-sync-api.d.ts +69 -0
  113. package/lib/generated-client/api/time-sync-api.js +198 -0
  114. package/lib/generated-client/api/tmdb-api.d.ts +69 -0
  115. package/lib/generated-client/api/tmdb-api.js +206 -0
  116. package/lib/generated-client/api/trailers-api.d.ts +841 -0
  117. package/lib/generated-client/api/trailers-api.js +720 -0
  118. package/lib/generated-client/api/tv-shows-api.d.ts +622 -0
  119. package/lib/generated-client/api/tv-shows-api.js +730 -0
  120. package/lib/generated-client/api/universal-audio-api.d.ts +437 -0
  121. package/lib/generated-client/api/universal-audio-api.js +500 -0
  122. package/lib/generated-client/api/user-api.d.ts +826 -0
  123. package/lib/generated-client/api/user-api.js +1457 -0
  124. package/lib/generated-client/api/user-library-api.d.ts +676 -0
  125. package/lib/generated-client/api/user-library-api.js +1074 -0
  126. package/lib/generated-client/api/user-views-api.d.ts +160 -0
  127. package/lib/generated-client/api/user-views-api.js +314 -0
  128. package/lib/generated-client/api/video-attachments-api.d.ts +103 -0
  129. package/lib/generated-client/api/video-attachments-api.js +217 -0
  130. package/lib/generated-client/api/videos-api.d.ts +2205 -0
  131. package/lib/generated-client/api/videos-api.js +1887 -0
  132. package/lib/generated-client/api/years-api.d.ts +272 -0
  133. package/lib/generated-client/api/years-api.js +387 -0
  134. package/lib/generated-client/api.d.ts +71 -0
  135. package/lib/generated-client/api.js +89 -0
  136. package/lib/generated-client/base.d.ts +54 -0
  137. package/lib/generated-client/base.js +84 -0
  138. package/lib/generated-client/common.d.ts +64 -0
  139. package/lib/generated-client/common.js +242 -0
  140. package/lib/generated-client/configuration.d.ts +82 -0
  141. package/lib/generated-client/configuration.js +43 -0
  142. package/lib/generated-client/index.d.ts +13 -0
  143. package/lib/generated-client/index.js +31 -0
  144. package/lib/generated-client/models/access-schedule.d.ts +48 -0
  145. package/lib/generated-client/models/access-schedule.js +14 -0
  146. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +36 -0
  147. package/lib/generated-client/models/activity-log-entry-query-result.js +14 -0
  148. package/lib/generated-client/models/activity-log-entry.d.ts +79 -0
  149. package/lib/generated-client/models/activity-log-entry.js +14 -0
  150. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +24 -0
  151. package/lib/generated-client/models/add-virtual-folder-dto.js +14 -0
  152. package/lib/generated-client/models/admin-notification-dto.d.ts +42 -0
  153. package/lib/generated-client/models/admin-notification-dto.js +14 -0
  154. package/lib/generated-client/models/album-info-remote-search-query.d.ts +42 -0
  155. package/lib/generated-client/models/album-info-remote-search-query.js +14 -0
  156. package/lib/generated-client/models/album-info.d.ts +106 -0
  157. package/lib/generated-client/models/album-info.js +14 -0
  158. package/lib/generated-client/models/all-theme-media-result.d.ts +36 -0
  159. package/lib/generated-client/models/all-theme-media-result.js +14 -0
  160. package/lib/generated-client/models/architecture.d.ts +23 -0
  161. package/lib/generated-client/models/architecture.js +29 -0
  162. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +42 -0
  163. package/lib/generated-client/models/artist-info-remote-search-query.js +14 -0
  164. package/lib/generated-client/models/artist-info.d.ts +92 -0
  165. package/lib/generated-client/models/artist-info.js +14 -0
  166. package/lib/generated-client/models/authenticate-user-by-name.d.ts +36 -0
  167. package/lib/generated-client/models/authenticate-user-by-name.js +14 -0
  168. package/lib/generated-client/models/authentication-info-query-result.d.ts +36 -0
  169. package/lib/generated-client/models/authentication-info-query-result.js +14 -0
  170. package/lib/generated-client/models/authentication-info.d.ts +89 -0
  171. package/lib/generated-client/models/authentication-info.js +14 -0
  172. package/lib/generated-client/models/authentication-result.d.ts +43 -0
  173. package/lib/generated-client/models/authentication-result.js +14 -0
  174. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +121 -0
  175. package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +14 -0
  176. package/lib/generated-client/models/base-item-dto-query-result.d.ts +36 -0
  177. package/lib/generated-client/models/base-item-dto-query-result.js +14 -0
  178. package/lib/generated-client/models/base-item-dto.d.ts +947 -0
  179. package/lib/generated-client/models/base-item-dto.js +14 -0
  180. package/lib/generated-client/models/base-item-kind.d.ts +54 -0
  181. package/lib/generated-client/models/base-item-kind.js +60 -0
  182. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +121 -0
  183. package/lib/generated-client/models/base-item-person-image-blur-hashes.js +14 -0
  184. package/lib/generated-client/models/base-item-person.d.ts +54 -0
  185. package/lib/generated-client/models/base-item-person.js +14 -0
  186. package/lib/generated-client/models/base-item.d.ts +84 -0
  187. package/lib/generated-client/models/base-item.js +14 -0
  188. package/lib/generated-client/models/book-info-remote-search-query.d.ts +42 -0
  189. package/lib/generated-client/models/book-info-remote-search-query.js +14 -0
  190. package/lib/generated-client/models/book-info.d.ts +91 -0
  191. package/lib/generated-client/models/book-info.js +14 -0
  192. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +42 -0
  193. package/lib/generated-client/models/box-set-info-remote-search-query.js +14 -0
  194. package/lib/generated-client/models/box-set-info.d.ts +85 -0
  195. package/lib/generated-client/models/box-set-info.js +14 -0
  196. package/lib/generated-client/models/branding-options.d.ts +35 -0
  197. package/lib/generated-client/models/branding-options.js +14 -0
  198. package/lib/generated-client/models/buffer-request-dto.d.ts +41 -0
  199. package/lib/generated-client/models/buffer-request-dto.js +14 -0
  200. package/lib/generated-client/models/channel-features.d.ts +92 -0
  201. package/lib/generated-client/models/channel-features.js +14 -0
  202. package/lib/generated-client/models/channel-item-sort-field.d.ts +24 -0
  203. package/lib/generated-client/models/channel-item-sort-field.js +30 -0
  204. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +44 -0
  205. package/lib/generated-client/models/channel-mapping-options-dto.js +14 -0
  206. package/lib/generated-client/models/channel-media-content-type.d.ts +25 -0
  207. package/lib/generated-client/models/channel-media-content-type.js +31 -0
  208. package/lib/generated-client/models/channel-media-type.d.ts +20 -0
  209. package/lib/generated-client/models/channel-media-type.js +26 -0
  210. package/lib/generated-client/models/channel-type.d.ts +19 -0
  211. package/lib/generated-client/models/channel-type.js +25 -0
  212. package/lib/generated-client/models/chapter-info.d.ts +47 -0
  213. package/lib/generated-client/models/chapter-info.js +14 -0
  214. package/lib/generated-client/models/client-capabilities-dto.d.ts +79 -0
  215. package/lib/generated-client/models/client-capabilities-dto.js +14 -0
  216. package/lib/generated-client/models/client-capabilities.d.ts +79 -0
  217. package/lib/generated-client/models/client-capabilities.js +14 -0
  218. package/lib/generated-client/models/client-log-document-response-dto.d.ts +23 -0
  219. package/lib/generated-client/models/client-log-document-response-dto.js +14 -0
  220. package/lib/generated-client/models/codec-profile.d.ts +49 -0
  221. package/lib/generated-client/models/codec-profile.js +14 -0
  222. package/lib/generated-client/models/codec-type.d.ts +20 -0
  223. package/lib/generated-client/models/codec-type.js +26 -0
  224. package/lib/generated-client/models/collection-creation-result.d.ts +23 -0
  225. package/lib/generated-client/models/collection-creation-result.js +14 -0
  226. package/lib/generated-client/models/collection-type-options.d.ts +25 -0
  227. package/lib/generated-client/models/collection-type-options.js +31 -0
  228. package/lib/generated-client/models/config-image-types.d.ts +59 -0
  229. package/lib/generated-client/models/config-image-types.js +14 -0
  230. package/lib/generated-client/models/configuration-page-info.d.ts +53 -0
  231. package/lib/generated-client/models/configuration-page-info.js +14 -0
  232. package/lib/generated-client/models/container-profile.d.ts +37 -0
  233. package/lib/generated-client/models/container-profile.js +14 -0
  234. package/lib/generated-client/models/control-response.d.ts +37 -0
  235. package/lib/generated-client/models/control-response.js +14 -0
  236. package/lib/generated-client/models/country-info.d.ts +41 -0
  237. package/lib/generated-client/models/country-info.js +14 -0
  238. package/lib/generated-client/models/create-playlist-dto.d.ts +41 -0
  239. package/lib/generated-client/models/create-playlist-dto.js +14 -0
  240. package/lib/generated-client/models/create-user-by-name.d.ts +29 -0
  241. package/lib/generated-client/models/create-user-by-name.js +14 -0
  242. package/lib/generated-client/models/culture-dto.d.ts +47 -0
  243. package/lib/generated-client/models/culture-dto.js +14 -0
  244. package/lib/generated-client/models/day-of-week.d.ts +24 -0
  245. package/lib/generated-client/models/day-of-week.js +30 -0
  246. package/lib/generated-client/models/day-pattern.d.ts +20 -0
  247. package/lib/generated-client/models/day-pattern.js +26 -0
  248. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +23 -0
  249. package/lib/generated-client/models/default-directory-browser-info-dto.js +14 -0
  250. package/lib/generated-client/models/device-identification.d.ts +72 -0
  251. package/lib/generated-client/models/device-identification.js +14 -0
  252. package/lib/generated-client/models/device-info-query-result.d.ts +36 -0
  253. package/lib/generated-client/models/device-info-query-result.js +14 -0
  254. package/lib/generated-client/models/device-info.d.ts +78 -0
  255. package/lib/generated-client/models/device-info.js +14 -0
  256. package/lib/generated-client/models/device-options-dto.d.ts +35 -0
  257. package/lib/generated-client/models/device-options-dto.js +14 -0
  258. package/lib/generated-client/models/device-options.d.ts +35 -0
  259. package/lib/generated-client/models/device-options.js +14 -0
  260. package/lib/generated-client/models/device-profile-info.d.ts +36 -0
  261. package/lib/generated-client/models/device-profile-info.js +14 -0
  262. package/lib/generated-client/models/device-profile-type.d.ts +19 -0
  263. package/lib/generated-client/models/device-profile-type.js +25 -0
  264. package/lib/generated-client/models/device-profile.d.ts +259 -0
  265. package/lib/generated-client/models/device-profile.js +14 -0
  266. package/lib/generated-client/models/direct-play-profile.d.ts +42 -0
  267. package/lib/generated-client/models/direct-play-profile.js +14 -0
  268. package/lib/generated-client/models/display-preferences-dto.d.ts +105 -0
  269. package/lib/generated-client/models/display-preferences-dto.js +14 -0
  270. package/lib/generated-client/models/dlna-options.d.ts +83 -0
  271. package/lib/generated-client/models/dlna-options.js +14 -0
  272. package/lib/generated-client/models/dlna-profile-type.d.ts +21 -0
  273. package/lib/generated-client/models/dlna-profile-type.js +27 -0
  274. package/lib/generated-client/models/dynamic-day-of-week.d.ts +27 -0
  275. package/lib/generated-client/models/dynamic-day-of-week.js +33 -0
  276. package/lib/generated-client/models/embedded-subtitle-options.d.ts +21 -0
  277. package/lib/generated-client/models/embedded-subtitle-options.js +27 -0
  278. package/lib/generated-client/models/encoding-context.d.ts +19 -0
  279. package/lib/generated-client/models/encoding-context.js +25 -0
  280. package/lib/generated-client/models/encoding-options.d.ts +245 -0
  281. package/lib/generated-client/models/encoding-options.js +14 -0
  282. package/lib/generated-client/models/end-point-info.d.ts +29 -0
  283. package/lib/generated-client/models/end-point-info.js +14 -0
  284. package/lib/generated-client/models/external-id-info.d.ts +42 -0
  285. package/lib/generated-client/models/external-id-info.js +14 -0
  286. package/lib/generated-client/models/external-id-media-type.d.ts +29 -0
  287. package/lib/generated-client/models/external-id-media-type.js +35 -0
  288. package/lib/generated-client/models/external-url.d.ts +29 -0
  289. package/lib/generated-client/models/external-url.js +14 -0
  290. package/lib/generated-client/models/ffmpeg-location.d.ts +21 -0
  291. package/lib/generated-client/models/ffmpeg-location.js +27 -0
  292. package/lib/generated-client/models/file-system-entry-info.d.ts +36 -0
  293. package/lib/generated-client/models/file-system-entry-info.js +14 -0
  294. package/lib/generated-client/models/file-system-entry-type.d.ts +21 -0
  295. package/lib/generated-client/models/file-system-entry-type.js +27 -0
  296. package/lib/generated-client/models/font-file.d.ts +41 -0
  297. package/lib/generated-client/models/font-file.js +14 -0
  298. package/lib/generated-client/models/forgot-password-action.d.ts +20 -0
  299. package/lib/generated-client/models/forgot-password-action.js +26 -0
  300. package/lib/generated-client/models/forgot-password-dto.d.ts +23 -0
  301. package/lib/generated-client/models/forgot-password-dto.js +14 -0
  302. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +23 -0
  303. package/lib/generated-client/models/forgot-password-pin-dto.js +14 -0
  304. package/lib/generated-client/models/forgot-password-result.d.ts +36 -0
  305. package/lib/generated-client/models/forgot-password-result.js +14 -0
  306. package/lib/generated-client/models/general-command-type.d.ts +59 -0
  307. package/lib/generated-client/models/general-command-type.js +65 -0
  308. package/lib/generated-client/models/general-command.d.ts +38 -0
  309. package/lib/generated-client/models/general-command.js +14 -0
  310. package/lib/generated-client/models/get-programs-dto.d.ts +182 -0
  311. package/lib/generated-client/models/get-programs-dto.js +14 -0
  312. package/lib/generated-client/models/group-info-dto.d.ts +48 -0
  313. package/lib/generated-client/models/group-info-dto.js +14 -0
  314. package/lib/generated-client/models/group-queue-mode.d.ts +19 -0
  315. package/lib/generated-client/models/group-queue-mode.js +25 -0
  316. package/lib/generated-client/models/group-repeat-mode.d.ts +20 -0
  317. package/lib/generated-client/models/group-repeat-mode.js +26 -0
  318. package/lib/generated-client/models/group-shuffle-mode.d.ts +19 -0
  319. package/lib/generated-client/models/group-shuffle-mode.js +25 -0
  320. package/lib/generated-client/models/group-state-type.d.ts +21 -0
  321. package/lib/generated-client/models/group-state-type.js +27 -0
  322. package/lib/generated-client/models/group-update-type.d.ts +28 -0
  323. package/lib/generated-client/models/group-update-type.js +34 -0
  324. package/lib/generated-client/models/guide-info.d.ts +29 -0
  325. package/lib/generated-client/models/guide-info.js +14 -0
  326. package/lib/generated-client/models/hardware-encoding-type.d.ts +23 -0
  327. package/lib/generated-client/models/hardware-encoding-type.js +29 -0
  328. package/lib/generated-client/models/header-match-type.d.ts +20 -0
  329. package/lib/generated-client/models/header-match-type.js +26 -0
  330. package/lib/generated-client/models/http-header-info.d.ts +36 -0
  331. package/lib/generated-client/models/http-header-info.js +14 -0
  332. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +23 -0
  333. package/lib/generated-client/models/ignore-wait-request-dto.js +14 -0
  334. package/lib/generated-client/models/image-by-name-info.d.ts +47 -0
  335. package/lib/generated-client/models/image-by-name-info.js +14 -0
  336. package/lib/generated-client/models/image-format.d.ts +22 -0
  337. package/lib/generated-client/models/image-format.js +28 -0
  338. package/lib/generated-client/models/image-info.d.ts +66 -0
  339. package/lib/generated-client/models/image-info.js +14 -0
  340. package/lib/generated-client/models/image-option.d.ts +36 -0
  341. package/lib/generated-client/models/image-option.js +14 -0
  342. package/lib/generated-client/models/image-orientation.d.ts +25 -0
  343. package/lib/generated-client/models/image-orientation.js +31 -0
  344. package/lib/generated-client/models/image-provider-info.d.ts +30 -0
  345. package/lib/generated-client/models/image-provider-info.js +14 -0
  346. package/lib/generated-client/models/image-saving-convention.d.ts +19 -0
  347. package/lib/generated-client/models/image-saving-convention.js +25 -0
  348. package/lib/generated-client/models/image-type.d.ts +30 -0
  349. package/lib/generated-client/models/image-type.js +36 -0
  350. package/lib/generated-client/models/index.d.ts +284 -0
  351. package/lib/generated-client/models/index.js +300 -0
  352. package/lib/generated-client/models/installation-info.d.ts +60 -0
  353. package/lib/generated-client/models/installation-info.js +14 -0
  354. package/lib/generated-client/models/iplugin.d.ts +59 -0
  355. package/lib/generated-client/models/iplugin.js +14 -0
  356. package/lib/generated-client/models/iso-type.d.ts +19 -0
  357. package/lib/generated-client/models/iso-type.js +25 -0
  358. package/lib/generated-client/models/item-counts.d.ts +89 -0
  359. package/lib/generated-client/models/item-counts.js +14 -0
  360. package/lib/generated-client/models/item-fields.d.ts +78 -0
  361. package/lib/generated-client/models/item-fields.js +84 -0
  362. package/lib/generated-client/models/item-filter.d.ts +26 -0
  363. package/lib/generated-client/models/item-filter.js +32 -0
  364. package/lib/generated-client/models/join-group-request-dto.d.ts +23 -0
  365. package/lib/generated-client/models/join-group-request-dto.js +14 -0
  366. package/lib/generated-client/models/keep-until.d.ts +21 -0
  367. package/lib/generated-client/models/keep-until.js +27 -0
  368. package/lib/generated-client/models/library-option-info-dto.d.ts +29 -0
  369. package/lib/generated-client/models/library-option-info-dto.js +14 -0
  370. package/lib/generated-client/models/library-options-result-dto.d.ts +43 -0
  371. package/lib/generated-client/models/library-options-result-dto.js +14 -0
  372. package/lib/generated-client/models/library-options.d.ts +183 -0
  373. package/lib/generated-client/models/library-options.js +14 -0
  374. package/lib/generated-client/models/library-type-options-dto.d.ts +50 -0
  375. package/lib/generated-client/models/library-type-options-dto.js +14 -0
  376. package/lib/generated-client/models/library-update-info.d.ts +59 -0
  377. package/lib/generated-client/models/library-update-info.js +14 -0
  378. package/lib/generated-client/models/listings-provider-info.d.ts +126 -0
  379. package/lib/generated-client/models/listings-provider-info.js +14 -0
  380. package/lib/generated-client/models/live-stream-response.d.ts +24 -0
  381. package/lib/generated-client/models/live-stream-response.js +14 -0
  382. package/lib/generated-client/models/live-tv-info.d.ts +36 -0
  383. package/lib/generated-client/models/live-tv-info.js +14 -0
  384. package/lib/generated-client/models/live-tv-options.d.ts +97 -0
  385. package/lib/generated-client/models/live-tv-options.js +14 -0
  386. package/lib/generated-client/models/live-tv-service-info.d.ts +66 -0
  387. package/lib/generated-client/models/live-tv-service-info.js +14 -0
  388. package/lib/generated-client/models/live-tv-service-status.d.ts +19 -0
  389. package/lib/generated-client/models/live-tv-service-status.js +25 -0
  390. package/lib/generated-client/models/localization-option.d.ts +29 -0
  391. package/lib/generated-client/models/localization-option.js +14 -0
  392. package/lib/generated-client/models/location-type.d.ts +21 -0
  393. package/lib/generated-client/models/location-type.js +27 -0
  394. package/lib/generated-client/models/log-file.d.ts +41 -0
  395. package/lib/generated-client/models/log-file.js +14 -0
  396. package/lib/generated-client/models/log-level.d.ts +24 -0
  397. package/lib/generated-client/models/log-level.js +30 -0
  398. package/lib/generated-client/models/media-attachment.d.ts +59 -0
  399. package/lib/generated-client/models/media-attachment.js +14 -0
  400. package/lib/generated-client/models/media-encoder-path-dto.d.ts +29 -0
  401. package/lib/generated-client/models/media-encoder-path-dto.js +14 -0
  402. package/lib/generated-client/models/media-path-dto.d.ts +36 -0
  403. package/lib/generated-client/models/media-path-dto.js +14 -0
  404. package/lib/generated-client/models/media-path-info.d.ts +29 -0
  405. package/lib/generated-client/models/media-path-info.js +14 -0
  406. package/lib/generated-client/models/media-protocol.d.ts +24 -0
  407. package/lib/generated-client/models/media-protocol.js +30 -0
  408. package/lib/generated-client/models/media-source-info.d.ts +279 -0
  409. package/lib/generated-client/models/media-source-info.js +14 -0
  410. package/lib/generated-client/models/media-source-type.d.ts +20 -0
  411. package/lib/generated-client/models/media-source-type.js +26 -0
  412. package/lib/generated-client/models/media-stream-type.d.ts +21 -0
  413. package/lib/generated-client/models/media-stream-type.js +27 -0
  414. package/lib/generated-client/models/media-stream.d.ts +367 -0
  415. package/lib/generated-client/models/media-stream.js +14 -0
  416. package/lib/generated-client/models/media-update-info-dto.d.ts +24 -0
  417. package/lib/generated-client/models/media-update-info-dto.js +14 -0
  418. package/lib/generated-client/models/media-update-info-path-dto.d.ts +29 -0
  419. package/lib/generated-client/models/media-update-info-path-dto.js +14 -0
  420. package/lib/generated-client/models/media-url.d.ts +29 -0
  421. package/lib/generated-client/models/media-url.js +14 -0
  422. package/lib/generated-client/models/message-command.d.ts +35 -0
  423. package/lib/generated-client/models/message-command.js +14 -0
  424. package/lib/generated-client/models/metadata-configuration.d.ts +23 -0
  425. package/lib/generated-client/models/metadata-configuration.js +14 -0
  426. package/lib/generated-client/models/metadata-editor-info.d.ts +58 -0
  427. package/lib/generated-client/models/metadata-editor-info.js +14 -0
  428. package/lib/generated-client/models/metadata-field.d.ts +26 -0
  429. package/lib/generated-client/models/metadata-field.js +32 -0
  430. package/lib/generated-client/models/metadata-options.d.ts +59 -0
  431. package/lib/generated-client/models/metadata-options.js +14 -0
  432. package/lib/generated-client/models/metadata-refresh-mode.d.ts +21 -0
  433. package/lib/generated-client/models/metadata-refresh-mode.js +27 -0
  434. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +29 -0
  435. package/lib/generated-client/models/move-playlist-item-request-dto.js +14 -0
  436. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +42 -0
  437. package/lib/generated-client/models/movie-info-remote-search-query.js +14 -0
  438. package/lib/generated-client/models/movie-info.d.ts +85 -0
  439. package/lib/generated-client/models/movie-info.js +14 -0
  440. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +42 -0
  441. package/lib/generated-client/models/music-video-info-remote-search-query.js +14 -0
  442. package/lib/generated-client/models/music-video-info.d.ts +91 -0
  443. package/lib/generated-client/models/music-video-info.js +14 -0
  444. package/lib/generated-client/models/name-guid-pair.d.ts +29 -0
  445. package/lib/generated-client/models/name-guid-pair.js +14 -0
  446. package/lib/generated-client/models/name-id-pair.d.ts +29 -0
  447. package/lib/generated-client/models/name-id-pair.js +14 -0
  448. package/lib/generated-client/models/name-value-pair.d.ts +29 -0
  449. package/lib/generated-client/models/name-value-pair.js +14 -0
  450. package/lib/generated-client/models/network-configuration.d.ts +221 -0
  451. package/lib/generated-client/models/network-configuration.js +14 -0
  452. package/lib/generated-client/models/new-group-request-dto.d.ts +23 -0
  453. package/lib/generated-client/models/new-group-request-dto.js +14 -0
  454. package/lib/generated-client/models/next-item-request-dto.d.ts +23 -0
  455. package/lib/generated-client/models/next-item-request-dto.js +14 -0
  456. package/lib/generated-client/models/notification-dto.d.ts +66 -0
  457. package/lib/generated-client/models/notification-dto.js +14 -0
  458. package/lib/generated-client/models/notification-level.d.ts +20 -0
  459. package/lib/generated-client/models/notification-level.js +26 -0
  460. package/lib/generated-client/models/notification-option.d.ts +54 -0
  461. package/lib/generated-client/models/notification-option.js +14 -0
  462. package/lib/generated-client/models/notification-options.d.ts +24 -0
  463. package/lib/generated-client/models/notification-options.js +14 -0
  464. package/lib/generated-client/models/notification-result-dto.d.ts +30 -0
  465. package/lib/generated-client/models/notification-result-dto.js +14 -0
  466. package/lib/generated-client/models/notification-type-info.d.ts +47 -0
  467. package/lib/generated-client/models/notification-type-info.js +14 -0
  468. package/lib/generated-client/models/notifications-summary-dto.d.ts +30 -0
  469. package/lib/generated-client/models/notifications-summary-dto.js +14 -0
  470. package/lib/generated-client/models/object-group-update.d.ts +36 -0
  471. package/lib/generated-client/models/object-group-update.js +14 -0
  472. package/lib/generated-client/models/open-live-stream-dto.d.ts +97 -0
  473. package/lib/generated-client/models/open-live-stream-dto.js +14 -0
  474. package/lib/generated-client/models/package-info.d.ts +66 -0
  475. package/lib/generated-client/models/package-info.js +14 -0
  476. package/lib/generated-client/models/parental-rating.d.ts +29 -0
  477. package/lib/generated-client/models/parental-rating.js +14 -0
  478. package/lib/generated-client/models/path-substitution.d.ts +29 -0
  479. package/lib/generated-client/models/path-substitution.js +14 -0
  480. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +42 -0
  481. package/lib/generated-client/models/person-lookup-info-remote-search-query.js +14 -0
  482. package/lib/generated-client/models/person-lookup-info.d.ts +85 -0
  483. package/lib/generated-client/models/person-lookup-info.js +14 -0
  484. package/lib/generated-client/models/pin-redeem-result.d.ts +29 -0
  485. package/lib/generated-client/models/pin-redeem-result.js +14 -0
  486. package/lib/generated-client/models/ping-request-dto.d.ts +23 -0
  487. package/lib/generated-client/models/ping-request-dto.js +14 -0
  488. package/lib/generated-client/models/play-access.d.ts +19 -0
  489. package/lib/generated-client/models/play-access.js +25 -0
  490. package/lib/generated-client/models/play-command.d.ts +22 -0
  491. package/lib/generated-client/models/play-command.js +28 -0
  492. package/lib/generated-client/models/play-method.d.ts +20 -0
  493. package/lib/generated-client/models/play-method.js +26 -0
  494. package/lib/generated-client/models/play-request-dto.d.ts +35 -0
  495. package/lib/generated-client/models/play-request-dto.js +14 -0
  496. package/lib/generated-client/models/play-request.d.ts +66 -0
  497. package/lib/generated-client/models/play-request.js +14 -0
  498. package/lib/generated-client/models/playback-error-code.d.ts +20 -0
  499. package/lib/generated-client/models/playback-error-code.js +26 -0
  500. package/lib/generated-client/models/playback-info-dto.d.ts +108 -0
  501. package/lib/generated-client/models/playback-info-dto.js +14 -0
  502. package/lib/generated-client/models/playback-info-response.d.ts +37 -0
  503. package/lib/generated-client/models/playback-info-response.js +14 -0
  504. package/lib/generated-client/models/playback-progress-info.d.ts +141 -0
  505. package/lib/generated-client/models/playback-progress-info.js +14 -0
  506. package/lib/generated-client/models/playback-start-info.d.ts +141 -0
  507. package/lib/generated-client/models/playback-start-info.js +14 -0
  508. package/lib/generated-client/models/playback-stop-info.d.ts +85 -0
  509. package/lib/generated-client/models/playback-stop-info.js +14 -0
  510. package/lib/generated-client/models/player-state-info.d.ts +85 -0
  511. package/lib/generated-client/models/player-state-info.js +14 -0
  512. package/lib/generated-client/models/playlist-creation-result.d.ts +23 -0
  513. package/lib/generated-client/models/playlist-creation-result.js +14 -0
  514. package/lib/generated-client/models/playstate-command.d.ts +26 -0
  515. package/lib/generated-client/models/playstate-command.js +32 -0
  516. package/lib/generated-client/models/playstate-request.d.ts +36 -0
  517. package/lib/generated-client/models/playstate-request.js +14 -0
  518. package/lib/generated-client/models/plugin-info.d.ts +66 -0
  519. package/lib/generated-client/models/plugin-info.js +14 -0
  520. package/lib/generated-client/models/plugin-status.d.ts +24 -0
  521. package/lib/generated-client/models/plugin-status.js +30 -0
  522. package/lib/generated-client/models/previous-item-request-dto.d.ts +23 -0
  523. package/lib/generated-client/models/previous-item-request-dto.js +14 -0
  524. package/lib/generated-client/models/problem-details.d.ts +48 -0
  525. package/lib/generated-client/models/problem-details.js +14 -0
  526. package/lib/generated-client/models/profile-condition-type.d.ts +22 -0
  527. package/lib/generated-client/models/profile-condition-type.js +28 -0
  528. package/lib/generated-client/models/profile-condition-value.d.ts +41 -0
  529. package/lib/generated-client/models/profile-condition-value.js +47 -0
  530. package/lib/generated-client/models/profile-condition.d.ts +43 -0
  531. package/lib/generated-client/models/profile-condition.js +14 -0
  532. package/lib/generated-client/models/program-audio.d.ts +23 -0
  533. package/lib/generated-client/models/program-audio.js +29 -0
  534. package/lib/generated-client/models/public-system-info.d.ts +59 -0
  535. package/lib/generated-client/models/public-system-info.js +14 -0
  536. package/lib/generated-client/models/query-filters-legacy.d.ts +41 -0
  537. package/lib/generated-client/models/query-filters-legacy.js +14 -0
  538. package/lib/generated-client/models/query-filters.d.ts +30 -0
  539. package/lib/generated-client/models/query-filters.js +14 -0
  540. package/lib/generated-client/models/queue-item.d.ts +29 -0
  541. package/lib/generated-client/models/queue-item.js +14 -0
  542. package/lib/generated-client/models/queue-request-dto.d.ts +30 -0
  543. package/lib/generated-client/models/queue-request-dto.js +14 -0
  544. package/lib/generated-client/models/quick-connect-dto.d.ts +23 -0
  545. package/lib/generated-client/models/quick-connect-dto.js +14 -0
  546. package/lib/generated-client/models/quick-connect-result.d.ts +65 -0
  547. package/lib/generated-client/models/quick-connect-result.js +14 -0
  548. package/lib/generated-client/models/rating-type.d.ts +19 -0
  549. package/lib/generated-client/models/rating-type.js +25 -0
  550. package/lib/generated-client/models/ready-request-dto.d.ts +41 -0
  551. package/lib/generated-client/models/ready-request-dto.js +14 -0
  552. package/lib/generated-client/models/recommendation-dto.d.ts +43 -0
  553. package/lib/generated-client/models/recommendation-dto.js +14 -0
  554. package/lib/generated-client/models/recommendation-type.d.ts +23 -0
  555. package/lib/generated-client/models/recommendation-type.js +29 -0
  556. package/lib/generated-client/models/recording-status.d.ts +24 -0
  557. package/lib/generated-client/models/recording-status.js +30 -0
  558. package/lib/generated-client/models/remote-image-info.d.ts +79 -0
  559. package/lib/generated-client/models/remote-image-info.js +14 -0
  560. package/lib/generated-client/models/remote-image-result.d.ts +36 -0
  561. package/lib/generated-client/models/remote-image-result.js +14 -0
  562. package/lib/generated-client/models/remote-search-result.d.ts +91 -0
  563. package/lib/generated-client/models/remote-search-result.js +14 -0
  564. package/lib/generated-client/models/remote-subtitle-info.d.ts +83 -0
  565. package/lib/generated-client/models/remote-subtitle-info.js +14 -0
  566. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +35 -0
  567. package/lib/generated-client/models/remove-from-playlist-request-dto.js +14 -0
  568. package/lib/generated-client/models/repeat-mode.d.ts +20 -0
  569. package/lib/generated-client/models/repeat-mode.js +26 -0
  570. package/lib/generated-client/models/repository-info.d.ts +35 -0
  571. package/lib/generated-client/models/repository-info.js +14 -0
  572. package/lib/generated-client/models/response-profile.d.ts +61 -0
  573. package/lib/generated-client/models/response-profile.js +14 -0
  574. package/lib/generated-client/models/scroll-direction.d.ts +19 -0
  575. package/lib/generated-client/models/scroll-direction.js +25 -0
  576. package/lib/generated-client/models/search-hint-result.d.ts +30 -0
  577. package/lib/generated-client/models/search-hint-result.js +14 -0
  578. package/lib/generated-client/models/search-hint.d.ts +191 -0
  579. package/lib/generated-client/models/search-hint.js +14 -0
  580. package/lib/generated-client/models/seek-request-dto.d.ts +23 -0
  581. package/lib/generated-client/models/seek-request-dto.js +14 -0
  582. package/lib/generated-client/models/send-command-type.d.ts +21 -0
  583. package/lib/generated-client/models/send-command-type.js +27 -0
  584. package/lib/generated-client/models/send-command.d.ts +54 -0
  585. package/lib/generated-client/models/send-command.js +14 -0
  586. package/lib/generated-client/models/send-to-user-type.d.ts +20 -0
  587. package/lib/generated-client/models/send-to-user-type.js +26 -0
  588. package/lib/generated-client/models/series-info-remote-search-query.d.ts +42 -0
  589. package/lib/generated-client/models/series-info-remote-search-query.js +14 -0
  590. package/lib/generated-client/models/series-info.d.ts +85 -0
  591. package/lib/generated-client/models/series-info.js +14 -0
  592. package/lib/generated-client/models/series-status.d.ts +19 -0
  593. package/lib/generated-client/models/series-status.js +25 -0
  594. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +36 -0
  595. package/lib/generated-client/models/series-timer-info-dto-query-result.js +14 -0
  596. package/lib/generated-client/models/series-timer-info-dto.d.ts +232 -0
  597. package/lib/generated-client/models/series-timer-info-dto.js +14 -0
  598. package/lib/generated-client/models/server-configuration.d.ts +310 -0
  599. package/lib/generated-client/models/server-configuration.js +14 -0
  600. package/lib/generated-client/models/server-discovery-info.d.ts +41 -0
  601. package/lib/generated-client/models/server-discovery-info.js +14 -0
  602. package/lib/generated-client/models/session-info.d.ts +199 -0
  603. package/lib/generated-client/models/session-info.js +14 -0
  604. package/lib/generated-client/models/session-message-type.d.ts +51 -0
  605. package/lib/generated-client/models/session-message-type.js +57 -0
  606. package/lib/generated-client/models/session-user-info.d.ts +29 -0
  607. package/lib/generated-client/models/session-user-info.js +14 -0
  608. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +35 -0
  609. package/lib/generated-client/models/set-channel-mapping-dto.js +14 -0
  610. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +23 -0
  611. package/lib/generated-client/models/set-playlist-item-request-dto.js +14 -0
  612. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +24 -0
  613. package/lib/generated-client/models/set-repeat-mode-request-dto.js +14 -0
  614. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +24 -0
  615. package/lib/generated-client/models/set-shuffle-mode-request-dto.js +14 -0
  616. package/lib/generated-client/models/song-info.d.ts +103 -0
  617. package/lib/generated-client/models/song-info.js +14 -0
  618. package/lib/generated-client/models/sort-order.d.ts +19 -0
  619. package/lib/generated-client/models/sort-order.js +25 -0
  620. package/lib/generated-client/models/special-view-option-dto.d.ts +29 -0
  621. package/lib/generated-client/models/special-view-option-dto.js +14 -0
  622. package/lib/generated-client/models/startup-configuration-dto.d.ts +35 -0
  623. package/lib/generated-client/models/startup-configuration-dto.js +14 -0
  624. package/lib/generated-client/models/startup-remote-access-dto.d.ts +29 -0
  625. package/lib/generated-client/models/startup-remote-access-dto.js +14 -0
  626. package/lib/generated-client/models/startup-user-dto.d.ts +29 -0
  627. package/lib/generated-client/models/startup-user-dto.js +14 -0
  628. package/lib/generated-client/models/subtitle-delivery-method.d.ts +22 -0
  629. package/lib/generated-client/models/subtitle-delivery-method.js +28 -0
  630. package/lib/generated-client/models/subtitle-options.d.ts +71 -0
  631. package/lib/generated-client/models/subtitle-options.js +14 -0
  632. package/lib/generated-client/models/subtitle-playback-mode.d.ts +22 -0
  633. package/lib/generated-client/models/subtitle-playback-mode.js +28 -0
  634. package/lib/generated-client/models/subtitle-profile.d.ts +48 -0
  635. package/lib/generated-client/models/subtitle-profile.js +14 -0
  636. package/lib/generated-client/models/sync-play-user-access-type.d.ts +20 -0
  637. package/lib/generated-client/models/sync-play-user-access-type.js +26 -0
  638. package/lib/generated-client/models/system-info.d.ts +177 -0
  639. package/lib/generated-client/models/system-info.js +14 -0
  640. package/lib/generated-client/models/task-completion-status.d.ts +21 -0
  641. package/lib/generated-client/models/task-completion-status.js +27 -0
  642. package/lib/generated-client/models/task-info.d.ts +80 -0
  643. package/lib/generated-client/models/task-info.js +14 -0
  644. package/lib/generated-client/models/task-result.d.ts +66 -0
  645. package/lib/generated-client/models/task-result.js +14 -0
  646. package/lib/generated-client/models/task-state.d.ts +20 -0
  647. package/lib/generated-client/models/task-state.js +26 -0
  648. package/lib/generated-client/models/task-trigger-info.d.ts +48 -0
  649. package/lib/generated-client/models/task-trigger-info.js +14 -0
  650. package/lib/generated-client/models/theme-media-result.d.ts +42 -0
  651. package/lib/generated-client/models/theme-media-result.js +14 -0
  652. package/lib/generated-client/models/timer-event-info.d.ts +29 -0
  653. package/lib/generated-client/models/timer-event-info.js +14 -0
  654. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +36 -0
  655. package/lib/generated-client/models/timer-info-dto-query-result.js +14 -0
  656. package/lib/generated-client/models/timer-info-dto.d.ts +188 -0
  657. package/lib/generated-client/models/timer-info-dto.js +14 -0
  658. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +42 -0
  659. package/lib/generated-client/models/trailer-info-remote-search-query.js +14 -0
  660. package/lib/generated-client/models/trailer-info.d.ts +85 -0
  661. package/lib/generated-client/models/trailer-info.js +14 -0
  662. package/lib/generated-client/models/transcode-seek-info.d.ts +19 -0
  663. package/lib/generated-client/models/transcode-seek-info.js +25 -0
  664. package/lib/generated-client/models/transcoding-info.d.ts +127 -0
  665. package/lib/generated-client/models/transcoding-info.js +47 -0
  666. package/lib/generated-client/models/transcoding-profile.d.ts +117 -0
  667. package/lib/generated-client/models/transcoding-profile.js +14 -0
  668. package/lib/generated-client/models/transport-stream-timestamp.d.ts +20 -0
  669. package/lib/generated-client/models/transport-stream-timestamp.js +26 -0
  670. package/lib/generated-client/models/tuner-channel-mapping.d.ts +41 -0
  671. package/lib/generated-client/models/tuner-channel-mapping.js +14 -0
  672. package/lib/generated-client/models/tuner-host-info.d.ts +83 -0
  673. package/lib/generated-client/models/tuner-host-info.js +14 -0
  674. package/lib/generated-client/models/type-options.d.ts +54 -0
  675. package/lib/generated-client/models/type-options.js +14 -0
  676. package/lib/generated-client/models/unrated-item.d.ts +26 -0
  677. package/lib/generated-client/models/unrated-item.js +32 -0
  678. package/lib/generated-client/models/update-library-options-dto.d.ts +30 -0
  679. package/lib/generated-client/models/update-library-options-dto.js +14 -0
  680. package/lib/generated-client/models/update-media-path-request-dto.d.ts +30 -0
  681. package/lib/generated-client/models/update-media-path-request-dto.js +14 -0
  682. package/lib/generated-client/models/update-user-easy-password.d.ts +35 -0
  683. package/lib/generated-client/models/update-user-easy-password.js +14 -0
  684. package/lib/generated-client/models/update-user-password.d.ts +41 -0
  685. package/lib/generated-client/models/update-user-password.js +14 -0
  686. package/lib/generated-client/models/upload-subtitle-dto.d.ts +41 -0
  687. package/lib/generated-client/models/upload-subtitle-dto.js +14 -0
  688. package/lib/generated-client/models/user-configuration.d.ts +108 -0
  689. package/lib/generated-client/models/user-configuration.js +14 -0
  690. package/lib/generated-client/models/user-dto.d.ts +103 -0
  691. package/lib/generated-client/models/user-dto.js +14 -0
  692. package/lib/generated-client/models/user-item-data-dto.d.ts +83 -0
  693. package/lib/generated-client/models/user-item-data-dto.js +14 -0
  694. package/lib/generated-client/models/user-policy.d.ts +254 -0
  695. package/lib/generated-client/models/user-policy.js +14 -0
  696. package/lib/generated-client/models/utc-time-response.d.ts +29 -0
  697. package/lib/generated-client/models/utc-time-response.js +14 -0
  698. package/lib/generated-client/models/validate-path-dto.d.ts +35 -0
  699. package/lib/generated-client/models/validate-path-dto.js +14 -0
  700. package/lib/generated-client/models/version-info.d.ts +71 -0
  701. package/lib/generated-client/models/version-info.js +14 -0
  702. package/lib/generated-client/models/video-type.d.ts +21 -0
  703. package/lib/generated-client/models/video-type.js +27 -0
  704. package/lib/generated-client/models/video3-dformat.d.ts +22 -0
  705. package/lib/generated-client/models/video3-dformat.js +28 -0
  706. package/lib/generated-client/models/virtual-folder-info.d.ts +67 -0
  707. package/lib/generated-client/models/virtual-folder-info.js +14 -0
  708. package/lib/generated-client/models/wake-on-lan-info.d.ts +29 -0
  709. package/lib/generated-client/models/wake-on-lan-info.js +14 -0
  710. package/lib/generated-client/models/xbmc-metadata-options.d.ts +47 -0
  711. package/lib/generated-client/models/xbmc-metadata-options.js +14 -0
  712. package/lib/generated-client/models/xml-attribute.d.ts +29 -0
  713. package/lib/generated-client/models/xml-attribute.js +14 -0
  714. package/lib/index.d.ts +10 -0
  715. package/lib/index.js +39 -0
  716. package/lib/jellyfin.d.ts +33 -0
  717. package/lib/jellyfin.js +34 -0
  718. package/lib/models/api/image-request-parameters.d.ts +29 -0
  719. package/lib/models/api/image-request-parameters.js +7 -0
  720. package/lib/models/api/index.d.ts +7 -0
  721. package/lib/models/api/index.js +23 -0
  722. package/lib/models/api/item-sort-by.d.ts +40 -0
  723. package/lib/models/api/item-sort-by.js +44 -0
  724. package/lib/models/client-info.d.ts +12 -0
  725. package/lib/models/client-info.js +7 -0
  726. package/lib/models/device-info.d.ts +12 -0
  727. package/lib/models/device-info.js +7 -0
  728. package/lib/models/index.d.ts +9 -0
  729. package/lib/models/index.js +25 -0
  730. package/lib/models/recommended-server-info.d.ts +22 -0
  731. package/lib/models/recommended-server-info.js +16 -0
  732. package/lib/models/recommended-server-issue.d.ts +48 -0
  733. package/lib/models/recommended-server-issue.js +103 -0
  734. package/lib/utils/address-candidates.d.ts +16 -0
  735. package/lib/utils/address-candidates.js +85 -0
  736. package/lib/utils/api/activity-log-api.d.ts +8 -0
  737. package/lib/utils/api/activity-log-api.js +13 -0
  738. package/lib/utils/api/api-key-api.d.ts +8 -0
  739. package/lib/utils/api/api-key-api.js +13 -0
  740. package/lib/utils/api/artists-api.d.ts +8 -0
  741. package/lib/utils/api/artists-api.js +13 -0
  742. package/lib/utils/api/audio-api.d.ts +8 -0
  743. package/lib/utils/api/audio-api.js +13 -0
  744. package/lib/utils/api/branding-api.d.ts +8 -0
  745. package/lib/utils/api/branding-api.js +13 -0
  746. package/lib/utils/api/channels-api.d.ts +8 -0
  747. package/lib/utils/api/channels-api.js +13 -0
  748. package/lib/utils/api/client-log-api.d.ts +8 -0
  749. package/lib/utils/api/client-log-api.js +13 -0
  750. package/lib/utils/api/collection-api.d.ts +8 -0
  751. package/lib/utils/api/collection-api.js +13 -0
  752. package/lib/utils/api/configuration-api.d.ts +8 -0
  753. package/lib/utils/api/configuration-api.js +13 -0
  754. package/lib/utils/api/dashboard-api.d.ts +8 -0
  755. package/lib/utils/api/dashboard-api.js +13 -0
  756. package/lib/utils/api/devices-api.d.ts +8 -0
  757. package/lib/utils/api/devices-api.js +13 -0
  758. package/lib/utils/api/display-preferences-api.d.ts +8 -0
  759. package/lib/utils/api/display-preferences-api.js +13 -0
  760. package/lib/utils/api/dlna-api.d.ts +8 -0
  761. package/lib/utils/api/dlna-api.js +13 -0
  762. package/lib/utils/api/dlna-server-api.d.ts +8 -0
  763. package/lib/utils/api/dlna-server-api.js +13 -0
  764. package/lib/utils/api/dynamic-hls-api.d.ts +8 -0
  765. package/lib/utils/api/dynamic-hls-api.js +13 -0
  766. package/lib/utils/api/environment-api.d.ts +8 -0
  767. package/lib/utils/api/environment-api.js +13 -0
  768. package/lib/utils/api/filter-api.d.ts +8 -0
  769. package/lib/utils/api/filter-api.js +13 -0
  770. package/lib/utils/api/genres-api.d.ts +8 -0
  771. package/lib/utils/api/genres-api.js +13 -0
  772. package/lib/utils/api/hls-segment-api.d.ts +8 -0
  773. package/lib/utils/api/hls-segment-api.js +13 -0
  774. package/lib/utils/api/image-api.d.ts +8 -0
  775. package/lib/utils/api/image-api.js +13 -0
  776. package/lib/utils/api/image-by-name-api.d.ts +8 -0
  777. package/lib/utils/api/image-by-name-api.js +13 -0
  778. package/lib/utils/api/instant-mix-api.d.ts +8 -0
  779. package/lib/utils/api/instant-mix-api.js +13 -0
  780. package/lib/utils/api/item-lookup-api.d.ts +8 -0
  781. package/lib/utils/api/item-lookup-api.js +13 -0
  782. package/lib/utils/api/item-refresh-api.d.ts +8 -0
  783. package/lib/utils/api/item-refresh-api.js +13 -0
  784. package/lib/utils/api/item-update-api.d.ts +8 -0
  785. package/lib/utils/api/item-update-api.js +13 -0
  786. package/lib/utils/api/items-api.d.ts +8 -0
  787. package/lib/utils/api/items-api.js +13 -0
  788. package/lib/utils/api/library-api.d.ts +8 -0
  789. package/lib/utils/api/library-api.js +13 -0
  790. package/lib/utils/api/library-structure-api.d.ts +8 -0
  791. package/lib/utils/api/library-structure-api.js +13 -0
  792. package/lib/utils/api/live-tv-api.d.ts +8 -0
  793. package/lib/utils/api/live-tv-api.js +13 -0
  794. package/lib/utils/api/localization-api.d.ts +8 -0
  795. package/lib/utils/api/localization-api.js +13 -0
  796. package/lib/utils/api/media-info-api.d.ts +8 -0
  797. package/lib/utils/api/media-info-api.js +13 -0
  798. package/lib/utils/api/movies-api.d.ts +8 -0
  799. package/lib/utils/api/movies-api.js +13 -0
  800. package/lib/utils/api/music-genres-api.d.ts +8 -0
  801. package/lib/utils/api/music-genres-api.js +13 -0
  802. package/lib/utils/api/notifications-api.d.ts +8 -0
  803. package/lib/utils/api/notifications-api.js +13 -0
  804. package/lib/utils/api/package-api.d.ts +8 -0
  805. package/lib/utils/api/package-api.js +13 -0
  806. package/lib/utils/api/persons-api.d.ts +8 -0
  807. package/lib/utils/api/persons-api.js +13 -0
  808. package/lib/utils/api/playlists-api.d.ts +8 -0
  809. package/lib/utils/api/playlists-api.js +13 -0
  810. package/lib/utils/api/playstate-api.d.ts +8 -0
  811. package/lib/utils/api/playstate-api.js +13 -0
  812. package/lib/utils/api/plugins-api.d.ts +8 -0
  813. package/lib/utils/api/plugins-api.js +13 -0
  814. package/lib/utils/api/quick-connect-api.d.ts +8 -0
  815. package/lib/utils/api/quick-connect-api.js +13 -0
  816. package/lib/utils/api/remote-image-api.d.ts +8 -0
  817. package/lib/utils/api/remote-image-api.js +13 -0
  818. package/lib/utils/api/scheduled-tasks-api.d.ts +8 -0
  819. package/lib/utils/api/scheduled-tasks-api.js +13 -0
  820. package/lib/utils/api/search-api.d.ts +8 -0
  821. package/lib/utils/api/search-api.js +13 -0
  822. package/lib/utils/api/session-api.d.ts +8 -0
  823. package/lib/utils/api/session-api.js +13 -0
  824. package/lib/utils/api/startup-api.d.ts +8 -0
  825. package/lib/utils/api/startup-api.js +13 -0
  826. package/lib/utils/api/studios-api.d.ts +8 -0
  827. package/lib/utils/api/studios-api.js +13 -0
  828. package/lib/utils/api/subtitle-api.d.ts +8 -0
  829. package/lib/utils/api/subtitle-api.js +13 -0
  830. package/lib/utils/api/suggestions-api.d.ts +8 -0
  831. package/lib/utils/api/suggestions-api.js +13 -0
  832. package/lib/utils/api/sync-play-api.d.ts +8 -0
  833. package/lib/utils/api/sync-play-api.js +13 -0
  834. package/lib/utils/api/system-api.d.ts +8 -0
  835. package/lib/utils/api/system-api.js +13 -0
  836. package/lib/utils/api/time-sync-api.d.ts +8 -0
  837. package/lib/utils/api/time-sync-api.js +13 -0
  838. package/lib/utils/api/tmdb-api.d.ts +8 -0
  839. package/lib/utils/api/tmdb-api.js +13 -0
  840. package/lib/utils/api/trailers-api.d.ts +8 -0
  841. package/lib/utils/api/trailers-api.js +13 -0
  842. package/lib/utils/api/tv-shows-api.d.ts +8 -0
  843. package/lib/utils/api/tv-shows-api.js +13 -0
  844. package/lib/utils/api/universal-audio-api.d.ts +8 -0
  845. package/lib/utils/api/universal-audio-api.js +13 -0
  846. package/lib/utils/api/user-api.d.ts +8 -0
  847. package/lib/utils/api/user-api.js +13 -0
  848. package/lib/utils/api/user-library-api.d.ts +8 -0
  849. package/lib/utils/api/user-library-api.js +13 -0
  850. package/lib/utils/api/user-views-api.d.ts +8 -0
  851. package/lib/utils/api/user-views-api.js +13 -0
  852. package/lib/utils/api/video-attachments-api.d.ts +8 -0
  853. package/lib/utils/api/video-attachments-api.js +13 -0
  854. package/lib/utils/api/videos-api.d.ts +8 -0
  855. package/lib/utils/api/videos-api.js +13 -0
  856. package/lib/utils/api/years-api.d.ts +8 -0
  857. package/lib/utils/api/years-api.js +13 -0
  858. package/lib/utils/authentication.d.ts +10 -0
  859. package/lib/utils/authentication.js +18 -0
  860. package/lib/utils/browser-profiles.d.ts +25 -0
  861. package/lib/utils/browser-profiles.js +44 -0
  862. package/lib/utils/index.d.ts +9 -0
  863. package/lib/utils/index.js +25 -0
  864. package/lib/utils/normalize-url.d.ts +20 -0
  865. package/lib/utils/normalize-url.js +96 -0
  866. package/lib/utils/url.d.ts +31 -0
  867. package/lib/utils/url.js +54 -0
  868. package/openapi-templates/licenseInfo.mustache +10 -0
  869. package/package.json +46 -0
  870. package/tsconfig.json +25 -0
@@ -0,0 +1,1488 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6
+ * Do not edit the class manually.
7
+ *
8
+ * Jellyfin API
9
+ *
10
+ * This Source Code Form is subject to the terms of the Mozilla Public
11
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
12
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13
+ */
14
+ var __extends = (this && this.__extends) || (function () {
15
+ var extendStatics = function (d, b) {
16
+ extendStatics = Object.setPrototypeOf ||
17
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
+ return extendStatics(d, b);
20
+ };
21
+ return function (d, b) {
22
+ if (typeof b !== "function" && b !== null)
23
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
+ extendStatics(d, b);
25
+ function __() { this.constructor = d; }
26
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
+ };
28
+ })();
29
+ var __assign = (this && this.__assign) || function () {
30
+ __assign = Object.assign || function(t) {
31
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32
+ s = arguments[i];
33
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
+ t[p] = s[p];
35
+ }
36
+ return t;
37
+ };
38
+ return __assign.apply(this, arguments);
39
+ };
40
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
+ return new (P || (P = Promise))(function (resolve, reject) {
43
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
47
+ });
48
+ };
49
+ var __generator = (this && this.__generator) || function (thisArg, body) {
50
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
51
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
52
+ function verb(n) { return function (v) { return step([n, v]); }; }
53
+ function step(op) {
54
+ if (f) throw new TypeError("Generator is already executing.");
55
+ while (_) try {
56
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
57
+ if (y = 0, t) op = [op[0] & 2, t.value];
58
+ switch (op[0]) {
59
+ case 0: case 1: t = op; break;
60
+ case 4: _.label++; return { value: op[1], done: false };
61
+ case 5: _.label++; y = op[1]; op = [0]; continue;
62
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
63
+ default:
64
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
65
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
66
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
67
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
68
+ if (t[2]) _.ops.pop();
69
+ _.trys.pop(); continue;
70
+ }
71
+ op = body.call(thisArg, _);
72
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
73
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
74
+ }
75
+ };
76
+ var __importDefault = (this && this.__importDefault) || function (mod) {
77
+ return (mod && mod.__esModule) ? mod : { "default": mod };
78
+ };
79
+ Object.defineProperty(exports, "__esModule", { value: true });
80
+ exports.ItemsApi = exports.ItemsApiFactory = exports.ItemsApiFp = exports.ItemsApiAxiosParamCreator = void 0;
81
+ var axios_1 = __importDefault(require("axios"));
82
+ // Some imports not used depending on template conditions
83
+ // @ts-ignore
84
+ var common_1 = require("../common");
85
+ // @ts-ignore
86
+ var base_1 = require("../base");
87
+ /**
88
+ * ItemsApi - axios parameter creator
89
+ * @export
90
+ */
91
+ var ItemsApiAxiosParamCreator = function (configuration) {
92
+ var _this = this;
93
+ return {
94
+ /**
95
+ *
96
+ * @summary Gets items based on a query.
97
+ * @param {string} [userId] The user id supplied as query parameter.
98
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
99
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
100
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
101
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
102
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
103
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
104
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
105
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
106
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
107
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
108
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
109
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
110
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
111
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
112
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
113
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
114
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
115
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
116
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
117
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
118
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
119
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
120
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
121
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
122
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
123
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
124
+ * @param {boolean} [isSeries] Optional filter for live tv series.
125
+ * @param {boolean} [isNews] Optional filter for live tv news.
126
+ * @param {boolean} [isKids] Optional filter for live tv kids.
127
+ * @param {boolean} [isSports] Optional filter for live tv sports.
128
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
129
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
130
+ * @param {number} [limit] Optional. The maximum number of records to return.
131
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
132
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
133
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
134
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
135
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
136
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
137
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
138
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
139
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
140
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
141
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
142
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
143
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
144
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
145
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
146
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
147
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
148
+ * @param {boolean} [enableUserData] Optional, include user data.
149
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
150
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
151
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
152
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
153
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
154
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
155
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
156
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
157
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
158
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
159
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
160
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
161
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
162
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
163
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
164
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
165
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
166
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
167
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
168
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
169
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
170
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
171
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
172
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
173
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
174
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
175
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
176
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
177
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
178
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
179
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
180
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
181
+ * @param {boolean} [enableImages] Optional, include image information in output.
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ getItems: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
186
+ if (options === void 0) { options = {}; }
187
+ return __awaiter(_this, void 0, void 0, function () {
188
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
189
+ return __generator(this, function (_a) {
190
+ switch (_a.label) {
191
+ case 0:
192
+ localVarPath = "/Items";
193
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
194
+ if (configuration) {
195
+ baseOptions = configuration.baseOptions;
196
+ }
197
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
198
+ localVarHeaderParameter = {};
199
+ localVarQueryParameter = {};
200
+ // authentication CustomAuthentication required
201
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
202
+ case 1:
203
+ // authentication CustomAuthentication required
204
+ _a.sent();
205
+ if (userId !== undefined) {
206
+ localVarQueryParameter['userId'] = userId;
207
+ }
208
+ if (maxOfficialRating !== undefined) {
209
+ localVarQueryParameter['maxOfficialRating'] = maxOfficialRating;
210
+ }
211
+ if (hasThemeSong !== undefined) {
212
+ localVarQueryParameter['hasThemeSong'] = hasThemeSong;
213
+ }
214
+ if (hasThemeVideo !== undefined) {
215
+ localVarQueryParameter['hasThemeVideo'] = hasThemeVideo;
216
+ }
217
+ if (hasSubtitles !== undefined) {
218
+ localVarQueryParameter['hasSubtitles'] = hasSubtitles;
219
+ }
220
+ if (hasSpecialFeature !== undefined) {
221
+ localVarQueryParameter['hasSpecialFeature'] = hasSpecialFeature;
222
+ }
223
+ if (hasTrailer !== undefined) {
224
+ localVarQueryParameter['hasTrailer'] = hasTrailer;
225
+ }
226
+ if (adjacentTo !== undefined) {
227
+ localVarQueryParameter['adjacentTo'] = adjacentTo;
228
+ }
229
+ if (parentIndexNumber !== undefined) {
230
+ localVarQueryParameter['parentIndexNumber'] = parentIndexNumber;
231
+ }
232
+ if (hasParentalRating !== undefined) {
233
+ localVarQueryParameter['hasParentalRating'] = hasParentalRating;
234
+ }
235
+ if (isHd !== undefined) {
236
+ localVarQueryParameter['isHd'] = isHd;
237
+ }
238
+ if (is4K !== undefined) {
239
+ localVarQueryParameter['is4K'] = is4K;
240
+ }
241
+ if (locationTypes) {
242
+ localVarQueryParameter['locationTypes'] = locationTypes;
243
+ }
244
+ if (excludeLocationTypes) {
245
+ localVarQueryParameter['excludeLocationTypes'] = excludeLocationTypes;
246
+ }
247
+ if (isMissing !== undefined) {
248
+ localVarQueryParameter['isMissing'] = isMissing;
249
+ }
250
+ if (isUnaired !== undefined) {
251
+ localVarQueryParameter['isUnaired'] = isUnaired;
252
+ }
253
+ if (minCommunityRating !== undefined) {
254
+ localVarQueryParameter['minCommunityRating'] = minCommunityRating;
255
+ }
256
+ if (minCriticRating !== undefined) {
257
+ localVarQueryParameter['minCriticRating'] = minCriticRating;
258
+ }
259
+ if (minPremiereDate !== undefined) {
260
+ localVarQueryParameter['minPremiereDate'] = (minPremiereDate instanceof Date) ?
261
+ minPremiereDate.toISOString() :
262
+ minPremiereDate;
263
+ }
264
+ if (minDateLastSaved !== undefined) {
265
+ localVarQueryParameter['minDateLastSaved'] = (minDateLastSaved instanceof Date) ?
266
+ minDateLastSaved.toISOString() :
267
+ minDateLastSaved;
268
+ }
269
+ if (minDateLastSavedForUser !== undefined) {
270
+ localVarQueryParameter['minDateLastSavedForUser'] = (minDateLastSavedForUser instanceof Date) ?
271
+ minDateLastSavedForUser.toISOString() :
272
+ minDateLastSavedForUser;
273
+ }
274
+ if (maxPremiereDate !== undefined) {
275
+ localVarQueryParameter['maxPremiereDate'] = (maxPremiereDate instanceof Date) ?
276
+ maxPremiereDate.toISOString() :
277
+ maxPremiereDate;
278
+ }
279
+ if (hasOverview !== undefined) {
280
+ localVarQueryParameter['hasOverview'] = hasOverview;
281
+ }
282
+ if (hasImdbId !== undefined) {
283
+ localVarQueryParameter['hasImdbId'] = hasImdbId;
284
+ }
285
+ if (hasTmdbId !== undefined) {
286
+ localVarQueryParameter['hasTmdbId'] = hasTmdbId;
287
+ }
288
+ if (hasTvdbId !== undefined) {
289
+ localVarQueryParameter['hasTvdbId'] = hasTvdbId;
290
+ }
291
+ if (isMovie !== undefined) {
292
+ localVarQueryParameter['isMovie'] = isMovie;
293
+ }
294
+ if (isSeries !== undefined) {
295
+ localVarQueryParameter['isSeries'] = isSeries;
296
+ }
297
+ if (isNews !== undefined) {
298
+ localVarQueryParameter['isNews'] = isNews;
299
+ }
300
+ if (isKids !== undefined) {
301
+ localVarQueryParameter['isKids'] = isKids;
302
+ }
303
+ if (isSports !== undefined) {
304
+ localVarQueryParameter['isSports'] = isSports;
305
+ }
306
+ if (excludeItemIds) {
307
+ localVarQueryParameter['excludeItemIds'] = excludeItemIds;
308
+ }
309
+ if (startIndex !== undefined) {
310
+ localVarQueryParameter['startIndex'] = startIndex;
311
+ }
312
+ if (limit !== undefined) {
313
+ localVarQueryParameter['limit'] = limit;
314
+ }
315
+ if (recursive !== undefined) {
316
+ localVarQueryParameter['recursive'] = recursive;
317
+ }
318
+ if (searchTerm !== undefined) {
319
+ localVarQueryParameter['searchTerm'] = searchTerm;
320
+ }
321
+ if (sortOrder) {
322
+ localVarQueryParameter['sortOrder'] = sortOrder;
323
+ }
324
+ if (parentId !== undefined) {
325
+ localVarQueryParameter['parentId'] = parentId;
326
+ }
327
+ if (fields) {
328
+ localVarQueryParameter['fields'] = fields;
329
+ }
330
+ if (excludeItemTypes) {
331
+ localVarQueryParameter['excludeItemTypes'] = excludeItemTypes;
332
+ }
333
+ if (includeItemTypes) {
334
+ localVarQueryParameter['includeItemTypes'] = includeItemTypes;
335
+ }
336
+ if (filters) {
337
+ localVarQueryParameter['filters'] = filters;
338
+ }
339
+ if (isFavorite !== undefined) {
340
+ localVarQueryParameter['isFavorite'] = isFavorite;
341
+ }
342
+ if (mediaTypes) {
343
+ localVarQueryParameter['mediaTypes'] = mediaTypes;
344
+ }
345
+ if (imageTypes) {
346
+ localVarQueryParameter['imageTypes'] = imageTypes;
347
+ }
348
+ if (sortBy) {
349
+ localVarQueryParameter['sortBy'] = sortBy;
350
+ }
351
+ if (isPlayed !== undefined) {
352
+ localVarQueryParameter['isPlayed'] = isPlayed;
353
+ }
354
+ if (genres) {
355
+ localVarQueryParameter['genres'] = genres;
356
+ }
357
+ if (officialRatings) {
358
+ localVarQueryParameter['officialRatings'] = officialRatings;
359
+ }
360
+ if (tags) {
361
+ localVarQueryParameter['tags'] = tags;
362
+ }
363
+ if (years) {
364
+ localVarQueryParameter['years'] = years;
365
+ }
366
+ if (enableUserData !== undefined) {
367
+ localVarQueryParameter['enableUserData'] = enableUserData;
368
+ }
369
+ if (imageTypeLimit !== undefined) {
370
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
371
+ }
372
+ if (enableImageTypes) {
373
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
374
+ }
375
+ if (person !== undefined) {
376
+ localVarQueryParameter['person'] = person;
377
+ }
378
+ if (personIds) {
379
+ localVarQueryParameter['personIds'] = personIds;
380
+ }
381
+ if (personTypes) {
382
+ localVarQueryParameter['personTypes'] = personTypes;
383
+ }
384
+ if (studios) {
385
+ localVarQueryParameter['studios'] = studios;
386
+ }
387
+ if (artists) {
388
+ localVarQueryParameter['artists'] = artists;
389
+ }
390
+ if (excludeArtistIds) {
391
+ localVarQueryParameter['excludeArtistIds'] = excludeArtistIds;
392
+ }
393
+ if (artistIds) {
394
+ localVarQueryParameter['artistIds'] = artistIds;
395
+ }
396
+ if (albumArtistIds) {
397
+ localVarQueryParameter['albumArtistIds'] = albumArtistIds;
398
+ }
399
+ if (contributingArtistIds) {
400
+ localVarQueryParameter['contributingArtistIds'] = contributingArtistIds;
401
+ }
402
+ if (albums) {
403
+ localVarQueryParameter['albums'] = albums;
404
+ }
405
+ if (albumIds) {
406
+ localVarQueryParameter['albumIds'] = albumIds;
407
+ }
408
+ if (ids) {
409
+ localVarQueryParameter['ids'] = ids;
410
+ }
411
+ if (videoTypes) {
412
+ localVarQueryParameter['videoTypes'] = videoTypes;
413
+ }
414
+ if (minOfficialRating !== undefined) {
415
+ localVarQueryParameter['minOfficialRating'] = minOfficialRating;
416
+ }
417
+ if (isLocked !== undefined) {
418
+ localVarQueryParameter['isLocked'] = isLocked;
419
+ }
420
+ if (isPlaceHolder !== undefined) {
421
+ localVarQueryParameter['isPlaceHolder'] = isPlaceHolder;
422
+ }
423
+ if (hasOfficialRating !== undefined) {
424
+ localVarQueryParameter['hasOfficialRating'] = hasOfficialRating;
425
+ }
426
+ if (collapseBoxSetItems !== undefined) {
427
+ localVarQueryParameter['collapseBoxSetItems'] = collapseBoxSetItems;
428
+ }
429
+ if (minWidth !== undefined) {
430
+ localVarQueryParameter['minWidth'] = minWidth;
431
+ }
432
+ if (minHeight !== undefined) {
433
+ localVarQueryParameter['minHeight'] = minHeight;
434
+ }
435
+ if (maxWidth !== undefined) {
436
+ localVarQueryParameter['maxWidth'] = maxWidth;
437
+ }
438
+ if (maxHeight !== undefined) {
439
+ localVarQueryParameter['maxHeight'] = maxHeight;
440
+ }
441
+ if (is3D !== undefined) {
442
+ localVarQueryParameter['is3D'] = is3D;
443
+ }
444
+ if (seriesStatus) {
445
+ localVarQueryParameter['seriesStatus'] = seriesStatus;
446
+ }
447
+ if (nameStartsWithOrGreater !== undefined) {
448
+ localVarQueryParameter['nameStartsWithOrGreater'] = nameStartsWithOrGreater;
449
+ }
450
+ if (nameStartsWith !== undefined) {
451
+ localVarQueryParameter['nameStartsWith'] = nameStartsWith;
452
+ }
453
+ if (nameLessThan !== undefined) {
454
+ localVarQueryParameter['nameLessThan'] = nameLessThan;
455
+ }
456
+ if (studioIds) {
457
+ localVarQueryParameter['studioIds'] = studioIds;
458
+ }
459
+ if (genreIds) {
460
+ localVarQueryParameter['genreIds'] = genreIds;
461
+ }
462
+ if (enableTotalRecordCount !== undefined) {
463
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
464
+ }
465
+ if (enableImages !== undefined) {
466
+ localVarQueryParameter['enableImages'] = enableImages;
467
+ }
468
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
469
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
470
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
471
+ return [2 /*return*/, {
472
+ url: (0, common_1.toPathString)(localVarUrlObj),
473
+ options: localVarRequestOptions,
474
+ }];
475
+ }
476
+ });
477
+ });
478
+ },
479
+ /**
480
+ *
481
+ * @summary Gets items based on a query.
482
+ * @param {string} userId The user id supplied as query parameter.
483
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
484
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
485
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
486
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
487
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
488
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
489
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
490
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
491
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
492
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
493
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
494
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
495
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
496
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
497
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
498
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
499
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
500
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
501
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
502
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
503
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
504
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
505
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
506
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
507
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
508
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
509
+ * @param {boolean} [isSeries] Optional filter for live tv series.
510
+ * @param {boolean} [isNews] Optional filter for live tv news.
511
+ * @param {boolean} [isKids] Optional filter for live tv kids.
512
+ * @param {boolean} [isSports] Optional filter for live tv sports.
513
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
514
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
515
+ * @param {number} [limit] Optional. The maximum number of records to return.
516
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
517
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
518
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
519
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
520
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
521
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
522
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
523
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
524
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
525
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
526
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
527
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
528
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
529
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
530
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
531
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
532
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
533
+ * @param {boolean} [enableUserData] Optional, include user data.
534
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
535
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
536
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
537
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
538
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
539
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
540
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
541
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
542
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
543
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
544
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
545
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
546
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
547
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
548
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
549
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
550
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
551
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
552
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
553
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
554
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
555
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
556
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
557
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
558
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
559
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
560
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
561
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
562
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
563
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
564
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
565
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
566
+ * @param {boolean} [enableImages] Optional, include image information in output.
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ getItemsByUserId: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
571
+ if (options === void 0) { options = {}; }
572
+ return __awaiter(_this, void 0, void 0, function () {
573
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
574
+ return __generator(this, function (_a) {
575
+ switch (_a.label) {
576
+ case 0:
577
+ // verify required parameter 'userId' is not null or undefined
578
+ (0, common_1.assertParamExists)('getItemsByUserId', 'userId', userId);
579
+ localVarPath = "/Users/{userId}/Items"
580
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
581
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
582
+ if (configuration) {
583
+ baseOptions = configuration.baseOptions;
584
+ }
585
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
586
+ localVarHeaderParameter = {};
587
+ localVarQueryParameter = {};
588
+ // authentication CustomAuthentication required
589
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
590
+ case 1:
591
+ // authentication CustomAuthentication required
592
+ _a.sent();
593
+ if (maxOfficialRating !== undefined) {
594
+ localVarQueryParameter['maxOfficialRating'] = maxOfficialRating;
595
+ }
596
+ if (hasThemeSong !== undefined) {
597
+ localVarQueryParameter['hasThemeSong'] = hasThemeSong;
598
+ }
599
+ if (hasThemeVideo !== undefined) {
600
+ localVarQueryParameter['hasThemeVideo'] = hasThemeVideo;
601
+ }
602
+ if (hasSubtitles !== undefined) {
603
+ localVarQueryParameter['hasSubtitles'] = hasSubtitles;
604
+ }
605
+ if (hasSpecialFeature !== undefined) {
606
+ localVarQueryParameter['hasSpecialFeature'] = hasSpecialFeature;
607
+ }
608
+ if (hasTrailer !== undefined) {
609
+ localVarQueryParameter['hasTrailer'] = hasTrailer;
610
+ }
611
+ if (adjacentTo !== undefined) {
612
+ localVarQueryParameter['adjacentTo'] = adjacentTo;
613
+ }
614
+ if (parentIndexNumber !== undefined) {
615
+ localVarQueryParameter['parentIndexNumber'] = parentIndexNumber;
616
+ }
617
+ if (hasParentalRating !== undefined) {
618
+ localVarQueryParameter['hasParentalRating'] = hasParentalRating;
619
+ }
620
+ if (isHd !== undefined) {
621
+ localVarQueryParameter['isHd'] = isHd;
622
+ }
623
+ if (is4K !== undefined) {
624
+ localVarQueryParameter['is4K'] = is4K;
625
+ }
626
+ if (locationTypes) {
627
+ localVarQueryParameter['locationTypes'] = locationTypes;
628
+ }
629
+ if (excludeLocationTypes) {
630
+ localVarQueryParameter['excludeLocationTypes'] = excludeLocationTypes;
631
+ }
632
+ if (isMissing !== undefined) {
633
+ localVarQueryParameter['isMissing'] = isMissing;
634
+ }
635
+ if (isUnaired !== undefined) {
636
+ localVarQueryParameter['isUnaired'] = isUnaired;
637
+ }
638
+ if (minCommunityRating !== undefined) {
639
+ localVarQueryParameter['minCommunityRating'] = minCommunityRating;
640
+ }
641
+ if (minCriticRating !== undefined) {
642
+ localVarQueryParameter['minCriticRating'] = minCriticRating;
643
+ }
644
+ if (minPremiereDate !== undefined) {
645
+ localVarQueryParameter['minPremiereDate'] = (minPremiereDate instanceof Date) ?
646
+ minPremiereDate.toISOString() :
647
+ minPremiereDate;
648
+ }
649
+ if (minDateLastSaved !== undefined) {
650
+ localVarQueryParameter['minDateLastSaved'] = (minDateLastSaved instanceof Date) ?
651
+ minDateLastSaved.toISOString() :
652
+ minDateLastSaved;
653
+ }
654
+ if (minDateLastSavedForUser !== undefined) {
655
+ localVarQueryParameter['minDateLastSavedForUser'] = (minDateLastSavedForUser instanceof Date) ?
656
+ minDateLastSavedForUser.toISOString() :
657
+ minDateLastSavedForUser;
658
+ }
659
+ if (maxPremiereDate !== undefined) {
660
+ localVarQueryParameter['maxPremiereDate'] = (maxPremiereDate instanceof Date) ?
661
+ maxPremiereDate.toISOString() :
662
+ maxPremiereDate;
663
+ }
664
+ if (hasOverview !== undefined) {
665
+ localVarQueryParameter['hasOverview'] = hasOverview;
666
+ }
667
+ if (hasImdbId !== undefined) {
668
+ localVarQueryParameter['hasImdbId'] = hasImdbId;
669
+ }
670
+ if (hasTmdbId !== undefined) {
671
+ localVarQueryParameter['hasTmdbId'] = hasTmdbId;
672
+ }
673
+ if (hasTvdbId !== undefined) {
674
+ localVarQueryParameter['hasTvdbId'] = hasTvdbId;
675
+ }
676
+ if (isMovie !== undefined) {
677
+ localVarQueryParameter['isMovie'] = isMovie;
678
+ }
679
+ if (isSeries !== undefined) {
680
+ localVarQueryParameter['isSeries'] = isSeries;
681
+ }
682
+ if (isNews !== undefined) {
683
+ localVarQueryParameter['isNews'] = isNews;
684
+ }
685
+ if (isKids !== undefined) {
686
+ localVarQueryParameter['isKids'] = isKids;
687
+ }
688
+ if (isSports !== undefined) {
689
+ localVarQueryParameter['isSports'] = isSports;
690
+ }
691
+ if (excludeItemIds) {
692
+ localVarQueryParameter['excludeItemIds'] = excludeItemIds;
693
+ }
694
+ if (startIndex !== undefined) {
695
+ localVarQueryParameter['startIndex'] = startIndex;
696
+ }
697
+ if (limit !== undefined) {
698
+ localVarQueryParameter['limit'] = limit;
699
+ }
700
+ if (recursive !== undefined) {
701
+ localVarQueryParameter['recursive'] = recursive;
702
+ }
703
+ if (searchTerm !== undefined) {
704
+ localVarQueryParameter['searchTerm'] = searchTerm;
705
+ }
706
+ if (sortOrder) {
707
+ localVarQueryParameter['sortOrder'] = sortOrder;
708
+ }
709
+ if (parentId !== undefined) {
710
+ localVarQueryParameter['parentId'] = parentId;
711
+ }
712
+ if (fields) {
713
+ localVarQueryParameter['fields'] = fields;
714
+ }
715
+ if (excludeItemTypes) {
716
+ localVarQueryParameter['excludeItemTypes'] = excludeItemTypes;
717
+ }
718
+ if (includeItemTypes) {
719
+ localVarQueryParameter['includeItemTypes'] = includeItemTypes;
720
+ }
721
+ if (filters) {
722
+ localVarQueryParameter['filters'] = filters;
723
+ }
724
+ if (isFavorite !== undefined) {
725
+ localVarQueryParameter['isFavorite'] = isFavorite;
726
+ }
727
+ if (mediaTypes) {
728
+ localVarQueryParameter['mediaTypes'] = mediaTypes;
729
+ }
730
+ if (imageTypes) {
731
+ localVarQueryParameter['imageTypes'] = imageTypes;
732
+ }
733
+ if (sortBy) {
734
+ localVarQueryParameter['sortBy'] = sortBy;
735
+ }
736
+ if (isPlayed !== undefined) {
737
+ localVarQueryParameter['isPlayed'] = isPlayed;
738
+ }
739
+ if (genres) {
740
+ localVarQueryParameter['genres'] = genres;
741
+ }
742
+ if (officialRatings) {
743
+ localVarQueryParameter['officialRatings'] = officialRatings;
744
+ }
745
+ if (tags) {
746
+ localVarQueryParameter['tags'] = tags;
747
+ }
748
+ if (years) {
749
+ localVarQueryParameter['years'] = years;
750
+ }
751
+ if (enableUserData !== undefined) {
752
+ localVarQueryParameter['enableUserData'] = enableUserData;
753
+ }
754
+ if (imageTypeLimit !== undefined) {
755
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
756
+ }
757
+ if (enableImageTypes) {
758
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
759
+ }
760
+ if (person !== undefined) {
761
+ localVarQueryParameter['person'] = person;
762
+ }
763
+ if (personIds) {
764
+ localVarQueryParameter['personIds'] = personIds;
765
+ }
766
+ if (personTypes) {
767
+ localVarQueryParameter['personTypes'] = personTypes;
768
+ }
769
+ if (studios) {
770
+ localVarQueryParameter['studios'] = studios;
771
+ }
772
+ if (artists) {
773
+ localVarQueryParameter['artists'] = artists;
774
+ }
775
+ if (excludeArtistIds) {
776
+ localVarQueryParameter['excludeArtistIds'] = excludeArtistIds;
777
+ }
778
+ if (artistIds) {
779
+ localVarQueryParameter['artistIds'] = artistIds;
780
+ }
781
+ if (albumArtistIds) {
782
+ localVarQueryParameter['albumArtistIds'] = albumArtistIds;
783
+ }
784
+ if (contributingArtistIds) {
785
+ localVarQueryParameter['contributingArtistIds'] = contributingArtistIds;
786
+ }
787
+ if (albums) {
788
+ localVarQueryParameter['albums'] = albums;
789
+ }
790
+ if (albumIds) {
791
+ localVarQueryParameter['albumIds'] = albumIds;
792
+ }
793
+ if (ids) {
794
+ localVarQueryParameter['ids'] = ids;
795
+ }
796
+ if (videoTypes) {
797
+ localVarQueryParameter['videoTypes'] = videoTypes;
798
+ }
799
+ if (minOfficialRating !== undefined) {
800
+ localVarQueryParameter['minOfficialRating'] = minOfficialRating;
801
+ }
802
+ if (isLocked !== undefined) {
803
+ localVarQueryParameter['isLocked'] = isLocked;
804
+ }
805
+ if (isPlaceHolder !== undefined) {
806
+ localVarQueryParameter['isPlaceHolder'] = isPlaceHolder;
807
+ }
808
+ if (hasOfficialRating !== undefined) {
809
+ localVarQueryParameter['hasOfficialRating'] = hasOfficialRating;
810
+ }
811
+ if (collapseBoxSetItems !== undefined) {
812
+ localVarQueryParameter['collapseBoxSetItems'] = collapseBoxSetItems;
813
+ }
814
+ if (minWidth !== undefined) {
815
+ localVarQueryParameter['minWidth'] = minWidth;
816
+ }
817
+ if (minHeight !== undefined) {
818
+ localVarQueryParameter['minHeight'] = minHeight;
819
+ }
820
+ if (maxWidth !== undefined) {
821
+ localVarQueryParameter['maxWidth'] = maxWidth;
822
+ }
823
+ if (maxHeight !== undefined) {
824
+ localVarQueryParameter['maxHeight'] = maxHeight;
825
+ }
826
+ if (is3D !== undefined) {
827
+ localVarQueryParameter['is3D'] = is3D;
828
+ }
829
+ if (seriesStatus) {
830
+ localVarQueryParameter['seriesStatus'] = seriesStatus;
831
+ }
832
+ if (nameStartsWithOrGreater !== undefined) {
833
+ localVarQueryParameter['nameStartsWithOrGreater'] = nameStartsWithOrGreater;
834
+ }
835
+ if (nameStartsWith !== undefined) {
836
+ localVarQueryParameter['nameStartsWith'] = nameStartsWith;
837
+ }
838
+ if (nameLessThan !== undefined) {
839
+ localVarQueryParameter['nameLessThan'] = nameLessThan;
840
+ }
841
+ if (studioIds) {
842
+ localVarQueryParameter['studioIds'] = studioIds;
843
+ }
844
+ if (genreIds) {
845
+ localVarQueryParameter['genreIds'] = genreIds;
846
+ }
847
+ if (enableTotalRecordCount !== undefined) {
848
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
849
+ }
850
+ if (enableImages !== undefined) {
851
+ localVarQueryParameter['enableImages'] = enableImages;
852
+ }
853
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
854
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
855
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
856
+ return [2 /*return*/, {
857
+ url: (0, common_1.toPathString)(localVarUrlObj),
858
+ options: localVarRequestOptions,
859
+ }];
860
+ }
861
+ });
862
+ });
863
+ },
864
+ /**
865
+ *
866
+ * @summary Gets items based on a query.
867
+ * @param {string} userId The user id.
868
+ * @param {number} [startIndex] The start index.
869
+ * @param {number} [limit] The item limit.
870
+ * @param {string} [searchTerm] The search term.
871
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
872
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
873
+ * @param {Array<string>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
874
+ * @param {boolean} [enableUserData] Optional. Include user data.
875
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
876
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
877
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
878
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
879
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
880
+ * @param {boolean} [enableImages] Optional. Include image information in output.
881
+ * @param {boolean} [excludeActiveSessions] Optional. Whether to exclude the currently active sessions.
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ getResumeItems: function (userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options) {
886
+ if (options === void 0) { options = {}; }
887
+ return __awaiter(_this, void 0, void 0, function () {
888
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
889
+ return __generator(this, function (_a) {
890
+ switch (_a.label) {
891
+ case 0:
892
+ // verify required parameter 'userId' is not null or undefined
893
+ (0, common_1.assertParamExists)('getResumeItems', 'userId', userId);
894
+ localVarPath = "/Users/{userId}/Items/Resume"
895
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
896
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
897
+ if (configuration) {
898
+ baseOptions = configuration.baseOptions;
899
+ }
900
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
901
+ localVarHeaderParameter = {};
902
+ localVarQueryParameter = {};
903
+ // authentication CustomAuthentication required
904
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
905
+ case 1:
906
+ // authentication CustomAuthentication required
907
+ _a.sent();
908
+ if (startIndex !== undefined) {
909
+ localVarQueryParameter['startIndex'] = startIndex;
910
+ }
911
+ if (limit !== undefined) {
912
+ localVarQueryParameter['limit'] = limit;
913
+ }
914
+ if (searchTerm !== undefined) {
915
+ localVarQueryParameter['searchTerm'] = searchTerm;
916
+ }
917
+ if (parentId !== undefined) {
918
+ localVarQueryParameter['parentId'] = parentId;
919
+ }
920
+ if (fields) {
921
+ localVarQueryParameter['fields'] = fields;
922
+ }
923
+ if (mediaTypes) {
924
+ localVarQueryParameter['mediaTypes'] = mediaTypes;
925
+ }
926
+ if (enableUserData !== undefined) {
927
+ localVarQueryParameter['enableUserData'] = enableUserData;
928
+ }
929
+ if (imageTypeLimit !== undefined) {
930
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
931
+ }
932
+ if (enableImageTypes) {
933
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
934
+ }
935
+ if (excludeItemTypes) {
936
+ localVarQueryParameter['excludeItemTypes'] = excludeItemTypes;
937
+ }
938
+ if (includeItemTypes) {
939
+ localVarQueryParameter['includeItemTypes'] = includeItemTypes;
940
+ }
941
+ if (enableTotalRecordCount !== undefined) {
942
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
943
+ }
944
+ if (enableImages !== undefined) {
945
+ localVarQueryParameter['enableImages'] = enableImages;
946
+ }
947
+ if (excludeActiveSessions !== undefined) {
948
+ localVarQueryParameter['excludeActiveSessions'] = excludeActiveSessions;
949
+ }
950
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
951
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
952
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
953
+ return [2 /*return*/, {
954
+ url: (0, common_1.toPathString)(localVarUrlObj),
955
+ options: localVarRequestOptions,
956
+ }];
957
+ }
958
+ });
959
+ });
960
+ },
961
+ };
962
+ };
963
+ exports.ItemsApiAxiosParamCreator = ItemsApiAxiosParamCreator;
964
+ /**
965
+ * ItemsApi - functional programming interface
966
+ * @export
967
+ */
968
+ var ItemsApiFp = function (configuration) {
969
+ var localVarAxiosParamCreator = (0, exports.ItemsApiAxiosParamCreator)(configuration);
970
+ return {
971
+ /**
972
+ *
973
+ * @summary Gets items based on a query.
974
+ * @param {string} [userId] The user id supplied as query parameter.
975
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
976
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
977
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
978
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
979
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
980
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
981
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
982
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
983
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
984
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
985
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
986
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
987
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
988
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
989
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
990
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
991
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
992
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
993
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
994
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
995
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
996
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
997
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
998
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
999
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
1000
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
1001
+ * @param {boolean} [isSeries] Optional filter for live tv series.
1002
+ * @param {boolean} [isNews] Optional filter for live tv news.
1003
+ * @param {boolean} [isKids] Optional filter for live tv kids.
1004
+ * @param {boolean} [isSports] Optional filter for live tv sports.
1005
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
1006
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1007
+ * @param {number} [limit] Optional. The maximum number of records to return.
1008
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
1009
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
1010
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
1011
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1012
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1013
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1014
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1015
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
1016
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
1017
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
1018
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
1019
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
1020
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
1021
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
1022
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
1023
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
1024
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
1025
+ * @param {boolean} [enableUserData] Optional, include user data.
1026
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
1027
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1028
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
1029
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
1030
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
1031
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
1032
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
1033
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
1034
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
1035
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
1036
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
1037
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
1038
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
1039
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
1040
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
1041
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
1042
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
1043
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
1044
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
1045
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
1046
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
1047
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
1048
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
1049
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
1050
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
1051
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
1052
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
1053
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
1054
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
1055
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
1056
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
1057
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1058
+ * @param {boolean} [enableImages] Optional, include image information in output.
1059
+ * @param {*} [options] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ */
1062
+ getItems: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
1063
+ return __awaiter(this, void 0, void 0, function () {
1064
+ var localVarAxiosArgs;
1065
+ return __generator(this, function (_a) {
1066
+ switch (_a.label) {
1067
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options)];
1068
+ case 1:
1069
+ localVarAxiosArgs = _a.sent();
1070
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1071
+ }
1072
+ });
1073
+ });
1074
+ },
1075
+ /**
1076
+ *
1077
+ * @summary Gets items based on a query.
1078
+ * @param {string} userId The user id supplied as query parameter.
1079
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
1080
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
1081
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
1082
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
1083
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
1084
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
1085
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
1086
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
1087
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
1088
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
1089
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
1090
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
1091
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
1092
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
1093
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
1094
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
1095
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
1096
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
1097
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
1098
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
1099
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
1100
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
1101
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
1102
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
1103
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
1104
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
1105
+ * @param {boolean} [isSeries] Optional filter for live tv series.
1106
+ * @param {boolean} [isNews] Optional filter for live tv news.
1107
+ * @param {boolean} [isKids] Optional filter for live tv kids.
1108
+ * @param {boolean} [isSports] Optional filter for live tv sports.
1109
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
1110
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1111
+ * @param {number} [limit] Optional. The maximum number of records to return.
1112
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
1113
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
1114
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
1115
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1116
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1117
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1118
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1119
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
1120
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
1121
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
1122
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
1123
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
1124
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
1125
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
1126
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
1127
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
1128
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
1129
+ * @param {boolean} [enableUserData] Optional, include user data.
1130
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
1131
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1132
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
1133
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
1134
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
1135
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
1136
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
1137
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
1138
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
1139
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
1140
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
1141
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
1142
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
1143
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
1144
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
1145
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
1146
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
1147
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
1148
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
1149
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
1150
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
1151
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
1152
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
1153
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
1154
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
1155
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
1156
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
1157
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
1158
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
1159
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
1160
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
1161
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1162
+ * @param {boolean} [enableImages] Optional, include image information in output.
1163
+ * @param {*} [options] Override http request option.
1164
+ * @throws {RequiredError}
1165
+ */
1166
+ getItemsByUserId: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
1167
+ return __awaiter(this, void 0, void 0, function () {
1168
+ var localVarAxiosArgs;
1169
+ return __generator(this, function (_a) {
1170
+ switch (_a.label) {
1171
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options)];
1172
+ case 1:
1173
+ localVarAxiosArgs = _a.sent();
1174
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1175
+ }
1176
+ });
1177
+ });
1178
+ },
1179
+ /**
1180
+ *
1181
+ * @summary Gets items based on a query.
1182
+ * @param {string} userId The user id.
1183
+ * @param {number} [startIndex] The start index.
1184
+ * @param {number} [limit] The item limit.
1185
+ * @param {string} [searchTerm] The search term.
1186
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1187
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1188
+ * @param {Array<string>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
1189
+ * @param {boolean} [enableUserData] Optional. Include user data.
1190
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
1191
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1192
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1193
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1194
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1195
+ * @param {boolean} [enableImages] Optional. Include image information in output.
1196
+ * @param {boolean} [excludeActiveSessions] Optional. Whether to exclude the currently active sessions.
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ getResumeItems: function (userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options) {
1201
+ return __awaiter(this, void 0, void 0, function () {
1202
+ var localVarAxiosArgs;
1203
+ return __generator(this, function (_a) {
1204
+ switch (_a.label) {
1205
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getResumeItems(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options)];
1206
+ case 1:
1207
+ localVarAxiosArgs = _a.sent();
1208
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1209
+ }
1210
+ });
1211
+ });
1212
+ },
1213
+ };
1214
+ };
1215
+ exports.ItemsApiFp = ItemsApiFp;
1216
+ /**
1217
+ * ItemsApi - factory interface
1218
+ * @export
1219
+ */
1220
+ var ItemsApiFactory = function (configuration, basePath, axios) {
1221
+ var localVarFp = (0, exports.ItemsApiFp)(configuration);
1222
+ return {
1223
+ /**
1224
+ *
1225
+ * @summary Gets items based on a query.
1226
+ * @param {string} [userId] The user id supplied as query parameter.
1227
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
1228
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
1229
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
1230
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
1231
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
1232
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
1233
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
1234
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
1235
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
1236
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
1237
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
1238
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
1239
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
1240
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
1241
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
1242
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
1243
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
1244
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
1245
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
1246
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
1247
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
1248
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
1249
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
1250
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
1251
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
1252
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
1253
+ * @param {boolean} [isSeries] Optional filter for live tv series.
1254
+ * @param {boolean} [isNews] Optional filter for live tv news.
1255
+ * @param {boolean} [isKids] Optional filter for live tv kids.
1256
+ * @param {boolean} [isSports] Optional filter for live tv sports.
1257
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
1258
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1259
+ * @param {number} [limit] Optional. The maximum number of records to return.
1260
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
1261
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
1262
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
1263
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1264
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1265
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1266
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1267
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
1268
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
1269
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
1270
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
1271
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
1272
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
1273
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
1274
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
1275
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
1276
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
1277
+ * @param {boolean} [enableUserData] Optional, include user data.
1278
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
1279
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1280
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
1281
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
1282
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
1283
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
1284
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
1285
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
1286
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
1287
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
1288
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
1289
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
1290
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
1291
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
1292
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
1293
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
1294
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
1295
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
1296
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
1297
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
1298
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
1299
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
1300
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
1301
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
1302
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
1303
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
1304
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
1305
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
1306
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
1307
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
1308
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
1309
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1310
+ * @param {boolean} [enableImages] Optional, include image information in output.
1311
+ * @param {*} [options] Override http request option.
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ getItems: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
1315
+ return localVarFp.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options).then(function (request) { return request(axios, basePath); });
1316
+ },
1317
+ /**
1318
+ *
1319
+ * @summary Gets items based on a query.
1320
+ * @param {string} userId The user id supplied as query parameter.
1321
+ * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
1322
+ * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
1323
+ * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
1324
+ * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
1325
+ * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
1326
+ * @param {boolean} [hasTrailer] Optional filter by items with trailers.
1327
+ * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
1328
+ * @param {number} [parentIndexNumber] Optional filter by parent index number.
1329
+ * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
1330
+ * @param {boolean} [isHd] Optional filter by items that are HD or not.
1331
+ * @param {boolean} [is4K] Optional filter by items that are 4K or not.
1332
+ * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
1333
+ * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
1334
+ * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
1335
+ * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
1336
+ * @param {number} [minCommunityRating] Optional filter by minimum community rating.
1337
+ * @param {number} [minCriticRating] Optional filter by minimum critic rating.
1338
+ * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
1339
+ * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
1340
+ * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
1341
+ * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
1342
+ * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
1343
+ * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not.
1344
+ * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not.
1345
+ * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not.
1346
+ * @param {boolean} [isMovie] Optional filter for live tv movies.
1347
+ * @param {boolean} [isSeries] Optional filter for live tv series.
1348
+ * @param {boolean} [isNews] Optional filter for live tv news.
1349
+ * @param {boolean} [isKids] Optional filter for live tv kids.
1350
+ * @param {boolean} [isSports] Optional filter for live tv sports.
1351
+ * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
1352
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1353
+ * @param {number} [limit] Optional. The maximum number of records to return.
1354
+ * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
1355
+ * @param {string} [searchTerm] Optional. Filter based on a search term.
1356
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
1357
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1358
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1359
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1360
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1361
+ * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
1362
+ * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
1363
+ * @param {Array<string>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
1364
+ * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
1365
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
1366
+ * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
1367
+ * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
1368
+ * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
1369
+ * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
1370
+ * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
1371
+ * @param {boolean} [enableUserData] Optional, include user data.
1372
+ * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
1373
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1374
+ * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
1375
+ * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
1376
+ * @param {Array<string>} [personTypes] Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
1377
+ * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
1378
+ * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
1379
+ * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
1380
+ * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
1381
+ * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
1382
+ * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
1383
+ * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
1384
+ * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
1385
+ * @param {Array<string>} [ids] Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
1386
+ * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
1387
+ * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
1388
+ * @param {boolean} [isLocked] Optional filter by items that are locked.
1389
+ * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
1390
+ * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
1391
+ * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
1392
+ * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
1393
+ * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
1394
+ * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
1395
+ * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
1396
+ * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
1397
+ * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
1398
+ * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
1399
+ * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
1400
+ * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
1401
+ * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
1402
+ * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
1403
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1404
+ * @param {boolean} [enableImages] Optional, include image information in output.
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ */
1408
+ getItemsByUserId: function (userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options) {
1409
+ return localVarFp.getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options).then(function (request) { return request(axios, basePath); });
1410
+ },
1411
+ /**
1412
+ *
1413
+ * @summary Gets items based on a query.
1414
+ * @param {string} userId The user id.
1415
+ * @param {number} [startIndex] The start index.
1416
+ * @param {number} [limit] The item limit.
1417
+ * @param {string} [searchTerm] The search term.
1418
+ * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
1419
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
1420
+ * @param {Array<string>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
1421
+ * @param {boolean} [enableUserData] Optional. Include user data.
1422
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
1423
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1424
+ * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
1425
+ * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
1426
+ * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
1427
+ * @param {boolean} [enableImages] Optional. Include image information in output.
1428
+ * @param {boolean} [excludeActiveSessions] Optional. Whether to exclude the currently active sessions.
1429
+ * @param {*} [options] Override http request option.
1430
+ * @throws {RequiredError}
1431
+ */
1432
+ getResumeItems: function (userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options) {
1433
+ return localVarFp.getResumeItems(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options).then(function (request) { return request(axios, basePath); });
1434
+ },
1435
+ };
1436
+ };
1437
+ exports.ItemsApiFactory = ItemsApiFactory;
1438
+ /**
1439
+ * ItemsApi - object-oriented interface
1440
+ * @export
1441
+ * @class ItemsApi
1442
+ * @extends {BaseAPI}
1443
+ */
1444
+ var ItemsApi = /** @class */ (function (_super) {
1445
+ __extends(ItemsApi, _super);
1446
+ function ItemsApi() {
1447
+ return _super !== null && _super.apply(this, arguments) || this;
1448
+ }
1449
+ /**
1450
+ *
1451
+ * @summary Gets items based on a query.
1452
+ * @param {ItemsApiGetItemsRequest} requestParameters Request parameters.
1453
+ * @param {*} [options] Override http request option.
1454
+ * @throws {RequiredError}
1455
+ * @memberof ItemsApi
1456
+ */
1457
+ ItemsApi.prototype.getItems = function (requestParameters, options) {
1458
+ var _this = this;
1459
+ if (requestParameters === void 0) { requestParameters = {}; }
1460
+ return (0, exports.ItemsApiFp)(this.configuration).getItems(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then(function (request) { return request(_this.axios, _this.basePath); });
1461
+ };
1462
+ /**
1463
+ *
1464
+ * @summary Gets items based on a query.
1465
+ * @param {ItemsApiGetItemsByUserIdRequest} requestParameters Request parameters.
1466
+ * @param {*} [options] Override http request option.
1467
+ * @throws {RequiredError}
1468
+ * @memberof ItemsApi
1469
+ */
1470
+ ItemsApi.prototype.getItemsByUserId = function (requestParameters, options) {
1471
+ var _this = this;
1472
+ return (0, exports.ItemsApiFp)(this.configuration).getItemsByUserId(requestParameters.userId, requestParameters.maxOfficialRating, requestParameters.hasThemeSong, requestParameters.hasThemeVideo, requestParameters.hasSubtitles, requestParameters.hasSpecialFeature, requestParameters.hasTrailer, requestParameters.adjacentTo, requestParameters.parentIndexNumber, requestParameters.hasParentalRating, requestParameters.isHd, requestParameters.is4K, requestParameters.locationTypes, requestParameters.excludeLocationTypes, requestParameters.isMissing, requestParameters.isUnaired, requestParameters.minCommunityRating, requestParameters.minCriticRating, requestParameters.minPremiereDate, requestParameters.minDateLastSaved, requestParameters.minDateLastSavedForUser, requestParameters.maxPremiereDate, requestParameters.hasOverview, requestParameters.hasImdbId, requestParameters.hasTmdbId, requestParameters.hasTvdbId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.excludeItemIds, requestParameters.startIndex, requestParameters.limit, requestParameters.recursive, requestParameters.searchTerm, requestParameters.sortOrder, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.filters, requestParameters.isFavorite, requestParameters.mediaTypes, requestParameters.imageTypes, requestParameters.sortBy, requestParameters.isPlayed, requestParameters.genres, requestParameters.officialRatings, requestParameters.tags, requestParameters.years, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.person, requestParameters.personIds, requestParameters.personTypes, requestParameters.studios, requestParameters.artists, requestParameters.excludeArtistIds, requestParameters.artistIds, requestParameters.albumArtistIds, requestParameters.contributingArtistIds, requestParameters.albums, requestParameters.albumIds, requestParameters.ids, requestParameters.videoTypes, requestParameters.minOfficialRating, requestParameters.isLocked, requestParameters.isPlaceHolder, requestParameters.hasOfficialRating, requestParameters.collapseBoxSetItems, requestParameters.minWidth, requestParameters.minHeight, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.is3D, requestParameters.seriesStatus, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.studioIds, requestParameters.genreIds, requestParameters.enableTotalRecordCount, requestParameters.enableImages, options).then(function (request) { return request(_this.axios, _this.basePath); });
1473
+ };
1474
+ /**
1475
+ *
1476
+ * @summary Gets items based on a query.
1477
+ * @param {ItemsApiGetResumeItemsRequest} requestParameters Request parameters.
1478
+ * @param {*} [options] Override http request option.
1479
+ * @throws {RequiredError}
1480
+ * @memberof ItemsApi
1481
+ */
1482
+ ItemsApi.prototype.getResumeItems = function (requestParameters, options) {
1483
+ var _this = this;
1484
+ return (0, exports.ItemsApiFp)(this.configuration).getResumeItems(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.searchTerm, requestParameters.parentId, requestParameters.fields, requestParameters.mediaTypes, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.enableTotalRecordCount, requestParameters.enableImages, requestParameters.excludeActiveSessions, options).then(function (request) { return request(_this.axios, _this.basePath); });
1485
+ };
1486
+ return ItemsApi;
1487
+ }(base_1.BaseAPI));
1488
+ exports.ItemsApi = ItemsApi;