@jellyfin/sdk 0.7.0 → 0.8.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 (863) hide show
  1. package/README.md +22 -9
  2. package/lib/api.d.ts +4 -4
  3. package/lib/api.js +38 -68
  4. package/lib/discovery/discovery-service.d.ts +3 -1
  5. package/lib/discovery/discovery-service.js +27 -68
  6. package/lib/discovery/index.js +3 -18
  7. package/lib/discovery/recommended-server-discovery.d.ts +3 -1
  8. package/lib/discovery/recommended-server-discovery.js +56 -102
  9. package/lib/generated-client/api/activity-log-api.d.ts +4 -4
  10. package/lib/generated-client/api/activity-log-api.js +58 -165
  11. package/lib/generated-client/api/api-key-api.d.ts +10 -10
  12. package/lib/generated-client/api/api-key-api.js +112 -254
  13. package/lib/generated-client/api/artists-api.d.ts +10 -10
  14. package/lib/generated-client/api/artists-api.js +302 -446
  15. package/lib/generated-client/api/audio-api.d.ts +13 -13
  16. package/lib/generated-client/api/audio-api.js +714 -850
  17. package/lib/generated-client/api/branding-api.d.ts +10 -10
  18. package/lib/generated-client/api/branding-api.js +98 -222
  19. package/lib/generated-client/api/channels-api.d.ts +16 -16
  20. package/lib/generated-client/api/channels-api.js +230 -410
  21. package/lib/generated-client/api/client-log-api.d.ts +4 -4
  22. package/lib/generated-client/api/client-log-api.js +46 -153
  23. package/lib/generated-client/api/collection-api.d.ts +10 -10
  24. package/lib/generated-client/api/collection-api.js +132 -275
  25. package/lib/generated-client/api/configuration-api.d.ts +19 -19
  26. package/lib/generated-client/api/configuration-api.js +212 -408
  27. package/lib/generated-client/api/dashboard-api.d.ts +7 -7
  28. package/lib/generated-client/api/dashboard-api.js +78 -198
  29. package/lib/generated-client/api/devices-api.d.ts +16 -16
  30. package/lib/generated-client/api/devices-api.js +194 -373
  31. package/lib/generated-client/api/display-preferences-api.d.ts +7 -7
  32. package/lib/generated-client/api/display-preferences-api.js +104 -228
  33. package/lib/generated-client/api/dlna-api.d.ts +19 -19
  34. package/lib/generated-client/api/dlna-api.js +207 -404
  35. package/lib/generated-client/api/dlna-server-api.d.ts +49 -49
  36. package/lib/generated-client/api/dlna-server-api.js +545 -921
  37. package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -28
  38. package/lib/generated-client/api/dynamic-hls-api.js +1686 -1936
  39. package/lib/generated-client/api/environment-api.d.ts +19 -19
  40. package/lib/generated-client/api/environment-api.js +214 -410
  41. package/lib/generated-client/api/filter-api.d.ts +7 -7
  42. package/lib/generated-client/api/filter-api.js +116 -242
  43. package/lib/generated-client/api/genres-api.d.ts +7 -7
  44. package/lib/generated-client/api/genres-api.js +134 -259
  45. package/lib/generated-client/api/hls-segment-api.d.ts +16 -16
  46. package/lib/generated-client/api/hls-segment-api.js +198 -358
  47. package/lib/generated-client/api/image-api.d.ts +124 -124
  48. package/lib/generated-client/api/image-api.js +2914 -3568
  49. package/lib/generated-client/api/image-by-name-api.d.ts +19 -19
  50. package/lib/generated-client/api/image-by-name-api.js +206 -384
  51. package/lib/generated-client/api/instant-mix-api.d.ts +25 -25
  52. package/lib/generated-client/api/instant-mix-api.js +450 -682
  53. package/lib/generated-client/api/item-lookup-api.d.ts +34 -34
  54. package/lib/generated-client/api/item-lookup-api.js +393 -679
  55. package/lib/generated-client/api/item-refresh-api.d.ts +4 -4
  56. package/lib/generated-client/api/item-refresh-api.js +59 -165
  57. package/lib/generated-client/api/item-update-api.d.ts +10 -10
  58. package/lib/generated-client/api/item-update-api.js +120 -262
  59. package/lib/generated-client/api/items-api.d.ts +10 -10
  60. package/lib/generated-client/api/items-api.js +675 -818
  61. package/lib/generated-client/api/library-api.d.ts +76 -76
  62. package/lib/generated-client/api/library-api.js +939 -1485
  63. package/lib/generated-client/api/library-structure-api.d.ts +25 -25
  64. package/lib/generated-client/api/library-structure-api.js +305 -542
  65. package/lib/generated-client/api/live-tv-api.d.ts +124 -124
  66. package/lib/generated-client/api/live-tv-api.js +1674 -2509
  67. package/lib/generated-client/api/localization-api.d.ts +13 -13
  68. package/lib/generated-client/api/localization-api.js +134 -294
  69. package/lib/generated-client/api/media-info-api.d.ts +16 -16
  70. package/lib/generated-client/api/media-info-api.js +262 -442
  71. package/lib/generated-client/api/movies-api.d.ts +4 -4
  72. package/lib/generated-client/api/movies-api.js +59 -166
  73. package/lib/generated-client/api/music-genres-api.d.ts +7 -7
  74. package/lib/generated-client/api/music-genres-api.js +134 -259
  75. package/lib/generated-client/api/notifications-api.d.ts +22 -22
  76. package/lib/generated-client/api/notifications-api.js +240 -454
  77. package/lib/generated-client/api/package-api.d.ts +19 -19
  78. package/lib/generated-client/api/package-api.js +219 -415
  79. package/lib/generated-client/api/persons-api.d.ts +7 -7
  80. package/lib/generated-client/api/persons-api.js +119 -244
  81. package/lib/generated-client/api/playlists-api.d.ts +16 -16
  82. package/lib/generated-client/api/playlists-api.js +231 -410
  83. package/lib/generated-client/api/playstate-api.d.ts +28 -28
  84. package/lib/generated-client/api/playstate-api.js +399 -652
  85. package/lib/generated-client/api/plugins-api.d.ts +28 -28
  86. package/lib/generated-client/api/plugins-api.js +320 -570
  87. package/lib/generated-client/api/quick-connect-api.d.ts +13 -13
  88. package/lib/generated-client/api/quick-connect-api.js +138 -280
  89. package/lib/generated-client/api/remote-image-api.d.ts +10 -10
  90. package/lib/generated-client/api/remote-image-api.js +136 -278
  91. package/lib/generated-client/api/scheduled-tasks-api.d.ts +16 -16
  92. package/lib/generated-client/api/scheduled-tasks-api.js +186 -365
  93. package/lib/generated-client/api/search-api.d.ts +4 -4
  94. package/lib/generated-client/api/search-api.js +100 -206
  95. package/lib/generated-client/api/session-api.d.ts +49 -49
  96. package/lib/generated-client/api/session-api.js +632 -1010
  97. package/lib/generated-client/api/startup-api.d.ts +22 -22
  98. package/lib/generated-client/api/startup-api.js +234 -449
  99. package/lib/generated-client/api/studios-api.d.ts +7 -7
  100. package/lib/generated-client/api/studios-api.js +131 -256
  101. package/lib/generated-client/api/subtitle-api.d.ts +31 -31
  102. package/lib/generated-client/api/subtitle-api.js +433 -689
  103. package/lib/generated-client/api/suggestions-api.d.ts +4 -4
  104. package/lib/generated-client/api/suggestions-api.js +62 -168
  105. package/lib/generated-client/api/sync-play-api.d.ts +64 -64
  106. package/lib/generated-client/api/sync-play-api.js +708 -1174
  107. package/lib/generated-client/api/system-api.d.ts +31 -31
  108. package/lib/generated-client/api/system-api.js +313 -563
  109. package/lib/generated-client/api/time-sync-api.d.ts +4 -4
  110. package/lib/generated-client/api/time-sync-api.js +42 -142
  111. package/lib/generated-client/api/tmdb-api.d.ts +4 -4
  112. package/lib/generated-client/api/tmdb-api.js +44 -150
  113. package/lib/generated-client/api/trailers-api.d.ts +4 -4
  114. package/lib/generated-client/api/trailers-api.js +304 -411
  115. package/lib/generated-client/api/tv-shows-api.d.ts +13 -13
  116. package/lib/generated-client/api/tv-shows-api.js +280 -442
  117. package/lib/generated-client/api/universal-audio-api.d.ts +7 -7
  118. package/lib/generated-client/api/universal-audio-api.js +182 -306
  119. package/lib/generated-client/api/user-api.d.ts +49 -49
  120. package/lib/generated-client/api/user-api.js +560 -901
  121. package/lib/generated-client/api/user-library-api.d.ts +31 -31
  122. package/lib/generated-client/api/user-library-api.js +401 -669
  123. package/lib/generated-client/api/user-views-api.d.ts +7 -7
  124. package/lib/generated-client/api/user-views-api.js +89 -213
  125. package/lib/generated-client/api/video-attachments-api.d.ts +4 -4
  126. package/lib/generated-client/api/video-attachments-api.js +51 -151
  127. package/lib/generated-client/api/videos-api.d.ts +22 -22
  128. package/lib/generated-client/api/videos-api.js +842 -1032
  129. package/lib/generated-client/api/years-api.d.ts +7 -7
  130. package/lib/generated-client/api/years-api.js +125 -250
  131. package/lib/generated-client/base.d.ts +2 -2
  132. package/lib/generated-client/base.js +14 -64
  133. package/lib/generated-client/common.d.ts +2 -2
  134. package/lib/generated-client/common.js +28 -184
  135. package/lib/generated-client/configuration.js +8 -12
  136. package/lib/generated-client/index.js +136 -31
  137. package/lib/generated-client/models/access-schedule.d.ts +5 -5
  138. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  139. package/lib/generated-client/models/activity-log-entry.d.ts +10 -10
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/admin-notification-dto.d.ts +4 -4
  142. package/lib/generated-client/models/album-info-remote-search-query.d.ts +4 -4
  143. package/lib/generated-client/models/album-info.d.ts +14 -14
  144. package/lib/generated-client/models/all-theme-media-result.d.ts +3 -3
  145. package/lib/generated-client/models/architecture.d.ts +9 -8
  146. package/lib/generated-client/models/architecture.js +10 -12
  147. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +4 -4
  148. package/lib/generated-client/models/artist-info.d.ts +12 -12
  149. package/lib/generated-client/models/authenticate-user-by-name.d.ts +3 -3
  150. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  151. package/lib/generated-client/models/authentication-info.d.ts +12 -12
  152. package/lib/generated-client/models/authentication-result.d.ts +4 -4
  153. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +13 -13
  154. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  155. package/lib/generated-client/models/base-item-dto.d.ts +151 -151
  156. package/lib/generated-client/models/base-item-kind.d.ts +40 -39
  157. package/lib/generated-client/models/base-item-kind.js +41 -43
  158. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -13
  159. package/lib/generated-client/models/base-item-person.d.ts +6 -6
  160. package/lib/generated-client/models/base-item.d.ts +11 -11
  161. package/lib/generated-client/models/book-info-remote-search-query.d.ts +4 -4
  162. package/lib/generated-client/models/book-info.d.ts +12 -12
  163. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +4 -4
  164. package/lib/generated-client/models/box-set-info.d.ts +11 -11
  165. package/lib/generated-client/models/branding-options.d.ts +3 -3
  166. package/lib/generated-client/models/buffer-request-dto.d.ts +4 -4
  167. package/lib/generated-client/models/channel-features.d.ts +12 -12
  168. package/lib/generated-client/models/channel-item-sort-field.d.ts +10 -9
  169. package/lib/generated-client/models/channel-item-sort-field.js +11 -13
  170. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +4 -4
  171. package/lib/generated-client/models/channel-media-content-type.d.ts +11 -10
  172. package/lib/generated-client/models/channel-media-content-type.js +12 -14
  173. package/lib/generated-client/models/channel-media-type.d.ts +6 -5
  174. package/lib/generated-client/models/channel-media-type.js +7 -9
  175. package/lib/generated-client/models/channel-type.d.ts +5 -4
  176. package/lib/generated-client/models/channel-type.js +6 -8
  177. package/lib/generated-client/models/chapter-info.d.ts +5 -5
  178. package/lib/generated-client/models/client-capabilities-dto.d.ts +10 -10
  179. package/lib/generated-client/models/client-capabilities.d.ts +10 -10
  180. package/lib/generated-client/models/client-log-document-response-dto.d.ts +1 -1
  181. package/lib/generated-client/models/codec-profile.d.ts +5 -5
  182. package/lib/generated-client/models/codec-type.d.ts +6 -5
  183. package/lib/generated-client/models/codec-type.js +7 -9
  184. package/lib/generated-client/models/collection-creation-result.d.ts +1 -1
  185. package/lib/generated-client/models/collection-type-options.d.ts +11 -10
  186. package/lib/generated-client/models/collection-type-options.js +12 -14
  187. package/lib/generated-client/models/config-image-types.d.ts +7 -7
  188. package/lib/generated-client/models/configuration-page-info.d.ts +6 -6
  189. package/lib/generated-client/models/container-profile.d.ts +3 -3
  190. package/lib/generated-client/models/control-response.d.ts +3 -3
  191. package/lib/generated-client/models/country-info.d.ts +4 -4
  192. package/lib/generated-client/models/create-playlist-dto.d.ts +4 -4
  193. package/lib/generated-client/models/create-user-by-name.d.ts +2 -2
  194. package/lib/generated-client/models/culture-dto.d.ts +5 -5
  195. package/lib/generated-client/models/day-of-week.d.ts +10 -9
  196. package/lib/generated-client/models/day-of-week.js +11 -13
  197. package/lib/generated-client/models/day-pattern.d.ts +6 -5
  198. package/lib/generated-client/models/day-pattern.js +7 -9
  199. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +1 -1
  200. package/lib/generated-client/models/device-identification.d.ts +9 -9
  201. package/lib/generated-client/models/device-info-query-result.d.ts +3 -3
  202. package/lib/generated-client/models/device-info.d.ts +10 -10
  203. package/lib/generated-client/models/device-options-dto.d.ts +3 -3
  204. package/lib/generated-client/models/device-options.d.ts +3 -3
  205. package/lib/generated-client/models/device-profile-info.d.ts +3 -3
  206. package/lib/generated-client/models/device-profile-type.d.ts +5 -4
  207. package/lib/generated-client/models/device-profile-type.js +6 -8
  208. package/lib/generated-client/models/device-profile.d.ts +39 -39
  209. package/lib/generated-client/models/direct-play-profile.d.ts +4 -4
  210. package/lib/generated-client/models/display-preferences-dto.d.ts +14 -14
  211. package/lib/generated-client/models/dlna-options.d.ts +11 -11
  212. package/lib/generated-client/models/dlna-profile-type.d.ts +7 -6
  213. package/lib/generated-client/models/dlna-profile-type.js +8 -10
  214. package/lib/generated-client/models/dynamic-day-of-week.d.ts +13 -12
  215. package/lib/generated-client/models/dynamic-day-of-week.js +14 -16
  216. package/lib/generated-client/models/embedded-subtitle-options.d.ts +7 -6
  217. package/lib/generated-client/models/embedded-subtitle-options.js +8 -10
  218. package/lib/generated-client/models/encoding-context.d.ts +5 -4
  219. package/lib/generated-client/models/encoding-context.js +6 -8
  220. package/lib/generated-client/models/encoding-options.d.ts +38 -38
  221. package/lib/generated-client/models/end-point-info.d.ts +2 -2
  222. package/lib/generated-client/models/external-id-info.d.ts +4 -4
  223. package/lib/generated-client/models/external-id-media-type.d.ts +15 -14
  224. package/lib/generated-client/models/external-id-media-type.js +16 -18
  225. package/lib/generated-client/models/external-url.d.ts +2 -2
  226. package/lib/generated-client/models/ffmpeg-location.d.ts +7 -6
  227. package/lib/generated-client/models/ffmpeg-location.js +8 -10
  228. package/lib/generated-client/models/file-system-entry-info.d.ts +3 -3
  229. package/lib/generated-client/models/file-system-entry-type.d.ts +7 -6
  230. package/lib/generated-client/models/file-system-entry-type.js +8 -10
  231. package/lib/generated-client/models/font-file.d.ts +4 -4
  232. package/lib/generated-client/models/forgot-password-action.d.ts +6 -5
  233. package/lib/generated-client/models/forgot-password-action.js +7 -9
  234. package/lib/generated-client/models/forgot-password-dto.d.ts +1 -1
  235. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +1 -1
  236. package/lib/generated-client/models/forgot-password-result.d.ts +3 -3
  237. package/lib/generated-client/models/general-command-type.d.ts +45 -44
  238. package/lib/generated-client/models/general-command-type.js +46 -48
  239. package/lib/generated-client/models/general-command.d.ts +3 -3
  240. package/lib/generated-client/models/get-programs-dto.d.ts +27 -27
  241. package/lib/generated-client/models/group-info-dto.d.ts +5 -5
  242. package/lib/generated-client/models/group-queue-mode.d.ts +5 -4
  243. package/lib/generated-client/models/group-queue-mode.js +6 -8
  244. package/lib/generated-client/models/group-repeat-mode.d.ts +6 -5
  245. package/lib/generated-client/models/group-repeat-mode.js +7 -9
  246. package/lib/generated-client/models/group-shuffle-mode.d.ts +5 -4
  247. package/lib/generated-client/models/group-shuffle-mode.js +6 -8
  248. package/lib/generated-client/models/group-state-type.d.ts +7 -6
  249. package/lib/generated-client/models/group-state-type.js +8 -10
  250. package/lib/generated-client/models/group-update-type.d.ts +14 -13
  251. package/lib/generated-client/models/group-update-type.js +15 -17
  252. package/lib/generated-client/models/guide-info.d.ts +2 -2
  253. package/lib/generated-client/models/hardware-encoding-type.d.ts +9 -8
  254. package/lib/generated-client/models/hardware-encoding-type.js +10 -12
  255. package/lib/generated-client/models/header-match-type.d.ts +6 -5
  256. package/lib/generated-client/models/header-match-type.js +7 -9
  257. package/lib/generated-client/models/http-header-info.d.ts +3 -3
  258. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +1 -1
  259. package/lib/generated-client/models/image-by-name-info.d.ts +5 -5
  260. package/lib/generated-client/models/image-format.d.ts +8 -7
  261. package/lib/generated-client/models/image-format.js +9 -11
  262. package/lib/generated-client/models/image-info.d.ts +8 -8
  263. package/lib/generated-client/models/image-option.d.ts +3 -3
  264. package/lib/generated-client/models/image-orientation.d.ts +11 -10
  265. package/lib/generated-client/models/image-orientation.js +12 -14
  266. package/lib/generated-client/models/image-provider-info.d.ts +2 -2
  267. package/lib/generated-client/models/image-saving-convention.d.ts +5 -4
  268. package/lib/generated-client/models/image-saving-convention.js +6 -8
  269. package/lib/generated-client/models/image-type.d.ts +16 -15
  270. package/lib/generated-client/models/image-type.js +17 -19
  271. package/lib/generated-client/models/index.d.ts +1 -0
  272. package/lib/generated-client/models/index.js +74 -300
  273. package/lib/generated-client/models/installation-info.d.ts +7 -7
  274. package/lib/generated-client/models/iplugin.d.ts +7 -7
  275. package/lib/generated-client/models/iso-type.d.ts +5 -4
  276. package/lib/generated-client/models/iso-type.js +6 -8
  277. package/lib/generated-client/models/item-counts.d.ts +12 -12
  278. package/lib/generated-client/models/item-fields.d.ts +64 -63
  279. package/lib/generated-client/models/item-fields.js +65 -67
  280. package/lib/generated-client/models/item-filter.d.ts +12 -11
  281. package/lib/generated-client/models/item-filter.js +13 -15
  282. package/lib/generated-client/models/join-group-request-dto.d.ts +1 -1
  283. package/lib/generated-client/models/keep-until.d.ts +7 -6
  284. package/lib/generated-client/models/keep-until.js +8 -10
  285. package/lib/generated-client/models/library-option-info-dto.d.ts +2 -2
  286. package/lib/generated-client/models/library-options-result-dto.d.ts +4 -4
  287. package/lib/generated-client/models/library-options.d.ts +27 -27
  288. package/lib/generated-client/models/library-type-options-dto.d.ts +5 -5
  289. package/lib/generated-client/models/library-update-info.d.ts +7 -7
  290. package/lib/generated-client/models/listings-provider-info.d.ts +18 -18
  291. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  292. package/lib/generated-client/models/live-tv-info.d.ts +3 -3
  293. package/lib/generated-client/models/live-tv-options.d.ts +13 -13
  294. package/lib/generated-client/models/live-tv-service-info.d.ts +8 -8
  295. package/lib/generated-client/models/live-tv-service-status.d.ts +5 -4
  296. package/lib/generated-client/models/live-tv-service-status.js +6 -8
  297. package/lib/generated-client/models/localization-option.d.ts +2 -2
  298. package/lib/generated-client/models/location-type.d.ts +7 -6
  299. package/lib/generated-client/models/location-type.js +8 -10
  300. package/lib/generated-client/models/log-file.d.ts +4 -4
  301. package/lib/generated-client/models/log-level.d.ts +10 -9
  302. package/lib/generated-client/models/log-level.js +11 -13
  303. package/lib/generated-client/models/media-attachment.d.ts +7 -7
  304. package/lib/generated-client/models/media-encoder-path-dto.d.ts +2 -2
  305. package/lib/generated-client/models/media-path-dto.d.ts +3 -3
  306. package/lib/generated-client/models/media-path-info.d.ts +2 -2
  307. package/lib/generated-client/models/media-protocol.d.ts +10 -9
  308. package/lib/generated-client/models/media-protocol.js +11 -13
  309. package/lib/generated-client/models/media-source-info.d.ts +42 -42
  310. package/lib/generated-client/models/media-source-type.d.ts +6 -5
  311. package/lib/generated-client/models/media-source-type.js +7 -9
  312. package/lib/generated-client/models/media-stream-type.d.ts +8 -6
  313. package/lib/generated-client/models/media-stream-type.js +9 -10
  314. package/lib/generated-client/models/media-stream.d.ts +58 -58
  315. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  316. package/lib/generated-client/models/media-update-info-path-dto.d.ts +2 -2
  317. package/lib/generated-client/models/media-url.d.ts +2 -2
  318. package/lib/generated-client/models/message-command.d.ts +3 -3
  319. package/lib/generated-client/models/metadata-configuration.d.ts +1 -1
  320. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  321. package/lib/generated-client/models/metadata-field.d.ts +12 -11
  322. package/lib/generated-client/models/metadata-field.js +13 -15
  323. package/lib/generated-client/models/metadata-options.d.ts +7 -7
  324. package/lib/generated-client/models/metadata-refresh-mode.d.ts +7 -6
  325. package/lib/generated-client/models/metadata-refresh-mode.js +8 -10
  326. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +2 -2
  327. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +4 -4
  328. package/lib/generated-client/models/movie-info.d.ts +11 -11
  329. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +4 -4
  330. package/lib/generated-client/models/music-video-info.d.ts +12 -12
  331. package/lib/generated-client/models/name-guid-pair.d.ts +2 -2
  332. package/lib/generated-client/models/name-id-pair.d.ts +2 -2
  333. package/lib/generated-client/models/name-value-pair.d.ts +2 -2
  334. package/lib/generated-client/models/network-configuration.d.ts +34 -34
  335. package/lib/generated-client/models/new-group-request-dto.d.ts +1 -1
  336. package/lib/generated-client/models/next-item-request-dto.d.ts +1 -1
  337. package/lib/generated-client/models/notification-dto.d.ts +8 -8
  338. package/lib/generated-client/models/notification-level.d.ts +6 -5
  339. package/lib/generated-client/models/notification-level.js +7 -9
  340. package/lib/generated-client/models/notification-option.d.ts +6 -6
  341. package/lib/generated-client/models/notification-options.d.ts +1 -1
  342. package/lib/generated-client/models/notification-result-dto.d.ts +2 -2
  343. package/lib/generated-client/models/notification-type-info.d.ts +5 -5
  344. package/lib/generated-client/models/notifications-summary-dto.d.ts +2 -2
  345. package/lib/generated-client/models/object-group-update.d.ts +3 -3
  346. package/lib/generated-client/models/open-live-stream-dto.d.ts +13 -13
  347. package/lib/generated-client/models/package-info.d.ts +8 -8
  348. package/lib/generated-client/models/parental-rating.d.ts +2 -2
  349. package/lib/generated-client/models/path-substitution.d.ts +2 -2
  350. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +4 -4
  351. package/lib/generated-client/models/person-lookup-info.d.ts +11 -11
  352. package/lib/generated-client/models/pin-redeem-result.d.ts +2 -2
  353. package/lib/generated-client/models/ping-request-dto.d.ts +1 -1
  354. package/lib/generated-client/models/play-access.d.ts +5 -4
  355. package/lib/generated-client/models/play-access.js +6 -8
  356. package/lib/generated-client/models/play-command.d.ts +8 -7
  357. package/lib/generated-client/models/play-command.js +9 -11
  358. package/lib/generated-client/models/play-method.d.ts +6 -5
  359. package/lib/generated-client/models/play-method.js +7 -9
  360. package/lib/generated-client/models/play-request-dto.d.ts +3 -3
  361. package/lib/generated-client/models/play-request.d.ts +8 -8
  362. package/lib/generated-client/models/playback-error-code.d.ts +6 -5
  363. package/lib/generated-client/models/playback-error-code.js +7 -9
  364. package/lib/generated-client/models/playback-info-dto.d.ts +15 -15
  365. package/lib/generated-client/models/playback-info-response.d.ts +3 -3
  366. package/lib/generated-client/models/playback-progress-info.d.ts +20 -20
  367. package/lib/generated-client/models/playback-start-info.d.ts +20 -20
  368. package/lib/generated-client/models/playback-stop-info.d.ts +11 -11
  369. package/lib/generated-client/models/player-state-info.d.ts +11 -11
  370. package/lib/generated-client/models/playlist-creation-result.d.ts +1 -1
  371. package/lib/generated-client/models/playstate-command.d.ts +12 -11
  372. package/lib/generated-client/models/playstate-command.js +13 -15
  373. package/lib/generated-client/models/playstate-request.d.ts +3 -3
  374. package/lib/generated-client/models/plugin-info.d.ts +8 -8
  375. package/lib/generated-client/models/plugin-status.d.ts +10 -9
  376. package/lib/generated-client/models/plugin-status.js +11 -13
  377. package/lib/generated-client/models/previous-item-request-dto.d.ts +1 -1
  378. package/lib/generated-client/models/problem-details.d.ts +5 -5
  379. package/lib/generated-client/models/profile-condition-type.d.ts +8 -7
  380. package/lib/generated-client/models/profile-condition-type.js +9 -11
  381. package/lib/generated-client/models/profile-condition-value.d.ts +27 -26
  382. package/lib/generated-client/models/profile-condition-value.js +28 -30
  383. package/lib/generated-client/models/profile-condition.d.ts +4 -4
  384. package/lib/generated-client/models/program-audio.d.ts +9 -8
  385. package/lib/generated-client/models/program-audio.js +10 -12
  386. package/lib/generated-client/models/public-system-info.d.ts +7 -7
  387. package/lib/generated-client/models/query-filters-legacy.d.ts +4 -4
  388. package/lib/generated-client/models/query-filters.d.ts +2 -2
  389. package/lib/generated-client/models/queue-item.d.ts +2 -2
  390. package/lib/generated-client/models/queue-request-dto.d.ts +2 -2
  391. package/lib/generated-client/models/quick-connect-dto.d.ts +1 -1
  392. package/lib/generated-client/models/quick-connect-result.d.ts +8 -8
  393. package/lib/generated-client/models/rating-type.d.ts +5 -4
  394. package/lib/generated-client/models/rating-type.js +6 -8
  395. package/lib/generated-client/models/ready-request-dto.d.ts +4 -4
  396. package/lib/generated-client/models/recommendation-dto.d.ts +4 -4
  397. package/lib/generated-client/models/recommendation-type.d.ts +9 -8
  398. package/lib/generated-client/models/recommendation-type.js +10 -12
  399. package/lib/generated-client/models/recording-status.d.ts +10 -9
  400. package/lib/generated-client/models/recording-status.js +11 -13
  401. package/lib/generated-client/models/remote-image-info.d.ts +10 -10
  402. package/lib/generated-client/models/remote-image-result.d.ts +3 -3
  403. package/lib/generated-client/models/remote-search-result.d.ts +12 -12
  404. package/lib/generated-client/models/remote-subtitle-info.d.ts +11 -11
  405. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +3 -3
  406. package/lib/generated-client/models/repeat-mode.d.ts +6 -5
  407. package/lib/generated-client/models/repeat-mode.js +7 -9
  408. package/lib/generated-client/models/repository-info.d.ts +3 -3
  409. package/lib/generated-client/models/response-profile.d.ts +7 -7
  410. package/lib/generated-client/models/scroll-direction.d.ts +5 -4
  411. package/lib/generated-client/models/scroll-direction.js +6 -8
  412. package/lib/generated-client/models/search-hint-result.d.ts +2 -2
  413. package/lib/generated-client/models/search-hint.d.ts +29 -29
  414. package/lib/generated-client/models/seek-request-dto.d.ts +1 -1
  415. package/lib/generated-client/models/send-command-type.d.ts +7 -6
  416. package/lib/generated-client/models/send-command-type.js +8 -10
  417. package/lib/generated-client/models/send-command.d.ts +6 -6
  418. package/lib/generated-client/models/send-to-user-type.d.ts +6 -5
  419. package/lib/generated-client/models/send-to-user-type.js +7 -9
  420. package/lib/generated-client/models/series-info-remote-search-query.d.ts +4 -4
  421. package/lib/generated-client/models/series-info.d.ts +11 -11
  422. package/lib/generated-client/models/series-status.d.ts +5 -4
  423. package/lib/generated-client/models/series-status.js +6 -8
  424. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  425. package/lib/generated-client/models/series-timer-info-dto.d.ts +35 -35
  426. package/lib/generated-client/models/server-configuration.d.ts +48 -48
  427. package/lib/generated-client/models/server-discovery-info.d.ts +4 -4
  428. package/lib/generated-client/models/session-info.d.ts +29 -29
  429. package/lib/generated-client/models/session-message-type.d.ts +37 -36
  430. package/lib/generated-client/models/session-message-type.js +38 -40
  431. package/lib/generated-client/models/session-user-info.d.ts +2 -2
  432. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +3 -3
  433. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +1 -1
  434. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  435. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  436. package/lib/generated-client/models/song-info.d.ts +14 -14
  437. package/lib/generated-client/models/sort-order.d.ts +5 -4
  438. package/lib/generated-client/models/sort-order.js +6 -8
  439. package/lib/generated-client/models/special-view-option-dto.d.ts +2 -2
  440. package/lib/generated-client/models/startup-configuration-dto.d.ts +3 -3
  441. package/lib/generated-client/models/startup-remote-access-dto.d.ts +2 -2
  442. package/lib/generated-client/models/startup-user-dto.d.ts +2 -2
  443. package/lib/generated-client/models/subtitle-delivery-method.d.ts +8 -7
  444. package/lib/generated-client/models/subtitle-delivery-method.js +9 -11
  445. package/lib/generated-client/models/subtitle-options.d.ts +9 -9
  446. package/lib/generated-client/models/subtitle-playback-mode.d.ts +8 -7
  447. package/lib/generated-client/models/subtitle-playback-mode.js +9 -11
  448. package/lib/generated-client/models/subtitle-profile.d.ts +5 -5
  449. package/lib/generated-client/models/sync-play-user-access-type.d.ts +6 -5
  450. package/lib/generated-client/models/sync-play-user-access-type.js +7 -9
  451. package/lib/generated-client/models/system-info.d.ts +26 -26
  452. package/lib/generated-client/models/task-completion-status.d.ts +7 -6
  453. package/lib/generated-client/models/task-completion-status.js +8 -10
  454. package/lib/generated-client/models/task-info.d.ts +10 -10
  455. package/lib/generated-client/models/task-result.d.ts +8 -8
  456. package/lib/generated-client/models/task-state.d.ts +6 -5
  457. package/lib/generated-client/models/task-state.js +7 -9
  458. package/lib/generated-client/models/task-trigger-info.d.ts +5 -5
  459. package/lib/generated-client/models/theme-media-result.d.ts +4 -4
  460. package/lib/generated-client/models/timer-event-info.d.ts +2 -2
  461. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  462. package/lib/generated-client/models/timer-info-dto.d.ts +28 -28
  463. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +4 -4
  464. package/lib/generated-client/models/trailer-info.d.ts +11 -11
  465. package/lib/generated-client/models/transcode-reason.d.ts +43 -0
  466. package/lib/generated-client/models/transcode-reason.js +46 -0
  467. package/lib/generated-client/models/transcode-seek-info.d.ts +5 -4
  468. package/lib/generated-client/models/transcode-seek-info.js +6 -8
  469. package/lib/generated-client/models/transcoding-info.d.ts +15 -45
  470. package/lib/generated-client/models/transcoding-profile.d.ts +16 -16
  471. package/lib/generated-client/models/transport-stream-timestamp.d.ts +6 -5
  472. package/lib/generated-client/models/transport-stream-timestamp.js +7 -9
  473. package/lib/generated-client/models/tuner-channel-mapping.d.ts +4 -4
  474. package/lib/generated-client/models/tuner-host-info.d.ts +11 -11
  475. package/lib/generated-client/models/type-options.d.ts +6 -6
  476. package/lib/generated-client/models/unrated-item.d.ts +12 -11
  477. package/lib/generated-client/models/unrated-item.js +13 -15
  478. package/lib/generated-client/models/update-library-options-dto.d.ts +2 -2
  479. package/lib/generated-client/models/update-media-path-request-dto.d.ts +2 -2
  480. package/lib/generated-client/models/update-user-easy-password.d.ts +3 -3
  481. package/lib/generated-client/models/update-user-password.d.ts +4 -4
  482. package/lib/generated-client/models/upload-subtitle-dto.d.ts +4 -4
  483. package/lib/generated-client/models/user-configuration.d.ts +15 -15
  484. package/lib/generated-client/models/user-dto.d.ts +14 -14
  485. package/lib/generated-client/models/user-item-data-dto.d.ts +11 -11
  486. package/lib/generated-client/models/user-policy.d.ts +39 -39
  487. package/lib/generated-client/models/utc-time-response.d.ts +2 -2
  488. package/lib/generated-client/models/validate-path-dto.d.ts +3 -3
  489. package/lib/generated-client/models/version-info.d.ts +9 -9
  490. package/lib/generated-client/models/video-type.d.ts +7 -6
  491. package/lib/generated-client/models/video-type.js +8 -10
  492. package/lib/generated-client/models/video3-dformat.d.ts +8 -7
  493. package/lib/generated-client/models/video3-dformat.js +9 -11
  494. package/lib/generated-client/models/virtual-folder-info.d.ts +8 -8
  495. package/lib/generated-client/models/wake-on-lan-info.d.ts +2 -2
  496. package/lib/generated-client/models/xbmc-metadata-options.d.ts +5 -5
  497. package/lib/generated-client/models/xml-attribute.d.ts +2 -2
  498. package/lib/index.js +9 -39
  499. package/lib/jellyfin.d.ts +5 -7
  500. package/lib/jellyfin.js +12 -18
  501. package/lib/models/api/image-request-parameters.d.ts +1 -1
  502. package/lib/models/api/index.js +1 -23
  503. package/lib/models/api/item-sort-by.js +3 -4
  504. package/lib/models/index.js +2 -25
  505. package/lib/models/recommended-server-info.d.ts +2 -2
  506. package/lib/models/recommended-server-info.js +3 -4
  507. package/lib/models/recommended-server-issue.js +31 -77
  508. package/lib/utils/address-candidates.js +30 -30
  509. package/lib/utils/api/activity-log-api.d.ts +1 -1
  510. package/lib/utils/api/activity-log-api.js +5 -6
  511. package/lib/utils/api/api-key-api.d.ts +1 -1
  512. package/lib/utils/api/api-key-api.js +5 -6
  513. package/lib/utils/api/artists-api.d.ts +1 -1
  514. package/lib/utils/api/artists-api.js +5 -6
  515. package/lib/utils/api/audio-api.d.ts +1 -1
  516. package/lib/utils/api/audio-api.js +5 -6
  517. package/lib/utils/api/branding-api.d.ts +1 -1
  518. package/lib/utils/api/branding-api.js +5 -6
  519. package/lib/utils/api/channels-api.d.ts +1 -1
  520. package/lib/utils/api/channels-api.js +5 -6
  521. package/lib/utils/api/client-log-api.d.ts +1 -1
  522. package/lib/utils/api/client-log-api.js +5 -6
  523. package/lib/utils/api/collection-api.d.ts +1 -1
  524. package/lib/utils/api/collection-api.js +5 -6
  525. package/lib/utils/api/configuration-api.d.ts +1 -1
  526. package/lib/utils/api/configuration-api.js +5 -6
  527. package/lib/utils/api/dashboard-api.d.ts +1 -1
  528. package/lib/utils/api/dashboard-api.js +5 -6
  529. package/lib/utils/api/devices-api.d.ts +1 -1
  530. package/lib/utils/api/devices-api.js +5 -6
  531. package/lib/utils/api/display-preferences-api.d.ts +1 -1
  532. package/lib/utils/api/display-preferences-api.js +5 -6
  533. package/lib/utils/api/dlna-api.d.ts +1 -1
  534. package/lib/utils/api/dlna-api.js +5 -6
  535. package/lib/utils/api/dlna-server-api.d.ts +1 -1
  536. package/lib/utils/api/dlna-server-api.js +5 -6
  537. package/lib/utils/api/dynamic-hls-api.d.ts +1 -1
  538. package/lib/utils/api/dynamic-hls-api.js +5 -6
  539. package/lib/utils/api/environment-api.d.ts +1 -1
  540. package/lib/utils/api/environment-api.js +5 -6
  541. package/lib/utils/api/filter-api.d.ts +1 -1
  542. package/lib/utils/api/filter-api.js +5 -6
  543. package/lib/utils/api/genres-api.d.ts +1 -1
  544. package/lib/utils/api/genres-api.js +5 -6
  545. package/lib/utils/api/hls-segment-api.d.ts +1 -1
  546. package/lib/utils/api/hls-segment-api.js +5 -6
  547. package/lib/utils/api/image-api.d.ts +1 -1
  548. package/lib/utils/api/image-api.js +5 -6
  549. package/lib/utils/api/image-by-name-api.d.ts +1 -1
  550. package/lib/utils/api/image-by-name-api.js +5 -6
  551. package/lib/utils/api/index.d.ts +66 -0
  552. package/lib/utils/api/index.js +61 -0
  553. package/lib/utils/api/instant-mix-api.d.ts +1 -1
  554. package/lib/utils/api/instant-mix-api.js +5 -6
  555. package/lib/utils/api/item-lookup-api.d.ts +1 -1
  556. package/lib/utils/api/item-lookup-api.js +5 -6
  557. package/lib/utils/api/item-refresh-api.d.ts +1 -1
  558. package/lib/utils/api/item-refresh-api.js +5 -6
  559. package/lib/utils/api/item-update-api.d.ts +1 -1
  560. package/lib/utils/api/item-update-api.js +5 -6
  561. package/lib/utils/api/items-api.d.ts +1 -1
  562. package/lib/utils/api/items-api.js +5 -6
  563. package/lib/utils/api/library-api.d.ts +1 -1
  564. package/lib/utils/api/library-api.js +5 -6
  565. package/lib/utils/api/library-structure-api.d.ts +1 -1
  566. package/lib/utils/api/library-structure-api.js +5 -6
  567. package/lib/utils/api/live-tv-api.d.ts +1 -1
  568. package/lib/utils/api/live-tv-api.js +5 -6
  569. package/lib/utils/api/localization-api.d.ts +1 -1
  570. package/lib/utils/api/localization-api.js +5 -6
  571. package/lib/utils/api/media-info-api.d.ts +1 -1
  572. package/lib/utils/api/media-info-api.js +5 -6
  573. package/lib/utils/api/movies-api.d.ts +1 -1
  574. package/lib/utils/api/movies-api.js +5 -6
  575. package/lib/utils/api/music-genres-api.d.ts +1 -1
  576. package/lib/utils/api/music-genres-api.js +5 -6
  577. package/lib/utils/api/notifications-api.d.ts +1 -1
  578. package/lib/utils/api/notifications-api.js +5 -6
  579. package/lib/utils/api/package-api.d.ts +1 -1
  580. package/lib/utils/api/package-api.js +5 -6
  581. package/lib/utils/api/persons-api.d.ts +1 -1
  582. package/lib/utils/api/persons-api.js +5 -6
  583. package/lib/utils/api/playlists-api.d.ts +1 -1
  584. package/lib/utils/api/playlists-api.js +5 -6
  585. package/lib/utils/api/playstate-api.d.ts +1 -1
  586. package/lib/utils/api/playstate-api.js +5 -6
  587. package/lib/utils/api/plugins-api.d.ts +1 -1
  588. package/lib/utils/api/plugins-api.js +5 -6
  589. package/lib/utils/api/quick-connect-api.d.ts +1 -1
  590. package/lib/utils/api/quick-connect-api.js +5 -6
  591. package/lib/utils/api/remote-image-api.d.ts +1 -1
  592. package/lib/utils/api/remote-image-api.js +5 -6
  593. package/lib/utils/api/scheduled-tasks-api.d.ts +1 -1
  594. package/lib/utils/api/scheduled-tasks-api.js +5 -6
  595. package/lib/utils/api/search-api.d.ts +1 -1
  596. package/lib/utils/api/search-api.js +5 -6
  597. package/lib/utils/api/session-api.d.ts +1 -1
  598. package/lib/utils/api/session-api.js +5 -6
  599. package/lib/utils/api/startup-api.d.ts +1 -1
  600. package/lib/utils/api/startup-api.js +5 -6
  601. package/lib/utils/api/studios-api.d.ts +1 -1
  602. package/lib/utils/api/studios-api.js +5 -6
  603. package/lib/utils/api/subtitle-api.d.ts +1 -1
  604. package/lib/utils/api/subtitle-api.js +5 -6
  605. package/lib/utils/api/suggestions-api.d.ts +1 -1
  606. package/lib/utils/api/suggestions-api.js +5 -6
  607. package/lib/utils/api/sync-play-api.d.ts +1 -1
  608. package/lib/utils/api/sync-play-api.js +5 -6
  609. package/lib/utils/api/system-api.d.ts +1 -1
  610. package/lib/utils/api/system-api.js +5 -6
  611. package/lib/utils/api/time-sync-api.d.ts +1 -1
  612. package/lib/utils/api/time-sync-api.js +5 -6
  613. package/lib/utils/api/tmdb-api.d.ts +1 -1
  614. package/lib/utils/api/tmdb-api.js +5 -6
  615. package/lib/utils/api/trailers-api.d.ts +1 -1
  616. package/lib/utils/api/trailers-api.js +5 -6
  617. package/lib/utils/api/tv-shows-api.d.ts +1 -1
  618. package/lib/utils/api/tv-shows-api.js +5 -6
  619. package/lib/utils/api/universal-audio-api.d.ts +1 -1
  620. package/lib/utils/api/universal-audio-api.js +5 -6
  621. package/lib/utils/api/user-api.d.ts +1 -1
  622. package/lib/utils/api/user-api.js +5 -6
  623. package/lib/utils/api/user-library-api.d.ts +1 -1
  624. package/lib/utils/api/user-library-api.js +5 -6
  625. package/lib/utils/api/user-views-api.d.ts +1 -1
  626. package/lib/utils/api/user-views-api.js +5 -6
  627. package/lib/utils/api/video-attachments-api.d.ts +1 -1
  628. package/lib/utils/api/video-attachments-api.js +5 -6
  629. package/lib/utils/api/videos-api.d.ts +1 -1
  630. package/lib/utils/api/videos-api.js +5 -6
  631. package/lib/utils/api/years-api.d.ts +1 -1
  632. package/lib/utils/api/years-api.js +5 -6
  633. package/lib/utils/authentication.d.ts +1 -1
  634. package/lib/utils/authentication.js +8 -11
  635. package/lib/utils/browser-profiles.d.ts +1 -1
  636. package/lib/utils/browser-profiles.js +11 -12
  637. package/lib/utils/index.js +6 -20
  638. package/lib/utils/url/constants.d.ts +13 -0
  639. package/lib/utils/url/constants.js +15 -0
  640. package/lib/utils/{url.d.ts → url/index.d.ts} +2 -8
  641. package/lib/utils/url/index.js +41 -0
  642. package/lib/utils/{normalize-url.js → url/normalize-url.js} +16 -16
  643. package/lib/{models/api/image-request-parameters.js → versions.d.ts} +4 -2
  644. package/lib/{models/client-info.js → versions.js} +6 -2
  645. package/package.json +21 -17
  646. package/.gitattributes +0 -5
  647. package/lib/generated-client/api.js +0 -89
  648. package/lib/generated-client/models/access-schedule.js +0 -14
  649. package/lib/generated-client/models/activity-log-entry-query-result.js +0 -14
  650. package/lib/generated-client/models/activity-log-entry.js +0 -14
  651. package/lib/generated-client/models/add-virtual-folder-dto.js +0 -14
  652. package/lib/generated-client/models/admin-notification-dto.js +0 -14
  653. package/lib/generated-client/models/album-info-remote-search-query.js +0 -14
  654. package/lib/generated-client/models/album-info.js +0 -14
  655. package/lib/generated-client/models/all-theme-media-result.js +0 -14
  656. package/lib/generated-client/models/artist-info-remote-search-query.js +0 -14
  657. package/lib/generated-client/models/artist-info.js +0 -14
  658. package/lib/generated-client/models/authenticate-user-by-name.js +0 -14
  659. package/lib/generated-client/models/authentication-info-query-result.js +0 -14
  660. package/lib/generated-client/models/authentication-info.js +0 -14
  661. package/lib/generated-client/models/authentication-result.js +0 -14
  662. package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +0 -14
  663. package/lib/generated-client/models/base-item-dto-query-result.js +0 -14
  664. package/lib/generated-client/models/base-item-dto.js +0 -14
  665. package/lib/generated-client/models/base-item-person-image-blur-hashes.js +0 -14
  666. package/lib/generated-client/models/base-item-person.js +0 -14
  667. package/lib/generated-client/models/base-item.js +0 -14
  668. package/lib/generated-client/models/book-info-remote-search-query.js +0 -14
  669. package/lib/generated-client/models/book-info.js +0 -14
  670. package/lib/generated-client/models/box-set-info-remote-search-query.js +0 -14
  671. package/lib/generated-client/models/box-set-info.js +0 -14
  672. package/lib/generated-client/models/branding-options.js +0 -14
  673. package/lib/generated-client/models/buffer-request-dto.js +0 -14
  674. package/lib/generated-client/models/channel-features.js +0 -14
  675. package/lib/generated-client/models/channel-mapping-options-dto.js +0 -14
  676. package/lib/generated-client/models/chapter-info.js +0 -14
  677. package/lib/generated-client/models/client-capabilities-dto.js +0 -14
  678. package/lib/generated-client/models/client-capabilities.js +0 -14
  679. package/lib/generated-client/models/client-log-document-response-dto.js +0 -14
  680. package/lib/generated-client/models/codec-profile.js +0 -14
  681. package/lib/generated-client/models/collection-creation-result.js +0 -14
  682. package/lib/generated-client/models/config-image-types.js +0 -14
  683. package/lib/generated-client/models/configuration-page-info.js +0 -14
  684. package/lib/generated-client/models/container-profile.js +0 -14
  685. package/lib/generated-client/models/control-response.js +0 -14
  686. package/lib/generated-client/models/country-info.js +0 -14
  687. package/lib/generated-client/models/create-playlist-dto.js +0 -14
  688. package/lib/generated-client/models/create-user-by-name.js +0 -14
  689. package/lib/generated-client/models/culture-dto.js +0 -14
  690. package/lib/generated-client/models/default-directory-browser-info-dto.js +0 -14
  691. package/lib/generated-client/models/device-identification.js +0 -14
  692. package/lib/generated-client/models/device-info-query-result.js +0 -14
  693. package/lib/generated-client/models/device-info.js +0 -14
  694. package/lib/generated-client/models/device-options-dto.js +0 -14
  695. package/lib/generated-client/models/device-options.js +0 -14
  696. package/lib/generated-client/models/device-profile-info.js +0 -14
  697. package/lib/generated-client/models/device-profile.js +0 -14
  698. package/lib/generated-client/models/direct-play-profile.js +0 -14
  699. package/lib/generated-client/models/display-preferences-dto.js +0 -14
  700. package/lib/generated-client/models/dlna-options.js +0 -14
  701. package/lib/generated-client/models/encoding-options.js +0 -14
  702. package/lib/generated-client/models/end-point-info.js +0 -14
  703. package/lib/generated-client/models/external-id-info.js +0 -14
  704. package/lib/generated-client/models/external-url.js +0 -14
  705. package/lib/generated-client/models/file-system-entry-info.js +0 -14
  706. package/lib/generated-client/models/font-file.js +0 -14
  707. package/lib/generated-client/models/forgot-password-dto.js +0 -14
  708. package/lib/generated-client/models/forgot-password-pin-dto.js +0 -14
  709. package/lib/generated-client/models/forgot-password-result.js +0 -14
  710. package/lib/generated-client/models/general-command.js +0 -14
  711. package/lib/generated-client/models/get-programs-dto.js +0 -14
  712. package/lib/generated-client/models/group-info-dto.js +0 -14
  713. package/lib/generated-client/models/guide-info.js +0 -14
  714. package/lib/generated-client/models/http-header-info.js +0 -14
  715. package/lib/generated-client/models/ignore-wait-request-dto.js +0 -14
  716. package/lib/generated-client/models/image-by-name-info.js +0 -14
  717. package/lib/generated-client/models/image-info.js +0 -14
  718. package/lib/generated-client/models/image-option.js +0 -14
  719. package/lib/generated-client/models/image-provider-info.js +0 -14
  720. package/lib/generated-client/models/installation-info.js +0 -14
  721. package/lib/generated-client/models/iplugin.js +0 -14
  722. package/lib/generated-client/models/item-counts.js +0 -14
  723. package/lib/generated-client/models/join-group-request-dto.js +0 -14
  724. package/lib/generated-client/models/library-option-info-dto.js +0 -14
  725. package/lib/generated-client/models/library-options-result-dto.js +0 -14
  726. package/lib/generated-client/models/library-options.js +0 -14
  727. package/lib/generated-client/models/library-type-options-dto.js +0 -14
  728. package/lib/generated-client/models/library-update-info.js +0 -14
  729. package/lib/generated-client/models/listings-provider-info.js +0 -14
  730. package/lib/generated-client/models/live-stream-response.js +0 -14
  731. package/lib/generated-client/models/live-tv-info.js +0 -14
  732. package/lib/generated-client/models/live-tv-options.js +0 -14
  733. package/lib/generated-client/models/live-tv-service-info.js +0 -14
  734. package/lib/generated-client/models/localization-option.js +0 -14
  735. package/lib/generated-client/models/log-file.js +0 -14
  736. package/lib/generated-client/models/media-attachment.js +0 -14
  737. package/lib/generated-client/models/media-encoder-path-dto.js +0 -14
  738. package/lib/generated-client/models/media-path-dto.js +0 -14
  739. package/lib/generated-client/models/media-path-info.js +0 -14
  740. package/lib/generated-client/models/media-source-info.js +0 -14
  741. package/lib/generated-client/models/media-stream.js +0 -14
  742. package/lib/generated-client/models/media-update-info-dto.js +0 -14
  743. package/lib/generated-client/models/media-update-info-path-dto.js +0 -14
  744. package/lib/generated-client/models/media-url.js +0 -14
  745. package/lib/generated-client/models/message-command.js +0 -14
  746. package/lib/generated-client/models/metadata-configuration.js +0 -14
  747. package/lib/generated-client/models/metadata-editor-info.js +0 -14
  748. package/lib/generated-client/models/metadata-options.js +0 -14
  749. package/lib/generated-client/models/move-playlist-item-request-dto.js +0 -14
  750. package/lib/generated-client/models/movie-info-remote-search-query.js +0 -14
  751. package/lib/generated-client/models/movie-info.js +0 -14
  752. package/lib/generated-client/models/music-video-info-remote-search-query.js +0 -14
  753. package/lib/generated-client/models/music-video-info.js +0 -14
  754. package/lib/generated-client/models/name-guid-pair.js +0 -14
  755. package/lib/generated-client/models/name-id-pair.js +0 -14
  756. package/lib/generated-client/models/name-value-pair.js +0 -14
  757. package/lib/generated-client/models/network-configuration.js +0 -14
  758. package/lib/generated-client/models/new-group-request-dto.js +0 -14
  759. package/lib/generated-client/models/next-item-request-dto.js +0 -14
  760. package/lib/generated-client/models/notification-dto.js +0 -14
  761. package/lib/generated-client/models/notification-option.js +0 -14
  762. package/lib/generated-client/models/notification-options.js +0 -14
  763. package/lib/generated-client/models/notification-result-dto.js +0 -14
  764. package/lib/generated-client/models/notification-type-info.js +0 -14
  765. package/lib/generated-client/models/notifications-summary-dto.js +0 -14
  766. package/lib/generated-client/models/object-group-update.js +0 -14
  767. package/lib/generated-client/models/open-live-stream-dto.js +0 -14
  768. package/lib/generated-client/models/package-info.js +0 -14
  769. package/lib/generated-client/models/parental-rating.js +0 -14
  770. package/lib/generated-client/models/path-substitution.js +0 -14
  771. package/lib/generated-client/models/person-lookup-info-remote-search-query.js +0 -14
  772. package/lib/generated-client/models/person-lookup-info.js +0 -14
  773. package/lib/generated-client/models/pin-redeem-result.js +0 -14
  774. package/lib/generated-client/models/ping-request-dto.js +0 -14
  775. package/lib/generated-client/models/play-request-dto.js +0 -14
  776. package/lib/generated-client/models/play-request.js +0 -14
  777. package/lib/generated-client/models/playback-info-dto.js +0 -14
  778. package/lib/generated-client/models/playback-info-response.js +0 -14
  779. package/lib/generated-client/models/playback-progress-info.js +0 -14
  780. package/lib/generated-client/models/playback-start-info.js +0 -14
  781. package/lib/generated-client/models/playback-stop-info.js +0 -14
  782. package/lib/generated-client/models/player-state-info.js +0 -14
  783. package/lib/generated-client/models/playlist-creation-result.js +0 -14
  784. package/lib/generated-client/models/playstate-request.js +0 -14
  785. package/lib/generated-client/models/plugin-info.js +0 -14
  786. package/lib/generated-client/models/previous-item-request-dto.js +0 -14
  787. package/lib/generated-client/models/problem-details.js +0 -14
  788. package/lib/generated-client/models/profile-condition.js +0 -14
  789. package/lib/generated-client/models/public-system-info.js +0 -14
  790. package/lib/generated-client/models/query-filters-legacy.js +0 -14
  791. package/lib/generated-client/models/query-filters.js +0 -14
  792. package/lib/generated-client/models/queue-item.js +0 -14
  793. package/lib/generated-client/models/queue-request-dto.js +0 -14
  794. package/lib/generated-client/models/quick-connect-dto.js +0 -14
  795. package/lib/generated-client/models/quick-connect-result.js +0 -14
  796. package/lib/generated-client/models/ready-request-dto.js +0 -14
  797. package/lib/generated-client/models/recommendation-dto.js +0 -14
  798. package/lib/generated-client/models/remote-image-info.js +0 -14
  799. package/lib/generated-client/models/remote-image-result.js +0 -14
  800. package/lib/generated-client/models/remote-search-result.js +0 -14
  801. package/lib/generated-client/models/remote-subtitle-info.js +0 -14
  802. package/lib/generated-client/models/remove-from-playlist-request-dto.js +0 -14
  803. package/lib/generated-client/models/repository-info.js +0 -14
  804. package/lib/generated-client/models/response-profile.js +0 -14
  805. package/lib/generated-client/models/search-hint-result.js +0 -14
  806. package/lib/generated-client/models/search-hint.js +0 -14
  807. package/lib/generated-client/models/seek-request-dto.js +0 -14
  808. package/lib/generated-client/models/send-command.js +0 -14
  809. package/lib/generated-client/models/series-info-remote-search-query.js +0 -14
  810. package/lib/generated-client/models/series-info.js +0 -14
  811. package/lib/generated-client/models/series-timer-info-dto-query-result.js +0 -14
  812. package/lib/generated-client/models/series-timer-info-dto.js +0 -14
  813. package/lib/generated-client/models/server-configuration.js +0 -14
  814. package/lib/generated-client/models/server-discovery-info.js +0 -14
  815. package/lib/generated-client/models/session-info.js +0 -14
  816. package/lib/generated-client/models/session-user-info.js +0 -14
  817. package/lib/generated-client/models/set-channel-mapping-dto.js +0 -14
  818. package/lib/generated-client/models/set-playlist-item-request-dto.js +0 -14
  819. package/lib/generated-client/models/set-repeat-mode-request-dto.js +0 -14
  820. package/lib/generated-client/models/set-shuffle-mode-request-dto.js +0 -14
  821. package/lib/generated-client/models/song-info.js +0 -14
  822. package/lib/generated-client/models/special-view-option-dto.js +0 -14
  823. package/lib/generated-client/models/startup-configuration-dto.js +0 -14
  824. package/lib/generated-client/models/startup-remote-access-dto.js +0 -14
  825. package/lib/generated-client/models/startup-user-dto.js +0 -14
  826. package/lib/generated-client/models/subtitle-options.js +0 -14
  827. package/lib/generated-client/models/subtitle-profile.js +0 -14
  828. package/lib/generated-client/models/system-info.js +0 -14
  829. package/lib/generated-client/models/task-info.js +0 -14
  830. package/lib/generated-client/models/task-result.js +0 -14
  831. package/lib/generated-client/models/task-trigger-info.js +0 -14
  832. package/lib/generated-client/models/theme-media-result.js +0 -14
  833. package/lib/generated-client/models/timer-event-info.js +0 -14
  834. package/lib/generated-client/models/timer-info-dto-query-result.js +0 -14
  835. package/lib/generated-client/models/timer-info-dto.js +0 -14
  836. package/lib/generated-client/models/trailer-info-remote-search-query.js +0 -14
  837. package/lib/generated-client/models/trailer-info.js +0 -14
  838. package/lib/generated-client/models/transcoding-info.js +0 -47
  839. package/lib/generated-client/models/transcoding-profile.js +0 -14
  840. package/lib/generated-client/models/tuner-channel-mapping.js +0 -14
  841. package/lib/generated-client/models/tuner-host-info.js +0 -14
  842. package/lib/generated-client/models/type-options.js +0 -14
  843. package/lib/generated-client/models/update-library-options-dto.js +0 -14
  844. package/lib/generated-client/models/update-media-path-request-dto.js +0 -14
  845. package/lib/generated-client/models/update-user-easy-password.js +0 -14
  846. package/lib/generated-client/models/update-user-password.js +0 -14
  847. package/lib/generated-client/models/upload-subtitle-dto.js +0 -14
  848. package/lib/generated-client/models/user-configuration.js +0 -14
  849. package/lib/generated-client/models/user-dto.js +0 -14
  850. package/lib/generated-client/models/user-item-data-dto.js +0 -14
  851. package/lib/generated-client/models/user-policy.js +0 -14
  852. package/lib/generated-client/models/utc-time-response.js +0 -14
  853. package/lib/generated-client/models/validate-path-dto.js +0 -14
  854. package/lib/generated-client/models/version-info.js +0 -14
  855. package/lib/generated-client/models/virtual-folder-info.js +0 -14
  856. package/lib/generated-client/models/wake-on-lan-info.js +0 -14
  857. package/lib/generated-client/models/xbmc-metadata-options.js +0 -14
  858. package/lib/generated-client/models/xml-attribute.js +0 -14
  859. package/lib/models/device-info.js +0 -7
  860. package/lib/utils/url.js +0 -54
  861. package/openapi-templates/licenseInfo.mustache +0 -10
  862. package/tsconfig.json +0 -25
  863. /package/lib/utils/{normalize-url.d.ts → url/normalize-url.d.ts} +0 -0
