@jellyfin/sdk 0.10.0 → 0.12.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 (390) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +3 -41
  3. package/lib/api.d.ts +7 -11
  4. package/lib/api.js +13 -14
  5. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  6. package/lib/generated-client/api/activity-log-api.js +8 -8
  7. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  8. package/lib/generated-client/api/api-key-api.js +19 -10
  9. package/lib/generated-client/api/artists-api.d.ts +27 -90
  10. package/lib/generated-client/api/artists-api.js +22 -76
  11. package/lib/generated-client/api/audio-api.d.ts +87 -255
  12. package/lib/generated-client/api/audio-api.js +97 -249
  13. package/lib/generated-client/api/backup-api.d.ts +209 -0
  14. package/lib/generated-client/api/backup-api.js +311 -0
  15. package/lib/generated-client/api/branding-api.d.ts +16 -16
  16. package/lib/generated-client/api/branding-api.js +13 -4
  17. package/lib/generated-client/api/channels-api.d.ts +33 -51
  18. package/lib/generated-client/api/channels-api.js +33 -36
  19. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  20. package/lib/generated-client/api/client-log-api.js +10 -7
  21. package/lib/generated-client/api/collection-api.d.ts +19 -24
  22. package/lib/generated-client/api/collection-api.js +22 -18
  23. package/lib/generated-client/api/configuration-api.d.ts +75 -29
  24. package/lib/generated-client/api/configuration-api.js +98 -17
  25. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  26. package/lib/generated-client/api/dashboard-api.js +16 -10
  27. package/lib/generated-client/api/devices-api.d.ts +31 -33
  28. package/lib/generated-client/api/devices-api.js +37 -23
  29. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  30. package/lib/generated-client/api/display-preferences-api.js +16 -15
  31. package/lib/generated-client/api/dlna-api.d.ts +6 -6
  32. package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
  33. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  34. package/lib/generated-client/api/dynamic-hls-api.js +233 -573
  35. package/lib/generated-client/api/environment-api.d.ts +33 -35
  36. package/lib/generated-client/api/environment-api.js +35 -19
  37. package/lib/generated-client/api/filter-api.d.ts +17 -29
  38. package/lib/generated-client/api/filter-api.js +15 -21
  39. package/lib/generated-client/api/genres-api.d.ts +20 -38
  40. package/lib/generated-client/api/genres-api.js +16 -28
  41. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  42. package/lib/generated-client/api/hls-segment-api.js +37 -29
  43. package/lib/generated-client/api/image-api.d.ts +216 -942
  44. package/lib/generated-client/api/image-api.js +282 -789
  45. package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
  46. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  47. package/lib/generated-client/api/instant-mix-api.js +57 -89
  48. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  49. package/lib/generated-client/api/item-lookup-api.js +78 -47
  50. package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
  51. package/lib/generated-client/api/item-refresh-api.js +17 -13
  52. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  53. package/lib/generated-client/api/item-update-api.js +22 -15
  54. package/lib/generated-client/api/items-api.d.ts +44 -137
  55. package/lib/generated-client/api/items-api.js +39 -123
  56. package/lib/generated-client/api/library-api.d.ts +185 -170
  57. package/lib/generated-client/api/library-api.js +213 -143
  58. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  59. package/lib/generated-client/api/library-structure-api.js +54 -40
  60. package/lib/generated-client/api/live-tv-api.d.ts +236 -336
  61. package/lib/generated-client/api/live-tv-api.js +287 -267
  62. package/lib/generated-client/api/localization-api.d.ts +23 -23
  63. package/lib/generated-client/api/localization-api.js +17 -5
  64. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  65. package/lib/generated-client/api/lyrics-api.js +46 -31
  66. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  67. package/lib/generated-client/api/media-info-api.js +46 -53
  68. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  69. package/lib/generated-client/api/media-segments-api.js +123 -0
  70. package/lib/generated-client/api/movies-api.d.ts +10 -14
  71. package/lib/generated-client/api/movies-api.js +8 -9
  72. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  73. package/lib/generated-client/api/music-genres-api.js +16 -28
  74. package/lib/generated-client/api/notifications-api.d.ts +7 -7
  75. package/lib/generated-client/api/package-api.d.ts +33 -37
  76. package/lib/generated-client/api/package-api.js +38 -24
  77. package/lib/generated-client/api/persons-api.d.ts +18 -31
  78. package/lib/generated-client/api/persons-api.js +16 -23
  79. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  80. package/lib/generated-client/api/playlists-api.js +138 -64
  81. package/lib/generated-client/api/playstate-api.d.ts +66 -80
  82. package/lib/generated-client/api/playstate-api.js +77 -64
  83. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  84. package/lib/generated-client/api/plugins-api.js +61 -38
  85. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  86. package/lib/generated-client/api/quick-connect-api.js +24 -13
  87. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  88. package/lib/generated-client/api/remote-image-api.js +22 -20
  89. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  90. package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
  91. package/lib/generated-client/api/search-api.d.ts +11 -28
  92. package/lib/generated-client/api/search-api.js +8 -22
  93. package/lib/generated-client/api/session-api.d.ts +90 -117
  94. package/lib/generated-client/api/session-api.js +104 -83
  95. package/lib/generated-client/api/startup-api.d.ts +37 -37
  96. package/lib/generated-client/api/startup-api.js +39 -18
  97. package/lib/generated-client/api/studios-api.d.ts +18 -35
  98. package/lib/generated-client/api/studios-api.js +16 -27
  99. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  100. package/lib/generated-client/api/subtitle-api.js +69 -70
  101. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  102. package/lib/generated-client/api/suggestions-api.js +8 -10
  103. package/lib/generated-client/api/sync-play-api.d.ts +166 -120
  104. package/lib/generated-client/api/sync-play-api.js +200 -71
  105. package/lib/generated-client/api/system-api.d.ts +53 -57
  106. package/lib/generated-client/api/system-api.js +56 -30
  107. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  108. package/lib/generated-client/api/time-sync-api.js +5 -2
  109. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  110. package/lib/generated-client/api/tmdb-api.js +5 -2
  111. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  112. package/lib/generated-client/api/trailers-api.js +8 -88
  113. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  114. package/lib/generated-client/api/trickplay-api.js +15 -14
  115. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  116. package/lib/generated-client/api/tv-shows-api.js +30 -63
  117. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  118. package/lib/generated-client/api/universal-audio-api.js +33 -51
  119. package/lib/generated-client/api/user-api.d.ts +83 -88
  120. package/lib/generated-client/api/user-api.js +94 -57
  121. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  122. package/lib/generated-client/api/user-library-api.js +71 -60
  123. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  124. package/lib/generated-client/api/user-views-api.js +15 -12
  125. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  126. package/lib/generated-client/api/video-attachments-api.js +8 -7
  127. package/lib/generated-client/api/videos-api.d.ts +97 -274
  128. package/lib/generated-client/api/videos-api.js +114 -266
  129. package/lib/generated-client/api/years-api.d.ts +21 -36
  130. package/lib/generated-client/api/years-api.js +16 -25
  131. package/lib/generated-client/api.d.ts +2 -0
  132. package/lib/generated-client/base.d.ts +15 -4
  133. package/lib/generated-client/base.js +8 -4
  134. package/lib/generated-client/common.d.ts +4 -4
  135. package/lib/generated-client/common.js +23 -14
  136. package/lib/generated-client/configuration.d.ts +8 -0
  137. package/lib/generated-client/configuration.js +1 -0
  138. package/lib/generated-client/index.js +11 -1
  139. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  140. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  141. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  142. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  143. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  144. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  145. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  146. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  147. package/lib/generated-client/models/album-info.d.ts +5 -5
  148. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  149. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  150. package/lib/generated-client/models/artist-info.d.ts +3 -3
  151. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  152. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  153. package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
  154. package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
  155. package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
  156. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  157. package/lib/generated-client/models/base-item-dto.d.ts +28 -28
  158. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  159. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  160. package/lib/generated-client/models/book-info.d.ts +2 -2
  161. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  162. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  163. package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
  164. package/lib/generated-client/models/channel-features.d.ts +3 -3
  165. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  166. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  167. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  168. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  169. package/lib/generated-client/models/container-profile.d.ts +12 -6
  170. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  171. package/lib/generated-client/models/custom-database-option.d.ts +29 -0
  172. package/lib/generated-client/models/custom-database-options.d.ts +42 -0
  173. package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
  174. package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
  175. package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
  176. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  177. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  178. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  179. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  180. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  181. package/lib/generated-client/models/device-info.d.ts +1 -1
  182. package/lib/generated-client/models/device-profile.d.ts +8 -8
  183. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  184. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  185. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  186. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  187. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  188. package/lib/generated-client/models/encoder-preset.js +32 -0
  189. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  190. package/lib/generated-client/models/external-id-info.d.ts +1 -7
  191. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  192. package/lib/generated-client/models/external-id-media-type.js +2 -1
  193. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  194. package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
  195. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  196. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  197. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  198. package/lib/generated-client/models/general-command.d.ts +3 -3
  199. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  200. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  201. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  202. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  203. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  204. package/lib/generated-client/models/group-update-type.d.ts +0 -2
  205. package/lib/generated-client/models/group-update-type.js +0 -2
  206. package/lib/generated-client/models/group-update.d.ts +29 -6
  207. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  208. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  209. package/lib/generated-client/models/image-info.d.ts +1 -1
  210. package/lib/generated-client/models/image-option.d.ts +1 -1
  211. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  212. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  213. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  214. package/lib/generated-client/models/index.d.ts +38 -14
  215. package/lib/generated-client/models/index.js +9 -1
  216. package/lib/generated-client/models/installation-info.d.ts +1 -1
  217. package/lib/generated-client/models/item-fields.d.ts +0 -11
  218. package/lib/generated-client/models/item-fields.js +0 -11
  219. package/lib/generated-client/models/item-sort-by.d.ts +0 -2
  220. package/lib/generated-client/models/item-sort-by.js +1 -3
  221. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  222. package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
  223. package/lib/generated-client/models/library-options.d.ts +57 -3
  224. package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
  225. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  226. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  227. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  228. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  229. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  230. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  231. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  232. package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
  233. package/lib/generated-client/models/lyric-line.d.ts +7 -0
  234. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  235. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  236. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  237. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  238. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  239. package/lib/generated-client/models/media-segment-type.js +27 -0
  240. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  241. package/lib/generated-client/models/media-stream.d.ts +23 -5
  242. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  243. package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
  244. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  245. package/lib/generated-client/models/movie-info.d.ts +2 -2
  246. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  247. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  248. package/lib/generated-client/models/network-configuration.d.ts +1 -0
  249. package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
  250. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  251. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  252. package/lib/generated-client/models/package-info.d.ts +1 -1
  253. package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
  254. package/lib/generated-client/models/parental-rating.d.ts +8 -1
  255. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  256. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  257. package/lib/generated-client/models/play-message.d.ts +2 -2
  258. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  259. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  260. package/lib/generated-client/models/play-request.d.ts +1 -1
  261. package/lib/generated-client/models/playback-info-dto.d.ts +8 -2
  262. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  263. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  264. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  265. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  266. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  267. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  268. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  269. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  270. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  271. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  272. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  273. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  274. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  275. package/lib/generated-client/models/plugin-status.d.ts +1 -0
  276. package/lib/generated-client/models/plugin-status.js +1 -0
  277. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  278. package/lib/generated-client/models/problem-details.d.ts +1 -1
  279. package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
  280. package/lib/generated-client/models/profile-condition-value.js +2 -1
  281. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  282. package/lib/generated-client/models/query-filters.d.ts +1 -1
  283. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  284. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  285. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  286. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  287. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  288. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  289. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  290. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  291. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  292. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  293. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  294. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  295. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  296. package/lib/generated-client/models/search-hint.d.ts +2 -2
  297. package/lib/generated-client/models/send-command.d.ts +1 -1
  298. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  299. package/lib/generated-client/models/series-info.d.ts +2 -2
  300. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  301. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  302. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  303. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  304. package/lib/generated-client/models/server-configuration.d.ts +29 -23
  305. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  306. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  307. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  308. package/lib/generated-client/models/session-info.d.ts +8 -8
  309. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  310. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  311. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  312. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  313. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  314. package/lib/generated-client/models/song-info.d.ts +2 -2
  315. package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
  316. package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
  317. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  318. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  319. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  320. package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
  321. package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
  322. package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
  323. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  324. package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
  325. package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
  326. package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
  327. package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
  328. package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
  329. package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
  330. package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
  331. package/lib/generated-client/models/system-info.d.ts +9 -2
  332. package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
  333. package/lib/generated-client/models/task-info.d.ts +3 -3
  334. package/lib/generated-client/models/task-result.d.ts +1 -1
  335. package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
  336. package/lib/generated-client/models/task-trigger-info-type.js +25 -0
  337. package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
  338. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  339. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  340. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  341. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  342. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  343. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  344. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  345. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  346. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  347. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  348. package/lib/generated-client/models/tonemapping-range.js +24 -0
  349. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  350. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  351. package/lib/generated-client/models/transcode-reason.d.ts +2 -0
  352. package/lib/generated-client/models/transcode-reason.js +3 -1
  353. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  354. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  355. package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
  356. package/lib/generated-client/models/trickplay-info.d.ts +7 -1
  357. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  358. package/lib/generated-client/models/tuner-host-info.d.ts +24 -0
  359. package/lib/generated-client/models/type-options.d.ts +1 -1
  360. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  361. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  362. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  363. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  364. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  365. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  366. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  367. package/lib/generated-client/models/user-dto.d.ts +2 -2
  368. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  369. package/lib/generated-client/models/user-policy.d.ts +9 -3
  370. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  371. package/lib/generated-client/models/video-range-type.d.ts +4 -0
  372. package/lib/generated-client/models/video-range-type.js +4 -0
  373. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  374. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  375. package/lib/models/api/image-request-parameters.d.ts +0 -1
  376. package/lib/models/api/index.d.ts +0 -1
  377. package/lib/models/api/index.js +1 -1
  378. package/lib/utils/address-candidates.js +15 -10
  379. package/lib/utils/api/index.d.ts +1 -0
  380. package/lib/utils/api/index.js +1 -0
  381. package/lib/utils/api/media-segments-api.d.ts +8 -0
  382. package/lib/utils/api/media-segments-api.js +12 -0
  383. package/lib/utils/index.js +1 -1
  384. package/lib/utils/url/index.d.ts +16 -3
  385. package/lib/utils/url/index.js +26 -4
  386. package/lib/versions.d.ts +2 -2
  387. package/lib/versions.js +2 -2
  388. package/package.json +20 -18
  389. package/lib/models/api/item-sort-by.d.ts +0 -40
  390. package/lib/models/api/item-sort-by.js +0 -43
