@jellyfin/sdk 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/README.md +10 -0
  2. package/lib/api.d.ts +0 -11
  3. package/lib/api.js +0 -14
  4. package/lib/discovery/discovery-service.js +4 -9
  5. package/lib/discovery/recommended-server-discovery.js +17 -22
  6. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  7. package/lib/generated-client/api/activity-log-api.js +15 -18
  8. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  9. package/lib/generated-client/api/api-key-api.js +40 -38
  10. package/lib/generated-client/api/artists-api.d.ts +27 -90
  11. package/lib/generated-client/api/artists-api.js +43 -104
  12. package/lib/generated-client/api/audio-api.d.ts +81 -249
  13. package/lib/generated-client/api/audio-api.js +105 -266
  14. package/lib/generated-client/api/branding-api.d.ts +16 -16
  15. package/lib/generated-client/api/branding-api.js +31 -29
  16. package/lib/generated-client/api/channels-api.d.ts +33 -51
  17. package/lib/generated-client/api/channels-api.js +68 -82
  18. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  19. package/lib/generated-client/api/client-log-api.js +17 -17
  20. package/lib/generated-client/api/collection-api.d.ts +19 -24
  21. package/lib/generated-client/api/collection-api.js +43 -46
  22. package/lib/generated-client/api/configuration-api.d.ts +28 -29
  23. package/lib/generated-client/api/configuration-api.js +65 -62
  24. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  25. package/lib/generated-client/api/dashboard-api.js +28 -27
  26. package/lib/generated-client/api/devices-api.d.ts +31 -33
  27. package/lib/generated-client/api/devices-api.js +71 -68
  28. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  29. package/lib/generated-client/api/display-preferences-api.js +29 -33
  30. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  31. package/lib/generated-client/api/dynamic-hls-api.js +269 -628
  32. package/lib/generated-client/api/environment-api.d.ts +33 -35
  33. package/lib/generated-client/api/environment-api.js +76 -73
  34. package/lib/generated-client/api/filter-api.d.ts +17 -29
  35. package/lib/generated-client/api/filter-api.js +29 -40
  36. package/lib/generated-client/api/genres-api.d.ts +20 -38
  37. package/lib/generated-client/api/genres-api.js +29 -46
  38. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  39. package/lib/generated-client/api/hls-segment-api.js +68 -71
  40. package/lib/generated-client/api/image-api.d.ts +206 -644
  41. package/lib/generated-client/api/image-api.js +501 -903
  42. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  43. package/lib/generated-client/api/instant-mix-api.js +113 -162
  44. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  45. package/lib/generated-client/api/item-lookup-api.js +155 -147
  46. package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
  47. package/lib/generated-client/api/item-refresh-api.js +15 -19
  48. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  49. package/lib/generated-client/api/item-update-api.js +43 -43
  50. package/lib/generated-client/api/items-api.d.ts +44 -137
  51. package/lib/generated-client/api/items-api.js +63 -156
  52. package/lib/generated-client/api/library-api.d.ts +185 -170
  53. package/lib/generated-client/api/library-api.js +378 -359
  54. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  55. package/lib/generated-client/api/library-structure-api.js +110 -113
  56. package/lib/generated-client/api/live-tv-api.d.ts +224 -332
  57. package/lib/generated-client/api/live-tv-api.js +558 -626
  58. package/lib/generated-client/api/localization-api.d.ts +23 -23
  59. package/lib/generated-client/api/localization-api.js +45 -42
  60. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  61. package/lib/generated-client/api/lyrics-api.js +87 -85
  62. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  63. package/lib/generated-client/api/media-info-api.js +77 -95
  64. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  65. package/lib/generated-client/api/media-segments-api.js +123 -0
  66. package/lib/generated-client/api/movies-api.d.ts +10 -14
  67. package/lib/generated-client/api/movies-api.js +15 -19
  68. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  69. package/lib/generated-client/api/music-genres-api.js +29 -46
  70. package/lib/generated-client/api/package-api.d.ts +33 -37
  71. package/lib/generated-client/api/package-api.js +79 -78
  72. package/lib/generated-client/api/persons-api.d.ts +18 -31
  73. package/lib/generated-client/api/persons-api.js +29 -41
  74. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  75. package/lib/generated-client/api/playlists-api.js +207 -154
  76. package/lib/generated-client/api/playstate-api.d.ts +54 -80
  77. package/lib/generated-client/api/playstate-api.js +127 -145
  78. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  79. package/lib/generated-client/api/plugins-api.js +124 -120
  80. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  81. package/lib/generated-client/api/quick-connect-api.js +48 -46
  82. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  83. package/lib/generated-client/api/remote-image-api.js +43 -48
  84. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  85. package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
  86. package/lib/generated-client/api/search-api.d.ts +11 -28
  87. package/lib/generated-client/api/search-api.js +15 -32
  88. package/lib/generated-client/api/session-api.d.ts +90 -117
  89. package/lib/generated-client/api/session-api.js +216 -228
  90. package/lib/generated-client/api/startup-api.d.ts +37 -37
  91. package/lib/generated-client/api/startup-api.js +87 -81
  92. package/lib/generated-client/api/studios-api.d.ts +18 -35
  93. package/lib/generated-client/api/studios-api.js +29 -45
  94. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  95. package/lib/generated-client/api/subtitle-api.js +136 -158
  96. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  97. package/lib/generated-client/api/suggestions-api.js +15 -20
  98. package/lib/generated-client/api/sync-play-api.d.ts +120 -120
  99. package/lib/generated-client/api/sync-play-api.js +280 -260
  100. package/lib/generated-client/api/system-api.d.ts +49 -49
  101. package/lib/generated-client/api/system-api.js +111 -102
  102. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  103. package/lib/generated-client/api/time-sync-api.js +11 -11
  104. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  105. package/lib/generated-client/api/tmdb-api.js +12 -12
  106. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  107. package/lib/generated-client/api/trailers-api.js +15 -98
  108. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  109. package/lib/generated-client/api/trickplay-api.js +29 -33
  110. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  111. package/lib/generated-client/api/tv-shows-api.js +57 -99
  112. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  113. package/lib/generated-client/api/universal-audio-api.js +41 -64
  114. package/lib/generated-client/api/user-api.d.ts +83 -88
  115. package/lib/generated-client/api/user-api.js +186 -178
  116. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  117. package/lib/generated-client/api/user-library-api.js +141 -151
  118. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  119. package/lib/generated-client/api/user-views-api.js +29 -31
  120. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  121. package/lib/generated-client/api/video-attachments-api.js +14 -16
  122. package/lib/generated-client/api/videos-api.d.ts +97 -274
  123. package/lib/generated-client/api/videos-api.js +147 -314
  124. package/lib/generated-client/api/years-api.d.ts +21 -36
  125. package/lib/generated-client/api/years-api.js +29 -43
  126. package/lib/generated-client/api.d.ts +1 -0
  127. package/lib/generated-client/base.d.ts +15 -4
  128. package/lib/generated-client/base.js +8 -4
  129. package/lib/generated-client/common.d.ts +3 -3
  130. package/lib/generated-client/common.js +30 -24
  131. package/lib/generated-client/configuration.d.ts +8 -0
  132. package/lib/generated-client/configuration.js +1 -0
  133. package/lib/generated-client/index.js +8 -1
  134. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  135. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  136. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  137. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  138. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  139. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  142. package/lib/generated-client/models/album-info.d.ts +5 -5
  143. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  144. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  145. package/lib/generated-client/models/artist-info.d.ts +3 -3
  146. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  147. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  148. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  149. package/lib/generated-client/models/base-item-dto.d.ts +26 -26
  150. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  151. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  152. package/lib/generated-client/models/book-info.d.ts +2 -2
  153. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  154. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  155. package/lib/generated-client/models/channel-features.d.ts +3 -3
  156. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  157. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  158. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  159. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  160. package/lib/generated-client/models/container-profile.d.ts +12 -6
  161. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  162. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  163. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  164. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  165. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  166. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  167. package/lib/generated-client/models/device-info.d.ts +1 -1
  168. package/lib/generated-client/models/device-profile.d.ts +8 -8
  169. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  170. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  171. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  172. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  173. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  174. package/lib/generated-client/models/encoder-preset.js +32 -0
  175. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  176. package/lib/generated-client/models/external-id-info.d.ts +2 -1
  177. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  178. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  179. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  180. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  181. package/lib/generated-client/models/general-command.d.ts +3 -3
  182. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  183. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  184. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  185. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  186. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  187. package/lib/generated-client/models/group-update.d.ts +23 -5
  188. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  189. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  190. package/lib/generated-client/models/image-info.d.ts +1 -1
  191. package/lib/generated-client/models/image-option.d.ts +1 -1
  192. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  193. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  194. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  195. package/lib/generated-client/models/index.d.ts +13 -6
  196. package/lib/generated-client/models/index.js +7 -1
  197. package/lib/generated-client/models/installation-info.d.ts +1 -1
  198. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  199. package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
  200. package/lib/generated-client/models/library-options.d.ts +57 -3
  201. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  202. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  203. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  204. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  205. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  206. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  207. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  208. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  209. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  210. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  211. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  212. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  213. package/lib/generated-client/models/media-segment-type.js +27 -0
  214. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  215. package/lib/generated-client/models/media-stream.d.ts +17 -5
  216. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  217. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  218. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  219. package/lib/generated-client/models/movie-info.d.ts +2 -2
  220. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  221. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  222. package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
  223. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  224. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  225. package/lib/generated-client/models/package-info.d.ts +1 -1
  226. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  227. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  228. package/lib/generated-client/models/play-message.d.ts +2 -2
  229. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  230. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  231. package/lib/generated-client/models/play-request.d.ts +1 -1
  232. package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
  233. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  234. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  235. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  236. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  237. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  238. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  239. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  240. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  241. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  242. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  243. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  244. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  245. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  246. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  247. package/lib/generated-client/models/problem-details.d.ts +1 -1
  248. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  249. package/lib/generated-client/models/query-filters.d.ts +1 -1
  250. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  251. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  252. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  253. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  254. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  255. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  256. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  257. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  258. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  259. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  260. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  261. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  262. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  263. package/lib/generated-client/models/search-hint.d.ts +3 -3
  264. package/lib/generated-client/models/send-command.d.ts +1 -1
  265. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  266. package/lib/generated-client/models/series-info.d.ts +2 -2
  267. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  268. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  269. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  270. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  271. package/lib/generated-client/models/server-configuration.d.ts +8 -14
  272. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  273. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  274. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  275. package/lib/generated-client/models/session-info.d.ts +8 -8
  276. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  277. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  278. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  279. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  280. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  281. package/lib/generated-client/models/song-info.d.ts +2 -2
  282. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  283. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  284. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  285. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  286. package/lib/generated-client/models/system-info.d.ts +2 -2
  287. package/lib/generated-client/models/task-info.d.ts +3 -3
  288. package/lib/generated-client/models/task-result.d.ts +1 -1
  289. package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
  290. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  291. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  292. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  293. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  294. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  295. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  296. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  297. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  298. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  299. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  300. package/lib/generated-client/models/tonemapping-range.js +24 -0
  301. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  302. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  303. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  304. package/lib/generated-client/models/transcode-reason.js +2 -1
  305. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  306. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  307. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  308. package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
  309. package/lib/generated-client/models/type-options.d.ts +1 -1
  310. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  311. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  312. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  313. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  314. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  315. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  316. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  317. package/lib/generated-client/models/user-dto.d.ts +2 -2
  318. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  319. package/lib/generated-client/models/user-policy.d.ts +3 -3
  320. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  321. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  322. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  323. package/lib/utils/address-candidates.js +15 -10
  324. package/lib/utils/api/image-urls-api.js +16 -4
  325. package/lib/utils/api/index.d.ts +1 -0
  326. package/lib/utils/api/index.js +1 -0
  327. package/lib/utils/api/media-segments-api.d.ts +8 -0
  328. package/lib/utils/api/media-segments-api.js +12 -0
  329. package/lib/utils/index.js +1 -1
  330. package/lib/utils/url/index.d.ts +16 -3
  331. package/lib/utils/url/index.js +26 -4
  332. package/lib/versions.d.ts +1 -1
  333. package/lib/versions.js +1 -1
  334. package/package.json +13 -12
  335. package/lib/node_modules/tslib/tslib.es6.js +0 -33
@@ -1,7 +1,6 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
4
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
5
4
 
6
5
  /* tslint:disable */
7
6
  /* eslint-disable */
@@ -31,7 +30,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
31
30
  * @param {*} [options] Override http request option.
32
31
  * @throws {RequiredError}
33
32
  */
34
- addListingProvider: (pw_1, validateListings_1, validateLogin_1, listingsProviderInfo_1, ...args_1) => __awaiter(this, [pw_1, validateListings_1, validateLogin_1, listingsProviderInfo_1, ...args_1], void 0, function* (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) {
33
+ addListingProvider: async (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) => {
35
34
  const localVarPath = `/LiveTv/ListingProviders`;
36
35
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37
36
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -39,11 +38,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
39
38
  if (configuration) {
40
39
  baseOptions = configuration.baseOptions;
41
40
  }
42
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
41
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
43
42
  const localVarHeaderParameter = {};
44
43
  const localVarQueryParameter = {};
45
44
  // authentication CustomAuthentication required
46
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
45
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
47
46
  if (pw !== undefined) {
48
47
  localVarQueryParameter['pw'] = pw;
49
48
  }
@@ -56,13 +55,13 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
56
55
  localVarHeaderParameter['Content-Type'] = 'application/json';
57
56
  setSearchParams(localVarUrlObj, localVarQueryParameter);
58
57
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
58
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
60
59
  localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration);
61
60
  return {
62
61
  url: toPathString(localVarUrlObj),
63
62
  options: localVarRequestOptions,
64
63
  };
65
- }),
64
+ },
66
65
  /**
67
66
  *
68
67
  * @summary Adds a tuner host.
@@ -70,7 +69,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
70
69
  * @param {*} [options] Override http request option.
71
70
  * @throws {RequiredError}
72
71
  */
73
- addTunerHost: (tunerHostInfo_1, ...args_2) => __awaiter(this, [tunerHostInfo_1, ...args_2], void 0, function* (tunerHostInfo, options = {}) {
72
+ addTunerHost: async (tunerHostInfo, options = {}) => {
74
73
  const localVarPath = `/LiveTv/TunerHosts`;
75
74
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
76
75
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -78,21 +77,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
78
77
  if (configuration) {
79
78
  baseOptions = configuration.baseOptions;
80
79
  }
81
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
80
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
82
81
  const localVarHeaderParameter = {};
83
82
  const localVarQueryParameter = {};
84
83
  // authentication CustomAuthentication required
85
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
84
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
86
85
  localVarHeaderParameter['Content-Type'] = 'application/json';
87
86
  setSearchParams(localVarUrlObj, localVarQueryParameter);
88
87
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
89
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
88
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
90
89
  localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration);
91
90
  return {
92
91
  url: toPathString(localVarUrlObj),
93
92
  options: localVarRequestOptions,
94
93
  };
95
- }),
94
+ },
96
95
  /**
97
96
  *
98
97
  * @summary Cancels a live tv series timer.
@@ -100,7 +99,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
100
99
  * @param {*} [options] Override http request option.
101
100
  * @throws {RequiredError}
102
101
  */