@@ -1,95 +1,14 @@
1
- "use strict";
1
+ import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
+ import globalAxios from 'axios';
3
+ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
+ import { BaseAPI, BASE_PATH } from '../base.js';
5
+
2
6
  /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6
- * Do not edit the class manually.
7
- *
8
- * Jellyfin API
9
- *
10
- * This Source Code Form is subject to the terms of the Mozilla Public
11
- * License, v. 2.0. If a copy of the MPL was not distributed with this
12
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13
- */
14
- var __extends = (this && this.__extends) || (function () {
15
- var extendStatics = function (d, b) {
16
- extendStatics = Object.setPrototypeOf ||
17
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
- return extendStatics(d, b);
20
- };
21
- return function (d, b) {
22
- if (typeof b !== "function" && b !== null)
23
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
- extendStatics(d, b);
25
- function __() { this.constructor = d; }
26
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
- };
28
- })();
29
- var __assign = (this && this.__assign) || function () {
30
- __assign = Object.assign || function(t) {
31
- for (var s, i = 1, n = arguments.length; i < n; i++) {
32
- s = arguments[i];
33
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
- t[p] = s[p];
35
- }
36
- return t;
37
- };
38
- return __assign.apply(this, arguments);
39
- };
40
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
- return new (P || (P = Promise))(function (resolve, reject) {
43
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
- step((generator = generator.apply(thisArg, _arguments || [])).next());
47
- });
48
- };
49
- var __generator = (this && this.__generator) || function (thisArg, body) {
50
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
51
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
52
- function verb(n) { return function (v) { return step([n, v]); }; }
53
- function step(op) {
54
- if (f) throw new TypeError("Generator is already executing.");
55
- while (_) try {
56
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
57
- if (y = 0, t) op = [op[0] & 2, t.value];
58
- switch (op[0]) {
59
- case 0: case 1: t = op; break;
60
- case 4: _.label++; return { value: op[1], done: false };
61
- case 5: _.label++; y = op[1]; op = [0]; continue;
62
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
63
- default:
64
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
65
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
66
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
67
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
68
- if (t[2]) _.ops.pop();
69
- _.trys.pop(); continue;
70
- }
71
- op = body.call(thisArg, _);
72
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
73
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
74
- }
75
- };
76
- var __importDefault = (this && this.__importDefault) || function (mod) {
77
- return (mod && mod.__esModule) ? mod : { "default": mod };
78
- };
79
- Object.defineProperty(exports, "__esModule", { value: true });
80
- exports.DynamicHlsApi = exports.DynamicHlsApiFactory = exports.DynamicHlsApiFp = exports.DynamicHlsApiAxiosParamCreator = void 0;
81
- var axios_1 = __importDefault(require("axios"));
82
- // Some imports not used depending on template conditions
83
- // @ts-ignore
84
- var common_1 = require("../common");
85
- // @ts-ignore
86
- var base_1 = require("../base");
87
7
  /**
88
8
  * DynamicHlsApi - axios parameter creator
89
9
  * @export
90
10
  */
91
- var DynamicHlsApiAxiosParamCreator = function (configuration) {
92
- var _this = this;
11
+ const DynamicHlsApiAxiosParamCreator = function (configuration) {
93
12
  return {
94
13
  /**
95
14
  *
@@ -151,203 +70,193 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
151
70
  * @param {*} [options] Override http request option.
152
71
  * @throws {RequiredError}
153
72
  */
154
- getHlsAudioSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
155
- if (options === void 0) { options = {}; }
156
- return __awaiter(_this, void 0, void 0, function () {
157
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
158
- return __generator(this, function (_a) {
159
- switch (_a.label) {
160
- case 0:
161
- // verify required parameter 'itemId' is not null or undefined
162
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'itemId', itemId);
163
- // verify required parameter 'playlistId' is not null or undefined
164
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'playlistId', playlistId);
165
- // verify required parameter 'segmentId' is not null or undefined
166
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'segmentId', segmentId);
167
- // verify required parameter 'container' is not null or undefined
168
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'container', container);
169
- // verify required parameter 'runtimeTicks' is not null or undefined
170
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'runtimeTicks', runtimeTicks);
171
- // verify required parameter 'actualSegmentLengthTicks' is not null or undefined
172
- (0, common_1.assertParamExists)('getHlsAudioSegment', 'actualSegmentLengthTicks', actualSegmentLengthTicks);
173
- localVarPath = "/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}"
174
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)))
175
- .replace("{".concat("playlistId", "}"), encodeURIComponent(String(playlistId)))
176
- .replace("{".concat("segmentId", "}"), encodeURIComponent(String(segmentId)))
177
- .replace("{".concat("container", "}"), encodeURIComponent(String(container)));
178
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
179
- if (configuration) {
180
- baseOptions = configuration.baseOptions;
181
- }
182
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
183
- localVarHeaderParameter = {};
184
- localVarQueryParameter = {};
185
- // authentication CustomAuthentication required
186
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
187
- case 1:
188
- // authentication CustomAuthentication required
189
- _a.sent();
190
- if (runtimeTicks !== undefined) {
191
- localVarQueryParameter['runtimeTicks'] = runtimeTicks;
192
- }
193
- if (actualSegmentLengthTicks !== undefined) {
194
- localVarQueryParameter['actualSegmentLengthTicks'] = actualSegmentLengthTicks;
195
- }
196
- if (_static !== undefined) {
197
- localVarQueryParameter['static'] = _static;
198
- }
199
- if (params !== undefined) {
200
- localVarQueryParameter['params'] = params;
201
- }
202
- if (tag !== undefined) {
203
- localVarQueryParameter['tag'] = tag;
204
- }
205
- if (deviceProfileId !== undefined) {
206
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
207
- }
208
- if (playSessionId !== undefined) {
209
- localVarQueryParameter['playSessionId'] = playSessionId;
210
- }
211
- if (segmentContainer !== undefined) {
212
- localVarQueryParameter['segmentContainer'] = segmentContainer;
213
- }
214
- if (segmentLength !== undefined) {
215
- localVarQueryParameter['segmentLength'] = segmentLength;
216
- }
217
- if (minSegments !== undefined) {
218
- localVarQueryParameter['minSegments'] = minSegments;
219
- }
220
- if (mediaSourceId !== undefined) {
221
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
222
- }
223
- if (deviceId !== undefined) {
224
- localVarQueryParameter['deviceId'] = deviceId;
225
- }
226
- if (audioCodec !== undefined) {
227
- localVarQueryParameter['audioCodec'] = audioCodec;
228
- }
229
- if (enableAutoStreamCopy !== undefined) {
230
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
231
- }
232
- if (allowVideoStreamCopy !== undefined) {
233
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
234
- }
235
- if (allowAudioStreamCopy !== undefined) {
236
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
237
- }
238
- if (breakOnNonKeyFrames !== undefined) {
239
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
240
- }
241
- if (audioSampleRate !== undefined) {
242
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
243
- }
244
- if (maxAudioBitDepth !== undefined) {
245
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
246
- }
247
- if (maxStreamingBitrate !== undefined) {
248
- localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
249
- }
250
- if (audioBitRate !== undefined) {
251
- localVarQueryParameter['audioBitRate'] = audioBitRate;
252
- }
253
- if (audioChannels !== undefined) {
254
- localVarQueryParameter['audioChannels'] = audioChannels;
255
- }
256
- if (maxAudioChannels !== undefined) {
257
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
258
- }
259
- if (profile !== undefined) {
260
- localVarQueryParameter['profile'] = profile;
261
- }
262
- if (level !== undefined) {
263
- localVarQueryParameter['level'] = level;
264
- }
265
- if (framerate !== undefined) {
266
- localVarQueryParameter['framerate'] = framerate;
267
- }
268
- if (maxFramerate !== undefined) {
269
- localVarQueryParameter['maxFramerate'] = maxFramerate;
270
- }
271
- if (copyTimestamps !== undefined) {
272
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
273
- }
274
- if (startTimeTicks !== undefined) {
275
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
276
- }
277
- if (width !== undefined) {
278
- localVarQueryParameter['width'] = width;
279
- }
280
- if (height !== undefined) {
281
- localVarQueryParameter['height'] = height;
282
- }
283
- if (videoBitRate !== undefined) {
284
- localVarQueryParameter['videoBitRate'] = videoBitRate;
285
- }
286
- if (subtitleStreamIndex !== undefined) {
287
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
288
- }
289
- if (subtitleMethod !== undefined) {
290
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
291
- }
292
- if (maxRefFrames !== undefined) {
293
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
294
- }
295
- if (maxVideoBitDepth !== undefined) {
296
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
297
- }
298
- if (requireAvc !== undefined) {
299
- localVarQueryParameter['requireAvc'] = requireAvc;
300
- }
301
- if (deInterlace !== undefined) {
302
- localVarQueryParameter['deInterlace'] = deInterlace;
303
- }
304
- if (requireNonAnamorphic !== undefined) {
305
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
306
- }
307
- if (transcodingMaxAudioChannels !== undefined) {
308
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
309
- }
310
- if (cpuCoreLimit !== undefined) {
311
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
312
- }
313
- if (liveStreamId !== undefined) {
314
- localVarQueryParameter['liveStreamId'] = liveStreamId;
315
- }
316
- if (enableMpegtsM2TsMode !== undefined) {
317
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
318
- }
319
- if (videoCodec !== undefined) {
320
- localVarQueryParameter['videoCodec'] = videoCodec;
321
- }
322
- if (subtitleCodec !== undefined) {
323
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
324
- }
325
- if (transcodeReasons !== undefined) {
326
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
327
- }
328
- if (audioStreamIndex !== undefined) {
329
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
330
- }
331
- if (videoStreamIndex !== undefined) {
332
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
333
- }
334
- if (context !== undefined) {
335
- localVarQueryParameter['context'] = context;
336
- }
337
- if (streamOptions !== undefined) {
338
- localVarQueryParameter['streamOptions'] = streamOptions;
339
- }
340
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
341
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
342
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
343
- return [2 /*return*/, {
344
- url: (0, common_1.toPathString)(localVarUrlObj),
345
- options: localVarRequestOptions,
346
- }];
347
- }
348
- });
349
- });
350
- },
73
+ getHlsAudioSegment: (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => __awaiter(this, void 0, void 0, function* () {
74
+ // verify required parameter 'itemId' is not null or undefined
75
+ assertParamExists('getHlsAudioSegment', 'itemId', itemId);
76
+ // verify required parameter 'playlistId' is not null or undefined
77
+ assertParamExists('getHlsAudioSegment', 'playlistId', playlistId);
78
+ // verify required parameter 'segmentId' is not null or undefined
79
+ assertParamExists('getHlsAudioSegment', 'segmentId', segmentId);
80
+ // verify required parameter 'container' is not null or undefined
81
+ assertParamExists('getHlsAudioSegment', 'container', container);
82
+ // verify required parameter 'runtimeTicks' is not null or undefined
83
+ assertParamExists('getHlsAudioSegment', 'runtimeTicks', runtimeTicks);
84
+ // verify required parameter 'actualSegmentLengthTicks' is not null or undefined
85
+ assertParamExists('getHlsAudioSegment', 'actualSegmentLengthTicks', actualSegmentLengthTicks);
86
+ const localVarPath = `/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}`
87
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)))
88
+ .replace(`{${"playlistId"}}`, encodeURIComponent(String(playlistId)))
89
+ .replace(`{${"segmentId"}}`, encodeURIComponent(String(segmentId)))
90
+ .replace(`{${"container"}}`, encodeURIComponent(String(container)));
91
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
92
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
93
+ let baseOptions;
94
+ if (configuration) {
95
+ baseOptions = configuration.baseOptions;
96
+ }
97
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
98
+ const localVarHeaderParameter = {};
99
+ const localVarQueryParameter = {};
100
+ // authentication CustomAuthentication required
101
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
102
+ if (runtimeTicks !== undefined) {
103
+ localVarQueryParameter['runtimeTicks'] = runtimeTicks;
104
+ }
105
+ if (actualSegmentLengthTicks !== undefined) {
106
+ localVarQueryParameter['actualSegmentLengthTicks'] = actualSegmentLengthTicks;
107
+ }
108
+ if (_static !== undefined) {
109
+ localVarQueryParameter['static'] = _static;
110
+ }
111
+ if (params !== undefined) {
112
+ localVarQueryParameter['params'] = params;
113
+ }
114
+ if (tag !== undefined) {
115
+ localVarQueryParameter['tag'] = tag;
116
+ }
117
+ if (deviceProfileId !== undefined) {
118
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
119
+ }
120
+ if (playSessionId !== undefined) {
121
+ localVarQueryParameter['playSessionId'] = playSessionId;
122
+ }
123
+ if (segmentContainer !== undefined) {
124
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
125
+ }
126
+ if (segmentLength !== undefined) {
127
+ localVarQueryParameter['segmentLength'] = segmentLength;
128
+ }
129
+ if (minSegments !== undefined) {
130
+ localVarQueryParameter['minSegments'] = minSegments;
131
+ }
132
+ if (mediaSourceId !== undefined) {
133
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
134
+ }
135
+ if (deviceId !== undefined) {
136
+ localVarQueryParameter['deviceId'] = deviceId;
137
+ }
138
+ if (audioCodec !== undefined) {
139
+ localVarQueryParameter['audioCodec'] = audioCodec;
140
+ }
141
+ if (enableAutoStreamCopy !== undefined) {
142
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
143
+ }
144
+ if (allowVideoStreamCopy !== undefined) {
145
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
146
+ }
147
+ if (allowAudioStreamCopy !== undefined) {
148
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
149
+ }
150
+ if (breakOnNonKeyFrames !== undefined) {
151
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
152
+ }
153
+ if (audioSampleRate !== undefined) {
154
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
155
+ }
156
+ if (maxAudioBitDepth !== undefined) {
157
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
158
+ }
159
+ if (maxStreamingBitrate !== undefined) {
160
+ localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
161
+ }
162
+ if (audioBitRate !== undefined) {
163
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
164
+ }
165
+ if (audioChannels !== undefined) {
166
+ localVarQueryParameter['audioChannels'] = audioChannels;
167
+ }
168
+ if (maxAudioChannels !== undefined) {
169
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
170
+ }
171
+ if (profile !== undefined) {
172
+ localVarQueryParameter['profile'] = profile;
173
+ }
174
+ if (level !== undefined) {
175
+ localVarQueryParameter['level'] = level;
176
+ }
177
+ if (framerate !== undefined) {
178
+ localVarQueryParameter['framerate'] = framerate;
179
+ }
180
+ if (maxFramerate !== undefined) {
181
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
182
+ }
183
+ if (copyTimestamps !== undefined) {
184
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
185
+ }
186
+ if (startTimeTicks !== undefined) {
187
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
188
+ }
189
+ if (width !== undefined) {
190
+ localVarQueryParameter['width'] = width;
191
+ }
192
+ if (height !== undefined) {
193
+ localVarQueryParameter['height'] = height;
194
+ }
195
+ if (videoBitRate !== undefined) {
196
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
197
+ }
198
+ if (subtitleStreamIndex !== undefined) {
199
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
200
+ }
201
+ if (subtitleMethod !== undefined) {
202
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
203
+ }
204
+ if (maxRefFrames !== undefined) {
205
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
206
+ }
207
+ if (maxVideoBitDepth !== undefined) {
208
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
209
+ }
210
+ if (requireAvc !== undefined) {
211
+ localVarQueryParameter['requireAvc'] = requireAvc;
212
+ }
213
+ if (deInterlace !== undefined) {
214
+ localVarQueryParameter['deInterlace'] = deInterlace;
215
+ }
216
+ if (requireNonAnamorphic !== undefined) {
217
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
218
+ }
219
+ if (transcodingMaxAudioChannels !== undefined) {
220
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
221
+ }
222
+ if (cpuCoreLimit !== undefined) {
223
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
224
+ }
225
+ if (liveStreamId !== undefined) {
226
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
227
+ }
228
+ if (enableMpegtsM2TsMode !== undefined) {
229
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
230
+ }
231
+ if (videoCodec !== undefined) {
232
+ localVarQueryParameter['videoCodec'] = videoCodec;
233
+ }
234
+ if (subtitleCodec !== undefined) {
235
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
236
+ }
237
+ if (transcodeReasons !== undefined) {
238
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
239
+ }
240
+ if (audioStreamIndex !== undefined) {
241
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
242
+ }
243
+ if (videoStreamIndex !== undefined) {
244
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
245
+ }
246
+ if (context !== undefined) {
247
+ localVarQueryParameter['context'] = context;
248
+ }
249
+ if (streamOptions !== undefined) {
250
+ localVarQueryParameter['streamOptions'] = streamOptions;
251
+ }
252
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
255
+ return {
256
+ url: toPathString(localVarUrlObj),
257
+ options: localVarRequestOptions,
258
+ };
259
+ }),
351
260
  /**
352
261
  *
353
262
  * @summary Gets a video stream using HTTP live streaming.
@@ -409,206 +318,196 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
409
318
  * @param {*} [options] Override http request option.
410
319
  * @throws {RequiredError}
411
320
  */