@@ -1,6 +1,6 @@
1
1
  import globalAxios from 'axios';
2
2
  import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
3
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
4
4
 
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
@@ -101,7 +101,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
101
101
  * @param {number} [minSegments] The minimum number of segments.
102
102
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
103
103
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
104
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
104
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
105
105
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
106
106
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
107
107
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -133,17 +133,18 @@ const VideosApiAxiosParamCreator = function (configuration) {
133
133
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
134
134
  * @param {string} [liveStreamId] The live stream id.
135
135
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
136
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
136
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
137
137
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
138
138
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
139
139
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
140
140
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
141
141
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
142
142
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
143
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
143
144
  * @param {*} [options] Override http request option.
144
145
  * @throws {RequiredError}
145
146
  */
146
- getVideoStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
147
+ getVideoStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options = {}) => {
147
148
  // verify required parameter 'itemId' is not null or undefined
148
149
  assertParamExists('getVideoStream', 'itemId', itemId);
149
150
  const localVarPath = `/Videos/{itemId}/stream`
@@ -305,7 +306,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
305
306
  localVarQueryParameter['context'] = context;
306
307
  }
307
308
  if (streamOptions !== undefined) {
308
- localVarQueryParameter['streamOptions'] = streamOptions;
309
+ for (const [key, value] of Object.entries(streamOptions)) {
310
+ localVarQueryParameter[key] = value;
311
+ }
312
+ }
313
+ if (enableAudioVbrEncoding !== undefined) {
314
+ localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
309
315
  }