103
- cancelSeriesTimer: (timerId_1, ...args_3) => __awaiter(this, [timerId_1, ...args_3], void 0, function* (timerId, options = {}) {
102
+ cancelSeriesTimer: async (timerId, options = {}) => {
104
103
  // verify required parameter 'timerId' is not null or undefined
105
104
  assertParamExists('cancelSeriesTimer', 'timerId', timerId);
106
105
  const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
@@ -111,19 +110,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
111
110
  if (configuration) {
112
111
  baseOptions = configuration.baseOptions;
113
112
  }
114
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
113
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
115
114
  const localVarHeaderParameter = {};
116
115
  const localVarQueryParameter = {};
117
116
  // authentication CustomAuthentication required
118
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
117
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
119
118
  setSearchParams(localVarUrlObj, localVarQueryParameter);
120
119
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
120
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
122
121
  return {
123
122
  url: toPathString(localVarUrlObj),
124
123
  options: localVarRequestOptions,
125
124
  };
126
- }),
125
+ },
127
126
  /**
128
127
  *
129
128
  * @summary Cancels a live tv timer.
@@ -131,7 +130,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
131
130
  * @param {*} [options] Override http request option.
132
131
  * @throws {RequiredError}
133
132
  */
134
- cancelTimer: (timerId_2, ...args_4) => __awaiter(this, [timerId_2, ...args_4], void 0, function* (timerId, options = {}) {
133
+ cancelTimer: async (timerId, options = {}) => {
135
134
  // verify required parameter 'timerId' is not null or undefined
136
135
  assertParamExists('cancelTimer', 'timerId', timerId);
137
136
  const localVarPath = `/LiveTv/Timers/{timerId}`
@@ -142,19 +141,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
142
141
  if (configuration) {
143
142
  baseOptions = configuration.baseOptions;
144
143
  }
145
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
144
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
146
145
  const localVarHeaderParameter = {};
147
146
  const localVarQueryParameter = {};
148
147
  // authentication CustomAuthentication required
149
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
148
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
150
149
  setSearchParams(localVarUrlObj, localVarQueryParameter);
151
150
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
151
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
153
152
  return {
154
153
  url: toPathString(localVarUrlObj),
155
154
  options: localVarRequestOptions,
156
155
  };
157
- }),
156
+ },
158
157
  /**
159
158
  *
160
159
  * @summary Creates a live tv series timer.
@@ -162,7 +161,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
162
161
  * @param {*} [options] Override http request option.
163
162
  * @throws {RequiredError}
164
163
  */
165
- createSeriesTimer: (seriesTimerInfoDto_1, ...args_5) => __awaiter(this, [seriesTimerInfoDto_1, ...args_5], void 0, function* (seriesTimerInfoDto, options = {}) {
164
+ createSeriesTimer: async (seriesTimerInfoDto, options = {}) => {
166
165
  const localVarPath = `/LiveTv/SeriesTimers`;
167
166
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
168
167
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -170,21 +169,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
170
169
  if (configuration) {
171
170
  baseOptions = configuration.baseOptions;
172
171
  }
173
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
172
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
174
173
  const localVarHeaderParameter = {};
175
174
  const localVarQueryParameter = {};
176
175
  // authentication CustomAuthentication required
177
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
176
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
178
177
  localVarHeaderParameter['Content-Type'] = 'application/json';
179
178
  setSearchParams(localVarUrlObj, localVarQueryParameter);
180
179
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
180
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
182
181
  localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
183
182
  return {
184
183
  url: toPathString(localVarUrlObj),
185
184
  options: localVarRequestOptions,
186
185
  };
187
- }),
186
+ },
188
187
  /**
189
188
  *
190
189
  * @summary Creates a live tv timer.
@@ -192,7 +191,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
192
191
  * @param {*} [options] Override http request option.
193
192
  * @throws {RequiredError}
194
193
  */
195
- createTimer: (timerInfoDto_1, ...args_6) => __awaiter(this, [timerInfoDto_1, ...args_6], void 0, function* (timerInfoDto, options = {}) {
194
+ createTimer: async (timerInfoDto, options = {}) => {
196
195
  const localVarPath = `/LiveTv/Timers`;
197
196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -200,21 +199,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
200
199
  if (configuration) {
201
200
  baseOptions = configuration.baseOptions;
202
201
  }
203
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
202
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
204
203
  const localVarHeaderParameter = {};
205
204
  const localVarQueryParameter = {};
206
205
  // authentication CustomAuthentication required
207
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
206
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
208
207
  localVarHeaderParameter['Content-Type'] = 'application/json';
209
208
  setSearchParams(localVarUrlObj, localVarQueryParameter);
210
209
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
210
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
212
211
  localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
213
212
  return {
214
213
  url: toPathString(localVarUrlObj),
215
214
  options: localVarRequestOptions,
216
215
  };
217
- }),
216
+ },
218
217
  /**
219
218
  *
220
219
  * @summary Delete listing provider.
@@ -222,7 +221,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
222
221
  * @param {*} [options] Override http request option.
223
222
  * @throws {RequiredError}
224
223
  */
225
- deleteListingProvider: (id_1, ...args_7) => __awaiter(this, [id_1, ...args_7], void 0, function* (id, options = {}) {
224
+ deleteListingProvider: async (id, options = {}) => {
226
225
  const localVarPath = `/LiveTv/ListingProviders`;
227
226
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
228
227
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -230,22 +229,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
230
229
  if (configuration) {
231
230
  baseOptions = configuration.baseOptions;
232
231
  }
233
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
232
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
234
233
  const localVarHeaderParameter = {};
235
234
  const localVarQueryParameter = {};
236
235
  // authentication CustomAuthentication required
237
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
236
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
238
237
  if (id !== undefined) {
239
238
  localVarQueryParameter['id'] = id;
240
239
  }
241
240
  setSearchParams(localVarUrlObj, localVarQueryParameter);
242
241
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
243
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
244
243
  return {
245
244
  url: toPathString(localVarUrlObj),
246
245
  options: localVarRequestOptions,
247
246
  };
248
- }),
247
+ },
249
248
  /**
250
249
  *
251
250
  * @summary Deletes a live tv recording.
@@ -253,7 +252,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
253
252
  * @param {*} [options] Override http request option.
254
253
  * @throws {RequiredError}
255
254
  */
256
- deleteRecording: (recordingId_1, ...args_8) => __awaiter(this, [recordingId_1, ...args_8], void 0, function* (recordingId, options = {}) {
255
+ deleteRecording: async (recordingId, options = {}) => {
257
256
  // verify required parameter 'recordingId' is not null or undefined
258
257
  assertParamExists('deleteRecording', 'recordingId', recordingId);
259
258
  const localVarPath = `/LiveTv/Recordings/{recordingId}`
@@ -264,19 +263,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
264
263
  if (configuration) {
265
264
  baseOptions = configuration.baseOptions;
266
265
  }
267
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
266
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
268
267
  const localVarHeaderParameter = {};
269
268
  const localVarQueryParameter = {};
270
269
  // authentication CustomAuthentication required
271
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
270
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
272
271
  setSearchParams(localVarUrlObj, localVarQueryParameter);
273
272
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
274
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
273
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
275
274
  return {
276
275
  url: toPathString(localVarUrlObj),
277
276
  options: localVarRequestOptions,
278
277
  };
279
- }),
278
+ },
280
279
  /**
281
280
  *
282
281
  * @summary Deletes a tuner host.
@@ -284,7 +283,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
284
283
  * @param {*} [options] Override http request option.
285
284
  * @throws {RequiredError}
286
285
  */
287
- deleteTunerHost: (id_2, ...args_9) => __awaiter(this, [id_2, ...args_9], void 0, function* (id, options = {}) {
286
+ deleteTunerHost: async (id, options = {}) => {
288
287
  const localVarPath = `/LiveTv/TunerHosts`;
289
288
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
290
289
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -292,22 +291,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
292
291
  if (configuration) {
293
292
  baseOptions = configuration.baseOptions;
294
293
  }
295
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
294
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
296
295
  const localVarHeaderParameter = {};
297
296
  const localVarQueryParameter = {};
298
297
  // authentication CustomAuthentication required
299
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
298
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
300
299
  if (id !== undefined) {
301
300
  localVarQueryParameter['id'] = id;
302
301
  }
303
302
  setSearchParams(localVarUrlObj, localVarQueryParameter);
304
303
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
305
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
304
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
306
305
  return {
307
306
  url: toPathString(localVarUrlObj),
308
307
  options: localVarRequestOptions,
309
308
  };
310
- }),
309
+ },
311
310
  /**
312
311
  *
313
312
  * @summary Discover tuners.
@@ -315,7 +314,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
315
314
  * @param {*} [options] Override http request option.
316
315
  * @throws {RequiredError}
317
316
  */
318
- discoverTuners: (newDevicesOnly_1, ...args_10) => __awaiter(this, [newDevicesOnly_1, ...args_10], void 0, function* (newDevicesOnly, options = {}) {
317
+ discoverTuners: async (newDevicesOnly, options = {}) => {
319
318
  const localVarPath = `/LiveTv/Tuners/Discover`;
320
319
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
321
320
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -323,22 +322,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
323
322
  if (configuration) {
324
323
  baseOptions = configuration.baseOptions;
325
324
  }
326
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
325
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
327
326
  const localVarHeaderParameter = {};
328
327
  const localVarQueryParameter = {};
329
328
  // authentication CustomAuthentication required
330
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
329
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
331
330
  if (newDevicesOnly !== undefined) {
332
331
  localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
333
332
  }
334
333
  setSearchParams(localVarUrlObj, localVarQueryParameter);
335
334
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
336
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
335
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
337
336
  return {
338
337
  url: toPathString(localVarUrlObj),
339
338
  options: localVarRequestOptions,
340
339
  };
341
- }),
340
+ },
342
341
  /**
343
342
  *
344
343
  * @summary Discover tuners.
@@ -346,7 +345,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
346
345
  * @param {*} [options] Override http request option.
347
346
  * @throws {RequiredError}
348
347
  */
349
- discvoverTuners: (newDevicesOnly_2, ...args_11) => __awaiter(this, [newDevicesOnly_2, ...args_11], void 0, function* (newDevicesOnly, options = {}) {
348
+ discvoverTuners: async (newDevicesOnly, options = {}) => {
350
349
  const localVarPath = `/LiveTv/Tuners/Discvover`;
351
350
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
352
351
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -354,22 +353,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
354
353
  if (configuration) {
355
354
  baseOptions = configuration.baseOptions;
356
355
  }
357
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
356
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
358
357
  const localVarHeaderParameter = {};
359
358
  const localVarQueryParameter = {};
360
359
  // authentication CustomAuthentication required
361
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
360
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
362
361
  if (newDevicesOnly !== undefined) {
363
362
  localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
364
363
  }
365
364
  setSearchParams(localVarUrlObj, localVarQueryParameter);
366
365
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
367
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
366
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
368
367
  return {
369
368
  url: toPathString(localVarUrlObj),
370
369
  options: localVarRequestOptions,
371
370
  };
372
- }),
371
+ },
373
372
  /**
374
373
  *
375
374
  * @summary Gets a live tv channel.
@@ -378,7 +377,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
378
377
  * @param {*} [options] Override http request option.
379
378
  * @throws {RequiredError}
380
379
  */
381
- getChannel: (channelId_1, userId_1, ...args_12) => __awaiter(this, [channelId_1, userId_1, ...args_12], void 0, function* (channelId, userId, options = {}) {
380
+ getChannel: async (channelId, userId, options = {}) => {
382
381
  // verify required parameter 'channelId' is not null or undefined
383
382
  assertParamExists('getChannel', 'channelId', channelId);
384
383
  const localVarPath = `/LiveTv/Channels/{channelId}`
@@ -389,22 +388,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
389
388
  if (configuration) {
390
389
  baseOptions = configuration.baseOptions;
391
390
  }
392
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
391
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
393
392
  const localVarHeaderParameter = {};
394
393
  const localVarQueryParameter = {};
395
394
  // authentication CustomAuthentication required
396
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
395
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
397
396
  if (userId !== undefined) {
398
397
  localVarQueryParameter['userId'] = userId;
399
398
  }
400
399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
401
400
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
402
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
401
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
403
402
  return {
404
403
  url: toPathString(localVarUrlObj),
405
404
  options: localVarRequestOptions,
406
405
  };
407
- }),
406
+ },
408
407
  /**
409
408
  *
410
409
  * @summary Get channel mapping options.
@@ -412,7 +411,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
412
411
  * @param {*} [options] Override http request option.
413
412
  * @throws {RequiredError}
414
413
  */
415
- getChannelMappingOptions: (providerId_1, ...args_13) => __awaiter(this, [providerId_1, ...args_13], void 0, function* (providerId, options = {}) {
414
+ getChannelMappingOptions: async (providerId, options = {}) => {
416
415
  const localVarPath = `/LiveTv/ChannelMappingOptions`;
417
416
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
418
417
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -420,29 +419,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
420
419
  if (configuration) {
421
420
  baseOptions = configuration.baseOptions;
422
421
  }
423
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
422
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
424
423
  const localVarHeaderParameter = {};
425
424
  const localVarQueryParameter = {};
426
425
  // authentication CustomAuthentication required
427
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
426
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
428
427
  if (providerId !== undefined) {
429
428
  localVarQueryParameter['providerId'] = providerId;
430
429
  }
431
430
  setSearchParams(localVarUrlObj, localVarQueryParameter);
432
431
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
433
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
434
433
  return {
435
434
  url: toPathString(localVarUrlObj),
436
435
  options: localVarRequestOptions,
437
436
  };
438
- }),
437
+ },
439
438
  /**
440
439
  *
441
440
  * @summary Gets default listings provider info.
442
441
  * @param {*} [options] Override http request option.
443
442
  * @throws {RequiredError}
444
443
  */
445
- getDefaultListingProvider: (...args_14) => __awaiter(this, [...args_14], void 0, function* (options = {}) {
444
+ getDefaultListingProvider: async (options = {}) => {
446
445
  const localVarPath = `/LiveTv/ListingProviders/Default`;
447
446
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
448
447
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -450,19 +449,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
450
449
  if (configuration) {
451
450
  baseOptions = configuration.baseOptions;
452
451
  }
453
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
452
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
454
453
  const localVarHeaderParameter = {};
455
454
  const localVarQueryParameter = {};
456
455
  // authentication CustomAuthentication required
457
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
456
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
458
457
  setSearchParams(localVarUrlObj, localVarQueryParameter);
459
458
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
460
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
459
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
461
460
  return {
462
461
  url: toPathString(localVarUrlObj),
463
462
  options: localVarRequestOptions,
464
463
  };
465
- }),
464
+ },
466
465
  /**
467
466
  *
468
467
  * @summary Gets the default values for a new timer.
@@ -470,7 +469,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
470
469
  * @param {*} [options] Override http request option.
471
470
  * @throws {RequiredError}
472
471
  */
473
- getDefaultTimer: (programId_1, ...args_15) => __awaiter(this, [programId_1, ...args_15], void 0, function* (programId, options = {}) {
472
+ getDefaultTimer: async (programId, options = {}) => {
474
473
  const localVarPath = `/LiveTv/Timers/Defaults`;
475
474
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
476
475
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -478,29 +477,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
478
477
  if (configuration) {
479
478
  baseOptions = configuration.baseOptions;
480
479
  }
481
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
480
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
482
481
  const localVarHeaderParameter = {};
483
482
  const localVarQueryParameter = {};
484
483
  // authentication CustomAuthentication required
485
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
484
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
486
485
  if (programId !== undefined) {
487
486
  localVarQueryParameter['programId'] = programId;
488
487
  }
489
488
  setSearchParams(localVarUrlObj, localVarQueryParameter);
490
489
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
491
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
490
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
492
491
  return {
493
492
  url: toPathString(localVarUrlObj),
494
493
  options: localVarRequestOptions,
495
494
  };
496
- }),
495
+ },
497
496
  /**
498
497
  *
499
498
  * @summary Get guid info.
500
499
  * @param {*} [options] Override http request option.
501
500
  * @throws {RequiredError}
502
501
  */
