@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,19 +8,19 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
12
- import { Configuration } from '../configuration';
13
- import { RequestArgs, BaseAPI } from '../base';
14
- import { BaseItemKind } from '../models';
15
- import { ClientCapabilitiesDto } from '../models';
16
- import { GeneralCommand } from '../models';
17
- import { GeneralCommandType } from '../models';
18
- import { MediaType } from '../models';
19
- import { MessageCommand } from '../models';
20
- import { NameIdPair } from '../models';
21
- import { PlayCommand } from '../models';
22
- import { PlaystateCommand } from '../models';
23
- import { SessionInfo } from '../models';
11
+ import type { Configuration } from '../configuration';
12
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
13
+ import { type RequestArgs, BaseAPI } from '../base';
14
+ import type { BaseItemKind } from '../models';
15
+ import type { ClientCapabilitiesDto } from '../models';
16
+ import type { GeneralCommand } from '../models';
17
+ import type { GeneralCommandType } from '../models';
18
+ import type { MediaType } from '../models';
19
+ import type { MessageCommand } from '../models';
20
+ import type { NameIdPair } from '../models';
21
+ import type { PlayCommand } from '../models';
22
+ import type { PlaystateCommand } from '../models';
23
+ import type { SessionInfoDto } from '../models';
24
24
  /**
25
25
  * SessionApi - axios parameter creator
26
26
  * @export
@@ -34,7 +34,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
34
34
  * @param {*} [options] Override http request option.
35
35
  * @throws {RequiredError}
36
36
  */