310
316
  setSearchParams(localVarUrlObj, localVarQueryParameter);
311
317
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -330,7 +336,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
330
336
  * @param {number} [minSegments] The minimum number of segments.
331
337
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
332
338
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
333
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
339
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
334
340
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
335
341
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
336
342
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -362,17 +368,18 @@ const VideosApiAxiosParamCreator = function (configuration) {
362
368
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
363
369
  * @param {string} [liveStreamId] The live stream id.
364
370
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
365
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
371
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
366
372
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
367
373
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
368
374
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
369
375
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
370
376
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
371
377
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
378
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
372
379
  * @param {*} [options] Override http request option.
373
380
  * @throws {RequiredError}
374
381
  */
375
- getVideoStreamByContainer: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
382
+ getVideoStreamByContainer: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options = {}) => {
376
383
  // verify required parameter 'itemId' is not null or undefined
377
384
  assertParamExists('getVideoStreamByContainer', 'itemId', itemId);
378
385
  // verify required parameter 'container' is not null or undefined
@@ -534,7 +541,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
534
541
  localVarQueryParameter['context'] = context;
535
542
  }
536
543
  if (streamOptions !== undefined) {
537
- localVarQueryParameter['streamOptions'] = streamOptions;
544
+ for (const [key, value] of Object.entries(streamOptions)) {
545
+ localVarQueryParameter[key] = value;
546
+ }
547
+ }
548
+ if (enableAudioVbrEncoding !== undefined) {
549
+ localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
538
550
  }