503
- getGuideInfo: (...args_16) => __awaiter(this, [...args_16], void 0, function* (options = {}) {
502
+ getGuideInfo: async (options = {}) => {
504
503
  const localVarPath = `/LiveTv/GuideInfo`;
505
504
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
506
505
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -508,19 +507,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
508
507
  if (configuration) {
509
508
  baseOptions = configuration.baseOptions;
510
509
  }
511
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
510
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
512
511
  const localVarHeaderParameter = {};
513
512
  const localVarQueryParameter = {};
514
513
  // authentication CustomAuthentication required
515
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
514
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
516
515
  setSearchParams(localVarUrlObj, localVarQueryParameter);
517
516
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
518
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
517
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
519
518
  return {
520
519
  url: toPathString(localVarUrlObj),
521
520
  options: localVarRequestOptions,
522
521
  };
523
- }),
522
+ },
524
523
  /**
525
524
  *
526
525
  * @summary Gets available lineups.
@@ -531,7 +530,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
531
530
  * @param {*} [options] Override http request option.
532
531
  * @throws {RequiredError}
533
532
  */
534
- getLineups: (id_3, type_1, location_1, country_1, ...args_17) => __awaiter(this, [id_3, type_1, location_1, country_1, ...args_17], void 0, function* (id, type, location, country, options = {}) {
533
+ getLineups: async (id, type, location, country, options = {}) => {
535
534
  const localVarPath = `/LiveTv/ListingProviders/Lineups`;
536
535
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
537
536
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -539,11 +538,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
539
538
  if (configuration) {
540
539
  baseOptions = configuration.baseOptions;
541
540
  }
542
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
541
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
543
542
  const localVarHeaderParameter = {};
544
543
  const localVarQueryParameter = {};
545
544
  // authentication CustomAuthentication required
546
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
545
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
547
546
  if (id !== undefined) {
548
547
  localVarQueryParameter['id'] = id;
549
548
  }
@@ -558,12 +557,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
558
557
  }
559
558
  setSearchParams(localVarUrlObj, localVarQueryParameter);
560
559
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
561
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
560
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
562
561
  return {
563
562
  url: toPathString(localVarUrlObj),
564
563
  options: localVarRequestOptions,
565
564
  };
566
- }),
565
+ },
567
566
  /**
568
567
  *
569
568
  * @summary Gets a live tv recording stream.
@@ -571,7 +570,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
571
570
  * @param {*} [options] Override http request option.
572
571
  * @throws {RequiredError}
573
572
  */
574
- getLiveRecordingFile: (recordingId_2, ...args_18) => __awaiter(this, [recordingId_2, ...args_18], void 0, function* (recordingId, options = {}) {
573
+ getLiveRecordingFile: async (recordingId, options = {}) => {
575
574
  // verify required parameter 'recordingId' is not null or undefined
576
575
  assertParamExists('getLiveRecordingFile', 'recordingId', recordingId);
577
576
  const localVarPath = `/LiveTv/LiveRecordings/{recordingId}/stream`
@@ -582,17 +581,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
582
581
  if (configuration) {
583
582
  baseOptions = configuration.baseOptions;
584
583
  }
585
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
584
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
586
585
  const localVarHeaderParameter = {};
587
586
  const localVarQueryParameter = {};
588
587
  setSearchParams(localVarUrlObj, localVarQueryParameter);
589
588
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
590
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
589
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
591
590
  return {
592
591
  url: toPathString(localVarUrlObj),
593
592
  options: localVarRequestOptions,
594
593
  };
595
- }),
594
+ },
596
595
  /**
597
596
  *
598
597
  * @summary Gets a live tv channel stream.
@@ -601,7 +600,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
601
600
  * @param {*} [options] Override http request option.
602
601
  * @throws {RequiredError}
603
602
  */
604
- getLiveStreamFile: (streamId_1, container_1, ...args_19) => __awaiter(this, [streamId_1, container_1, ...args_19], void 0, function* (streamId, container, options = {}) {
603
+ getLiveStreamFile: async (streamId, container, options = {}) => {
605
604
  // verify required parameter 'streamId' is not null or undefined
606
605
  assertParamExists('getLiveStreamFile', 'streamId', streamId);
607
606
  // verify required parameter 'container' is not null or undefined
@@ -615,17 +614,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
615
614
  if (configuration) {
616
615
  baseOptions = configuration.baseOptions;
617
616
  }
618
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
617
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
619
618
  const localVarHeaderParameter = {};
620
619
  const localVarQueryParameter = {};
621
620
  setSearchParams(localVarUrlObj, localVarQueryParameter);
622
621
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
623
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
622
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
624
623
  return {
625
624
  url: toPathString(localVarUrlObj),
626
625
  options: localVarRequestOptions,
627
626
  };
628
- }),
627
+ },
629
628
  /**
630
629
  *
631
630
  * @summary Gets available live tv channels.
@@ -653,7 +652,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
653
652
  * @param {*} [options] Override http request option.
654
653
  * @throws {RequiredError}
655
654
  */
656
- getLiveTvChannels: (type_2, userId_2, startIndex_1, isMovie_1, isSeries_1, isNews_1, isKids_1, isSports_1, limit_1, isFavorite_1, isLiked_1, isDisliked_1, enableImages_1, imageTypeLimit_1, enableImageTypes_1, fields_1, enableUserData_1, sortBy_1, sortOrder_1, enableFavoriteSorting_1, addCurrentProgram_1, ...args_20) => __awaiter(this, [type_2, userId_2, startIndex_1, isMovie_1, isSeries_1, isNews_1, isKids_1, isSports_1, limit_1, isFavorite_1, isLiked_1, isDisliked_1, enableImages_1, imageTypeLimit_1, enableImageTypes_1, fields_1, enableUserData_1, sortBy_1, sortOrder_1, enableFavoriteSorting_1, addCurrentProgram_1, ...args_20], void 0, function* (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) {
655
+ getLiveTvChannels: async (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) => {
657
656
  const localVarPath = `/LiveTv/Channels`;
658
657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
659
658
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -661,11 +660,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
661
660
  if (configuration) {
662
661
  baseOptions = configuration.baseOptions;
663
662
  }
664
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
663
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
665
664
  const localVarHeaderParameter = {};
666
665
  const localVarQueryParameter = {};
667
666
  // authentication CustomAuthentication required
668
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
667
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
669
668
  if (type !== undefined) {
670
669
  localVarQueryParameter['type'] = type;
671
670
  }
@@ -731,19 +730,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
731
730
  }
732
731
  setSearchParams(localVarUrlObj, localVarQueryParameter);
733
732
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
734
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
733
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
735
734
  return {
736
735
  url: toPathString(localVarUrlObj),
737
736
  options: localVarRequestOptions,
738
737
  };
739
- }),
738
+ },
740
739
  /**
741
740
  *
742
741
  * @summary Gets available live tv services.
743
742
  * @param {*} [options] Override http request option.
744
743
  * @throws {RequiredError}
745
744
  */
746
- getLiveTvInfo: (...args_21) => __awaiter(this, [...args_21], void 0, function* (options = {}) {
745
+ getLiveTvInfo: async (options = {}) => {
747
746
  const localVarPath = `/LiveTv/Info`;
748
747
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
749
748
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -751,19 +750,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
751
750
  if (configuration) {
752
751
  baseOptions = configuration.baseOptions;
753
752
  }
754
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
753
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
755
754
  const localVarHeaderParameter = {};
756
755
  const localVarQueryParameter = {};
757
756
  // authentication CustomAuthentication required
758
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
757
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
759
758
  setSearchParams(localVarUrlObj, localVarQueryParameter);
760
759
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
761
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
760
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
762
761
  return {
763
762
  url: toPathString(localVarUrlObj),
764
763
  options: localVarRequestOptions,
765
764
  };
766
- }),
765
+ },
767
766
  /**
768
767
  *
769
768
  * @summary Gets available live tv epgs.
@@ -797,7 +796,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
797
796
  * @param {*} [options] Override http request option.
798
797
  * @throws {RequiredError}
799
798
  */
800
- getLiveTvPrograms: (channelIds_1, userId_3, minStartDate_1, hasAired_1, isAiring_1, maxStartDate_1, minEndDate_1, maxEndDate_1, isMovie_2, isSeries_2, isNews_2, isKids_2, isSports_2, startIndex_2, limit_2, sortBy_2, sortOrder_2, genres_1, genreIds_1, enableImages_2, imageTypeLimit_2, enableImageTypes_2, enableUserData_2, seriesTimerId_1, librarySeriesId_1, fields_2, enableTotalRecordCount_1, ...args_22) => __awaiter(this, [channelIds_1, userId_3, minStartDate_1, hasAired_1, isAiring_1, maxStartDate_1, minEndDate_1, maxEndDate_1, isMovie_2, isSeries_2, isNews_2, isKids_2, isSports_2, startIndex_2, limit_2, sortBy_2, sortOrder_2, genres_1, genreIds_1, enableImages_2, imageTypeLimit_2, enableImageTypes_2, enableUserData_2, seriesTimerId_1, librarySeriesId_1, fields_2, enableTotalRecordCount_1, ...args_22], void 0, function* (channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options = {}) {
799
+ getLiveTvPrograms: async (channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options = {}) => {
801
800
  const localVarPath = `/LiveTv/Programs`;
802
801
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
803
802
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -805,11 +804,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
805
804
  if (configuration) {
806
805
  baseOptions = configuration.baseOptions;
807
806
  }
808
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
807
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
809
808
  const localVarHeaderParameter = {};
810
809
  const localVarQueryParameter = {};
811
810
  // authentication CustomAuthentication required
812
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
811
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
813
812
  if (channelIds) {
814
813
  localVarQueryParameter['channelIds'] = channelIds;
815
814
  }
@@ -901,12 +900,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
901
900
  }
902
901
  setSearchParams(localVarUrlObj, localVarQueryParameter);
903
902
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
904
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
903
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
905
904
  return {
906
905
  url: toPathString(localVarUrlObj),
907
906
  options: localVarRequestOptions,
908
907
  };
909
- }),
908
+ },
910
909
  /**
911
910
  *
912
911
  * @summary Gets a live tv program.
@@ -915,7 +914,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
915
914
  * @param {*} [options] Override http request option.
916
915
  * @throws {RequiredError}
917
916
  */
918
- getProgram: (programId_2, userId_4, ...args_23) => __awaiter(this, [programId_2, userId_4, ...args_23], void 0, function* (programId, userId, options = {}) {
917
+ getProgram: async (programId, userId, options = {}) => {
919
918
  // verify required parameter 'programId' is not null or undefined
920
919
  assertParamExists('getProgram', 'programId', programId);
921
920
  const localVarPath = `/LiveTv/Programs/{programId}`
@@ -926,22 +925,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
926
925
  if (configuration) {
927
926
  baseOptions = configuration.baseOptions;
928
927
  }
929
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
928
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
930
929
  const localVarHeaderParameter = {};
931
930
  const localVarQueryParameter = {};
932
931
  // authentication CustomAuthentication required
933
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
932
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
934
933
  if (userId !== undefined) {
935
934
  localVarQueryParameter['userId'] = userId;
936
935
  }
937
936
  setSearchParams(localVarUrlObj, localVarQueryParameter);
938
937
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
939
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
938
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
940
939
  return {
941
940
  url: toPathString(localVarUrlObj),
942
941
  options: localVarRequestOptions,
943
942
  };
944
- }),
943
+ },
945
944
  /**
946
945
  *
947
946
  * @summary Gets available live tv epgs.
@@ -949,7 +948,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
949
948
  * @param {*} [options] Override http request option.
950
949
  * @throws {RequiredError}
951
950
  */
952
- getPrograms: (getProgramsDto_1, ...args_24) => __awaiter(this, [getProgramsDto_1, ...args_24], void 0, function* (getProgramsDto, options = {}) {
951
+ getPrograms: async (getProgramsDto, options = {}) => {
953
952
  const localVarPath = `/LiveTv/Programs`;
954
953
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
955
954
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -957,21 +956,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
957
956
  if (configuration) {
958
957
  baseOptions = configuration.baseOptions;
959
958
  }
960
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
959
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
961
960
  const localVarHeaderParameter = {};
962
961
  const localVarQueryParameter = {};
963
962
  // authentication CustomAuthentication required
964
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
963
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
965
964
  localVarHeaderParameter['Content-Type'] = 'application/json';
966
965
  setSearchParams(localVarUrlObj, localVarQueryParameter);
967
966
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
968
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
967
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
969
968
  localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration);
970
969
  return {
971
970
  url: toPathString(localVarUrlObj),
972
971
  options: localVarRequestOptions,
973
972
  };
974
- }),
973
+ },
975
974
  /**
976
975
  *
977
976
  * @summary Gets recommended live tv epgs.
@@ -994,7 +993,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
994
993
  * @param {*} [options] Override http request option.
995
994
  * @throws {RequiredError}
996
995
  */
997
- getRecommendedPrograms: (userId_5, limit_3, isAiring_2, hasAired_2, isSeries_3, isMovie_3, isNews_3, isKids_3, isSports_3, enableImages_3, imageTypeLimit_3, enableImageTypes_3, genreIds_2, fields_3, enableUserData_3, enableTotalRecordCount_2, ...args_25) => __awaiter(this, [userId_5, limit_3, isAiring_2, hasAired_2, isSeries_3, isMovie_3, isNews_3, isKids_3, isSports_3, enableImages_3, imageTypeLimit_3, enableImageTypes_3, genreIds_2, fields_3, enableUserData_3, enableTotalRecordCount_2, ...args_25], void 0, function* (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) {
996
+ getRecommendedPrograms: async (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) => {
998
997
  const localVarPath = `/LiveTv/Programs/Recommended`;
999
998
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1000
999
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1002,11 +1001,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1002
1001
  if (configuration) {
1003
1002
  baseOptions = configuration.baseOptions;
1004
1003
  }
1005
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1004
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1006
1005
  const localVarHeaderParameter = {};
1007
1006
  const localVarQueryParameter = {};
1008
1007
  // authentication CustomAuthentication required
1009
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1008
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1010
1009
  if (userId !== undefined) {
1011
1010
  localVarQueryParameter['userId'] = userId;
1012
1011
  }
@@ -1057,12 +1056,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1057
1056
  }
1058
1057
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1059
1058
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1060
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1059
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1061
1060
  return {
1062
1061
  url: toPathString(localVarUrlObj),
1063
1062
  options: localVarRequestOptions,
1064
1063
  };
1065
- }),
1064
+ },
1066
1065
  /**
1067
1066
  *
1068
1067
  * @summary Gets a live tv recording.
@@ -1071,7 +1070,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1071
1070
  * @param {*} [options] Override http request option.
1072
1071
  * @throws {RequiredError}
1073
1072
  */
1074
- getRecording: (recordingId_3, userId_6, ...args_26) => __awaiter(this, [recordingId_3, userId_6, ...args_26], void 0, function* (recordingId, userId, options = {}) {
1073
+ getRecording: async (recordingId, userId, options = {}) => {
1075
1074
  // verify required parameter 'recordingId' is not null or undefined
1076
1075
  assertParamExists('getRecording', 'recordingId', recordingId);
1077
1076
  const localVarPath = `/LiveTv/Recordings/{recordingId}`
@@ -1082,22 +1081,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1082
1081
  if (configuration) {
1083
1082
  baseOptions = configuration.baseOptions;
1084
1083
  }
1085
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1084
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1086
1085
  const localVarHeaderParameter = {};
1087
1086
  const localVarQueryParameter = {};
1088
1087
  // authentication CustomAuthentication required
1089
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1088
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1090
1089
  if (userId !== undefined) {
1091
1090
  localVarQueryParameter['userId'] = userId;
1092
1091
  }
1093
1092
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1094
1093
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1095
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1094
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1096
1095
  return {
1097
1096
  url: toPathString(localVarUrlObj),
1098
1097
  options: localVarRequestOptions,
1099
1098
  };
1100
- }),
1099
+ },
1101
1100
  /**
1102
1101
  *
1103
1102
  * @summary Gets recording folders.
@@ -1105,7 +1104,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1105
1104
  * @param {*} [options] Override http request option.
1106
1105
  * @throws {RequiredError}
1107
1106
  */
