@jellyfin/sdk 0.12.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (759) hide show
  1. package/.nvmrc +1 -0
  2. package/.openapi-generator-ignore +2 -0
  3. package/CHANGELOG.md +40 -3
  4. package/README.md +55 -32
  5. package/eslint.config.mjs +118 -0
  6. package/lib/api.d.ts +33 -9
  7. package/lib/api.js +88 -26
  8. package/lib/constants.d.ts +11 -0
  9. package/lib/constants.js +13 -0
  10. package/lib/generated-client/api/{artists-api.d.ts → artist-api.d.ts} +38 -173
  11. package/lib/generated-client/api/{artists-api.js → artist-api.js} +39 -33
  12. package/lib/generated-client/api/audio-api.d.ts +295 -450
  13. package/lib/generated-client/api/audio-api.js +332 -64
  14. package/lib/generated-client/api/authentication-api.d.ts +517 -0
  15. package/lib/generated-client/api/authentication-api.js +870 -0
  16. package/lib/generated-client/api/backup-api.d.ts +0 -22
  17. package/lib/generated-client/api/backup-api.js +5 -11
  18. package/lib/generated-client/api/branding-api.d.ts +0 -9
  19. package/lib/generated-client/api/branding-api.js +4 -10
  20. package/lib/generated-client/api/{channels-api.d.ts → channel-api.d.ts} +32 -95
  21. package/lib/generated-client/api/{channels-api.js → channel-api.js} +35 -41
  22. package/lib/generated-client/api/collection-api.d.ts +0 -31
  23. package/lib/generated-client/api/collection-api.js +4 -10
  24. package/lib/generated-client/api/{devices-api.d.ts → device-api.d.ts} +48 -81
  25. package/lib/generated-client/api/{devices-api.js → device-api.js} +46 -54
  26. package/lib/generated-client/api/{display-preferences-api.d.ts → display-preference-api.d.ts} +20 -46
  27. package/lib/generated-client/api/{display-preferences-api.js → display-preference-api.js} +22 -28
  28. package/lib/generated-client/api/environment-api.d.ts +0 -60
  29. package/lib/generated-client/api/environment-api.js +6 -75
  30. package/lib/generated-client/api/filter-api.d.ts +0 -40
  31. package/lib/generated-client/api/filter-api.js +3 -9
  32. package/lib/generated-client/api/{genres-api.d.ts → genre-api.d.ts} +20 -72
  33. package/lib/generated-client/api/{genres-api.js → genre-api.js} +22 -28
  34. package/lib/generated-client/api/image-api.d.ts +4 -1007
  35. package/lib/generated-client/api/image-api.js +42 -48
  36. package/lib/generated-client/api/instant-mix-api.d.ts +8 -245
  37. package/lib/generated-client/api/instant-mix-api.js +16 -121
  38. package/lib/generated-client/api/item-lookup-api.d.ts +0 -65
  39. package/lib/generated-client/api/item-lookup-api.js +12 -18
  40. package/lib/generated-client/api/item-update-api.d.ts +0 -25
  41. package/lib/generated-client/api/item-update-api.js +4 -10
  42. package/lib/generated-client/api/library-api.d.ts +1239 -327
  43. package/lib/generated-client/api/library-api.js +1307 -95
  44. package/lib/generated-client/api/library-structure-api.d.ts +0 -62
  45. package/lib/generated-client/api/library-structure-api.js +9 -15
  46. package/lib/generated-client/api/live-tv-api.d.ts +0 -622
  47. package/lib/generated-client/api/live-tv-api.js +39 -320
  48. package/lib/generated-client/api/localization-api.d.ts +0 -10
  49. package/lib/generated-client/api/localization-api.js +5 -11
  50. package/lib/generated-client/api/{lyrics-api.d.ts → lyric-api.d.ts} +44 -89
  51. package/lib/generated-client/api/{lyrics-api.js → lyric-api.js} +42 -48
  52. package/lib/generated-client/api/media-info-api.d.ts +4 -91
  53. package/lib/generated-client/api/media-info-api.js +10 -16
  54. package/lib/generated-client/api/{media-segments-api.d.ts → media-segment-api.d.ts} +14 -27
  55. package/lib/generated-client/api/{media-segments-api.js → media-segment-api.js} +17 -23
  56. package/lib/generated-client/api/{movies-api.d.ts → movie-api.d.ts} +14 -33
  57. package/lib/generated-client/api/{movies-api.js → movie-api.js} +17 -23
  58. package/lib/generated-client/api/music-genre-api.d.ts +85 -0
  59. package/lib/generated-client/api/music-genre-api.js +121 -0
  60. package/lib/generated-client/api/{persons-api.d.ts → person-api.d.ts} +52 -64
  61. package/lib/generated-client/api/{persons-api.js → person-api.js} +51 -32
  62. package/lib/generated-client/api/{playlists-api.d.ts → playlist-api.d.ts} +86 -185
  63. package/lib/generated-client/api/{playlists-api.js → playlist-api.js} +80 -81
  64. package/lib/generated-client/api/plugin-api.d.ts +743 -0
  65. package/lib/generated-client/api/plugin-api.js +1186 -0
  66. package/lib/generated-client/api/remote-image-api.d.ts +0 -35
  67. package/lib/generated-client/api/remote-image-api.js +4 -10
  68. package/lib/generated-client/api/{scheduled-tasks-api.d.ts → scheduled-task-api.d.ts} +38 -73
  69. package/lib/generated-client/api/{scheduled-tasks-api.js → scheduled-task-api.js} +37 -43
  70. package/lib/generated-client/api/search-api.d.ts +0 -45
  71. package/lib/generated-client/api/search-api.js +2 -8
  72. package/lib/generated-client/api/session-api.d.ts +163 -181
  73. package/lib/generated-client/api/session-api.js +262 -123
  74. package/lib/generated-client/api/{tv-shows-api.d.ts → show-api.d.ts} +34 -156
  75. package/lib/generated-client/api/{tv-shows-api.js → show-api.js} +36 -47
  76. package/lib/generated-client/api/startup-api.d.ts +20 -25
  77. package/lib/generated-client/api/startup-api.js +28 -14
  78. package/lib/generated-client/api/{studios-api.d.ts → studio-api.d.ts} +20 -70
  79. package/lib/generated-client/api/{studios-api.js → studio-api.js} +22 -28
  80. package/lib/generated-client/api/subtitle-api.d.ts +0 -114
  81. package/lib/generated-client/api/subtitle-api.js +11 -17
  82. package/lib/generated-client/api/{suggestions-api.d.ts → suggestion-api.d.ts} +14 -35
  83. package/lib/generated-client/api/{suggestions-api.js → suggestion-api.js} +17 -23
  84. package/lib/generated-client/api/sync-play-api.d.ts +0 -96
  85. package/lib/generated-client/api/sync-play-api.js +23 -29
  86. package/lib/generated-client/api/system-api.d.ts +420 -20
  87. package/lib/generated-client/api/system-api.js +659 -18
  88. package/lib/generated-client/api/{trailers-api.d.ts → trailer-api.d.ts} +32 -193
  89. package/lib/generated-client/api/{trailers-api.js → trailer-api.js} +35 -27
  90. package/lib/generated-client/api/{trickplay-api.d.ts → trick-play-api.d.ts} +20 -46
  91. package/lib/generated-client/api/{trickplay-api.js → trick-play-api.js} +22 -28
  92. package/lib/generated-client/api/user-api.d.ts +0 -249
  93. package/lib/generated-client/api/user-api.js +11 -277
  94. package/lib/generated-client/api/user-data-api.d.ts +429 -0
  95. package/lib/generated-client/api/{user-library-api.js → user-data-api.js} +149 -324
  96. package/lib/generated-client/api/{user-views-api.d.ts → user-view-api.d.ts} +20 -42
  97. package/lib/generated-client/api/{user-views-api.js → user-view-api.js} +22 -28
  98. package/lib/generated-client/api/{videos-api.d.ts → video-api.d.ts} +111 -533
  99. package/lib/generated-client/api/{videos-api.js → video-api.js} +141 -101
  100. package/lib/generated-client/api/{years-api.d.ts → year-api.d.ts} +20 -66
  101. package/lib/generated-client/api/{years-api.js → year-api.js} +22 -28
  102. package/lib/generated-client/api.d.ts +23 -38
  103. package/lib/generated-client/base.d.ts +0 -24
  104. package/lib/generated-client/base.js +0 -15
  105. package/lib/generated-client/common.d.ts +4 -35
  106. package/lib/generated-client/common.js +15 -26
  107. package/lib/generated-client/configuration.d.ts +24 -17
  108. package/lib/generated-client/configuration.js +8 -2
  109. package/lib/generated-client/index.js +25 -39
  110. package/lib/generated-client/models/access-schedule.d.ts +0 -15
  111. package/lib/generated-client/models/activity-log-entry-message.d.ts +0 -11
  112. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +0 -8
  113. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -10
  114. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +0 -7
  115. package/lib/generated-client/models/activity-log-entry.d.ts +0 -25
  116. package/lib/generated-client/models/activity-log-sort-by.d.ts +23 -0
  117. package/lib/generated-client/models/{architecture.d.ts → activity-log-sort-by.js} +13 -11
  118. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +0 -7
  119. package/lib/generated-client/models/album-info-remote-search-query.d.ts +0 -19
  120. package/lib/generated-client/models/album-info.d.ts +1 -49
  121. package/lib/generated-client/models/all-theme-media-result.d.ts +0 -20
  122. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +0 -19
  123. package/lib/generated-client/models/artist-info.d.ts +0 -44
  124. package/lib/generated-client/models/audio-spatial-format.d.ts +0 -2
  125. package/lib/generated-client/models/audio-spatial-format.js +0 -2
  126. package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -6
  127. package/lib/generated-client/models/authentication-info-query-result.d.ts +0 -8
  128. package/lib/generated-client/models/authentication-info.d.ts +0 -35
  129. package/lib/generated-client/models/authentication-result.d.ts +0 -16
  130. package/lib/generated-client/models/backup-manifest-dto.d.ts +5 -20
  131. package/lib/generated-client/models/backup-options-dto.d.ts +0 -10
  132. package/lib/generated-client/models/backup-restore-request-dto.d.ts +1 -5
  133. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +14 -81
  134. package/lib/generated-client/models/base-item-dto-query-result.d.ts +0 -8
  135. package/lib/generated-client/models/base-item-dto.d.ts +6 -456
  136. package/lib/generated-client/models/base-item-kind.d.ts +0 -2
  137. package/lib/generated-client/models/base-item-kind.js +0 -2
  138. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -80
  139. package/lib/generated-client/models/base-item-person.d.ts +0 -20
  140. package/lib/generated-client/models/book-info-remote-search-query.d.ts +0 -19
  141. package/lib/generated-client/models/book-info.d.ts +2 -40
  142. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +0 -19
  143. package/lib/generated-client/models/box-set-info.d.ts +1 -37
  144. package/lib/generated-client/models/branding-options-dto.d.ts +1 -9
  145. package/lib/generated-client/models/buffer-request-dto.d.ts +0 -10
  146. package/lib/generated-client/models/cast-receiver-application.d.ts +2 -8
  147. package/lib/generated-client/models/channel-features.d.ts +0 -29
  148. package/lib/generated-client/models/channel-item-sort-field.d.ts +0 -5
  149. package/lib/generated-client/models/channel-item-sort-field.js +0 -5
  150. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +2 -12
  151. package/lib/generated-client/models/channel-media-content-type.d.ts +0 -5
  152. package/lib/generated-client/models/channel-media-content-type.js +0 -5
  153. package/lib/generated-client/models/channel-media-type.d.ts +0 -5
  154. package/lib/generated-client/models/channel-media-type.js +0 -5
  155. package/lib/generated-client/models/channel-type.d.ts +0 -2
  156. package/lib/generated-client/models/channel-type.js +0 -2
  157. package/lib/generated-client/models/chapter-info.d.ts +0 -18
  158. package/lib/generated-client/models/client-capabilities-dto.d.ts +0 -19
  159. package/lib/generated-client/models/client-log-document-response-dto.d.ts +0 -4
  160. package/lib/generated-client/models/codec-profile.d.ts +0 -17
  161. package/lib/generated-client/models/codec-type.d.ts +1 -3
  162. package/lib/generated-client/models/codec-type.js +1 -3
  163. package/lib/generated-client/models/collection-creation-result.d.ts +0 -10
  164. package/lib/generated-client/models/collection-type-options.d.ts +0 -2
  165. package/lib/generated-client/models/collection-type-options.js +0 -2
  166. package/lib/generated-client/models/collection-type.d.ts +0 -2
  167. package/lib/generated-client/models/collection-type.js +0 -2
  168. package/lib/generated-client/models/configuration-page-info.d.ts +0 -14
  169. package/lib/generated-client/models/container-profile.d.ts +0 -13
  170. package/lib/generated-client/models/country-info.d.ts +0 -10
  171. package/lib/generated-client/models/create-playlist-dto.d.ts +1 -18
  172. package/lib/generated-client/models/create-user-by-name.d.ts +0 -6
  173. package/lib/generated-client/models/culture-dto.d.ts +0 -15
  174. package/lib/generated-client/models/custom-database-option.d.ts +2 -8
  175. package/lib/generated-client/models/custom-database-options.d.ts +3 -13
  176. package/lib/generated-client/models/database-configuration-options.d.ts +1 -15
  177. package/lib/generated-client/models/database-locking-behavior-types.d.ts +0 -2
  178. package/lib/generated-client/models/database-locking-behavior-types.js +0 -2
  179. package/lib/generated-client/models/day-of-week.d.ts +0 -5
  180. package/lib/generated-client/models/day-of-week.js +0 -5
  181. package/lib/generated-client/models/day-pattern.d.ts +1 -3
  182. package/lib/generated-client/models/day-pattern.js +1 -3
  183. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +0 -4
  184. package/lib/generated-client/models/deinterlace-method.d.ts +0 -2
  185. package/lib/generated-client/models/deinterlace-method.js +0 -2
  186. package/lib/generated-client/models/device-info-dto-query-result.d.ts +0 -8
  187. package/lib/generated-client/models/device-info-dto.d.ts +0 -27
  188. package/lib/generated-client/models/device-options-dto.d.ts +0 -8
  189. package/lib/generated-client/models/device-profile.d.ts +1 -25
  190. package/lib/generated-client/models/direct-play-profile.d.ts +0 -13
  191. package/lib/generated-client/models/display-preferences-dto.d.ts +0 -36
  192. package/lib/generated-client/models/dlna-profile-type.d.ts +0 -5
  193. package/lib/generated-client/models/dlna-profile-type.js +0 -5
  194. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +0 -2
  195. package/lib/generated-client/models/down-mix-stereo-algorithms.js +0 -2
  196. package/lib/generated-client/models/dynamic-day-of-week.d.ts +0 -2
  197. package/lib/generated-client/models/dynamic-day-of-week.js +0 -2
  198. package/lib/generated-client/models/embedded-subtitle-options.d.ts +0 -2
  199. package/lib/generated-client/models/embedded-subtitle-options.js +0 -2
  200. package/lib/generated-client/models/encoder-preset.d.ts +0 -2
  201. package/lib/generated-client/models/encoder-preset.js +0 -2
  202. package/lib/generated-client/models/encoding-context.d.ts +1 -3
  203. package/lib/generated-client/models/encoding-context.js +1 -3
  204. package/lib/generated-client/models/encoding-options.d.ts +6 -117
  205. package/lib/generated-client/models/end-point-info.d.ts +0 -15
  206. package/lib/generated-client/models/external-id-info.d.ts +0 -11
  207. package/lib/generated-client/models/external-id-media-type.d.ts +0 -2
  208. package/lib/generated-client/models/external-id-media-type.js +0 -2
  209. package/lib/generated-client/models/external-url.d.ts +0 -9
  210. package/lib/generated-client/models/extra-type.d.ts +0 -5
  211. package/lib/generated-client/models/extra-type.js +0 -5
  212. package/lib/generated-client/models/file-system-entry-info.d.ts +0 -11
  213. package/lib/generated-client/models/file-system-entry-type.d.ts +0 -2
  214. package/lib/generated-client/models/file-system-entry-type.js +0 -2
  215. package/lib/generated-client/models/folder-storage-dto.d.ts +1 -13
  216. package/lib/generated-client/models/font-file.d.ts +0 -10
  217. package/lib/generated-client/models/force-keep-alive-message.d.ts +0 -11
  218. package/lib/generated-client/models/forgot-password-action.d.ts +0 -5
  219. package/lib/generated-client/models/forgot-password-action.js +0 -5
  220. package/lib/generated-client/models/forgot-password-dto.d.ts +0 -4
  221. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +0 -4
  222. package/lib/generated-client/models/forgot-password-result.d.ts +0 -14
  223. package/lib/generated-client/models/general-command-message.d.ts +0 -14
  224. package/lib/generated-client/models/general-command-type.d.ts +0 -2
  225. package/lib/generated-client/models/general-command-type.js +0 -2
  226. package/lib/generated-client/models/general-command.d.ts +1 -21
  227. package/lib/generated-client/models/get-programs-dto.d.ts +0 -56
  228. package/lib/generated-client/models/group-info-dto.d.ts +0 -15
  229. package/lib/generated-client/models/group-queue-mode.d.ts +0 -2
  230. package/lib/generated-client/models/group-queue-mode.js +0 -2
  231. package/lib/generated-client/models/group-repeat-mode.d.ts +0 -2
  232. package/lib/generated-client/models/group-repeat-mode.js +0 -2
  233. package/lib/generated-client/models/group-shuffle-mode.d.ts +0 -2
  234. package/lib/generated-client/models/group-shuffle-mode.js +0 -2
  235. package/lib/generated-client/models/group-state-type.d.ts +0 -2
  236. package/lib/generated-client/models/group-state-type.js +0 -2
  237. package/lib/generated-client/models/group-state-update.d.ts +0 -12
  238. package/lib/generated-client/models/group-update-type.d.ts +0 -2
  239. package/lib/generated-client/models/group-update-type.js +0 -2
  240. package/lib/generated-client/models/group-update.d.ts +0 -1
  241. package/lib/generated-client/models/guide-info.d.ts +0 -9
  242. package/lib/generated-client/models/hardware-acceleration-type.d.ts +0 -2
  243. package/lib/generated-client/models/hardware-acceleration-type.js +0 -2
  244. package/lib/generated-client/models/{notification-level.d.ts → hls-audio-seek-strategy.d.ts} +5 -8
  245. package/lib/generated-client/models/{transcoding-info.js → hls-audio-seek-strategy.js} +8 -2
  246. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +0 -4
  247. package/lib/generated-client/models/image-format.d.ts +0 -2
  248. package/lib/generated-client/models/image-format.js +0 -2
  249. package/lib/generated-client/models/image-info.d.ts +0 -21
  250. package/lib/generated-client/models/image-option.d.ts +0 -14
  251. package/lib/generated-client/models/image-orientation.d.ts +0 -5
  252. package/lib/generated-client/models/image-orientation.js +0 -5
  253. package/lib/generated-client/models/image-provider-info.d.ts +0 -6
  254. package/lib/generated-client/models/image-resolution.d.ts +0 -2
  255. package/lib/generated-client/models/image-resolution.js +0 -2
  256. package/lib/generated-client/models/image-saving-convention.d.ts +1 -3
  257. package/lib/generated-client/models/image-saving-convention.js +1 -3
  258. package/lib/generated-client/models/image-type.d.ts +0 -2
  259. package/lib/generated-client/models/image-type.js +0 -2
  260. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +0 -7
  261. package/lib/generated-client/models/inbound-web-socket-message.d.ts +0 -1
  262. package/lib/generated-client/models/index.d.ts +2 -2
  263. package/lib/generated-client/models/index.js +2 -1
  264. package/lib/generated-client/models/installation-info.d.ts +0 -19
  265. package/lib/generated-client/models/iplugin.d.ts +0 -16
  266. package/lib/generated-client/models/iso-type.d.ts +0 -2
  267. package/lib/generated-client/models/iso-type.js +0 -2
  268. package/lib/generated-client/models/item-counts.d.ts +0 -26
  269. package/lib/generated-client/models/item-fields.d.ts +0 -2
  270. package/lib/generated-client/models/item-fields.js +0 -2
  271. package/lib/generated-client/models/item-filter.d.ts +0 -2
  272. package/lib/generated-client/models/item-filter.js +0 -2
  273. package/lib/generated-client/models/item-sort-by.d.ts +0 -2
  274. package/lib/generated-client/models/item-sort-by.js +0 -2
  275. package/lib/generated-client/models/join-group-request-dto.d.ts +0 -4
  276. package/lib/generated-client/models/keep-until.d.ts +0 -5
  277. package/lib/generated-client/models/keep-until.js +0 -5
  278. package/lib/generated-client/models/library-changed-message.d.ts +0 -14
  279. package/lib/generated-client/models/library-option-info-dto.d.ts +0 -6
  280. package/lib/generated-client/models/library-options-result-dto.d.ts +0 -14
  281. package/lib/generated-client/models/library-options.d.ts +0 -207
  282. package/lib/generated-client/models/library-storage-dto.d.ts +3 -11
  283. package/lib/generated-client/models/library-type-options-dto.d.ts +4 -12
  284. package/lib/generated-client/models/library-update-info.d.ts +0 -22
  285. package/lib/generated-client/models/listings-provider-info.d.ts +0 -95
  286. package/lib/generated-client/models/live-stream-response.d.ts +0 -10
  287. package/lib/generated-client/models/live-tv-info.d.ts +0 -11
  288. package/lib/generated-client/models/live-tv-options.d.ts +0 -80
  289. package/lib/generated-client/models/live-tv-service-info.d.ts +0 -24
  290. package/lib/generated-client/models/live-tv-service-status.d.ts +1 -3
  291. package/lib/generated-client/models/live-tv-service-status.js +1 -3
  292. package/lib/generated-client/models/localization-option.d.ts +0 -15
  293. package/lib/generated-client/models/location-type.d.ts +0 -2
  294. package/lib/generated-client/models/location-type.js +0 -2
  295. package/lib/generated-client/models/log-file.d.ts +1 -14
  296. package/lib/generated-client/models/log-level.d.ts +0 -5
  297. package/lib/generated-client/models/log-level.js +0 -5
  298. package/lib/generated-client/models/lyric-dto.d.ts +0 -9
  299. package/lib/generated-client/models/lyric-line-cue.d.ts +0 -10
  300. package/lib/generated-client/models/lyric-line.d.ts +0 -8
  301. package/lib/generated-client/models/lyric-metadata.d.ts +0 -22
  302. package/lib/generated-client/models/media-attachment.d.ts +0 -16
  303. package/lib/generated-client/models/media-path-dto.d.ts +0 -11
  304. package/lib/generated-client/models/media-path-info.d.ts +0 -10
  305. package/lib/generated-client/models/media-protocol.d.ts +0 -5
  306. package/lib/generated-client/models/media-protocol.js +0 -5
  307. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +0 -8
  308. package/lib/generated-client/models/media-segment-dto.d.ts +0 -15
  309. package/lib/generated-client/models/media-segment-type.d.ts +0 -2
  310. package/lib/generated-client/models/media-segment-type.js +0 -2
  311. package/lib/generated-client/models/media-source-info.d.ts +1 -228
  312. package/lib/generated-client/models/media-source-type.d.ts +1 -3
  313. package/lib/generated-client/models/media-source-type.js +1 -3
  314. package/lib/generated-client/models/media-stream-protocol.d.ts +1 -3
  315. package/lib/generated-client/models/media-stream-protocol.js +1 -3
  316. package/lib/generated-client/models/media-stream-type.d.ts +0 -2
  317. package/lib/generated-client/models/media-stream-type.js +0 -2
  318. package/lib/generated-client/models/media-stream.d.ts +7 -176
  319. package/lib/generated-client/models/media-type.d.ts +0 -2
  320. package/lib/generated-client/models/media-type.js +0 -2
  321. package/lib/generated-client/models/media-update-info-dto.d.ts +0 -4
  322. package/lib/generated-client/models/media-update-info-path-dto.d.ts +1 -7
  323. package/lib/generated-client/models/media-url.d.ts +0 -15
  324. package/lib/generated-client/models/message-command.d.ts +4 -12
  325. package/lib/generated-client/models/metadata-configuration.d.ts +0 -10
  326. package/lib/generated-client/models/metadata-editor-info.d.ts +0 -17
  327. package/lib/generated-client/models/metadata-field.d.ts +0 -2
  328. package/lib/generated-client/models/metadata-field.js +0 -2
  329. package/lib/generated-client/models/metadata-options.d.ts +0 -37
  330. package/lib/generated-client/models/metadata-refresh-mode.d.ts +0 -5
  331. package/lib/generated-client/models/metadata-refresh-mode.js +0 -5
  332. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +0 -6
  333. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +0 -19
  334. package/lib/generated-client/models/movie-info.d.ts +1 -37
  335. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +0 -19
  336. package/lib/generated-client/models/music-video-info.d.ts +0 -44
  337. package/lib/generated-client/models/name-guid-pair.d.ts +0 -15
  338. package/lib/generated-client/models/name-id-pair.d.ts +0 -9
  339. package/lib/generated-client/models/name-value-pair.d.ts +0 -9
  340. package/lib/generated-client/models/network-configuration.d.ts +1 -49
  341. package/lib/generated-client/models/new-group-request-dto.d.ts +0 -4
  342. package/lib/generated-client/models/next-item-request-dto.d.ts +0 -4
  343. package/lib/generated-client/models/open-live-stream-dto.d.ts +0 -33
  344. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +0 -9
  345. package/lib/generated-client/models/outbound-web-socket-message.d.ts +0 -1
  346. package/lib/generated-client/models/package-info.d.ts +1 -19
  347. package/lib/generated-client/models/parental-rating-score.d.ts +0 -6
  348. package/lib/generated-client/models/parental-rating.d.ts +0 -11
  349. package/lib/generated-client/models/path-substitution.d.ts +0 -6
  350. package/lib/generated-client/models/person-kind.d.ts +1 -2
  351. package/lib/generated-client/models/person-kind.js +2 -3
  352. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +0 -19
  353. package/lib/generated-client/models/person-lookup-info.d.ts +1 -37
  354. package/lib/generated-client/models/pin-redeem-result.d.ts +0 -9
  355. package/lib/generated-client/models/ping-request-dto.d.ts +0 -4
  356. package/lib/generated-client/models/play-access.d.ts +1 -3
  357. package/lib/generated-client/models/play-access.js +1 -3
  358. package/lib/generated-client/models/play-command.d.ts +0 -2
  359. package/lib/generated-client/models/play-command.js +0 -2
  360. package/lib/generated-client/models/play-message.d.ts +0 -14
  361. package/lib/generated-client/models/play-method.d.ts +1 -3
  362. package/lib/generated-client/models/play-method.js +1 -3
  363. package/lib/generated-client/models/play-queue-update-reason.d.ts +0 -2
  364. package/lib/generated-client/models/play-queue-update-reason.js +0 -2
  365. package/lib/generated-client/models/play-queue-update.d.ts +0 -27
  366. package/lib/generated-client/models/play-request-dto.d.ts +0 -8
  367. package/lib/generated-client/models/play-request.d.ts +0 -33
  368. package/lib/generated-client/models/playback-error-code.d.ts +1 -3
  369. package/lib/generated-client/models/playback-error-code.js +1 -3
  370. package/lib/generated-client/models/playback-info-dto.d.ts +0 -37
  371. package/lib/generated-client/models/playback-info-response.d.ts +0 -11
  372. package/lib/generated-client/models/playback-order.d.ts +0 -2
  373. package/lib/generated-client/models/playback-order.js +0 -2
  374. package/lib/generated-client/models/playback-progress-info.d.ts +0 -71
  375. package/lib/generated-client/models/playback-request-type.d.ts +0 -2
  376. package/lib/generated-client/models/playback-request-type.js +0 -2
  377. package/lib/generated-client/models/playback-start-info.d.ts +0 -71
  378. package/lib/generated-client/models/playback-stop-info.d.ts +0 -36
  379. package/lib/generated-client/models/player-state-info.d.ts +0 -38
  380. package/lib/generated-client/models/playlist-creation-result.d.ts +0 -10
  381. package/lib/generated-client/models/playlist-dto.d.ts +2 -10
  382. package/lib/generated-client/models/playlist-user-permissions.d.ts +0 -6
  383. package/lib/generated-client/models/playstate-command.d.ts +0 -2
  384. package/lib/generated-client/models/playstate-command.js +0 -2
  385. package/lib/generated-client/models/playstate-message.d.ts +0 -14
  386. package/lib/generated-client/models/playstate-request.d.ts +2 -13
  387. package/lib/generated-client/models/plugin-info.d.ts +0 -21
  388. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +0 -14
  389. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +0 -14
  390. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +0 -14
  391. package/lib/generated-client/models/plugin-installing-message.d.ts +0 -14
  392. package/lib/generated-client/models/plugin-status.d.ts +0 -2
  393. package/lib/generated-client/models/plugin-status.js +0 -2
  394. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +0 -14
  395. package/lib/generated-client/models/previous-item-request-dto.d.ts +0 -4
  396. package/lib/generated-client/models/problem-details.d.ts +0 -30
  397. package/lib/generated-client/models/process-priority-class.d.ts +0 -5
  398. package/lib/generated-client/models/process-priority-class.js +0 -5
  399. package/lib/generated-client/models/profile-condition-type.d.ts +0 -5
  400. package/lib/generated-client/models/profile-condition-type.js +0 -5
  401. package/lib/generated-client/models/profile-condition-value.d.ts +1 -5
  402. package/lib/generated-client/models/profile-condition-value.js +2 -6
  403. package/lib/generated-client/models/profile-condition.d.ts +0 -25
  404. package/lib/generated-client/models/program-audio.d.ts +0 -5
  405. package/lib/generated-client/models/program-audio.js +0 -5
  406. package/lib/generated-client/models/public-system-info.d.ts +0 -19
  407. package/lib/generated-client/models/query-filters-legacy.d.ts +0 -25
  408. package/lib/generated-client/models/query-filters.d.ts +3 -15
  409. package/lib/generated-client/models/queue-item.d.ts +3 -9
  410. package/lib/generated-client/models/queue-request-dto.d.ts +0 -9
  411. package/lib/generated-client/models/quick-connect-dto.d.ts +0 -4
  412. package/lib/generated-client/models/quick-connect-result.d.ts +0 -18
  413. package/lib/generated-client/models/rating-type.d.ts +1 -3
  414. package/lib/generated-client/models/rating-type.js +1 -3
  415. package/lib/generated-client/models/ready-request-dto.d.ts +0 -10
  416. package/lib/generated-client/models/recommendation-dto.d.ts +0 -25
  417. package/lib/generated-client/models/recommendation-type.d.ts +0 -5
  418. package/lib/generated-client/models/recommendation-type.js +0 -5
  419. package/lib/generated-client/models/recording-status.d.ts +0 -5
  420. package/lib/generated-client/models/recording-status.js +0 -5
  421. package/lib/generated-client/models/refresh-progress-message.d.ts +0 -11
  422. package/lib/generated-client/models/remote-image-info.d.ts +0 -28
  423. package/lib/generated-client/models/remote-image-result.d.ts +0 -8
  424. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +3 -14
  425. package/lib/generated-client/models/remote-search-result.d.ts +3 -59
  426. package/lib/generated-client/models/remote-subtitle-info.d.ts +0 -85
  427. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +0 -8
  428. package/lib/generated-client/models/repeat-mode.d.ts +1 -3
  429. package/lib/generated-client/models/repeat-mode.js +1 -3
  430. package/lib/generated-client/models/repository-info.d.ts +0 -8
  431. package/lib/generated-client/models/restart-required-message.d.ts +0 -9
  432. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +0 -14
  433. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +0 -11
  434. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -10
  435. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +0 -7
  436. package/lib/generated-client/models/scroll-direction.d.ts +0 -2
  437. package/lib/generated-client/models/scroll-direction.js +0 -2
  438. package/lib/generated-client/models/search-hint-result.d.ts +0 -6
  439. package/lib/generated-client/models/search-hint.d.ts +0 -66
  440. package/lib/generated-client/models/seek-request-dto.d.ts +0 -4
  441. package/lib/generated-client/models/send-command-type.d.ts +0 -2
  442. package/lib/generated-client/models/send-command-type.js +0 -2
  443. package/lib/generated-client/models/send-command.d.ts +0 -17
  444. package/lib/generated-client/models/series-info-remote-search-query.d.ts +0 -19
  445. package/lib/generated-client/models/series-info.d.ts +1 -37
  446. package/lib/generated-client/models/series-status.d.ts +0 -2
  447. package/lib/generated-client/models/series-status.js +0 -2
  448. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +0 -14
  449. package/lib/generated-client/models/series-timer-created-message.d.ts +0 -14
  450. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +0 -8
  451. package/lib/generated-client/models/series-timer-info-dto.d.ts +1 -91
  452. package/lib/generated-client/models/server-configuration.d.ts +3 -180
  453. package/lib/generated-client/models/server-discovery-info.d.ts +0 -10
  454. package/lib/generated-client/models/server-restarting-message.d.ts +0 -9
  455. package/lib/generated-client/models/server-shutting-down-message.d.ts +0 -9
  456. package/lib/generated-client/models/session-info-dto.d.ts +1 -80
  457. package/lib/generated-client/models/session-message-type.d.ts +0 -2
  458. package/lib/generated-client/models/session-message-type.js +0 -2
  459. package/lib/generated-client/models/session-user-info.d.ts +0 -6
  460. package/lib/generated-client/models/sessions-message.d.ts +0 -11
  461. package/lib/generated-client/models/sessions-start-message.d.ts +1 -10
  462. package/lib/generated-client/models/sessions-stop-message.d.ts +0 -7
  463. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +0 -8
  464. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +0 -4
  465. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +0 -7
  466. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +0 -7
  467. package/lib/generated-client/models/song-info.d.ts +0 -54
  468. package/lib/generated-client/models/sort-order.d.ts +0 -2
  469. package/lib/generated-client/models/sort-order.js +0 -2
  470. package/lib/generated-client/models/special-view-option-dto.d.ts +0 -6
  471. package/lib/generated-client/models/startup-configuration-dto.d.ts +0 -10
  472. package/lib/generated-client/models/startup-remote-access-dto.d.ts +0 -11
  473. package/lib/generated-client/models/startup-user-dto.d.ts +0 -6
  474. package/lib/generated-client/models/subtitle-delivery-method.d.ts +0 -2
  475. package/lib/generated-client/models/subtitle-delivery-method.js +0 -2
  476. package/lib/generated-client/models/subtitle-playback-mode.d.ts +0 -2
  477. package/lib/generated-client/models/subtitle-playback-mode.js +0 -2
  478. package/lib/generated-client/models/subtitle-profile.d.ts +0 -15
  479. package/lib/generated-client/models/sync-play-command-message.d.ts +0 -14
  480. package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +0 -14
  481. package/lib/generated-client/models/sync-play-group-joined-update.d.ts +0 -17
  482. package/lib/generated-client/models/sync-play-group-left-update.d.ts +0 -14
  483. package/lib/generated-client/models/sync-play-group-update-message.d.ts +0 -14
  484. package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +0 -14
  485. package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +0 -14
  486. package/lib/generated-client/models/sync-play-play-queue-update.d.ts +0 -17
  487. package/lib/generated-client/models/sync-play-queue-item.d.ts +0 -6
  488. package/lib/generated-client/models/sync-play-state-update.d.ts +0 -17
  489. package/lib/generated-client/models/sync-play-user-access-type.d.ts +0 -2
  490. package/lib/generated-client/models/sync-play-user-access-type.js +0 -2
  491. package/lib/generated-client/models/sync-play-user-joined-update.d.ts +0 -14
  492. package/lib/generated-client/models/sync-play-user-left-update.d.ts +0 -14
  493. package/lib/generated-client/models/system-info.d.ts +0 -62
  494. package/lib/generated-client/models/system-storage-dto.d.ts +8 -47
  495. package/lib/generated-client/models/task-completion-status.d.ts +0 -2
  496. package/lib/generated-client/models/task-completion-status.js +0 -2
  497. package/lib/generated-client/models/task-info.d.ts +0 -28
  498. package/lib/generated-client/models/task-result.d.ts +0 -21
  499. package/lib/generated-client/models/task-state.d.ts +0 -2
  500. package/lib/generated-client/models/task-state.js +0 -2
  501. package/lib/generated-client/models/task-trigger-info-type.d.ts +0 -2
  502. package/lib/generated-client/models/task-trigger-info-type.js +0 -2
  503. package/lib/generated-client/models/task-trigger-info.d.ts +0 -18
  504. package/lib/generated-client/models/theme-media-result.d.ts +0 -10
  505. package/lib/generated-client/models/timer-cancelled-message.d.ts +0 -14
  506. package/lib/generated-client/models/timer-created-message.d.ts +0 -14
  507. package/lib/generated-client/models/timer-event-info.d.ts +0 -15
  508. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +0 -8
  509. package/lib/generated-client/models/timer-info-dto.d.ts +0 -76
  510. package/lib/generated-client/models/tonemapping-algorithm.d.ts +0 -2
  511. package/lib/generated-client/models/tonemapping-algorithm.js +0 -2
  512. package/lib/generated-client/models/tonemapping-mode.d.ts +0 -2
  513. package/lib/generated-client/models/tonemapping-mode.js +0 -2
  514. package/lib/generated-client/models/tonemapping-range.d.ts +0 -2
  515. package/lib/generated-client/models/tonemapping-range.js +0 -2
  516. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +0 -19
  517. package/lib/generated-client/models/trailer-info.d.ts +1 -37
  518. package/lib/generated-client/models/transcode-reason.d.ts +1 -5
  519. package/lib/generated-client/models/transcode-reason.js +2 -6
  520. package/lib/generated-client/models/transcode-seek-info.d.ts +1 -3
  521. package/lib/generated-client/models/transcode-seek-info.js +1 -3
  522. package/lib/generated-client/models/transcoding-info.d.ts +2 -34
  523. package/lib/generated-client/models/transcoding-profile.d.ts +3 -50
  524. package/lib/generated-client/models/transport-stream-timestamp.d.ts +1 -3
  525. package/lib/generated-client/models/transport-stream-timestamp.js +1 -3
  526. package/lib/generated-client/models/trickplay-info-dto.d.ts +0 -16
  527. package/lib/generated-client/models/trickplay-options.d.ts +1 -33
  528. package/lib/generated-client/models/trickplay-scan-behavior.d.ts +0 -2
  529. package/lib/generated-client/models/trickplay-scan-behavior.js +0 -2
  530. package/lib/generated-client/models/tuner-channel-mapping.d.ts +0 -25
  531. package/lib/generated-client/models/tuner-host-info.d.ts +0 -85
  532. package/lib/generated-client/models/type-options.d.ts +2 -35
  533. package/lib/generated-client/models/unrated-item.d.ts +0 -2
  534. package/lib/generated-client/models/unrated-item.js +0 -2
  535. package/lib/generated-client/models/update-library-options-dto.d.ts +0 -9
  536. package/lib/generated-client/models/update-media-path-request-dto.d.ts +0 -9
  537. package/lib/generated-client/models/update-playlist-dto.d.ts +0 -10
  538. package/lib/generated-client/models/update-playlist-user-dto.d.ts +0 -4
  539. package/lib/generated-client/models/update-user-item-data-dto.d.ts +0 -24
  540. package/lib/generated-client/models/update-user-password.d.ts +0 -10
  541. package/lib/generated-client/models/upload-subtitle-dto.d.ts +0 -12
  542. package/lib/generated-client/models/user-configuration.d.ts +0 -70
  543. package/lib/generated-client/models/user-data-change-info.d.ts +1 -7
  544. package/lib/generated-client/models/user-data-changed-message.d.ts +0 -14
  545. package/lib/generated-client/models/user-deleted-message.d.ts +0 -11
  546. package/lib/generated-client/models/user-dto.d.ts +6 -40
  547. package/lib/generated-client/models/user-item-data-dto.d.ts +1 -25
  548. package/lib/generated-client/models/user-policy.d.ts +0 -201
  549. package/lib/generated-client/models/user-updated-message.d.ts +0 -14
  550. package/lib/generated-client/models/utc-time-response.d.ts +0 -6
  551. package/lib/generated-client/models/validate-path-dto.d.ts +0 -8
  552. package/lib/generated-client/models/version-info.d.ts +0 -20
  553. package/lib/generated-client/models/video-range-type.d.ts +0 -2
  554. package/lib/generated-client/models/video-range-type.js +0 -2
  555. package/lib/generated-client/models/video-range.d.ts +0 -2
  556. package/lib/generated-client/models/video-range.js +0 -2
  557. package/lib/generated-client/models/video-type.d.ts +0 -2
  558. package/lib/generated-client/models/video-type.js +0 -2
  559. package/lib/generated-client/models/video3-dformat.d.ts +0 -5
  560. package/lib/generated-client/models/video3-dformat.js +0 -5
  561. package/lib/generated-client/models/virtual-folder-info.d.ts +0 -30
  562. package/lib/generated-client/models/web-socket-message.d.ts +0 -1
  563. package/lib/generated-client/models/xbmc-metadata-options.d.ts +0 -30
  564. package/lib/index.js +1 -1
  565. package/lib/models/api/image-request-parameters.d.ts +1 -1
  566. package/lib/models/device-info.d.ts +1 -0
  567. package/lib/utils/api/{videos-api.d.ts → artist-api.d.ts} +2 -2
  568. package/lib/utils/api/{movies-api.js → artist-api.js} +4 -4
  569. package/lib/utils/api/authentication-api.d.ts +8 -0
  570. package/lib/utils/api/authentication-api.js +35 -0
  571. package/lib/utils/api/{tmdb-api.d.ts → backup-api.d.ts} +2 -2
  572. package/lib/utils/api/backup-api.js +13 -0
  573. package/lib/utils/api/{artists-api.d.ts → channel-api.d.ts} +2 -2
  574. package/lib/utils/api/{artists-api.js → channel-api.js} +4 -4
  575. package/lib/utils/api/{movies-api.d.ts → device-api.d.ts} +2 -2
  576. package/lib/utils/api/{lyrics-api.js → device-api.js} +4 -4
  577. package/lib/utils/api/display-preference-api.d.ts +8 -0
  578. package/lib/utils/api/display-preference-api.js +12 -0
  579. package/lib/utils/api/{items-api.d.ts → genre-api.d.ts} +2 -2
  580. package/lib/utils/api/{items-api.js → genre-api.js} +4 -4
  581. package/lib/utils/api/index.d.ts +24 -38
  582. package/lib/utils/api/index.js +24 -38
  583. package/lib/utils/api/library-api.d.ts +14 -2
  584. package/lib/utils/api/library-api.js +17 -1
  585. package/lib/utils/api/{years-api.d.ts → lyric-api.d.ts} +2 -2
  586. package/lib/utils/api/{years-api.js → lyric-api.js} +4 -4
  587. package/lib/utils/api/{activity-log-api.d.ts → media-segment-api.d.ts} +2 -2
  588. package/lib/utils/api/{quick-connect-api.js → media-segment-api.js} +4 -4
  589. package/lib/utils/api/movie-api.d.ts +8 -0
  590. package/lib/utils/api/movie-api.js +12 -0
  591. package/lib/utils/api/{dynamic-hls-api.d.ts → music-genre-api.d.ts} +2 -2
  592. package/lib/utils/api/{dynamic-hls-api.js → music-genre-api.js} +4 -4
  593. package/lib/utils/api/{genres-api.d.ts → person-api.d.ts} +2 -2
  594. package/lib/utils/api/{genres-api.js → person-api.js} +4 -4
  595. package/lib/utils/api/{trailers-api.d.ts → playlist-api.d.ts} +2 -2
  596. package/lib/utils/api/{channels-api.js → playlist-api.js} +4 -4
  597. package/lib/utils/api/{lyrics-api.d.ts → plugin-api.d.ts} +2 -2
  598. package/lib/utils/api/{videos-api.js → plugin-api.js} +4 -4
  599. package/lib/utils/api/scheduled-task-api.d.ts +8 -0
  600. package/lib/utils/api/{configuration-api.js → scheduled-task-api.js} +4 -4
  601. package/lib/utils/api/session-api.js +18 -1
  602. package/lib/utils/api/show-api.d.ts +8 -0
  603. package/lib/utils/api/{tmdb-api.js → show-api.js} +4 -4
  604. package/lib/utils/api/studio-api.d.ts +8 -0
  605. package/lib/utils/api/studio-api.js +12 -0
  606. package/lib/utils/api/{hls-segment-api.d.ts → suggestion-api.d.ts} +2 -2
  607. package/lib/utils/api/{hls-segment-api.js → suggestion-api.js} +4 -4
  608. package/lib/utils/api/{package-api.d.ts → trailer-api.d.ts} +2 -2
  609. package/lib/utils/api/{devices-api.js → trailer-api.js} +4 -4
  610. package/lib/utils/api/{dashboard-api.d.ts → trick-play-api.d.ts} +2 -2
  611. package/lib/utils/api/{dashboard-api.js → trick-play-api.js} +4 -4
  612. package/lib/utils/api/{api-key-api.d.ts → user-data-api.d.ts} +2 -2
  613. package/lib/utils/api/{time-sync-api.js → user-data-api.js} +4 -4
  614. package/lib/utils/api/{channels-api.d.ts → user-view-api.d.ts} +2 -2
  615. package/lib/utils/api/{trailers-api.js → user-view-api.js} +4 -4
  616. package/lib/utils/api/video-api.d.ts +8 -0
  617. package/lib/utils/api/video-api.js +12 -0
  618. package/lib/utils/api/year-api.d.ts +8 -0
  619. package/lib/utils/api/year-api.js +12 -0
  620. package/lib/utils/index.js +2 -2
  621. package/lib/utils/url/index.d.ts +1 -0
  622. package/lib/utils/url/index.js +4 -1
  623. package/lib/utils/versioning.d.ts +12 -1
  624. package/lib/utils/versioning.js +44 -13
  625. package/lib/versions.d.ts +1 -1
  626. package/lib/versions.js +1 -1
  627. package/lib/websocket/constants.d.ts +24 -0
  628. package/lib/websocket/constants.js +42 -0
  629. package/lib/websocket/index.d.ts +8 -0
  630. package/lib/websocket/index.js +3 -0
  631. package/lib/{utils/api/client-log-api.d.ts → websocket/models.d.ts} +6 -3
  632. package/lib/websocket/models.js +16 -0
  633. package/lib/websocket/types.d.ts +37 -0
  634. package/lib/websocket/types.js +42 -0
  635. package/lib/websocket/websocket-service.d.ts +142 -0
  636. package/lib/websocket/websocket-service.js +296 -0
  637. package/package.json +20 -16
  638. package/lib/generated-client/api/activity-log-api.d.ts +0 -110
  639. package/lib/generated-client/api/activity-log-api.js +0 -135
  640. package/lib/generated-client/api/api-key-api.d.ts +0 -161
  641. package/lib/generated-client/api/api-key-api.js +0 -245
  642. package/lib/generated-client/api/client-log-api.d.ts +0 -86
  643. package/lib/generated-client/api/client-log-api.js +0 -117
  644. package/lib/generated-client/api/configuration-api.d.ts +0 -292
  645. package/lib/generated-client/api/configuration-api.js +0 -442
  646. package/lib/generated-client/api/dashboard-api.d.ts +0 -132
  647. package/lib/generated-client/api/dashboard-api.js +0 -182
  648. package/lib/generated-client/api/dlna-api.d.ts +0 -292
  649. package/lib/generated-client/api/dlna-server-api.d.ts +0 -784
  650. package/lib/generated-client/api/dynamic-hls-api.d.ts +0 -4261
  651. package/lib/generated-client/api/dynamic-hls-api.js +0 -3025
  652. package/lib/generated-client/api/hls-segment-api.d.ts +0 -325
  653. package/lib/generated-client/api/hls-segment-api.js +0 -415
  654. package/lib/generated-client/api/image-by-name-api.d.ts +0 -292
  655. package/lib/generated-client/api/item-refresh-api.d.ts +0 -126
  656. package/lib/generated-client/api/item-refresh-api.js +0 -143
  657. package/lib/generated-client/api/items-api.d.ts +0 -1052
  658. package/lib/generated-client/api/items-api.js +0 -835
  659. package/lib/generated-client/api/music-genres-api.d.ts +0 -286
  660. package/lib/generated-client/api/music-genres-api.js +0 -278
  661. package/lib/generated-client/api/notifications-api.d.ts +0 -332
  662. package/lib/generated-client/api/package-api.d.ts +0 -315
  663. package/lib/generated-client/api/package-api.js +0 -455
  664. package/lib/generated-client/api/playstate-api.d.ts +0 -679
  665. package/lib/generated-client/api/playstate-api.js +0 -789
  666. package/lib/generated-client/api/plugins-api.d.ts +0 -473
  667. package/lib/generated-client/api/plugins-api.js +0 -663
  668. package/lib/generated-client/api/quick-connect-api.d.ts +0 -198
  669. package/lib/generated-client/api/quick-connect-api.js +0 -305
  670. package/lib/generated-client/api/time-sync-api.d.ts +0 -69
  671. package/lib/generated-client/api/time-sync-api.js +0 -109
  672. package/lib/generated-client/api/tmdb-api.d.ts +0 -69
  673. package/lib/generated-client/api/tmdb-api.js +0 -111
  674. package/lib/generated-client/api/universal-audio-api.d.ts +0 -420
  675. package/lib/generated-client/api/universal-audio-api.js +0 -364
  676. package/lib/generated-client/api/user-library-api.d.ts +0 -657
  677. package/lib/generated-client/api/video-attachments-api.d.ts +0 -101
  678. package/lib/generated-client/api/video-attachments-api.js +0 -126
  679. package/lib/generated-client/models/admin-notification-dto.d.ts +0 -42
  680. package/lib/generated-client/models/base-item.d.ts +0 -84
  681. package/lib/generated-client/models/branding-options.d.ts +0 -35
  682. package/lib/generated-client/models/client-capabilities.d.ts +0 -76
  683. package/lib/generated-client/models/config-image-types.d.ts +0 -59
  684. package/lib/generated-client/models/control-response.d.ts +0 -37
  685. package/lib/generated-client/models/device-identification.d.ts +0 -72
  686. package/lib/generated-client/models/device-info-query-result.d.ts +0 -36
  687. package/lib/generated-client/models/device-info.d.ts +0 -84
  688. package/lib/generated-client/models/device-options.d.ts +0 -35
  689. package/lib/generated-client/models/device-profile-info.d.ts +0 -36
  690. package/lib/generated-client/models/device-profile-type.d.ts +0 -20
  691. package/lib/generated-client/models/dlna-options.d.ts +0 -83
  692. package/lib/generated-client/models/ffmpeg-location.d.ts +0 -22
  693. package/lib/generated-client/models/group-info-dto-group-update.d.ts +0 -37
  694. package/lib/generated-client/models/group-state-update-group-update.d.ts +0 -37
  695. package/lib/generated-client/models/hardware-encoding-type.d.ts +0 -25
  696. package/lib/generated-client/models/header-match-type.d.ts +0 -21
  697. package/lib/generated-client/models/http-header-info.d.ts +0 -36
  698. package/lib/generated-client/models/image-by-name-info.d.ts +0 -47
  699. package/lib/generated-client/models/media-encoder-path-dto.d.ts +0 -29
  700. package/lib/generated-client/models/notification-dto.d.ts +0 -66
  701. package/lib/generated-client/models/notification-option.d.ts +0 -54
  702. package/lib/generated-client/models/notification-options.d.ts +0 -24
  703. package/lib/generated-client/models/notification-result-dto.d.ts +0 -30
  704. package/lib/generated-client/models/notification-type-info.d.ts +0 -47
  705. package/lib/generated-client/models/notifications-summary-dto.d.ts +0 -30
  706. package/lib/generated-client/models/object-group-update.d.ts +0 -36
  707. package/lib/generated-client/models/play-queue-update-group-update.d.ts +0 -37
  708. package/lib/generated-client/models/response-profile.d.ts +0 -61
  709. package/lib/generated-client/models/send-to-user-type.d.ts +0 -21
  710. package/lib/generated-client/models/session-info.d.ts +0 -199
  711. package/lib/generated-client/models/string-group-update.d.ts +0 -36
  712. package/lib/generated-client/models/subtitle-options.d.ts +0 -71
  713. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +0 -37
  714. package/lib/generated-client/models/trickplay-info.d.ts +0 -65
  715. package/lib/generated-client/models/update-user-easy-password.d.ts +0 -35
  716. package/lib/generated-client/models/wake-on-lan-info.d.ts +0 -29
  717. package/lib/generated-client/models/xml-attribute.d.ts +0 -29
  718. package/lib/utils/api/activity-log-api.js +0 -12
  719. package/lib/utils/api/api-key-api.js +0 -12
  720. package/lib/utils/api/client-log-api.js +0 -12
  721. package/lib/utils/api/configuration-api.d.ts +0 -8
  722. package/lib/utils/api/devices-api.d.ts +0 -8
  723. package/lib/utils/api/display-preferences-api.d.ts +0 -8
  724. package/lib/utils/api/display-preferences-api.js +0 -12
  725. package/lib/utils/api/item-refresh-api.d.ts +0 -8
  726. package/lib/utils/api/item-refresh-api.js +0 -12
  727. package/lib/utils/api/media-segments-api.d.ts +0 -8
  728. package/lib/utils/api/media-segments-api.js +0 -12
  729. package/lib/utils/api/music-genres-api.d.ts +0 -8
  730. package/lib/utils/api/music-genres-api.js +0 -12
  731. package/lib/utils/api/package-api.js +0 -12
  732. package/lib/utils/api/persons-api.d.ts +0 -8
  733. package/lib/utils/api/persons-api.js +0 -12
  734. package/lib/utils/api/playlists-api.d.ts +0 -8
  735. package/lib/utils/api/playlists-api.js +0 -12
  736. package/lib/utils/api/playstate-api.d.ts +0 -8
  737. package/lib/utils/api/playstate-api.js +0 -12
  738. package/lib/utils/api/plugins-api.d.ts +0 -8
  739. package/lib/utils/api/plugins-api.js +0 -12
  740. package/lib/utils/api/quick-connect-api.d.ts +0 -8
  741. package/lib/utils/api/scheduled-tasks-api.d.ts +0 -8
  742. package/lib/utils/api/scheduled-tasks-api.js +0 -12
  743. package/lib/utils/api/studios-api.d.ts +0 -8
  744. package/lib/utils/api/studios-api.js +0 -12
  745. package/lib/utils/api/suggestions-api.d.ts +0 -8
  746. package/lib/utils/api/suggestions-api.js +0 -12
  747. package/lib/utils/api/time-sync-api.d.ts +0 -8
  748. package/lib/utils/api/trickplay-api.d.ts +0 -8
  749. package/lib/utils/api/trickplay-api.js +0 -12
  750. package/lib/utils/api/tv-shows-api.d.ts +0 -8
  751. package/lib/utils/api/tv-shows-api.js +0 -12
  752. package/lib/utils/api/universal-audio-api.d.ts +0 -8
  753. package/lib/utils/api/universal-audio-api.js +0 -12
  754. package/lib/utils/api/user-library-api.d.ts +0 -8
  755. package/lib/utils/api/user-library-api.js +0 -12
  756. package/lib/utils/api/user-views-api.d.ts +0 -8
  757. package/lib/utils/api/user-views-api.js +0 -12
  758. package/lib/utils/api/video-attachments-api.d.ts +0 -8
  759. package/lib/utils/api/video-attachments-api.js +0 -12