539
551
  setSearchParams(localVarUrlObj, localVarQueryParameter);
540
552
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -559,7 +571,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
559
571
  * @param {number} [minSegments] The minimum number of segments.
560
572
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
561
573
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
562
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
574
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
563
575
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
564
576
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
565
577
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -591,17 +603,18 @@ const VideosApiAxiosParamCreator = function (configuration) {
591
603
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
592
604
  * @param {string} [liveStreamId] The live stream id.
593
605
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
594
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
606
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
595
607
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
596
608
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
597
609
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
598
610
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
599
611
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
600
612
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
613
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
601
614
  * @param {*} [options] Override http request option.
602
615
  * @throws {RequiredError}
603
616
  */
604
- headVideoStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
617
+ headVideoStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options = {}) => {
605
618
  // verify required parameter 'itemId' is not null or undefined
606
619
  assertParamExists('headVideoStream', 'itemId', itemId);
607
620
  const localVarPath = `/Videos/{itemId}/stream`
@@ -763,7 +776,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
763
776
  localVarQueryParameter['context'] = context;
764
777
  }
765
778
  if (streamOptions !== undefined) {
766
- localVarQueryParameter['streamOptions'] = streamOptions;
779
+ for (const [key, value] of Object.entries(streamOptions)) {
780
+ localVarQueryParameter[key] = value;
781
+ }
782
+ }
783
+ if (enableAudioVbrEncoding !== undefined) {
784
+ localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
767
785
  }