1108
- getRecordingFolders: (userId_7, ...args_27) => __awaiter(this, [userId_7, ...args_27], void 0, function* (userId, options = {}) {
1107
+ getRecordingFolders: async (userId, options = {}) => {
1109
1108
  const localVarPath = `/LiveTv/Recordings/Folders`;
1110
1109
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1111
1110
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1113,22 +1112,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1113
1112
  if (configuration) {
1114
1113
  baseOptions = configuration.baseOptions;
1115
1114
  }
1116
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1115
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1117
1116
  const localVarHeaderParameter = {};
1118
1117
  const localVarQueryParameter = {};
1119
1118
  // authentication CustomAuthentication required
1120
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1119
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1121
1120
  if (userId !== undefined) {
1122
1121
  localVarQueryParameter['userId'] = userId;
1123
1122
  }
1124
1123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1125
1124
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1126
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1125
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1127
1126
  return {
1128
1127
  url: toPathString(localVarUrlObj),
1129
1128
  options: localVarRequestOptions,
1130
1129
  };
1131
- }),
1130
+ },
1132
1131
  /**
1133
1132
  *
1134
1133
  * @summary Get recording group.
@@ -1137,7 +1136,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1137
1136
  * @deprecated
1138
1137
  * @throws {RequiredError}
1139
1138
  */
1140
- getRecordingGroup: (groupId_1, ...args_28) => __awaiter(this, [groupId_1, ...args_28], void 0, function* (groupId, options = {}) {
1139
+ getRecordingGroup: async (groupId, options = {}) => {
1141
1140
  // verify required parameter 'groupId' is not null or undefined
1142
1141
  assertParamExists('getRecordingGroup', 'groupId', groupId);
1143
1142
  const localVarPath = `/LiveTv/Recordings/Groups/{groupId}`
@@ -1148,19 +1147,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1148
1147
  if (configuration) {
1149
1148
  baseOptions = configuration.baseOptions;
1150
1149
  }
1151
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1150
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1152
1151
  const localVarHeaderParameter = {};
1153
1152
  const localVarQueryParameter = {};
1154
1153
  // authentication CustomAuthentication required
1155
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1154
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1156
1155
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1157
1156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1158
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1157
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1159
1158
  return {
1160
1159
  url: toPathString(localVarUrlObj),
1161
1160
  options: localVarRequestOptions,
1162
1161
  };
1163
- }),
1162
+ },
1164
1163
  /**
1165
1164
  *
1166
1165
  * @summary Gets live tv recording groups.
@@ -1169,7 +1168,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1169
1168
  * @deprecated
1170
1169
  * @throws {RequiredError}
1171
1170
  */
1172
- getRecordingGroups: (userId_8, ...args_29) => __awaiter(this, [userId_8, ...args_29], void 0, function* (userId, options = {}) {
1171
+ getRecordingGroups: async (userId, options = {}) => {
1173
1172
  const localVarPath = `/LiveTv/Recordings/Groups`;
1174
1173
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1175
1174
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1177,22 +1176,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1177
1176
  if (configuration) {
1178
1177
  baseOptions = configuration.baseOptions;
1179
1178
  }
1180
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1179
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1181
1180
  const localVarHeaderParameter = {};
1182
1181
  const localVarQueryParameter = {};
1183
1182
  // authentication CustomAuthentication required
1184
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1183
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1185
1184
  if (userId !== undefined) {
1186
1185
  localVarQueryParameter['userId'] = userId;
1187
1186
  }
1188
1187
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1189
1188
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1190
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1189
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1191
1190
  return {
1192
1191
  url: toPathString(localVarUrlObj),
1193
1192
  options: localVarRequestOptions,
1194
1193
  };
1195
- }),
1194
+ },
1196
1195
  /**
1197
1196
  *
1198
1197
  * @summary Gets live tv recordings.
@@ -1218,7 +1217,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1218
1217
  * @param {*} [options] Override http request option.
1219
1218
  * @throws {RequiredError}
1220
1219
  */
1221
- getRecordings: (channelId_2, userId_9, startIndex_3, limit_4, status_1, isInProgress_1, seriesTimerId_2, enableImages_4, imageTypeLimit_4, enableImageTypes_4, fields_4, enableUserData_4, isMovie_4, isSeries_4, isKids_4, isSports_4, isNews_4, isLibraryItem_1, enableTotalRecordCount_3, ...args_30) => __awaiter(this, [channelId_2, userId_9, startIndex_3, limit_4, status_1, isInProgress_1, seriesTimerId_2, enableImages_4, imageTypeLimit_4, enableImageTypes_4, fields_4, enableUserData_4, isMovie_4, isSeries_4, isKids_4, isSports_4, isNews_4, isLibraryItem_1, enableTotalRecordCount_3, ...args_30], void 0, function* (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) {
1220
+ getRecordings: async (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) => {
1222
1221
  const localVarPath = `/LiveTv/Recordings`;
1223
1222
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1224
1223
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1226,11 +1225,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1226
1225
  if (configuration) {
1227
1226
  baseOptions = configuration.baseOptions;
1228
1227
  }
1229
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1228
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1230
1229
  const localVarHeaderParameter = {};
1231
1230
  const localVarQueryParameter = {};
1232
1231
  // authentication CustomAuthentication required
1233
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1232
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1234
1233
  if (channelId !== undefined) {
1235
1234
  localVarQueryParameter['channelId'] = channelId;
1236
1235
  }
@@ -1290,12 +1289,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1290
1289
  }
1291
1290
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1292
1291
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1293
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1292
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1294
1293
  return {
1295
1294
  url: toPathString(localVarUrlObj),
1296
1295
  options: localVarRequestOptions,
1297
1296
  };
1298
- }),
1297
+ },
1299
1298
  /**
1300
1299
  *
1301
1300
  * @summary Gets live tv recording series.
@@ -1317,7 +1316,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1317
1316
  * @deprecated
1318
1317
  * @throws {RequiredError}
1319
1318
  */
1320
- getRecordingsSeries: (channelId_3, userId_10, groupId_2, startIndex_4, limit_5, status_2, isInProgress_2, seriesTimerId_3, enableImages_5, imageTypeLimit_5, enableImageTypes_5, fields_5, enableUserData_5, enableTotalRecordCount_4, ...args_31) => __awaiter(this, [channelId_3, userId_10, groupId_2, startIndex_4, limit_5, status_2, isInProgress_2, seriesTimerId_3, enableImages_5, imageTypeLimit_5, enableImageTypes_5, fields_5, enableUserData_5, enableTotalRecordCount_4, ...args_31], void 0, function* (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) {
1319
+ getRecordingsSeries: async (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) => {
1321
1320
  const localVarPath = `/LiveTv/Recordings/Series`;
1322
1321
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1323
1322
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1325,11 +1324,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1325
1324
  if (configuration) {
1326
1325
  baseOptions = configuration.baseOptions;
1327
1326
  }
1328
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1327
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1329
1328
  const localVarHeaderParameter = {};
1330
1329
  const localVarQueryParameter = {};
1331
1330
  // authentication CustomAuthentication required
1332
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1331
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1333
1332
  if (channelId !== undefined) {
1334
1333
  localVarQueryParameter['channelId'] = channelId;
1335
1334
  }
@@ -1374,19 +1373,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1374
1373
  }
1375
1374
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1376
1375
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1377
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1376
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1378
1377
  return {
1379
1378
  url: toPathString(localVarUrlObj),
1380
1379
  options: localVarRequestOptions,
1381
1380
  };
1382
- }),
1381
+ },
1383
1382
  /**
1384
1383
  *
1385
1384
  * @summary Gets available countries.
1386
1385
  * @param {*} [options] Override http request option.
1387
1386
  * @throws {RequiredError}
1388
1387
  */
1389
- getSchedulesDirectCountries: (...args_32) => __awaiter(this, [...args_32], void 0, function* (options = {}) {
1388
+ getSchedulesDirectCountries: async (options = {}) => {
1390
1389
  const localVarPath = `/LiveTv/ListingProviders/SchedulesDirect/Countries`;
1391
1390
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1392
1391
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1394,19 +1393,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1394
1393
  if (configuration) {
1395
1394
  baseOptions = configuration.baseOptions;
1396
1395
  }
1397
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1396
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1398
1397
  const localVarHeaderParameter = {};
1399
1398
  const localVarQueryParameter = {};
1400
1399
  // authentication CustomAuthentication required
1401
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1400
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1402
1401
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1403
1402
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1404
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1403
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1405
1404
  return {
1406
1405
  url: toPathString(localVarUrlObj),
1407
1406
  options: localVarRequestOptions,
1408
1407
  };
1409
- }),
1408
+ },
1410
1409
  /**
1411
1410
  *
1412
1411
  * @summary Gets a live tv series timer.
@@ -1414,7 +1413,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1414
1413
  * @param {*} [options] Override http request option.
1415
1414
  * @throws {RequiredError}
1416
1415
  */
1417
- getSeriesTimer: (timerId_3, ...args_33) => __awaiter(this, [timerId_3, ...args_33], void 0, function* (timerId, options = {}) {
1416
+ getSeriesTimer: async (timerId, options = {}) => {
1418
1417
  // verify required parameter 'timerId' is not null or undefined
1419
1418
  assertParamExists('getSeriesTimer', 'timerId', timerId);
1420
1419
  const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
@@ -1425,19 +1424,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1425
1424
  if (configuration) {
1426
1425
  baseOptions = configuration.baseOptions;
1427
1426
  }
1428
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1427
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1429
1428
  const localVarHeaderParameter = {};
1430
1429
  const localVarQueryParameter = {};
1431
1430
  // authentication CustomAuthentication required
1432
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1431
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1433
1432
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1434
1433
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1435
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1434
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1436
1435
  return {
1437
1436
  url: toPathString(localVarUrlObj),
1438
1437
  options: localVarRequestOptions,
1439
1438
  };
1440
- }),
1439
+ },
1441
1440
  /**
1442
1441
  *
1443
1442
  * @summary Gets live tv series timers.
@@ -1446,7 +1445,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1446
1445
  * @param {*} [options] Override http request option.
1447
1446
  * @throws {RequiredError}
1448
1447
  */
1449
- getSeriesTimers: (sortBy_3, sortOrder_3, ...args_34) => __awaiter(this, [sortBy_3, sortOrder_3, ...args_34], void 0, function* (sortBy, sortOrder, options = {}) {
1448
+ getSeriesTimers: async (sortBy, sortOrder, options = {}) => {
1450
1449
  const localVarPath = `/LiveTv/SeriesTimers`;
1451
1450
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1452
1451
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1454,11 +1453,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1454
1453
  if (configuration) {
1455
1454
  baseOptions = configuration.baseOptions;
1456
1455
  }
1457
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1456
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1458
1457
  const localVarHeaderParameter = {};
1459
1458
  const localVarQueryParameter = {};
1460
1459
  // authentication CustomAuthentication required
1461
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1460
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1462
1461
  if (sortBy !== undefined) {
1463
1462
  localVarQueryParameter['sortBy'] = sortBy;
1464
1463
  }
@@ -1467,12 +1466,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1467
1466
  }
1468
1467
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1469
1468
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1470
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1469
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1471
1470
  return {
1472
1471
  url: toPathString(localVarUrlObj),
1473
1472
  options: localVarRequestOptions,
1474
1473
  };
1475
- }),
1474
+ },
1476
1475
  /**
1477
1476
  *
1478
1477
  * @summary Gets a timer.
@@ -1480,7 +1479,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1480
1479
  * @param {*} [options] Override http request option.
1481
1480
  * @throws {RequiredError}
1482
1481
  */
1483
- getTimer: (timerId_4, ...args_35) => __awaiter(this, [timerId_4, ...args_35], void 0, function* (timerId, options = {}) {
1482
+ getTimer: async (timerId, options = {}) => {
1484
1483
  // verify required parameter 'timerId' is not null or undefined
1485
1484
  assertParamExists('getTimer', 'timerId', timerId);
1486
1485
  const localVarPath = `/LiveTv/Timers/{timerId}`
@@ -1491,19 +1490,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1491
1490
  if (configuration) {
1492
1491
  baseOptions = configuration.baseOptions;
1493
1492
  }
1494
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1493
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1495
1494
  const localVarHeaderParameter = {};
1496
1495
  const localVarQueryParameter = {};
1497
1496
  // authentication CustomAuthentication required
1498
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1497
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1499
1498
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1500
1499
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1501
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1500
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1502
1501
  return {
1503
1502
  url: toPathString(localVarUrlObj),
1504
1503
  options: localVarRequestOptions,
1505
1504
  };
1506
- }),
1505
+ },
1507
1506
  /**
1508
1507
  *
1509
1508
  * @summary Gets the live tv timers.
@@ -1514,7 +1513,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1514
1513
  * @param {*} [options] Override http request option.
1515
1514
  * @throws {RequiredError}
1516
1515
  */
1517
- getTimers: (channelId_4, seriesTimerId_4, isActive_1, isScheduled_1, ...args_36) => __awaiter(this, [channelId_4, seriesTimerId_4, isActive_1, isScheduled_1, ...args_36], void 0, function* (channelId, seriesTimerId, isActive, isScheduled, options = {}) {
1516
+ getTimers: async (channelId, seriesTimerId, isActive, isScheduled, options = {}) => {
1518
1517
  const localVarPath = `/LiveTv/Timers`;
1519
1518
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1520
1519
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1522,11 +1521,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1522
1521
  if (configuration) {
1523
1522
  baseOptions = configuration.baseOptions;
1524
1523
  }
1525
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1524
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1526
1525
  const localVarHeaderParameter = {};
1527
1526
  const localVarQueryParameter = {};
1528
1527
  // authentication CustomAuthentication required
1529
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1528
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1530
1529
  if (channelId !== undefined) {
1531
1530
  localVarQueryParameter['channelId'] = channelId;
1532
1531
  }
@@ -1541,19 +1540,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1541
1540
  }
1542
1541
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1543
1542
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1544
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1543
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1545
1544
  return {
1546
1545
  url: toPathString(localVarUrlObj),
1547
1546
  options: localVarRequestOptions,
1548
1547
  };
1549
- }),
1548
+ },
1550
1549
  /**
1551
1550
  *
1552
1551
  * @summary Get tuner host types.
1553
1552
  * @param {*} [options] Override http request option.
1554
1553
  * @throws {RequiredError}
1555
1554
  */
1556
- getTunerHostTypes: (...args_37) => __awaiter(this, [...args_37], void 0, function* (options = {}) {
1555
+ getTunerHostTypes: async (options = {}) => {
1557
1556
  const localVarPath = `/LiveTv/TunerHosts/Types`;
1558
1557
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1559
1558
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1561,19 +1560,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1561
1560
  if (configuration) {
1562
1561
  baseOptions = configuration.baseOptions;
1563
1562
  }
1564
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1563
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1565
1564
  const localVarHeaderParameter = {};
1566
1565
  const localVarQueryParameter = {};
1567
1566
  // authentication CustomAuthentication required
1568
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1567
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1569
1568
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1570
1569
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1571
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1570
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1572
1571
  return {
1573
1572
  url: toPathString(localVarUrlObj),
1574
1573
  options: localVarRequestOptions,
1575
1574
  };
1576
- }),
1575
+ },
1577
1576
  /**
1578
1577
  *
1579
1578
  * @summary Resets a tv tuner.
@@ -1581,7 +1580,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1581
1580
  * @param {*} [options] Override http request option.
1582
1581
  * @throws {RequiredError}
1583
1582
  */