412
- getHlsVideoSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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) {
413
- if (options === void 0) { options = {}; }
414
- return __awaiter(_this, void 0, void 0, function () {
415
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
416
- return __generator(this, function (_a) {
417
- switch (_a.label) {
418
- case 0:
419
- // verify required parameter 'itemId' is not null or undefined
420
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'itemId', itemId);
421
- // verify required parameter 'playlistId' is not null or undefined
422
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'playlistId', playlistId);
423
- // verify required parameter 'segmentId' is not null or undefined
424
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'segmentId', segmentId);
425
- // verify required parameter 'container' is not null or undefined
426
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'container', container);
427
- // verify required parameter 'runtimeTicks' is not null or undefined
428
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'runtimeTicks', runtimeTicks);
429
- // verify required parameter 'actualSegmentLengthTicks' is not null or undefined
430
- (0, common_1.assertParamExists)('getHlsVideoSegment', 'actualSegmentLengthTicks', actualSegmentLengthTicks);
431
- localVarPath = "/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}"
432
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)))
433
- .replace("{".concat("playlistId", "}"), encodeURIComponent(String(playlistId)))
434
- .replace("{".concat("segmentId", "}"), encodeURIComponent(String(segmentId)))
435
- .replace("{".concat("container", "}"), encodeURIComponent(String(container)));
436
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
437
- if (configuration) {
438
- baseOptions = configuration.baseOptions;
439
- }
440
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
441
- localVarHeaderParameter = {};
442
- localVarQueryParameter = {};
443
- // authentication CustomAuthentication required
444
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
445
- case 1:
446
- // authentication CustomAuthentication required
447
- _a.sent();
448
- if (runtimeTicks !== undefined) {
449
- localVarQueryParameter['runtimeTicks'] = runtimeTicks;
450
- }
451
- if (actualSegmentLengthTicks !== undefined) {
452
- localVarQueryParameter['actualSegmentLengthTicks'] = actualSegmentLengthTicks;
453
- }
454
- if (_static !== undefined) {
455
- localVarQueryParameter['static'] = _static;
456
- }
457
- if (params !== undefined) {
458
- localVarQueryParameter['params'] = params;
459
- }
460
- if (tag !== undefined) {
461
- localVarQueryParameter['tag'] = tag;
462
- }
463
- if (deviceProfileId !== undefined) {
464
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
465
- }
466
- if (playSessionId !== undefined) {
467
- localVarQueryParameter['playSessionId'] = playSessionId;
468
- }
469
- if (segmentContainer !== undefined) {
470
- localVarQueryParameter['segmentContainer'] = segmentContainer;
471
- }
472
- if (segmentLength !== undefined) {
473
- localVarQueryParameter['segmentLength'] = segmentLength;
474
- }
475
- if (minSegments !== undefined) {
476
- localVarQueryParameter['minSegments'] = minSegments;
477
- }
478
- if (mediaSourceId !== undefined) {
479
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
480
- }
481
- if (deviceId !== undefined) {
482
- localVarQueryParameter['deviceId'] = deviceId;
483
- }
484
- if (audioCodec !== undefined) {
485
- localVarQueryParameter['audioCodec'] = audioCodec;
486
- }
487
- if (enableAutoStreamCopy !== undefined) {
488
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
489
- }
490
- if (allowVideoStreamCopy !== undefined) {
491
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
492
- }
493
- if (allowAudioStreamCopy !== undefined) {
494
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
495
- }
496
- if (breakOnNonKeyFrames !== undefined) {
497
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
498
- }
499
- if (audioSampleRate !== undefined) {
500
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
501
- }
502
- if (maxAudioBitDepth !== undefined) {
503
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
504
- }
505
- if (audioBitRate !== undefined) {
506
- localVarQueryParameter['audioBitRate'] = audioBitRate;
507
- }
508
- if (audioChannels !== undefined) {
509
- localVarQueryParameter['audioChannels'] = audioChannels;
510
- }
511
- if (maxAudioChannels !== undefined) {
512
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
513
- }
514
- if (profile !== undefined) {
515
- localVarQueryParameter['profile'] = profile;
516
- }
517
- if (level !== undefined) {
518
- localVarQueryParameter['level'] = level;
519
- }
520
- if (framerate !== undefined) {
521
- localVarQueryParameter['framerate'] = framerate;
522
- }
523
- if (maxFramerate !== undefined) {
524
- localVarQueryParameter['maxFramerate'] = maxFramerate;
525
- }
526
- if (copyTimestamps !== undefined) {
527
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
528
- }
529
- if (startTimeTicks !== undefined) {
530
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
531
- }
532
- if (width !== undefined) {
533
- localVarQueryParameter['width'] = width;
534
- }
535
- if (height !== undefined) {
536
- localVarQueryParameter['height'] = height;
537
- }
538
- if (maxWidth !== undefined) {
539
- localVarQueryParameter['maxWidth'] = maxWidth;
540
- }
541
- if (maxHeight !== undefined) {
542
- localVarQueryParameter['maxHeight'] = maxHeight;
543
- }
544
- if (videoBitRate !== undefined) {
545
- localVarQueryParameter['videoBitRate'] = videoBitRate;
546
- }
547
- if (subtitleStreamIndex !== undefined) {
548
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
549
- }
550
- if (subtitleMethod !== undefined) {
551
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
552
- }
553
- if (maxRefFrames !== undefined) {
554
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
555
- }
556
- if (maxVideoBitDepth !== undefined) {
557
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
558
- }
559
- if (requireAvc !== undefined) {
560
- localVarQueryParameter['requireAvc'] = requireAvc;
561
- }
562
- if (deInterlace !== undefined) {
563
- localVarQueryParameter['deInterlace'] = deInterlace;
564
- }
565
- if (requireNonAnamorphic !== undefined) {
566
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
567
- }
568
- if (transcodingMaxAudioChannels !== undefined) {
569
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
570
- }
571
- if (cpuCoreLimit !== undefined) {
572
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
573
- }
574
- if (liveStreamId !== undefined) {
575
- localVarQueryParameter['liveStreamId'] = liveStreamId;
576
- }
577
- if (enableMpegtsM2TsMode !== undefined) {
578
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
579
- }
580
- if (videoCodec !== undefined) {
581
- localVarQueryParameter['videoCodec'] = videoCodec;
582
- }
583
- if (subtitleCodec !== undefined) {
584
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
585
- }
586
- if (transcodeReasons !== undefined) {
587
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
588
- }
589
- if (audioStreamIndex !== undefined) {
590
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
591
- }
592
- if (videoStreamIndex !== undefined) {
593
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
594
- }
595
- if (context !== undefined) {
596
- localVarQueryParameter['context'] = context;
597
- }
598
- if (streamOptions !== undefined) {
599
- localVarQueryParameter['streamOptions'] = streamOptions;
600
- }
601
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
602
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
603
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
604
- return [2 /*return*/, {
605
- url: (0, common_1.toPathString)(localVarUrlObj),
606
- options: localVarRequestOptions,
607
- }];
608
- }
609
- });
610
- });
611
- },
321
+ getHlsVideoSegment: (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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 = {}) => __awaiter(this, void 0, void 0, function* () {
322
+ // verify required parameter 'itemId' is not null or undefined
323
+ assertParamExists('getHlsVideoSegment', 'itemId', itemId);
324
+ // verify required parameter 'playlistId' is not null or undefined
325
+ assertParamExists('getHlsVideoSegment', 'playlistId', playlistId);
326
+ // verify required parameter 'segmentId' is not null or undefined
327
+ assertParamExists('getHlsVideoSegment', 'segmentId', segmentId);
328
+ // verify required parameter 'container' is not null or undefined
329
+ assertParamExists('getHlsVideoSegment', 'container', container);
330
+ // verify required parameter 'runtimeTicks' is not null or undefined
331
+ assertParamExists('getHlsVideoSegment', 'runtimeTicks', runtimeTicks);
332
+ // verify required parameter 'actualSegmentLengthTicks' is not null or undefined
333
+ assertParamExists('getHlsVideoSegment', 'actualSegmentLengthTicks', actualSegmentLengthTicks);
334
+ const localVarPath = `/Videos/{itemId}/hls1/{playlistId}/{segmentId}.{container}`
335
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)))
336
+ .replace(`{${"playlistId"}}`, encodeURIComponent(String(playlistId)))
337
+ .replace(`{${"segmentId"}}`, encodeURIComponent(String(segmentId)))
338
+ .replace(`{${"container"}}`, encodeURIComponent(String(container)));
339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
341
+ let baseOptions;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ }
345
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
346
+ const localVarHeaderParameter = {};
347
+ const localVarQueryParameter = {};
348
+ // authentication CustomAuthentication required
349
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
350
+ if (runtimeTicks !== undefined) {
351
+ localVarQueryParameter['runtimeTicks'] = runtimeTicks;
352
+ }
353
+ if (actualSegmentLengthTicks !== undefined) {
354
+ localVarQueryParameter['actualSegmentLengthTicks'] = actualSegmentLengthTicks;
355
+ }
356
+ if (_static !== undefined) {
357
+ localVarQueryParameter['static'] = _static;
358
+ }
359
+ if (params !== undefined) {
360
+ localVarQueryParameter['params'] = params;
361
+ }
362
+ if (tag !== undefined) {
363
+ localVarQueryParameter['tag'] = tag;
364
+ }
365
+ if (deviceProfileId !== undefined) {
366
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
367
+ }
368
+ if (playSessionId !== undefined) {
369
+ localVarQueryParameter['playSessionId'] = playSessionId;
370
+ }
371
+ if (segmentContainer !== undefined) {
372
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
373
+ }
374
+ if (segmentLength !== undefined) {
375
+ localVarQueryParameter['segmentLength'] = segmentLength;
376
+ }
377
+ if (minSegments !== undefined) {
378
+ localVarQueryParameter['minSegments'] = minSegments;
379
+ }
380
+ if (mediaSourceId !== undefined) {
381
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
382
+ }
383
+ if (deviceId !== undefined) {
384
+ localVarQueryParameter['deviceId'] = deviceId;
385
+ }
386
+ if (audioCodec !== undefined) {
387
+ localVarQueryParameter['audioCodec'] = audioCodec;
388
+ }
389
+ if (enableAutoStreamCopy !== undefined) {
390
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
391
+ }
392
+ if (allowVideoStreamCopy !== undefined) {
393
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
394
+ }
395
+ if (allowAudioStreamCopy !== undefined) {
396
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
397
+ }
398
+ if (breakOnNonKeyFrames !== undefined) {
399
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
400
+ }
401
+ if (audioSampleRate !== undefined) {
402
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
403
+ }
404
+ if (maxAudioBitDepth !== undefined) {
405
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
406
+ }
407
+ if (audioBitRate !== undefined) {
408
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
409
+ }
410
+ if (audioChannels !== undefined) {
411
+ localVarQueryParameter['audioChannels'] = audioChannels;
412
+ }
413
+ if (maxAudioChannels !== undefined) {
414
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
415
+ }
416
+ if (profile !== undefined) {
417
+ localVarQueryParameter['profile'] = profile;
418
+ }
419
+ if (level !== undefined) {
420
+ localVarQueryParameter['level'] = level;
421
+ }
422
+ if (framerate !== undefined) {
423
+ localVarQueryParameter['framerate'] = framerate;
424
+ }
425
+ if (maxFramerate !== undefined) {
426
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
427
+ }
428
+ if (copyTimestamps !== undefined) {
429
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
430
+ }
431
+ if (startTimeTicks !== undefined) {
432
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
433
+ }
434
+ if (width !== undefined) {
435
+ localVarQueryParameter['width'] = width;
436
+ }
437
+ if (height !== undefined) {
438
+ localVarQueryParameter['height'] = height;
439
+ }
440
+ if (maxWidth !== undefined) {
441
+ localVarQueryParameter['maxWidth'] = maxWidth;
442
+ }
443
+ if (maxHeight !== undefined) {
444
+ localVarQueryParameter['maxHeight'] = maxHeight;
445
+ }
446
+ if (videoBitRate !== undefined) {
447
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
448
+ }
449
+ if (subtitleStreamIndex !== undefined) {
450
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
451
+ }
452
+ if (subtitleMethod !== undefined) {
453
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
454
+ }
455
+ if (maxRefFrames !== undefined) {
456
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
457
+ }
458
+ if (maxVideoBitDepth !== undefined) {
459
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
460
+ }
461
+ if (requireAvc !== undefined) {
462
+ localVarQueryParameter['requireAvc'] = requireAvc;
463
+ }
464
+ if (deInterlace !== undefined) {
465
+ localVarQueryParameter['deInterlace'] = deInterlace;
466
+ }
467
+ if (requireNonAnamorphic !== undefined) {
468
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
469
+ }
470
+ if (transcodingMaxAudioChannels !== undefined) {
471
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
472
+ }
473
+ if (cpuCoreLimit !== undefined) {
474
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
475
+ }
476
+ if (liveStreamId !== undefined) {
477
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
478
+ }
479
+ if (enableMpegtsM2TsMode !== undefined) {
480
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
481
+ }
482
+ if (videoCodec !== undefined) {
483
+ localVarQueryParameter['videoCodec'] = videoCodec;
484
+ }
485
+ if (subtitleCodec !== undefined) {
486
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
487
+ }
488
+ if (transcodeReasons !== undefined) {
489
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
490
+ }
491
+ if (audioStreamIndex !== undefined) {
492
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
493
+ }
494
+ if (videoStreamIndex !== undefined) {
495
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
496
+ }
497
+ if (context !== undefined) {
498
+ localVarQueryParameter['context'] = context;
499
+ }
500
+ if (streamOptions !== undefined) {
501
+ localVarQueryParameter['streamOptions'] = streamOptions;
502
+ }
503
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
504
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
505
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
506
+ return {
507
+ url: toPathString(localVarUrlObj),
508
+ options: localVarRequestOptions,
509
+ };
510
+ }),
612
511
  /**
613
512
  *
614
513
  * @summary Gets a hls live stream.
@@ -667,193 +566,183 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
667
566
  * @param {*} [options] Override http request option.
668
567
  * @throws {RequiredError}
669
568
  */