768
786
  setSearchParams(localVarUrlObj, localVarQueryParameter);
769
787
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -788,7 +806,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
788
806
  * @param {number} [minSegments] The minimum number of segments.
789
807
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
790
808
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
791
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
809
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
792
810
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
793
811
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
794
812
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -820,17 +838,18 @@ const VideosApiAxiosParamCreator = function (configuration) {
820
838
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
821
839
  * @param {string} [liveStreamId] The live stream id.
822
840
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
823
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
841
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
824
842
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
825
843
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
826
844
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
827
845
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
828
846
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
829
847
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
848
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
830
849
  * @param {*} [options] Override http request option.
831
850
  * @throws {RequiredError}
832
851
  */
833
- headVideoStreamByContainer: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
852
+ headVideoStreamByContainer: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options = {}) => {
834
853
  // verify required parameter 'itemId' is not null or undefined
835
854
  assertParamExists('headVideoStreamByContainer', 'itemId', itemId);
836
855
  // verify required parameter 'container' is not null or undefined
@@ -992,7 +1011,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
992
1011
  localVarQueryParameter['context'] = context;
993
1012
  }
994
1013
  if (streamOptions !== undefined) {
995
- localVarQueryParameter['streamOptions'] = streamOptions;
1014
+ for (const [key, value] of Object.entries(streamOptions)) {
1015
+ localVarQueryParameter[key] = value;
1016
+ }
1017
+ }
1018
+ if (enableAudioVbrEncoding !== undefined) {
1019
+ localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
996
1020
  }
997
1021
  setSearchParams(localVarUrlObj, localVarQueryParameter);
998
1022
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1052,8 +1076,11 @@ const VideosApiFp = function (configuration) {
1052
1076
  * @throws {RequiredError}
1053
1077
  */
1054
1078
  async deleteAlternateSources(itemId, options) {
1079
+ var _a, _b, _c;
1055
1080
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlternateSources(itemId, options);
1056
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1081
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1082
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.deleteAlternateSources']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1083
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1057
1084
  },
1058
1085
  /**
1059
1086
  *
@@ -1064,8 +1091,11 @@ const VideosApiFp = function (configuration) {
1064
1091
  * @throws {RequiredError}
1065
1092
  */
1066
1093
  async getAdditionalPart(itemId, userId, options) {
1094
+ var _a, _b, _c;
1067
1095
  const localVarAxiosArgs = await localVarAxiosParamCreator.getAdditionalPart(itemId, userId, options);
1068
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1096
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1097
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.getAdditionalPart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1098
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1069
1099
  },
1070
1100
  /**
1071
1101
  *
@@ -1082,7 +1112,7 @@ const VideosApiFp = function (configuration) {
1082
1112
  * @param {number} [minSegments] The minimum number of segments.
1083
1113
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1084
1114
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1085
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1115
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
1086
1116
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1087
1117
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1088
1118
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -1114,19 +1144,23 @@ const VideosApiFp = function (configuration) {
1114
1144
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1115
1145
  * @param {string} [liveStreamId] The live stream id.
1116
1146
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1117
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1147
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
1118
1148
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1119
1149
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
1120
1150
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1121
1151
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1122
1152
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1123
1153
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1154
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
1124
1155
  * @param {*} [options] Override http request option.
1125
1156
  * @throws {RequiredError}
1126
1157
  */
1127
- async getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1128
- const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1129
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1158
+ async getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options) {
1159
+ var _a, _b, _c;
1160
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
1161
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1162
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.getVideoStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1163
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1130
1164
  },
1131
1165
  /**
1132
1166
  *
@@ -1143,7 +1177,7 @@ const VideosApiFp = function (configuration) {
1143
1177
  * @param {number} [minSegments] The minimum number of segments.
1144
1178
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1145
1179
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1146
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1180
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
1147
1181
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1148
1182
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1149
1183
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -1175,19 +1209,23 @@ const VideosApiFp = function (configuration) {
1175
1209
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1176
1210
  * @param {string} [liveStreamId] The live stream id.
1177
1211
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1178
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1212
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
1179
1213
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1180
1214
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
1181
1215
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1182
1216
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1183
1217
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1184
1218
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1219
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
1185
1220
  * @param {*} [options] Override http request option.
1186
1221
  * @throws {RequiredError}
1187
1222
  */
1188
- async getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1189
- const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1190
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1223
+ async getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options) {
1224
+ var _a, _b, _c;
1225
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
1226
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1227
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.getVideoStreamByContainer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1228
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1191
1229
  },