1584
- resetTuner: (tunerId_1, ...args_38) => __awaiter(this, [tunerId_1, ...args_38], void 0, function* (tunerId, options = {}) {
1583
+ resetTuner: async (tunerId, options = {}) => {
1585
1584
  // verify required parameter 'tunerId' is not null or undefined
1586
1585
  assertParamExists('resetTuner', 'tunerId', tunerId);
1587
1586
  const localVarPath = `/LiveTv/Tuners/{tunerId}/Reset`
@@ -1592,19 +1591,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1592
1591
  if (configuration) {
1593
1592
  baseOptions = configuration.baseOptions;
1594
1593
  }
1595
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1594
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1596
1595
  const localVarHeaderParameter = {};
1597
1596
  const localVarQueryParameter = {};
1598
1597
  // authentication CustomAuthentication required
1599
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1598
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1600
1599
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1601
1600
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1602
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1601
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1603
1602
  return {
1604
1603
  url: toPathString(localVarUrlObj),
1605
1604
  options: localVarRequestOptions,
1606
1605
  };
1607
- }),
1606
+ },
1608
1607
  /**
1609
1608
  *
1610
1609
  * @summary Set channel mappings.
@@ -1612,7 +1611,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1612
1611
  * @param {*} [options] Override http request option.
1613
1612
  * @throws {RequiredError}
1614
1613
  */
1615
- setChannelMapping: (setChannelMappingDto_1, ...args_39) => __awaiter(this, [setChannelMappingDto_1, ...args_39], void 0, function* (setChannelMappingDto, options = {}) {
1614
+ setChannelMapping: async (setChannelMappingDto, options = {}) => {
1616
1615
  // verify required parameter 'setChannelMappingDto' is not null or undefined
1617
1616
  assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto);
1618
1617
  const localVarPath = `/LiveTv/ChannelMappings`;
@@ -1622,21 +1621,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1622
1621
  if (configuration) {
1623
1622
  baseOptions = configuration.baseOptions;
1624
1623
  }
1625
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1624
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1626
1625
  const localVarHeaderParameter = {};
1627
1626
  const localVarQueryParameter = {};
1628
1627
  // authentication CustomAuthentication required
1629
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1628
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1630
1629
  localVarHeaderParameter['Content-Type'] = 'application/json';
1631
1630
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1632
1631
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1633
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1632
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1634
1633
  localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration);
1635
1634
  return {
1636
1635
  url: toPathString(localVarUrlObj),
1637
1636
  options: localVarRequestOptions,
1638
1637
  };
1639
- }),
1638
+ },
1640
1639
  /**
1641
1640
  *
1642
1641
  * @summary Updates a live tv series timer.
@@ -1645,7 +1644,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1645
1644
  * @param {*} [options] Override http request option.
1646
1645
  * @throws {RequiredError}
1647
1646
  */
1648
- updateSeriesTimer: (timerId_5, seriesTimerInfoDto_2, ...args_40) => __awaiter(this, [timerId_5, seriesTimerInfoDto_2, ...args_40], void 0, function* (timerId, seriesTimerInfoDto, options = {}) {
1647
+ updateSeriesTimer: async (timerId, seriesTimerInfoDto, options = {}) => {
1649
1648
  // verify required parameter 'timerId' is not null or undefined
1650
1649
  assertParamExists('updateSeriesTimer', 'timerId', timerId);
1651
1650
  const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
@@ -1656,21 +1655,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1656
1655
  if (configuration) {
1657
1656
  baseOptions = configuration.baseOptions;
1658
1657
  }
1659
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1658
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1660
1659
  const localVarHeaderParameter = {};
1661
1660
  const localVarQueryParameter = {};
1662
1661
  // authentication CustomAuthentication required
1663
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1662
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1664
1663
  localVarHeaderParameter['Content-Type'] = 'application/json';
1665
1664
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1666
1665
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1667
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1666
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1668
1667
  localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
1669
1668
  return {
1670
1669
  url: toPathString(localVarUrlObj),
1671
1670
  options: localVarRequestOptions,
1672
1671
  };
1673
- }),
1672
+ },
1674
1673
  /**
1675
1674
  *
1676
1675
  * @summary Updates a live tv timer.
@@ -1679,7 +1678,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1679
1678
  * @param {*} [options] Override http request option.
1680
1679
  * @throws {RequiredError}
1681
1680
  */
1682
- updateTimer: (timerId_6, timerInfoDto_2, ...args_41) => __awaiter(this, [timerId_6, timerInfoDto_2, ...args_41], void 0, function* (timerId, timerInfoDto, options = {}) {
1681
+ updateTimer: async (timerId, timerInfoDto, options = {}) => {
1683
1682
  // verify required parameter 'timerId' is not null or undefined
1684
1683
  assertParamExists('updateTimer', 'timerId', timerId);
1685
1684
  const localVarPath = `/LiveTv/Timers/{timerId}`
@@ -1690,21 +1689,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
1690
1689
  if (configuration) {
1691
1690
  baseOptions = configuration.baseOptions;
1692
1691
  }
1693
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1692
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1694
1693
  const localVarHeaderParameter = {};
1695
1694
  const localVarQueryParameter = {};
1696
1695
  // authentication CustomAuthentication required
1697
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1696
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1698
1697
  localVarHeaderParameter['Content-Type'] = 'application/json';
1699
1698
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1700
1699
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1701
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1700
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1702
1701
  localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
1703
1702
  return {
1704
1703
  url: toPathString(localVarUrlObj),
1705
1704
  options: localVarRequestOptions,
1706
1705
  };
1707
- }),
1706
+ },
1708
1707
  };
1709
1708
  };
1710
1709
  /**
@@ -1724,11 +1723,12 @@ const LiveTvApiFp = function (configuration) {
1724
1723
  * @param {*} [options] Override http request option.
1725
1724
  * @throws {RequiredError}
1726
1725
  */
1727
- addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
1728
- return __awaiter(this, void 0, void 0, function* () {
1729
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
1730
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1731
- });
1726
+ async addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
1727
+ var _a, _b, _c;
1728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
1729
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1730
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.addListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1731
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1732
1732
  },
1733
1733
  /**
1734
1734
  *
@@ -1737,11 +1737,12 @@ const LiveTvApiFp = function (configuration) {
1737
1737
  * @param {*} [options] Override http request option.
1738
1738
  * @throws {RequiredError}
1739
1739
  */