670
- getLiveHlsStream: function (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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
671
- if (options === void 0) { options = {}; }
672
- return __awaiter(_this, void 0, void 0, function () {
673
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
674
- return __generator(this, function (_a) {
675
- switch (_a.label) {
676
- case 0:
677
- // verify required parameter 'itemId' is not null or undefined
678
- (0, common_1.assertParamExists)('getLiveHlsStream', 'itemId', itemId);
679
- localVarPath = "/Videos/{itemId}/live.m3u8"
680
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
681
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
682
- if (configuration) {
683
- baseOptions = configuration.baseOptions;
684
- }
685
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
686
- localVarHeaderParameter = {};
687
- localVarQueryParameter = {};
688
- // authentication CustomAuthentication required
689
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
690
- case 1:
691
- // authentication CustomAuthentication required
692
- _a.sent();
693
- if (container !== undefined) {
694
- localVarQueryParameter['container'] = container;
695
- }
696
- if (_static !== undefined) {
697
- localVarQueryParameter['static'] = _static;
698
- }
699
- if (params !== undefined) {
700
- localVarQueryParameter['params'] = params;
701
- }
702
- if (tag !== undefined) {
703
- localVarQueryParameter['tag'] = tag;
704
- }
705
- if (deviceProfileId !== undefined) {
706
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
707
- }
708
- if (playSessionId !== undefined) {
709
- localVarQueryParameter['playSessionId'] = playSessionId;
710
- }
711
- if (segmentContainer !== undefined) {
712
- localVarQueryParameter['segmentContainer'] = segmentContainer;
713
- }
714
- if (segmentLength !== undefined) {
715
- localVarQueryParameter['segmentLength'] = segmentLength;
716
- }
717
- if (minSegments !== undefined) {
718
- localVarQueryParameter['minSegments'] = minSegments;
719
- }
720
- if (mediaSourceId !== undefined) {
721
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
722
- }
723
- if (deviceId !== undefined) {
724
- localVarQueryParameter['deviceId'] = deviceId;
725
- }
726
- if (audioCodec !== undefined) {
727
- localVarQueryParameter['audioCodec'] = audioCodec;
728
- }
729
- if (enableAutoStreamCopy !== undefined) {
730
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
731
- }
732
- if (allowVideoStreamCopy !== undefined) {
733
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
734
- }
735
- if (allowAudioStreamCopy !== undefined) {
736
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
737
- }
738
- if (breakOnNonKeyFrames !== undefined) {
739
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
740
- }
741
- if (audioSampleRate !== undefined) {
742
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
743
- }
744
- if (maxAudioBitDepth !== undefined) {
745
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
746
- }
747
- if (audioBitRate !== undefined) {
748
- localVarQueryParameter['audioBitRate'] = audioBitRate;
749
- }
750
- if (audioChannels !== undefined) {
751
- localVarQueryParameter['audioChannels'] = audioChannels;
752
- }
753
- if (maxAudioChannels !== undefined) {
754
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
755
- }
756
- if (profile !== undefined) {
757
- localVarQueryParameter['profile'] = profile;
758
- }
759
- if (level !== undefined) {
760
- localVarQueryParameter['level'] = level;
761
- }
762
- if (framerate !== undefined) {
763
- localVarQueryParameter['framerate'] = framerate;
764
- }
765
- if (maxFramerate !== undefined) {
766
- localVarQueryParameter['maxFramerate'] = maxFramerate;
767
- }
768
- if (copyTimestamps !== undefined) {
769
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
770
- }
771
- if (startTimeTicks !== undefined) {
772
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
773
- }
774
- if (width !== undefined) {
775
- localVarQueryParameter['width'] = width;
776
- }
777
- if (height !== undefined) {
778
- localVarQueryParameter['height'] = height;
779
- }
780
- if (videoBitRate !== undefined) {
781
- localVarQueryParameter['videoBitRate'] = videoBitRate;
782
- }
783
- if (subtitleStreamIndex !== undefined) {
784
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
785
- }
786
- if (subtitleMethod !== undefined) {
787
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
788
- }
789
- if (maxRefFrames !== undefined) {
790
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
791
- }
792
- if (maxVideoBitDepth !== undefined) {
793
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
794
- }
795
- if (requireAvc !== undefined) {
796
- localVarQueryParameter['requireAvc'] = requireAvc;
797
- }
798
- if (deInterlace !== undefined) {
799
- localVarQueryParameter['deInterlace'] = deInterlace;
800
- }
801
- if (requireNonAnamorphic !== undefined) {
802
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
803
- }
804
- if (transcodingMaxAudioChannels !== undefined) {
805
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
806
- }
807
- if (cpuCoreLimit !== undefined) {
808
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
809
- }
810
- if (liveStreamId !== undefined) {
811
- localVarQueryParameter['liveStreamId'] = liveStreamId;
812
- }
813
- if (enableMpegtsM2TsMode !== undefined) {
814
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
815
- }
816
- if (videoCodec !== undefined) {
817
- localVarQueryParameter['videoCodec'] = videoCodec;
818
- }
819
- if (subtitleCodec !== undefined) {
820
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
821
- }
822
- if (transcodeReasons !== undefined) {
823
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
824
- }
825
- if (audioStreamIndex !== undefined) {
826
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
827
- }
828
- if (videoStreamIndex !== undefined) {
829
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
830
- }
831
- if (context !== undefined) {
832
- localVarQueryParameter['context'] = context;
833
- }
834
- if (streamOptions !== undefined) {
835
- localVarQueryParameter['streamOptions'] = streamOptions;
836
- }
837
- if (maxWidth !== undefined) {
838
- localVarQueryParameter['maxWidth'] = maxWidth;
839
- }
840
- if (maxHeight !== undefined) {
841
- localVarQueryParameter['maxHeight'] = maxHeight;
842
- }
843
- if (enableSubtitlesInManifest !== undefined) {
844
- localVarQueryParameter['enableSubtitlesInManifest'] = enableSubtitlesInManifest;
845
- }
846
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
847
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
848
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
849
- return [2 /*return*/, {
850
- url: (0, common_1.toPathString)(localVarUrlObj),
851
- options: localVarRequestOptions,
852
- }];
853
- }
854
- });
855
- });
856
- },
569
+ getLiveHlsStream: (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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options = {}) => __awaiter(this, void 0, void 0, function* () {
570
+ // verify required parameter 'itemId' is not null or undefined
571
+ assertParamExists('getLiveHlsStream', 'itemId', itemId);
572
+ const localVarPath = `/Videos/{itemId}/live.m3u8`
573
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
574
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
575
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
576
+ let baseOptions;
577
+ if (configuration) {
578
+ baseOptions = configuration.baseOptions;
579
+ }
580
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
581
+ const localVarHeaderParameter = {};
582
+ const localVarQueryParameter = {};
583
+ // authentication CustomAuthentication required
584
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
585
+ if (container !== undefined) {
586
+ localVarQueryParameter['container'] = container;
587
+ }
588
+ if (_static !== undefined) {
589
+ localVarQueryParameter['static'] = _static;
590
+ }
591
+ if (params !== undefined) {
592
+ localVarQueryParameter['params'] = params;
593
+ }
594
+ if (tag !== undefined) {
595
+ localVarQueryParameter['tag'] = tag;
596
+ }
597
+ if (deviceProfileId !== undefined) {
598
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
599
+ }
600
+ if (playSessionId !== undefined) {
601
+ localVarQueryParameter['playSessionId'] = playSessionId;
602
+ }
603
+ if (segmentContainer !== undefined) {
604
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
605
+ }
606
+ if (segmentLength !== undefined) {
607
+ localVarQueryParameter['segmentLength'] = segmentLength;
608
+ }
609
+ if (minSegments !== undefined) {
610
+ localVarQueryParameter['minSegments'] = minSegments;
611
+ }
612
+ if (mediaSourceId !== undefined) {
613
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
614
+ }
615
+ if (deviceId !== undefined) {
616
+ localVarQueryParameter['deviceId'] = deviceId;
617
+ }
618
+ if (audioCodec !== undefined) {
619
+ localVarQueryParameter['audioCodec'] = audioCodec;
620
+ }
621
+ if (enableAutoStreamCopy !== undefined) {
622
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
623
+ }
624
+ if (allowVideoStreamCopy !== undefined) {
625
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
626
+ }
627
+ if (allowAudioStreamCopy !== undefined) {
628
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
629
+ }
630
+ if (breakOnNonKeyFrames !== undefined) {
631
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
632
+ }
633
+ if (audioSampleRate !== undefined) {
634
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
635
+ }
636
+ if (maxAudioBitDepth !== undefined) {
637
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
638
+ }
639
+ if (audioBitRate !== undefined) {
640
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
641
+ }
642
+ if (audioChannels !== undefined) {
643
+ localVarQueryParameter['audioChannels'] = audioChannels;
644
+ }
645
+ if (maxAudioChannels !== undefined) {
646
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
647
+ }
648
+ if (profile !== undefined) {
649
+ localVarQueryParameter['profile'] = profile;
650
+ }
651
+ if (level !== undefined) {
652
+ localVarQueryParameter['level'] = level;
653
+ }
654
+ if (framerate !== undefined) {
655
+ localVarQueryParameter['framerate'] = framerate;
656
+ }
657
+ if (maxFramerate !== undefined) {
658
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
659
+ }
660
+ if (copyTimestamps !== undefined) {
661
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
662
+ }
663
+ if (startTimeTicks !== undefined) {
664
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
665
+ }
666
+ if (width !== undefined) {
667
+ localVarQueryParameter['width'] = width;
668
+ }
669
+ if (height !== undefined) {
670
+ localVarQueryParameter['height'] = height;
671
+ }
672
+ if (videoBitRate !== undefined) {
673
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
674
+ }
675
+ if (subtitleStreamIndex !== undefined) {
676
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
677
+ }
678
+ if (subtitleMethod !== undefined) {
679
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
680
+ }
681
+ if (maxRefFrames !== undefined) {
682
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
683
+ }
684
+ if (maxVideoBitDepth !== undefined) {
685
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
686
+ }
687
+ if (requireAvc !== undefined) {
688
+ localVarQueryParameter['requireAvc'] = requireAvc;
689
+ }
690
+ if (deInterlace !== undefined) {
691
+ localVarQueryParameter['deInterlace'] = deInterlace;
692
+ }
693
+ if (requireNonAnamorphic !== undefined) {
694
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
695
+ }
696
+ if (transcodingMaxAudioChannels !== undefined) {
697
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
698
+ }
699
+ if (cpuCoreLimit !== undefined) {
700
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
701
+ }
702
+ if (liveStreamId !== undefined) {
703
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
704
+ }
705
+ if (enableMpegtsM2TsMode !== undefined) {
706
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
707
+ }
708
+ if (videoCodec !== undefined) {
709
+ localVarQueryParameter['videoCodec'] = videoCodec;
710
+ }
711
+ if (subtitleCodec !== undefined) {
712
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
713
+ }
714
+ if (transcodeReasons !== undefined) {
715
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
716
+ }
717
+ if (audioStreamIndex !== undefined) {
718
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
719
+ }
720
+ if (videoStreamIndex !== undefined) {
721
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
722
+ }
723
+ if (context !== undefined) {
724
+ localVarQueryParameter['context'] = context;
725
+ }
726
+ if (streamOptions !== undefined) {
727
+ localVarQueryParameter['streamOptions'] = streamOptions;
728
+ }
729
+ if (maxWidth !== undefined) {
730
+ localVarQueryParameter['maxWidth'] = maxWidth;
731
+ }
732
+ if (maxHeight !== undefined) {
733
+ localVarQueryParameter['maxHeight'] = maxHeight;
734
+ }
735
+ if (enableSubtitlesInManifest !== undefined) {
736
+ localVarQueryParameter['enableSubtitlesInManifest'] = enableSubtitlesInManifest;
737
+ }
738
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
739
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
740
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
741
+ return {
742
+ url: toPathString(localVarUrlObj),
743
+ options: localVarRequestOptions,
744
+ };
745
+ }),
857
746
  /**
858
747
  *
859
748
  * @summary Gets an audio hls playlist stream.
@@ -910,189 +799,179 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
910
799
  * @param {*} [options] Override http request option.
911
800
  * @throws {RequiredError}
912
801
  */