1192
1230
  /**
1193
1231
  *
@@ -1204,7 +1242,7 @@ const VideosApiFp = function (configuration) {
1204
1242
  * @param {number} [minSegments] The minimum number of segments.
1205
1243
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1206
1244
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1207
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1245
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
1208
1246
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1209
1247
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1210
1248
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -1236,19 +1274,23 @@ const VideosApiFp = function (configuration) {
1236
1274
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1237
1275
  * @param {string} [liveStreamId] The live stream id.
1238
1276
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1239
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1277
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
1240
1278
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1241
1279
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
1242
1280
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1243
1281
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1244
1282
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1245
1283
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1284
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
1246
1285
  * @param {*} [options] Override http request option.
1247
1286
  * @throws {RequiredError}
1248
1287
  */
1249
- async headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1250
- const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1251
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1288
+ async headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options) {
1289
+ var _a, _b, _c;
1290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
1291
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1292
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.headVideoStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1293
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1252
1294
  },
1253
1295
  /**
1254
1296
  *
@@ -1265,7 +1307,7 @@ const VideosApiFp = function (configuration) {
1265
1307
  * @param {number} [minSegments] The minimum number of segments.
1266
1308
  * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1267
1309
  * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1268
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1310
+ * @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
1269
1311
  * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1270
1312
  * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1271
1313
  * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
@@ -1297,19 +1339,23 @@ const VideosApiFp = function (configuration) {
1297
1339
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1298
1340
  * @param {string} [liveStreamId] The live stream id.
1299
1341
  * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1300
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1342
+ * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
1301
1343
  * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1302
1344
  * @param {string} [transcodeReasons] Optional. The transcoding reason.
1303
1345
  * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1304
1346
  * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1305
1347
  * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1306
1348
  * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1349
+ * @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
1307
1350
  * @param {*} [options] Override http request option.
1308
1351
  * @throws {RequiredError}
1309
1352
  */
1310
- async headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1311
- const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1312
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1353
+ async headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options) {
1354
+ var _a, _b, _c;
1355
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, options);
1356
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1357
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.headVideoStreamByContainer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1313
1359
  },
1314
1360
  /**
1315
1361
  *
@@ -1319,8 +1365,11 @@ const VideosApiFp = function (configuration) {
1319
1365
  * @throws {RequiredError}
1320
1366
  */
1321
1367
  async mergeVersions(ids, options) {
1368
+ var _a, _b, _c;
1322
1369
  const localVarAxiosArgs = await localVarAxiosParamCreator.mergeVersions(ids, options);
1323
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1370
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1371
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideosApi.mergeVersions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1324
1373
  },
1325
1374
  };
1326
1375
  };
