@jellyfin/sdk 0.10.0 → 0.11.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 (331) hide show
  1. package/README.md +5 -0
  2. package/lib/api.d.ts +0 -11
  3. package/lib/api.js +0 -14
  4. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  5. package/lib/generated-client/api/activity-log-api.js +8 -8
  6. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  7. package/lib/generated-client/api/api-key-api.js +19 -10
  8. package/lib/generated-client/api/artists-api.d.ts +27 -90
  9. package/lib/generated-client/api/artists-api.js +22 -76
  10. package/lib/generated-client/api/audio-api.d.ts +81 -249
  11. package/lib/generated-client/api/audio-api.js +93 -245
  12. package/lib/generated-client/api/branding-api.d.ts +16 -16
  13. package/lib/generated-client/api/branding-api.js +13 -4
  14. package/lib/generated-client/api/channels-api.d.ts +33 -51
  15. package/lib/generated-client/api/channels-api.js +33 -36
  16. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  17. package/lib/generated-client/api/client-log-api.js +10 -7
  18. package/lib/generated-client/api/collection-api.d.ts +19 -24
  19. package/lib/generated-client/api/collection-api.js +22 -18
  20. package/lib/generated-client/api/configuration-api.d.ts +28 -29
  21. package/lib/generated-client/api/configuration-api.js +30 -16
  22. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  23. package/lib/generated-client/api/dashboard-api.js +15 -9
  24. package/lib/generated-client/api/devices-api.d.ts +31 -33
  25. package/lib/generated-client/api/devices-api.js +36 -22
  26. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  27. package/lib/generated-client/api/display-preferences-api.js +15 -14
  28. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  29. package/lib/generated-client/api/dynamic-hls-api.js +233 -573
  30. package/lib/generated-client/api/environment-api.d.ts +33 -35
  31. package/lib/generated-client/api/environment-api.js +34 -18
  32. package/lib/generated-client/api/filter-api.d.ts +17 -29
  33. package/lib/generated-client/api/filter-api.js +15 -21
  34. package/lib/generated-client/api/genres-api.d.ts +20 -38
  35. package/lib/generated-client/api/genres-api.js +15 -27
  36. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  37. package/lib/generated-client/api/hls-segment-api.js +36 -28
  38. package/lib/generated-client/api/image-api.d.ts +206 -644
  39. package/lib/generated-client/api/image-api.js +269 -596
  40. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  41. package/lib/generated-client/api/instant-mix-api.js +57 -89
  42. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  43. package/lib/generated-client/api/item-lookup-api.js +78 -47
  44. package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
  45. package/lib/generated-client/api/item-refresh-api.js +8 -9
  46. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  47. package/lib/generated-client/api/item-update-api.js +22 -15
  48. package/lib/generated-client/api/items-api.d.ts +44 -137
  49. package/lib/generated-client/api/items-api.js +38 -122
  50. package/lib/generated-client/api/library-api.d.ts +185 -170
  51. package/lib/generated-client/api/library-api.js +212 -142
  52. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  53. package/lib/generated-client/api/library-structure-api.js +54 -40
  54. package/lib/generated-client/api/live-tv-api.d.ts +224 -332
  55. package/lib/generated-client/api/live-tv-api.js +273 -258
  56. package/lib/generated-client/api/localization-api.d.ts +23 -23
  57. package/lib/generated-client/api/localization-api.js +17 -5
  58. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  59. package/lib/generated-client/api/lyrics-api.js +45 -30
  60. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  61. package/lib/generated-client/api/media-info-api.js +45 -52
  62. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  63. package/lib/generated-client/api/media-segments-api.js +123 -0
  64. package/lib/generated-client/api/movies-api.d.ts +10 -14
  65. package/lib/generated-client/api/movies-api.js +8 -9
  66. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  67. package/lib/generated-client/api/music-genres-api.js +15 -27
  68. package/lib/generated-client/api/package-api.d.ts +33 -37
  69. package/lib/generated-client/api/package-api.js +37 -23
  70. package/lib/generated-client/api/persons-api.d.ts +18 -31
  71. package/lib/generated-client/api/persons-api.js +15 -22
  72. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  73. package/lib/generated-client/api/playlists-api.js +137 -63
  74. package/lib/generated-client/api/playstate-api.d.ts +54 -80
  75. package/lib/generated-client/api/playstate-api.js +64 -63
  76. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  77. package/lib/generated-client/api/plugins-api.js +61 -38
  78. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  79. package/lib/generated-client/api/quick-connect-api.js +23 -12
  80. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  81. package/lib/generated-client/api/remote-image-api.js +22 -20
  82. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  83. package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
  84. package/lib/generated-client/api/search-api.d.ts +11 -28
  85. package/lib/generated-client/api/search-api.js +8 -22
  86. package/lib/generated-client/api/session-api.d.ts +90 -117
  87. package/lib/generated-client/api/session-api.js +104 -83
  88. package/lib/generated-client/api/startup-api.d.ts +37 -37
  89. package/lib/generated-client/api/startup-api.js +38 -17
  90. package/lib/generated-client/api/studios-api.d.ts +18 -35
  91. package/lib/generated-client/api/studios-api.js +15 -26
  92. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  93. package/lib/generated-client/api/subtitle-api.js +68 -69
  94. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  95. package/lib/generated-client/api/suggestions-api.js +8 -10
  96. package/lib/generated-client/api/sync-play-api.d.ts +120 -120
  97. package/lib/generated-client/api/sync-play-api.js +133 -70
  98. package/lib/generated-client/api/system-api.d.ts +49 -49
  99. package/lib/generated-client/api/system-api.js +44 -14
  100. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  101. package/lib/generated-client/api/time-sync-api.js +5 -2
  102. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  103. package/lib/generated-client/api/tmdb-api.js +5 -2
  104. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  105. package/lib/generated-client/api/trailers-api.js +8 -88
  106. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  107. package/lib/generated-client/api/trickplay-api.js +15 -14
  108. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  109. package/lib/generated-client/api/tv-shows-api.js +29 -62
  110. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  111. package/lib/generated-client/api/universal-audio-api.js +33 -51
  112. package/lib/generated-client/api/user-api.d.ts +83 -88
  113. package/lib/generated-client/api/user-api.js +93 -56
  114. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  115. package/lib/generated-client/api/user-library-api.js +71 -60
  116. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  117. package/lib/generated-client/api/user-views-api.js +15 -12
  118. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  119. package/lib/generated-client/api/video-attachments-api.js +8 -7
  120. package/lib/generated-client/api/videos-api.d.ts +97 -274
  121. package/lib/generated-client/api/videos-api.js +114 -266
  122. package/lib/generated-client/api/years-api.d.ts +21 -36
  123. package/lib/generated-client/api/years-api.js +15 -24
  124. package/lib/generated-client/api.d.ts +1 -0
  125. package/lib/generated-client/base.d.ts +15 -4
  126. package/lib/generated-client/base.js +8 -4
  127. package/lib/generated-client/common.d.ts +3 -3
  128. package/lib/generated-client/common.js +23 -14
  129. package/lib/generated-client/configuration.d.ts +8 -0
  130. package/lib/generated-client/configuration.js +1 -0
  131. package/lib/generated-client/index.js +8 -1
  132. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  133. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  134. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  135. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  136. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  137. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  138. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  139. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  140. package/lib/generated-client/models/album-info.d.ts +5 -5
  141. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  142. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  143. package/lib/generated-client/models/artist-info.d.ts +3 -3
  144. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  145. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  146. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  147. package/lib/generated-client/models/base-item-dto.d.ts +26 -26
  148. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  149. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  150. package/lib/generated-client/models/book-info.d.ts +2 -2
  151. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  152. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  153. package/lib/generated-client/models/channel-features.d.ts +3 -3
  154. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  155. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  156. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  157. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  158. package/lib/generated-client/models/container-profile.d.ts +12 -6
  159. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  160. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  161. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  162. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  163. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  164. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  165. package/lib/generated-client/models/device-info.d.ts +1 -1
  166. package/lib/generated-client/models/device-profile.d.ts +8 -8
  167. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  168. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  169. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  170. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  171. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  172. package/lib/generated-client/models/encoder-preset.js +32 -0
  173. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  174. package/lib/generated-client/models/external-id-info.d.ts +2 -1
  175. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  176. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  177. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  178. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  179. package/lib/generated-client/models/general-command.d.ts +3 -3
  180. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  181. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  182. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  183. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  184. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  185. package/lib/generated-client/models/group-update.d.ts +23 -5
  186. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  187. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  188. package/lib/generated-client/models/image-info.d.ts +1 -1
  189. package/lib/generated-client/models/image-option.d.ts +1 -1
  190. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  191. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  192. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  193. package/lib/generated-client/models/index.d.ts +13 -6
  194. package/lib/generated-client/models/index.js +7 -1
  195. package/lib/generated-client/models/installation-info.d.ts +1 -1
  196. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  197. package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
  198. package/lib/generated-client/models/library-options.d.ts +57 -3
  199. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  200. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  201. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  202. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  203. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  204. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  205. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  206. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  207. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  208. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  209. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  210. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  211. package/lib/generated-client/models/media-segment-type.js +27 -0
  212. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  213. package/lib/generated-client/models/media-stream.d.ts +17 -5
  214. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  215. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  216. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  217. package/lib/generated-client/models/movie-info.d.ts +2 -2
  218. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  219. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  220. package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
  221. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  222. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  223. package/lib/generated-client/models/package-info.d.ts +1 -1
  224. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  225. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  226. package/lib/generated-client/models/play-message.d.ts +2 -2
  227. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  228. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  229. package/lib/generated-client/models/play-request.d.ts +1 -1
  230. package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
  231. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  232. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  233. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  234. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  235. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  236. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  237. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  238. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  239. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  240. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  241. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  242. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  243. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  244. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  245. package/lib/generated-client/models/problem-details.d.ts +1 -1
  246. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  247. package/lib/generated-client/models/query-filters.d.ts +1 -1
  248. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  249. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  250. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  251. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  252. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  253. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  254. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  255. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  256. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  257. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  258. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  259. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  260. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  261. package/lib/generated-client/models/search-hint.d.ts +2 -2
  262. package/lib/generated-client/models/send-command.d.ts +1 -1
  263. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  264. package/lib/generated-client/models/series-info.d.ts +2 -2
  265. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  266. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  267. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  268. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  269. package/lib/generated-client/models/server-configuration.d.ts +8 -14
  270. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  271. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  272. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  273. package/lib/generated-client/models/session-info.d.ts +8 -8
  274. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  275. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  276. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  277. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  278. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  279. package/lib/generated-client/models/song-info.d.ts +2 -2
  280. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  281. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  282. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  283. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  284. package/lib/generated-client/models/system-info.d.ts +2 -2
  285. package/lib/generated-client/models/task-info.d.ts +3 -3
  286. package/lib/generated-client/models/task-result.d.ts +1 -1
  287. package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
  288. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  289. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  290. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  291. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  292. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  293. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  294. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  295. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  296. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  297. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  298. package/lib/generated-client/models/tonemapping-range.js +24 -0
  299. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  300. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  301. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  302. package/lib/generated-client/models/transcode-reason.js +2 -1
  303. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  304. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  305. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  306. package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
  307. package/lib/generated-client/models/type-options.d.ts +1 -1
  308. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  309. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  310. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  311. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  312. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  313. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  314. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  315. package/lib/generated-client/models/user-dto.d.ts +2 -2
  316. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  317. package/lib/generated-client/models/user-policy.d.ts +3 -3
  318. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  319. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  320. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  321. package/lib/utils/address-candidates.js +15 -10
  322. package/lib/utils/api/index.d.ts +1 -0
  323. package/lib/utils/api/index.js +1 -0
  324. package/lib/utils/api/media-segments-api.d.ts +8 -0
  325. package/lib/utils/api/media-segments-api.js +12 -0
  326. package/lib/utils/index.js +1 -1
  327. package/lib/utils/url/index.d.ts +16 -3
  328. package/lib/utils/url/index.js +26 -4
  329. package/lib/versions.d.ts +1 -1
  330. package/lib/versions.js +1 -1
  331. package/package.json +13 -12