913
- getMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
914
- if (options === void 0) { options = {}; }
915
- return __awaiter(_this, void 0, void 0, function () {
916
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
917
- return __generator(this, function (_a) {
918
- switch (_a.label) {
919
- case 0:
920
- // verify required parameter 'itemId' is not null or undefined
921
- (0, common_1.assertParamExists)('getMasterHlsAudioPlaylist', 'itemId', itemId);
922
- // verify required parameter 'mediaSourceId' is not null or undefined
923
- (0, common_1.assertParamExists)('getMasterHlsAudioPlaylist', 'mediaSourceId', mediaSourceId);
924
- localVarPath = "/Audio/{itemId}/master.m3u8"
925
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
926
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
927
- if (configuration) {
928
- baseOptions = configuration.baseOptions;
929
- }
930
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
931
- localVarHeaderParameter = {};
932
- localVarQueryParameter = {};
933
- // authentication CustomAuthentication required
934
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
935
- case 1:
936
- // authentication CustomAuthentication required
937
- _a.sent();
938
- if (_static !== undefined) {
939
- localVarQueryParameter['static'] = _static;
940
- }
941
- if (params !== undefined) {
942
- localVarQueryParameter['params'] = params;
943
- }
944
- if (tag !== undefined) {
945
- localVarQueryParameter['tag'] = tag;
946
- }
947
- if (deviceProfileId !== undefined) {
948
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
949
- }
950
- if (playSessionId !== undefined) {
951
- localVarQueryParameter['playSessionId'] = playSessionId;
952
- }
953
- if (segmentContainer !== undefined) {
954
- localVarQueryParameter['segmentContainer'] = segmentContainer;
955
- }
956
- if (segmentLength !== undefined) {
957
- localVarQueryParameter['segmentLength'] = segmentLength;
958
- }
959
- if (minSegments !== undefined) {
960
- localVarQueryParameter['minSegments'] = minSegments;
961
- }
962
- if (mediaSourceId !== undefined) {
963
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
964
- }
965
- if (deviceId !== undefined) {
966
- localVarQueryParameter['deviceId'] = deviceId;
967
- }
968
- if (audioCodec !== undefined) {
969
- localVarQueryParameter['audioCodec'] = audioCodec;
970
- }
971
- if (enableAutoStreamCopy !== undefined) {
972
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
973
- }
974
- if (allowVideoStreamCopy !== undefined) {
975
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
976
- }
977
- if (allowAudioStreamCopy !== undefined) {
978
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
979
- }
980
- if (breakOnNonKeyFrames !== undefined) {
981
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
982
- }
983
- if (audioSampleRate !== undefined) {
984
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
985
- }
986
- if (maxAudioBitDepth !== undefined) {
987
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
988
- }
989
- if (maxStreamingBitrate !== undefined) {
990
- localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
991
- }
992
- if (audioBitRate !== undefined) {
993
- localVarQueryParameter['audioBitRate'] = audioBitRate;
994
- }
995
- if (audioChannels !== undefined) {
996
- localVarQueryParameter['audioChannels'] = audioChannels;
997
- }
998
- if (maxAudioChannels !== undefined) {
999
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1000
- }
1001
- if (profile !== undefined) {
1002
- localVarQueryParameter['profile'] = profile;
1003
- }
1004
- if (level !== undefined) {
1005
- localVarQueryParameter['level'] = level;
1006
- }
1007
- if (framerate !== undefined) {
1008
- localVarQueryParameter['framerate'] = framerate;
1009
- }
1010
- if (maxFramerate !== undefined) {
1011
- localVarQueryParameter['maxFramerate'] = maxFramerate;
1012
- }
1013
- if (copyTimestamps !== undefined) {
1014
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1015
- }
1016
- if (startTimeTicks !== undefined) {
1017
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1018
- }
1019
- if (width !== undefined) {
1020
- localVarQueryParameter['width'] = width;
1021
- }
1022
- if (height !== undefined) {
1023
- localVarQueryParameter['height'] = height;
1024
- }
1025
- if (videoBitRate !== undefined) {
1026
- localVarQueryParameter['videoBitRate'] = videoBitRate;
1027
- }
1028
- if (subtitleStreamIndex !== undefined) {
1029
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1030
- }
1031
- if (subtitleMethod !== undefined) {
1032
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1033
- }
1034
- if (maxRefFrames !== undefined) {
1035
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1036
- }
1037
- if (maxVideoBitDepth !== undefined) {
1038
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1039
- }
1040
- if (requireAvc !== undefined) {
1041
- localVarQueryParameter['requireAvc'] = requireAvc;
1042
- }
1043
- if (deInterlace !== undefined) {
1044
- localVarQueryParameter['deInterlace'] = deInterlace;
1045
- }
1046
- if (requireNonAnamorphic !== undefined) {
1047
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1048
- }
1049
- if (transcodingMaxAudioChannels !== undefined) {
1050
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1051
- }
1052
- if (cpuCoreLimit !== undefined) {
1053
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1054
- }
1055
- if (liveStreamId !== undefined) {
1056
- localVarQueryParameter['liveStreamId'] = liveStreamId;
1057
- }
1058
- if (enableMpegtsM2TsMode !== undefined) {
1059
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1060
- }
1061
- if (videoCodec !== undefined) {
1062
- localVarQueryParameter['videoCodec'] = videoCodec;
1063
- }
1064
- if (subtitleCodec !== undefined) {
1065
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1066
- }
1067
- if (transcodeReasons !== undefined) {
1068
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1069
- }
1070
- if (audioStreamIndex !== undefined) {
1071
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1072
- }
1073
- if (videoStreamIndex !== undefined) {
1074
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1075
- }
1076
- if (context !== undefined) {
1077
- localVarQueryParameter['context'] = context;
1078
- }
1079
- if (streamOptions !== undefined) {
1080
- localVarQueryParameter['streamOptions'] = streamOptions;
1081
- }
1082
- if (enableAdaptiveBitrateStreaming !== undefined) {
1083
- localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
1084
- }
1085
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
1086
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1087
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1088
- return [2 /*return*/, {
1089
- url: (0, common_1.toPathString)(localVarUrlObj),
1090
- options: localVarRequestOptions,
1091
- }];
1092
- }
1093
- });
1094
- });
1095
- },
802
+ getMasterHlsAudioPlaylist: (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => __awaiter(this, void 0, void 0, function* () {
803
+ // verify required parameter 'itemId' is not null or undefined
804
+ assertParamExists('getMasterHlsAudioPlaylist', 'itemId', itemId);
805
+ // verify required parameter 'mediaSourceId' is not null or undefined
806
+ assertParamExists('getMasterHlsAudioPlaylist', 'mediaSourceId', mediaSourceId);
807
+ const localVarPath = `/Audio/{itemId}/master.m3u8`
808
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
809
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
810
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
811
+ let baseOptions;
812
+ if (configuration) {
813
+ baseOptions = configuration.baseOptions;
814
+ }
815
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
816
+ const localVarHeaderParameter = {};
817
+ const localVarQueryParameter = {};
818
+ // authentication CustomAuthentication required
819
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
820
+ if (_static !== undefined) {
821
+ localVarQueryParameter['static'] = _static;
822
+ }
823
+ if (params !== undefined) {
824
+ localVarQueryParameter['params'] = params;
825
+ }
826
+ if (tag !== undefined) {
827
+ localVarQueryParameter['tag'] = tag;
828
+ }
829
+ if (deviceProfileId !== undefined) {
830
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
831
+ }
832
+ if (playSessionId !== undefined) {
833
+ localVarQueryParameter['playSessionId'] = playSessionId;
834
+ }
835
+ if (segmentContainer !== undefined) {
836
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
837
+ }
838
+ if (segmentLength !== undefined) {
839
+ localVarQueryParameter['segmentLength'] = segmentLength;
840
+ }
841
+ if (minSegments !== undefined) {
842
+ localVarQueryParameter['minSegments'] = minSegments;
843
+ }
844
+ if (mediaSourceId !== undefined) {
845
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
846
+ }
847
+ if (deviceId !== undefined) {
848
+ localVarQueryParameter['deviceId'] = deviceId;
849
+ }
850
+ if (audioCodec !== undefined) {
851
+ localVarQueryParameter['audioCodec'] = audioCodec;
852
+ }
853
+ if (enableAutoStreamCopy !== undefined) {
854
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
855
+ }
856
+ if (allowVideoStreamCopy !== undefined) {
857
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
858
+ }
859
+ if (allowAudioStreamCopy !== undefined) {
860
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
861
+ }
862
+ if (breakOnNonKeyFrames !== undefined) {
863
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
864
+ }
865
+ if (audioSampleRate !== undefined) {
866
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
867
+ }
868
+ if (maxAudioBitDepth !== undefined) {
869
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
870
+ }
871
+ if (maxStreamingBitrate !== undefined) {
872
+ localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
873
+ }
874
+ if (audioBitRate !== undefined) {
875
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
876
+ }
877
+ if (audioChannels !== undefined) {
878
+ localVarQueryParameter['audioChannels'] = audioChannels;
879
+ }
880
+ if (maxAudioChannels !== undefined) {
881
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
882
+ }
883
+ if (profile !== undefined) {
884
+ localVarQueryParameter['profile'] = profile;
885
+ }
886
+ if (level !== undefined) {
887
+ localVarQueryParameter['level'] = level;
888
+ }
889
+ if (framerate !== undefined) {
890
+ localVarQueryParameter['framerate'] = framerate;
891
+ }
892
+ if (maxFramerate !== undefined) {
893
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
894
+ }
895
+ if (copyTimestamps !== undefined) {
896
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
897
+ }
898
+ if (startTimeTicks !== undefined) {
899
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
900
+ }
901
+ if (width !== undefined) {
902
+ localVarQueryParameter['width'] = width;
903
+ }
904
+ if (height !== undefined) {
905
+ localVarQueryParameter['height'] = height;
906
+ }
907
+ if (videoBitRate !== undefined) {
908
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
909
+ }
910
+ if (subtitleStreamIndex !== undefined) {
911
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
912
+ }
913
+ if (subtitleMethod !== undefined) {
914
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
915
+ }
916
+ if (maxRefFrames !== undefined) {
917
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
918
+ }
919
+ if (maxVideoBitDepth !== undefined) {
920
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
921
+ }
922
+ if (requireAvc !== undefined) {
923
+ localVarQueryParameter['requireAvc'] = requireAvc;
924
+ }
925
+ if (deInterlace !== undefined) {
926
+ localVarQueryParameter['deInterlace'] = deInterlace;
927
+ }
928
+ if (requireNonAnamorphic !== undefined) {
929
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
930
+ }
931
+ if (transcodingMaxAudioChannels !== undefined) {
932
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
933
+ }
934
+ if (cpuCoreLimit !== undefined) {
935
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
936
+ }
937
+ if (liveStreamId !== undefined) {
938
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
939
+ }
940
+ if (enableMpegtsM2TsMode !== undefined) {
941
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
942
+ }
943
+ if (videoCodec !== undefined) {
944
+ localVarQueryParameter['videoCodec'] = videoCodec;
945
+ }
946
+ if (subtitleCodec !== undefined) {
947
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
948
+ }
949
+ if (transcodeReasons !== undefined) {
950
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
951
+ }
952
+ if (audioStreamIndex !== undefined) {
953
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
954
+ }
955
+ if (videoStreamIndex !== undefined) {
956
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
957
+ }
958
+ if (context !== undefined) {
959
+ localVarQueryParameter['context'] = context;
960
+ }
961
+ if (streamOptions !== undefined) {
962
+ localVarQueryParameter['streamOptions'] = streamOptions;
963
+ }
964
+ if (enableAdaptiveBitrateStreaming !== undefined) {
965
+ localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
966
+ }
967
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
968
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
969
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
970
+ return {
971
+ url: toPathString(localVarUrlObj),
972
+ options: localVarRequestOptions,
973
+ };
974
+ }),
1096
975
  /**
1097
976
  *
1098
977
  * @summary Gets a video hls playlist stream.
@@ -1150,192 +1029,182 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
1150
1029
  * @param {*} [options] Override http request option.
1151
1030
  * @throws {RequiredError}
1152
1031
  */
1153
- getMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
1154
- if (options === void 0) { options = {}; }
1155
- return __awaiter(_this, void 0, void 0, function () {
1156
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1157
- return __generator(this, function (_a) {
1158
- switch (_a.label) {
1159
- case 0:
1160
- // verify required parameter 'itemId' is not null or undefined
1161
- (0, common_1.assertParamExists)('getMasterHlsVideoPlaylist', 'itemId', itemId);
1162
- // verify required parameter 'mediaSourceId' is not null or undefined
1163
- (0, common_1.assertParamExists)('getMasterHlsVideoPlaylist', 'mediaSourceId', mediaSourceId);
1164
- localVarPath = "/Videos/{itemId}/master.m3u8"
1165
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
1166
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1167
- if (configuration) {
1168
- baseOptions = configuration.baseOptions;
1169
- }
1170
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1171
- localVarHeaderParameter = {};
1172
- localVarQueryParameter = {};
1173
- // authentication CustomAuthentication required
1174
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
1175
- case 1:
1176
- // authentication CustomAuthentication required
1177
- _a.sent();
1178
- if (_static !== undefined) {
1179
- localVarQueryParameter['static'] = _static;
1180
- }
1181
- if (params !== undefined) {
1182
- localVarQueryParameter['params'] = params;
1183
- }
1184
- if (tag !== undefined) {
1185
- localVarQueryParameter['tag'] = tag;
1186
- }
1187
- if (deviceProfileId !== undefined) {
1188
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1189
- }
1190
- if (playSessionId !== undefined) {
1191
- localVarQueryParameter['playSessionId'] = playSessionId;
1192
- }
1193
- if (segmentContainer !== undefined) {
1194
- localVarQueryParameter['segmentContainer'] = segmentContainer;
1195
- }
1196
- if (segmentLength !== undefined) {
1197
- localVarQueryParameter['segmentLength'] = segmentLength;
1198
- }
1199
- if (minSegments !== undefined) {
1200
- localVarQueryParameter['minSegments'] = minSegments;
1201
- }
1202
- if (mediaSourceId !== undefined) {
1203
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1204
- }
1205
- if (deviceId !== undefined) {
1206
- localVarQueryParameter['deviceId'] = deviceId;
1207
- }
1208
- if (audioCodec !== undefined) {
1209
- localVarQueryParameter['audioCodec'] = audioCodec;
1210
- }
1211
- if (enableAutoStreamCopy !== undefined) {
1212
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1213
- }
1214
- if (allowVideoStreamCopy !== undefined) {
1215
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1216
- }
1217
- if (allowAudioStreamCopy !== undefined) {
1218
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1219
- }
1220
- if (breakOnNonKeyFrames !== undefined) {
1221
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1222
- }
1223
- if (audioSampleRate !== undefined) {
1224
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1225
- }
1226
- if (maxAudioBitDepth !== undefined) {
1227
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1228
- }
1229
- if (audioBitRate !== undefined) {
1230
- localVarQueryParameter['audioBitRate'] = audioBitRate;
1231
- }
1232
- if (audioChannels !== undefined) {
1233
- localVarQueryParameter['audioChannels'] = audioChannels;
1234
- }
1235
- if (maxAudioChannels !== undefined) {
1236
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1237
- }
1238
- if (profile !== undefined) {
1239
- localVarQueryParameter['profile'] = profile;
1240
- }
1241
- if (level !== undefined) {
1242
- localVarQueryParameter['level'] = level;
1243
- }
1244
- if (framerate !== undefined) {
1245
- localVarQueryParameter['framerate'] = framerate;
1246
- }
1247
- if (maxFramerate !== undefined) {
1248
- localVarQueryParameter['maxFramerate'] = maxFramerate;
1249
- }
1250
- if (copyTimestamps !== undefined) {
1251
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1252
- }
1253
- if (startTimeTicks !== undefined) {
1254
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1255
- }
1256
- if (width !== undefined) {
1257
- localVarQueryParameter['width'] = width;
1258
- }
1259
- if (height !== undefined) {
1260
- localVarQueryParameter['height'] = height;
1261
- }
1262
- if (maxWidth !== undefined) {
1263
- localVarQueryParameter['maxWidth'] = maxWidth;
1264
- }
1265
- if (maxHeight !== undefined) {
1266
- localVarQueryParameter['maxHeight'] = maxHeight;
1267
- }
1268
- if (videoBitRate !== undefined) {
1269
- localVarQueryParameter['videoBitRate'] = videoBitRate;
1270
- }
1271
- if (subtitleStreamIndex !== undefined) {
1272
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1273
- }
1274
- if (subtitleMethod !== undefined) {
1275
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1276
- }
1277
- if (maxRefFrames !== undefined) {
1278
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1279
- }
1280
- if (maxVideoBitDepth !== undefined) {
1281
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1282
- }
1283
- if (requireAvc !== undefined) {
1284
- localVarQueryParameter['requireAvc'] = requireAvc;
1285
- }
1286
- if (deInterlace !== undefined) {
1287
- localVarQueryParameter['deInterlace'] = deInterlace;
1288
- }
1289
- if (requireNonAnamorphic !== undefined) {
1290
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1291
- }
1292
- if (transcodingMaxAudioChannels !== undefined) {
1293
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1294
- }
1295
- if (cpuCoreLimit !== undefined) {
1296
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1297
- }
1298
- if (liveStreamId !== undefined) {
1299
- localVarQueryParameter['liveStreamId'] = liveStreamId;
1300
- }
1301
- if (enableMpegtsM2TsMode !== undefined) {
1302
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1303
- }
1304
- if (videoCodec !== undefined) {
1305
- localVarQueryParameter['videoCodec'] = videoCodec;
1306
- }
1307
- if (subtitleCodec !== undefined) {
1308
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1309
- }
1310
- if (transcodeReasons !== undefined) {
1311
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1312
- }
1313
- if (audioStreamIndex !== undefined) {
1314
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1315
- }
1316
- if (videoStreamIndex !== undefined) {
1317
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1318
- }
1319
- if (context !== undefined) {
1320
- localVarQueryParameter['context'] = context;
1321
- }
1322
- if (streamOptions !== undefined) {
1323
- localVarQueryParameter['streamOptions'] = streamOptions;
1324
- }
1325
- if (enableAdaptiveBitrateStreaming !== undefined) {
1326
- localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
1327
- }
1328
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
1329
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1330
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1331
- return [2 /*return*/, {
1332
- url: (0, common_1.toPathString)(localVarUrlObj),
1333
- options: localVarRequestOptions,
1334
- }];
1335
- }
1336
- });
1337
- });
1338
- },
1032
+ getMasterHlsVideoPlaylist: (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options = {}) => __awaiter(this, void 0, void 0, function* () {
1033
+ // verify required parameter 'itemId' is not null or undefined
1034
+ assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId);
1035
+ // verify required parameter 'mediaSourceId' is not null or undefined
1036
+ assertParamExists('getMasterHlsVideoPlaylist', 'mediaSourceId', mediaSourceId);
1037
+ const localVarPath = `/Videos/{itemId}/master.m3u8`
1038
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
1039
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1040
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1041
+ let baseOptions;
1042
+ if (configuration) {
1043
+ baseOptions = configuration.baseOptions;
1044
+ }
1045
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1046
+ const localVarHeaderParameter = {};
1047
+ const localVarQueryParameter = {};
1048
+ // authentication CustomAuthentication required
1049
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1050
+ if (_static !== undefined) {
1051
+ localVarQueryParameter['static'] = _static;
1052
+ }
1053
+ if (params !== undefined) {
1054
+ localVarQueryParameter['params'] = params;
1055
+ }
1056
+ if (tag !== undefined) {
1057
+ localVarQueryParameter['tag'] = tag;
1058
+ }
1059
+ if (deviceProfileId !== undefined) {
1060
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1061
+ }
1062
+ if (playSessionId !== undefined) {
1063
+ localVarQueryParameter['playSessionId'] = playSessionId;
1064
+ }
1065
+ if (segmentContainer !== undefined) {
1066
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
1067
+ }
1068
+ if (segmentLength !== undefined) {
1069
+ localVarQueryParameter['segmentLength'] = segmentLength;
1070
+ }
1071
+ if (minSegments !== undefined) {
1072
+ localVarQueryParameter['minSegments'] = minSegments;
1073
+ }
1074
+ if (mediaSourceId !== undefined) {
1075
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1076
+ }
1077
+ if (deviceId !== undefined) {
1078
+ localVarQueryParameter['deviceId'] = deviceId;
1079
+ }
1080
+ if (audioCodec !== undefined) {
1081
+ localVarQueryParameter['audioCodec'] = audioCodec;
1082
+ }
1083
+ if (enableAutoStreamCopy !== undefined) {
1084
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1085
+ }
1086
+ if (allowVideoStreamCopy !== undefined) {
1087
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1088
+ }
1089
+ if (allowAudioStreamCopy !== undefined) {
1090
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1091
+ }
1092
+ if (breakOnNonKeyFrames !== undefined) {
1093
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1094
+ }
1095
+ if (audioSampleRate !== undefined) {
1096
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1097
+ }
1098
+ if (maxAudioBitDepth !== undefined) {
1099
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1100
+ }
1101
+ if (audioBitRate !== undefined) {
1102
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
1103
+ }
1104
+ if (audioChannels !== undefined) {
1105
+ localVarQueryParameter['audioChannels'] = audioChannels;
1106
+ }
1107
+ if (maxAudioChannels !== undefined) {
1108
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1109
+ }
1110
+ if (profile !== undefined) {
1111
+ localVarQueryParameter['profile'] = profile;
1112
+ }
1113
+ if (level !== undefined) {
1114
+ localVarQueryParameter['level'] = level;
1115
+ }
1116
+ if (framerate !== undefined) {
1117
+ localVarQueryParameter['framerate'] = framerate;
1118
+ }
1119
+ if (maxFramerate !== undefined) {
1120
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
1121
+ }
1122
+ if (copyTimestamps !== undefined) {
1123
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1124
+ }
1125
+ if (startTimeTicks !== undefined) {
1126
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1127
+ }
1128
+ if (width !== undefined) {
1129
+ localVarQueryParameter['width'] = width;
1130
+ }
1131
+ if (height !== undefined) {
1132
+ localVarQueryParameter['height'] = height;
1133
+ }
1134
+ if (maxWidth !== undefined) {
1135
+ localVarQueryParameter['maxWidth'] = maxWidth;
1136
+ }
1137
+ if (maxHeight !== undefined) {
1138
+ localVarQueryParameter['maxHeight'] = maxHeight;
1139
+ }
1140
+ if (videoBitRate !== undefined) {
1141
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
1142
+ }
1143
+ if (subtitleStreamIndex !== undefined) {
1144
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1145
+ }
1146
+ if (subtitleMethod !== undefined) {
1147
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1148
+ }
1149
+ if (maxRefFrames !== undefined) {
1150
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1151
+ }
1152
+ if (maxVideoBitDepth !== undefined) {
1153
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1154
+ }
1155
+ if (requireAvc !== undefined) {
1156
+ localVarQueryParameter['requireAvc'] = requireAvc;
1157
+ }
1158
+ if (deInterlace !== undefined) {
1159
+ localVarQueryParameter['deInterlace'] = deInterlace;
1160
+ }
1161
+ if (requireNonAnamorphic !== undefined) {
1162
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1163
+ }
1164
+ if (transcodingMaxAudioChannels !== undefined) {
1165
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1166
+ }
1167
+ if (cpuCoreLimit !== undefined) {
1168
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1169
+ }
1170
+ if (liveStreamId !== undefined) {
1171
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
1172
+ }
1173
+ if (enableMpegtsM2TsMode !== undefined) {
1174
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1175
+ }
1176
+ if (videoCodec !== undefined) {
1177
+ localVarQueryParameter['videoCodec'] = videoCodec;
1178
+ }
1179
+ if (subtitleCodec !== undefined) {
1180
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1181
+ }
1182
+ if (transcodeReasons !== undefined) {
1183
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1184
+ }
1185
+ if (audioStreamIndex !== undefined) {
1186
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1187
+ }
1188
+ if (videoStreamIndex !== undefined) {
1189
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1190
+ }
1191
+ if (context !== undefined) {
1192
+ localVarQueryParameter['context'] = context;
1193
+ }
1194
+ if (streamOptions !== undefined) {
1195
+ localVarQueryParameter['streamOptions'] = streamOptions;
1196
+ }
1197
+ if (enableAdaptiveBitrateStreaming !== undefined) {
1198
+ localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
1199
+ }
1200
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1201
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1202
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1203
+ return {
1204
+ url: toPathString(localVarUrlObj),
1205
+ options: localVarRequestOptions,
1206
+ };
1207
+ }),
1339
1208
  /**
1340
1209
  *
1341
1210
  * @summary Gets an audio stream using HTTP live streaming.
@@ -1391,184 +1260,174 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
1391
1260
  * @param {*} [options] Override http request option.
1392
1261
  * @throws {RequiredError}
1393
1262
  */