1740
- addTunerHost(tunerHostInfo, options) {
1741
- return __awaiter(this, void 0, void 0, function* () {
1742
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
1743
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1744
- });
1740
+ async addTunerHost(tunerHostInfo, options) {
1741
+ var _a, _b, _c;
1742
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
1743
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1744
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.addTunerHost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1745
1746
  },
1746
1747
  /**
1747
1748
  *
@@ -1750,11 +1751,12 @@ const LiveTvApiFp = function (configuration) {
1750
1751
  * @param {*} [options] Override http request option.
1751
1752
  * @throws {RequiredError}
1752
1753
  */
1753
- cancelSeriesTimer(timerId, options) {
1754
- return __awaiter(this, void 0, void 0, function* () {
1755
- const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
1756
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1757
- });
1754
+ async cancelSeriesTimer(timerId, options) {
1755
+ var _a, _b, _c;
1756
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
1757
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1758
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.cancelSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1759
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1758
1760
  },
1759
1761
  /**
1760
1762
  *
@@ -1763,11 +1765,12 @@ const LiveTvApiFp = function (configuration) {
1763
1765
  * @param {*} [options] Override http request option.
1764
1766
  * @throws {RequiredError}
1765
1767
  */
1766
- cancelTimer(timerId, options) {
1767
- return __awaiter(this, void 0, void 0, function* () {
1768
- const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelTimer(timerId, options);
1769
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1770
- });
1768
+ async cancelTimer(timerId, options) {
1769
+ var _a, _b, _c;
1770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelTimer(timerId, options);
1771
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1772
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.cancelTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1773
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1771
1774
  },
1772
1775
  /**
1773
1776
  *
@@ -1776,11 +1779,12 @@ const LiveTvApiFp = function (configuration) {
1776
1779
  * @param {*} [options] Override http request option.
1777
1780
  * @throws {RequiredError}
1778
1781
  */
1779
- createSeriesTimer(seriesTimerInfoDto, options) {
1780
- return __awaiter(this, void 0, void 0, function* () {
1781
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
1782
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1783
- });
1782
+ async createSeriesTimer(seriesTimerInfoDto, options) {
1783
+ var _a, _b, _c;
1784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
1785
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1786
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.createSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1787
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1784
1788
  },
1785
1789
  /**
1786
1790
  *
@@ -1789,11 +1793,12 @@ const LiveTvApiFp = function (configuration) {
1789
1793
  * @param {*} [options] Override http request option.
1790
1794
  * @throws {RequiredError}
1791
1795
  */
1792
- createTimer(timerInfoDto, options) {
1793
- return __awaiter(this, void 0, void 0, function* () {
1794
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createTimer(timerInfoDto, options);
1795
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1796
- });
1796
+ async createTimer(timerInfoDto, options) {
1797
+ var _a, _b, _c;
1798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(timerInfoDto, options);
1799
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1800
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.createTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1801
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1797
1802
  },
1798
1803
  /**
1799
1804
  *
@@ -1802,11 +1807,12 @@ const LiveTvApiFp = function (configuration) {
1802
1807
  * @param {*} [options] Override http request option.
1803
1808
  * @throws {RequiredError}
1804
1809
  */
1805
- deleteListingProvider(id, options) {
1806
- return __awaiter(this, void 0, void 0, function* () {
1807
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteListingProvider(id, options);
1808
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1809
- });
1810
+ async deleteListingProvider(id, options) {
1811
+ var _a, _b, _c;
1812
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteListingProvider(id, options);
1813
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1814
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1815
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1810
1816
  },
1811
1817
  /**
1812
1818
  *
@@ -1815,11 +1821,12 @@ const LiveTvApiFp = function (configuration) {
1815
1821
  * @param {*} [options] Override http request option.
1816
1822
  * @throws {RequiredError}
1817
1823
  */
1818
- deleteRecording(recordingId, options) {
1819
- return __awaiter(this, void 0, void 0, function* () {
1820
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRecording(recordingId, options);
1821
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1822
- });
1824
+ async deleteRecording(recordingId, options) {
1825
+ var _a, _b, _c;
1826
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(recordingId, options);
1827
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1828
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1829
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1823
1830
  },
1824
1831
  /**
1825
1832
  *
@@ -1828,11 +1835,12 @@ const LiveTvApiFp = function (configuration) {
1828
1835
  * @param {*} [options] Override http request option.
1829
1836
  * @throws {RequiredError}
1830
1837
  */
1831
- deleteTunerHost(id, options) {
1832
- return __awaiter(this, void 0, void 0, function* () {
1833
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTunerHost(id, options);
1834
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1835
- });
1838
+ async deleteTunerHost(id, options) {
1839
+ var _a, _b, _c;
1840
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTunerHost(id, options);
1841
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1842
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteTunerHost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1843
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1836
1844
  },
1837
1845
  /**
1838
1846
  *
@@ -1841,11 +1849,12 @@ const LiveTvApiFp = function (configuration) {
1841
1849
  * @param {*} [options] Override http request option.
1842
1850
  * @throws {RequiredError}
1843
1851
  */
1844
- discoverTuners(newDevicesOnly, options) {
1845
- return __awaiter(this, void 0, void 0, function* () {
1846
- const localVarAxiosArgs = yield localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
1847
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1848
- });
1852
+ async discoverTuners(newDevicesOnly, options) {
1853
+ var _a, _b, _c;
1854
+ const localVarAxiosArgs = await localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
1855
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1856
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.discoverTuners']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1857
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1849
1858
  },
1850
1859
  /**
1851
1860
  *
@@ -1854,11 +1863,12 @@ const LiveTvApiFp = function (configuration) {
1854
1863
  * @param {*} [options] Override http request option.
1855
1864
  * @throws {RequiredError}
1856
1865
  */
1857
- discvoverTuners(newDevicesOnly, options) {
1858
- return __awaiter(this, void 0, void 0, function* () {
1859
- const localVarAxiosArgs = yield localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
1860
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1861
- });
1866
+ async discvoverTuners(newDevicesOnly, options) {
1867
+ var _a, _b, _c;
1868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
1869
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1870
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.discvoverTuners']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1871
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1862
1872
  },
1863
1873
  /**
1864
1874
  *
@@ -1868,11 +1878,12 @@ const LiveTvApiFp = function (configuration) {
1868
1878
  * @param {*} [options] Override http request option.
1869
1879
  * @throws {RequiredError}
1870
1880
  */
1871
- getChannel(channelId, userId, options) {
1872
- return __awaiter(this, void 0, void 0, function* () {
1873
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannel(channelId, userId, options);
1874
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1875
- });
1881
+ async getChannel(channelId, userId, options) {
1882
+ var _a, _b, _c;
1883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getChannel(channelId, userId, options);
1884
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1885
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1886
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1876
1887
  },
1877
1888
  /**
1878
1889
  *
@@ -1881,11 +1892,12 @@ const LiveTvApiFp = function (configuration) {
1881
1892
  * @param {*} [options] Override http request option.
1882
1893
  * @throws {RequiredError}
1883
1894
  */
1884
- getChannelMappingOptions(providerId, options) {
1885
- return __awaiter(this, void 0, void 0, function* () {
1886
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
1887
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1888
- });
1895
+ async getChannelMappingOptions(providerId, options) {
1896
+ var _a, _b, _c;
1897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
1898
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1899
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getChannelMappingOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1900
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1889
1901
  },
1890
1902
  /**
1891
1903
  *
@@ -1893,11 +1905,12 @@ const LiveTvApiFp = function (configuration) {
1893
1905
  * @param {*} [options] Override http request option.
1894
1906
  * @throws {RequiredError}
1895
1907
  */
1896
- getDefaultListingProvider(options) {
1897
- return __awaiter(this, void 0, void 0, function* () {
1898
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultListingProvider(options);
1899
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1900
- });
1908
+ async getDefaultListingProvider(options) {
1909
+ var _a, _b, _c;
1910
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultListingProvider(options);
1911
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1912
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getDefaultListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1913
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1901
1914
  },
1902
1915
  /**
1903
1916
  *
@@ -1906,11 +1919,12 @@ const LiveTvApiFp = function (configuration) {
1906
1919
  * @param {*} [options] Override http request option.
1907
1920
  * @throws {RequiredError}
1908
1921
  */
1909
- getDefaultTimer(programId, options) {
1910
- return __awaiter(this, void 0, void 0, function* () {
1911
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultTimer(programId, options);
1912
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1913
- });
1922
+ async getDefaultTimer(programId, options) {
1923
+ var _a, _b, _c;
1924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTimer(programId, options);
1925
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1926
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getDefaultTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1927
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1914
1928
  },
1915
1929
  /**
1916
1930
  *
@@ -1918,11 +1932,12 @@ const LiveTvApiFp = function (configuration) {
1918
1932
  * @param {*} [options] Override http request option.
1919
1933
  * @throws {RequiredError}
1920
1934
  */
1921
- getGuideInfo(options) {
1922
- return __awaiter(this, void 0, void 0, function* () {
1923
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGuideInfo(options);
1924
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1925
- });
1935
+ async getGuideInfo(options) {
1936
+ var _a, _b, _c;
1937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGuideInfo(options);
1938
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1939
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getGuideInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1940
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1926
1941
  },
1927
1942
  /**
1928
1943
  *
@@ -1934,11 +1949,12 @@ const LiveTvApiFp = function (configuration) {
1934
1949
  * @param {*} [options] Override http request option.
1935
1950
  * @throws {RequiredError}
1936
1951
  */
1937
- getLineups(id, type, location, country, options) {
1938
- return __awaiter(this, void 0, void 0, function* () {
1939
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLineups(id, type, location, country, options);
1940
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1941
- });
1952
+ async getLineups(id, type, location, country, options) {
1953
+ var _a, _b, _c;
1954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLineups(id, type, location, country, options);
1955
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1956
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLineups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1957
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1942
1958
  },
1943
1959
  /**
1944
1960
  *
@@ -1947,11 +1963,12 @@ const LiveTvApiFp = function (configuration) {
1947
1963
  * @param {*} [options] Override http request option.
1948
1964
  * @throws {RequiredError}
1949
1965
  */
1950
- getLiveRecordingFile(recordingId, options) {
1951
- return __awaiter(this, void 0, void 0, function* () {
1952
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
1953
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1954
- });
1966
+ async getLiveRecordingFile(recordingId, options) {
1967
+ var _a, _b, _c;
1968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
1969
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1970
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveRecordingFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1971
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1955
1972
  },
1956
1973
  /**
1957
1974
  *
@@ -1961,11 +1978,12 @@ const LiveTvApiFp = function (configuration) {
1961
1978
  * @param {*} [options] Override http request option.
1962
1979
  * @throws {RequiredError}
1963
1980
  */
1964
- getLiveStreamFile(streamId, container, options) {
1965
- return __awaiter(this, void 0, void 0, function* () {
1966
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
1967
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1968
- });
1981
+ async getLiveStreamFile(streamId, container, options) {
1982
+ var _a, _b, _c;
1983
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
1984
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1985
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveStreamFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1986
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1969
1987
  },
1970
1988
  /**
1971
1989
  *
@@ -1994,11 +2012,12 @@ const LiveTvApiFp = function (configuration) {
1994
2012
  * @param {*} [options] Override http request option.
1995
2013
  * @throws {RequiredError}
1996
2014
  */
1997
- getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
1998
- return __awaiter(this, void 0, void 0, function* () {
1999
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options);
2000
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2001
- });
2015
+ async getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
2016
+ var _a, _b, _c;
2017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options);
2018
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2019
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvChannels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2020
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2002
2021
  },
2003
2022
  /**
2004
2023
  *
@@ -2006,11 +2025,12 @@ const LiveTvApiFp = function (configuration) {
2006
2025
  * @param {*} [options] Override http request option.
2007
2026
  * @throws {RequiredError}
2008
2027
  */
2009
- getLiveTvInfo(options) {
2010
- return __awaiter(this, void 0, void 0, function* () {
2011
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveTvInfo(options);
2012
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2013
- });
2028
+ async getLiveTvInfo(options) {
2029
+ var _a, _b, _c;
2030
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvInfo(options);
2031
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2032
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2033
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2014
2034
  },
2015
2035
  /**
2016
2036
  *
@@ -2045,11 +2065,12 @@ const LiveTvApiFp = function (configuration) {
2045
2065
  * @param {*} [options] Override http request option.
2046
2066
  * @throws {RequiredError}
2047
2067
  */
2048
- getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
2049
- return __awaiter(this, void 0, void 0, function* () {
2050
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options);
2051
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2052
- });
2068
+ async getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
2069
+ var _a, _b, _c;
2070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options);
2071
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2072
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2073
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2053
2074
  },
2054
2075
  /**
2055
2076
  *
@@ -2059,11 +2080,12 @@ const LiveTvApiFp = function (configuration) {
2059
2080
  * @param {*} [options] Override http request option.
2060
2081
  * @throws {RequiredError}
2061
2082
  */
2062
- getProgram(programId, userId, options) {
2063
- return __awaiter(this, void 0, void 0, function* () {
2064
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getProgram(programId, userId, options);
2065
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2066
- });
2083
+ async getProgram(programId, userId, options) {
2084
+ var _a, _b, _c;
2085
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(programId, userId, options);
2086
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2087
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getProgram']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2088
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2067
2089
  },
2068
2090
  /**
2069
2091
  *
@@ -2072,11 +2094,12 @@ const LiveTvApiFp = function (configuration) {
2072
2094
  * @param {*} [options] Override http request option.
2073
2095
  * @throws {RequiredError}
2074
2096
  */
2075
- getPrograms(getProgramsDto, options) {
2076
- return __awaiter(this, void 0, void 0, function* () {
2077
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
2078
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2079
- });
2097
+ async getPrograms(getProgramsDto, options) {
2098
+ var _a, _b, _c;
2099
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
2100
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2101
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2102
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2080
2103
  },
2081
2104
  /**
2082
2105
  *
@@ -2100,11 +2123,12 @@ const LiveTvApiFp = function (configuration) {
2100
2123
  * @param {*} [options] Override http request option.
2101
2124
  * @throws {RequiredError}
2102
2125
  */
2103
- getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
2104
- return __awaiter(this, void 0, void 0, function* () {
2105
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options);
2106
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2107
- });
2126
+ async getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
2127
+ var _a, _b, _c;
2128
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options);
2129
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2130
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecommendedPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2131
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2108
2132
  },
2109
2133
  /**
2110
2134
  *
@@ -2114,11 +2138,12 @@ const LiveTvApiFp = function (configuration) {
2114
2138
  * @param {*} [options] Override http request option.
2115
2139
  * @throws {RequiredError}
2116
2140
  */
2117
- getRecording(recordingId, userId, options) {
2118
- return __awaiter(this, void 0, void 0, function* () {
2119
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecording(recordingId, userId, options);
2120
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2121
- });
2141
+ async getRecording(recordingId, userId, options) {
2142
+ var _a, _b, _c;
2143
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(recordingId, userId, options);
2144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2145
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2146
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2122
2147
  },
2123
2148
  /**
2124
2149
  *
@@ -2127,11 +2152,12 @@ const LiveTvApiFp = function (configuration) {
2127
2152
  * @param {*} [options] Override http request option.
2128
2153
  * @throws {RequiredError}
2129
2154
  */
2130
- getRecordingFolders(userId, options) {
2131
- return __awaiter(this, void 0, void 0, function* () {
2132
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingFolders(userId, options);
2133
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2134
- });
2155
+ async getRecordingFolders(userId, options) {
2156
+ var _a, _b, _c;
2157
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingFolders(userId, options);
2158
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2159
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingFolders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2160
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2135
2161
  },
2136
2162
  /**
2137
2163
  *
@@ -2141,11 +2167,12 @@ const LiveTvApiFp = function (configuration) {
2141
2167
  * @deprecated
2142
2168
  * @throws {RequiredError}
2143
2169
  */
2144
- getRecordingGroup(groupId, options) {
2145
- return __awaiter(this, void 0, void 0, function* () {
2146
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingGroup(groupId, options);
2147
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2148
- });
2170
+ async getRecordingGroup(groupId, options) {
2171
+ var _a, _b, _c;
2172
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroup(groupId, options);
2173
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2174
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2175
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2149
2176
  },
2150
2177
  /**
2151
2178
  *
@@ -2155,11 +2182,12 @@ const LiveTvApiFp = function (configuration) {
2155
2182
  * @deprecated
2156
2183
  * @throws {RequiredError}
2157
2184
  */
2158
- getRecordingGroups(userId, options) {
2159
- return __awaiter(this, void 0, void 0, function* () {
2160
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingGroups(userId, options);
2161
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2162
- });
2185
+ async getRecordingGroups(userId, options) {
2186
+ var _a, _b, _c;
2187
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroups(userId, options);
2188
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2189
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2190
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2163
2191
  },
2164
2192
  /**
2165
2193
  *
@@ -2186,11 +2214,12 @@ const LiveTvApiFp = function (configuration) {
2186
2214
  * @param {*} [options] Override http request option.
2187
2215
  * @throws {RequiredError}
2188
2216
  */
2189
- getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
2190
- return __awaiter(this, void 0, void 0, function* () {
2191
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options);
2192
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2193
- });
2217
+ async getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
2218
+ var _a, _b, _c;
2219
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options);
2220
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2221
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2222
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2194
2223
  },
2195
2224
  /**
2196
2225
  *
@@ -2213,11 +2242,12 @@ const LiveTvApiFp = function (configuration) {
2213
2242
  * @deprecated
2214
2243
  * @throws {RequiredError}
2215
2244
  */
2216
- getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
2217
- return __awaiter(this, void 0, void 0, function* () {
2218
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options);
2219
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2220
- });
2245
+ async getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
2246
+ var _a, _b, _c;
2247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options);
2248
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2249
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingsSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2221
2251
  },
2222
2252
  /**
2223
2253
  *
@@ -2225,11 +2255,12 @@ const LiveTvApiFp = function (configuration) {
2225
2255
  * @param {*} [options] Override http request option.
2226
2256
  * @throws {RequiredError}
2227
2257
  */
2228
- getSchedulesDirectCountries(options) {
2229
- return __awaiter(this, void 0, void 0, function* () {
2230
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchedulesDirectCountries(options);
2231
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2232
- });
2258
+ async getSchedulesDirectCountries(options) {
2259
+ var _a, _b, _c;
2260
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSchedulesDirectCountries(options);
2261
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2262
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSchedulesDirectCountries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2263
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2233
2264
  },
2234
2265
  /**
2235
2266
  *
@@ -2238,11 +2269,12 @@ const LiveTvApiFp = function (configuration) {
2238
2269
  * @param {*} [options] Override http request option.
2239
2270
  * @throws {RequiredError}
2240
2271
  */
2241
- getSeriesTimer(timerId, options) {
2242
- return __awaiter(this, void 0, void 0, function* () {
2243
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesTimer(timerId, options);
2244
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2245
- });
2272
+ async getSeriesTimer(timerId, options) {
2273
+ var _a, _b, _c;
2274
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimer(timerId, options);
2275
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2276
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2277
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2246
2278
  },
2247
2279
  /**
2248
2280
  *
@@ -2252,11 +2284,12 @@ const LiveTvApiFp = function (configuration) {
2252
2284
  * @param {*} [options] Override http request option.
2253
2285
  * @throws {RequiredError}
2254
2286
  */
2255
- getSeriesTimers(sortBy, sortOrder, options) {
2256
- return __awaiter(this, void 0, void 0, function* () {
2257
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
2258
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2259
- });
2287
+ async getSeriesTimers(sortBy, sortOrder, options) {
2288
+ var _a, _b, _c;
2289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
2290
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2291
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSeriesTimers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2292
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2260
2293
  },
2261
2294
  /**
2262
2295
  *
@@ -2265,11 +2298,12 @@ const LiveTvApiFp = function (configuration) {
2265
2298
  * @param {*} [options] Override http request option.
2266
2299
  * @throws {RequiredError}
2267
2300
  */
2268
- getTimer(timerId, options) {
2269
- return __awaiter(this, void 0, void 0, function* () {
2270
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getTimer(timerId, options);
2271
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2272
- });
2301
+ async getTimer(timerId, options) {
2302
+ var _a, _b, _c;
2303
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTimer(timerId, options);
2304
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2305
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2306
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2273
2307
  },
2274
2308
  /**
2275
2309
  *
@@ -2281,11 +2315,12 @@ const LiveTvApiFp = function (configuration) {
2281
2315
  * @param {*} [options] Override http request option.
2282
2316
  * @throws {RequiredError}
2283
2317
  */
2284
- getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
2285
- return __awaiter(this, void 0, void 0, function* () {
2286
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getTimers(channelId, seriesTimerId, isActive, isScheduled, options);
2287
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2288
- });
2318
+ async getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
2319
+ var _a, _b, _c;
2320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTimers(channelId, seriesTimerId, isActive, isScheduled, options);
2321
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2322
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTimers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2323
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2289
2324
  },
2290
2325
  /**
2291
2326
  *
@@ -2293,11 +2328,12 @@ const LiveTvApiFp = function (configuration) {
2293
2328
  * @param {*} [options] Override http request option.
2294
2329
  * @throws {RequiredError}
2295
2330
  */
2296
- getTunerHostTypes(options) {
2297
- return __awaiter(this, void 0, void 0, function* () {
2298
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getTunerHostTypes(options);
2299
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2300
- });
2331
+ async getTunerHostTypes(options) {
2332
+ var _a, _b, _c;
2333
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTunerHostTypes(options);
2334
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2335
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTunerHostTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2336
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2301
2337
  },
2302
2338
  /**
2303
2339
  *
@@ -2306,11 +2342,12 @@ const LiveTvApiFp = function (configuration) {
2306
2342
  * @param {*} [options] Override http request option.
2307
2343
  * @throws {RequiredError}
2308
2344
  */
2309
- resetTuner(tunerId, options) {
2310
- return __awaiter(this, void 0, void 0, function* () {
2311
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resetTuner(tunerId, options);
2312
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2313
- });
2345
+ async resetTuner(tunerId, options) {
2346
+ var _a, _b, _c;
2347
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetTuner(tunerId, options);
2348
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2349
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.resetTuner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2350
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2314
2351
  },
2315
2352
  /**
2316
2353
  *
@@ -2319,11 +2356,12 @@ const LiveTvApiFp = function (configuration) {
2319
2356
  * @param {*} [options] Override http request option.
2320
2357
  * @throws {RequiredError}
2321
2358
  */
2322
- setChannelMapping(setChannelMappingDto, options) {
2323
- return __awaiter(this, void 0, void 0, function* () {
2324
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
2325
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2326
- });
2359
+ async setChannelMapping(setChannelMappingDto, options) {
2360
+ var _a, _b, _c;
2361
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
2362
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2363
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.setChannelMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2364
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2327
2365
  },
2328
2366
  /**
2329
2367
  *
@@ -2333,11 +2371,12 @@ const LiveTvApiFp = function (configuration) {
2333
2371
  * @param {*} [options] Override http request option.
2334
2372
  * @throws {RequiredError}
2335
2373
  */
2336
- updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
2337
- return __awaiter(this, void 0, void 0, function* () {
2338
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
2339
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2340
- });
2374
+ async updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
2375
+ var _a, _b, _c;
2376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
2377
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2378
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.updateSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2379
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2341
2380
  },
2342
2381
  /**
2343
2382
  *
@@ -2347,11 +2386,12 @@ const LiveTvApiFp = function (configuration) {
2347
2386
  * @param {*} [options] Override http request option.
2348
2387
  * @throws {RequiredError}
2349
2388
  */
2350
- updateTimer(timerId, timerInfoDto, options) {
2351
- return __awaiter(this, void 0, void 0, function* () {
2352
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
2353
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2354
- });
2389
+ async updateTimer(timerId, timerInfoDto, options) {
2390
+ var _a, _b, _c;
2391
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
2392
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2393
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.updateTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2394
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2355
2395
  },
2356
2396
  };
2357
2397
  };
@@ -2365,136 +2405,132 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2365
2405
  /**
2366
2406
  *
2367
2407
  * @summary Adds a listings provider.
2368
- * @param {string} [pw] Password.
2369
- * @param {boolean} [validateListings] Validate listings.
2370
- * @param {boolean} [validateLogin] Validate login.
2371
- * @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
2408
+ * @param {LiveTvApiAddListingProviderRequest} requestParameters Request parameters.
2372
2409
  * @param {*} [options] Override http request option.
2373
2410
  * @throws {RequiredError}
2374
2411
  */
2375
- addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
2376
- return localVarFp.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options).then((request) => request(axios, basePath));
2412
+ addListingProvider(requestParameters = {}, options) {
2413
+ return localVarFp.addListingProvider(requestParameters.pw, requestParameters.validateListings, requestParameters.validateLogin, requestParameters.listingsProviderInfo, options).then((request) => request(axios, basePath));
2377
2414
  },
2378
2415
  /**
2379
2416
  *
2380
2417
  * @summary Adds a tuner host.
2381
- * @param {TunerHostInfo} [tunerHostInfo] New tuner host.
2418
+ * @param {LiveTvApiAddTunerHostRequest} requestParameters Request parameters.
2382
2419
  * @param {*} [options] Override http request option.
2383
2420
  * @throws {RequiredError}
2384
2421
  */
2385
- addTunerHost(tunerHostInfo, options) {
2386
- return localVarFp.addTunerHost(tunerHostInfo, options).then((request) => request(axios, basePath));
2422
+ addTunerHost(requestParameters = {}, options) {
2423
+ return localVarFp.addTunerHost(requestParameters.tunerHostInfo, options).then((request) => request(axios, basePath));
2387
2424
  },
2388
2425
  /**
2389
2426
  *
2390
2427
  * @summary Cancels a live tv series timer.
2391
- * @param {string} timerId Timer id.
2428
+ * @param {LiveTvApiCancelSeriesTimerRequest} requestParameters Request parameters.
2392
2429
  * @param {*} [options] Override http request option.
2393
2430
  * @throws {RequiredError}
2394
2431
  */
2395
- cancelSeriesTimer(timerId, options) {
2396
- return localVarFp.cancelSeriesTimer(timerId, options).then((request) => request(axios, basePath));
2432
+ cancelSeriesTimer(requestParameters, options) {
2433
+ return localVarFp.cancelSeriesTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
2397
2434
  },
2398
2435
  /**
2399
2436
  *
2400
2437
  * @summary Cancels a live tv timer.
2401
- * @param {string} timerId Timer id.
2438
+ * @param {LiveTvApiCancelTimerRequest} requestParameters Request parameters.
2402
2439
  * @param {*} [options] Override http request option.
2403
2440
  * @throws {RequiredError}
2404
2441
  */
2405
- cancelTimer(timerId, options) {
2406
- return localVarFp.cancelTimer(timerId, options).then((request) => request(axios, basePath));
2442
+ cancelTimer(requestParameters, options) {
2443
+ return localVarFp.cancelTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
2407
2444
  },
2408
2445
  /**
2409
2446
  *
2410
2447
  * @summary Creates a live tv series timer.
2411
- * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
2448
+ * @param {LiveTvApiCreateSeriesTimerRequest} requestParameters Request parameters.
2412
2449
  * @param {*} [options] Override http request option.
2413
2450
  * @throws {RequiredError}
2414
2451
  */
2415
- createSeriesTimer(seriesTimerInfoDto, options) {
2416
- return localVarFp.createSeriesTimer(seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2452
+ createSeriesTimer(requestParameters = {}, options) {
2453
+ return localVarFp.createSeriesTimer(requestParameters.seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2417
2454
  },
2418
2455
  /**
2419
2456
  *
2420
2457
  * @summary Creates a live tv timer.
2421
- * @param {TimerInfoDto} [timerInfoDto] New timer info.
2458
+ * @param {LiveTvApiCreateTimerRequest} requestParameters Request parameters.
2422
2459
  * @param {*} [options] Override http request option.
2423
2460
  * @throws {RequiredError}
2424
2461
  */
2425
- createTimer(timerInfoDto, options) {
2426
- return localVarFp.createTimer(timerInfoDto, options).then((request) => request(axios, basePath));
2462
+ createTimer(requestParameters = {}, options) {
2463
+ return localVarFp.createTimer(requestParameters.timerInfoDto, options).then((request) => request(axios, basePath));
2427
2464
  },
2428
2465
  /**
2429
2466
  *
2430
2467
  * @summary Delete listing provider.
2431
- * @param {string} [id] Listing provider id.
2468
+ * @param {LiveTvApiDeleteListingProviderRequest} requestParameters Request parameters.
2432
2469
  * @param {*} [options] Override http request option.
2433
2470
  * @throws {RequiredError}
2434
2471
  */
2435
- deleteListingProvider(id, options) {
2436
- return localVarFp.deleteListingProvider(id, options).then((request) => request(axios, basePath));
2472
+ deleteListingProvider(requestParameters = {}, options) {
2473
+ return localVarFp.deleteListingProvider(requestParameters.id, options).then((request) => request(axios, basePath));
2437
2474
  },
2438
2475
  /**
2439
2476
  *
2440
2477
  * @summary Deletes a live tv recording.
2441
- * @param {string} recordingId Recording id.
2478
+ * @param {LiveTvApiDeleteRecordingRequest} requestParameters Request parameters.
2442
2479
  * @param {*} [options] Override http request option.
2443
2480
  * @throws {RequiredError}
2444
2481
  */
2445
- deleteRecording(recordingId, options) {
2446
- return localVarFp.deleteRecording(recordingId, options).then((request) => request(axios, basePath));
2482
+ deleteRecording(requestParameters, options) {
2483
+ return localVarFp.deleteRecording(requestParameters.recordingId, options).then((request) => request(axios, basePath));
2447
2484
  },
2448
2485
  /**
2449
2486
  *
2450
2487
  * @summary Deletes a tuner host.
2451
- * @param {string} [id] Tuner host id.
2488
+ * @param {LiveTvApiDeleteTunerHostRequest} requestParameters Request parameters.
2452
2489
  * @param {*} [options] Override http request option.
2453
2490
  * @throws {RequiredError}
2454
2491
  */
2455
- deleteTunerHost(id, options) {
2456
- return localVarFp.deleteTunerHost(id, options).then((request) => request(axios, basePath));
2492
+ deleteTunerHost(requestParameters = {}, options) {
2493
+ return localVarFp.deleteTunerHost(requestParameters.id, options).then((request) => request(axios, basePath));
2457
2494
  },
2458
2495
  /**
2459
2496
  *
2460
2497
  * @summary Discover tuners.
2461
- * @param {boolean} [newDevicesOnly] Only discover new tuners.
2498
+ * @param {LiveTvApiDiscoverTunersRequest} requestParameters Request parameters.
2462
2499
  * @param {*} [options] Override http request option.
2463
2500
  * @throws {RequiredError}
2464
2501
  */
2465
- discoverTuners(newDevicesOnly, options) {
2466
- return localVarFp.discoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
2502
+ discoverTuners(requestParameters = {}, options) {
2503
+ return localVarFp.discoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(axios, basePath));
2467
2504
  },
2468
2505
  /**
2469
2506
  *
2470
2507
  * @summary Discover tuners.
2471
- * @param {boolean} [newDevicesOnly] Only discover new tuners.
2508
+ * @param {LiveTvApiDiscvoverTunersRequest} requestParameters Request parameters.
2472
2509
  * @param {*} [options] Override http request option.
2473
2510
  * @throws {RequiredError}
2474
2511
  */
2475
- discvoverTuners(newDevicesOnly, options) {
2476
- return localVarFp.discvoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
2512
+ discvoverTuners(requestParameters = {}, options) {
2513
+ return localVarFp.discvoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(axios, basePath));
2477
2514
  },
2478
2515
  /**
2479
2516
  *
2480
2517
  * @summary Gets a live tv channel.
2481
- * @param {string} channelId Channel id.
2482
- * @param {string} [userId] Optional. Attach user data.
2518
+ * @param {LiveTvApiGetChannelRequest} requestParameters Request parameters.
2483
2519
  * @param {*} [options] Override http request option.
2484
2520
  * @throws {RequiredError}
2485
2521
  */
2486
- getChannel(channelId, userId, options) {
2487
- return localVarFp.getChannel(channelId, userId, options).then((request) => request(axios, basePath));
2522
+ getChannel(requestParameters, options) {
2523
+ return localVarFp.getChannel(requestParameters.channelId, requestParameters.userId, options).then((request) => request(axios, basePath));
2488
2524
  },
2489
2525
  /**
2490
2526
  *
2491
2527
  * @summary Get channel mapping options.
2492
- * @param {string} [providerId] Provider id.
2528
+ * @param {LiveTvApiGetChannelMappingOptionsRequest} requestParameters Request parameters.
2493
2529
  * @param {*} [options] Override http request option.
2494
2530
  * @throws {RequiredError}
2495
2531
  */
2496
- getChannelMappingOptions(providerId, options) {
2497
- return localVarFp.getChannelMappingOptions(providerId, options).then((request) => request(axios, basePath));
2532
+ getChannelMappingOptions(requestParameters = {}, options) {
2533
+ return localVarFp.getChannelMappingOptions(requestParameters.providerId, options).then((request) => request(axios, basePath));
2498
2534
  },
2499
2535
  /**
2500
2536
  *
@@ -2508,12 +2544,12 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2508
2544
  /**
2509
2545
  *
2510
2546
  * @summary Gets the default values for a new timer.
2511
- * @param {string} [programId] Optional. To attach default values based on a program.
2547
+ * @param {LiveTvApiGetDefaultTimerRequest} requestParameters Request parameters.
2512
2548
  * @param {*} [options] Override http request option.
2513
2549
  * @throws {RequiredError}
2514
2550
  */
2515
- getDefaultTimer(programId, options) {
2516
- return localVarFp.getDefaultTimer(programId, options).then((request) => request(axios, basePath));
2551
+ getDefaultTimer(requestParameters = {}, options) {
2552
+ return localVarFp.getDefaultTimer(requestParameters.programId, options).then((request) => request(axios, basePath));
2517
2553
  },
2518
2554
  /**
2519
2555
  *
@@ -2527,66 +2563,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2527
2563
  /**
2528
2564
  *
2529
2565
  * @summary Gets available lineups.
2530
- * @param {string} [id] Provider id.
2531
- * @param {string} [type] Provider type.
2532
- * @param {string} [location] Location.
2533
- * @param {string} [country] Country.
2566
+ * @param {LiveTvApiGetLineupsRequest} requestParameters Request parameters.
2534
2567
  * @param {*} [options] Override http request option.
2535
2568
  * @throws {RequiredError}
2536
2569
  */
2537
- getLineups(id, type, location, country, options) {
2538
- return localVarFp.getLineups(id, type, location, country, options).then((request) => request(axios, basePath));
2570
+ getLineups(requestParameters = {}, options) {
2571
+ return localVarFp.getLineups(requestParameters.id, requestParameters.type, requestParameters.location, requestParameters.country, options).then((request) => request(axios, basePath));
2539
2572
  },
2540
2573
  /**
2541
2574
  *
2542
2575
  * @summary Gets a live tv recording stream.
2543
- * @param {string} recordingId Recording id.
2576
+ * @param {LiveTvApiGetLiveRecordingFileRequest} requestParameters Request parameters.
2544
2577
  * @param {*} [options] Override http request option.
2545
2578
  * @throws {RequiredError}
2546
2579
  */
2547
- getLiveRecordingFile(recordingId, options) {
2548
- return localVarFp.getLiveRecordingFile(recordingId, options).then((request) => request(axios, basePath));
2580
+ getLiveRecordingFile(requestParameters, options) {
2581
+ return localVarFp.getLiveRecordingFile(requestParameters.recordingId, options).then((request) => request(axios, basePath));
2549
2582
  },
2550
2583
  /**
2551
2584
  *
2552
2585
  * @summary Gets a live tv channel stream.
2553
- * @param {string} streamId Stream id.
2554
- * @param {string} container Container type.
2586
+ * @param {LiveTvApiGetLiveStreamFileRequest} requestParameters Request parameters.
2555
2587
  * @param {*} [options] Override http request option.
2556
2588
  * @throws {RequiredError}
2557
2589
  */
2558
- getLiveStreamFile(streamId, container, options) {
2559
- return localVarFp.getLiveStreamFile(streamId, container, options).then((request) => request(axios, basePath));
2590
+ getLiveStreamFile(requestParameters, options) {
2591
+ return localVarFp.getLiveStreamFile(requestParameters.streamId, requestParameters.container, options).then((request) => request(axios, basePath));
2560
2592
  },
2561
2593
  /**
2562
2594
  *
2563
2595
  * @summary Gets available live tv channels.
2564
- * @param {ChannelType} [type] Optional. Filter by channel type.
2565
- * @param {string} [userId] Optional. Filter by user and attach user data.
2566
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2567
- * @param {boolean} [isMovie] Optional. Filter for movies.
2568
- * @param {boolean} [isSeries] Optional. Filter for series.
2569
- * @param {boolean} [isNews] Optional. Filter for news.
2570
- * @param {boolean} [isKids] Optional. Filter for kids.
2571
- * @param {boolean} [isSports] Optional. Filter for sports.
2572
- * @param {number} [limit] Optional. The maximum number of records to return.
2573
- * @param {boolean} [isFavorite] Optional. Filter by channels that are favorites, or not.
2574
- * @param {boolean} [isLiked] Optional. Filter by channels that are liked, or not.
2575
- * @param {boolean} [isDisliked] Optional. Filter by channels that are disliked, or not.
2576
- * @param {boolean} [enableImages] Optional. Include image information in output.
2577
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2578
- * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
2579
- * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2580
- * @param {boolean} [enableUserData] Optional. Include user data.
2581
- * @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
2582
- * @param {SortOrder} [sortOrder] Optional. Sort order.
2583
- * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
2584
- * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
2596
+ * @param {LiveTvApiGetLiveTvChannelsRequest} requestParameters Request parameters.
2585
2597
  * @param {*} [options] Override http request option.
2586
2598
  * @throws {RequiredError}
2587
2599
  */
2588
- getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
2589
- return localVarFp.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options).then((request) => request(axios, basePath));
2600
+ getLiveTvChannels(requestParameters = {}, options) {
2601
+ return localVarFp.getLiveTvChannels(requestParameters.type, requestParameters.userId, requestParameters.startIndex, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.limit, requestParameters.isFavorite, requestParameters.isLiked, requestParameters.isDisliked, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.enableFavoriteSorting, requestParameters.addCurrentProgram, options).then((request) => request(axios, basePath));
2590
2602
  },
2591
2603
  /**
2592
2604
  *
@@ -2600,179 +2612,105 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2600
2612
  /**
2601
2613
  *
2602
2614
  * @summary Gets available live tv epgs.
2603
- * @param {Array<string>} [channelIds] The channels to return guide information for.
2604
- * @param {string} [userId] Optional. Filter by user id.
2605
- * @param {string} [minStartDate] Optional. The minimum premiere start date.
2606
- * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2607
- * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2608
- * @param {string} [maxStartDate] Optional. The maximum premiere start date.
2609
- * @param {string} [minEndDate] Optional. The minimum premiere end date.
2610
- * @param {string} [maxEndDate] Optional. The maximum premiere end date.
2611
- * @param {boolean} [isMovie] Optional. Filter for movies.
2612
- * @param {boolean} [isSeries] Optional. Filter for series.
2613
- * @param {boolean} [isNews] Optional. Filter for news.
2614
- * @param {boolean} [isKids] Optional. Filter for kids.
2615
- * @param {boolean} [isSports] Optional. Filter for sports.
2616
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2617
- * @param {number} [limit] Optional. The maximum number of records to return.
2618
- * @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
2619
- * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
2620
- * @param {Array<string>} [genres] The genres to return guide information for.
2621
- * @param {Array<string>} [genreIds] The genre ids to return guide information for.
2622
- * @param {boolean} [enableImages] Optional. Include image information in output.
2623
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2624
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2625
- * @param {boolean} [enableUserData] Optional. Include user data.
2626
- * @param {string} [seriesTimerId] Optional. Filter by series timer id.
2627
- * @param {string} [librarySeriesId] Optional. Filter by library series id.
2628
- * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2629
- * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2615
+ * @param {LiveTvApiGetLiveTvProgramsRequest} requestParameters Request parameters.
2630
2616
  * @param {*} [options] Override http request option.
2631
2617
  * @throws {RequiredError}
2632
2618
  */
2633
- getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
2634
- return localVarFp.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options).then((request) => request(axios, basePath));
2619
+ getLiveTvPrograms(requestParameters = {}, options) {
2620
+ return localVarFp.getLiveTvPrograms(requestParameters.channelIds, requestParameters.userId, requestParameters.minStartDate, requestParameters.hasAired, requestParameters.isAiring, requestParameters.maxStartDate, requestParameters.minEndDate, requestParameters.maxEndDate, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.startIndex, requestParameters.limit, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.genres, requestParameters.genreIds, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, requestParameters.seriesTimerId, requestParameters.librarySeriesId, requestParameters.fields, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
2635
2621
  },
2636
2622
  /**
2637
2623
  *
2638
2624
  * @summary Gets a live tv program.
2639
- * @param {string} programId Program id.
2640
- * @param {string} [userId] Optional. Attach user data.
2625
+ * @param {LiveTvApiGetProgramRequest} requestParameters Request parameters.
2641
2626
  * @param {*} [options] Override http request option.
2642
2627
  * @throws {RequiredError}
2643
2628
  */
2644
- getProgram(programId, userId, options) {
2645
- return localVarFp.getProgram(programId, userId, options).then((request) => request(axios, basePath));
2629
+ getProgram(requestParameters, options) {
2630
+ return localVarFp.getProgram(requestParameters.programId, requestParameters.userId, options).then((request) => request(axios, basePath));
2646
2631
  },
2647
2632
  /**
2648
2633
  *
2649
2634
  * @summary Gets available live tv epgs.
2650
- * @param {GetProgramsDto} [getProgramsDto] Request body.
2635
+ * @param {LiveTvApiGetProgramsRequest} requestParameters Request parameters.
2651
2636
  * @param {*} [options] Override http request option.
2652
2637
  * @throws {RequiredError}
2653
2638
  */
2654
- getPrograms(getProgramsDto, options) {
2655
- return localVarFp.getPrograms(getProgramsDto, options).then((request) => request(axios, basePath));
2639
+ getPrograms(requestParameters = {}, options) {
2640
+ return localVarFp.getPrograms(requestParameters.getProgramsDto, options).then((request) => request(axios, basePath));
2656
2641
  },
2657
2642
  /**
2658
2643
  *
2659
2644
  * @summary Gets recommended live tv epgs.
2660
- * @param {string} [userId] Optional. filter by user id.
2661
- * @param {number} [limit] Optional. The maximum number of records to return.
2662
- * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2663
- * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2664
- * @param {boolean} [isSeries] Optional. Filter for series.
2665
- * @param {boolean} [isMovie] Optional. Filter for movies.
2666
- * @param {boolean} [isNews] Optional. Filter for news.
2667
- * @param {boolean} [isKids] Optional. Filter for kids.
2668
- * @param {boolean} [isSports] Optional. Filter for sports.
2669
- * @param {boolean} [enableImages] Optional. Include image information in output.
2670
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2671
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2672
- * @param {Array<string>} [genreIds] The genres to return guide information for.
2673
- * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2674
- * @param {boolean} [enableUserData] Optional. include user data.
2675
- * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2645
+ * @param {LiveTvApiGetRecommendedProgramsRequest} requestParameters Request parameters.
2676
2646
  * @param {*} [options] Override http request option.
2677
2647
  * @throws {RequiredError}
2678
2648
  */
2679
- getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
2680
- return localVarFp.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options).then((request) => request(axios, basePath));
2649
+ getRecommendedPrograms(requestParameters = {}, options) {
2650
+ return localVarFp.getRecommendedPrograms(requestParameters.userId, requestParameters.limit, requestParameters.isAiring, requestParameters.hasAired, requestParameters.isSeries, requestParameters.isMovie, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.genreIds, requestParameters.fields, requestParameters.enableUserData, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
2681
2651
  },
2682
2652
  /**
2683
2653
  *
2684
2654
  * @summary Gets a live tv recording.
2685
- * @param {string} recordingId Recording id.
2686
- * @param {string} [userId] Optional. Attach user data.
2655
+ * @param {LiveTvApiGetRecordingRequest} requestParameters Request parameters.
2687
2656
  * @param {*} [options] Override http request option.
2688
2657
  * @throws {RequiredError}
2689
2658
  */
2690
- getRecording(recordingId, userId, options) {
2691
- return localVarFp.getRecording(recordingId, userId, options).then((request) => request(axios, basePath));
2659
+ getRecording(requestParameters, options) {
2660
+ return localVarFp.getRecording(requestParameters.recordingId, requestParameters.userId, options).then((request) => request(axios, basePath));
2692
2661
  },
2693
2662
  /**
2694
2663
  *
2695
2664
  * @summary Gets recording folders.
2696
- * @param {string} [userId] Optional. Filter by user and attach user data.
2665
+ * @param {LiveTvApiGetRecordingFoldersRequest} requestParameters Request parameters.
2697
2666
  * @param {*} [options] Override http request option.
2698
2667
  * @throws {RequiredError}
2699
2668
  */
2700
- getRecordingFolders(userId, options) {
2701
- return localVarFp.getRecordingFolders(userId, options).then((request) => request(axios, basePath));
2669
+ getRecordingFolders(requestParameters = {}, options) {
2670
+ return localVarFp.getRecordingFolders(requestParameters.userId, options).then((request) => request(axios, basePath));
2702
2671
  },
2703
2672
  /**
2704
2673
  *
2705
2674
  * @summary Get recording group.
2706
- * @param {string} groupId Group id.
2675
+ * @param {LiveTvApiGetRecordingGroupRequest} requestParameters Request parameters.
2707
2676
  * @param {*} [options] Override http request option.
2708
2677
  * @deprecated
2709
2678
  * @throws {RequiredError}
2710
2679
  */
2711
- getRecordingGroup(groupId, options) {
2712
- return localVarFp.getRecordingGroup(groupId, options).then((request) => request(axios, basePath));
2680
+ getRecordingGroup(requestParameters, options) {
2681
+ return localVarFp.getRecordingGroup(requestParameters.groupId, options).then((request) => request(axios, basePath));
2713
2682
  },
2714
2683
  /**
2715
2684
  *
2716
2685
  * @summary Gets live tv recording groups.
2717
- * @param {string} [userId] Optional. Filter by user and attach user data.
2686
+ * @param {LiveTvApiGetRecordingGroupsRequest} requestParameters Request parameters.
2718
2687
  * @param {*} [options] Override http request option.
2719
2688
  * @deprecated
2720
2689
  * @throws {RequiredError}
2721
2690
  */
2722
- getRecordingGroups(userId, options) {
2723
- return localVarFp.getRecordingGroups(userId, options).then((request) => request(axios, basePath));
2691
+ getRecordingGroups(requestParameters = {}, options) {
2692
+ return localVarFp.getRecordingGroups(requestParameters.userId, options).then((request) => request(axios, basePath));
2724
2693
  },
2725
2694
  /**
2726
2695
  *
2727
2696
  * @summary Gets live tv recordings.
2728
- * @param {string} [channelId] Optional. Filter by channel id.
2729
- * @param {string} [userId] Optional. Filter by user and attach user data.
2730
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2731
- * @param {number} [limit] Optional. The maximum number of records to return.
2732
- * @param {RecordingStatus} [status] Optional. Filter by recording status.
2733
- * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2734
- * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2735
- * @param {boolean} [enableImages] Optional. Include image information in output.
2736
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2737
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2738
- * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2739
- * @param {boolean} [enableUserData] Optional. Include user data.
2740
- * @param {boolean} [isMovie] Optional. Filter for movies.
2741
- * @param {boolean} [isSeries] Optional. Filter for series.
2742
- * @param {boolean} [isKids] Optional. Filter for kids.
2743
- * @param {boolean} [isSports] Optional. Filter for sports.
2744
- * @param {boolean} [isNews] Optional. Filter for news.
2745
- * @param {boolean} [isLibraryItem] Optional. Filter for is library item.
2746
- * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2697
+ * @param {LiveTvApiGetRecordingsRequest} requestParameters Request parameters.
2747
2698
  * @param {*} [options] Override http request option.
2748
2699
  * @throws {RequiredError}
2749
2700
  */
2750
- getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
2751
- return localVarFp.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options).then((request) => request(axios, basePath));
2701
+ getRecordings(requestParameters = {}, options) {
2702
+ return localVarFp.getRecordings(requestParameters.channelId, requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.status, requestParameters.isInProgress, requestParameters.seriesTimerId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isKids, requestParameters.isSports, requestParameters.isNews, requestParameters.isLibraryItem, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
2752
2703
  },
2753
2704
  /**
2754
2705
  *
2755
2706
  * @summary Gets live tv recording series.
2756
- * @param {string} [channelId] Optional. Filter by channel id.
2757
- * @param {string} [userId] Optional. Filter by user and attach user data.
2758
- * @param {string} [groupId] Optional. Filter by recording group.
2759
- * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2760
- * @param {number} [limit] Optional. The maximum number of records to return.
2761
- * @param {RecordingStatus} [status] Optional. Filter by recording status.
2762
- * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2763
- * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2764
- * @param {boolean} [enableImages] Optional. Include image information in output.
2765
- * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2766
- * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2767
- * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2768
- * @param {boolean} [enableUserData] Optional. Include user data.
2769
- * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2707
+ * @param {LiveTvApiGetRecordingsSeriesRequest} requestParameters Request parameters.
2770
2708
  * @param {*} [options] Override http request option.
2771
2709
  * @deprecated
2772
2710
  * @throws {RequiredError}
2773
2711
  */
2774
- getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
2775
- return localVarFp.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options).then((request) => request(axios, basePath));
2712
+ getRecordingsSeries(requestParameters = {}, options) {
2713
+ return localVarFp.getRecordingsSeries(requestParameters.channelId, requestParameters.userId, requestParameters.groupId, requestParameters.startIndex, requestParameters.limit, requestParameters.status, requestParameters.isInProgress, requestParameters.seriesTimerId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
2776
2714
  },
2777
2715
  /**
2778
2716
  *
@@ -2786,46 +2724,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2786
2724
  /**
2787
2725
  *
2788
2726
  * @summary Gets a live tv series timer.
2789
- * @param {string} timerId Timer id.
2727
+ * @param {LiveTvApiGetSeriesTimerRequest} requestParameters Request parameters.
2790
2728
  * @param {*} [options] Override http request option.
2791
2729
  * @throws {RequiredError}
2792
2730
  */
2793
- getSeriesTimer(timerId, options) {
2794
- return localVarFp.getSeriesTimer(timerId, options).then((request) => request(axios, basePath));
2731
+ getSeriesTimer(requestParameters, options) {
2732
+ return localVarFp.getSeriesTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
2795
2733
  },
2796
2734
  /**
2797
2735
  *
2798
2736
  * @summary Gets live tv series timers.
2799
- * @param {string} [sortBy] Optional. Sort by SortName or Priority.
2800
- * @param {SortOrder} [sortOrder] Optional. Sort in Ascending or Descending order.
2737
+ * @param {LiveTvApiGetSeriesTimersRequest} requestParameters Request parameters.
2801
2738
  * @param {*} [options] Override http request option.
2802
2739
  * @throws {RequiredError}
2803
2740
  */
2804
- getSeriesTimers(sortBy, sortOrder, options) {
2805
- return localVarFp.getSeriesTimers(sortBy, sortOrder, options).then((request) => request(axios, basePath));
2741
+ getSeriesTimers(requestParameters = {}, options) {
2742
+ return localVarFp.getSeriesTimers(requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
2806
2743
  },
2807
2744
  /**
2808
2745
  *
2809
2746
  * @summary Gets a timer.
2810
- * @param {string} timerId Timer id.
2747
+ * @param {LiveTvApiGetTimerRequest} requestParameters Request parameters.
2811
2748
  * @param {*} [options] Override http request option.
2812
2749
  * @throws {RequiredError}
2813
2750
  */
2814
- getTimer(timerId, options) {
2815
- return localVarFp.getTimer(timerId, options).then((request) => request(axios, basePath));
2751
+ getTimer(requestParameters, options) {
2752
+ return localVarFp.getTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
2816
2753
  },
2817
2754
  /**
2818
2755
  *
2819
2756
  * @summary Gets the live tv timers.
2820
- * @param {string} [channelId] Optional. Filter by channel id.
2821
- * @param {string} [seriesTimerId] Optional. Filter by timers belonging to a series timer.
2822
- * @param {boolean} [isActive] Optional. Filter by timers that are active.
2823
- * @param {boolean} [isScheduled] Optional. Filter by timers that are scheduled.
2757
+ * @param {LiveTvApiGetTimersRequest} requestParameters Request parameters.
2824
2758
  * @param {*} [options] Override http request option.
2825
2759
  * @throws {RequiredError}
2826
2760
  */
2827
- getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
2828
- return localVarFp.getTimers(channelId, seriesTimerId, isActive, isScheduled, options).then((request) => request(axios, basePath));
2761
+ getTimers(requestParameters = {}, options) {
2762
+ return localVarFp.getTimers(requestParameters.channelId, requestParameters.seriesTimerId, requestParameters.isActive, requestParameters.isScheduled, options).then((request) => request(axios, basePath));
2829
2763
  },
2830
2764
  /**
2831
2765
  *
@@ -2839,44 +2773,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
2839
2773
  /**
2840
2774
  *
2841
2775
  * @summary Resets a tv tuner.
2842
- * @param {string} tunerId Tuner id.
2776
+ * @param {LiveTvApiResetTunerRequest} requestParameters Request parameters.
2843
2777
  * @param {*} [options] Override http request option.
2844
2778
  * @throws {RequiredError}
2845
2779
  */
2846
- resetTuner(tunerId, options) {
2847
- return localVarFp.resetTuner(tunerId, options).then((request) => request(axios, basePath));
2780
+ resetTuner(requestParameters, options) {
2781
+ return localVarFp.resetTuner(requestParameters.tunerId, options).then((request) => request(axios, basePath));
2848
2782
  },
2849
2783
  /**
2850
2784
  *
2851
2785
  * @summary Set channel mappings.
2852
- * @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
2786
+ * @param {LiveTvApiSetChannelMappingRequest} requestParameters Request parameters.
2853
2787
  * @param {*} [options] Override http request option.
2854
2788
  * @throws {RequiredError}
2855
2789
  */
2856
- setChannelMapping(setChannelMappingDto, options) {
2857
- return localVarFp.setChannelMapping(setChannelMappingDto, options).then((request) => request(axios, basePath));
2790
+ setChannelMapping(requestParameters, options) {
2791
+ return localVarFp.setChannelMapping(requestParameters.setChannelMappingDto, options).then((request) => request(axios, basePath));
2858
2792
  },
2859
2793
  /**
2860
2794
  *
2861
2795
  * @summary Updates a live tv series timer.
2862
- * @param {string} timerId Timer id.
2863
- * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
2796
+ * @param {LiveTvApiUpdateSeriesTimerRequest} requestParameters Request parameters.
2864
2797
  * @param {*} [options] Override http request option.
2865
2798
  * @throws {RequiredError}
2866
2799
  */
2867
- updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
2868
- return localVarFp.updateSeriesTimer(timerId, seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2800
+ updateSeriesTimer(requestParameters, options) {
2801
+ return localVarFp.updateSeriesTimer(requestParameters.timerId, requestParameters.seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2869
2802
  },
2870
2803
  /**
2871
2804
  *
2872
2805
  * @summary Updates a live tv timer.
2873
- * @param {string} timerId Timer id.
2874
- * @param {TimerInfoDto} [timerInfoDto] New timer info.
2806
+ * @param {LiveTvApiUpdateTimerRequest} requestParameters Request parameters.
2875
2807
  * @param {*} [options] Override http request option.
2876
2808
  * @throws {RequiredError}
2877
2809
  */
2878
- updateTimer(timerId, timerInfoDto, options) {
2879
- return localVarFp.updateTimer(timerId, timerInfoDto, options).then((request) => request(axios, basePath));
2810
+ updateTimer(requestParameters, options) {
2811
+ return localVarFp.updateTimer(requestParameters.timerId, requestParameters.timerInfoDto, options).then((request) => request(axios, basePath));
2880
2812
  },
2881
2813
  };
2882
2814
  };