37
- addUserToSession: (sessionId: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ addUserToSession: (sessionId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
38
  /**
39
39
  *
40
40
  * @summary Instructs a session to browse to an item or view.
@@ -45,21 +45,21 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
45
45
  * @param {*} [options] Override http request option.
46
46
  * @throws {RequiredError}
47
47
  */
48
- displayContent: (sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ displayContent: (sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
49
  /**
50
50
  *
51
51
  * @summary Get all auth providers.
52
52
  * @param {*} [options] Override http request option.
53
53
  * @throws {RequiredError}
54
54
  */
55
- getAuthProviders: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ getAuthProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
56
56
  /**
57
57
  *
58
58
  * @summary Get all password reset providers.
59
59
  * @param {*} [options] Override http request option.
60
60
  * @throws {RequiredError}
61
61
  */
62
- getPasswordResetProviders: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ getPasswordResetProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
63
  /**
64
64
  *
65
65
  * @summary Gets a list of sessions.
@@ -69,7 +69,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
69
69
  * @param {*} [options] Override http request option.
70
70
  * @throws {RequiredError}
71
71
  */
72
- getSessions: (controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
72
+ getSessions: (controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
73
  /**
74
74
  *
75
75
  * @summary Instructs a session to play an item.
@@ -84,7 +84,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
84
84
  * @param {*} [options] Override http request option.
85
85
  * @throws {RequiredError}
86
86
  */
87
- play: (sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
87
+ play: (sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
88
88
  /**
89
89
  *
90
90
  * @summary Updates capabilities for a device.
@@ -96,7 +96,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
96
96
  * @param {*} [options] Override http request option.
97
97
  * @throws {RequiredError}
98
98
  */
99
- postCapabilities: (id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
+ postCapabilities: (id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
100
  /**
101
101
  *
102
102
  * @summary Updates capabilities for a device.
@@ -105,7 +105,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
107
107
  */
108
- postFullCapabilities: (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
108
+ postFullCapabilities: (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
109
109
  /**
110
110
  *
111
111
  * @summary Removes an additional user from a session.
@@ -114,14 +114,14 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
114
114
  * @param {*} [options] Override http request option.
115
115
  * @throws {RequiredError}
116
116
  */
117
- removeUserFromSession: (sessionId: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
117
+ removeUserFromSession: (sessionId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
118
118
  /**
119
119
  *
120
120
  * @summary Reports that a session has ended.
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
123
123
  */
124
- reportSessionEnded: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
124
+ reportSessionEnded: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
125
125
  /**
126
126
  *
127
127
  * @summary Reports that a session is viewing an item.
@@ -130,7 +130,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
133
- reportViewing: (itemId: string, sessionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
133
+ reportViewing: (itemId: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
134
134
  /**
135
135
  *
136
136
  * @summary Issues a full general command to a client.
@@ -139,7 +139,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
139
139
  * @param {*} [options] Override http request option.
140
140
  * @throws {RequiredError}
141
141
  */
142
- sendFullGeneralCommand: (sessionId: string, generalCommand: GeneralCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
142
+ sendFullGeneralCommand: (sessionId: string, generalCommand: GeneralCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
143
143
  /**
144
144
  *
145
145
  * @summary Issues a general command to a client.
@@ -148,7 +148,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
148
148
  * @param {*} [options] Override http request option.
149
149
  * @throws {RequiredError}
150
150
  */
151
- sendGeneralCommand: (sessionId: string, command: GeneralCommandType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
151
+ sendGeneralCommand: (sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
152
152
  /**
153
153
  *
154
154
  * @summary Issues a command to a client to display a message to the user.
@@ -157,7 +157,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- sendMessageCommand: (sessionId: string, messageCommand: MessageCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
160
+ sendMessageCommand: (sessionId: string, messageCommand: MessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
161
161
  /**
162
162
  *
163
163
  * @summary Issues a playstate command to a client.
@@ -168,7 +168,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
168
168
  * @param {*} [options] Override http request option.
169
169
  * @throws {RequiredError}
170
170
  */
171
- sendPlaystateCommand: (sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
171
+ sendPlaystateCommand: (sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
172
172
  /**
173
173
  *
174
174
  * @summary Issues a system command to a client.
@@ -177,7 +177,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
177
177
  * @param {*} [options] Override http request option.
178
178
  * @throws {RequiredError}
179
179
  */
180
- sendSystemCommand: (sessionId: string, command: GeneralCommandType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
180
+ sendSystemCommand: (sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
181
181
  };
182
182
  /**
183
183
  * SessionApi - functional programming interface
@@ -192,7 +192,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
195
- addUserToSession(sessionId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
195
+ addUserToSession(sessionId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
196
196
  /**
197
197
  *
198
198
  * @summary Instructs a session to browse to an item or view.
@@ -203,21 +203,21 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
206
+ displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
207
207
  /**
208
208
  *
209
209
  * @summary Get all auth providers.
210
210
  * @param {*} [options] Override http request option.
211
211
  * @throws {RequiredError}
212
212
  */
213
- getAuthProviders(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
213
+ getAuthProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
214
214
  /**
215
215
  *
216
216
  * @summary Get all password reset providers.
217
217
  * @param {*} [options] Override http request option.
218
218
  * @throws {RequiredError}
219
219
  */
220
- getPasswordResetProviders(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
220
+ getPasswordResetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
221
221
  /**
222
222
  *
223
223
  * @summary Gets a list of sessions.
@@ -227,7 +227,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
227
227
  * @param {*} [options] Override http request option.
228
228
  * @throws {RequiredError}
229
229
  */
230
- getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfo>>>;
230
+ getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfoDto>>>;
231
231
  /**
232
232
  *
233
233
  * @summary Instructs a session to play an item.
@@ -242,7 +242,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
242
242
  * @param {*} [options] Override http request option.
243
243
  * @throws {RequiredError}
244
244
  */
245
- play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
245
+ play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
246
246
  /**
247
247
  *
248
248
  * @summary Updates capabilities for a device.
@@ -254,7 +254,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
254
254
  * @param {*} [options] Override http request option.
255
255
  * @throws {RequiredError}
256
256
  */
257
- postCapabilities(id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
257
+ postCapabilities(id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
258
258
  /**
259
259
  *
260
260
  * @summary Updates capabilities for a device.
@@ -263,7 +263,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
263
263
  * @param {*} [options] Override http request option.
264
264
  * @throws {RequiredError}
265
265
  */
266
- postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
266
+ postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
267
267
  /**
268
268
  *
269
269
  * @summary Removes an additional user from a session.
@@ -272,14 +272,14 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
272
272
  * @param {*} [options] Override http request option.
273
273
  * @throws {RequiredError}
274
274
  */
275
- removeUserFromSession(sessionId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
275
+ removeUserFromSession(sessionId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
276
276
  /**
277
277
  *
278
278
  * @summary Reports that a session has ended.
279
279
  * @param {*} [options] Override http request option.
280
280
  * @throws {RequiredError}
281
281
  */
282
- reportSessionEnded(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
282
+ reportSessionEnded(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
283
283
  /**
284
284
  *
285
285
  * @summary Reports that a session is viewing an item.
@@ -288,7 +288,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
288
288
  * @param {*} [options] Override http request option.
289
289
  * @throws {RequiredError}
290
290
  */
291
- reportViewing(itemId: string, sessionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
291
+ reportViewing(itemId: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
292
292
  /**
293
293
  *
294
294
  * @summary Issues a full general command to a client.
@@ -297,7 +297,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
297
297
  * @param {*} [options] Override http request option.
298
298
  * @throws {RequiredError}
299
299
  */
300
- sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
300
+ sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
301
301
  /**
302
302
  *
303
303
  * @summary Issues a general command to a client.
@@ -306,7 +306,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
306
306
  * @param {*} [options] Override http request option.
307
307
  * @throws {RequiredError}
308
308
  */
309
- sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
309
+ sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
310
310
  /**
311
311
  *
312
312
  * @summary Issues a command to a client to display a message to the user.
@@ -315,7 +315,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
318
+ sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
319
319
  /**
320
320
  *
321
321
  * @summary Issues a playstate command to a client.
@@ -326,7 +326,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
326
326
  * @param {*} [options] Override http request option.
327
327
  * @throws {RequiredError}
328
328
  */
329
- sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
329
+ sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
330
330
  /**
331
331
  *
332
332
  * @summary Issues a system command to a client.
@@ -335,7 +335,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
335
335
  * @param {*} [options] Override http request option.
336
336
  * @throws {RequiredError}
337
337
  */
338
- sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
338
+ sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
339
339
  };
340
340
  /**
341
341
  * SessionApi - factory interface
@@ -345,155 +345,128 @@ export declare const SessionApiFactory: (configuration?: Configuration, basePath
345
345
  /**
346
346
  *
347
347
  * @summary Adds an additional user to a session.
348
- * @param {string} sessionId The session id.
349
- * @param {string} userId The user id.
348
+ * @param {SessionApiAddUserToSessionRequest} requestParameters Request parameters.
350
349
  * @param {*} [options] Override http request option.
351
350
  * @throws {RequiredError}
352
351
  */
353
- addUserToSession(sessionId: string, userId: string, options?: any): AxiosPromise<void>;
352
+ addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
354
353
  /**
355
354
  *
356
355
  * @summary Instructs a session to browse to an item or view.
357
- * @param {string} sessionId The session Id.
358
- * @param {BaseItemKind} itemType The type of item to browse to.
359
- * @param {string} itemId The Id of the item.
360
- * @param {string} itemName The name of the item.
356
+ * @param {SessionApiDisplayContentRequest} requestParameters Request parameters.
361
357
  * @param {*} [options] Override http request option.
362
358
  * @throws {RequiredError}
363
359
  */
364
- displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: any): AxiosPromise<void>;
360
+ displayContent(requestParameters: SessionApiDisplayContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
365
361
  /**
366
362
  *
367
363
  * @summary Get all auth providers.
368
364
  * @param {*} [options] Override http request option.
369
365
  * @throws {RequiredError}
370
366
  */
371
- getAuthProviders(options?: any): AxiosPromise<Array<NameIdPair>>;
367
+ getAuthProviders(options?: RawAxiosRequestConfig): AxiosPromise<Array<NameIdPair>>;
372
368
  /**
373
369
  *
374
370
  * @summary Get all password reset providers.
375
371
  * @param {*} [options] Override http request option.
376
372
  * @throws {RequiredError}
377
373
  */
378
- getPasswordResetProviders(options?: any): AxiosPromise<Array<NameIdPair>>;
374
+ getPasswordResetProviders(options?: RawAxiosRequestConfig): AxiosPromise<Array<NameIdPair>>;
379
375
  /**
380
376
  *
381
377
  * @summary Gets a list of sessions.
382
- * @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
383
- * @param {string} [deviceId] Filter by device Id.
384
- * @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
378
+ * @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
385
379
  * @param {*} [options] Override http request option.
386
380
  * @throws {RequiredError}
387
381
  */
388
- getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: any): AxiosPromise<Array<SessionInfo>>;
382
+ getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SessionInfoDto>>;
389
383
  /**
390
384
  *
391
385
  * @summary Instructs a session to play an item.
392
- * @param {string} sessionId The session id.
393
- * @param {PlayCommand} playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.
394
- * @param {Array<string>} itemIds The ids of the items to play, comma delimited.
395
- * @param {number} [startPositionTicks] The starting position of the first item.
396
- * @param {string} [mediaSourceId] Optional. The media source id.
397
- * @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
398
- * @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
399
- * @param {number} [startIndex] Optional. The start index.
386
+ * @param {SessionApiPlayRequest} requestParameters Request parameters.
400
387
  * @param {*} [options] Override http request option.
401
388
  * @throws {RequiredError}
402
389
  */
403
- play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: any): AxiosPromise<void>;
390
+ play(requestParameters: SessionApiPlayRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
404
391
  /**
405
392
  *
406
393
  * @summary Updates capabilities for a device.
407
- * @param {string} [id] The session id.
408
- * @param {Array<MediaType>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
409
- * @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
410
- * @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
411
- * @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
394
+ * @param {SessionApiPostCapabilitiesRequest} requestParameters Request parameters.
412
395
  * @param {*} [options] Override http request option.
413
396
  * @throws {RequiredError}
414
397
  */
415
- postCapabilities(id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: any): AxiosPromise<void>;
398
+ postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
416
399
  /**
417
400
  *
418
401
  * @summary Updates capabilities for a device.
419
- * @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
420
- * @param {string} [id] The session id.
402
+ * @param {SessionApiPostFullCapabilitiesRequest} requestParameters Request parameters.
421
403
  * @param {*} [options] Override http request option.
422
404
  * @throws {RequiredError}
423
405
  */
424
- postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any): AxiosPromise<void>;
406
+ postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
425
407
  /**
426
408
  *
427
409
  * @summary Removes an additional user from a session.
428
- * @param {string} sessionId The session id.
429
- * @param {string} userId The user id.
410
+ * @param {SessionApiRemoveUserFromSessionRequest} requestParameters Request parameters.
430
411
  * @param {*} [options] Override http request option.
431
412
  * @throws {RequiredError}
432
413
  */
433
- removeUserFromSession(sessionId: string, userId: string, options?: any): AxiosPromise<void>;
414
+ removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
434
415
  /**
435
416
  *
436
417
  * @summary Reports that a session has ended.
437
418
  * @param {*} [options] Override http request option.
438
419
  * @throws {RequiredError}
439
420
  */
440
- reportSessionEnded(options?: any): AxiosPromise<void>;
421
+ reportSessionEnded(options?: RawAxiosRequestConfig): AxiosPromise<void>;
441
422
  /**
442
423
  *
443
424
  * @summary Reports that a session is viewing an item.
444
- * @param {string} itemId The item id.
445
- * @param {string} [sessionId] The session id.
425
+ * @param {SessionApiReportViewingRequest} requestParameters Request parameters.
446
426
  * @param {*} [options] Override http request option.
447
427
  * @throws {RequiredError}
448
428
  */
449
- reportViewing(itemId: string, sessionId?: string, options?: any): AxiosPromise<void>;
429
+ reportViewing(requestParameters: SessionApiReportViewingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
450
430
  /**
451
431
  *
452
432
  * @summary Issues a full general command to a client.
453
- * @param {string} sessionId The session id.
454
- * @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
433
+ * @param {SessionApiSendFullGeneralCommandRequest} requestParameters Request parameters.
455
434
  * @param {*} [options] Override http request option.
456
435
  * @throws {RequiredError}
457
436
  */
458
- sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: any): AxiosPromise<void>;
437
+ sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
459
438
  /**
460
439
  *
461
440
  * @summary Issues a general command to a client.
462
- * @param {string} sessionId The session id.
463
- * @param {GeneralCommandType} command The command to send.
441
+ * @param {SessionApiSendGeneralCommandRequest} requestParameters Request parameters.
464
442
  * @param {*} [options] Override http request option.
465
443
  * @throws {RequiredError}
466
444
  */
467
- sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: any): AxiosPromise<void>;
445
+ sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
468
446
  /**
469
447
  *
470
448
  * @summary Issues a command to a client to display a message to the user.
471
- * @param {string} sessionId The session id.
472
- * @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
449
+ * @param {SessionApiSendMessageCommandRequest} requestParameters Request parameters.
473
450
  * @param {*} [options] Override http request option.
474
451
  * @throws {RequiredError}
475
452
  */
476
- sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: any): AxiosPromise<void>;
453
+ sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
477
454
  /**
478
455
  *
479
456
  * @summary Issues a playstate command to a client.
480
- * @param {string} sessionId The session id.
481
- * @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
482
- * @param {number} [seekPositionTicks] The optional position ticks.
483
- * @param {string} [controllingUserId] The optional controlling user id.
457
+ * @param {SessionApiSendPlaystateCommandRequest} requestParameters Request parameters.
484
458
  * @param {*} [options] Override http request option.
485
459
  * @throws {RequiredError}
486
460
  */
487
- sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: any): AxiosPromise<void>;
461
+ sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
488
462
  /**
489
463
  *
490
464
  * @summary Issues a system command to a client.
491
- * @param {string} sessionId The session id.
492
- * @param {GeneralCommandType} command The command to send.
465
+ * @param {SessionApiSendSystemCommandRequest} requestParameters Request parameters.
493
466
  * @param {*} [options] Override http request option.
494
467
  * @throws {RequiredError}
495
468
  */
496
- sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: any): AxiosPromise<void>;
469
+ sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
497
470
  };
498
471
  /**
499
472
  * Request parameters for addUserToSession operation in SessionApi.
@@ -841,7 +814,7 @@ export declare class SessionApi extends BaseAPI {
841
814
  * @throws {RequiredError}
842
815
  * @memberof SessionApi
843
816
  */
844
- addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
817
+ addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
845
818
  /**
846
819
  *
847
820
  * @summary Instructs a session to browse to an item or view.
@@ -850,7 +823,7 @@ export declare class SessionApi extends BaseAPI {
850
823
  * @throws {RequiredError}
851
824
  * @memberof SessionApi
852
825
  */
853
- displayContent(requestParameters: SessionApiDisplayContentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
826
+ displayContent(requestParameters: SessionApiDisplayContentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
854
827
  /**
855
828
  *
856
829
  * @summary Get all auth providers.
@@ -858,7 +831,7 @@ export declare class SessionApi extends BaseAPI {
858
831
  * @throws {RequiredError}
859
832
  * @memberof SessionApi
860
833
  */
861
- getAuthProviders(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
834
+ getAuthProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
862
835
  /**
863
836
  *
864
837
  * @summary Get all password reset providers.
@@ -866,7 +839,7 @@ export declare class SessionApi extends BaseAPI {
866
839
  * @throws {RequiredError}
867
840
  * @memberof SessionApi
868
841
  */
869
- getPasswordResetProviders(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
842
+ getPasswordResetProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
870
843
  /**
871
844
  *
872
845
  * @summary Gets a list of sessions.
@@ -875,7 +848,7 @@ export declare class SessionApi extends BaseAPI {
875
848
  * @throws {RequiredError}
876
849
  * @memberof SessionApi
877
850
  */
878
- getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionInfo[], any>>;
851
+ getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionInfoDto[], any>>;
879
852
  /**
880
853
  *
881
854
  * @summary Instructs a session to play an item.
@@ -884,7 +857,7 @@ export declare class SessionApi extends BaseAPI {
884
857
  * @throws {RequiredError}
885
858
  * @memberof SessionApi
886
859
  */
887
- play(requestParameters: SessionApiPlayRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
860
+ play(requestParameters: SessionApiPlayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
888
861
  /**
889
862
  *
890
863
  * @summary Updates capabilities for a device.
@@ -893,7 +866,7 @@ export declare class SessionApi extends BaseAPI {
893
866
  * @throws {RequiredError}
894
867
  * @memberof SessionApi
895
868
  */
896
- postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
869
+ postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
897
870
  /**
898
871
  *
899
872
  * @summary Updates capabilities for a device.
@@ -902,7 +875,7 @@ export declare class SessionApi extends BaseAPI {
902
875
  * @throws {RequiredError}
903
876
  * @memberof SessionApi
904
877
  */
905
- postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
878
+ postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
906
879
  /**
907
880
  *
908
881
  * @summary Removes an additional user from a session.
@@ -911,7 +884,7 @@ export declare class SessionApi extends BaseAPI {
911
884
  * @throws {RequiredError}
912
885
  * @memberof SessionApi
913
886
  */
914
- removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
887
+ removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
915
888
  /**
916
889
  *
917
890
  * @summary Reports that a session has ended.
@@ -919,7 +892,7 @@ export declare class SessionApi extends BaseAPI {
919
892
  * @throws {RequiredError}
920
893
  * @memberof SessionApi
921
894
  */
922
- reportSessionEnded(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
895
+ reportSessionEnded(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
923
896
  /**
924
897
  *
925
898
  * @summary Reports that a session is viewing an item.
@@ -928,7 +901,7 @@ export declare class SessionApi extends BaseAPI {
928
901
  * @throws {RequiredError}
929
902
  * @memberof SessionApi
930
903
  */
931
- reportViewing(requestParameters: SessionApiReportViewingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
904
+ reportViewing(requestParameters: SessionApiReportViewingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
932
905
  /**
933
906
  *
934
907
  * @summary Issues a full general command to a client.
@@ -937,7 +910,7 @@ export declare class SessionApi extends BaseAPI {
937
910
  * @throws {RequiredError}
938
911
  * @memberof SessionApi
939
912
  */
940
- sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
913
+ sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
941
914
  /**
942
915
  *
943
916
  * @summary Issues a general command to a client.
@@ -946,7 +919,7 @@ export declare class SessionApi extends BaseAPI {
946
919
  * @throws {RequiredError}
947
920
  * @memberof SessionApi
948
921
  */
949
- sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
922
+ sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
950
923
  /**
951
924
  *
952
925
  * @summary Issues a command to a client to display a message to the user.
@@ -955,7 +928,7 @@ export declare class SessionApi extends BaseAPI {
955
928
  * @throws {RequiredError}
956
929
  * @memberof SessionApi
957
930
  */
958
- sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
931
+ sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
959
932
  /**
960
933
  *
961
934
  * @summary Issues a playstate command to a client.
@@ -964,7 +937,7 @@ export declare class SessionApi extends BaseAPI {
964
937
  * @throws {RequiredError}
965
938
  * @memberof SessionApi
966
939
  */
967
- sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
940
+ sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
968
941
  /**
969
942
  *
970
943
  * @summary Issues a system command to a client.
@@ -973,5 +946,5 @@ export declare class SessionApi extends BaseAPI {
973
946
  * @throws {RequiredError}
974
947
  * @memberof SessionApi
975
948
  */
976
- sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
949
+ sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
977
950
  }