1394
- getVariantHlsAudioPlaylist: function (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1395
- if (options === void 0) { options = {}; }
1396
- return __awaiter(_this, void 0, void 0, function () {
1397
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1398
- return __generator(this, function (_a) {
1399
- switch (_a.label) {
1400
- case 0:
1401
- // verify required parameter 'itemId' is not null or undefined
1402
- (0, common_1.assertParamExists)('getVariantHlsAudioPlaylist', 'itemId', itemId);
1403
- localVarPath = "/Audio/{itemId}/main.m3u8"
1404
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
1405
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1406
- if (configuration) {
1407
- baseOptions = configuration.baseOptions;
1408
- }
1409
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1410
- localVarHeaderParameter = {};
1411
- localVarQueryParameter = {};
1412
- // authentication CustomAuthentication required
1413
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
1414
- case 1:
1415
- // authentication CustomAuthentication required
1416
- _a.sent();
1417
- if (_static !== undefined) {
1418
- localVarQueryParameter['static'] = _static;
1419
- }
1420
- if (params !== undefined) {
1421
- localVarQueryParameter['params'] = params;
1422
- }
1423
- if (tag !== undefined) {
1424
- localVarQueryParameter['tag'] = tag;
1425
- }
1426
- if (deviceProfileId !== undefined) {
1427
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1428
- }
1429
- if (playSessionId !== undefined) {
1430
- localVarQueryParameter['playSessionId'] = playSessionId;
1431
- }
1432
- if (segmentContainer !== undefined) {
1433
- localVarQueryParameter['segmentContainer'] = segmentContainer;
1434
- }
1435
- if (segmentLength !== undefined) {
1436
- localVarQueryParameter['segmentLength'] = segmentLength;
1437
- }
1438
- if (minSegments !== undefined) {
1439
- localVarQueryParameter['minSegments'] = minSegments;
1440
- }
1441
- if (mediaSourceId !== undefined) {
1442
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1443
- }
1444
- if (deviceId !== undefined) {
1445
- localVarQueryParameter['deviceId'] = deviceId;
1446
- }
1447
- if (audioCodec !== undefined) {
1448
- localVarQueryParameter['audioCodec'] = audioCodec;
1449
- }
1450
- if (enableAutoStreamCopy !== undefined) {
1451
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1452
- }
1453
- if (allowVideoStreamCopy !== undefined) {
1454
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1455
- }
1456
- if (allowAudioStreamCopy !== undefined) {
1457
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1458
- }
1459
- if (breakOnNonKeyFrames !== undefined) {
1460
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1461
- }
1462
- if (audioSampleRate !== undefined) {
1463
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1464
- }
1465
- if (maxAudioBitDepth !== undefined) {
1466
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1467
- }
1468
- if (maxStreamingBitrate !== undefined) {
1469
- localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
1470
- }
1471
- if (audioBitRate !== undefined) {
1472
- localVarQueryParameter['audioBitRate'] = audioBitRate;
1473
- }
1474
- if (audioChannels !== undefined) {
1475
- localVarQueryParameter['audioChannels'] = audioChannels;
1476
- }
1477
- if (maxAudioChannels !== undefined) {
1478
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1479
- }
1480
- if (profile !== undefined) {
1481
- localVarQueryParameter['profile'] = profile;
1482
- }
1483
- if (level !== undefined) {
1484
- localVarQueryParameter['level'] = level;
1485
- }
1486
- if (framerate !== undefined) {
1487
- localVarQueryParameter['framerate'] = framerate;
1488
- }
1489
- if (maxFramerate !== undefined) {
1490
- localVarQueryParameter['maxFramerate'] = maxFramerate;
1491
- }
1492
- if (copyTimestamps !== undefined) {
1493
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1494
- }
1495
- if (startTimeTicks !== undefined) {
1496
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1497
- }
1498
- if (width !== undefined) {
1499
- localVarQueryParameter['width'] = width;
1500
- }
1501
- if (height !== undefined) {
1502
- localVarQueryParameter['height'] = height;
1503
- }
1504
- if (videoBitRate !== undefined) {
1505
- localVarQueryParameter['videoBitRate'] = videoBitRate;
1506
- }
1507
- if (subtitleStreamIndex !== undefined) {
1508
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1509
- }
1510
- if (subtitleMethod !== undefined) {
1511
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1512
- }
1513
- if (maxRefFrames !== undefined) {
1514
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1515
- }
1516
- if (maxVideoBitDepth !== undefined) {
1517
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1518
- }
1519
- if (requireAvc !== undefined) {
1520
- localVarQueryParameter['requireAvc'] = requireAvc;
1521
- }
1522
- if (deInterlace !== undefined) {
1523
- localVarQueryParameter['deInterlace'] = deInterlace;
1524
- }
1525
- if (requireNonAnamorphic !== undefined) {
1526
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1527
- }
1528
- if (transcodingMaxAudioChannels !== undefined) {
1529
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1530
- }
1531
- if (cpuCoreLimit !== undefined) {
1532
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1533
- }
1534
- if (liveStreamId !== undefined) {
1535
- localVarQueryParameter['liveStreamId'] = liveStreamId;
1536
- }
1537
- if (enableMpegtsM2TsMode !== undefined) {
1538
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1539
- }
1540
- if (videoCodec !== undefined) {
1541
- localVarQueryParameter['videoCodec'] = videoCodec;
1542
- }
1543
- if (subtitleCodec !== undefined) {
1544
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1545
- }
1546
- if (transcodeReasons !== undefined) {
1547
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1548
- }
1549
- if (audioStreamIndex !== undefined) {
1550
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1551
- }
1552
- if (videoStreamIndex !== undefined) {
1553
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1554
- }
1555
- if (context !== undefined) {
1556
- localVarQueryParameter['context'] = context;
1557
- }
1558
- if (streamOptions !== undefined) {
1559
- localVarQueryParameter['streamOptions'] = streamOptions;
1560
- }
1561
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
1562
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1563
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1564
- return [2 /*return*/, {
1565
- url: (0, common_1.toPathString)(localVarUrlObj),
1566
- options: localVarRequestOptions,
1567
- }];
1568
- }
1569
- });
1570
- });
1571
- },
1263
+ getVariantHlsAudioPlaylist: (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => __awaiter(this, void 0, void 0, function* () {
1264
+ // verify required parameter 'itemId' is not null or undefined
1265
+ assertParamExists('getVariantHlsAudioPlaylist', 'itemId', itemId);
1266
+ const localVarPath = `/Audio/{itemId}/main.m3u8`
1267
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
1268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1270
+ let baseOptions;
1271
+ if (configuration) {
1272
+ baseOptions = configuration.baseOptions;
1273
+ }
1274
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1275
+ const localVarHeaderParameter = {};
1276
+ const localVarQueryParameter = {};
1277
+ // authentication CustomAuthentication required
1278
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1279
+ if (_static !== undefined) {
1280
+ localVarQueryParameter['static'] = _static;
1281
+ }
1282
+ if (params !== undefined) {
1283
+ localVarQueryParameter['params'] = params;
1284
+ }
1285
+ if (tag !== undefined) {
1286
+ localVarQueryParameter['tag'] = tag;
1287
+ }
1288
+ if (deviceProfileId !== undefined) {
1289
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1290
+ }
1291
+ if (playSessionId !== undefined) {
1292
+ localVarQueryParameter['playSessionId'] = playSessionId;
1293
+ }
1294
+ if (segmentContainer !== undefined) {
1295
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
1296
+ }
1297
+ if (segmentLength !== undefined) {
1298
+ localVarQueryParameter['segmentLength'] = segmentLength;
1299
+ }
1300
+ if (minSegments !== undefined) {
1301
+ localVarQueryParameter['minSegments'] = minSegments;
1302
+ }
1303
+ if (mediaSourceId !== undefined) {
1304
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1305
+ }
1306
+ if (deviceId !== undefined) {
1307
+ localVarQueryParameter['deviceId'] = deviceId;
1308
+ }
1309
+ if (audioCodec !== undefined) {
1310
+ localVarQueryParameter['audioCodec'] = audioCodec;
1311
+ }
1312
+ if (enableAutoStreamCopy !== undefined) {
1313
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1314
+ }
1315
+ if (allowVideoStreamCopy !== undefined) {
1316
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1317
+ }
1318
+ if (allowAudioStreamCopy !== undefined) {
1319
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1320
+ }
1321
+ if (breakOnNonKeyFrames !== undefined) {
1322
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1323
+ }
1324
+ if (audioSampleRate !== undefined) {
1325
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1326
+ }
1327
+ if (maxAudioBitDepth !== undefined) {
1328
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1329
+ }
1330
+ if (maxStreamingBitrate !== undefined) {
1331
+ localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
1332
+ }
1333
+ if (audioBitRate !== undefined) {
1334
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
1335
+ }
1336
+ if (audioChannels !== undefined) {
1337
+ localVarQueryParameter['audioChannels'] = audioChannels;
1338
+ }
1339
+ if (maxAudioChannels !== undefined) {
1340
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1341
+ }
1342
+ if (profile !== undefined) {
1343
+ localVarQueryParameter['profile'] = profile;
1344
+ }
1345
+ if (level !== undefined) {
1346
+ localVarQueryParameter['level'] = level;
1347
+ }
1348
+ if (framerate !== undefined) {
1349
+ localVarQueryParameter['framerate'] = framerate;
1350
+ }
1351
+ if (maxFramerate !== undefined) {
1352
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
1353
+ }
1354
+ if (copyTimestamps !== undefined) {
1355
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1356
+ }
1357
+ if (startTimeTicks !== undefined) {
1358
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1359
+ }
1360
+ if (width !== undefined) {
1361
+ localVarQueryParameter['width'] = width;
1362
+ }
1363
+ if (height !== undefined) {
1364
+ localVarQueryParameter['height'] = height;
1365
+ }
1366
+ if (videoBitRate !== undefined) {
1367
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
1368
+ }
1369
+ if (subtitleStreamIndex !== undefined) {
1370
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1371
+ }
1372
+ if (subtitleMethod !== undefined) {
1373
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1374
+ }
1375
+ if (maxRefFrames !== undefined) {
1376
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1377
+ }
1378
+ if (maxVideoBitDepth !== undefined) {
1379
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1380
+ }
1381
+ if (requireAvc !== undefined) {
1382
+ localVarQueryParameter['requireAvc'] = requireAvc;
1383
+ }
1384
+ if (deInterlace !== undefined) {
1385
+ localVarQueryParameter['deInterlace'] = deInterlace;
1386
+ }
1387
+ if (requireNonAnamorphic !== undefined) {
1388
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1389
+ }
1390
+ if (transcodingMaxAudioChannels !== undefined) {
1391
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1392
+ }
1393
+ if (cpuCoreLimit !== undefined) {
1394
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1395
+ }
1396
+ if (liveStreamId !== undefined) {
1397
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
1398
+ }
1399
+ if (enableMpegtsM2TsMode !== undefined) {
1400
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1401
+ }
1402
+ if (videoCodec !== undefined) {
1403
+ localVarQueryParameter['videoCodec'] = videoCodec;
1404
+ }
1405
+ if (subtitleCodec !== undefined) {
1406
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1407
+ }
1408
+ if (transcodeReasons !== undefined) {
1409
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1410
+ }
1411
+ if (audioStreamIndex !== undefined) {
1412
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1413
+ }
1414
+ if (videoStreamIndex !== undefined) {
1415
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1416
+ }
1417
+ if (context !== undefined) {
1418
+ localVarQueryParameter['context'] = context;
1419
+ }
1420
+ if (streamOptions !== undefined) {
1421
+ localVarQueryParameter['streamOptions'] = streamOptions;
1422
+ }
1423
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1424
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1425
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1426
+ return {
1427
+ url: toPathString(localVarUrlObj),
1428
+ options: localVarRequestOptions,
1429
+ };
1430
+ }),
1572
1431
  /**
1573
1432
  *
1574
1433
  * @summary Gets a video stream using HTTP live streaming.
@@ -1625,187 +1484,177 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
1625
1484
  * @param {*} [options] Override http request option.
1626
1485
  * @throws {RequiredError}
1627
1486
  */
1628
- getVariantHlsVideoPlaylist: function (itemId, _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) {
1629
- if (options === void 0) { options = {}; }
1630
- return __awaiter(_this, void 0, void 0, function () {
1631
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1632
- return __generator(this, function (_a) {
1633
- switch (_a.label) {
1634
- case 0:
1635
- // verify required parameter 'itemId' is not null or undefined
1636
- (0, common_1.assertParamExists)('getVariantHlsVideoPlaylist', 'itemId', itemId);
1637
- localVarPath = "/Videos/{itemId}/main.m3u8"
1638
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
1639
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1640
- if (configuration) {
1641
- baseOptions = configuration.baseOptions;
1642
- }
1643
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1644
- localVarHeaderParameter = {};
1645
- localVarQueryParameter = {};
1646
- // authentication CustomAuthentication required
1647
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
1648
- case 1:
1649
- // authentication CustomAuthentication required
1650
- _a.sent();
1651
- if (_static !== undefined) {
1652
- localVarQueryParameter['static'] = _static;
1653
- }
1654
- if (params !== undefined) {
1655
- localVarQueryParameter['params'] = params;
1656
- }
1657
- if (tag !== undefined) {
1658
- localVarQueryParameter['tag'] = tag;
1659
- }
1660
- if (deviceProfileId !== undefined) {
1661
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1662
- }
1663
- if (playSessionId !== undefined) {
1664
- localVarQueryParameter['playSessionId'] = playSessionId;
1665
- }
1666
- if (segmentContainer !== undefined) {
1667
- localVarQueryParameter['segmentContainer'] = segmentContainer;
1668
- }
1669
- if (segmentLength !== undefined) {
1670
- localVarQueryParameter['segmentLength'] = segmentLength;
1671
- }
1672
- if (minSegments !== undefined) {
1673
- localVarQueryParameter['minSegments'] = minSegments;
1674
- }
1675
- if (mediaSourceId !== undefined) {
1676
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1677
- }
1678
- if (deviceId !== undefined) {
1679
- localVarQueryParameter['deviceId'] = deviceId;
1680
- }
1681
- if (audioCodec !== undefined) {
1682
- localVarQueryParameter['audioCodec'] = audioCodec;
1683
- }
1684
- if (enableAutoStreamCopy !== undefined) {
1685
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1686
- }
1687
- if (allowVideoStreamCopy !== undefined) {
1688
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1689
- }
1690
- if (allowAudioStreamCopy !== undefined) {
1691
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1692
- }
1693
- if (breakOnNonKeyFrames !== undefined) {
1694
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1695
- }
1696
- if (audioSampleRate !== undefined) {
1697
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1698
- }
1699
- if (maxAudioBitDepth !== undefined) {
1700
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1701
- }
1702
- if (audioBitRate !== undefined) {
1703
- localVarQueryParameter['audioBitRate'] = audioBitRate;
1704
- }
1705
- if (audioChannels !== undefined) {
1706
- localVarQueryParameter['audioChannels'] = audioChannels;
1707
- }
1708
- if (maxAudioChannels !== undefined) {
1709
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1710
- }
1711
- if (profile !== undefined) {
1712
- localVarQueryParameter['profile'] = profile;
1713
- }
1714
- if (level !== undefined) {
1715
- localVarQueryParameter['level'] = level;
1716
- }
1717
- if (framerate !== undefined) {
1718
- localVarQueryParameter['framerate'] = framerate;
1719
- }
1720
- if (maxFramerate !== undefined) {
1721
- localVarQueryParameter['maxFramerate'] = maxFramerate;
1722
- }
1723
- if (copyTimestamps !== undefined) {
1724
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1725
- }
1726
- if (startTimeTicks !== undefined) {
1727
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1728
- }
1729
- if (width !== undefined) {
1730
- localVarQueryParameter['width'] = width;
1731
- }
1732
- if (height !== undefined) {
1733
- localVarQueryParameter['height'] = height;
1734
- }
1735
- if (maxWidth !== undefined) {
1736
- localVarQueryParameter['maxWidth'] = maxWidth;
1737
- }
1738
- if (maxHeight !== undefined) {
1739
- localVarQueryParameter['maxHeight'] = maxHeight;
1740
- }
1741
- if (videoBitRate !== undefined) {
1742
- localVarQueryParameter['videoBitRate'] = videoBitRate;
1743
- }
1744
- if (subtitleStreamIndex !== undefined) {
1745
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1746
- }
1747
- if (subtitleMethod !== undefined) {
1748
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1749
- }
1750
- if (maxRefFrames !== undefined) {
1751
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1752
- }
1753
- if (maxVideoBitDepth !== undefined) {
1754
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1755
- }
1756
- if (requireAvc !== undefined) {
1757
- localVarQueryParameter['requireAvc'] = requireAvc;
1758
- }
1759
- if (deInterlace !== undefined) {
1760
- localVarQueryParameter['deInterlace'] = deInterlace;
1761
- }
1762
- if (requireNonAnamorphic !== undefined) {
1763
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1764
- }
1765
- if (transcodingMaxAudioChannels !== undefined) {
1766
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1767
- }
1768
- if (cpuCoreLimit !== undefined) {
1769
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1770
- }
1771
- if (liveStreamId !== undefined) {
1772
- localVarQueryParameter['liveStreamId'] = liveStreamId;
1773
- }
1774
- if (enableMpegtsM2TsMode !== undefined) {
1775
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1776
- }
1777
- if (videoCodec !== undefined) {
1778
- localVarQueryParameter['videoCodec'] = videoCodec;
1779
- }
1780
- if (subtitleCodec !== undefined) {
1781
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1782
- }
1783
- if (transcodeReasons !== undefined) {
1784
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1785
- }
1786
- if (audioStreamIndex !== undefined) {
1787
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1788
- }
1789
- if (videoStreamIndex !== undefined) {
1790
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1791
- }
1792
- if (context !== undefined) {
1793
- localVarQueryParameter['context'] = context;
1794
- }
1795
- if (streamOptions !== undefined) {
1796
- localVarQueryParameter['streamOptions'] = streamOptions;
1797
- }
1798
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
1799
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1800
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1801
- return [2 /*return*/, {
1802
- url: (0, common_1.toPathString)(localVarUrlObj),
1803
- options: localVarRequestOptions,
1804
- }];
1805
- }
1806
- });
1807
- });
1808
- },
1487
+ getVariantHlsVideoPlaylist: (itemId, _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 = {}) => __awaiter(this, void 0, void 0, function* () {
1488
+ // verify required parameter 'itemId' is not null or undefined
1489
+ assertParamExists('getVariantHlsVideoPlaylist', 'itemId', itemId);
1490
+ const localVarPath = `/Videos/{itemId}/main.m3u8`
1491
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
1492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1494
+ let baseOptions;
1495
+ if (configuration) {
1496
+ baseOptions = configuration.baseOptions;
1497
+ }
1498
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1499
+ const localVarHeaderParameter = {};
1500
+ const localVarQueryParameter = {};
1501
+ // authentication CustomAuthentication required
1502
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1503
+ if (_static !== undefined) {
1504
+ localVarQueryParameter['static'] = _static;
1505
+ }
1506
+ if (params !== undefined) {
1507
+ localVarQueryParameter['params'] = params;
1508
+ }
1509
+ if (tag !== undefined) {
1510
+ localVarQueryParameter['tag'] = tag;
1511
+ }
1512
+ if (deviceProfileId !== undefined) {
1513
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1514
+ }
1515
+ if (playSessionId !== undefined) {
1516
+ localVarQueryParameter['playSessionId'] = playSessionId;
1517
+ }
1518
+ if (segmentContainer !== undefined) {
1519
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
1520
+ }
1521
+ if (segmentLength !== undefined) {
1522
+ localVarQueryParameter['segmentLength'] = segmentLength;
1523
+ }
1524
+ if (minSegments !== undefined) {
1525
+ localVarQueryParameter['minSegments'] = minSegments;
1526
+ }
1527
+ if (mediaSourceId !== undefined) {
1528
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1529
+ }
1530
+ if (deviceId !== undefined) {
1531
+ localVarQueryParameter['deviceId'] = deviceId;
1532
+ }
1533
+ if (audioCodec !== undefined) {
1534
+ localVarQueryParameter['audioCodec'] = audioCodec;
1535
+ }
1536
+ if (enableAutoStreamCopy !== undefined) {
1537
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1538
+ }
1539
+ if (allowVideoStreamCopy !== undefined) {
1540
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1541
+ }
1542
+ if (allowAudioStreamCopy !== undefined) {
1543
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1544
+ }
1545
+ if (breakOnNonKeyFrames !== undefined) {
1546
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1547
+ }
1548
+ if (audioSampleRate !== undefined) {
1549
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1550
+ }
1551
+ if (maxAudioBitDepth !== undefined) {
1552
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1553
+ }
1554
+ if (audioBitRate !== undefined) {
1555
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
1556
+ }
1557
+ if (audioChannels !== undefined) {
1558
+ localVarQueryParameter['audioChannels'] = audioChannels;
1559
+ }
1560
+ if (maxAudioChannels !== undefined) {
1561
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1562
+ }
1563
+ if (profile !== undefined) {
1564
+ localVarQueryParameter['profile'] = profile;
1565
+ }
1566
+ if (level !== undefined) {
1567
+ localVarQueryParameter['level'] = level;
1568
+ }
1569
+ if (framerate !== undefined) {
1570
+ localVarQueryParameter['framerate'] = framerate;
1571
+ }
1572
+ if (maxFramerate !== undefined) {
1573
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
1574
+ }
1575
+ if (copyTimestamps !== undefined) {
1576
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1577
+ }
1578
+ if (startTimeTicks !== undefined) {
1579
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1580
+ }
1581
+ if (width !== undefined) {
1582
+ localVarQueryParameter['width'] = width;
1583
+ }
1584
+ if (height !== undefined) {
1585
+ localVarQueryParameter['height'] = height;
1586
+ }
1587
+ if (maxWidth !== undefined) {
1588
+ localVarQueryParameter['maxWidth'] = maxWidth;
1589
+ }
1590
+ if (maxHeight !== undefined) {
1591
+ localVarQueryParameter['maxHeight'] = maxHeight;
1592
+ }
1593
+ if (videoBitRate !== undefined) {
1594
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
1595
+ }
1596
+ if (subtitleStreamIndex !== undefined) {
1597
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1598
+ }
1599
+ if (subtitleMethod !== undefined) {
1600
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1601
+ }
1602
+ if (maxRefFrames !== undefined) {
1603
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1604
+ }
1605
+ if (maxVideoBitDepth !== undefined) {
1606
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1607
+ }
1608
+ if (requireAvc !== undefined) {
1609
+ localVarQueryParameter['requireAvc'] = requireAvc;
1610
+ }
1611
+ if (deInterlace !== undefined) {
1612
+ localVarQueryParameter['deInterlace'] = deInterlace;
1613
+ }
1614
+ if (requireNonAnamorphic !== undefined) {
1615
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1616
+ }
1617
+ if (transcodingMaxAudioChannels !== undefined) {
1618
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1619
+ }
1620
+ if (cpuCoreLimit !== undefined) {
1621
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1622
+ }
1623
+ if (liveStreamId !== undefined) {
1624
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
1625
+ }
1626
+ if (enableMpegtsM2TsMode !== undefined) {
1627
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1628
+ }
1629
+ if (videoCodec !== undefined) {
1630
+ localVarQueryParameter['videoCodec'] = videoCodec;
1631
+ }
1632
+ if (subtitleCodec !== undefined) {
1633
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1634
+ }
1635
+ if (transcodeReasons !== undefined) {
1636
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1637
+ }
1638
+ if (audioStreamIndex !== undefined) {
1639
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1640
+ }
1641
+ if (videoStreamIndex !== undefined) {
1642
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1643
+ }
1644
+ if (context !== undefined) {
1645
+ localVarQueryParameter['context'] = context;
1646
+ }
1647
+ if (streamOptions !== undefined) {
1648
+ localVarQueryParameter['streamOptions'] = streamOptions;
1649
+ }
1650
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1651
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1652
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1653
+ return {
1654
+ url: toPathString(localVarUrlObj),
1655
+ options: localVarRequestOptions,
1656
+ };
1657
+ }),
1809
1658
  /**
1810
1659
  *
1811
1660
  * @summary Gets an audio hls playlist stream.
@@ -1862,189 +1711,179 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
1862
1711
  * @param {*} [options] Override http request option.
1863
1712
  * @throws {RequiredError}
1864
1713
  */
1865
- headMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
1866
- if (options === void 0) { options = {}; }
1867
- return __awaiter(_this, void 0, void 0, function () {
1868
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1869
- return __generator(this, function (_a) {
1870
- switch (_a.label) {
1871
- case 0:
1872
- // verify required parameter 'itemId' is not null or undefined
1873
- (0, common_1.assertParamExists)('headMasterHlsAudioPlaylist', 'itemId', itemId);
1874
- // verify required parameter 'mediaSourceId' is not null or undefined
1875
- (0, common_1.assertParamExists)('headMasterHlsAudioPlaylist', 'mediaSourceId', mediaSourceId);
1876
- localVarPath = "/Audio/{itemId}/master.m3u8"
1877
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
1878
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1879
- if (configuration) {
1880
- baseOptions = configuration.baseOptions;
1881
- }
1882
- localVarRequestOptions = __assign(__assign({ method: 'HEAD' }, baseOptions), options);
1883
- localVarHeaderParameter = {};
1884
- localVarQueryParameter = {};
1885
- // authentication CustomAuthentication required
1886
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
1887
- case 1:
1888
- // authentication CustomAuthentication required
1889
- _a.sent();
1890
- if (_static !== undefined) {
1891
- localVarQueryParameter['static'] = _static;
1892
- }
1893
- if (params !== undefined) {
1894
- localVarQueryParameter['params'] = params;
1895
- }
1896
- if (tag !== undefined) {
1897
- localVarQueryParameter['tag'] = tag;
1898
- }
1899
- if (deviceProfileId !== undefined) {
1900
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1901
- }
1902
- if (playSessionId !== undefined) {
1903
- localVarQueryParameter['playSessionId'] = playSessionId;
1904
- }
1905
- if (segmentContainer !== undefined) {
1906
- localVarQueryParameter['segmentContainer'] = segmentContainer;
1907
- }
1908
- if (segmentLength !== undefined) {
1909
- localVarQueryParameter['segmentLength'] = segmentLength;
1910
- }
1911
- if (minSegments !== undefined) {
1912
- localVarQueryParameter['minSegments'] = minSegments;
1913
- }
1914
- if (mediaSourceId !== undefined) {
1915
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1916
- }
1917
- if (deviceId !== undefined) {
1918
- localVarQueryParameter['deviceId'] = deviceId;
1919
- }
1920
- if (audioCodec !== undefined) {
1921
- localVarQueryParameter['audioCodec'] = audioCodec;
1922
- }
1923
- if (enableAutoStreamCopy !== undefined) {
1924
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1925
- }
1926
- if (allowVideoStreamCopy !== undefined) {
1927
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1928
- }
1929
- if (allowAudioStreamCopy !== undefined) {
1930
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1931
- }
1932
- if (breakOnNonKeyFrames !== undefined) {
1933
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1934
- }
1935
- if (audioSampleRate !== undefined) {
1936
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1937
- }
1938
- if (maxAudioBitDepth !== undefined) {
1939
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1940
- }
1941
- if (maxStreamingBitrate !== undefined) {
1942
- localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
1943
- }
1944
- if (audioBitRate !== undefined) {
1945
- localVarQueryParameter['audioBitRate'] = audioBitRate;
1946
- }
1947
- if (audioChannels !== undefined) {
1948
- localVarQueryParameter['audioChannels'] = audioChannels;
1949
- }
1950
- if (maxAudioChannels !== undefined) {
1951
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1952
- }
1953
- if (profile !== undefined) {
1954
- localVarQueryParameter['profile'] = profile;
1955
- }
1956
- if (level !== undefined) {
1957
- localVarQueryParameter['level'] = level;
1958
- }
1959
- if (framerate !== undefined) {
1960
- localVarQueryParameter['framerate'] = framerate;
1961
- }
1962
- if (maxFramerate !== undefined) {
1963
- localVarQueryParameter['maxFramerate'] = maxFramerate;
1964
- }
1965
- if (copyTimestamps !== undefined) {
1966
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1967
- }
1968
- if (startTimeTicks !== undefined) {
1969
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1970
- }
1971
- if (width !== undefined) {
1972
- localVarQueryParameter['width'] = width;
1973
- }
1974
- if (height !== undefined) {
1975
- localVarQueryParameter['height'] = height;
1976
- }
1977
- if (videoBitRate !== undefined) {
1978
- localVarQueryParameter['videoBitRate'] = videoBitRate;
1979
- }
1980
- if (subtitleStreamIndex !== undefined) {
1981
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1982
- }
1983
- if (subtitleMethod !== undefined) {
1984
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1985
- }
1986
- if (maxRefFrames !== undefined) {
1987
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1988
- }
1989
- if (maxVideoBitDepth !== undefined) {
1990
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1991
- }
1992
- if (requireAvc !== undefined) {
1993
- localVarQueryParameter['requireAvc'] = requireAvc;
1994
- }
1995
- if (deInterlace !== undefined) {
1996
- localVarQueryParameter['deInterlace'] = deInterlace;
1997
- }
1998
- if (requireNonAnamorphic !== undefined) {
1999
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
2000
- }
2001
- if (transcodingMaxAudioChannels !== undefined) {
2002
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
2003
- }
2004
- if (cpuCoreLimit !== undefined) {
2005
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
2006
- }
2007
- if (liveStreamId !== undefined) {
2008
- localVarQueryParameter['liveStreamId'] = liveStreamId;
2009
- }
2010
- if (enableMpegtsM2TsMode !== undefined) {
2011
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
2012
- }
2013
- if (videoCodec !== undefined) {
2014
- localVarQueryParameter['videoCodec'] = videoCodec;
2015
- }
2016
- if (subtitleCodec !== undefined) {
2017
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
2018
- }
2019
- if (transcodeReasons !== undefined) {
2020
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
2021
- }
2022
- if (audioStreamIndex !== undefined) {
2023
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
2024
- }
2025
- if (videoStreamIndex !== undefined) {
2026
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
2027
- }
2028
- if (context !== undefined) {
2029
- localVarQueryParameter['context'] = context;
2030
- }
2031
- if (streamOptions !== undefined) {
2032
- localVarQueryParameter['streamOptions'] = streamOptions;
2033
- }
2034
- if (enableAdaptiveBitrateStreaming !== undefined) {
2035
- localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
2036
- }
2037
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
2038
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2039
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2040
- return [2 /*return*/, {
2041
- url: (0, common_1.toPathString)(localVarUrlObj),
2042
- options: localVarRequestOptions,
2043
- }];
2044
- }
2045
- });
2046
- });
2047
- },
1714
+ headMasterHlsAudioPlaylist: (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => __awaiter(this, void 0, void 0, function* () {
1715
+ // verify required parameter 'itemId' is not null or undefined
1716
+ assertParamExists('headMasterHlsAudioPlaylist', 'itemId', itemId);
1717
+ // verify required parameter 'mediaSourceId' is not null or undefined
1718
+ assertParamExists('headMasterHlsAudioPlaylist', 'mediaSourceId', mediaSourceId);
1719
+ const localVarPath = `/Audio/{itemId}/master.m3u8`
1720
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
1721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1723
+ let baseOptions;
1724
+ if (configuration) {
1725
+ baseOptions = configuration.baseOptions;
1726
+ }
1727
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1728
+ const localVarHeaderParameter = {};
1729
+ const localVarQueryParameter = {};
1730
+ // authentication CustomAuthentication required
1731
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1732
+ if (_static !== undefined) {
1733
+ localVarQueryParameter['static'] = _static;
1734
+ }
1735
+ if (params !== undefined) {
1736
+ localVarQueryParameter['params'] = params;
1737
+ }
1738
+ if (tag !== undefined) {
1739
+ localVarQueryParameter['tag'] = tag;
1740
+ }
1741
+ if (deviceProfileId !== undefined) {
1742
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1743
+ }
1744
+ if (playSessionId !== undefined) {
1745
+ localVarQueryParameter['playSessionId'] = playSessionId;
1746
+ }
1747
+ if (segmentContainer !== undefined) {
1748
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
1749
+ }
1750
+ if (segmentLength !== undefined) {
1751
+ localVarQueryParameter['segmentLength'] = segmentLength;
1752
+ }
1753
+ if (minSegments !== undefined) {
1754
+ localVarQueryParameter['minSegments'] = minSegments;
1755
+ }
1756
+ if (mediaSourceId !== undefined) {
1757
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1758
+ }
1759
+ if (deviceId !== undefined) {
1760
+ localVarQueryParameter['deviceId'] = deviceId;
1761
+ }
1762
+ if (audioCodec !== undefined) {
1763
+ localVarQueryParameter['audioCodec'] = audioCodec;
1764
+ }
1765
+ if (enableAutoStreamCopy !== undefined) {
1766
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1767
+ }
1768
+ if (allowVideoStreamCopy !== undefined) {
1769
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
1770
+ }
1771
+ if (allowAudioStreamCopy !== undefined) {
1772
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
1773
+ }
1774
+ if (breakOnNonKeyFrames !== undefined) {
1775
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
1776
+ }
1777
+ if (audioSampleRate !== undefined) {
1778
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
1779
+ }
1780
+ if (maxAudioBitDepth !== undefined) {
1781
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
1782
+ }
1783
+ if (maxStreamingBitrate !== undefined) {
1784
+ localVarQueryParameter['maxStreamingBitrate'] = maxStreamingBitrate;
1785
+ }
1786
+ if (audioBitRate !== undefined) {
1787
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
1788
+ }
1789
+ if (audioChannels !== undefined) {
1790
+ localVarQueryParameter['audioChannels'] = audioChannels;
1791
+ }
1792
+ if (maxAudioChannels !== undefined) {
1793
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
1794
+ }
1795
+ if (profile !== undefined) {
1796
+ localVarQueryParameter['profile'] = profile;
1797
+ }
1798
+ if (level !== undefined) {
1799
+ localVarQueryParameter['level'] = level;
1800
+ }
1801
+ if (framerate !== undefined) {
1802
+ localVarQueryParameter['framerate'] = framerate;
1803
+ }
1804
+ if (maxFramerate !== undefined) {
1805
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
1806
+ }
1807
+ if (copyTimestamps !== undefined) {
1808
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
1809
+ }
1810
+ if (startTimeTicks !== undefined) {
1811
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
1812
+ }
1813
+ if (width !== undefined) {
1814
+ localVarQueryParameter['width'] = width;
1815
+ }
1816
+ if (height !== undefined) {
1817
+ localVarQueryParameter['height'] = height;
1818
+ }
1819
+ if (videoBitRate !== undefined) {
1820
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
1821
+ }
1822
+ if (subtitleStreamIndex !== undefined) {
1823
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
1824
+ }
1825
+ if (subtitleMethod !== undefined) {
1826
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
1827
+ }
1828
+ if (maxRefFrames !== undefined) {
1829
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
1830
+ }
1831
+ if (maxVideoBitDepth !== undefined) {
1832
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
1833
+ }
1834
+ if (requireAvc !== undefined) {
1835
+ localVarQueryParameter['requireAvc'] = requireAvc;
1836
+ }
1837
+ if (deInterlace !== undefined) {
1838
+ localVarQueryParameter['deInterlace'] = deInterlace;
1839
+ }
1840
+ if (requireNonAnamorphic !== undefined) {
1841
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
1842
+ }
1843
+ if (transcodingMaxAudioChannels !== undefined) {
1844
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
1845
+ }
1846
+ if (cpuCoreLimit !== undefined) {
1847
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
1848
+ }
1849
+ if (liveStreamId !== undefined) {
1850
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
1851
+ }
1852
+ if (enableMpegtsM2TsMode !== undefined) {
1853
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
1854
+ }
1855
+ if (videoCodec !== undefined) {
1856
+ localVarQueryParameter['videoCodec'] = videoCodec;
1857
+ }
1858
+ if (subtitleCodec !== undefined) {
1859
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
1860
+ }
1861
+ if (transcodeReasons !== undefined) {
1862
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
1863
+ }
1864
+ if (audioStreamIndex !== undefined) {
1865
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
1866
+ }
1867
+ if (videoStreamIndex !== undefined) {
1868
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
1869
+ }
1870
+ if (context !== undefined) {
1871
+ localVarQueryParameter['context'] = context;
1872
+ }
1873
+ if (streamOptions !== undefined) {
1874
+ localVarQueryParameter['streamOptions'] = streamOptions;
1875
+ }
1876
+ if (enableAdaptiveBitrateStreaming !== undefined) {
1877
+ localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
1878
+ }
1879
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1880
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1881
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1882
+ return {
1883
+ url: toPathString(localVarUrlObj),
1884
+ options: localVarRequestOptions,
1885
+ };
1886
+ }),
2048
1887
  /**
2049
1888
  *
2050
1889
  * @summary Gets a video hls playlist stream.
@@ -2102,201 +1941,190 @@ var DynamicHlsApiAxiosParamCreator = function (configuration) {
2102
1941
  * @param {*} [options] Override http request option.
2103
1942
  * @throws {RequiredError}
2104
1943
  */
2105
- headMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
2106
- if (options === void 0) { options = {}; }
2107
- return __awaiter(_this, void 0, void 0, function () {
2108
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2109
- return __generator(this, function (_a) {
2110
- switch (_a.label) {
2111
- case 0:
2112
- // verify required parameter 'itemId' is not null or undefined
2113
- (0, common_1.assertParamExists)('headMasterHlsVideoPlaylist', 'itemId', itemId);
2114
- // verify required parameter 'mediaSourceId' is not null or undefined
2115
- (0, common_1.assertParamExists)('headMasterHlsVideoPlaylist', 'mediaSourceId', mediaSourceId);
2116
- localVarPath = "/Videos/{itemId}/master.m3u8"
2117
- .replace("{".concat("itemId", "}"), encodeURIComponent(String(itemId)));
2118
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2119
- if (configuration) {
2120
- baseOptions = configuration.baseOptions;
2121
- }
2122
- localVarRequestOptions = __assign(__assign({ method: 'HEAD' }, baseOptions), options);
2123
- localVarHeaderParameter = {};
2124
- localVarQueryParameter = {};
2125
- // authentication CustomAuthentication required
2126
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2127
- case 1:
2128
- // authentication CustomAuthentication required
2129
- _a.sent();
2130
- if (_static !== undefined) {
2131
- localVarQueryParameter['static'] = _static;
2132
- }
2133
- if (params !== undefined) {
2134
- localVarQueryParameter['params'] = params;
2135
- }
2136
- if (tag !== undefined) {
2137
- localVarQueryParameter['tag'] = tag;
2138
- }
2139
- if (deviceProfileId !== undefined) {
2140
- localVarQueryParameter['deviceProfileId'] = deviceProfileId;
2141
- }
2142
- if (playSessionId !== undefined) {
2143
- localVarQueryParameter['playSessionId'] = playSessionId;
2144
- }
2145
- if (segmentContainer !== undefined) {
2146
- localVarQueryParameter['segmentContainer'] = segmentContainer;
2147
- }
2148
- if (segmentLength !== undefined) {
2149
- localVarQueryParameter['segmentLength'] = segmentLength;
2150
- }
2151
- if (minSegments !== undefined) {
2152
- localVarQueryParameter['minSegments'] = minSegments;
2153
- }
2154
- if (mediaSourceId !== undefined) {
2155
- localVarQueryParameter['mediaSourceId'] = mediaSourceId;
2156
- }
2157
- if (deviceId !== undefined) {
2158
- localVarQueryParameter['deviceId'] = deviceId;
2159
- }
2160
- if (audioCodec !== undefined) {
2161
- localVarQueryParameter['audioCodec'] = audioCodec;
2162
- }
2163
- if (enableAutoStreamCopy !== undefined) {
2164
- localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
2165
- }
2166
- if (allowVideoStreamCopy !== undefined) {
2167
- localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
2168
- }
2169
- if (allowAudioStreamCopy !== undefined) {
2170
- localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
2171
- }
2172
- if (breakOnNonKeyFrames !== undefined) {
2173
- localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
2174
- }
2175
- if (audioSampleRate !== undefined) {
2176
- localVarQueryParameter['audioSampleRate'] = audioSampleRate;
2177
- }
2178
- if (maxAudioBitDepth !== undefined) {
2179
- localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
2180
- }
2181
- if (audioBitRate !== undefined) {
2182
- localVarQueryParameter['audioBitRate'] = audioBitRate;
2183
- }
2184
- if (audioChannels !== undefined) {
2185
- localVarQueryParameter['audioChannels'] = audioChannels;
2186
- }
2187
- if (maxAudioChannels !== undefined) {
2188
- localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
2189
- }
2190
- if (profile !== undefined) {
2191
- localVarQueryParameter['profile'] = profile;
2192
- }
2193
- if (level !== undefined) {
2194
- localVarQueryParameter['level'] = level;
2195
- }
2196
- if (framerate !== undefined) {
2197
- localVarQueryParameter['framerate'] = framerate;
2198
- }
2199
- if (maxFramerate !== undefined) {
2200
- localVarQueryParameter['maxFramerate'] = maxFramerate;
2201
- }
2202
- if (copyTimestamps !== undefined) {
2203
- localVarQueryParameter['copyTimestamps'] = copyTimestamps;
2204
- }
2205
- if (startTimeTicks !== undefined) {
2206
- localVarQueryParameter['startTimeTicks'] = startTimeTicks;
2207
- }
2208
- if (width !== undefined) {
2209
- localVarQueryParameter['width'] = width;
2210
- }
2211
- if (height !== undefined) {
2212
- localVarQueryParameter['height'] = height;
2213
- }
2214
- if (maxWidth !== undefined) {
2215
- localVarQueryParameter['maxWidth'] = maxWidth;
2216
- }
2217
- if (maxHeight !== undefined) {
2218
- localVarQueryParameter['maxHeight'] = maxHeight;
2219
- }
2220
- if (videoBitRate !== undefined) {
2221
- localVarQueryParameter['videoBitRate'] = videoBitRate;
2222
- }
2223
- if (subtitleStreamIndex !== undefined) {
2224
- localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
2225
- }
2226
- if (subtitleMethod !== undefined) {
2227
- localVarQueryParameter['subtitleMethod'] = subtitleMethod;
2228
- }
2229
- if (maxRefFrames !== undefined) {
2230
- localVarQueryParameter['maxRefFrames'] = maxRefFrames;
2231
- }
2232
- if (maxVideoBitDepth !== undefined) {
2233
- localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
2234
- }
2235
- if (requireAvc !== undefined) {
2236
- localVarQueryParameter['requireAvc'] = requireAvc;
2237
- }
2238
- if (deInterlace !== undefined) {
2239
- localVarQueryParameter['deInterlace'] = deInterlace;
2240
- }
2241
- if (requireNonAnamorphic !== undefined) {
2242
- localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
2243
- }
2244
- if (transcodingMaxAudioChannels !== undefined) {
2245
- localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
2246
- }
2247
- if (cpuCoreLimit !== undefined) {
2248
- localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
2249
- }
2250
- if (liveStreamId !== undefined) {
2251
- localVarQueryParameter['liveStreamId'] = liveStreamId;
2252
- }
2253
- if (enableMpegtsM2TsMode !== undefined) {
2254
- localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
2255
- }
2256
- if (videoCodec !== undefined) {
2257
- localVarQueryParameter['videoCodec'] = videoCodec;
2258
- }
2259
- if (subtitleCodec !== undefined) {
2260
- localVarQueryParameter['subtitleCodec'] = subtitleCodec;
2261
- }
2262
- if (transcodeReasons !== undefined) {
2263
- localVarQueryParameter['transcodeReasons'] = transcodeReasons;
2264
- }
2265
- if (audioStreamIndex !== undefined) {
2266
- localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
2267
- }
2268
- if (videoStreamIndex !== undefined) {
2269
- localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
2270
- }
2271
- if (context !== undefined) {
2272
- localVarQueryParameter['context'] = context;
2273
- }
2274
- if (streamOptions !== undefined) {
2275
- localVarQueryParameter['streamOptions'] = streamOptions;
2276
- }
2277
- if (enableAdaptiveBitrateStreaming !== undefined) {
2278
- localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
2279
- }
2280
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
2281
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2282
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2283
- return [2 /*return*/, {
2284
- url: (0, common_1.toPathString)(localVarUrlObj),
2285
- options: localVarRequestOptions,
2286
- }];
2287
- }
2288
- });
2289
- });
2290
- },
1944
+ headMasterHlsVideoPlaylist: (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options = {}) => __awaiter(this, void 0, void 0, function* () {
1945
+ // verify required parameter 'itemId' is not null or undefined
1946
+ assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId);
1947
+ // verify required parameter 'mediaSourceId' is not null or undefined
1948
+ assertParamExists('headMasterHlsVideoPlaylist', 'mediaSourceId', mediaSourceId);
1949
+ const localVarPath = `/Videos/{itemId}/master.m3u8`
1950
+ .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
1951
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1952
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1953
+ let baseOptions;
1954
+ if (configuration) {
1955
+ baseOptions = configuration.baseOptions;
1956
+ }
1957
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1958
+ const localVarHeaderParameter = {};
1959
+ const localVarQueryParameter = {};
1960
+ // authentication CustomAuthentication required
1961
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1962
+ if (_static !== undefined) {
1963
+ localVarQueryParameter['static'] = _static;
1964
+ }
1965
+ if (params !== undefined) {
1966
+ localVarQueryParameter['params'] = params;
1967
+ }
1968
+ if (tag !== undefined) {
1969
+ localVarQueryParameter['tag'] = tag;
1970
+ }
1971
+ if (deviceProfileId !== undefined) {
1972
+ localVarQueryParameter['deviceProfileId'] = deviceProfileId;
1973
+ }
1974
+ if (playSessionId !== undefined) {
1975
+ localVarQueryParameter['playSessionId'] = playSessionId;
1976
+ }
1977
+ if (segmentContainer !== undefined) {
1978
+ localVarQueryParameter['segmentContainer'] = segmentContainer;
1979
+ }
1980
+ if (segmentLength !== undefined) {
1981
+ localVarQueryParameter['segmentLength'] = segmentLength;
1982
+ }
1983
+ if (minSegments !== undefined) {
1984
+ localVarQueryParameter['minSegments'] = minSegments;
1985
+ }
1986
+ if (mediaSourceId !== undefined) {
1987
+ localVarQueryParameter['mediaSourceId'] = mediaSourceId;
1988
+ }
1989
+ if (deviceId !== undefined) {
1990
+ localVarQueryParameter['deviceId'] = deviceId;
1991
+ }
1992
+ if (audioCodec !== undefined) {
1993
+ localVarQueryParameter['audioCodec'] = audioCodec;
1994
+ }
1995
+ if (enableAutoStreamCopy !== undefined) {
1996
+ localVarQueryParameter['enableAutoStreamCopy'] = enableAutoStreamCopy;
1997
+ }
1998
+ if (allowVideoStreamCopy !== undefined) {
1999
+ localVarQueryParameter['allowVideoStreamCopy'] = allowVideoStreamCopy;
2000
+ }
2001
+ if (allowAudioStreamCopy !== undefined) {
2002
+ localVarQueryParameter['allowAudioStreamCopy'] = allowAudioStreamCopy;
2003
+ }
2004
+ if (breakOnNonKeyFrames !== undefined) {
2005
+ localVarQueryParameter['breakOnNonKeyFrames'] = breakOnNonKeyFrames;
2006
+ }
2007
+ if (audioSampleRate !== undefined) {
2008
+ localVarQueryParameter['audioSampleRate'] = audioSampleRate;
2009
+ }
2010
+ if (maxAudioBitDepth !== undefined) {
2011
+ localVarQueryParameter['maxAudioBitDepth'] = maxAudioBitDepth;
2012
+ }
2013
+ if (audioBitRate !== undefined) {
2014
+ localVarQueryParameter['audioBitRate'] = audioBitRate;
2015
+ }
2016
+ if (audioChannels !== undefined) {
2017
+ localVarQueryParameter['audioChannels'] = audioChannels;
2018
+ }
2019
+ if (maxAudioChannels !== undefined) {
2020
+ localVarQueryParameter['maxAudioChannels'] = maxAudioChannels;
2021
+ }
2022
+ if (profile !== undefined) {
2023
+ localVarQueryParameter['profile'] = profile;
2024
+ }
2025
+ if (level !== undefined) {
2026
+ localVarQueryParameter['level'] = level;
2027
+ }
2028
+ if (framerate !== undefined) {
2029
+ localVarQueryParameter['framerate'] = framerate;
2030
+ }
2031
+ if (maxFramerate !== undefined) {
2032
+ localVarQueryParameter['maxFramerate'] = maxFramerate;
2033
+ }
2034
+ if (copyTimestamps !== undefined) {
2035
+ localVarQueryParameter['copyTimestamps'] = copyTimestamps;
2036
+ }
2037
+ if (startTimeTicks !== undefined) {
2038
+ localVarQueryParameter['startTimeTicks'] = startTimeTicks;
2039
+ }
2040
+ if (width !== undefined) {
2041
+ localVarQueryParameter['width'] = width;
2042
+ }
2043
+ if (height !== undefined) {
2044
+ localVarQueryParameter['height'] = height;
2045
+ }
2046
+ if (maxWidth !== undefined) {
2047
+ localVarQueryParameter['maxWidth'] = maxWidth;
2048
+ }
2049
+ if (maxHeight !== undefined) {
2050
+ localVarQueryParameter['maxHeight'] = maxHeight;
2051
+ }
2052
+ if (videoBitRate !== undefined) {
2053
+ localVarQueryParameter['videoBitRate'] = videoBitRate;
2054
+ }
2055
+ if (subtitleStreamIndex !== undefined) {
2056
+ localVarQueryParameter['subtitleStreamIndex'] = subtitleStreamIndex;
2057
+ }
2058
+ if (subtitleMethod !== undefined) {
2059
+ localVarQueryParameter['subtitleMethod'] = subtitleMethod;
2060
+ }
2061
+ if (maxRefFrames !== undefined) {
2062
+ localVarQueryParameter['maxRefFrames'] = maxRefFrames;
2063
+ }
2064
+ if (maxVideoBitDepth !== undefined) {
2065
+ localVarQueryParameter['maxVideoBitDepth'] = maxVideoBitDepth;
2066
+ }
2067
+ if (requireAvc !== undefined) {
2068
+ localVarQueryParameter['requireAvc'] = requireAvc;
2069
+ }
2070
+ if (deInterlace !== undefined) {
2071
+ localVarQueryParameter['deInterlace'] = deInterlace;
2072
+ }
2073
+ if (requireNonAnamorphic !== undefined) {
2074
+ localVarQueryParameter['requireNonAnamorphic'] = requireNonAnamorphic;
2075
+ }
2076
+ if (transcodingMaxAudioChannels !== undefined) {
2077
+ localVarQueryParameter['transcodingMaxAudioChannels'] = transcodingMaxAudioChannels;
2078
+ }
2079
+ if (cpuCoreLimit !== undefined) {
2080
+ localVarQueryParameter['cpuCoreLimit'] = cpuCoreLimit;
2081
+ }
2082
+ if (liveStreamId !== undefined) {
2083
+ localVarQueryParameter['liveStreamId'] = liveStreamId;
2084
+ }
2085
+ if (enableMpegtsM2TsMode !== undefined) {
2086
+ localVarQueryParameter['enableMpegtsM2TsMode'] = enableMpegtsM2TsMode;
2087
+ }
2088
+ if (videoCodec !== undefined) {
2089
+ localVarQueryParameter['videoCodec'] = videoCodec;
2090
+ }
2091
+ if (subtitleCodec !== undefined) {
2092
+ localVarQueryParameter['subtitleCodec'] = subtitleCodec;
2093
+ }
2094
+ if (transcodeReasons !== undefined) {
2095
+ localVarQueryParameter['transcodeReasons'] = transcodeReasons;
2096
+ }
2097
+ if (audioStreamIndex !== undefined) {
2098
+ localVarQueryParameter['audioStreamIndex'] = audioStreamIndex;
2099
+ }
2100
+ if (videoStreamIndex !== undefined) {
2101
+ localVarQueryParameter['videoStreamIndex'] = videoStreamIndex;
2102
+ }
2103
+ if (context !== undefined) {
2104
+ localVarQueryParameter['context'] = context;
2105
+ }
2106
+ if (streamOptions !== undefined) {
2107
+ localVarQueryParameter['streamOptions'] = streamOptions;
2108
+ }
2109
+ if (enableAdaptiveBitrateStreaming !== undefined) {
2110
+ localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
2111
+ }
2112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2114
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2115
+ return {
2116
+ url: toPathString(localVarUrlObj),
2117
+ options: localVarRequestOptions,
2118
+ };
2119
+ }),
2291
2120
  };