@@ -1,1052 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- import type { Configuration } from '../configuration';
12
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
13
- import { type RequestArgs, BaseAPI } from '../base';
14
- import type { BaseItemDtoQueryResult } from '../models';
15
- import type { BaseItemKind } from '../models';
16
- import type { ImageType } from '../models';
17
- import type { ItemFields } from '../models';
18
- import type { ItemFilter } from '../models';
19
- import type { ItemSortBy } from '../models';
20
- import type { LocationType } from '../models';
21
- import type { MediaType } from '../models';
22
- import type { SeriesStatus } from '../models';
23
- import type { SortOrder } from '../models';
24
- import type { UpdateUserItemDataDto } from '../models';
25
- import type { UserItemDataDto } from '../models';
26
- import type { VideoType } from '../models';
27
- /**
28
- * ItemsApi - axios parameter creator
29
- * @export
30
- */
31
- export declare const ItemsApiAxiosParamCreator: (configuration?: Configuration) => {
32
- /**
33
- *
34
- * @summary Get Item User Data.
35
- * @param {string} itemId The item id.
36
- * @param {string} [userId] The user id.
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- getItemUserData: (itemId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
- /**
42
- *
43
- * @summary Gets items based on a query.
44
- * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key.
45
- * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
46
- * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
47
- * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
48
- * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
49
- * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
50
- * @param {boolean} [hasTrailer] Optional filter by items with trailers.
51
- * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
52
- * @param {number} [indexNumber] Optional filter by index number.
53
- * @param {number} [parentIndexNumber] Optional filter by parent index number.
54
- * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
55
- * @param {boolean} [isHd] Optional filter by items that are HD or not.
56
- * @param {boolean} [is4K] Optional filter by items that are 4K or not.
57
- * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
58
- * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
59
- * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
60
- * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
61
- * @param {number} [minCommunityRating] Optional filter by minimum community rating.
62
- * @param {number} [minCriticRating] Optional filter by minimum critic rating.
63
- * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
64
- * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
65
- * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
66
- * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
67
- * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
68
- * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not.
69
- * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not.
70
- * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not.
71
- * @param {boolean} [isMovie] Optional filter for live tv movies.
72
- * @param {boolean} [isSeries] Optional filter for live tv series.
73
- * @param {boolean} [isNews] Optional filter for live tv news.
74
- * @param {boolean} [isKids] Optional filter for live tv kids.
75
- * @param {boolean} [isSports] Optional filter for live tv sports.
76
- * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
77
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
78
- * @param {number} [limit] Optional. The maximum number of records to return.
79
- * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
80
- * @param {string} [searchTerm] Optional. Filter based on a search term.
81
- * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending, Descending.
82
- * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
83
- * @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.
84
- * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
85
- * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
86
- * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
87
- * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
88
- * @param {Array<MediaType>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
89
- * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
90
- * @param {Array<ItemSortBy>} [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.
91
- * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
92
- * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
93
- * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
94
- * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
95
- * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
96
- * @param {boolean} [enableUserData] Optional, include user data.
97
- * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
98
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
99
- * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
100
- * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
101
- * @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.
102
- * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
103
- * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
104
- * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
105
- * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
106
- * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
107
- * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
108
- * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
109
- * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
110
- * @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.
111
- * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
112
- * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
113
- * @param {boolean} [isLocked] Optional filter by items that are locked.
114
- * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
115
- * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
116
- * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
117
- * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
118
- * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
119
- * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
120
- * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
121
- * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
122
- * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
123
- * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
124
- * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
125
- * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
126
- * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
127
- * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
128
- * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
129
- * @param {boolean} [enableImages] Optional, include image information in output.
130
- * @param {*} [options] Override http request option.
131
- * @throws {RequiredError}
132
- */
133
- getItems: (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, indexNumber?: number, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
134
- /**
135
- *
136
- * @summary Gets items based on a query.
137
- * @param {string} [userId] The user id.
138
- * @param {number} [startIndex] The start index.
139
- * @param {number} [limit] The item limit.
140
- * @param {string} [searchTerm] The search term.
141
- * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
142
- * @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.
143
- * @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
144
- * @param {boolean} [enableUserData] Optional. Include user data.
145
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
146
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
147
- * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
148
- * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
149
- * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
150
- * @param {boolean} [enableImages] Optional. Include image information in output.
151
- * @param {boolean} [excludeActiveSessions] Optional. Whether to exclude the currently active sessions.
152
- * @param {*} [options] Override http request option.
153
- * @throws {RequiredError}
154
- */
155
- getResumeItems: (userId?: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, mediaTypes?: Array<MediaType>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
156
- /**
157
- *
158
- * @summary Update Item User Data.
159
- * @param {string} itemId The item id.
160
- * @param {UpdateUserItemDataDto} updateUserItemDataDto New user data object.
161
- * @param {string} [userId] The user id.
162
- * @param {*} [options] Override http request option.
163
- * @throws {RequiredError}
164
- */
165
- updateItemUserData: (itemId: string, updateUserItemDataDto: UpdateUserItemDataDto, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
166
- };
167
- /**
168
- * ItemsApi - functional programming interface
169
- * @export
170
- */
171
- export declare const ItemsApiFp: (configuration?: Configuration) => {
172
- /**
173
- *
174
- * @summary Get Item User Data.
175
- * @param {string} itemId The item id.
176
- * @param {string} [userId] The user id.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- getItemUserData(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
181
- /**
182
- *
183
- * @summary Gets items based on a query.
184
- * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key.
185
- * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
186
- * @param {boolean} [hasThemeSong] Optional filter by items with theme songs.
187
- * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos.
188
- * @param {boolean} [hasSubtitles] Optional filter by items with subtitles.
189
- * @param {boolean} [hasSpecialFeature] Optional filter by items with special features.
190
- * @param {boolean} [hasTrailer] Optional filter by items with trailers.
191
- * @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
192
- * @param {number} [indexNumber] Optional filter by index number.
193
- * @param {number} [parentIndexNumber] Optional filter by parent index number.
194
- * @param {boolean} [hasParentalRating] Optional filter by items that have or do not have a parental rating.
195
- * @param {boolean} [isHd] Optional filter by items that are HD or not.
196
- * @param {boolean} [is4K] Optional filter by items that are 4K or not.
197
- * @param {Array<LocationType>} [locationTypes] Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
198
- * @param {Array<LocationType>} [excludeLocationTypes] Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
199
- * @param {boolean} [isMissing] Optional filter by items that are missing episodes or not.
200
- * @param {boolean} [isUnaired] Optional filter by items that are unaired episodes or not.
201
- * @param {number} [minCommunityRating] Optional filter by minimum community rating.
202
- * @param {number} [minCriticRating] Optional filter by minimum critic rating.
203
- * @param {string} [minPremiereDate] Optional. The minimum premiere date. Format &#x3D; ISO.
204
- * @param {string} [minDateLastSaved] Optional. The minimum last saved date. Format &#x3D; ISO.
205
- * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
206
- * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format &#x3D; ISO.
207
- * @param {boolean} [hasOverview] Optional filter by items that have an overview or not.
208
- * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not.
209
- * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not.
210
- * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not.
211
- * @param {boolean} [isMovie] Optional filter for live tv movies.
212
- * @param {boolean} [isSeries] Optional filter for live tv series.
213
- * @param {boolean} [isNews] Optional filter for live tv news.
214
- * @param {boolean} [isKids] Optional filter for live tv kids.
215
- * @param {boolean} [isSports] Optional filter for live tv sports.
216
- * @param {Array<string>} [excludeItemIds] Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
217
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
218
- * @param {number} [limit] Optional. The maximum number of records to return.
219
- * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false.
220
- * @param {string} [searchTerm] Optional. Filter based on a search term.
221
- * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending, Descending.
222
- * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
223
- * @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.
224
- * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
225
- * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
226
- * @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
227
- * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
228
- * @param {Array<MediaType>} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited.
229
- * @param {Array<ImageType>} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
230
- * @param {Array<ItemSortBy>} [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.
231
- * @param {boolean} [isPlayed] Optional filter by items that are played, or not.
232
- * @param {Array<string>} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
233
- * @param {Array<string>} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
234
- * @param {Array<string>} [tags] Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
235
- * @param {Array<number>} [years] Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
236
- * @param {boolean} [enableUserData] Optional, include user data.
237
- * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
238
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
239
- * @param {string} [person] Optional. If specified, results will be filtered to include only those containing the specified person.
240
- * @param {Array<string>} [personIds] Optional. If specified, results will be filtered to include only those containing the specified person id.
241
- * @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.
242
- * @param {Array<string>} [studios] Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
243
- * @param {Array<string>} [artists] Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
244
- * @param {Array<string>} [excludeArtistIds] Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
245
- * @param {Array<string>} [artistIds] Optional. If specified, results will be filtered to include only those containing the specified artist id.
246
- * @param {Array<string>} [albumArtistIds] Optional. If specified, results will be filtered to include only those containing the specified album artist id.
247
- * @param {Array<string>} [contributingArtistIds] Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
248
- * @param {Array<string>} [albums] Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
249
- * @param {Array<string>} [albumIds] Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
250
- * @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.
251
- * @param {Array<VideoType>} [videoTypes] Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
252
- * @param {string} [minOfficialRating] Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
253
- * @param {boolean} [isLocked] Optional filter by items that are locked.
254
- * @param {boolean} [isPlaceHolder] Optional filter by items that are placeholders.
255
- * @param {boolean} [hasOfficialRating] Optional filter by items that have official ratings.
256
- * @param {boolean} [collapseBoxSetItems] Whether or not to hide items behind their boxsets.
257
- * @param {number} [minWidth] Optional. Filter by the minimum width of the item.
258
- * @param {number} [minHeight] Optional. Filter by the minimum height of the item.
259
- * @param {number} [maxWidth] Optional. Filter by the maximum width of the item.
260
- * @param {number} [maxHeight] Optional. Filter by the maximum height of the item.
261
- * @param {boolean} [is3D] Optional filter by items that are 3D, or not.
262
- * @param {Array<SeriesStatus>} [seriesStatus] Optional filter by Series Status. Allows multiple, comma delimited.
263
- * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
264
- * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
265
- * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
266
- * @param {Array<string>} [studioIds] Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
267
- * @param {Array<string>} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
268
- * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
269
- * @param {boolean} [enableImages] Optional, include image information in output.
270
- * @param {*} [options] Override http request option.
271
- * @throws {RequiredError}
272
- */
273
- getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, indexNumber?: number, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array<LocationType>, excludeLocationTypes?: Array<LocationType>, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array<string>, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, filters?: Array<ItemFilter>, isFavorite?: boolean, mediaTypes?: Array<MediaType>, imageTypes?: Array<ImageType>, sortBy?: Array<ItemSortBy>, isPlayed?: boolean, genres?: Array<string>, officialRatings?: Array<string>, tags?: Array<string>, years?: Array<number>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, person?: string, personIds?: Array<string>, personTypes?: Array<string>, studios?: Array<string>, artists?: Array<string>, excludeArtistIds?: Array<string>, artistIds?: Array<string>, albumArtistIds?: Array<string>, contributingArtistIds?: Array<string>, albums?: Array<string>, albumIds?: Array<string>, ids?: Array<string>, videoTypes?: Array<VideoType>, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array<SeriesStatus>, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array<string>, genreIds?: Array<string>, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
274
- /**
275
- *
276
- * @summary Gets items based on a query.
277
- * @param {string} [userId] The user id.
278
- * @param {number} [startIndex] The start index.
279
- * @param {number} [limit] The item limit.
280
- * @param {string} [searchTerm] The search term.
281
- * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
282
- * @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.
283
- * @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
284
- * @param {boolean} [enableUserData] Optional. Include user data.
285
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
286
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
287
- * @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
288
- * @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
289
- * @param {boolean} [enableTotalRecordCount] Optional. Enable the total record count.
290
- * @param {boolean} [enableImages] Optional. Include image information in output.
291
- * @param {boolean} [excludeActiveSessions] Optional. Whether to exclude the currently active sessions.
292
- * @param {*} [options] Override http request option.
293
- * @throws {RequiredError}
294
- */
295
- getResumeItems(userId?: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, mediaTypes?: Array<MediaType>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
296
- /**
297
- *
298
- * @summary Update Item User Data.
299
- * @param {string} itemId The item id.
300
- * @param {UpdateUserItemDataDto} updateUserItemDataDto New user data object.
301
- * @param {string} [userId] The user id.
302
- * @param {*} [options] Override http request option.
303
- * @throws {RequiredError}
304
- */
305
- updateItemUserData(itemId: string, updateUserItemDataDto: UpdateUserItemDataDto, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
306
- };
307
- /**
308
- * ItemsApi - factory interface
309
- * @export
310
- */
311
- export declare const ItemsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
312
- /**
313
- *
314
- * @summary Get Item User Data.
315
- * @param {ItemsApiGetItemUserDataRequest} requestParameters Request parameters.
316
- * @param {*} [options] Override http request option.
317
- * @throws {RequiredError}
318
- */
319
- getItemUserData(requestParameters: ItemsApiGetItemUserDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
320
- /**
321
- *
322
- * @summary Gets items based on a query.
323
- * @param {ItemsApiGetItemsRequest} requestParameters Request parameters.
324
- * @param {*} [options] Override http request option.
325
- * @throws {RequiredError}
326
- */
327
- getItems(requestParameters?: ItemsApiGetItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
328
- /**
329
- *
330
- * @summary Gets items based on a query.
331
- * @param {ItemsApiGetResumeItemsRequest} requestParameters Request parameters.
332
- * @param {*} [options] Override http request option.
333
- * @throws {RequiredError}
334
- */
335
- getResumeItems(requestParameters?: ItemsApiGetResumeItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
336
- /**
337
- *
338
- * @summary Update Item User Data.
339
- * @param {ItemsApiUpdateItemUserDataRequest} requestParameters Request parameters.
340
- * @param {*} [options] Override http request option.
341
- * @throws {RequiredError}
342
- */
343
- updateItemUserData(requestParameters: ItemsApiUpdateItemUserDataRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserItemDataDto>;
344
- };
345
- /**
346
- * Request parameters for getItemUserData operation in ItemsApi.
347
- * @export
348
- * @interface ItemsApiGetItemUserDataRequest
349
- */
350
- export interface ItemsApiGetItemUserDataRequest {
351
- /**
352
- * The item id.
353
- * @type {string}
354
- * @memberof ItemsApiGetItemUserData
355
- */
356
- readonly itemId: string;
357
- /**
358
- * The user id.
359
- * @type {string}
360
- * @memberof ItemsApiGetItemUserData
361
- */
362
- readonly userId?: string;
363
- }
364
- /**
365
- * Request parameters for getItems operation in ItemsApi.
366
- * @export
367
- * @interface ItemsApiGetItemsRequest
368
- */
369
- export interface ItemsApiGetItemsRequest {
370
- /**
371
- * The user id supplied as query parameter; this is required when not using an API key.
372
- * @type {string}
373
- * @memberof ItemsApiGetItems
374
- */
375
- readonly userId?: string;
376
- /**
377
- * Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).
378
- * @type {string}
379
- * @memberof ItemsApiGetItems
380
- */
381
- readonly maxOfficialRating?: string;
382
- /**
383
- * Optional filter by items with theme songs.
384
- * @type {boolean}
385
- * @memberof ItemsApiGetItems
386
- */
387
- readonly hasThemeSong?: boolean;
388
- /**
389
- * Optional filter by items with theme videos.
390
- * @type {boolean}
391
- * @memberof ItemsApiGetItems
392
- */
393
- readonly hasThemeVideo?: boolean;
394
- /**
395
- * Optional filter by items with subtitles.
396
- * @type {boolean}
397
- * @memberof ItemsApiGetItems
398
- */
399
- readonly hasSubtitles?: boolean;
400
- /**
401
- * Optional filter by items with special features.
402
- * @type {boolean}
403
- * @memberof ItemsApiGetItems
404
- */
405
- readonly hasSpecialFeature?: boolean;
406
- /**
407
- * Optional filter by items with trailers.
408
- * @type {boolean}
409
- * @memberof ItemsApiGetItems
410
- */
411
- readonly hasTrailer?: boolean;
412
- /**
413
- * Optional. Return items that are siblings of a supplied item.
414
- * @type {string}
415
- * @memberof ItemsApiGetItems
416
- */
417
- readonly adjacentTo?: string;
418
- /**
419
- * Optional filter by index number.
420
- * @type {number}
421
- * @memberof ItemsApiGetItems
422
- */
423
- readonly indexNumber?: number;
424
- /**
425
- * Optional filter by parent index number.
426
- * @type {number}
427
- * @memberof ItemsApiGetItems
428
- */
429
- readonly parentIndexNumber?: number;
430
- /**
431
- * Optional filter by items that have or do not have a parental rating.
432
- * @type {boolean}
433
- * @memberof ItemsApiGetItems
434
- */
435
- readonly hasParentalRating?: boolean;
436
- /**
437
- * Optional filter by items that are HD or not.
438
- * @type {boolean}
439
- * @memberof ItemsApiGetItems
440
- */
441
- readonly isHd?: boolean;
442
- /**
443
- * Optional filter by items that are 4K or not.
444
- * @type {boolean}
445
- * @memberof ItemsApiGetItems
446
- */
447
- readonly is4K?: boolean;
448
- /**
449
- * Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.
450
- * @type {Array<LocationType>}
451
- * @memberof ItemsApiGetItems
452
- */
453
- readonly locationTypes?: Array<LocationType>;
454
- /**
455
- * Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.
456
- * @type {Array<LocationType>}
457
- * @memberof ItemsApiGetItems
458
- */
459
- readonly excludeLocationTypes?: Array<LocationType>;
460
- /**
461
- * Optional filter by items that are missing episodes or not.
462
- * @type {boolean}
463
- * @memberof ItemsApiGetItems
464
- */
465
- readonly isMissing?: boolean;
466
- /**
467
- * Optional filter by items that are unaired episodes or not.
468
- * @type {boolean}
469
- * @memberof ItemsApiGetItems
470
- */
471
- readonly isUnaired?: boolean;
472
- /**
473
- * Optional filter by minimum community rating.
474
- * @type {number}
475
- * @memberof ItemsApiGetItems
476
- */
477
- readonly minCommunityRating?: number;
478
- /**
479
- * Optional filter by minimum critic rating.
480
- * @type {number}
481
- * @memberof ItemsApiGetItems
482
- */
483
- readonly minCriticRating?: number;
484
- /**
485
- * Optional. The minimum premiere date. Format &#x3D; ISO.
486
- * @type {string}
487
- * @memberof ItemsApiGetItems
488
- */
489
- readonly minPremiereDate?: string;
490
- /**
491
- * Optional. The minimum last saved date. Format &#x3D; ISO.
492
- * @type {string}
493
- * @memberof ItemsApiGetItems
494
- */
495
- readonly minDateLastSaved?: string;
496
- /**
497
- * Optional. The minimum last saved date for the current user. Format &#x3D; ISO.
498
- * @type {string}
499
- * @memberof ItemsApiGetItems
500
- */
501
- readonly minDateLastSavedForUser?: string;
502
- /**
503
- * Optional. The maximum premiere date. Format &#x3D; ISO.
504
- * @type {string}
505
- * @memberof ItemsApiGetItems
506
- */
507
- readonly maxPremiereDate?: string;
508
- /**
509
- * Optional filter by items that have an overview or not.
510
- * @type {boolean}
511
- * @memberof ItemsApiGetItems
512
- */
513
- readonly hasOverview?: boolean;
514
- /**
515
- * Optional filter by items that have an IMDb id or not.
516
- * @type {boolean}
517
- * @memberof ItemsApiGetItems
518
- */
519
- readonly hasImdbId?: boolean;
520
- /**
521
- * Optional filter by items that have a TMDb id or not.
522
- * @type {boolean}
523
- * @memberof ItemsApiGetItems
524
- */
525
- readonly hasTmdbId?: boolean;
526
- /**
527
- * Optional filter by items that have a TVDb id or not.
528
- * @type {boolean}
529
- * @memberof ItemsApiGetItems
530
- */
531
- readonly hasTvdbId?: boolean;
532
- /**
533
- * Optional filter for live tv movies.
534
- * @type {boolean}
535
- * @memberof ItemsApiGetItems
536
- */
537
- readonly isMovie?: boolean;
538
- /**
539
- * Optional filter for live tv series.
540
- * @type {boolean}
541
- * @memberof ItemsApiGetItems
542
- */
543
- readonly isSeries?: boolean;
544
- /**
545
- * Optional filter for live tv news.
546
- * @type {boolean}
547
- * @memberof ItemsApiGetItems
548
- */
549
- readonly isNews?: boolean;
550
- /**
551
- * Optional filter for live tv kids.
552
- * @type {boolean}
553
- * @memberof ItemsApiGetItems
554
- */
555
- readonly isKids?: boolean;
556
- /**
557
- * Optional filter for live tv sports.
558
- * @type {boolean}
559
- * @memberof ItemsApiGetItems
560
- */
561
- readonly isSports?: boolean;
562
- /**
563
- * Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.
564
- * @type {Array<string>}
565
- * @memberof ItemsApiGetItems
566
- */
567
- readonly excludeItemIds?: Array<string>;
568
- /**
569
- * Optional. The record index to start at. All items with a lower index will be dropped from the results.
570
- * @type {number}
571
- * @memberof ItemsApiGetItems
572
- */
573
- readonly startIndex?: number;
574
- /**
575
- * Optional. The maximum number of records to return.
576
- * @type {number}
577
- * @memberof ItemsApiGetItems
578
- */
579
- readonly limit?: number;
580
- /**
581
- * When searching within folders, this determines whether or not the search will be recursive. true/false.
582
- * @type {boolean}
583
- * @memberof ItemsApiGetItems
584
- */
585
- readonly recursive?: boolean;
586
- /**
587
- * Optional. Filter based on a search term.
588
- * @type {string}
589
- * @memberof ItemsApiGetItems
590
- */
591
- readonly searchTerm?: string;
592
- /**
593
- * Sort Order - Ascending, Descending.
594
- * @type {Array<SortOrder>}
595
- * @memberof ItemsApiGetItems
596
- */
597
- readonly sortOrder?: Array<SortOrder>;
598
- /**
599
- * Specify this to localize the search to a specific item or folder. Omit to use the root.
600
- * @type {string}
601
- * @memberof ItemsApiGetItems
602
- */
603
- readonly parentId?: string;
604
- /**
605
- * 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.
606
- * @type {Array<ItemFields>}
607
- * @memberof ItemsApiGetItems
608
- */
609
- readonly fields?: Array<ItemFields>;
610
- /**
611
- * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
612
- * @type {Array<BaseItemKind>}
613
- * @memberof ItemsApiGetItems
614
- */
615
- readonly excludeItemTypes?: Array<BaseItemKind>;
616
- /**
617
- * Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
618
- * @type {Array<BaseItemKind>}
619
- * @memberof ItemsApiGetItems
620
- */
621
- readonly includeItemTypes?: Array<BaseItemKind>;
622
- /**
623
- * Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.
624
- * @type {Array<ItemFilter>}
625
- * @memberof ItemsApiGetItems
626
- */
627
- readonly filters?: Array<ItemFilter>;
628
- /**
629
- * Optional filter by items that are marked as favorite, or not.
630
- * @type {boolean}
631
- * @memberof ItemsApiGetItems
632
- */
633
- readonly isFavorite?: boolean;
634
- /**
635
- * Optional filter by MediaType. Allows multiple, comma delimited.
636
- * @type {Array<MediaType>}
637
- * @memberof ItemsApiGetItems
638
- */
639
- readonly mediaTypes?: Array<MediaType>;
640
- /**
641
- * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.
642
- * @type {Array<ImageType>}
643
- * @memberof ItemsApiGetItems
644
- */
645
- readonly imageTypes?: Array<ImageType>;
646
- /**
647
- * 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.
648
- * @type {Array<ItemSortBy>}
649
- * @memberof ItemsApiGetItems
650
- */
651
- readonly sortBy?: Array<ItemSortBy>;
652
- /**
653
- * Optional filter by items that are played, or not.
654
- * @type {boolean}
655
- * @memberof ItemsApiGetItems
656
- */
657
- readonly isPlayed?: boolean;
658
- /**
659
- * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.
660
- * @type {Array<string>}
661
- * @memberof ItemsApiGetItems
662
- */
663
- readonly genres?: Array<string>;
664
- /**
665
- * Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.
666
- * @type {Array<string>}
667
- * @memberof ItemsApiGetItems
668
- */
669
- readonly officialRatings?: Array<string>;
670
- /**
671
- * Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.
672
- * @type {Array<string>}
673
- * @memberof ItemsApiGetItems
674
- */
675
- readonly tags?: Array<string>;
676
- /**
677
- * Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.
678
- * @type {Array<number>}
679
- * @memberof ItemsApiGetItems
680
- */
681
- readonly years?: Array<number>;
682
- /**
683
- * Optional, include user data.
684
- * @type {boolean}
685
- * @memberof ItemsApiGetItems
686
- */
687
- readonly enableUserData?: boolean;
688
- /**
689
- * Optional, the max number of images to return, per image type.
690
- * @type {number}
691
- * @memberof ItemsApiGetItems
692
- */
693
- readonly imageTypeLimit?: number;
694
- /**
695
- * Optional. The image types to include in the output.
696
- * @type {Array<ImageType>}
697
- * @memberof ItemsApiGetItems
698
- */
699
- readonly enableImageTypes?: Array<ImageType>;
700
- /**
701
- * Optional. If specified, results will be filtered to include only those containing the specified person.
702
- * @type {string}
703
- * @memberof ItemsApiGetItems
704
- */
705
- readonly person?: string;
706
- /**
707
- * Optional. If specified, results will be filtered to include only those containing the specified person id.
708
- * @type {Array<string>}
709
- * @memberof ItemsApiGetItems
710
- */
711
- readonly personIds?: Array<string>;
712
- /**
713
- * Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.
714
- * @type {Array<string>}
715
- * @memberof ItemsApiGetItems
716
- */
717
- readonly personTypes?: Array<string>;
718
- /**
719
- * Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.
720
- * @type {Array<string>}
721
- * @memberof ItemsApiGetItems
722
- */
723
- readonly studios?: Array<string>;
724
- /**
725
- * Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.
726
- * @type {Array<string>}
727
- * @memberof ItemsApiGetItems
728
- */
729
- readonly artists?: Array<string>;
730
- /**
731
- * Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.
732
- * @type {Array<string>}
733
- * @memberof ItemsApiGetItems
734
- */
735
- readonly excludeArtistIds?: Array<string>;
736
- /**
737
- * Optional. If specified, results will be filtered to include only those containing the specified artist id.
738
- * @type {Array<string>}
739
- * @memberof ItemsApiGetItems
740
- */
741
- readonly artistIds?: Array<string>;
742
- /**
743
- * Optional. If specified, results will be filtered to include only those containing the specified album artist id.
744
- * @type {Array<string>}
745
- * @memberof ItemsApiGetItems
746
- */
747
- readonly albumArtistIds?: Array<string>;
748
- /**
749
- * Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.
750
- * @type {Array<string>}
751
- * @memberof ItemsApiGetItems
752
- */
753
- readonly contributingArtistIds?: Array<string>;
754
- /**
755
- * Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.
756
- * @type {Array<string>}
757
- * @memberof ItemsApiGetItems
758
- */
759
- readonly albums?: Array<string>;
760
- /**
761
- * Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.
762
- * @type {Array<string>}
763
- * @memberof ItemsApiGetItems
764
- */
765
- readonly albumIds?: Array<string>;
766
- /**
767
- * Optional. If specific items are needed, specify a list of item id\&#39;s to retrieve. This allows multiple, comma delimited.
768
- * @type {Array<string>}
769
- * @memberof ItemsApiGetItems
770
- */
771
- readonly ids?: Array<string>;
772
- /**
773
- * Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.
774
- * @type {Array<VideoType>}
775
- * @memberof ItemsApiGetItems
776
- */
777
- readonly videoTypes?: Array<VideoType>;
778
- /**
779
- * Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
780
- * @type {string}
781
- * @memberof ItemsApiGetItems
782
- */
783
- readonly minOfficialRating?: string;
784
- /**
785
- * Optional filter by items that are locked.
786
- * @type {boolean}
787
- * @memberof ItemsApiGetItems
788
- */
789
- readonly isLocked?: boolean;
790
- /**
791
- * Optional filter by items that are placeholders.
792
- * @type {boolean}
793
- * @memberof ItemsApiGetItems
794
- */
795
- readonly isPlaceHolder?: boolean;
796
- /**
797
- * Optional filter by items that have official ratings.
798
- * @type {boolean}
799
- * @memberof ItemsApiGetItems
800
- */
801
- readonly hasOfficialRating?: boolean;
802
- /**
803
- * Whether or not to hide items behind their boxsets.
804
- * @type {boolean}
805
- * @memberof ItemsApiGetItems
806
- */
807
- readonly collapseBoxSetItems?: boolean;
808
- /**
809
- * Optional. Filter by the minimum width of the item.
810
- * @type {number}
811
- * @memberof ItemsApiGetItems
812
- */
813
- readonly minWidth?: number;
814
- /**
815
- * Optional. Filter by the minimum height of the item.
816
- * @type {number}
817
- * @memberof ItemsApiGetItems
818
- */
819
- readonly minHeight?: number;
820
- /**
821
- * Optional. Filter by the maximum width of the item.
822
- * @type {number}
823
- * @memberof ItemsApiGetItems
824
- */
825
- readonly maxWidth?: number;
826
- /**
827
- * Optional. Filter by the maximum height of the item.
828
- * @type {number}
829
- * @memberof ItemsApiGetItems
830
- */
831
- readonly maxHeight?: number;
832
- /**
833
- * Optional filter by items that are 3D, or not.
834
- * @type {boolean}
835
- * @memberof ItemsApiGetItems
836
- */
837
- readonly is3D?: boolean;
838
- /**
839
- * Optional filter by Series Status. Allows multiple, comma delimited.
840
- * @type {Array<SeriesStatus>}
841
- * @memberof ItemsApiGetItems
842
- */
843
- readonly seriesStatus?: Array<SeriesStatus>;
844
- /**
845
- * Optional filter by items whose name is sorted equally or greater than a given input string.
846
- * @type {string}
847
- * @memberof ItemsApiGetItems
848
- */
849
- readonly nameStartsWithOrGreater?: string;
850
- /**
851
- * Optional filter by items whose name is sorted equally than a given input string.
852
- * @type {string}
853
- * @memberof ItemsApiGetItems
854
- */
855
- readonly nameStartsWith?: string;
856
- /**
857
- * Optional filter by items whose name is equally or lesser than a given input string.
858
- * @type {string}
859
- * @memberof ItemsApiGetItems
860
- */
861
- readonly nameLessThan?: string;
862
- /**
863
- * Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.
864
- * @type {Array<string>}
865
- * @memberof ItemsApiGetItems
866
- */
867
- readonly studioIds?: Array<string>;
868
- /**
869
- * Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.
870
- * @type {Array<string>}
871
- * @memberof ItemsApiGetItems
872
- */
873
- readonly genreIds?: Array<string>;
874
- /**
875
- * Optional. Enable the total record count.
876
- * @type {boolean}
877
- * @memberof ItemsApiGetItems
878
- */
879
- readonly enableTotalRecordCount?: boolean;
880
- /**
881
- * Optional, include image information in output.
882
- * @type {boolean}
883
- * @memberof ItemsApiGetItems
884
- */
885
- readonly enableImages?: boolean;
886
- }
887
- /**
888
- * Request parameters for getResumeItems operation in ItemsApi.
889
- * @export
890
- * @interface ItemsApiGetResumeItemsRequest
891
- */
892
- export interface ItemsApiGetResumeItemsRequest {
893
- /**
894
- * The user id.
895
- * @type {string}
896
- * @memberof ItemsApiGetResumeItems
897
- */
898
- readonly userId?: string;
899
- /**
900
- * The start index.
901
- * @type {number}
902
- * @memberof ItemsApiGetResumeItems
903
- */
904
- readonly startIndex?: number;
905
- /**
906
- * The item limit.
907
- * @type {number}
908
- * @memberof ItemsApiGetResumeItems
909
- */
910
- readonly limit?: number;
911
- /**
912
- * The search term.
913
- * @type {string}
914
- * @memberof ItemsApiGetResumeItems
915
- */
916
- readonly searchTerm?: string;
917
- /**
918
- * Specify this to localize the search to a specific item or folder. Omit to use the root.
919
- * @type {string}
920
- * @memberof ItemsApiGetResumeItems
921
- */
922
- readonly parentId?: string;
923
- /**
924
- * 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.
925
- * @type {Array<ItemFields>}
926
- * @memberof ItemsApiGetResumeItems
927
- */
928
- readonly fields?: Array<ItemFields>;
929
- /**
930
- * Optional. Filter by MediaType. Allows multiple, comma delimited.
931
- * @type {Array<MediaType>}
932
- * @memberof ItemsApiGetResumeItems
933
- */
934
- readonly mediaTypes?: Array<MediaType>;
935
- /**
936
- * Optional. Include user data.
937
- * @type {boolean}
938
- * @memberof ItemsApiGetResumeItems
939
- */
940
- readonly enableUserData?: boolean;
941
- /**
942
- * Optional. The max number of images to return, per image type.
943
- * @type {number}
944
- * @memberof ItemsApiGetResumeItems
945
- */
946
- readonly imageTypeLimit?: number;
947
- /**
948
- * Optional. The image types to include in the output.
949
- * @type {Array<ImageType>}
950
- * @memberof ItemsApiGetResumeItems
951
- */
952
- readonly enableImageTypes?: Array<ImageType>;
953
- /**
954
- * Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
955
- * @type {Array<BaseItemKind>}
956
- * @memberof ItemsApiGetResumeItems
957
- */
958
- readonly excludeItemTypes?: Array<BaseItemKind>;
959
- /**
960
- * Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.
961
- * @type {Array<BaseItemKind>}
962
- * @memberof ItemsApiGetResumeItems
963
- */
964
- readonly includeItemTypes?: Array<BaseItemKind>;
965
- /**
966
- * Optional. Enable the total record count.
967
- * @type {boolean}
968
- * @memberof ItemsApiGetResumeItems
969
- */
970
- readonly enableTotalRecordCount?: boolean;
971
- /**
972
- * Optional. Include image information in output.
973
- * @type {boolean}
974
- * @memberof ItemsApiGetResumeItems
975
- */
976
- readonly enableImages?: boolean;
977
- /**
978
- * Optional. Whether to exclude the currently active sessions.
979
- * @type {boolean}
980
- * @memberof ItemsApiGetResumeItems
981
- */
982
- readonly excludeActiveSessions?: boolean;
983
- }
984
- /**
985
- * Request parameters for updateItemUserData operation in ItemsApi.
986
- * @export
987
- * @interface ItemsApiUpdateItemUserDataRequest
988
- */
989
- export interface ItemsApiUpdateItemUserDataRequest {
990
- /**
991
- * The item id.
992
- * @type {string}
993
- * @memberof ItemsApiUpdateItemUserData
994
- */
995
- readonly itemId: string;
996
- /**
997
- * New user data object.
998
- * @type {UpdateUserItemDataDto}
999
- * @memberof ItemsApiUpdateItemUserData
1000
- */
1001
- readonly updateUserItemDataDto: UpdateUserItemDataDto;
1002
- /**
1003
- * The user id.
1004
- * @type {string}
1005
- * @memberof ItemsApiUpdateItemUserData
1006
- */
1007
- readonly userId?: string;
1008
- }
1009
- /**
1010
- * ItemsApi - object-oriented interface
1011
- * @export
1012
- * @class ItemsApi
1013
- * @extends {BaseAPI}
1014
- */
1015
- export declare class ItemsApi extends BaseAPI {
1016
- /**
1017
- *
1018
- * @summary Get Item User Data.
1019
- * @param {ItemsApiGetItemUserDataRequest} requestParameters Request parameters.
1020
- * @param {*} [options] Override http request option.
1021
- * @throws {RequiredError}
1022
- * @memberof ItemsApi
1023
- */
1024
- getItemUserData(requestParameters: ItemsApiGetItemUserDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
1025
- /**
1026
- *
1027
- * @summary Gets items based on a query.
1028
- * @param {ItemsApiGetItemsRequest} requestParameters Request parameters.
1029
- * @param {*} [options] Override http request option.
1030
- * @throws {RequiredError}
1031
- * @memberof ItemsApi
1032
- */
1033
- getItems(requestParameters?: ItemsApiGetItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
1034
- /**
1035
- *
1036
- * @summary Gets items based on a query.
1037
- * @param {ItemsApiGetResumeItemsRequest} requestParameters Request parameters.
1038
- * @param {*} [options] Override http request option.
1039
- * @throws {RequiredError}
1040
- * @memberof ItemsApi
1041
- */
1042
- getResumeItems(requestParameters?: ItemsApiGetResumeItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
1043
- /**
1044
- *
1045
- * @summary Update Item User Data.
1046
- * @param {ItemsApiUpdateItemUserDataRequest} requestParameters Request parameters.
1047
- * @param {*} [options] Override http request option.
1048
- * @throws {RequiredError}
1049
- * @memberof ItemsApi
1050
- */
1051
- updateItemUserData(requestParameters: ItemsApiUpdateItemUserDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
1052
- }