@@ -1334,273 +1383,72 @@ const VideosApiFactory = function (configuration, basePath, axios) {
1334
1383
  /**
1335
1384
  *
1336
1385
  * @summary Removes alternate video sources.
1337
- * @param {string} itemId The item id.
1386
+ * @param {VideosApiDeleteAlternateSourcesRequest} requestParameters Request parameters.
1338
1387
  * @param {*} [options] Override http request option.
1339
1388
  * @throws {RequiredError}
1340
1389
  */
1341
- deleteAlternateSources(itemId, options) {
1342
- return localVarFp.deleteAlternateSources(itemId, options).then((request) => request(axios, basePath));
1390
+ deleteAlternateSources(requestParameters, options) {
1391
+ return localVarFp.deleteAlternateSources(requestParameters.itemId, options).then((request) => request(axios, basePath));
1343
1392
  },
1344
1393
  /**
1345
1394
  *
1346
1395
  * @summary Gets additional parts for a video.
1347
- * @param {string} itemId The item id.
1348
- * @param {string} [userId] Optional. Filter by user id, and attach user data.
1396
+ * @param {VideosApiGetAdditionalPartRequest} requestParameters Request parameters.
1349
1397
  * @param {*} [options] Override http request option.
1350
1398
  * @throws {RequiredError}
1351
1399
  */
1352
- getAdditionalPart(itemId, userId, options) {
1353
- return localVarFp.getAdditionalPart(itemId, userId, options).then((request) => request(axios, basePath));
1400
+ getAdditionalPart(requestParameters, options) {
1401
+ return localVarFp.getAdditionalPart(requestParameters.itemId, requestParameters.userId, options).then((request) => request(axios, basePath));
1354
1402
  },
1355
1403
  /**
1356
1404
  *
1357
1405
  * @summary Gets a video stream.
1358
- * @param {string} itemId The item id.
1359
- * @param {string} [container] The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
1360
- * @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
1361
- * @param {string} [params] The streaming parameters.
1362
- * @param {string} [tag] The tag.
1363
- * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
1364
- * @param {string} [playSessionId] The play session id.
1365
- * @param {string} [segmentContainer] The segment container.
1366
- * @param {number} [segmentLength] The segment length.
1367
- * @param {number} [minSegments] The minimum number of segments.
1368
- * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1369
- * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1370
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1371
- * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1372
- * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1373
- * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
1374
- * @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
1375
- * @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
1376
- * @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
1377
- * @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
1378
- * @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
1379
- * @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
1380
- * @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
1381
- * @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
1382
- * @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1383
- * @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1384
- * @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
1385
- * @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
1386
- * @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
1387
- * @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
1388
- * @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
1389
- * @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
1390
- * @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
1391
- * @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
1392
- * @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
1393
- * @param {number} [maxRefFrames] Optional.
1394
- * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1395
- * @param {boolean} [requireAvc] Optional. Whether to require avc.
1396
- * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1397
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1398
- * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1399
- * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1400
- * @param {string} [liveStreamId] The live stream id.
1401
- * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1402
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1403
- * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1404
- * @param {string} [transcodeReasons] Optional. The transcoding reason.
1405
- * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1406
- * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1407
- * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1408
- * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1406
+ * @param {VideosApiGetVideoStreamRequest} requestParameters Request parameters.
1409
1407
  * @param {*} [options] Override http request option.
1410
1408
  * @throws {RequiredError}
1411
1409
  */
1412
- getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1413
- return localVarFp.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then((request) => request(axios, basePath));
1410
+ getVideoStream(requestParameters, options) {
1411
+ return localVarFp.getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
1414
1412
  },
1415
1413
  /**
1416
1414
  *
1417
1415
  * @summary Gets a video stream.
1418
- * @param {string} itemId The item id.
1419
- * @param {string} container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
1420
- * @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
1421
- * @param {string} [params] The streaming parameters.
1422
- * @param {string} [tag] The tag.
1423
- * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
1424
- * @param {string} [playSessionId] The play session id.
1425
- * @param {string} [segmentContainer] The segment container.
1426
- * @param {number} [segmentLength] The segment length.
1427
- * @param {number} [minSegments] The minimum number of segments.
1428
- * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1429
- * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1430
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1431
- * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1432
- * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1433
- * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
1434
- * @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
1435
- * @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
1436
- * @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
1437
- * @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
1438
- * @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
1439
- * @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
1440
- * @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
1441
- * @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
1442
- * @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1443
- * @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1444
- * @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
1445
- * @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
1446
- * @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
1447
- * @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
1448
- * @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
1449
- * @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
1450
- * @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
1451
- * @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
1452
- * @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
1453
- * @param {number} [maxRefFrames] Optional.
1454
- * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1455
- * @param {boolean} [requireAvc] Optional. Whether to require avc.
1456
- * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1457
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1458
- * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1459
- * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1460
- * @param {string} [liveStreamId] The live stream id.
1461
- * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1462
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1463
- * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1464
- * @param {string} [transcodeReasons] Optional. The transcoding reason.
1465
- * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1466
- * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1467
- * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1468
- * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1416
+ * @param {VideosApiGetVideoStreamByContainerRequest} requestParameters Request parameters.
1469
1417
  * @param {*} [options] Override http request option.
1470
1418
  * @throws {RequiredError}
1471
1419
  */
1472
- getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1473
- return localVarFp.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then((request) => request(axios, basePath));
1420
+ getVideoStreamByContainer(requestParameters, options) {
1421
+ return localVarFp.getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
1474
1422
  },
1475
1423
  /**
1476
1424
  *
1477
1425
  * @summary Gets a video stream.
1478
- * @param {string} itemId The item id.
1479
- * @param {string} [container] The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
1480
- * @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
1481
- * @param {string} [params] The streaming parameters.
1482
- * @param {string} [tag] The tag.
1483
- * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
1484
- * @param {string} [playSessionId] The play session id.
1485
- * @param {string} [segmentContainer] The segment container.
1486
- * @param {number} [segmentLength] The segment length.
1487
- * @param {number} [minSegments] The minimum number of segments.
1488
- * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1489
- * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1490
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1491
- * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1492
- * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1493
- * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
1494
- * @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
1495
- * @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
1496
- * @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
1497
- * @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
1498
- * @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
1499
- * @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
1500
- * @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
1501
- * @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
1502
- * @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1503
- * @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1504
- * @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
1505
- * @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
1506
- * @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
1507
- * @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
1508
- * @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
1509
- * @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
1510
- * @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
1511
- * @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
1512
- * @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
1513
- * @param {number} [maxRefFrames] Optional.
1514
- * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1515
- * @param {boolean} [requireAvc] Optional. Whether to require avc.
1516
- * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1517
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1518
- * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1519
- * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1520
- * @param {string} [liveStreamId] The live stream id.
1521
- * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1522
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1523
- * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1524
- * @param {string} [transcodeReasons] Optional. The transcoding reason.
1525
- * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1526
- * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1527
- * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1528
- * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1426
+ * @param {VideosApiHeadVideoStreamRequest} requestParameters Request parameters.
1529
1427
  * @param {*} [options] Override http request option.
1530
1428
  * @throws {RequiredError}
1531
1429
  */
1532
- headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1533
- return localVarFp.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then((request) => request(axios, basePath));
1430
+ headVideoStream(requestParameters, options) {
1431
+ return localVarFp.headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
1534
1432
  },
1535
1433
  /**
1536
1434
  *
1537
1435
  * @summary Gets a video stream.
1538
- * @param {string} itemId The item id.
1539
- * @param {string} container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
1540
- * @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
1541
- * @param {string} [params] The streaming parameters.
1542
- * @param {string} [tag] The tag.
1543
- * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
1544
- * @param {string} [playSessionId] The play session id.
1545
- * @param {string} [segmentContainer] The segment container.
1546
- * @param {number} [segmentLength] The segment length.
1547
- * @param {number} [minSegments] The minimum number of segments.
1548
- * @param {string} [mediaSourceId] The media version id, if playing an alternate version.
1549
- * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
1550
- * @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
1551
- * @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
1552
- * @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
1553
- * @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
1554
- * @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
1555
- * @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
1556
- * @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
1557
- * @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
1558
- * @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
1559
- * @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
1560
- * @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
1561
- * @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
1562
- * @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1563
- * @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
1564
- * @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
1565
- * @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
1566
- * @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
1567
- * @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
1568
- * @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
1569
- * @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
1570
- * @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
1571
- * @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
1572
- * @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
1573
- * @param {number} [maxRefFrames] Optional.
1574
- * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1575
- * @param {boolean} [requireAvc] Optional. Whether to require avc.
1576
- * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1577
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1578
- * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1579
- * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1580
- * @param {string} [liveStreamId] The live stream id.
1581
- * @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
1582
- * @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
1583
- * @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
1584
- * @param {string} [transcodeReasons] Optional. The transcoding reason.
1585
- * @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
1586
- * @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
1587
- * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
1588
- * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
1436
+ * @param {VideosApiHeadVideoStreamByContainerRequest} requestParameters Request parameters.
1589
1437
  * @param {*} [options] Override http request option.
1590
1438
  * @throws {RequiredError}
1591
1439
  */
1592
- headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1593
- return localVarFp.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then((request) => request(axios, basePath));
1440
+ headVideoStreamByContainer(requestParameters, options) {
1441
+ return localVarFp.headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
1594
1442
  },
1595
1443
  /**
1596
1444
  *
1597
1445
  * @summary Merges videos into a single record.
1598
- * @param {Array<string>} ids Item id list. This allows multiple, comma delimited.
1446
+ * @param {VideosApiMergeVersionsRequest} requestParameters Request parameters.
1599
1447
  * @param {*} [options] Override http request option.
1600
1448
  * @throws {RequiredError}
1601
1449
  */
1602
- mergeVersions(ids, options) {
1603
- return localVarFp.mergeVersions(ids, options).then((request) => request(axios, basePath));
1450
+ mergeVersions(requestParameters, options) {
1451
+ return localVarFp.mergeVersions(requestParameters.ids, options).then((request) => request(axios, basePath));
1604
1452
  },
1605
1453
  };
1606
1454
  };
@@ -1642,7 +1490,7 @@ class VideosApi extends BaseAPI {
1642
1490
  * @memberof VideosApi
1643
1491
  */
1644
1492
  getVideoStream(requestParameters, options) {
1645
- return VideosApiFp(this.configuration).getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
1493
+ return VideosApiFp(this.configuration).getVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
1646
1494
  }
1647
1495
  /**
1648
1496
  *
@@ -1653,7 +1501,7 @@ class VideosApi extends BaseAPI {
1653
1501
  * @memberof VideosApi
1654
1502
  */
1655
1503
  getVideoStreamByContainer(requestParameters, options) {
1656
- return VideosApiFp(this.configuration).getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
1504
+ return VideosApiFp(this.configuration).getVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
1657
1505
  }
1658
1506
  /**
1659
1507
  *
@@ -1664,7 +1512,7 @@ class VideosApi extends BaseAPI {
1664
1512
  * @memberof VideosApi
1665
1513
  */
1666
1514
  headVideoStream(requestParameters, options) {
1667
- return VideosApiFp(this.configuration).headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
1515
+ return VideosApiFp(this.configuration).headVideoStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
1668
1516
  }
1669
1517
  /**
1670
1518
  *
@@ -1675,7 +1523,7 @@ class VideosApi extends BaseAPI {
1675
1523
  * @memberof VideosApi
1676
1524
  */
1677
1525
  headVideoStreamByContainer(requestParameters, options) {
1678
- return VideosApiFp(this.configuration).headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
1526
+ return VideosApiFp(this.configuration).headVideoStreamByContainer(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
1679
1527
  }
1680
1528
  /**
1681
1529
  *