2292
2121
  };
2293
- exports.DynamicHlsApiAxiosParamCreator = DynamicHlsApiAxiosParamCreator;
2294
2122
  /**
2295
2123
  * DynamicHlsApi - functional programming interface
2296
2124
  * @export
2297
2125
  */
2298
- var DynamicHlsApiFp = function (configuration) {
2299
- var localVarAxiosParamCreator = (0, exports.DynamicHlsApiAxiosParamCreator)(configuration);
2126
+ const DynamicHlsApiFp = function (configuration) {
2127
+ const localVarAxiosParamCreator = DynamicHlsApiAxiosParamCreator(configuration);
2300
2128
  return {
2301
2129
  /**
2302
2130
  *
@@ -2358,17 +2186,10 @@ var DynamicHlsApiFp = function (configuration) {
2358
2186
  * @param {*} [options] Override http request option.
2359
2187
  * @throws {RequiredError}
2360
2188
  */
2361
- getHlsAudioSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2362
- return __awaiter(this, void 0, void 0, function () {
2363
- var localVarAxiosArgs;
2364
- return __generator(this, function (_a) {
2365
- switch (_a.label) {
2366
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options)];
2367
- case 1:
2368
- localVarAxiosArgs = _a.sent();
2369
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2370
- }
2371
- });
2189
+ getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2190
+ return __awaiter(this, void 0, void 0, function* () {
2191
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2192
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2372
2193
  });
2373
2194
  },
2374
2195
  /**
@@ -2432,17 +2253,10 @@ var DynamicHlsApiFp = function (configuration) {
2432
2253
  * @param {*} [options] Override http request option.
2433
2254
  * @throws {RequiredError}
2434
2255
  */
2435
- getHlsVideoSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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) {
2436
- return __awaiter(this, void 0, void 0, function () {
2437
- var localVarAxiosArgs;
2438
- return __generator(this, function (_a) {
2439
- switch (_a.label) {
2440
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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)];
2441
- case 1:
2442
- localVarAxiosArgs = _a.sent();
2443
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2444
- }
2445
- });
2256
+ getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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) {
2257
+ return __awaiter(this, void 0, void 0, function* () {
2258
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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);
2259
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2446
2260
  });
2447
2261
  },