@@ -8,10 +8,10 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { SessionInfo } from './session-info';
12
- import { UserDto } from './user-dto';
11
+ import type { SessionInfoDto } from './session-info-dto';
12
+ import type { UserDto } from './user-dto';
13
13
  /**
14
- *
14
+ * A class representing an authentication result.
15
15
  * @export
16
16
  * @interface AuthenticationResult
17
17
  */
@@ -24,18 +24,18 @@ export interface AuthenticationResult {
24
24
  'User'?: UserDto;
25
25
  /**
26
26
  *
27
- * @type {SessionInfo}
27
+ * @type {SessionInfoDto}
28
28
  * @memberof AuthenticationResult
29
29
  */
30
- 'SessionInfo'?: SessionInfo;
30
+ 'SessionInfo'?: SessionInfoDto;
31
31
  /**
32
- *
32
+ * Gets or sets the access token.
33
33
  * @type {string}
34
34
  * @memberof AuthenticationResult
35
35
  */
36
36
  'AccessToken'?: string | null;
37
37
  /**
38
- *
38
+ * Gets or sets the server id.
39
39
  * @type {string}
40
40
  * @memberof AuthenticationResult
41
41
  */
@@ -8,9 +8,9 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { BaseItemDto } from './base-item-dto';
11
+ import type { BaseItemDto } from './base-item-dto';
12
12
  /**
13
- *
13
+ * Query result container.
14
14
  * @export
15
15
  * @interface BaseItemDtoQueryResult
16
16
  */
@@ -20,7 +20,7 @@ export interface BaseItemDtoQueryResult {
20
20
  * @type {Array<BaseItemDto>}
21
21
  * @memberof BaseItemDtoQueryResult
22
22
  */
23
- 'Items'?: Array<BaseItemDto> | null;
23
+ 'Items'?: Array<BaseItemDto>;
24
24
  /**
25
25
  * Gets or sets the total number of records available.
26
26
  * @type {number}
@@ -8,30 +8,30 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { BaseItemDtoImageBlurHashes } from './base-item-dto-image-blur-hashes';
12
- import { BaseItemKind } from './base-item-kind';
13
- import { BaseItemPerson } from './base-item-person';
14
- import { ChannelType } from './channel-type';
15
- import { ChapterInfo } from './chapter-info';
16
- import { CollectionType } from './collection-type';
17
- import { DayOfWeek } from './day-of-week';
18
- import { ExternalUrl } from './external-url';
19
- import { ExtraType } from './extra-type';
20
- import { ImageOrientation } from './image-orientation';
21
- import { IsoType } from './iso-type';
22
- import { LocationType } from './location-type';
23
- import { MediaSourceInfo } from './media-source-info';
24
- import { MediaStream } from './media-stream';
25
- import { MediaType } from './media-type';
26
- import { MediaUrl } from './media-url';
27
- import { MetadataField } from './metadata-field';
28
- import { NameGuidPair } from './name-guid-pair';
29
- import { PlayAccess } from './play-access';
30
- import { ProgramAudio } from './program-audio';
31
- import { TrickplayInfo } from './trickplay-info';
32
- import { UserItemDataDto } from './user-item-data-dto';
33
- import { Video3DFormat } from './video3-dformat';
34
- import { VideoType } from './video-type';
11
+ import type { BaseItemDtoImageBlurHashes } from './base-item-dto-image-blur-hashes';
12
+ import type { BaseItemKind } from './base-item-kind';
13
+ import type { BaseItemPerson } from './base-item-person';
14
+ import type { ChannelType } from './channel-type';
15
+ import type { ChapterInfo } from './chapter-info';
16
+ import type { CollectionType } from './collection-type';
17
+ import type { DayOfWeek } from './day-of-week';
18
+ import type { ExternalUrl } from './external-url';
19
+ import type { ExtraType } from './extra-type';
20
+ import type { ImageOrientation } from './image-orientation';
21
+ import type { IsoType } from './iso-type';
22
+ import type { LocationType } from './location-type';
23
+ import type { MediaSourceInfo } from './media-source-info';
24
+ import type { MediaStream } from './media-stream';
25
+ import type { MediaType } from './media-type';
26
+ import type { MediaUrl } from './media-url';
27
+ import type { MetadataField } from './metadata-field';
28
+ import type { NameGuidPair } from './name-guid-pair';
29
+ import type { PlayAccess } from './play-access';
30
+ import type { ProgramAudio } from './program-audio';
31
+ import type { TrickplayInfo } from './trickplay-info';
32
+ import type { UserItemDataDto } from './user-item-data-dto';
33
+ import type { Video3DFormat } from './video3-dformat';
34
+ import type { VideoType } from './video-type';
35
35
  /**
36
36
  * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.
37
37
  * @export
@@ -340,11 +340,11 @@ export interface BaseItemDto {
340
340
  'RemoteTrailers'?: Array<MediaUrl> | null;
341
341
  /**
342
342
  * Gets or sets the provider ids.
343
- * @type {{ [key: string]: string; }}
343
+ * @type {{ [key: string]: string | null; }}
344
344
  * @memberof BaseItemDto
345
345
  */
346
346
  'ProviderIds'?: {
347
- [key: string]: string;
347
+ [key: string]: string | null;
348
348
  } | null;
349
349
  /**
350
350
  * Gets or sets a value indicating whether this instance is HD.
@@ -8,8 +8,8 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { BaseItemPersonImageBlurHashes } from './base-item-person-image-blur-hashes';
12
- import { PersonKind } from './person-kind';
11
+ import type { BaseItemPersonImageBlurHashes } from './base-item-person-image-blur-hashes';
12
+ import type { PersonKind } from './person-kind';
13
13
  /**
14
14
  * This is used by the api to get information about a Person within a BaseItem.
15
15
  * @export
@@ -8,7 +8,7 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { BookInfo } from './book-info';
11
+ import type { BookInfo } from './book-info';
12
12
  /**
13
13
  *
14
14
  * @export
@@ -46,11 +46,11 @@ export interface BookInfo {
46
46
  'MetadataCountryCode'?: string | null;
47
47
  /**
48
48
  * Gets or sets the provider ids.
49
- * @type {{ [key: string]: string; }}
49
+ * @type {{ [key: string]: string | null; }}
50
50
  * @memberof BookInfo
51
51
  */
52
52
  'ProviderIds'?: {
53
- [key: string]: string;
53
+ [key: string]: string | null;
54
54
  } | null;
55
55
  /**
56
56
  * Gets or sets the year.
@@ -8,7 +8,7 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { BoxSetInfo } from './box-set-info';
11
+ import type { BoxSetInfo } from './box-set-info';
12
12
  /**
13
13
  *
14
14
  * @export
@@ -46,11 +46,11 @@ export interface BoxSetInfo {
46
46
  'MetadataCountryCode'?: string | null;
47
47
  /**
48
48
  * Gets or sets the provider ids.
49
- * @type {{ [key: string]: string; }}
49
+ * @type {{ [key: string]: string | null; }}
50
50
  * @memberof BoxSetInfo
51
51
  */
52
52
  'ProviderIds'?: {
53
- [key: string]: string;
53
+ [key: string]: string | null;
54
54
  } | null;
55
55
  /**
56
56
  * Gets or sets the year.
@@ -8,9 +8,9 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { ChannelItemSortField } from './channel-item-sort-field';
12
- import { ChannelMediaContentType } from './channel-media-content-type';
13
- import { ChannelMediaType } from './channel-media-type';
11
+ import type { ChannelItemSortField } from './channel-item-sort-field';
12
+ import type { ChannelMediaContentType } from './channel-media-content-type';
13
+ import type { ChannelMediaType } from './channel-media-type';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -8,9 +8,9 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { NameIdPair } from './name-id-pair';
12
- import { NameValuePair } from './name-value-pair';
13
- import { TunerChannelMapping } from './tuner-channel-mapping';
11
+ import type { NameIdPair } from './name-id-pair';
12
+ import type { NameValuePair } from './name-value-pair';
13
+ import type { TunerChannelMapping } from './tuner-channel-mapping';
14
14
  /**
15
15
  * Channel mapping options dto.
16
16
  * @export
@@ -8,9 +8,9 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { DeviceProfile } from './device-profile';
12
- import { GeneralCommandType } from './general-command-type';
13
- import { MediaType } from './media-type';
11
+ import type { DeviceProfile } from './device-profile';
12
+ import type { GeneralCommandType } from './general-command-type';
13
+ import type { MediaType } from './media-type';
14
14
  /**
15
15
  * Client capabilities dto.
16
16
  * @export
@@ -59,18 +59,4 @@ export interface ClientCapabilitiesDto {
59
59
  * @memberof ClientCapabilitiesDto
60
60
  */
61
61
  'IconUrl'?: string | null;
62
- /**
63
- *
64
- * @type {boolean}
65
- * @memberof ClientCapabilitiesDto
66
- * @deprecated
67
- */
68
- 'SupportsContentUploading'?: boolean | null;
69
- /**
70
- *
71
- * @type {boolean}
72
- * @memberof ClientCapabilitiesDto
73
- * @deprecated
74
- */
75
- 'SupportsSync'?: boolean | null;
76
62
  }
@@ -8,9 +8,9 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { DeviceProfile } from './device-profile';
12
- import { GeneralCommandType } from './general-command-type';
13
- import { MediaType } from './media-type';
11
+ import type { DeviceProfile } from './device-profile';
12
+ import type { GeneralCommandType } from './general-command-type';
13
+ import type { MediaType } from './media-type';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -8,10 +8,10 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { CodecType } from './codec-type';
12
- import { ProfileCondition } from './profile-condition';
11
+ import type { CodecType } from './codec-type';
12
+ import type { ProfileCondition } from './profile-condition';
13
13
  /**
14
- *
14
+ * Defines the MediaBrowser.Model.Dlna.CodecProfile.
15
15
  * @export
16
16
  * @interface CodecProfile
17
17
  */
@@ -23,27 +23,33 @@ export interface CodecProfile {
23
23
  */
24
24
  'Type'?: CodecType;
25
25
  /**
26
- *
26
+ * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
27
27
  * @type {Array<ProfileCondition>}
28
28
  * @memberof CodecProfile
29
29
  */
30
- 'Conditions'?: Array<ProfileCondition> | null;
30
+ 'Conditions'?: Array<ProfileCondition>;
31
31
  /**
32
- *
32
+ * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
33
33
  * @type {Array<ProfileCondition>}
34
34
  * @memberof CodecProfile
35
35
  */
36
- 'ApplyConditions'?: Array<ProfileCondition> | null;
36
+ 'ApplyConditions'?: Array<ProfileCondition>;
37
37
  /**
38
- *
38
+ * Gets or sets the codec(s) that this profile applies to.
39
39
  * @type {string}
40
40
  * @memberof CodecProfile
41
41
  */
42
42
  'Codec'?: string | null;
43
43
  /**
44
- *
44
+ * Gets or sets the container(s) which this profile will be applied to.
45
45
  * @type {string}
46
46
  * @memberof CodecProfile
47
47
  */
48
48
  'Container'?: string | null;
49
+ /**
50
+ * Gets or sets the sub-container(s) which this profile will be applied to.
51
+ * @type {string}
52
+ * @memberof CodecProfile
53
+ */
54
+ 'SubContainer'?: string | null;
49
55
  }
@@ -8,10 +8,10 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { DlnaProfileType } from './dlna-profile-type';
12
- import { ProfileCondition } from './profile-condition';
11
+ import type { DlnaProfileType } from './dlna-profile-type';
12
+ import type { ProfileCondition } from './profile-condition';
13
13
  /**
14
- *
14
+ * Defines the MediaBrowser.Model.Dlna.ContainerProfile.
15
15
  * @export
16
16
  * @interface ContainerProfile
17
17
  */
@@ -23,15 +23,21 @@ export interface ContainerProfile {
23
23
  */
24
24
  'Type'?: DlnaProfileType;
25
25
  /**
26
- *
26
+ * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.
27
27
  * @type {Array<ProfileCondition>}
28
28
  * @memberof ContainerProfile
29
29
  */
30
30
  'Conditions'?: Array<ProfileCondition>;
31
31
  /**
32
- *
32
+ * Gets or sets the container(s) which this container must meet.
33
+ * @type {string}
34
+ * @memberof ContainerProfile
35
+ */
36
+ 'Container'?: string | null;
37
+ /**
38
+ * Gets or sets the sub container(s) which this container must meet.
33
39
  * @type {string}
34
40
  * @memberof ContainerProfile
35
41
  */
36
- 'Container'?: string;
42
+ 'SubContainer'?: string | null;
37
43
  }
@@ -8,8 +8,8 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { MediaType } from './media-type';
12
- import { PlaylistUserPermissions } from './playlist-user-permissions';
11
+ import type { MediaType } from './media-type';
12
+ import type { PlaylistUserPermissions } from './playlist-user-permissions';
13
13
  /**
14
14
  * Create new playlist dto.
15
15
  * @export
@@ -0,0 +1,20 @@
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
+ /**
12
+ * Enum containing deinterlace methods.
13
+ * @export
14
+ * @enum {string}
15
+ */
16
+ export declare const DeinterlaceMethod: {
17
+ readonly Yadif: "yadif";
18
+ readonly Bwdif: "bwdif";
19
+ };
20
+ export type DeinterlaceMethod = typeof DeinterlaceMethod[keyof typeof DeinterlaceMethod];
@@ -11,18 +11,13 @@
11
11
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
12
  */
13
13
  /**
14
- * Enum HardwareEncodingType.
14
+ * Enum containing deinterlace methods.
15
15
  * @export
16
16
  * @enum {string}
17
17
  */
18
- const HardwareEncodingType = {
19
- Amf: 'AMF',
20
- Qsv: 'QSV',
21
- Nvenc: 'NVENC',
22
- V4L2M2M: 'V4L2M2M',
23
- Vaapi: 'VAAPI',
24
- VideoToolBox: 'VideoToolBox',
25
- Rkmpp: 'RKMPP'
18
+ const DeinterlaceMethod = {
19
+ Yadif: 'yadif',
20
+ Bwdif: 'bwdif'
26
21
  };
27
22
 
28
- export { HardwareEncodingType };
23
+ export { DeinterlaceMethod };
@@ -0,0 +1,36 @@
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 { DeviceInfoDto } from './device-info-dto';
12
+ /**
13
+ * Query result container.
14
+ * @export
15
+ * @interface DeviceInfoDtoQueryResult
16
+ */
17
+ export interface DeviceInfoDtoQueryResult {
18
+ /**
19
+ * Gets or sets the items.
20
+ * @type {Array<DeviceInfoDto>}
21
+ * @memberof DeviceInfoDtoQueryResult
22
+ */
23
+ 'Items'?: Array<DeviceInfoDto>;
24
+ /**
25
+ * Gets or sets the total number of records available.
26
+ * @type {number}
27
+ * @memberof DeviceInfoDtoQueryResult
28
+ */
29
+ 'TotalRecordCount'?: number;
30
+ /**
31
+ * Gets or sets the index of the first record in Items.
32
+ * @type {number}
33
+ * @memberof DeviceInfoDtoQueryResult
34
+ */
35
+ 'StartIndex'?: number;
36
+ }
@@ -0,0 +1,84 @@
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 { ClientCapabilitiesDto } from './client-capabilities-dto';
12
+ /**
13
+ * A DTO representing device information.
14
+ * @export
15
+ * @interface DeviceInfoDto
16
+ */
17
+ export interface DeviceInfoDto {
18
+ /**
19
+ * Gets or sets the name.
20
+ * @type {string}
21
+ * @memberof DeviceInfoDto
22
+ */
23
+ 'Name'?: string | null;
24
+ /**
25
+ * Gets or sets the custom name.
26
+ * @type {string}
27
+ * @memberof DeviceInfoDto
28
+ */
29
+ 'CustomName'?: string | null;
30
+ /**
31
+ * Gets or sets the access token.
32
+ * @type {string}
33
+ * @memberof DeviceInfoDto
34
+ */
35
+ 'AccessToken'?: string | null;
36
+ /**
37
+ * Gets or sets the identifier.
38
+ * @type {string}
39
+ * @memberof DeviceInfoDto
40
+ */
41
+ 'Id'?: string | null;
42
+ /**
43
+ * Gets or sets the last name of the user.
44
+ * @type {string}
45
+ * @memberof DeviceInfoDto
46
+ */
47
+ 'LastUserName'?: string | null;
48
+ /**
49
+ * Gets or sets the name of the application.
50
+ * @type {string}
51
+ * @memberof DeviceInfoDto
52
+ */
53
+ 'AppName'?: string | null;
54
+ /**
55
+ * Gets or sets the application version.
56
+ * @type {string}
57
+ * @memberof DeviceInfoDto
58
+ */
59
+ 'AppVersion'?: string | null;
60
+ /**
61
+ * Gets or sets the last user identifier.
62
+ * @type {string}
63
+ * @memberof DeviceInfoDto
64
+ */
65
+ 'LastUserId'?: string | null;
66
+ /**
67
+ * Gets or sets the date last modified.
68
+ * @type {string}
69
+ * @memberof DeviceInfoDto
70
+ */
71
+ 'DateLastActivity'?: string | null;
72
+ /**
73
+ *
74
+ * @type {ClientCapabilitiesDto}
75
+ * @memberof DeviceInfoDto
76
+ */
77
+ 'Capabilities'?: ClientCapabilitiesDto;
78
+ /**
79
+ * Gets or sets the icon URL.
80
+ * @type {string}
81
+ * @memberof DeviceInfoDto
82
+ */
83
+ 'IconUrl'?: string | null;
84
+ }
@@ -8,7 +8,7 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { DeviceInfo } from './device-info';
11
+ import type { DeviceInfo } from './device-info';
12
12
  /**
13
13
  *
14
14
  * @export
@@ -8,7 +8,7 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { ClientCapabilities } from './client-capabilities';
11
+ import type { ClientCapabilities } from './client-capabilities';
12
12
  /**
13
13
  *
14
14
  * @export
@@ -8,11 +8,11 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { CodecProfile } from './codec-profile';
12
- import { ContainerProfile } from './container-profile';
13
- import { DirectPlayProfile } from './direct-play-profile';
14
- import { SubtitleProfile } from './subtitle-profile';
15
- import { TranscodingProfile } from './transcoding-profile';
11
+ import type { CodecProfile } from './codec-profile';
12
+ import type { ContainerProfile } from './container-profile';
13
+ import type { DirectPlayProfile } from './direct-play-profile';
14
+ import type { SubtitleProfile } from './subtitle-profile';
15
+ import type { TranscodingProfile } from './transcoding-profile';
16
16
  /**
17
17
  * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
18
18
  * @export
@@ -20,13 +20,13 @@ import { TranscodingProfile } from './transcoding-profile';
20
20
  */
21
21
  export interface DeviceProfile {
22
22
  /**
23
- * Gets or sets the name of this device profile.
23
+ * Gets or sets the name of this device profile. User profiles must have a unique name.
24
24
  * @type {string}
25
25
  * @memberof DeviceProfile
26
26
  */
27
27
  'Name'?: string | null;
28
28
  /**
29
- * Gets or sets the Id.
29
+ * Gets or sets the unique internal identifier.
30
30
  * @type {string}
31
31
  * @memberof DeviceProfile
32
32
  */
@@ -68,7 +68,7 @@ export interface DeviceProfile {
68
68
  */
69
69
  'TranscodingProfiles'?: Array<TranscodingProfile>;
70
70
  /**
71
- * Gets or sets the container profiles.
71
+ * Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur.
72
72
  * @type {Array<ContainerProfile>}
73
73
  * @memberof DeviceProfile
74
74
  */
@@ -8,27 +8,27 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { DlnaProfileType } from './dlna-profile-type';
11
+ import type { DlnaProfileType } from './dlna-profile-type';
12
12
  /**
13
- *
13
+ * Defines the MediaBrowser.Model.Dlna.DirectPlayProfile.
14
14
  * @export
15
15
  * @interface DirectPlayProfile
16
16
  */
17
17
  export interface DirectPlayProfile {
18
18
  /**
19
- *
19
+ * Gets or sets the container.
20
20
  * @type {string}
21
21
  * @memberof DirectPlayProfile
22
22
  */
23
- 'Container'?: string | null;
23
+ 'Container'?: string;
24
24
  /**
25
- *
25
+ * Gets or sets the audio codec.
26
26
  * @type {string}
27
27
  * @memberof DirectPlayProfile
28
28
  */
29
29
  'AudioCodec'?: string | null;
30
30
  /**
31
- *
31
+ * Gets or sets the video codec.
32
32
  * @type {string}
33
33
  * @memberof DirectPlayProfile
34
34
  */
@@ -8,8 +8,8 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { ScrollDirection } from './scroll-direction';
12
- import { SortOrder } from './sort-order';
11
+ import type { ScrollDirection } from './scroll-direction';
12
+ import type { SortOrder } from './sort-order';
13
13
  /**
14
14
  * Defines the display preferences for any item that supports them (usually Folders).
15
15
  * @export
@@ -60,11 +60,11 @@ export interface DisplayPreferencesDto {
60
60
  'PrimaryImageWidth'?: number;
61
61
  /**
62
62
  * Gets or sets the custom prefs.
63
- * @type {{ [key: string]: string; }}
63
+ * @type {{ [key: string]: string | null; }}
64
64
  * @memberof DisplayPreferencesDto
65
65
  */
66
66
  'CustomPrefs'?: {
67
- [key: string]: string;
67
+ [key: string]: string | null;
68
68
  };
69
69
  /**
70
70
  *