2448
2262
  /**
@@ -2503,17 +2317,10 @@ var DynamicHlsApiFp = function (configuration) {
2503
2317
  * @param {*} [options] Override http request option.
2504
2318
  * @throws {RequiredError}
2505
2319
  */
2506
- getLiveHlsStream: function (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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
2507
- return __awaiter(this, void 0, void 0, function () {
2508
- var localVarAxiosArgs;
2509
- return __generator(this, function (_a) {
2510
- switch (_a.label) {
2511
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options)];
2512
- case 1:
2513
- localVarAxiosArgs = _a.sent();
2514
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2515
- }
2516
- });
2320
+ getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
2321
+ return __awaiter(this, void 0, void 0, function* () {
2322
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options);
2323
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2517
2324
  });
2518
2325
  },
2519
2326
  /**
@@ -2572,17 +2379,10 @@ var DynamicHlsApiFp = function (configuration) {
2572
2379
  * @param {*} [options] Override http request option.
2573
2380
  * @throws {RequiredError}
2574
2381
  */
2575
- getMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2576
- return __awaiter(this, void 0, void 0, function () {
2577
- var localVarAxiosArgs;
2578
- return __generator(this, function (_a) {
2579
- switch (_a.label) {
2580
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options)];
2581
- case 1:
2582
- localVarAxiosArgs = _a.sent();
2583
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2584
- }
2585
- });
2382
+ getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2383
+ return __awaiter(this, void 0, void 0, function* () {
2384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2385
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2586
2386
  });
2587
2387
  },
2588
2388
  /**
@@ -2642,17 +2442,10 @@ var DynamicHlsApiFp = function (configuration) {
2642
2442
  * @param {*} [options] Override http request option.
2643
2443
  * @throws {RequiredError}
2644
2444
  */
2645
- getMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
2646
- return __awaiter(this, void 0, void 0, function () {
2647
- var localVarAxiosArgs;
2648
- return __generator(this, function (_a) {
2649
- switch (_a.label) {
2650
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options)];
2651
- case 1:
2652
- localVarAxiosArgs = _a.sent();
2653
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2654
- }
2655
- });
2445
+ getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
2446
+ return __awaiter(this, void 0, void 0, function* () {
2447
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options);
2448
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2656
2449
  });
2657
2450
  },
2658
2451
  /**
@@ -2710,17 +2503,10 @@ var DynamicHlsApiFp = function (configuration) {
2710
2503
  * @param {*} [options] Override http request option.
2711
2504
  * @throws {RequiredError}
2712
2505
  */
2713
- getVariantHlsAudioPlaylist: function (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2714
- return __awaiter(this, void 0, void 0, function () {
2715
- var localVarAxiosArgs;
2716
- return __generator(this, function (_a) {
2717
- switch (_a.label) {
2718
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options)];
2719
- case 1:
2720
- localVarAxiosArgs = _a.sent();
2721
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2722
- }
2723
- });
2506
+ getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2507
+ return __awaiter(this, void 0, void 0, function* () {
2508
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2509
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2724
2510
  });
2725
2511
  },
2726
2512
  /**
@@ -2779,17 +2565,10 @@ var DynamicHlsApiFp = function (configuration) {
2779
2565
  * @param {*} [options] Override http request option.
2780
2566
  * @throws {RequiredError}
2781
2567
  */
2782
- getVariantHlsVideoPlaylist: function (itemId, _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) {
2783
- return __awaiter(this, void 0, void 0, function () {
2784
- var localVarAxiosArgs;
2785
- return __generator(this, function (_a) {
2786
- switch (_a.label) {
2787
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getVariantHlsVideoPlaylist(itemId, _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)];
2788
- case 1:
2789
- localVarAxiosArgs = _a.sent();
2790
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2791
- }
2792
- });
2568
+ getVariantHlsVideoPlaylist(itemId, _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) {
2569
+ return __awaiter(this, void 0, void 0, function* () {
2570
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getVariantHlsVideoPlaylist(itemId, _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);
2571
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2793
2572
  });
2794
2573
  },
2795
2574
  /**
@@ -2848,17 +2627,10 @@ var DynamicHlsApiFp = function (configuration) {
2848
2627
  * @param {*} [options] Override http request option.
2849
2628
  * @throws {RequiredError}
2850
2629
  */
2851
- headMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2852
- return __awaiter(this, void 0, void 0, function () {
2853
- var localVarAxiosArgs;
2854
- return __generator(this, function (_a) {
2855
- switch (_a.label) {
2856
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options)];
2857
- case 1:
2858
- localVarAxiosArgs = _a.sent();
2859
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2860
- }
2861
- });
2630
+ headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2631
+ return __awaiter(this, void 0, void 0, function* () {
2632
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2633
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2862
2634
  });
2863
2635
  },
2864
2636
  /**
@@ -2918,28 +2690,20 @@ var DynamicHlsApiFp = function (configuration) {
2918
2690
  * @param {*} [options] Override http request option.
2919
2691
  * @throws {RequiredError}
2920
2692
  */
2921
- headMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
2922
- return __awaiter(this, void 0, void 0, function () {
2923
- var localVarAxiosArgs;
2924
- return __generator(this, function (_a) {
2925
- switch (_a.label) {
2926
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options)];
2927
- case 1:
2928
- localVarAxiosArgs = _a.sent();
2929
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2930
- }
2931
- });
2693
+ headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
2694
+ return __awaiter(this, void 0, void 0, function* () {
2695
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options);
2696
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2932
2697
  });
2933
2698
  },
2934
2699
  };
2935
2700
  };
2936
- exports.DynamicHlsApiFp = DynamicHlsApiFp;
2937
2701
  /**
2938
2702
  * DynamicHlsApi - factory interface
2939
2703
  * @export
2940
2704
  */
2941
- var DynamicHlsApiFactory = function (configuration, basePath, axios) {
2942
- var localVarFp = (0, exports.DynamicHlsApiFp)(configuration);
2705
+ const DynamicHlsApiFactory = function (configuration, basePath, axios) {
2706
+ const localVarFp = DynamicHlsApiFp(configuration);
2943
2707
  return {
2944
2708
  /**
2945
2709
  *
@@ -3001,8 +2765,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3001
2765
  * @param {*} [options] Override http request option.
3002
2766
  * @throws {RequiredError}
3003
2767
  */
3004
- getHlsAudioSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
3005
- return localVarFp.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then(function (request) { return request(axios, basePath); });
2768
+ getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2769
+ return localVarFp.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, 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));
3006
2770
  },
3007
2771
  /**
3008
2772
  *
@@ -3065,8 +2829,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3065
2829
  * @param {*} [options] Override http request option.
3066
2830
  * @throws {RequiredError}
3067
2831
  */
3068
- getHlsVideoSegment: function (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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) {
3069
- return localVarFp.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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(function (request) { return request(axios, basePath); });
2832
+ getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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) {
2833
+ return localVarFp.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _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));
3070
2834
  },
3071
2835
  /**
3072
2836
  *
@@ -3126,8 +2890,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3126
2890
  * @param {*} [options] Override http request option.
3127
2891
  * @throws {RequiredError}
3128
2892
  */
3129
- getLiveHlsStream: function (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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
3130
- return localVarFp.getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options).then(function (request) { return request(axios, basePath); });
2893
+ getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
2894
+ return localVarFp.getLiveHlsStream(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, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options).then((request) => request(axios, basePath));
3131
2895
  },
3132
2896
  /**
3133
2897
  *
@@ -3185,8 +2949,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3185
2949
  * @param {*} [options] Override http request option.
3186
2950
  * @throws {RequiredError}
3187
2951
  */
3188
- getMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
3189
- return localVarFp.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then(function (request) { return request(axios, basePath); });
2952
+ getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2953
+ return localVarFp.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath));
3190
2954
  },
3191
2955
  /**
3192
2956
  *
@@ -3245,8 +3009,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3245
3009
  * @param {*} [options] Override http request option.
3246
3010
  * @throws {RequiredError}
3247
3011
  */
3248
- getMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
3249
- return localVarFp.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options).then(function (request) { return request(axios, basePath); });
3012
+ getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
3013
+ return localVarFp.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath));
3250
3014
  },
3251
3015
  /**
3252
3016
  *
@@ -3303,8 +3067,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3303
3067
  * @param {*} [options] Override http request option.
3304
3068
  * @throws {RequiredError}
3305
3069
  */
3306
- getVariantHlsAudioPlaylist: function (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
3307
- return localVarFp.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options).then(function (request) { return request(axios, basePath); });
3070
+ getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
3071
+ return localVarFp.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, 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));
3308
3072
  },
3309
3073
  /**
3310
3074
  *
@@ -3362,8 +3126,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3362
3126
  * @param {*} [options] Override http request option.
3363
3127
  * @throws {RequiredError}
3364
3128
  */
3365
- getVariantHlsVideoPlaylist: function (itemId, _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) {
3366
- return localVarFp.getVariantHlsVideoPlaylist(itemId, _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(function (request) { return request(axios, basePath); });
3129
+ getVariantHlsVideoPlaylist(itemId, _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) {
3130
+ return localVarFp.getVariantHlsVideoPlaylist(itemId, _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));
3367
3131
  },
3368
3132
  /**
3369
3133
  *
@@ -3421,8 +3185,8 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3421
3185
  * @param {*} [options] Override http request option.
3422
3186
  * @throws {RequiredError}
3423
3187
  */
3424
- headMasterHlsAudioPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
3425
- return localVarFp.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then(function (request) { return request(axios, basePath); });
3188
+ headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
3189
+ return localVarFp.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath));
3426
3190
  },
3427
3191
  /**
3428
3192
  *
@@ -3481,23 +3245,18 @@ var DynamicHlsApiFactory = function (configuration, basePath, axios) {
3481
3245
  * @param {*} [options] Override http request option.
3482
3246
  * @throws {RequiredError}
3483
3247
  */
3484
- headMasterHlsVideoPlaylist: function (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
3485
- return localVarFp.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options).then(function (request) { return request(axios, basePath); });
3248
+ headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options) {
3249
+ return localVarFp.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, 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, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath));
3486
3250
  },
3487
3251
  };
3488
3252
  };
3489
- exports.DynamicHlsApiFactory = DynamicHlsApiFactory;
3490
3253
  /**
3491
3254
  * DynamicHlsApi - object-oriented interface
3492
3255
  * @export
3493
3256
  * @class DynamicHlsApi
3494
3257
  * @extends {BaseAPI}
3495
3258
  */
3496
- var DynamicHlsApi = /** @class */ (function (_super) {
3497
- __extends(DynamicHlsApi, _super);
3498
- function DynamicHlsApi() {
3499
- return _super !== null && _super.apply(this, arguments) || this;
3500
- }
3259
+ class DynamicHlsApi extends BaseAPI {
3501
3260
  /**
3502
3261
  *
3503
3262
  * @summary Gets a video stream using HTTP live streaming.
@@ -3506,10 +3265,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3506
3265
  * @throws {RequiredError}
3507
3266
  * @memberof DynamicHlsApi
3508
3267
  */
3509
- DynamicHlsApi.prototype.getHlsAudioSegment = function (requestParameters, options) {
3510
- var _this = this;
3511
- return (0, exports.DynamicHlsApiFp)(this.configuration).getHlsAudioSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, 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.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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(function (request) { return request(_this.axios, _this.basePath); });
3512
- };
3268
+ getHlsAudioSegment(requestParameters, options) {
3269
+ return DynamicHlsApiFp(this.configuration).getHlsAudioSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, 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.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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));
3270
+ }
3513
3271
  /**
3514
3272
  *
3515
3273
  * @summary Gets a video stream using HTTP live streaming.
@@ -3518,10 +3276,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3518
3276
  * @throws {RequiredError}
3519
3277
  * @memberof DynamicHlsApi
3520
3278
  */
3521
- DynamicHlsApi.prototype.getHlsVideoSegment = function (requestParameters, options) {
3522
- var _this = this;
3523
- return (0, exports.DynamicHlsApiFp)(this.configuration).getHlsVideoSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, 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(function (request) { return request(_this.axios, _this.basePath); });
3524
- };
3279
+ getHlsVideoSegment(requestParameters, options) {
3280
+ return DynamicHlsApiFp(this.configuration).getHlsVideoSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, 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));
3281
+ }
3525
3282
  /**
3526
3283
  *
3527
3284
  * @summary Gets a hls live stream.
@@ -3530,10 +3287,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3530
3287
  * @throws {RequiredError}
3531
3288
  * @memberof DynamicHlsApi
3532
3289
  */
3533
- DynamicHlsApi.prototype.getLiveHlsStream = function (requestParameters, options) {
3534
- var _this = this;
3535
- return (0, exports.DynamicHlsApiFp)(this.configuration).getLiveHlsStream(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.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.maxWidth, requestParameters.maxHeight, requestParameters.enableSubtitlesInManifest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3536
- };
3290
+ getLiveHlsStream(requestParameters, options) {
3291
+ return DynamicHlsApiFp(this.configuration).getLiveHlsStream(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.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.maxWidth, requestParameters.maxHeight, requestParameters.enableSubtitlesInManifest, options).then((request) => request(this.axios, this.basePath));
3292
+ }
3537
3293
  /**
3538
3294
  *
3539
3295
  * @summary Gets an audio hls playlist stream.
@@ -3542,10 +3298,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3542
3298
  * @throws {RequiredError}
3543
3299
  * @memberof DynamicHlsApi
3544
3300
  */
3545
- DynamicHlsApi.prototype.getMasterHlsAudioPlaylist = function (requestParameters, options) {
3546
- var _this = this;
3547
- return (0, exports.DynamicHlsApiFp)(this.configuration).getMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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.enableAdaptiveBitrateStreaming, options).then(function (request) { return request(_this.axios, _this.basePath); });
3548
- };
3301
+ getMasterHlsAudioPlaylist(requestParameters, options) {
3302
+ return DynamicHlsApiFp(this.configuration).getMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
3303
+ }
3549
3304
  /**
3550
3305
  *
3551
3306
  * @summary Gets a video hls playlist stream.
@@ -3554,10 +3309,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3554
3309
  * @throws {RequiredError}
3555
3310
  * @memberof DynamicHlsApi
3556
3311
  */
3557
- DynamicHlsApi.prototype.getMasterHlsVideoPlaylist = function (requestParameters, options) {
3558
- var _this = this;
3559
- return (0, exports.DynamicHlsApiFp)(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, 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.enableAdaptiveBitrateStreaming, options).then(function (request) { return request(_this.axios, _this.basePath); });
3560
- };
3312
+ getMasterHlsVideoPlaylist(requestParameters, options) {
3313
+ return DynamicHlsApiFp(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, 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.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
3314
+ }
3561
3315
  /**
3562
3316
  *
3563
3317
  * @summary Gets an audio stream using HTTP live streaming.
@@ -3566,10 +3320,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3566
3320
  * @throws {RequiredError}
3567
3321
  * @memberof DynamicHlsApi
3568
3322
  */
3569
- DynamicHlsApi.prototype.getVariantHlsAudioPlaylist = function (requestParameters, options) {
3570
- var _this = this;
3571
- return (0, exports.DynamicHlsApiFp)(this.configuration).getVariantHlsAudioPlaylist(requestParameters.itemId, 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.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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(function (request) { return request(_this.axios, _this.basePath); });
3572
- };
3323
+ getVariantHlsAudioPlaylist(requestParameters, options) {
3324
+ return DynamicHlsApiFp(this.configuration).getVariantHlsAudioPlaylist(requestParameters.itemId, 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.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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));
3325
+ }
3573
3326
  /**
3574
3327
  *
3575
3328
  * @summary Gets a video stream using HTTP live streaming.
@@ -3578,10 +3331,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3578
3331
  * @throws {RequiredError}
3579
3332
  * @memberof DynamicHlsApi
3580
3333
  */
3581
- DynamicHlsApi.prototype.getVariantHlsVideoPlaylist = function (requestParameters, options) {
3582
- var _this = this;
3583
- return (0, exports.DynamicHlsApiFp)(this.configuration).getVariantHlsVideoPlaylist(requestParameters.itemId, 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(function (request) { return request(_this.axios, _this.basePath); });
3584
- };
3334
+ getVariantHlsVideoPlaylist(requestParameters, options) {
3335
+ return DynamicHlsApiFp(this.configuration).getVariantHlsVideoPlaylist(requestParameters.itemId, 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));
3336
+ }
3585
3337
  /**
3586
3338
  *
3587
3339
  * @summary Gets an audio hls playlist stream.
@@ -3590,10 +3342,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3590
3342
  * @throws {RequiredError}
3591
3343
  * @memberof DynamicHlsApi
3592
3344
  */
3593
- DynamicHlsApi.prototype.headMasterHlsAudioPlaylist = function (requestParameters, options) {
3594
- var _this = this;
3595
- return (0, exports.DynamicHlsApiFp)(this.configuration).headMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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.enableAdaptiveBitrateStreaming, options).then(function (request) { return request(_this.axios, _this.basePath); });
3596
- };
3345
+ headMasterHlsAudioPlaylist(requestParameters, options) {
3346
+ return DynamicHlsApiFp(this.configuration).headMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, 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.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
3347
+ }
3597
3348
  /**
3598
3349
  *
3599
3350
  * @summary Gets a video hls playlist stream.
@@ -3602,10 +3353,9 @@ var DynamicHlsApi = /** @class */ (function (_super) {
3602
3353
  * @throws {RequiredError}
3603
3354
  * @memberof DynamicHlsApi
3604
3355
  */
3605
- DynamicHlsApi.prototype.headMasterHlsVideoPlaylist = function (requestParameters, options) {
3606
- var _this = this;
3607
- return (0, exports.DynamicHlsApiFp)(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, 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.enableAdaptiveBitrateStreaming, options).then(function (request) { return request(_this.axios, _this.basePath); });
3608
- };
3609
- return DynamicHlsApi;
3610
- }(base_1.BaseAPI));
3611
- exports.DynamicHlsApi = DynamicHlsApi;
3356
+ headMasterHlsVideoPlaylist(requestParameters, options) {
3357
+ return DynamicHlsApiFp(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, 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.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
3358
+ }
3359
+ }
3360
+
3361
+ export { DynamicHlsApi, DynamicHlsApiAxiosParamCreator, DynamicHlsApiFactory, DynamicHlsApiFp };