@jellyfin/sdk 0.0.0-unstable.202212091849

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 (880) hide show
  1. package/.gitattributes +5 -0
  2. package/LICENSE +373 -0
  3. package/README.md +153 -0
  4. package/lib/api.d.ts +42 -0
  5. package/lib/api.js +70 -0
  6. package/lib/discovery/discovery-service.d.ts +41 -0
  7. package/lib/discovery/discovery-service.js +76 -0
  8. package/lib/discovery/index.d.ts +7 -0
  9. package/lib/discovery/index.js +7 -0
  10. package/lib/discovery/recommended-server-discovery.d.ts +23 -0
  11. package/lib/discovery/recommended-server-discovery.js +110 -0
  12. package/lib/generated-client/api/activity-log-api.d.ts +113 -0
  13. package/lib/generated-client/api/activity-log-api.js +146 -0
  14. package/lib/generated-client/api/api-key-api.d.ts +161 -0
  15. package/lib/generated-client/api/api-key-api.js +251 -0
  16. package/lib/generated-client/api/artists-api.d.ts +751 -0
  17. package/lib/generated-client/api/artists-api.js +634 -0
  18. package/lib/generated-client/api/audio-api.d.ts +1985 -0
  19. package/lib/generated-client/api/audio-api.js +1465 -0
  20. package/lib/generated-client/api/branding-api.d.ts +127 -0
  21. package/lib/generated-client/api/branding-api.js +229 -0
  22. package/lib/generated-client/api/channels-api.d.ts +419 -0
  23. package/lib/generated-client/api/channels-api.js +487 -0
  24. package/lib/generated-client/api/client-log-api.d.ts +86 -0
  25. package/lib/generated-client/api/client-log-api.js +125 -0
  26. package/lib/generated-client/api/collection-api.d.ts +223 -0
  27. package/lib/generated-client/api/collection-api.js +290 -0
  28. package/lib/generated-client/api/configuration-api.d.ts +293 -0
  29. package/lib/generated-client/api/configuration-api.js +446 -0
  30. package/lib/generated-client/api/dashboard-api.d.ts +132 -0
  31. package/lib/generated-client/api/dashboard-api.js +189 -0
  32. package/lib/generated-client/api/devices-api.d.ts +291 -0
  33. package/lib/generated-client/api/devices-api.js +407 -0
  34. package/lib/generated-client/api/display-preferences-api.d.ts +177 -0
  35. package/lib/generated-client/api/display-preferences-api.js +230 -0
  36. package/lib/generated-client/api/dlna-api.d.ts +292 -0
  37. package/lib/generated-client/api/dlna-api.js +441 -0
  38. package/lib/generated-client/api/dlna-server-api.d.ts +784 -0
  39. package/lib/generated-client/api/dlna-server-api.js +1107 -0
  40. package/lib/generated-client/api/dynamic-hls-api.d.ts +4604 -0
  41. package/lib/generated-client/api/dynamic-hls-api.js +3380 -0
  42. package/lib/generated-client/api/environment-api.d.ts +289 -0
  43. package/lib/generated-client/api/environment-api.js +451 -0
  44. package/lib/generated-client/api/filter-api.d.ts +242 -0
  45. package/lib/generated-client/api/filter-api.js +263 -0
  46. package/lib/generated-client/api/genres-api.d.ts +299 -0
  47. package/lib/generated-client/api/genres-api.js +299 -0
  48. package/lib/generated-client/api/hls-segment-api.d.ts +332 -0
  49. package/lib/generated-client/api/hls-segment-api.js +426 -0
  50. package/lib/generated-client/api/image-api.d.ts +6744 -0
  51. package/lib/generated-client/api/image-api.js +5880 -0
  52. package/lib/generated-client/api/image-by-name-api.d.ts +292 -0
  53. package/lib/generated-client/api/image-by-name-api.js +442 -0
  54. package/lib/generated-client/api/instant-mix-api.d.ts +918 -0
  55. package/lib/generated-client/api/instant-mix-api.js +925 -0
  56. package/lib/generated-client/api/item-lookup-api.d.ts +574 -0
  57. package/lib/generated-client/api/item-lookup-api.js +798 -0
  58. package/lib/generated-client/api/item-refresh-api.d.ts +122 -0
  59. package/lib/generated-client/api/item-refresh-api.js +150 -0
  60. package/lib/generated-client/api/item-update-api.d.ts +197 -0
  61. package/lib/generated-client/api/item-update-api.js +269 -0
  62. package/lib/generated-client/api/items-api.d.ts +1824 -0
  63. package/lib/generated-client/api/items-api.js +1364 -0
  64. package/lib/generated-client/api/library-api.d.ts +1482 -0
  65. package/lib/generated-client/api/library-api.js +1887 -0
  66. package/lib/generated-client/api/library-structure-api.d.ts +486 -0
  67. package/lib/generated-client/api/library-structure-api.js +634 -0
  68. package/lib/generated-client/api/live-tv-api.d.ts +2844 -0
  69. package/lib/generated-client/api/live-tv-api.js +3349 -0
  70. package/lib/generated-client/api/localization-api.d.ts +159 -0
  71. package/lib/generated-client/api/localization-api.js +293 -0
  72. package/lib/generated-client/api/media-info-api.d.ts +516 -0
  73. package/lib/generated-client/api/media-info-api.js +550 -0
  74. package/lib/generated-client/api/movies-api.d.ts +123 -0
  75. package/lib/generated-client/api/movies-api.js +150 -0
  76. package/lib/generated-client/api/music-genres-api.d.ts +303 -0
  77. package/lib/generated-client/api/music-genres-api.js +303 -0
  78. package/lib/generated-client/api/notifications-api.d.ts +332 -0
  79. package/lib/generated-client/api/notifications-api.js +503 -0
  80. package/lib/generated-client/api/package-api.d.ts +319 -0
  81. package/lib/generated-client/api/package-api.js +462 -0
  82. package/lib/generated-client/api/persons-api.d.ts +253 -0
  83. package/lib/generated-client/api/persons-api.js +269 -0
  84. package/lib/generated-client/api/playlists-api.d.ts +427 -0
  85. package/lib/generated-client/api/playlists-api.js +489 -0
  86. package/lib/generated-client/api/playstate-api.d.ts +720 -0
  87. package/lib/generated-client/api/playstate-api.js +821 -0
  88. package/lib/generated-client/api/plugins-api.d.ts +477 -0
  89. package/lib/generated-client/api/plugins-api.js +667 -0
  90. package/lib/generated-client/api/quick-connect-api.d.ts +199 -0
  91. package/lib/generated-client/api/quick-connect-api.js +311 -0
  92. package/lib/generated-client/api/remote-image-api.d.ts +243 -0
  93. package/lib/generated-client/api/remote-image-api.js +300 -0
  94. package/lib/generated-client/api/scheduled-tasks-api.d.ts +289 -0
  95. package/lib/generated-client/api/scheduled-tasks-api.js +399 -0
  96. package/lib/generated-client/api/search-api.d.ts +240 -0
  97. package/lib/generated-client/api/search-api.js +230 -0
  98. package/lib/generated-client/api/session-api.d.ts +985 -0
  99. package/lib/generated-client/api/session-api.js +1263 -0
  100. package/lib/generated-client/api/startup-api.d.ts +296 -0
  101. package/lib/generated-client/api/startup-api.js +489 -0
  102. package/lib/generated-client/api/studios-api.d.ts +289 -0
  103. package/lib/generated-client/api/studios-api.js +293 -0
  104. package/lib/generated-client/api/subtitle-api.d.ts +764 -0
  105. package/lib/generated-client/api/subtitle-api.js +889 -0
  106. package/lib/generated-client/api/suggestions-api.d.ts +132 -0
  107. package/lib/generated-client/api/suggestions-api.js +156 -0
  108. package/lib/generated-client/api/sync-play-api.d.ts +937 -0
  109. package/lib/generated-client/api/sync-play-api.js +1407 -0
  110. package/lib/generated-client/api/system-api.d.ts +355 -0
  111. package/lib/generated-client/api/system-api.js +648 -0
  112. package/lib/generated-client/api/time-sync-api.d.ts +69 -0
  113. package/lib/generated-client/api/time-sync-api.js +117 -0
  114. package/lib/generated-client/api/tmdb-api.d.ts +69 -0
  115. package/lib/generated-client/api/tmdb-api.js +119 -0
  116. package/lib/generated-client/api/trailers-api.d.ts +841 -0
  117. package/lib/generated-client/api/trailers-api.js +632 -0
  118. package/lib/generated-client/api/tv-shows-api.d.ts +622 -0
  119. package/lib/generated-client/api/tv-shows-api.js +587 -0
  120. package/lib/generated-client/api/universal-audio-api.d.ts +437 -0
  121. package/lib/generated-client/api/universal-audio-api.js +395 -0
  122. package/lib/generated-client/api/user-api.d.ts +826 -0
  123. package/lib/generated-client/api/user-api.js +1135 -0
  124. package/lib/generated-client/api/user-library-api.d.ts +732 -0
  125. package/lib/generated-client/api/user-library-api.js +896 -0
  126. package/lib/generated-client/api/user-views-api.d.ts +160 -0
  127. package/lib/generated-client/api/user-views-api.js +209 -0
  128. package/lib/generated-client/api/video-attachments-api.d.ts +103 -0
  129. package/lib/generated-client/api/video-attachments-api.js +136 -0
  130. package/lib/generated-client/api/videos-api.d.ts +2205 -0
  131. package/lib/generated-client/api/videos-api.js +1716 -0
  132. package/lib/generated-client/api/years-api.d.ts +272 -0
  133. package/lib/generated-client/api/years-api.js +281 -0
  134. package/lib/generated-client/api.d.ts +71 -0
  135. package/lib/generated-client/api.js +73 -0
  136. package/lib/generated-client/base.d.ts +54 -0
  137. package/lib/generated-client/base.js +55 -0
  138. package/lib/generated-client/common.d.ts +64 -0
  139. package/lib/generated-client/common.js +139 -0
  140. package/lib/generated-client/configuration.d.ts +82 -0
  141. package/lib/generated-client/configuration.js +37 -0
  142. package/lib/generated-client/index.d.ts +13 -0
  143. package/lib/generated-client/index.js +15 -0
  144. package/lib/generated-client/models/access-schedule.d.ts +48 -0
  145. package/lib/generated-client/models/access-schedule.js +13 -0
  146. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +36 -0
  147. package/lib/generated-client/models/activity-log-entry-query-result.js +13 -0
  148. package/lib/generated-client/models/activity-log-entry.d.ts +79 -0
  149. package/lib/generated-client/models/activity-log-entry.js +13 -0
  150. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +24 -0
  151. package/lib/generated-client/models/add-virtual-folder-dto.js +13 -0
  152. package/lib/generated-client/models/admin-notification-dto.d.ts +42 -0
  153. package/lib/generated-client/models/admin-notification-dto.js +13 -0
  154. package/lib/generated-client/models/album-info-remote-search-query.d.ts +42 -0
  155. package/lib/generated-client/models/album-info-remote-search-query.js +13 -0
  156. package/lib/generated-client/models/album-info.d.ts +106 -0
  157. package/lib/generated-client/models/album-info.js +13 -0
  158. package/lib/generated-client/models/all-theme-media-result.d.ts +36 -0
  159. package/lib/generated-client/models/all-theme-media-result.js +13 -0
  160. package/lib/generated-client/models/architecture.d.ts +27 -0
  161. package/lib/generated-client/models/architecture.js +28 -0
  162. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +42 -0
  163. package/lib/generated-client/models/artist-info-remote-search-query.js +13 -0
  164. package/lib/generated-client/models/artist-info.d.ts +92 -0
  165. package/lib/generated-client/models/artist-info.js +13 -0
  166. package/lib/generated-client/models/authenticate-user-by-name.d.ts +36 -0
  167. package/lib/generated-client/models/authenticate-user-by-name.js +13 -0
  168. package/lib/generated-client/models/authentication-info-query-result.d.ts +36 -0
  169. package/lib/generated-client/models/authentication-info-query-result.js +13 -0
  170. package/lib/generated-client/models/authentication-info.d.ts +89 -0
  171. package/lib/generated-client/models/authentication-info.js +13 -0
  172. package/lib/generated-client/models/authentication-result.d.ts +43 -0
  173. package/lib/generated-client/models/authentication-result.js +13 -0
  174. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +121 -0
  175. package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +13 -0
  176. package/lib/generated-client/models/base-item-dto-query-result.d.ts +36 -0
  177. package/lib/generated-client/models/base-item-dto-query-result.js +13 -0
  178. package/lib/generated-client/models/base-item-dto.d.ts +953 -0
  179. package/lib/generated-client/models/base-item-dto.js +13 -0
  180. package/lib/generated-client/models/base-item-kind.d.ts +55 -0
  181. package/lib/generated-client/models/base-item-kind.js +56 -0
  182. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +121 -0
  183. package/lib/generated-client/models/base-item-person-image-blur-hashes.js +13 -0
  184. package/lib/generated-client/models/base-item-person.d.ts +54 -0
  185. package/lib/generated-client/models/base-item-person.js +13 -0
  186. package/lib/generated-client/models/base-item.d.ts +84 -0
  187. package/lib/generated-client/models/base-item.js +13 -0
  188. package/lib/generated-client/models/book-info-remote-search-query.d.ts +42 -0
  189. package/lib/generated-client/models/book-info-remote-search-query.js +13 -0
  190. package/lib/generated-client/models/book-info.d.ts +91 -0
  191. package/lib/generated-client/models/book-info.js +13 -0
  192. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +42 -0
  193. package/lib/generated-client/models/box-set-info-remote-search-query.js +13 -0
  194. package/lib/generated-client/models/box-set-info.d.ts +85 -0
  195. package/lib/generated-client/models/box-set-info.js +13 -0
  196. package/lib/generated-client/models/branding-options.d.ts +35 -0
  197. package/lib/generated-client/models/branding-options.js +13 -0
  198. package/lib/generated-client/models/buffer-request-dto.d.ts +41 -0
  199. package/lib/generated-client/models/buffer-request-dto.js +13 -0
  200. package/lib/generated-client/models/channel-features.d.ts +92 -0
  201. package/lib/generated-client/models/channel-features.js +13 -0
  202. package/lib/generated-client/models/channel-item-sort-field.d.ts +25 -0
  203. package/lib/generated-client/models/channel-item-sort-field.js +26 -0
  204. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +44 -0
  205. package/lib/generated-client/models/channel-mapping-options-dto.js +13 -0
  206. package/lib/generated-client/models/channel-media-content-type.d.ts +26 -0
  207. package/lib/generated-client/models/channel-media-content-type.js +27 -0
  208. package/lib/generated-client/models/channel-media-type.d.ts +21 -0
  209. package/lib/generated-client/models/channel-media-type.js +22 -0
  210. package/lib/generated-client/models/channel-type.d.ts +20 -0
  211. package/lib/generated-client/models/channel-type.js +21 -0
  212. package/lib/generated-client/models/chapter-info.d.ts +47 -0
  213. package/lib/generated-client/models/chapter-info.js +13 -0
  214. package/lib/generated-client/models/client-capabilities-dto.d.ts +79 -0
  215. package/lib/generated-client/models/client-capabilities-dto.js +13 -0
  216. package/lib/generated-client/models/client-capabilities.d.ts +79 -0
  217. package/lib/generated-client/models/client-capabilities.js +13 -0
  218. package/lib/generated-client/models/client-log-document-response-dto.d.ts +23 -0
  219. package/lib/generated-client/models/client-log-document-response-dto.js +13 -0
  220. package/lib/generated-client/models/codec-profile.d.ts +49 -0
  221. package/lib/generated-client/models/codec-profile.js +13 -0
  222. package/lib/generated-client/models/codec-type.d.ts +21 -0
  223. package/lib/generated-client/models/codec-type.js +22 -0
  224. package/lib/generated-client/models/collection-creation-result.d.ts +23 -0
  225. package/lib/generated-client/models/collection-creation-result.js +13 -0
  226. package/lib/generated-client/models/collection-type-options.d.ts +26 -0
  227. package/lib/generated-client/models/collection-type-options.js +27 -0
  228. package/lib/generated-client/models/config-image-types.d.ts +59 -0
  229. package/lib/generated-client/models/config-image-types.js +13 -0
  230. package/lib/generated-client/models/configuration-page-info.d.ts +53 -0
  231. package/lib/generated-client/models/configuration-page-info.js +13 -0
  232. package/lib/generated-client/models/container-profile.d.ts +37 -0
  233. package/lib/generated-client/models/container-profile.js +13 -0
  234. package/lib/generated-client/models/control-response.d.ts +37 -0
  235. package/lib/generated-client/models/control-response.js +13 -0
  236. package/lib/generated-client/models/country-info.d.ts +41 -0
  237. package/lib/generated-client/models/country-info.js +13 -0
  238. package/lib/generated-client/models/create-playlist-dto.d.ts +41 -0
  239. package/lib/generated-client/models/create-playlist-dto.js +13 -0
  240. package/lib/generated-client/models/create-user-by-name.d.ts +29 -0
  241. package/lib/generated-client/models/create-user-by-name.js +13 -0
  242. package/lib/generated-client/models/culture-dto.d.ts +47 -0
  243. package/lib/generated-client/models/culture-dto.js +13 -0
  244. package/lib/generated-client/models/day-of-week.d.ts +25 -0
  245. package/lib/generated-client/models/day-of-week.js +26 -0
  246. package/lib/generated-client/models/day-pattern.d.ts +21 -0
  247. package/lib/generated-client/models/day-pattern.js +22 -0
  248. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +23 -0
  249. package/lib/generated-client/models/default-directory-browser-info-dto.js +13 -0
  250. package/lib/generated-client/models/device-identification.d.ts +72 -0
  251. package/lib/generated-client/models/device-identification.js +13 -0
  252. package/lib/generated-client/models/device-info-query-result.d.ts +36 -0
  253. package/lib/generated-client/models/device-info-query-result.js +13 -0
  254. package/lib/generated-client/models/device-info.d.ts +78 -0
  255. package/lib/generated-client/models/device-info.js +13 -0
  256. package/lib/generated-client/models/device-options-dto.d.ts +35 -0
  257. package/lib/generated-client/models/device-options-dto.js +13 -0
  258. package/lib/generated-client/models/device-options.d.ts +35 -0
  259. package/lib/generated-client/models/device-options.js +13 -0
  260. package/lib/generated-client/models/device-profile-info.d.ts +36 -0
  261. package/lib/generated-client/models/device-profile-info.js +13 -0
  262. package/lib/generated-client/models/device-profile-type.d.ts +20 -0
  263. package/lib/generated-client/models/device-profile-type.js +21 -0
  264. package/lib/generated-client/models/device-profile.d.ts +259 -0
  265. package/lib/generated-client/models/device-profile.js +13 -0
  266. package/lib/generated-client/models/direct-play-profile.d.ts +42 -0
  267. package/lib/generated-client/models/direct-play-profile.js +13 -0
  268. package/lib/generated-client/models/display-preferences-dto.d.ts +105 -0
  269. package/lib/generated-client/models/display-preferences-dto.js +13 -0
  270. package/lib/generated-client/models/dlna-options.d.ts +83 -0
  271. package/lib/generated-client/models/dlna-options.js +13 -0
  272. package/lib/generated-client/models/dlna-profile-type.d.ts +22 -0
  273. package/lib/generated-client/models/dlna-profile-type.js +23 -0
  274. package/lib/generated-client/models/dynamic-day-of-week.d.ts +28 -0
  275. package/lib/generated-client/models/dynamic-day-of-week.js +29 -0
  276. package/lib/generated-client/models/embedded-subtitle-options.d.ts +22 -0
  277. package/lib/generated-client/models/embedded-subtitle-options.js +23 -0
  278. package/lib/generated-client/models/encoding-context.d.ts +20 -0
  279. package/lib/generated-client/models/encoding-context.js +21 -0
  280. package/lib/generated-client/models/encoding-options.d.ts +245 -0
  281. package/lib/generated-client/models/encoding-options.js +13 -0
  282. package/lib/generated-client/models/end-point-info.d.ts +29 -0
  283. package/lib/generated-client/models/end-point-info.js +13 -0
  284. package/lib/generated-client/models/external-id-info.d.ts +42 -0
  285. package/lib/generated-client/models/external-id-info.js +13 -0
  286. package/lib/generated-client/models/external-id-media-type.d.ts +30 -0
  287. package/lib/generated-client/models/external-id-media-type.js +31 -0
  288. package/lib/generated-client/models/external-url.d.ts +29 -0
  289. package/lib/generated-client/models/external-url.js +13 -0
  290. package/lib/generated-client/models/ffmpeg-location.d.ts +22 -0
  291. package/lib/generated-client/models/ffmpeg-location.js +23 -0
  292. package/lib/generated-client/models/file-system-entry-info.d.ts +36 -0
  293. package/lib/generated-client/models/file-system-entry-info.js +13 -0
  294. package/lib/generated-client/models/file-system-entry-type.d.ts +22 -0
  295. package/lib/generated-client/models/file-system-entry-type.js +23 -0
  296. package/lib/generated-client/models/font-file.d.ts +41 -0
  297. package/lib/generated-client/models/font-file.js +13 -0
  298. package/lib/generated-client/models/forgot-password-action.d.ts +21 -0
  299. package/lib/generated-client/models/forgot-password-action.js +22 -0
  300. package/lib/generated-client/models/forgot-password-dto.d.ts +23 -0
  301. package/lib/generated-client/models/forgot-password-dto.js +13 -0
  302. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +23 -0
  303. package/lib/generated-client/models/forgot-password-pin-dto.js +13 -0
  304. package/lib/generated-client/models/forgot-password-result.d.ts +36 -0
  305. package/lib/generated-client/models/forgot-password-result.js +13 -0
  306. package/lib/generated-client/models/general-command-type.d.ts +60 -0
  307. package/lib/generated-client/models/general-command-type.js +61 -0
  308. package/lib/generated-client/models/general-command.d.ts +38 -0
  309. package/lib/generated-client/models/general-command.js +13 -0
  310. package/lib/generated-client/models/get-programs-dto.d.ts +182 -0
  311. package/lib/generated-client/models/get-programs-dto.js +13 -0
  312. package/lib/generated-client/models/group-info-dto.d.ts +48 -0
  313. package/lib/generated-client/models/group-info-dto.js +13 -0
  314. package/lib/generated-client/models/group-queue-mode.d.ts +20 -0
  315. package/lib/generated-client/models/group-queue-mode.js +21 -0
  316. package/lib/generated-client/models/group-repeat-mode.d.ts +21 -0
  317. package/lib/generated-client/models/group-repeat-mode.js +22 -0
  318. package/lib/generated-client/models/group-shuffle-mode.d.ts +20 -0
  319. package/lib/generated-client/models/group-shuffle-mode.js +21 -0
  320. package/lib/generated-client/models/group-state-type.d.ts +22 -0
  321. package/lib/generated-client/models/group-state-type.js +23 -0
  322. package/lib/generated-client/models/group-update-type.d.ts +29 -0
  323. package/lib/generated-client/models/group-update-type.js +30 -0
  324. package/lib/generated-client/models/guide-info.d.ts +29 -0
  325. package/lib/generated-client/models/guide-info.js +13 -0
  326. package/lib/generated-client/models/hardware-encoding-type.d.ts +24 -0
  327. package/lib/generated-client/models/hardware-encoding-type.js +25 -0
  328. package/lib/generated-client/models/header-match-type.d.ts +21 -0
  329. package/lib/generated-client/models/header-match-type.js +22 -0
  330. package/lib/generated-client/models/http-header-info.d.ts +36 -0
  331. package/lib/generated-client/models/http-header-info.js +13 -0
  332. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +23 -0
  333. package/lib/generated-client/models/ignore-wait-request-dto.js +13 -0
  334. package/lib/generated-client/models/image-by-name-info.d.ts +47 -0
  335. package/lib/generated-client/models/image-by-name-info.js +13 -0
  336. package/lib/generated-client/models/image-format.d.ts +23 -0
  337. package/lib/generated-client/models/image-format.js +24 -0
  338. package/lib/generated-client/models/image-info.d.ts +66 -0
  339. package/lib/generated-client/models/image-info.js +13 -0
  340. package/lib/generated-client/models/image-option.d.ts +36 -0
  341. package/lib/generated-client/models/image-option.js +13 -0
  342. package/lib/generated-client/models/image-orientation.d.ts +26 -0
  343. package/lib/generated-client/models/image-orientation.js +27 -0
  344. package/lib/generated-client/models/image-provider-info.d.ts +30 -0
  345. package/lib/generated-client/models/image-provider-info.js +13 -0
  346. package/lib/generated-client/models/image-resolution.d.ts +27 -0
  347. package/lib/generated-client/models/image-resolution.js +28 -0
  348. package/lib/generated-client/models/image-saving-convention.d.ts +20 -0
  349. package/lib/generated-client/models/image-saving-convention.js +21 -0
  350. package/lib/generated-client/models/image-type.d.ts +31 -0
  351. package/lib/generated-client/models/image-type.js +32 -0
  352. package/lib/generated-client/models/index.d.ts +289 -0
  353. package/lib/generated-client/models/index.js +289 -0
  354. package/lib/generated-client/models/installation-info.d.ts +60 -0
  355. package/lib/generated-client/models/installation-info.js +13 -0
  356. package/lib/generated-client/models/iplugin.d.ts +59 -0
  357. package/lib/generated-client/models/iplugin.js +13 -0
  358. package/lib/generated-client/models/iso-type.d.ts +20 -0
  359. package/lib/generated-client/models/iso-type.js +21 -0
  360. package/lib/generated-client/models/item-counts.d.ts +89 -0
  361. package/lib/generated-client/models/item-counts.js +13 -0
  362. package/lib/generated-client/models/item-fields.d.ts +79 -0
  363. package/lib/generated-client/models/item-fields.js +80 -0
  364. package/lib/generated-client/models/item-filter.d.ts +27 -0
  365. package/lib/generated-client/models/item-filter.js +28 -0
  366. package/lib/generated-client/models/join-group-request-dto.d.ts +23 -0
  367. package/lib/generated-client/models/join-group-request-dto.js +13 -0
  368. package/lib/generated-client/models/keep-until.d.ts +22 -0
  369. package/lib/generated-client/models/keep-until.js +23 -0
  370. package/lib/generated-client/models/library-option-info-dto.d.ts +29 -0
  371. package/lib/generated-client/models/library-option-info-dto.js +13 -0
  372. package/lib/generated-client/models/library-options-result-dto.d.ts +43 -0
  373. package/lib/generated-client/models/library-options-result-dto.js +13 -0
  374. package/lib/generated-client/models/library-options.d.ts +183 -0
  375. package/lib/generated-client/models/library-options.js +13 -0
  376. package/lib/generated-client/models/library-type-options-dto.d.ts +50 -0
  377. package/lib/generated-client/models/library-type-options-dto.js +13 -0
  378. package/lib/generated-client/models/library-update-info.d.ts +59 -0
  379. package/lib/generated-client/models/library-update-info.js +13 -0
  380. package/lib/generated-client/models/listings-provider-info.d.ts +126 -0
  381. package/lib/generated-client/models/listings-provider-info.js +13 -0
  382. package/lib/generated-client/models/live-stream-response.d.ts +24 -0
  383. package/lib/generated-client/models/live-stream-response.js +13 -0
  384. package/lib/generated-client/models/live-tv-info.d.ts +36 -0
  385. package/lib/generated-client/models/live-tv-info.js +13 -0
  386. package/lib/generated-client/models/live-tv-options.d.ts +97 -0
  387. package/lib/generated-client/models/live-tv-options.js +13 -0
  388. package/lib/generated-client/models/live-tv-service-info.d.ts +66 -0
  389. package/lib/generated-client/models/live-tv-service-info.js +13 -0
  390. package/lib/generated-client/models/live-tv-service-status.d.ts +20 -0
  391. package/lib/generated-client/models/live-tv-service-status.js +21 -0
  392. package/lib/generated-client/models/localization-option.d.ts +29 -0
  393. package/lib/generated-client/models/localization-option.js +13 -0
  394. package/lib/generated-client/models/location-type.d.ts +22 -0
  395. package/lib/generated-client/models/location-type.js +23 -0
  396. package/lib/generated-client/models/log-file.d.ts +41 -0
  397. package/lib/generated-client/models/log-file.js +13 -0
  398. package/lib/generated-client/models/log-level.d.ts +25 -0
  399. package/lib/generated-client/models/log-level.js +26 -0
  400. package/lib/generated-client/models/lyric-line.d.ts +29 -0
  401. package/lib/generated-client/models/lyric-line.js +13 -0
  402. package/lib/generated-client/models/lyric-metadata.d.ts +71 -0
  403. package/lib/generated-client/models/lyric-metadata.js +13 -0
  404. package/lib/generated-client/models/lyric-response.d.ts +31 -0
  405. package/lib/generated-client/models/lyric-response.js +13 -0
  406. package/lib/generated-client/models/media-attachment.d.ts +59 -0
  407. package/lib/generated-client/models/media-attachment.js +13 -0
  408. package/lib/generated-client/models/media-encoder-path-dto.d.ts +29 -0
  409. package/lib/generated-client/models/media-encoder-path-dto.js +13 -0
  410. package/lib/generated-client/models/media-path-dto.d.ts +36 -0
  411. package/lib/generated-client/models/media-path-dto.js +13 -0
  412. package/lib/generated-client/models/media-path-info.d.ts +29 -0
  413. package/lib/generated-client/models/media-path-info.js +13 -0
  414. package/lib/generated-client/models/media-protocol.d.ts +25 -0
  415. package/lib/generated-client/models/media-protocol.js +26 -0
  416. package/lib/generated-client/models/media-source-info.d.ts +279 -0
  417. package/lib/generated-client/models/media-source-info.js +13 -0
  418. package/lib/generated-client/models/media-source-type.d.ts +21 -0
  419. package/lib/generated-client/models/media-source-type.js +22 -0
  420. package/lib/generated-client/models/media-stream-type.d.ts +23 -0
  421. package/lib/generated-client/models/media-stream-type.js +24 -0
  422. package/lib/generated-client/models/media-stream.d.ts +379 -0
  423. package/lib/generated-client/models/media-stream.js +13 -0
  424. package/lib/generated-client/models/media-update-info-dto.d.ts +24 -0
  425. package/lib/generated-client/models/media-update-info-dto.js +13 -0
  426. package/lib/generated-client/models/media-update-info-path-dto.d.ts +29 -0
  427. package/lib/generated-client/models/media-update-info-path-dto.js +13 -0
  428. package/lib/generated-client/models/media-url.d.ts +29 -0
  429. package/lib/generated-client/models/media-url.js +13 -0
  430. package/lib/generated-client/models/message-command.d.ts +35 -0
  431. package/lib/generated-client/models/message-command.js +13 -0
  432. package/lib/generated-client/models/metadata-configuration.d.ts +23 -0
  433. package/lib/generated-client/models/metadata-configuration.js +13 -0
  434. package/lib/generated-client/models/metadata-editor-info.d.ts +58 -0
  435. package/lib/generated-client/models/metadata-editor-info.js +13 -0
  436. package/lib/generated-client/models/metadata-field.d.ts +27 -0
  437. package/lib/generated-client/models/metadata-field.js +28 -0
  438. package/lib/generated-client/models/metadata-options.d.ts +59 -0
  439. package/lib/generated-client/models/metadata-options.js +13 -0
  440. package/lib/generated-client/models/metadata-refresh-mode.d.ts +22 -0
  441. package/lib/generated-client/models/metadata-refresh-mode.js +23 -0
  442. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +29 -0
  443. package/lib/generated-client/models/move-playlist-item-request-dto.js +13 -0
  444. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +42 -0
  445. package/lib/generated-client/models/movie-info-remote-search-query.js +13 -0
  446. package/lib/generated-client/models/movie-info.d.ts +85 -0
  447. package/lib/generated-client/models/movie-info.js +13 -0
  448. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +42 -0
  449. package/lib/generated-client/models/music-video-info-remote-search-query.js +13 -0
  450. package/lib/generated-client/models/music-video-info.d.ts +91 -0
  451. package/lib/generated-client/models/music-video-info.js +13 -0
  452. package/lib/generated-client/models/name-guid-pair.d.ts +29 -0
  453. package/lib/generated-client/models/name-guid-pair.js +13 -0
  454. package/lib/generated-client/models/name-id-pair.d.ts +29 -0
  455. package/lib/generated-client/models/name-id-pair.js +13 -0
  456. package/lib/generated-client/models/name-value-pair.d.ts +29 -0
  457. package/lib/generated-client/models/name-value-pair.js +13 -0
  458. package/lib/generated-client/models/network-configuration.d.ts +221 -0
  459. package/lib/generated-client/models/network-configuration.js +13 -0
  460. package/lib/generated-client/models/new-group-request-dto.d.ts +23 -0
  461. package/lib/generated-client/models/new-group-request-dto.js +13 -0
  462. package/lib/generated-client/models/next-item-request-dto.d.ts +23 -0
  463. package/lib/generated-client/models/next-item-request-dto.js +13 -0
  464. package/lib/generated-client/models/notification-dto.d.ts +66 -0
  465. package/lib/generated-client/models/notification-dto.js +13 -0
  466. package/lib/generated-client/models/notification-level.d.ts +21 -0
  467. package/lib/generated-client/models/notification-level.js +22 -0
  468. package/lib/generated-client/models/notification-option.d.ts +54 -0
  469. package/lib/generated-client/models/notification-option.js +13 -0
  470. package/lib/generated-client/models/notification-options.d.ts +24 -0
  471. package/lib/generated-client/models/notification-options.js +13 -0
  472. package/lib/generated-client/models/notification-result-dto.d.ts +30 -0
  473. package/lib/generated-client/models/notification-result-dto.js +13 -0
  474. package/lib/generated-client/models/notification-type-info.d.ts +47 -0
  475. package/lib/generated-client/models/notification-type-info.js +13 -0
  476. package/lib/generated-client/models/notifications-summary-dto.d.ts +30 -0
  477. package/lib/generated-client/models/notifications-summary-dto.js +13 -0
  478. package/lib/generated-client/models/object-group-update.d.ts +36 -0
  479. package/lib/generated-client/models/object-group-update.js +13 -0
  480. package/lib/generated-client/models/open-live-stream-dto.d.ts +97 -0
  481. package/lib/generated-client/models/open-live-stream-dto.js +13 -0
  482. package/lib/generated-client/models/package-info.d.ts +66 -0
  483. package/lib/generated-client/models/package-info.js +13 -0
  484. package/lib/generated-client/models/parental-rating.d.ts +29 -0
  485. package/lib/generated-client/models/parental-rating.js +13 -0
  486. package/lib/generated-client/models/path-substitution.d.ts +29 -0
  487. package/lib/generated-client/models/path-substitution.js +13 -0
  488. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +42 -0
  489. package/lib/generated-client/models/person-lookup-info-remote-search-query.js +13 -0
  490. package/lib/generated-client/models/person-lookup-info.d.ts +85 -0
  491. package/lib/generated-client/models/person-lookup-info.js +13 -0
  492. package/lib/generated-client/models/pin-redeem-result.d.ts +29 -0
  493. package/lib/generated-client/models/pin-redeem-result.js +13 -0
  494. package/lib/generated-client/models/ping-request-dto.d.ts +23 -0
  495. package/lib/generated-client/models/ping-request-dto.js +13 -0
  496. package/lib/generated-client/models/play-access.d.ts +20 -0
  497. package/lib/generated-client/models/play-access.js +21 -0
  498. package/lib/generated-client/models/play-command.d.ts +23 -0
  499. package/lib/generated-client/models/play-command.js +24 -0
  500. package/lib/generated-client/models/play-method.d.ts +21 -0
  501. package/lib/generated-client/models/play-method.js +22 -0
  502. package/lib/generated-client/models/play-request-dto.d.ts +35 -0
  503. package/lib/generated-client/models/play-request-dto.js +13 -0
  504. package/lib/generated-client/models/play-request.d.ts +66 -0
  505. package/lib/generated-client/models/play-request.js +13 -0
  506. package/lib/generated-client/models/playback-error-code.d.ts +21 -0
  507. package/lib/generated-client/models/playback-error-code.js +22 -0
  508. package/lib/generated-client/models/playback-info-dto.d.ts +108 -0
  509. package/lib/generated-client/models/playback-info-dto.js +13 -0
  510. package/lib/generated-client/models/playback-info-response.d.ts +37 -0
  511. package/lib/generated-client/models/playback-info-response.js +13 -0
  512. package/lib/generated-client/models/playback-progress-info.d.ts +141 -0
  513. package/lib/generated-client/models/playback-progress-info.js +13 -0
  514. package/lib/generated-client/models/playback-start-info.d.ts +141 -0
  515. package/lib/generated-client/models/playback-start-info.js +13 -0
  516. package/lib/generated-client/models/playback-stop-info.d.ts +85 -0
  517. package/lib/generated-client/models/playback-stop-info.js +13 -0
  518. package/lib/generated-client/models/player-state-info.d.ts +85 -0
  519. package/lib/generated-client/models/player-state-info.js +13 -0
  520. package/lib/generated-client/models/playlist-creation-result.d.ts +23 -0
  521. package/lib/generated-client/models/playlist-creation-result.js +13 -0
  522. package/lib/generated-client/models/playstate-command.d.ts +27 -0
  523. package/lib/generated-client/models/playstate-command.js +28 -0
  524. package/lib/generated-client/models/playstate-request.d.ts +36 -0
  525. package/lib/generated-client/models/playstate-request.js +13 -0
  526. package/lib/generated-client/models/plugin-info.d.ts +66 -0
  527. package/lib/generated-client/models/plugin-info.js +13 -0
  528. package/lib/generated-client/models/plugin-status.d.ts +25 -0
  529. package/lib/generated-client/models/plugin-status.js +26 -0
  530. package/lib/generated-client/models/previous-item-request-dto.d.ts +23 -0
  531. package/lib/generated-client/models/previous-item-request-dto.js +13 -0
  532. package/lib/generated-client/models/problem-details.d.ts +48 -0
  533. package/lib/generated-client/models/problem-details.js +13 -0
  534. package/lib/generated-client/models/profile-condition-type.d.ts +23 -0
  535. package/lib/generated-client/models/profile-condition-type.js +24 -0
  536. package/lib/generated-client/models/profile-condition-value.d.ts +42 -0
  537. package/lib/generated-client/models/profile-condition-value.js +43 -0
  538. package/lib/generated-client/models/profile-condition.d.ts +43 -0
  539. package/lib/generated-client/models/profile-condition.js +13 -0
  540. package/lib/generated-client/models/program-audio.d.ts +24 -0
  541. package/lib/generated-client/models/program-audio.js +25 -0
  542. package/lib/generated-client/models/public-system-info.d.ts +59 -0
  543. package/lib/generated-client/models/public-system-info.js +13 -0
  544. package/lib/generated-client/models/query-filters-legacy.d.ts +41 -0
  545. package/lib/generated-client/models/query-filters-legacy.js +13 -0
  546. package/lib/generated-client/models/query-filters.d.ts +30 -0
  547. package/lib/generated-client/models/query-filters.js +13 -0
  548. package/lib/generated-client/models/queue-item.d.ts +29 -0
  549. package/lib/generated-client/models/queue-item.js +13 -0
  550. package/lib/generated-client/models/queue-request-dto.d.ts +30 -0
  551. package/lib/generated-client/models/queue-request-dto.js +13 -0
  552. package/lib/generated-client/models/quick-connect-dto.d.ts +23 -0
  553. package/lib/generated-client/models/quick-connect-dto.js +13 -0
  554. package/lib/generated-client/models/quick-connect-result.d.ts +65 -0
  555. package/lib/generated-client/models/quick-connect-result.js +13 -0
  556. package/lib/generated-client/models/rating-type.d.ts +20 -0
  557. package/lib/generated-client/models/rating-type.js +21 -0
  558. package/lib/generated-client/models/ready-request-dto.d.ts +41 -0
  559. package/lib/generated-client/models/ready-request-dto.js +13 -0
  560. package/lib/generated-client/models/recommendation-dto.d.ts +43 -0
  561. package/lib/generated-client/models/recommendation-dto.js +13 -0
  562. package/lib/generated-client/models/recommendation-type.d.ts +24 -0
  563. package/lib/generated-client/models/recommendation-type.js +25 -0
  564. package/lib/generated-client/models/recording-status.d.ts +25 -0
  565. package/lib/generated-client/models/recording-status.js +26 -0
  566. package/lib/generated-client/models/remote-image-info.d.ts +79 -0
  567. package/lib/generated-client/models/remote-image-info.js +13 -0
  568. package/lib/generated-client/models/remote-image-result.d.ts +36 -0
  569. package/lib/generated-client/models/remote-image-result.js +13 -0
  570. package/lib/generated-client/models/remote-search-result.d.ts +91 -0
  571. package/lib/generated-client/models/remote-search-result.js +13 -0
  572. package/lib/generated-client/models/remote-subtitle-info.d.ts +83 -0
  573. package/lib/generated-client/models/remote-subtitle-info.js +13 -0
  574. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +35 -0
  575. package/lib/generated-client/models/remove-from-playlist-request-dto.js +13 -0
  576. package/lib/generated-client/models/repeat-mode.d.ts +21 -0
  577. package/lib/generated-client/models/repeat-mode.js +22 -0
  578. package/lib/generated-client/models/repository-info.d.ts +35 -0
  579. package/lib/generated-client/models/repository-info.js +13 -0
  580. package/lib/generated-client/models/response-profile.d.ts +61 -0
  581. package/lib/generated-client/models/response-profile.js +13 -0
  582. package/lib/generated-client/models/scroll-direction.d.ts +20 -0
  583. package/lib/generated-client/models/scroll-direction.js +21 -0
  584. package/lib/generated-client/models/search-hint-result.d.ts +30 -0
  585. package/lib/generated-client/models/search-hint-result.js +13 -0
  586. package/lib/generated-client/models/search-hint.d.ts +193 -0
  587. package/lib/generated-client/models/search-hint.js +13 -0
  588. package/lib/generated-client/models/seek-request-dto.d.ts +23 -0
  589. package/lib/generated-client/models/seek-request-dto.js +13 -0
  590. package/lib/generated-client/models/send-command-type.d.ts +22 -0
  591. package/lib/generated-client/models/send-command-type.js +23 -0
  592. package/lib/generated-client/models/send-command.d.ts +54 -0
  593. package/lib/generated-client/models/send-command.js +13 -0
  594. package/lib/generated-client/models/send-to-user-type.d.ts +21 -0
  595. package/lib/generated-client/models/send-to-user-type.js +22 -0
  596. package/lib/generated-client/models/series-info-remote-search-query.d.ts +42 -0
  597. package/lib/generated-client/models/series-info-remote-search-query.js +13 -0
  598. package/lib/generated-client/models/series-info.d.ts +85 -0
  599. package/lib/generated-client/models/series-info.js +13 -0
  600. package/lib/generated-client/models/series-status.d.ts +21 -0
  601. package/lib/generated-client/models/series-status.js +22 -0
  602. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +36 -0
  603. package/lib/generated-client/models/series-timer-info-dto-query-result.js +13 -0
  604. package/lib/generated-client/models/series-timer-info-dto.d.ts +232 -0
  605. package/lib/generated-client/models/series-timer-info-dto.js +13 -0
  606. package/lib/generated-client/models/server-configuration.d.ts +329 -0
  607. package/lib/generated-client/models/server-configuration.js +13 -0
  608. package/lib/generated-client/models/server-discovery-info.d.ts +41 -0
  609. package/lib/generated-client/models/server-discovery-info.js +13 -0
  610. package/lib/generated-client/models/session-info.d.ts +199 -0
  611. package/lib/generated-client/models/session-info.js +13 -0
  612. package/lib/generated-client/models/session-message-type.d.ts +52 -0
  613. package/lib/generated-client/models/session-message-type.js +53 -0
  614. package/lib/generated-client/models/session-user-info.d.ts +29 -0
  615. package/lib/generated-client/models/session-user-info.js +13 -0
  616. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +35 -0
  617. package/lib/generated-client/models/set-channel-mapping-dto.js +13 -0
  618. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +23 -0
  619. package/lib/generated-client/models/set-playlist-item-request-dto.js +13 -0
  620. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +24 -0
  621. package/lib/generated-client/models/set-repeat-mode-request-dto.js +13 -0
  622. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +24 -0
  623. package/lib/generated-client/models/set-shuffle-mode-request-dto.js +13 -0
  624. package/lib/generated-client/models/song-info.d.ts +103 -0
  625. package/lib/generated-client/models/song-info.js +13 -0
  626. package/lib/generated-client/models/sort-order.d.ts +20 -0
  627. package/lib/generated-client/models/sort-order.js +21 -0
  628. package/lib/generated-client/models/special-view-option-dto.d.ts +29 -0
  629. package/lib/generated-client/models/special-view-option-dto.js +13 -0
  630. package/lib/generated-client/models/startup-configuration-dto.d.ts +35 -0
  631. package/lib/generated-client/models/startup-configuration-dto.js +13 -0
  632. package/lib/generated-client/models/startup-remote-access-dto.d.ts +29 -0
  633. package/lib/generated-client/models/startup-remote-access-dto.js +13 -0
  634. package/lib/generated-client/models/startup-user-dto.d.ts +29 -0
  635. package/lib/generated-client/models/startup-user-dto.js +13 -0
  636. package/lib/generated-client/models/subtitle-delivery-method.d.ts +23 -0
  637. package/lib/generated-client/models/subtitle-delivery-method.js +24 -0
  638. package/lib/generated-client/models/subtitle-options.d.ts +71 -0
  639. package/lib/generated-client/models/subtitle-options.js +13 -0
  640. package/lib/generated-client/models/subtitle-playback-mode.d.ts +23 -0
  641. package/lib/generated-client/models/subtitle-playback-mode.js +24 -0
  642. package/lib/generated-client/models/subtitle-profile.d.ts +48 -0
  643. package/lib/generated-client/models/subtitle-profile.js +13 -0
  644. package/lib/generated-client/models/sync-play-user-access-type.d.ts +21 -0
  645. package/lib/generated-client/models/sync-play-user-access-type.js +22 -0
  646. package/lib/generated-client/models/system-info.d.ts +177 -0
  647. package/lib/generated-client/models/system-info.js +13 -0
  648. package/lib/generated-client/models/task-completion-status.d.ts +22 -0
  649. package/lib/generated-client/models/task-completion-status.js +23 -0
  650. package/lib/generated-client/models/task-info.d.ts +80 -0
  651. package/lib/generated-client/models/task-info.js +13 -0
  652. package/lib/generated-client/models/task-result.d.ts +66 -0
  653. package/lib/generated-client/models/task-result.js +13 -0
  654. package/lib/generated-client/models/task-state.d.ts +21 -0
  655. package/lib/generated-client/models/task-state.js +22 -0
  656. package/lib/generated-client/models/task-trigger-info.d.ts +48 -0
  657. package/lib/generated-client/models/task-trigger-info.js +13 -0
  658. package/lib/generated-client/models/theme-media-result.d.ts +42 -0
  659. package/lib/generated-client/models/theme-media-result.js +13 -0
  660. package/lib/generated-client/models/timer-event-info.d.ts +29 -0
  661. package/lib/generated-client/models/timer-event-info.js +13 -0
  662. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +36 -0
  663. package/lib/generated-client/models/timer-info-dto-query-result.js +13 -0
  664. package/lib/generated-client/models/timer-info-dto.d.ts +188 -0
  665. package/lib/generated-client/models/timer-info-dto.js +13 -0
  666. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +42 -0
  667. package/lib/generated-client/models/trailer-info-remote-search-query.js +13 -0
  668. package/lib/generated-client/models/trailer-info.d.ts +85 -0
  669. package/lib/generated-client/models/trailer-info.js +13 -0
  670. package/lib/generated-client/models/transcode-reason.d.ts +43 -0
  671. package/lib/generated-client/models/transcode-reason.js +44 -0
  672. package/lib/generated-client/models/transcode-seek-info.d.ts +20 -0
  673. package/lib/generated-client/models/transcode-seek-info.js +21 -0
  674. package/lib/generated-client/models/transcoding-info.d.ts +97 -0
  675. package/lib/generated-client/models/transcoding-info.js +13 -0
  676. package/lib/generated-client/models/transcoding-profile.d.ts +117 -0
  677. package/lib/generated-client/models/transcoding-profile.js +13 -0
  678. package/lib/generated-client/models/transport-stream-timestamp.d.ts +21 -0
  679. package/lib/generated-client/models/transport-stream-timestamp.js +22 -0
  680. package/lib/generated-client/models/tuner-channel-mapping.d.ts +41 -0
  681. package/lib/generated-client/models/tuner-channel-mapping.js +13 -0
  682. package/lib/generated-client/models/tuner-host-info.d.ts +89 -0
  683. package/lib/generated-client/models/tuner-host-info.js +13 -0
  684. package/lib/generated-client/models/type-options.d.ts +54 -0
  685. package/lib/generated-client/models/type-options.js +13 -0
  686. package/lib/generated-client/models/unrated-item.d.ts +27 -0
  687. package/lib/generated-client/models/unrated-item.js +28 -0
  688. package/lib/generated-client/models/update-library-options-dto.d.ts +30 -0
  689. package/lib/generated-client/models/update-library-options-dto.js +13 -0
  690. package/lib/generated-client/models/update-media-path-request-dto.d.ts +30 -0
  691. package/lib/generated-client/models/update-media-path-request-dto.js +13 -0
  692. package/lib/generated-client/models/update-user-easy-password.d.ts +35 -0
  693. package/lib/generated-client/models/update-user-easy-password.js +13 -0
  694. package/lib/generated-client/models/update-user-password.d.ts +41 -0
  695. package/lib/generated-client/models/update-user-password.js +13 -0
  696. package/lib/generated-client/models/upload-subtitle-dto.d.ts +41 -0
  697. package/lib/generated-client/models/upload-subtitle-dto.js +13 -0
  698. package/lib/generated-client/models/user-configuration.d.ts +108 -0
  699. package/lib/generated-client/models/user-configuration.js +13 -0
  700. package/lib/generated-client/models/user-dto.d.ts +103 -0
  701. package/lib/generated-client/models/user-dto.js +13 -0
  702. package/lib/generated-client/models/user-item-data-dto.d.ts +83 -0
  703. package/lib/generated-client/models/user-item-data-dto.js +13 -0
  704. package/lib/generated-client/models/user-policy.d.ts +254 -0
  705. package/lib/generated-client/models/user-policy.js +13 -0
  706. package/lib/generated-client/models/utc-time-response.d.ts +29 -0
  707. package/lib/generated-client/models/utc-time-response.js +13 -0
  708. package/lib/generated-client/models/validate-path-dto.d.ts +35 -0
  709. package/lib/generated-client/models/validate-path-dto.js +13 -0
  710. package/lib/generated-client/models/version-info.d.ts +71 -0
  711. package/lib/generated-client/models/version-info.js +13 -0
  712. package/lib/generated-client/models/video-type.d.ts +22 -0
  713. package/lib/generated-client/models/video-type.js +23 -0
  714. package/lib/generated-client/models/video3-dformat.d.ts +23 -0
  715. package/lib/generated-client/models/video3-dformat.js +24 -0
  716. package/lib/generated-client/models/virtual-folder-info.d.ts +67 -0
  717. package/lib/generated-client/models/virtual-folder-info.js +13 -0
  718. package/lib/generated-client/models/wake-on-lan-info.d.ts +29 -0
  719. package/lib/generated-client/models/wake-on-lan-info.js +13 -0
  720. package/lib/generated-client/models/xbmc-metadata-options.d.ts +47 -0
  721. package/lib/generated-client/models/xbmc-metadata-options.js +13 -0
  722. package/lib/generated-client/models/xml-attribute.d.ts +29 -0
  723. package/lib/generated-client/models/xml-attribute.js +13 -0
  724. package/lib/index.d.ts +10 -0
  725. package/lib/index.js +12 -0
  726. package/lib/jellyfin.d.ts +33 -0
  727. package/lib/jellyfin.js +29 -0
  728. package/lib/models/api/image-request-parameters.d.ts +29 -0
  729. package/lib/models/api/image-request-parameters.js +6 -0
  730. package/lib/models/api/index.d.ts +7 -0
  731. package/lib/models/api/index.js +7 -0
  732. package/lib/models/api/item-sort-by.d.ts +40 -0
  733. package/lib/models/api/item-sort-by.js +41 -0
  734. package/lib/models/client-info.d.ts +12 -0
  735. package/lib/models/client-info.js +6 -0
  736. package/lib/models/device-info.d.ts +12 -0
  737. package/lib/models/device-info.js +6 -0
  738. package/lib/models/index.d.ts +9 -0
  739. package/lib/models/index.js +9 -0
  740. package/lib/models/recommended-server-info.d.ts +22 -0
  741. package/lib/models/recommended-server-info.js +13 -0
  742. package/lib/models/recommended-server-issue.d.ts +48 -0
  743. package/lib/models/recommended-server-issue.js +55 -0
  744. package/lib/utils/address-candidates.d.ts +16 -0
  745. package/lib/utils/address-candidates.js +81 -0
  746. package/lib/utils/api/activity-log-api.d.ts +8 -0
  747. package/lib/utils/api/activity-log-api.js +9 -0
  748. package/lib/utils/api/api-key-api.d.ts +8 -0
  749. package/lib/utils/api/api-key-api.js +9 -0
  750. package/lib/utils/api/artists-api.d.ts +8 -0
  751. package/lib/utils/api/artists-api.js +9 -0
  752. package/lib/utils/api/audio-api.d.ts +8 -0
  753. package/lib/utils/api/audio-api.js +9 -0
  754. package/lib/utils/api/branding-api.d.ts +8 -0
  755. package/lib/utils/api/branding-api.js +9 -0
  756. package/lib/utils/api/channels-api.d.ts +8 -0
  757. package/lib/utils/api/channels-api.js +9 -0
  758. package/lib/utils/api/client-log-api.d.ts +8 -0
  759. package/lib/utils/api/client-log-api.js +9 -0
  760. package/lib/utils/api/collection-api.d.ts +8 -0
  761. package/lib/utils/api/collection-api.js +9 -0
  762. package/lib/utils/api/configuration-api.d.ts +8 -0
  763. package/lib/utils/api/configuration-api.js +9 -0
  764. package/lib/utils/api/dashboard-api.d.ts +8 -0
  765. package/lib/utils/api/dashboard-api.js +9 -0
  766. package/lib/utils/api/devices-api.d.ts +8 -0
  767. package/lib/utils/api/devices-api.js +9 -0
  768. package/lib/utils/api/display-preferences-api.d.ts +8 -0
  769. package/lib/utils/api/display-preferences-api.js +9 -0
  770. package/lib/utils/api/dlna-api.d.ts +8 -0
  771. package/lib/utils/api/dlna-api.js +9 -0
  772. package/lib/utils/api/dlna-server-api.d.ts +8 -0
  773. package/lib/utils/api/dlna-server-api.js +9 -0
  774. package/lib/utils/api/dynamic-hls-api.d.ts +8 -0
  775. package/lib/utils/api/dynamic-hls-api.js +9 -0
  776. package/lib/utils/api/environment-api.d.ts +8 -0
  777. package/lib/utils/api/environment-api.js +9 -0
  778. package/lib/utils/api/filter-api.d.ts +8 -0
  779. package/lib/utils/api/filter-api.js +9 -0
  780. package/lib/utils/api/genres-api.d.ts +8 -0
  781. package/lib/utils/api/genres-api.js +9 -0
  782. package/lib/utils/api/hls-segment-api.d.ts +8 -0
  783. package/lib/utils/api/hls-segment-api.js +9 -0
  784. package/lib/utils/api/image-api.d.ts +8 -0
  785. package/lib/utils/api/image-api.js +9 -0
  786. package/lib/utils/api/image-by-name-api.d.ts +8 -0
  787. package/lib/utils/api/image-by-name-api.js +9 -0
  788. package/lib/utils/api/instant-mix-api.d.ts +8 -0
  789. package/lib/utils/api/instant-mix-api.js +9 -0
  790. package/lib/utils/api/item-lookup-api.d.ts +8 -0
  791. package/lib/utils/api/item-lookup-api.js +9 -0
  792. package/lib/utils/api/item-refresh-api.d.ts +8 -0
  793. package/lib/utils/api/item-refresh-api.js +9 -0
  794. package/lib/utils/api/item-update-api.d.ts +8 -0
  795. package/lib/utils/api/item-update-api.js +9 -0
  796. package/lib/utils/api/items-api.d.ts +8 -0
  797. package/lib/utils/api/items-api.js +9 -0
  798. package/lib/utils/api/library-api.d.ts +8 -0
  799. package/lib/utils/api/library-api.js +9 -0
  800. package/lib/utils/api/library-structure-api.d.ts +8 -0
  801. package/lib/utils/api/library-structure-api.js +9 -0
  802. package/lib/utils/api/live-tv-api.d.ts +8 -0
  803. package/lib/utils/api/live-tv-api.js +9 -0
  804. package/lib/utils/api/localization-api.d.ts +8 -0
  805. package/lib/utils/api/localization-api.js +9 -0
  806. package/lib/utils/api/media-info-api.d.ts +8 -0
  807. package/lib/utils/api/media-info-api.js +9 -0
  808. package/lib/utils/api/movies-api.d.ts +8 -0
  809. package/lib/utils/api/movies-api.js +9 -0
  810. package/lib/utils/api/music-genres-api.d.ts +8 -0
  811. package/lib/utils/api/music-genres-api.js +9 -0
  812. package/lib/utils/api/notifications-api.d.ts +8 -0
  813. package/lib/utils/api/notifications-api.js +9 -0
  814. package/lib/utils/api/package-api.d.ts +8 -0
  815. package/lib/utils/api/package-api.js +9 -0
  816. package/lib/utils/api/persons-api.d.ts +8 -0
  817. package/lib/utils/api/persons-api.js +9 -0
  818. package/lib/utils/api/playlists-api.d.ts +8 -0
  819. package/lib/utils/api/playlists-api.js +9 -0
  820. package/lib/utils/api/playstate-api.d.ts +8 -0
  821. package/lib/utils/api/playstate-api.js +9 -0
  822. package/lib/utils/api/plugins-api.d.ts +8 -0
  823. package/lib/utils/api/plugins-api.js +9 -0
  824. package/lib/utils/api/quick-connect-api.d.ts +8 -0
  825. package/lib/utils/api/quick-connect-api.js +9 -0
  826. package/lib/utils/api/remote-image-api.d.ts +8 -0
  827. package/lib/utils/api/remote-image-api.js +9 -0
  828. package/lib/utils/api/scheduled-tasks-api.d.ts +8 -0
  829. package/lib/utils/api/scheduled-tasks-api.js +9 -0
  830. package/lib/utils/api/search-api.d.ts +8 -0
  831. package/lib/utils/api/search-api.js +9 -0
  832. package/lib/utils/api/session-api.d.ts +8 -0
  833. package/lib/utils/api/session-api.js +9 -0
  834. package/lib/utils/api/startup-api.d.ts +8 -0
  835. package/lib/utils/api/startup-api.js +9 -0
  836. package/lib/utils/api/studios-api.d.ts +8 -0
  837. package/lib/utils/api/studios-api.js +9 -0
  838. package/lib/utils/api/subtitle-api.d.ts +8 -0
  839. package/lib/utils/api/subtitle-api.js +9 -0
  840. package/lib/utils/api/suggestions-api.d.ts +8 -0
  841. package/lib/utils/api/suggestions-api.js +9 -0
  842. package/lib/utils/api/sync-play-api.d.ts +8 -0
  843. package/lib/utils/api/sync-play-api.js +9 -0
  844. package/lib/utils/api/system-api.d.ts +8 -0
  845. package/lib/utils/api/system-api.js +9 -0
  846. package/lib/utils/api/time-sync-api.d.ts +8 -0
  847. package/lib/utils/api/time-sync-api.js +9 -0
  848. package/lib/utils/api/tmdb-api.d.ts +8 -0
  849. package/lib/utils/api/tmdb-api.js +9 -0
  850. package/lib/utils/api/trailers-api.d.ts +8 -0
  851. package/lib/utils/api/trailers-api.js +9 -0
  852. package/lib/utils/api/tv-shows-api.d.ts +8 -0
  853. package/lib/utils/api/tv-shows-api.js +9 -0
  854. package/lib/utils/api/universal-audio-api.d.ts +8 -0
  855. package/lib/utils/api/universal-audio-api.js +9 -0
  856. package/lib/utils/api/user-api.d.ts +8 -0
  857. package/lib/utils/api/user-api.js +9 -0
  858. package/lib/utils/api/user-library-api.d.ts +8 -0
  859. package/lib/utils/api/user-library-api.js +9 -0
  860. package/lib/utils/api/user-views-api.d.ts +8 -0
  861. package/lib/utils/api/user-views-api.js +9 -0
  862. package/lib/utils/api/video-attachments-api.d.ts +8 -0
  863. package/lib/utils/api/video-attachments-api.js +9 -0
  864. package/lib/utils/api/videos-api.d.ts +8 -0
  865. package/lib/utils/api/videos-api.js +9 -0
  866. package/lib/utils/api/years-api.d.ts +8 -0
  867. package/lib/utils/api/years-api.js +9 -0
  868. package/lib/utils/authentication.d.ts +10 -0
  869. package/lib/utils/authentication.js +13 -0
  870. package/lib/utils/browser-profiles.d.ts +25 -0
  871. package/lib/utils/browser-profiles.js +40 -0
  872. package/lib/utils/index.d.ts +9 -0
  873. package/lib/utils/index.js +9 -0
  874. package/lib/utils/normalize-url.d.ts +20 -0
  875. package/lib/utils/normalize-url.js +93 -0
  876. package/lib/utils/url.d.ts +31 -0
  877. package/lib/utils/url.js +45 -0
  878. package/openapi-templates/licenseInfo.mustache +10 -0
  879. package/package.json +45 -0
  880. package/tsconfig.json +27 -0
@@ -0,0 +1,3349 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5
+ * Do not edit the class manually.
6
+ *
7
+ * Jellyfin API
8
+ *
9
+ * This Source Code Form is subject to the terms of the Mozilla Public
10
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
11
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
+ */
13
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ import globalAxios from 'axios';
23
+ // Some imports not used depending on template conditions
24
+ // @ts-ignore
25
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
26
+ // @ts-ignore
27
+ import { BASE_PATH, BaseAPI } from '../base';
28
+ /**
29
+ * LiveTvApi - axios parameter creator
30
+ * @export
31
+ */
32
+ export const LiveTvApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ *
36
+ * @summary Adds a listings provider.
37
+ * @param {string} [pw] Password.
38
+ * @param {boolean} [validateListings] Validate listings.
39
+ * @param {boolean} [validateLogin] Validate login.
40
+ * @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ addListingProvider: (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) => __awaiter(this, void 0, void 0, function* () {
45
+ const localVarPath = `/LiveTv/ListingProviders`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication CustomAuthentication required
56
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
57
+ if (pw !== undefined) {
58
+ localVarQueryParameter['pw'] = pw;
59
+ }
60
+ if (validateListings !== undefined) {
61
+ localVarQueryParameter['validateListings'] = validateListings;
62
+ }
63
+ if (validateLogin !== undefined) {
64
+ localVarQueryParameter['validateLogin'] = validateLogin;
65
+ }
66
+ localVarHeaderParameter['Content-Type'] = 'application/json';
67
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70
+ localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration);
71
+ return {
72
+ url: toPathString(localVarUrlObj),
73
+ options: localVarRequestOptions,
74
+ };
75
+ }),
76
+ /**
77
+ *
78
+ * @summary Adds a tuner host.
79
+ * @param {TunerHostInfo} [tunerHostInfo] New tuner host.
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ addTunerHost: (tunerHostInfo, options = {}) => __awaiter(this, void 0, void 0, function* () {
84
+ const localVarPath = `/LiveTv/TunerHosts`;
85
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
86
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87
+ let baseOptions;
88
+ if (configuration) {
89
+ baseOptions = configuration.baseOptions;
90
+ }
91
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
92
+ const localVarHeaderParameter = {};
93
+ const localVarQueryParameter = {};
94
+ // authentication CustomAuthentication required
95
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
96
+ localVarHeaderParameter['Content-Type'] = 'application/json';
97
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
98
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
100
+ localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration);
101
+ return {
102
+ url: toPathString(localVarUrlObj),
103
+ options: localVarRequestOptions,
104
+ };
105
+ }),
106
+ /**
107
+ *
108
+ * @summary Cancels a live tv series timer.
109
+ * @param {string} timerId Timer id.
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ cancelSeriesTimer: (timerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
114
+ // verify required parameter 'timerId' is not null or undefined
115
+ assertParamExists('cancelSeriesTimer', 'timerId', timerId);
116
+ const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
117
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
118
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
119
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120
+ let baseOptions;
121
+ if (configuration) {
122
+ baseOptions = configuration.baseOptions;
123
+ }
124
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
125
+ const localVarHeaderParameter = {};
126
+ const localVarQueryParameter = {};
127
+ // authentication CustomAuthentication required
128
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
129
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
130
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
131
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
137
+ /**
138
+ *
139
+ * @summary Cancels a live tv timer.
140
+ * @param {string} timerId Timer id.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ cancelTimer: (timerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
145
+ // verify required parameter 'timerId' is not null or undefined
146
+ assertParamExists('cancelTimer', 'timerId', timerId);
147
+ const localVarPath = `/LiveTv/Timers/{timerId}`
148
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151
+ let baseOptions;
152
+ if (configuration) {
153
+ baseOptions = configuration.baseOptions;
154
+ }
155
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
156
+ const localVarHeaderParameter = {};
157
+ const localVarQueryParameter = {};
158
+ // authentication CustomAuthentication required
159
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
160
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
161
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
162
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
163
+ return {
164
+ url: toPathString(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ };
167
+ }),
168
+ /**
169
+ *
170
+ * @summary Creates a live tv series timer.
171
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ createSeriesTimer: (seriesTimerInfoDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
176
+ const localVarPath = `/LiveTv/SeriesTimers`;
177
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
+ let baseOptions;
180
+ if (configuration) {
181
+ baseOptions = configuration.baseOptions;
182
+ }
183
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
184
+ const localVarHeaderParameter = {};
185
+ const localVarQueryParameter = {};
186
+ // authentication CustomAuthentication required
187
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
188
+ localVarHeaderParameter['Content-Type'] = 'application/json';
189
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
190
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
193
+ return {
194
+ url: toPathString(localVarUrlObj),
195
+ options: localVarRequestOptions,
196
+ };
197
+ }),
198
+ /**
199
+ *
200
+ * @summary Creates a live tv timer.
201
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ createTimer: (timerInfoDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
206
+ const localVarPath = `/LiveTv/Timers`;
207
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
208
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
209
+ let baseOptions;
210
+ if (configuration) {
211
+ baseOptions = configuration.baseOptions;
212
+ }
213
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
214
+ const localVarHeaderParameter = {};
215
+ const localVarQueryParameter = {};
216
+ // authentication CustomAuthentication required
217
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
218
+ localVarHeaderParameter['Content-Type'] = 'application/json';
219
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
220
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
221
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
222
+ localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
223
+ return {
224
+ url: toPathString(localVarUrlObj),
225
+ options: localVarRequestOptions,
226
+ };
227
+ }),
228
+ /**
229
+ *
230
+ * @summary Delete listing provider.
231
+ * @param {string} [id] Listing provider id.
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ deleteListingProvider: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
236
+ const localVarPath = `/LiveTv/ListingProviders`;
237
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
238
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
239
+ let baseOptions;
240
+ if (configuration) {
241
+ baseOptions = configuration.baseOptions;
242
+ }
243
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
244
+ const localVarHeaderParameter = {};
245
+ const localVarQueryParameter = {};
246
+ // authentication CustomAuthentication required
247
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
248
+ if (id !== undefined) {
249
+ localVarQueryParameter['id'] = id;
250
+ }
251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
253
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
254
+ return {
255
+ url: toPathString(localVarUrlObj),
256
+ options: localVarRequestOptions,
257
+ };
258
+ }),
259
+ /**
260
+ *
261
+ * @summary Deletes a live tv recording.
262
+ * @param {string} recordingId Recording id.
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ deleteRecording: (recordingId, options = {}) => __awaiter(this, void 0, void 0, function* () {
267
+ // verify required parameter 'recordingId' is not null or undefined
268
+ assertParamExists('deleteRecording', 'recordingId', recordingId);
269
+ const localVarPath = `/LiveTv/Recordings/{recordingId}`
270
+ .replace(`{${"recordingId"}}`, encodeURIComponent(String(recordingId)));
271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
273
+ let baseOptions;
274
+ if (configuration) {
275
+ baseOptions = configuration.baseOptions;
276
+ }
277
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
278
+ const localVarHeaderParameter = {};
279
+ const localVarQueryParameter = {};
280
+ // authentication CustomAuthentication required
281
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
282
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
283
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
284
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
285
+ return {
286
+ url: toPathString(localVarUrlObj),
287
+ options: localVarRequestOptions,
288
+ };
289
+ }),
290
+ /**
291
+ *
292
+ * @summary Deletes a tuner host.
293
+ * @param {string} [id] Tuner host id.
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ deleteTunerHost: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
298
+ const localVarPath = `/LiveTv/TunerHosts`;
299
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
300
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
301
+ let baseOptions;
302
+ if (configuration) {
303
+ baseOptions = configuration.baseOptions;
304
+ }
305
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
306
+ const localVarHeaderParameter = {};
307
+ const localVarQueryParameter = {};
308
+ // authentication CustomAuthentication required
309
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
310
+ if (id !== undefined) {
311
+ localVarQueryParameter['id'] = id;
312
+ }
313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
314
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
316
+ return {
317
+ url: toPathString(localVarUrlObj),
318
+ options: localVarRequestOptions,
319
+ };
320
+ }),
321
+ /**
322
+ *
323
+ * @summary Discover tuners.
324
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ discoverTuners: (newDevicesOnly, options = {}) => __awaiter(this, void 0, void 0, function* () {
329
+ const localVarPath = `/LiveTv/Tuners/Discover`;
330
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
331
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
332
+ let baseOptions;
333
+ if (configuration) {
334
+ baseOptions = configuration.baseOptions;
335
+ }
336
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
337
+ const localVarHeaderParameter = {};
338
+ const localVarQueryParameter = {};
339
+ // authentication CustomAuthentication required
340
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
341
+ if (newDevicesOnly !== undefined) {
342
+ localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
343
+ }
344
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
345
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
346
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
347
+ return {
348
+ url: toPathString(localVarUrlObj),
349
+ options: localVarRequestOptions,
350
+ };
351
+ }),
352
+ /**
353
+ *
354
+ * @summary Discover tuners.
355
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ discvoverTuners: (newDevicesOnly, options = {}) => __awaiter(this, void 0, void 0, function* () {
360
+ const localVarPath = `/LiveTv/Tuners/Discvover`;
361
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
362
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
363
+ let baseOptions;
364
+ if (configuration) {
365
+ baseOptions = configuration.baseOptions;
366
+ }
367
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
368
+ const localVarHeaderParameter = {};
369
+ const localVarQueryParameter = {};
370
+ // authentication CustomAuthentication required
371
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
372
+ if (newDevicesOnly !== undefined) {
373
+ localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
374
+ }
375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
377
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
378
+ return {
379
+ url: toPathString(localVarUrlObj),
380
+ options: localVarRequestOptions,
381
+ };
382
+ }),
383
+ /**
384
+ *
385
+ * @summary Gets a live tv channel.
386
+ * @param {string} channelId Channel id.
387
+ * @param {string} [userId] Optional. Attach user data.
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ getChannel: (channelId, userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
392
+ // verify required parameter 'channelId' is not null or undefined
393
+ assertParamExists('getChannel', 'channelId', channelId);
394
+ const localVarPath = `/LiveTv/Channels/{channelId}`
395
+ .replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
396
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
397
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
398
+ let baseOptions;
399
+ if (configuration) {
400
+ baseOptions = configuration.baseOptions;
401
+ }
402
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
403
+ const localVarHeaderParameter = {};
404
+ const localVarQueryParameter = {};
405
+ // authentication CustomAuthentication required
406
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
407
+ if (userId !== undefined) {
408
+ localVarQueryParameter['userId'] = userId;
409
+ }
410
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
411
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
413
+ return {
414
+ url: toPathString(localVarUrlObj),
415
+ options: localVarRequestOptions,
416
+ };
417
+ }),
418
+ /**
419
+ *
420
+ * @summary Get channel mapping options.
421
+ * @param {string} [providerId] Provider id.
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ getChannelMappingOptions: (providerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
426
+ const localVarPath = `/LiveTv/ChannelMappingOptions`;
427
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
428
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
429
+ let baseOptions;
430
+ if (configuration) {
431
+ baseOptions = configuration.baseOptions;
432
+ }
433
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
434
+ const localVarHeaderParameter = {};
435
+ const localVarQueryParameter = {};
436
+ // authentication CustomAuthentication required
437
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
438
+ if (providerId !== undefined) {
439
+ localVarQueryParameter['providerId'] = providerId;
440
+ }
441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
442
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
443
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
444
+ return {
445
+ url: toPathString(localVarUrlObj),
446
+ options: localVarRequestOptions,
447
+ };
448
+ }),
449
+ /**
450
+ *
451
+ * @summary Gets default listings provider info.
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ getDefaultListingProvider: (options = {}) => __awaiter(this, void 0, void 0, function* () {
456
+ const localVarPath = `/LiveTv/ListingProviders/Default`;
457
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
458
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
459
+ let baseOptions;
460
+ if (configuration) {
461
+ baseOptions = configuration.baseOptions;
462
+ }
463
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
464
+ const localVarHeaderParameter = {};
465
+ const localVarQueryParameter = {};
466
+ // authentication CustomAuthentication required
467
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
468
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
470
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
471
+ return {
472
+ url: toPathString(localVarUrlObj),
473
+ options: localVarRequestOptions,
474
+ };
475
+ }),
476
+ /**
477
+ *
478
+ * @summary Gets the default values for a new timer.
479
+ * @param {string} [programId] Optional. To attach default values based on a program.
480
+ * @param {*} [options] Override http request option.
481
+ * @throws {RequiredError}
482
+ */
483
+ getDefaultTimer: (programId, options = {}) => __awaiter(this, void 0, void 0, function* () {
484
+ const localVarPath = `/LiveTv/Timers/Defaults`;
485
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
486
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
487
+ let baseOptions;
488
+ if (configuration) {
489
+ baseOptions = configuration.baseOptions;
490
+ }
491
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
492
+ const localVarHeaderParameter = {};
493
+ const localVarQueryParameter = {};
494
+ // authentication CustomAuthentication required
495
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
496
+ if (programId !== undefined) {
497
+ localVarQueryParameter['programId'] = programId;
498
+ }
499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
501
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
502
+ return {
503
+ url: toPathString(localVarUrlObj),
504
+ options: localVarRequestOptions,
505
+ };
506
+ }),
507
+ /**
508
+ *
509
+ * @summary Get guid info.
510
+ * @param {*} [options] Override http request option.
511
+ * @throws {RequiredError}
512
+ */
513
+ getGuideInfo: (options = {}) => __awaiter(this, void 0, void 0, function* () {
514
+ const localVarPath = `/LiveTv/GuideInfo`;
515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
517
+ let baseOptions;
518
+ if (configuration) {
519
+ baseOptions = configuration.baseOptions;
520
+ }
521
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
522
+ const localVarHeaderParameter = {};
523
+ const localVarQueryParameter = {};
524
+ // authentication CustomAuthentication required
525
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
526
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
527
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
528
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
529
+ return {
530
+ url: toPathString(localVarUrlObj),
531
+ options: localVarRequestOptions,
532
+ };
533
+ }),
534
+ /**
535
+ *
536
+ * @summary Gets available lineups.
537
+ * @param {string} [id] Provider id.
538
+ * @param {string} [type] Provider type.
539
+ * @param {string} [location] Location.
540
+ * @param {string} [country] Country.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ getLineups: (id, type, location, country, options = {}) => __awaiter(this, void 0, void 0, function* () {
545
+ const localVarPath = `/LiveTv/ListingProviders/Lineups`;
546
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
547
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
548
+ let baseOptions;
549
+ if (configuration) {
550
+ baseOptions = configuration.baseOptions;
551
+ }
552
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
553
+ const localVarHeaderParameter = {};
554
+ const localVarQueryParameter = {};
555
+ // authentication CustomAuthentication required
556
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
557
+ if (id !== undefined) {
558
+ localVarQueryParameter['id'] = id;
559
+ }
560
+ if (type !== undefined) {
561
+ localVarQueryParameter['type'] = type;
562
+ }
563
+ if (location !== undefined) {
564
+ localVarQueryParameter['location'] = location;
565
+ }
566
+ if (country !== undefined) {
567
+ localVarQueryParameter['country'] = country;
568
+ }
569
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
570
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
571
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
572
+ return {
573
+ url: toPathString(localVarUrlObj),
574
+ options: localVarRequestOptions,
575
+ };
576
+ }),
577
+ /**
578
+ *
579
+ * @summary Gets a live tv recording stream.
580
+ * @param {string} recordingId Recording id.
581
+ * @param {*} [options] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ getLiveRecordingFile: (recordingId, options = {}) => __awaiter(this, void 0, void 0, function* () {
585
+ // verify required parameter 'recordingId' is not null or undefined
586
+ assertParamExists('getLiveRecordingFile', 'recordingId', recordingId);
587
+ const localVarPath = `/LiveTv/LiveRecordings/{recordingId}/stream`
588
+ .replace(`{${"recordingId"}}`, encodeURIComponent(String(recordingId)));
589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
590
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
591
+ let baseOptions;
592
+ if (configuration) {
593
+ baseOptions = configuration.baseOptions;
594
+ }
595
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
596
+ const localVarHeaderParameter = {};
597
+ const localVarQueryParameter = {};
598
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
600
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
601
+ return {
602
+ url: toPathString(localVarUrlObj),
603
+ options: localVarRequestOptions,
604
+ };
605
+ }),
606
+ /**
607
+ *
608
+ * @summary Gets a live tv channel stream.
609
+ * @param {string} streamId Stream id.
610
+ * @param {string} container Container type.
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ getLiveStreamFile: (streamId, container, options = {}) => __awaiter(this, void 0, void 0, function* () {
615
+ // verify required parameter 'streamId' is not null or undefined
616
+ assertParamExists('getLiveStreamFile', 'streamId', streamId);
617
+ // verify required parameter 'container' is not null or undefined
618
+ assertParamExists('getLiveStreamFile', 'container', container);
619
+ const localVarPath = `/LiveTv/LiveStreamFiles/{streamId}/stream.{container}`
620
+ .replace(`{${"streamId"}}`, encodeURIComponent(String(streamId)))
621
+ .replace(`{${"container"}}`, encodeURIComponent(String(container)));
622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
624
+ let baseOptions;
625
+ if (configuration) {
626
+ baseOptions = configuration.baseOptions;
627
+ }
628
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
629
+ const localVarHeaderParameter = {};
630
+ const localVarQueryParameter = {};
631
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
632
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
633
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
634
+ return {
635
+ url: toPathString(localVarUrlObj),
636
+ options: localVarRequestOptions,
637
+ };
638
+ }),
639
+ /**
640
+ *
641
+ * @summary Gets available live tv channels.
642
+ * @param {ChannelType} [type] Optional. Filter by channel type.
643
+ * @param {string} [userId] Optional. Filter by user and attach user data.
644
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
645
+ * @param {boolean} [isMovie] Optional. Filter for movies.
646
+ * @param {boolean} [isSeries] Optional. Filter for series.
647
+ * @param {boolean} [isNews] Optional. Filter for news.
648
+ * @param {boolean} [isKids] Optional. Filter for kids.
649
+ * @param {boolean} [isSports] Optional. Filter for sports.
650
+ * @param {number} [limit] Optional. The maximum number of records to return.
651
+ * @param {boolean} [isFavorite] Optional. Filter by channels that are favorites, or not.
652
+ * @param {boolean} [isLiked] Optional. Filter by channels that are liked, or not.
653
+ * @param {boolean} [isDisliked] Optional. Filter by channels that are disliked, or not.
654
+ * @param {boolean} [enableImages] Optional. Include image information in output.
655
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
656
+ * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
657
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
658
+ * @param {boolean} [enableUserData] Optional. Include user data.
659
+ * @param {Array<string>} [sortBy] Optional. Key to sort by.
660
+ * @param {SortOrder} [sortOrder] Optional. Sort order.
661
+ * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
662
+ * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ */
666
+ getLiveTvChannels: (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) => __awaiter(this, void 0, void 0, function* () {
667
+ const localVarPath = `/LiveTv/Channels`;
668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
669
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
670
+ let baseOptions;
671
+ if (configuration) {
672
+ baseOptions = configuration.baseOptions;
673
+ }
674
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
675
+ const localVarHeaderParameter = {};
676
+ const localVarQueryParameter = {};
677
+ // authentication CustomAuthentication required
678
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
679
+ if (type !== undefined) {
680
+ localVarQueryParameter['type'] = type;
681
+ }
682
+ if (userId !== undefined) {
683
+ localVarQueryParameter['userId'] = userId;
684
+ }
685
+ if (startIndex !== undefined) {
686
+ localVarQueryParameter['startIndex'] = startIndex;
687
+ }
688
+ if (isMovie !== undefined) {
689
+ localVarQueryParameter['isMovie'] = isMovie;
690
+ }
691
+ if (isSeries !== undefined) {
692
+ localVarQueryParameter['isSeries'] = isSeries;
693
+ }
694
+ if (isNews !== undefined) {
695
+ localVarQueryParameter['isNews'] = isNews;
696
+ }
697
+ if (isKids !== undefined) {
698
+ localVarQueryParameter['isKids'] = isKids;
699
+ }
700
+ if (isSports !== undefined) {
701
+ localVarQueryParameter['isSports'] = isSports;
702
+ }
703
+ if (limit !== undefined) {
704
+ localVarQueryParameter['limit'] = limit;
705
+ }
706
+ if (isFavorite !== undefined) {
707
+ localVarQueryParameter['isFavorite'] = isFavorite;
708
+ }
709
+ if (isLiked !== undefined) {
710
+ localVarQueryParameter['isLiked'] = isLiked;
711
+ }
712
+ if (isDisliked !== undefined) {
713
+ localVarQueryParameter['isDisliked'] = isDisliked;
714
+ }
715
+ if (enableImages !== undefined) {
716
+ localVarQueryParameter['enableImages'] = enableImages;
717
+ }
718
+ if (imageTypeLimit !== undefined) {
719
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
720
+ }
721
+ if (enableImageTypes) {
722
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
723
+ }
724
+ if (fields) {
725
+ localVarQueryParameter['fields'] = fields;
726
+ }
727
+ if (enableUserData !== undefined) {
728
+ localVarQueryParameter['enableUserData'] = enableUserData;
729
+ }
730
+ if (sortBy) {
731
+ localVarQueryParameter['sortBy'] = sortBy;
732
+ }
733
+ if (sortOrder !== undefined) {
734
+ localVarQueryParameter['sortOrder'] = sortOrder;
735
+ }
736
+ if (enableFavoriteSorting !== undefined) {
737
+ localVarQueryParameter['enableFavoriteSorting'] = enableFavoriteSorting;
738
+ }
739
+ if (addCurrentProgram !== undefined) {
740
+ localVarQueryParameter['addCurrentProgram'] = addCurrentProgram;
741
+ }
742
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
743
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
745
+ return {
746
+ url: toPathString(localVarUrlObj),
747
+ options: localVarRequestOptions,
748
+ };
749
+ }),
750
+ /**
751
+ *
752
+ * @summary Gets available live tv services.
753
+ * @param {*} [options] Override http request option.
754
+ * @throws {RequiredError}
755
+ */
756
+ getLiveTvInfo: (options = {}) => __awaiter(this, void 0, void 0, function* () {
757
+ const localVarPath = `/LiveTv/Info`;
758
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
759
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
760
+ let baseOptions;
761
+ if (configuration) {
762
+ baseOptions = configuration.baseOptions;
763
+ }
764
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
765
+ const localVarHeaderParameter = {};
766
+ const localVarQueryParameter = {};
767
+ // authentication CustomAuthentication required
768
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
769
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
770
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
771
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
772
+ return {
773
+ url: toPathString(localVarUrlObj),
774
+ options: localVarRequestOptions,
775
+ };
776
+ }),
777
+ /**
778
+ *
779
+ * @summary Gets available live tv epgs.
780
+ * @param {Array<string>} [channelIds] The channels to return guide information for.
781
+ * @param {string} [userId] Optional. Filter by user id.
782
+ * @param {string} [minStartDate] Optional. The minimum premiere start date.
783
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
784
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
785
+ * @param {string} [maxStartDate] Optional. The maximum premiere start date.
786
+ * @param {string} [minEndDate] Optional. The minimum premiere end date.
787
+ * @param {string} [maxEndDate] Optional. The maximum premiere end date.
788
+ * @param {boolean} [isMovie] Optional. Filter for movies.
789
+ * @param {boolean} [isSeries] Optional. Filter for series.
790
+ * @param {boolean} [isNews] Optional. Filter for news.
791
+ * @param {boolean} [isKids] Optional. Filter for kids.
792
+ * @param {boolean} [isSports] Optional. Filter for sports.
793
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
794
+ * @param {number} [limit] Optional. The maximum number of records to return.
795
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
796
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
797
+ * @param {Array<string>} [genres] The genres to return guide information for.
798
+ * @param {Array<string>} [genreIds] The genre ids to return guide information for.
799
+ * @param {boolean} [enableImages] Optional. Include image information in output.
800
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
801
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
802
+ * @param {boolean} [enableUserData] Optional. Include user data.
803
+ * @param {string} [seriesTimerId] Optional. Filter by series timer id.
804
+ * @param {string} [librarySeriesId] Optional. Filter by library series id.
805
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
806
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
807
+ * @param {*} [options] Override http request option.
808
+ * @throws {RequiredError}
809
+ */
810
+ 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 = {}) => __awaiter(this, void 0, void 0, function* () {
811
+ const localVarPath = `/LiveTv/Programs`;
812
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
813
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
814
+ let baseOptions;
815
+ if (configuration) {
816
+ baseOptions = configuration.baseOptions;
817
+ }
818
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
819
+ const localVarHeaderParameter = {};
820
+ const localVarQueryParameter = {};
821
+ // authentication CustomAuthentication required
822
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
823
+ if (channelIds) {
824
+ localVarQueryParameter['channelIds'] = channelIds;
825
+ }
826
+ if (userId !== undefined) {
827
+ localVarQueryParameter['userId'] = userId;
828
+ }
829
+ if (minStartDate !== undefined) {
830
+ localVarQueryParameter['minStartDate'] = (minStartDate instanceof Date) ?
831
+ minStartDate.toISOString() :
832
+ minStartDate;
833
+ }
834
+ if (hasAired !== undefined) {
835
+ localVarQueryParameter['hasAired'] = hasAired;
836
+ }
837
+ if (isAiring !== undefined) {
838
+ localVarQueryParameter['isAiring'] = isAiring;
839
+ }
840
+ if (maxStartDate !== undefined) {
841
+ localVarQueryParameter['maxStartDate'] = (maxStartDate instanceof Date) ?
842
+ maxStartDate.toISOString() :
843
+ maxStartDate;
844
+ }
845
+ if (minEndDate !== undefined) {
846
+ localVarQueryParameter['minEndDate'] = (minEndDate instanceof Date) ?
847
+ minEndDate.toISOString() :
848
+ minEndDate;
849
+ }
850
+ if (maxEndDate !== undefined) {
851
+ localVarQueryParameter['maxEndDate'] = (maxEndDate instanceof Date) ?
852
+ maxEndDate.toISOString() :
853
+ maxEndDate;
854
+ }
855
+ if (isMovie !== undefined) {
856
+ localVarQueryParameter['isMovie'] = isMovie;
857
+ }
858
+ if (isSeries !== undefined) {
859
+ localVarQueryParameter['isSeries'] = isSeries;
860
+ }
861
+ if (isNews !== undefined) {
862
+ localVarQueryParameter['isNews'] = isNews;
863
+ }
864
+ if (isKids !== undefined) {
865
+ localVarQueryParameter['isKids'] = isKids;
866
+ }
867
+ if (isSports !== undefined) {
868
+ localVarQueryParameter['isSports'] = isSports;
869
+ }
870
+ if (startIndex !== undefined) {
871
+ localVarQueryParameter['startIndex'] = startIndex;
872
+ }
873
+ if (limit !== undefined) {
874
+ localVarQueryParameter['limit'] = limit;
875
+ }
876
+ if (sortBy) {
877
+ localVarQueryParameter['sortBy'] = sortBy;
878
+ }
879
+ if (sortOrder) {
880
+ localVarQueryParameter['sortOrder'] = sortOrder;
881
+ }
882
+ if (genres) {
883
+ localVarQueryParameter['genres'] = genres;
884
+ }
885
+ if (genreIds) {
886
+ localVarQueryParameter['genreIds'] = genreIds;
887
+ }
888
+ if (enableImages !== undefined) {
889
+ localVarQueryParameter['enableImages'] = enableImages;
890
+ }
891
+ if (imageTypeLimit !== undefined) {
892
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
893
+ }
894
+ if (enableImageTypes) {
895
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
896
+ }
897
+ if (enableUserData !== undefined) {
898
+ localVarQueryParameter['enableUserData'] = enableUserData;
899
+ }
900
+ if (seriesTimerId !== undefined) {
901
+ localVarQueryParameter['seriesTimerId'] = seriesTimerId;
902
+ }
903
+ if (librarySeriesId !== undefined) {
904
+ localVarQueryParameter['librarySeriesId'] = librarySeriesId;
905
+ }
906
+ if (fields) {
907
+ localVarQueryParameter['fields'] = fields;
908
+ }
909
+ if (enableTotalRecordCount !== undefined) {
910
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
911
+ }
912
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
913
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
914
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
915
+ return {
916
+ url: toPathString(localVarUrlObj),
917
+ options: localVarRequestOptions,
918
+ };
919
+ }),
920
+ /**
921
+ *
922
+ * @summary Gets a live tv program.
923
+ * @param {string} programId Program id.
924
+ * @param {string} [userId] Optional. Attach user data.
925
+ * @param {*} [options] Override http request option.
926
+ * @throws {RequiredError}
927
+ */
928
+ getProgram: (programId, userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
929
+ // verify required parameter 'programId' is not null or undefined
930
+ assertParamExists('getProgram', 'programId', programId);
931
+ const localVarPath = `/LiveTv/Programs/{programId}`
932
+ .replace(`{${"programId"}}`, encodeURIComponent(String(programId)));
933
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
934
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
935
+ let baseOptions;
936
+ if (configuration) {
937
+ baseOptions = configuration.baseOptions;
938
+ }
939
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
940
+ const localVarHeaderParameter = {};
941
+ const localVarQueryParameter = {};
942
+ // authentication CustomAuthentication required
943
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
944
+ if (userId !== undefined) {
945
+ localVarQueryParameter['userId'] = userId;
946
+ }
947
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
948
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
949
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
950
+ return {
951
+ url: toPathString(localVarUrlObj),
952
+ options: localVarRequestOptions,
953
+ };
954
+ }),
955
+ /**
956
+ *
957
+ * @summary Gets available live tv epgs.
958
+ * @param {GetProgramsDto} [getProgramsDto] Request body.
959
+ * @param {*} [options] Override http request option.
960
+ * @throws {RequiredError}
961
+ */
962
+ getPrograms: (getProgramsDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
963
+ const localVarPath = `/LiveTv/Programs`;
964
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
965
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
966
+ let baseOptions;
967
+ if (configuration) {
968
+ baseOptions = configuration.baseOptions;
969
+ }
970
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
971
+ const localVarHeaderParameter = {};
972
+ const localVarQueryParameter = {};
973
+ // authentication CustomAuthentication required
974
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
975
+ localVarHeaderParameter['Content-Type'] = 'application/json';
976
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
977
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
978
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
979
+ localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration);
980
+ return {
981
+ url: toPathString(localVarUrlObj),
982
+ options: localVarRequestOptions,
983
+ };
984
+ }),
985
+ /**
986
+ *
987
+ * @summary Gets recommended live tv epgs.
988
+ * @param {string} [userId] Optional. filter by user id.
989
+ * @param {number} [limit] Optional. The maximum number of records to return.
990
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
991
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
992
+ * @param {boolean} [isSeries] Optional. Filter for series.
993
+ * @param {boolean} [isMovie] Optional. Filter for movies.
994
+ * @param {boolean} [isNews] Optional. Filter for news.
995
+ * @param {boolean} [isKids] Optional. Filter for kids.
996
+ * @param {boolean} [isSports] Optional. Filter for sports.
997
+ * @param {boolean} [enableImages] Optional. Include image information in output.
998
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
999
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1000
+ * @param {Array<string>} [genreIds] The genres to return guide information for.
1001
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
1002
+ * @param {boolean} [enableUserData] Optional. include user data.
1003
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
1004
+ * @param {*} [options] Override http request option.
1005
+ * @throws {RequiredError}
1006
+ */
1007
+ getRecommendedPrograms: (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) => __awaiter(this, void 0, void 0, function* () {
1008
+ const localVarPath = `/LiveTv/Programs/Recommended`;
1009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1011
+ let baseOptions;
1012
+ if (configuration) {
1013
+ baseOptions = configuration.baseOptions;
1014
+ }
1015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1016
+ const localVarHeaderParameter = {};
1017
+ const localVarQueryParameter = {};
1018
+ // authentication CustomAuthentication required
1019
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1020
+ if (userId !== undefined) {
1021
+ localVarQueryParameter['userId'] = userId;
1022
+ }
1023
+ if (limit !== undefined) {
1024
+ localVarQueryParameter['limit'] = limit;
1025
+ }
1026
+ if (isAiring !== undefined) {
1027
+ localVarQueryParameter['isAiring'] = isAiring;
1028
+ }
1029
+ if (hasAired !== undefined) {
1030
+ localVarQueryParameter['hasAired'] = hasAired;
1031
+ }
1032
+ if (isSeries !== undefined) {
1033
+ localVarQueryParameter['isSeries'] = isSeries;
1034
+ }
1035
+ if (isMovie !== undefined) {
1036
+ localVarQueryParameter['isMovie'] = isMovie;
1037
+ }
1038
+ if (isNews !== undefined) {
1039
+ localVarQueryParameter['isNews'] = isNews;
1040
+ }
1041
+ if (isKids !== undefined) {
1042
+ localVarQueryParameter['isKids'] = isKids;
1043
+ }
1044
+ if (isSports !== undefined) {
1045
+ localVarQueryParameter['isSports'] = isSports;
1046
+ }
1047
+ if (enableImages !== undefined) {
1048
+ localVarQueryParameter['enableImages'] = enableImages;
1049
+ }
1050
+ if (imageTypeLimit !== undefined) {
1051
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
1052
+ }
1053
+ if (enableImageTypes) {
1054
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
1055
+ }
1056
+ if (genreIds) {
1057
+ localVarQueryParameter['genreIds'] = genreIds;
1058
+ }
1059
+ if (fields) {
1060
+ localVarQueryParameter['fields'] = fields;
1061
+ }
1062
+ if (enableUserData !== undefined) {
1063
+ localVarQueryParameter['enableUserData'] = enableUserData;
1064
+ }
1065
+ if (enableTotalRecordCount !== undefined) {
1066
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
1067
+ }
1068
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1069
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1070
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1071
+ return {
1072
+ url: toPathString(localVarUrlObj),
1073
+ options: localVarRequestOptions,
1074
+ };
1075
+ }),
1076
+ /**
1077
+ *
1078
+ * @summary Gets a live tv recording.
1079
+ * @param {string} recordingId Recording id.
1080
+ * @param {string} [userId] Optional. Attach user data.
1081
+ * @param {*} [options] Override http request option.
1082
+ * @throws {RequiredError}
1083
+ */
1084
+ getRecording: (recordingId, userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1085
+ // verify required parameter 'recordingId' is not null or undefined
1086
+ assertParamExists('getRecording', 'recordingId', recordingId);
1087
+ const localVarPath = `/LiveTv/Recordings/{recordingId}`
1088
+ .replace(`{${"recordingId"}}`, encodeURIComponent(String(recordingId)));
1089
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1090
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1091
+ let baseOptions;
1092
+ if (configuration) {
1093
+ baseOptions = configuration.baseOptions;
1094
+ }
1095
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1096
+ const localVarHeaderParameter = {};
1097
+ const localVarQueryParameter = {};
1098
+ // authentication CustomAuthentication required
1099
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1100
+ if (userId !== undefined) {
1101
+ localVarQueryParameter['userId'] = userId;
1102
+ }
1103
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1104
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1105
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1106
+ return {
1107
+ url: toPathString(localVarUrlObj),
1108
+ options: localVarRequestOptions,
1109
+ };
1110
+ }),
1111
+ /**
1112
+ *
1113
+ * @summary Gets recording folders.
1114
+ * @param {string} [userId] Optional. Filter by user and attach user data.
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ */
1118
+ getRecordingFolders: (userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1119
+ const localVarPath = `/LiveTv/Recordings/Folders`;
1120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1121
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1122
+ let baseOptions;
1123
+ if (configuration) {
1124
+ baseOptions = configuration.baseOptions;
1125
+ }
1126
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1127
+ const localVarHeaderParameter = {};
1128
+ const localVarQueryParameter = {};
1129
+ // authentication CustomAuthentication required
1130
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1131
+ if (userId !== undefined) {
1132
+ localVarQueryParameter['userId'] = userId;
1133
+ }
1134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1136
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1137
+ return {
1138
+ url: toPathString(localVarUrlObj),
1139
+ options: localVarRequestOptions,
1140
+ };
1141
+ }),
1142
+ /**
1143
+ *
1144
+ * @summary Get recording group.
1145
+ * @param {string} groupId Group id.
1146
+ * @param {*} [options] Override http request option.
1147
+ * @deprecated
1148
+ * @throws {RequiredError}
1149
+ */
1150
+ getRecordingGroup: (groupId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1151
+ // verify required parameter 'groupId' is not null or undefined
1152
+ assertParamExists('getRecordingGroup', 'groupId', groupId);
1153
+ const localVarPath = `/LiveTv/Recordings/Groups/{groupId}`
1154
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
1155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1157
+ let baseOptions;
1158
+ if (configuration) {
1159
+ baseOptions = configuration.baseOptions;
1160
+ }
1161
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1162
+ const localVarHeaderParameter = {};
1163
+ const localVarQueryParameter = {};
1164
+ // authentication CustomAuthentication required
1165
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1168
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1169
+ return {
1170
+ url: toPathString(localVarUrlObj),
1171
+ options: localVarRequestOptions,
1172
+ };
1173
+ }),
1174
+ /**
1175
+ *
1176
+ * @summary Gets live tv recording groups.
1177
+ * @param {string} [userId] Optional. Filter by user and attach user data.
1178
+ * @param {*} [options] Override http request option.
1179
+ * @deprecated
1180
+ * @throws {RequiredError}
1181
+ */
1182
+ getRecordingGroups: (userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1183
+ const localVarPath = `/LiveTv/Recordings/Groups`;
1184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1186
+ let baseOptions;
1187
+ if (configuration) {
1188
+ baseOptions = configuration.baseOptions;
1189
+ }
1190
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1191
+ const localVarHeaderParameter = {};
1192
+ const localVarQueryParameter = {};
1193
+ // authentication CustomAuthentication required
1194
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1195
+ if (userId !== undefined) {
1196
+ localVarQueryParameter['userId'] = userId;
1197
+ }
1198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1200
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1201
+ return {
1202
+ url: toPathString(localVarUrlObj),
1203
+ options: localVarRequestOptions,
1204
+ };
1205
+ }),
1206
+ /**
1207
+ *
1208
+ * @summary Gets live tv recordings.
1209
+ * @param {string} [channelId] Optional. Filter by channel id.
1210
+ * @param {string} [userId] Optional. Filter by user and attach user data.
1211
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1212
+ * @param {number} [limit] Optional. The maximum number of records to return.
1213
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
1214
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
1215
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
1216
+ * @param {boolean} [enableImages] Optional. Include image information in output.
1217
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
1218
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1219
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
1220
+ * @param {boolean} [enableUserData] Optional. Include user data.
1221
+ * @param {boolean} [isMovie] Optional. Filter for movies.
1222
+ * @param {boolean} [isSeries] Optional. Filter for series.
1223
+ * @param {boolean} [isKids] Optional. Filter for kids.
1224
+ * @param {boolean} [isSports] Optional. Filter for sports.
1225
+ * @param {boolean} [isNews] Optional. Filter for news.
1226
+ * @param {boolean} [isLibraryItem] Optional. Filter for is library item.
1227
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
1228
+ * @param {*} [options] Override http request option.
1229
+ * @throws {RequiredError}
1230
+ */
1231
+ getRecordings: (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) => __awaiter(this, void 0, void 0, function* () {
1232
+ const localVarPath = `/LiveTv/Recordings`;
1233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1235
+ let baseOptions;
1236
+ if (configuration) {
1237
+ baseOptions = configuration.baseOptions;
1238
+ }
1239
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1240
+ const localVarHeaderParameter = {};
1241
+ const localVarQueryParameter = {};
1242
+ // authentication CustomAuthentication required
1243
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1244
+ if (channelId !== undefined) {
1245
+ localVarQueryParameter['channelId'] = channelId;
1246
+ }
1247
+ if (userId !== undefined) {
1248
+ localVarQueryParameter['userId'] = userId;
1249
+ }
1250
+ if (startIndex !== undefined) {
1251
+ localVarQueryParameter['startIndex'] = startIndex;
1252
+ }
1253
+ if (limit !== undefined) {
1254
+ localVarQueryParameter['limit'] = limit;
1255
+ }
1256
+ if (status !== undefined) {
1257
+ localVarQueryParameter['status'] = status;
1258
+ }
1259
+ if (isInProgress !== undefined) {
1260
+ localVarQueryParameter['isInProgress'] = isInProgress;
1261
+ }
1262
+ if (seriesTimerId !== undefined) {
1263
+ localVarQueryParameter['seriesTimerId'] = seriesTimerId;
1264
+ }
1265
+ if (enableImages !== undefined) {
1266
+ localVarQueryParameter['enableImages'] = enableImages;
1267
+ }
1268
+ if (imageTypeLimit !== undefined) {
1269
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
1270
+ }
1271
+ if (enableImageTypes) {
1272
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
1273
+ }
1274
+ if (fields) {
1275
+ localVarQueryParameter['fields'] = fields;
1276
+ }
1277
+ if (enableUserData !== undefined) {
1278
+ localVarQueryParameter['enableUserData'] = enableUserData;
1279
+ }
1280
+ if (isMovie !== undefined) {
1281
+ localVarQueryParameter['isMovie'] = isMovie;
1282
+ }
1283
+ if (isSeries !== undefined) {
1284
+ localVarQueryParameter['isSeries'] = isSeries;
1285
+ }
1286
+ if (isKids !== undefined) {
1287
+ localVarQueryParameter['isKids'] = isKids;
1288
+ }
1289
+ if (isSports !== undefined) {
1290
+ localVarQueryParameter['isSports'] = isSports;
1291
+ }
1292
+ if (isNews !== undefined) {
1293
+ localVarQueryParameter['isNews'] = isNews;
1294
+ }
1295
+ if (isLibraryItem !== undefined) {
1296
+ localVarQueryParameter['isLibraryItem'] = isLibraryItem;
1297
+ }
1298
+ if (enableTotalRecordCount !== undefined) {
1299
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
1300
+ }
1301
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1302
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1303
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1304
+ return {
1305
+ url: toPathString(localVarUrlObj),
1306
+ options: localVarRequestOptions,
1307
+ };
1308
+ }),
1309
+ /**
1310
+ *
1311
+ * @summary Gets live tv recording series.
1312
+ * @param {string} [channelId] Optional. Filter by channel id.
1313
+ * @param {string} [userId] Optional. Filter by user and attach user data.
1314
+ * @param {string} [groupId] Optional. Filter by recording group.
1315
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1316
+ * @param {number} [limit] Optional. The maximum number of records to return.
1317
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
1318
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
1319
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
1320
+ * @param {boolean} [enableImages] Optional. Include image information in output.
1321
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
1322
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
1323
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
1324
+ * @param {boolean} [enableUserData] Optional. Include user data.
1325
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
1326
+ * @param {*} [options] Override http request option.
1327
+ * @deprecated
1328
+ * @throws {RequiredError}
1329
+ */
1330
+ getRecordingsSeries: (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) => __awaiter(this, void 0, void 0, function* () {
1331
+ const localVarPath = `/LiveTv/Recordings/Series`;
1332
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1333
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1334
+ let baseOptions;
1335
+ if (configuration) {
1336
+ baseOptions = configuration.baseOptions;
1337
+ }
1338
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1339
+ const localVarHeaderParameter = {};
1340
+ const localVarQueryParameter = {};
1341
+ // authentication CustomAuthentication required
1342
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1343
+ if (channelId !== undefined) {
1344
+ localVarQueryParameter['channelId'] = channelId;
1345
+ }
1346
+ if (userId !== undefined) {
1347
+ localVarQueryParameter['userId'] = userId;
1348
+ }
1349
+ if (groupId !== undefined) {
1350
+ localVarQueryParameter['groupId'] = groupId;
1351
+ }
1352
+ if (startIndex !== undefined) {
1353
+ localVarQueryParameter['startIndex'] = startIndex;
1354
+ }
1355
+ if (limit !== undefined) {
1356
+ localVarQueryParameter['limit'] = limit;
1357
+ }
1358
+ if (status !== undefined) {
1359
+ localVarQueryParameter['status'] = status;
1360
+ }
1361
+ if (isInProgress !== undefined) {
1362
+ localVarQueryParameter['isInProgress'] = isInProgress;
1363
+ }
1364
+ if (seriesTimerId !== undefined) {
1365
+ localVarQueryParameter['seriesTimerId'] = seriesTimerId;
1366
+ }
1367
+ if (enableImages !== undefined) {
1368
+ localVarQueryParameter['enableImages'] = enableImages;
1369
+ }
1370
+ if (imageTypeLimit !== undefined) {
1371
+ localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
1372
+ }
1373
+ if (enableImageTypes) {
1374
+ localVarQueryParameter['enableImageTypes'] = enableImageTypes;
1375
+ }
1376
+ if (fields) {
1377
+ localVarQueryParameter['fields'] = fields;
1378
+ }
1379
+ if (enableUserData !== undefined) {
1380
+ localVarQueryParameter['enableUserData'] = enableUserData;
1381
+ }
1382
+ if (enableTotalRecordCount !== undefined) {
1383
+ localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
1384
+ }
1385
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1386
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1387
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1388
+ return {
1389
+ url: toPathString(localVarUrlObj),
1390
+ options: localVarRequestOptions,
1391
+ };
1392
+ }),
1393
+ /**
1394
+ *
1395
+ * @summary Gets available countries.
1396
+ * @param {*} [options] Override http request option.
1397
+ * @throws {RequiredError}
1398
+ */
1399
+ getSchedulesDirectCountries: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1400
+ const localVarPath = `/LiveTv/ListingProviders/SchedulesDirect/Countries`;
1401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1403
+ let baseOptions;
1404
+ if (configuration) {
1405
+ baseOptions = configuration.baseOptions;
1406
+ }
1407
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1408
+ const localVarHeaderParameter = {};
1409
+ const localVarQueryParameter = {};
1410
+ // authentication CustomAuthentication required
1411
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1412
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1413
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1414
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1415
+ return {
1416
+ url: toPathString(localVarUrlObj),
1417
+ options: localVarRequestOptions,
1418
+ };
1419
+ }),
1420
+ /**
1421
+ *
1422
+ * @summary Gets a live tv series timer.
1423
+ * @param {string} timerId Timer id.
1424
+ * @param {*} [options] Override http request option.
1425
+ * @throws {RequiredError}
1426
+ */
1427
+ getSeriesTimer: (timerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1428
+ // verify required parameter 'timerId' is not null or undefined
1429
+ assertParamExists('getSeriesTimer', 'timerId', timerId);
1430
+ const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
1431
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
1432
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1433
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1434
+ let baseOptions;
1435
+ if (configuration) {
1436
+ baseOptions = configuration.baseOptions;
1437
+ }
1438
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1439
+ const localVarHeaderParameter = {};
1440
+ const localVarQueryParameter = {};
1441
+ // authentication CustomAuthentication required
1442
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1443
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1444
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1445
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1446
+ return {
1447
+ url: toPathString(localVarUrlObj),
1448
+ options: localVarRequestOptions,
1449
+ };
1450
+ }),
1451
+ /**
1452
+ *
1453
+ * @summary Gets live tv series timers.
1454
+ * @param {string} [sortBy] Optional. Sort by SortName or Priority.
1455
+ * @param {SortOrder} [sortOrder] Optional. Sort in Ascending or Descending order.
1456
+ * @param {*} [options] Override http request option.
1457
+ * @throws {RequiredError}
1458
+ */
1459
+ getSeriesTimers: (sortBy, sortOrder, options = {}) => __awaiter(this, void 0, void 0, function* () {
1460
+ const localVarPath = `/LiveTv/SeriesTimers`;
1461
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1462
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1463
+ let baseOptions;
1464
+ if (configuration) {
1465
+ baseOptions = configuration.baseOptions;
1466
+ }
1467
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1468
+ const localVarHeaderParameter = {};
1469
+ const localVarQueryParameter = {};
1470
+ // authentication CustomAuthentication required
1471
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1472
+ if (sortBy !== undefined) {
1473
+ localVarQueryParameter['sortBy'] = sortBy;
1474
+ }
1475
+ if (sortOrder !== undefined) {
1476
+ localVarQueryParameter['sortOrder'] = sortOrder;
1477
+ }
1478
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1479
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1480
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1481
+ return {
1482
+ url: toPathString(localVarUrlObj),
1483
+ options: localVarRequestOptions,
1484
+ };
1485
+ }),
1486
+ /**
1487
+ *
1488
+ * @summary Gets a timer.
1489
+ * @param {string} timerId Timer id.
1490
+ * @param {*} [options] Override http request option.
1491
+ * @throws {RequiredError}
1492
+ */
1493
+ getTimer: (timerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1494
+ // verify required parameter 'timerId' is not null or undefined
1495
+ assertParamExists('getTimer', 'timerId', timerId);
1496
+ const localVarPath = `/LiveTv/Timers/{timerId}`
1497
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
1498
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1499
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1500
+ let baseOptions;
1501
+ if (configuration) {
1502
+ baseOptions = configuration.baseOptions;
1503
+ }
1504
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1505
+ const localVarHeaderParameter = {};
1506
+ const localVarQueryParameter = {};
1507
+ // authentication CustomAuthentication required
1508
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1509
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1510
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1511
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1512
+ return {
1513
+ url: toPathString(localVarUrlObj),
1514
+ options: localVarRequestOptions,
1515
+ };
1516
+ }),
1517
+ /**
1518
+ *
1519
+ * @summary Gets the live tv timers.
1520
+ * @param {string} [channelId] Optional. Filter by channel id.
1521
+ * @param {string} [seriesTimerId] Optional. Filter by timers belonging to a series timer.
1522
+ * @param {boolean} [isActive] Optional. Filter by timers that are active.
1523
+ * @param {boolean} [isScheduled] Optional. Filter by timers that are scheduled.
1524
+ * @param {*} [options] Override http request option.
1525
+ * @throws {RequiredError}
1526
+ */
1527
+ getTimers: (channelId, seriesTimerId, isActive, isScheduled, options = {}) => __awaiter(this, void 0, void 0, function* () {
1528
+ const localVarPath = `/LiveTv/Timers`;
1529
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1530
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1531
+ let baseOptions;
1532
+ if (configuration) {
1533
+ baseOptions = configuration.baseOptions;
1534
+ }
1535
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1536
+ const localVarHeaderParameter = {};
1537
+ const localVarQueryParameter = {};
1538
+ // authentication CustomAuthentication required
1539
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1540
+ if (channelId !== undefined) {
1541
+ localVarQueryParameter['channelId'] = channelId;
1542
+ }
1543
+ if (seriesTimerId !== undefined) {
1544
+ localVarQueryParameter['seriesTimerId'] = seriesTimerId;
1545
+ }
1546
+ if (isActive !== undefined) {
1547
+ localVarQueryParameter['isActive'] = isActive;
1548
+ }
1549
+ if (isScheduled !== undefined) {
1550
+ localVarQueryParameter['isScheduled'] = isScheduled;
1551
+ }
1552
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1553
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1554
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1555
+ return {
1556
+ url: toPathString(localVarUrlObj),
1557
+ options: localVarRequestOptions,
1558
+ };
1559
+ }),
1560
+ /**
1561
+ *
1562
+ * @summary Get tuner host types.
1563
+ * @param {*} [options] Override http request option.
1564
+ * @throws {RequiredError}
1565
+ */
1566
+ getTunerHostTypes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1567
+ const localVarPath = `/LiveTv/TunerHosts/Types`;
1568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1569
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1570
+ let baseOptions;
1571
+ if (configuration) {
1572
+ baseOptions = configuration.baseOptions;
1573
+ }
1574
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1575
+ const localVarHeaderParameter = {};
1576
+ const localVarQueryParameter = {};
1577
+ // authentication CustomAuthentication required
1578
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1579
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1580
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1581
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1582
+ return {
1583
+ url: toPathString(localVarUrlObj),
1584
+ options: localVarRequestOptions,
1585
+ };
1586
+ }),
1587
+ /**
1588
+ *
1589
+ * @summary Resets a tv tuner.
1590
+ * @param {string} tunerId Tuner id.
1591
+ * @param {*} [options] Override http request option.
1592
+ * @throws {RequiredError}
1593
+ */
1594
+ resetTuner: (tunerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1595
+ // verify required parameter 'tunerId' is not null or undefined
1596
+ assertParamExists('resetTuner', 'tunerId', tunerId);
1597
+ const localVarPath = `/LiveTv/Tuners/{tunerId}/Reset`
1598
+ .replace(`{${"tunerId"}}`, encodeURIComponent(String(tunerId)));
1599
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1600
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1601
+ let baseOptions;
1602
+ if (configuration) {
1603
+ baseOptions = configuration.baseOptions;
1604
+ }
1605
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1606
+ const localVarHeaderParameter = {};
1607
+ const localVarQueryParameter = {};
1608
+ // authentication CustomAuthentication required
1609
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1610
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1611
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1612
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1613
+ return {
1614
+ url: toPathString(localVarUrlObj),
1615
+ options: localVarRequestOptions,
1616
+ };
1617
+ }),
1618
+ /**
1619
+ *
1620
+ * @summary Set channel mappings.
1621
+ * @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
1622
+ * @param {*} [options] Override http request option.
1623
+ * @throws {RequiredError}
1624
+ */
1625
+ setChannelMapping: (setChannelMappingDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
1626
+ // verify required parameter 'setChannelMappingDto' is not null or undefined
1627
+ assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto);
1628
+ const localVarPath = `/LiveTv/ChannelMappings`;
1629
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1630
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1631
+ let baseOptions;
1632
+ if (configuration) {
1633
+ baseOptions = configuration.baseOptions;
1634
+ }
1635
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1636
+ const localVarHeaderParameter = {};
1637
+ const localVarQueryParameter = {};
1638
+ // authentication CustomAuthentication required
1639
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1640
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1643
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1644
+ localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration);
1645
+ return {
1646
+ url: toPathString(localVarUrlObj),
1647
+ options: localVarRequestOptions,
1648
+ };
1649
+ }),
1650
+ /**
1651
+ *
1652
+ * @summary Updates a live tv series timer.
1653
+ * @param {string} timerId Timer id.
1654
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
1655
+ * @param {*} [options] Override http request option.
1656
+ * @throws {RequiredError}
1657
+ */
1658
+ updateSeriesTimer: (timerId, seriesTimerInfoDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
1659
+ // verify required parameter 'timerId' is not null or undefined
1660
+ assertParamExists('updateSeriesTimer', 'timerId', timerId);
1661
+ const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
1662
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
1663
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1664
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1665
+ let baseOptions;
1666
+ if (configuration) {
1667
+ baseOptions = configuration.baseOptions;
1668
+ }
1669
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1670
+ const localVarHeaderParameter = {};
1671
+ const localVarQueryParameter = {};
1672
+ // authentication CustomAuthentication required
1673
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1674
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1675
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1676
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1677
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1678
+ localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
1679
+ return {
1680
+ url: toPathString(localVarUrlObj),
1681
+ options: localVarRequestOptions,
1682
+ };
1683
+ }),
1684
+ /**
1685
+ *
1686
+ * @summary Updates a live tv timer.
1687
+ * @param {string} timerId Timer id.
1688
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
1689
+ * @param {*} [options] Override http request option.
1690
+ * @throws {RequiredError}
1691
+ */
1692
+ updateTimer: (timerId, timerInfoDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
1693
+ // verify required parameter 'timerId' is not null or undefined
1694
+ assertParamExists('updateTimer', 'timerId', timerId);
1695
+ const localVarPath = `/LiveTv/Timers/{timerId}`
1696
+ .replace(`{${"timerId"}}`, encodeURIComponent(String(timerId)));
1697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1699
+ let baseOptions;
1700
+ if (configuration) {
1701
+ baseOptions = configuration.baseOptions;
1702
+ }
1703
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1704
+ const localVarHeaderParameter = {};
1705
+ const localVarQueryParameter = {};
1706
+ // authentication CustomAuthentication required
1707
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1708
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1709
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1710
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1711
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1712
+ localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
1713
+ return {
1714
+ url: toPathString(localVarUrlObj),
1715
+ options: localVarRequestOptions,
1716
+ };
1717
+ }),
1718
+ };
1719
+ };
1720
+ /**
1721
+ * LiveTvApi - functional programming interface
1722
+ * @export
1723
+ */
1724
+ export const LiveTvApiFp = function (configuration) {
1725
+ const localVarAxiosParamCreator = LiveTvApiAxiosParamCreator(configuration);
1726
+ return {
1727
+ /**
1728
+ *
1729
+ * @summary Adds a listings provider.
1730
+ * @param {string} [pw] Password.
1731
+ * @param {boolean} [validateListings] Validate listings.
1732
+ * @param {boolean} [validateLogin] Validate login.
1733
+ * @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
1734
+ * @param {*} [options] Override http request option.
1735
+ * @throws {RequiredError}
1736
+ */
1737
+ addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
1738
+ return __awaiter(this, void 0, void 0, function* () {
1739
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
1740
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1741
+ });
1742
+ },
1743
+ /**
1744
+ *
1745
+ * @summary Adds a tuner host.
1746
+ * @param {TunerHostInfo} [tunerHostInfo] New tuner host.
1747
+ * @param {*} [options] Override http request option.
1748
+ * @throws {RequiredError}
1749
+ */
1750
+ addTunerHost(tunerHostInfo, options) {
1751
+ return __awaiter(this, void 0, void 0, function* () {
1752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
1753
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1754
+ });
1755
+ },
1756
+ /**
1757
+ *
1758
+ * @summary Cancels a live tv series timer.
1759
+ * @param {string} timerId Timer id.
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ cancelSeriesTimer(timerId, options) {
1764
+ return __awaiter(this, void 0, void 0, function* () {
1765
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
1766
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1767
+ });
1768
+ },
1769
+ /**
1770
+ *
1771
+ * @summary Cancels a live tv timer.
1772
+ * @param {string} timerId Timer id.
1773
+ * @param {*} [options] Override http request option.
1774
+ * @throws {RequiredError}
1775
+ */
1776
+ cancelTimer(timerId, options) {
1777
+ return __awaiter(this, void 0, void 0, function* () {
1778
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelTimer(timerId, options);
1779
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1780
+ });
1781
+ },
1782
+ /**
1783
+ *
1784
+ * @summary Creates a live tv series timer.
1785
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
1786
+ * @param {*} [options] Override http request option.
1787
+ * @throws {RequiredError}
1788
+ */
1789
+ createSeriesTimer(seriesTimerInfoDto, options) {
1790
+ return __awaiter(this, void 0, void 0, function* () {
1791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
1792
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1793
+ });
1794
+ },
1795
+ /**
1796
+ *
1797
+ * @summary Creates a live tv timer.
1798
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
1799
+ * @param {*} [options] Override http request option.
1800
+ * @throws {RequiredError}
1801
+ */
1802
+ createTimer(timerInfoDto, options) {
1803
+ return __awaiter(this, void 0, void 0, function* () {
1804
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createTimer(timerInfoDto, options);
1805
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1806
+ });
1807
+ },
1808
+ /**
1809
+ *
1810
+ * @summary Delete listing provider.
1811
+ * @param {string} [id] Listing provider id.
1812
+ * @param {*} [options] Override http request option.
1813
+ * @throws {RequiredError}
1814
+ */
1815
+ deleteListingProvider(id, options) {
1816
+ return __awaiter(this, void 0, void 0, function* () {
1817
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteListingProvider(id, options);
1818
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1819
+ });
1820
+ },
1821
+ /**
1822
+ *
1823
+ * @summary Deletes a live tv recording.
1824
+ * @param {string} recordingId Recording id.
1825
+ * @param {*} [options] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ */
1828
+ deleteRecording(recordingId, options) {
1829
+ return __awaiter(this, void 0, void 0, function* () {
1830
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRecording(recordingId, options);
1831
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1832
+ });
1833
+ },
1834
+ /**
1835
+ *
1836
+ * @summary Deletes a tuner host.
1837
+ * @param {string} [id] Tuner host id.
1838
+ * @param {*} [options] Override http request option.
1839
+ * @throws {RequiredError}
1840
+ */
1841
+ deleteTunerHost(id, options) {
1842
+ return __awaiter(this, void 0, void 0, function* () {
1843
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTunerHost(id, options);
1844
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1845
+ });
1846
+ },
1847
+ /**
1848
+ *
1849
+ * @summary Discover tuners.
1850
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
1851
+ * @param {*} [options] Override http request option.
1852
+ * @throws {RequiredError}
1853
+ */
1854
+ discoverTuners(newDevicesOnly, options) {
1855
+ return __awaiter(this, void 0, void 0, function* () {
1856
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
1857
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1858
+ });
1859
+ },
1860
+ /**
1861
+ *
1862
+ * @summary Discover tuners.
1863
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
1864
+ * @param {*} [options] Override http request option.
1865
+ * @throws {RequiredError}
1866
+ */
1867
+ discvoverTuners(newDevicesOnly, options) {
1868
+ return __awaiter(this, void 0, void 0, function* () {
1869
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
1870
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1871
+ });
1872
+ },
1873
+ /**
1874
+ *
1875
+ * @summary Gets a live tv channel.
1876
+ * @param {string} channelId Channel id.
1877
+ * @param {string} [userId] Optional. Attach user data.
1878
+ * @param {*} [options] Override http request option.
1879
+ * @throws {RequiredError}
1880
+ */
1881
+ getChannel(channelId, userId, options) {
1882
+ return __awaiter(this, void 0, void 0, function* () {
1883
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannel(channelId, userId, options);
1884
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1885
+ });
1886
+ },
1887
+ /**
1888
+ *
1889
+ * @summary Get channel mapping options.
1890
+ * @param {string} [providerId] Provider id.
1891
+ * @param {*} [options] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ */
1894
+ getChannelMappingOptions(providerId, options) {
1895
+ return __awaiter(this, void 0, void 0, function* () {
1896
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
1897
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1898
+ });
1899
+ },
1900
+ /**
1901
+ *
1902
+ * @summary Gets default listings provider info.
1903
+ * @param {*} [options] Override http request option.
1904
+ * @throws {RequiredError}
1905
+ */
1906
+ getDefaultListingProvider(options) {
1907
+ return __awaiter(this, void 0, void 0, function* () {
1908
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultListingProvider(options);
1909
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1910
+ });
1911
+ },
1912
+ /**
1913
+ *
1914
+ * @summary Gets the default values for a new timer.
1915
+ * @param {string} [programId] Optional. To attach default values based on a program.
1916
+ * @param {*} [options] Override http request option.
1917
+ * @throws {RequiredError}
1918
+ */
1919
+ getDefaultTimer(programId, options) {
1920
+ return __awaiter(this, void 0, void 0, function* () {
1921
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultTimer(programId, options);
1922
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1923
+ });
1924
+ },
1925
+ /**
1926
+ *
1927
+ * @summary Get guid info.
1928
+ * @param {*} [options] Override http request option.
1929
+ * @throws {RequiredError}
1930
+ */
1931
+ getGuideInfo(options) {
1932
+ return __awaiter(this, void 0, void 0, function* () {
1933
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getGuideInfo(options);
1934
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1935
+ });
1936
+ },
1937
+ /**
1938
+ *
1939
+ * @summary Gets available lineups.
1940
+ * @param {string} [id] Provider id.
1941
+ * @param {string} [type] Provider type.
1942
+ * @param {string} [location] Location.
1943
+ * @param {string} [country] Country.
1944
+ * @param {*} [options] Override http request option.
1945
+ * @throws {RequiredError}
1946
+ */
1947
+ getLineups(id, type, location, country, options) {
1948
+ return __awaiter(this, void 0, void 0, function* () {
1949
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLineups(id, type, location, country, options);
1950
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1951
+ });
1952
+ },
1953
+ /**
1954
+ *
1955
+ * @summary Gets a live tv recording stream.
1956
+ * @param {string} recordingId Recording id.
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ getLiveRecordingFile(recordingId, options) {
1961
+ return __awaiter(this, void 0, void 0, function* () {
1962
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
1963
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1964
+ });
1965
+ },
1966
+ /**
1967
+ *
1968
+ * @summary Gets a live tv channel stream.
1969
+ * @param {string} streamId Stream id.
1970
+ * @param {string} container Container type.
1971
+ * @param {*} [options] Override http request option.
1972
+ * @throws {RequiredError}
1973
+ */
1974
+ getLiveStreamFile(streamId, container, options) {
1975
+ return __awaiter(this, void 0, void 0, function* () {
1976
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
1977
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1978
+ });
1979
+ },
1980
+ /**
1981
+ *
1982
+ * @summary Gets available live tv channels.
1983
+ * @param {ChannelType} [type] Optional. Filter by channel type.
1984
+ * @param {string} [userId] Optional. Filter by user and attach user data.
1985
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1986
+ * @param {boolean} [isMovie] Optional. Filter for movies.
1987
+ * @param {boolean} [isSeries] Optional. Filter for series.
1988
+ * @param {boolean} [isNews] Optional. Filter for news.
1989
+ * @param {boolean} [isKids] Optional. Filter for kids.
1990
+ * @param {boolean} [isSports] Optional. Filter for sports.
1991
+ * @param {number} [limit] Optional. The maximum number of records to return.
1992
+ * @param {boolean} [isFavorite] Optional. Filter by channels that are favorites, or not.
1993
+ * @param {boolean} [isLiked] Optional. Filter by channels that are liked, or not.
1994
+ * @param {boolean} [isDisliked] Optional. Filter by channels that are disliked, or not.
1995
+ * @param {boolean} [enableImages] Optional. Include image information in output.
1996
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
1997
+ * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
1998
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
1999
+ * @param {boolean} [enableUserData] Optional. Include user data.
2000
+ * @param {Array<string>} [sortBy] Optional. Key to sort by.
2001
+ * @param {SortOrder} [sortOrder] Optional. Sort order.
2002
+ * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
2003
+ * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ */
2007
+ getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
2008
+ return __awaiter(this, void 0, void 0, function* () {
2009
+ 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);
2010
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2011
+ });
2012
+ },
2013
+ /**
2014
+ *
2015
+ * @summary Gets available live tv services.
2016
+ * @param {*} [options] Override http request option.
2017
+ * @throws {RequiredError}
2018
+ */
2019
+ getLiveTvInfo(options) {
2020
+ return __awaiter(this, void 0, void 0, function* () {
2021
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveTvInfo(options);
2022
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2023
+ });
2024
+ },
2025
+ /**
2026
+ *
2027
+ * @summary Gets available live tv epgs.
2028
+ * @param {Array<string>} [channelIds] The channels to return guide information for.
2029
+ * @param {string} [userId] Optional. Filter by user id.
2030
+ * @param {string} [minStartDate] Optional. The minimum premiere start date.
2031
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2032
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2033
+ * @param {string} [maxStartDate] Optional. The maximum premiere start date.
2034
+ * @param {string} [minEndDate] Optional. The minimum premiere end date.
2035
+ * @param {string} [maxEndDate] Optional. The maximum premiere end date.
2036
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2037
+ * @param {boolean} [isSeries] Optional. Filter for series.
2038
+ * @param {boolean} [isNews] Optional. Filter for news.
2039
+ * @param {boolean} [isKids] Optional. Filter for kids.
2040
+ * @param {boolean} [isSports] Optional. Filter for sports.
2041
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2042
+ * @param {number} [limit] Optional. The maximum number of records to return.
2043
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
2044
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
2045
+ * @param {Array<string>} [genres] The genres to return guide information for.
2046
+ * @param {Array<string>} [genreIds] The genre ids to return guide information for.
2047
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2048
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2049
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2050
+ * @param {boolean} [enableUserData] Optional. Include user data.
2051
+ * @param {string} [seriesTimerId] Optional. Filter by series timer id.
2052
+ * @param {string} [librarySeriesId] Optional. Filter by library series id.
2053
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2054
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ */
2058
+ 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) {
2059
+ return __awaiter(this, void 0, void 0, function* () {
2060
+ 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);
2061
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2062
+ });
2063
+ },
2064
+ /**
2065
+ *
2066
+ * @summary Gets a live tv program.
2067
+ * @param {string} programId Program id.
2068
+ * @param {string} [userId] Optional. Attach user data.
2069
+ * @param {*} [options] Override http request option.
2070
+ * @throws {RequiredError}
2071
+ */
2072
+ getProgram(programId, userId, options) {
2073
+ return __awaiter(this, void 0, void 0, function* () {
2074
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProgram(programId, userId, options);
2075
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2076
+ });
2077
+ },
2078
+ /**
2079
+ *
2080
+ * @summary Gets available live tv epgs.
2081
+ * @param {GetProgramsDto} [getProgramsDto] Request body.
2082
+ * @param {*} [options] Override http request option.
2083
+ * @throws {RequiredError}
2084
+ */
2085
+ getPrograms(getProgramsDto, options) {
2086
+ return __awaiter(this, void 0, void 0, function* () {
2087
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
2088
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2089
+ });
2090
+ },
2091
+ /**
2092
+ *
2093
+ * @summary Gets recommended live tv epgs.
2094
+ * @param {string} [userId] Optional. filter by user id.
2095
+ * @param {number} [limit] Optional. The maximum number of records to return.
2096
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2097
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2098
+ * @param {boolean} [isSeries] Optional. Filter for series.
2099
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2100
+ * @param {boolean} [isNews] Optional. Filter for news.
2101
+ * @param {boolean} [isKids] Optional. Filter for kids.
2102
+ * @param {boolean} [isSports] Optional. Filter for sports.
2103
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2104
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2105
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2106
+ * @param {Array<string>} [genreIds] The genres to return guide information for.
2107
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2108
+ * @param {boolean} [enableUserData] Optional. include user data.
2109
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2110
+ * @param {*} [options] Override http request option.
2111
+ * @throws {RequiredError}
2112
+ */
2113
+ getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
2114
+ return __awaiter(this, void 0, void 0, function* () {
2115
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options);
2116
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2117
+ });
2118
+ },
2119
+ /**
2120
+ *
2121
+ * @summary Gets a live tv recording.
2122
+ * @param {string} recordingId Recording id.
2123
+ * @param {string} [userId] Optional. Attach user data.
2124
+ * @param {*} [options] Override http request option.
2125
+ * @throws {RequiredError}
2126
+ */
2127
+ getRecording(recordingId, userId, options) {
2128
+ return __awaiter(this, void 0, void 0, function* () {
2129
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecording(recordingId, userId, options);
2130
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2131
+ });
2132
+ },
2133
+ /**
2134
+ *
2135
+ * @summary Gets recording folders.
2136
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2137
+ * @param {*} [options] Override http request option.
2138
+ * @throws {RequiredError}
2139
+ */
2140
+ getRecordingFolders(userId, options) {
2141
+ return __awaiter(this, void 0, void 0, function* () {
2142
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingFolders(userId, options);
2143
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2144
+ });
2145
+ },
2146
+ /**
2147
+ *
2148
+ * @summary Get recording group.
2149
+ * @param {string} groupId Group id.
2150
+ * @param {*} [options] Override http request option.
2151
+ * @deprecated
2152
+ * @throws {RequiredError}
2153
+ */
2154
+ getRecordingGroup(groupId, options) {
2155
+ return __awaiter(this, void 0, void 0, function* () {
2156
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingGroup(groupId, options);
2157
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2158
+ });
2159
+ },
2160
+ /**
2161
+ *
2162
+ * @summary Gets live tv recording groups.
2163
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2164
+ * @param {*} [options] Override http request option.
2165
+ * @deprecated
2166
+ * @throws {RequiredError}
2167
+ */
2168
+ getRecordingGroups(userId, options) {
2169
+ return __awaiter(this, void 0, void 0, function* () {
2170
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingGroups(userId, options);
2171
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2172
+ });
2173
+ },
2174
+ /**
2175
+ *
2176
+ * @summary Gets live tv recordings.
2177
+ * @param {string} [channelId] Optional. Filter by channel id.
2178
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2179
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2180
+ * @param {number} [limit] Optional. The maximum number of records to return.
2181
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
2182
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2183
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2184
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2185
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2186
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2187
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2188
+ * @param {boolean} [enableUserData] Optional. Include user data.
2189
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2190
+ * @param {boolean} [isSeries] Optional. Filter for series.
2191
+ * @param {boolean} [isKids] Optional. Filter for kids.
2192
+ * @param {boolean} [isSports] Optional. Filter for sports.
2193
+ * @param {boolean} [isNews] Optional. Filter for news.
2194
+ * @param {boolean} [isLibraryItem] Optional. Filter for is library item.
2195
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2196
+ * @param {*} [options] Override http request option.
2197
+ * @throws {RequiredError}
2198
+ */
2199
+ getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
2200
+ return __awaiter(this, void 0, void 0, function* () {
2201
+ 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);
2202
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2203
+ });
2204
+ },
2205
+ /**
2206
+ *
2207
+ * @summary Gets live tv recording series.
2208
+ * @param {string} [channelId] Optional. Filter by channel id.
2209
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2210
+ * @param {string} [groupId] Optional. Filter by recording group.
2211
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2212
+ * @param {number} [limit] Optional. The maximum number of records to return.
2213
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
2214
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2215
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2216
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2217
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2218
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2219
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2220
+ * @param {boolean} [enableUserData] Optional. Include user data.
2221
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2222
+ * @param {*} [options] Override http request option.
2223
+ * @deprecated
2224
+ * @throws {RequiredError}
2225
+ */
2226
+ getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
2227
+ return __awaiter(this, void 0, void 0, function* () {
2228
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options);
2229
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2230
+ });
2231
+ },
2232
+ /**
2233
+ *
2234
+ * @summary Gets available countries.
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ */
2238
+ getSchedulesDirectCountries(options) {
2239
+ return __awaiter(this, void 0, void 0, function* () {
2240
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchedulesDirectCountries(options);
2241
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2242
+ });
2243
+ },
2244
+ /**
2245
+ *
2246
+ * @summary Gets a live tv series timer.
2247
+ * @param {string} timerId Timer id.
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ */
2251
+ getSeriesTimer(timerId, options) {
2252
+ return __awaiter(this, void 0, void 0, function* () {
2253
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesTimer(timerId, options);
2254
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2255
+ });
2256
+ },
2257
+ /**
2258
+ *
2259
+ * @summary Gets live tv series timers.
2260
+ * @param {string} [sortBy] Optional. Sort by SortName or Priority.
2261
+ * @param {SortOrder} [sortOrder] Optional. Sort in Ascending or Descending order.
2262
+ * @param {*} [options] Override http request option.
2263
+ * @throws {RequiredError}
2264
+ */
2265
+ getSeriesTimers(sortBy, sortOrder, options) {
2266
+ return __awaiter(this, void 0, void 0, function* () {
2267
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
2268
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2269
+ });
2270
+ },
2271
+ /**
2272
+ *
2273
+ * @summary Gets a timer.
2274
+ * @param {string} timerId Timer id.
2275
+ * @param {*} [options] Override http request option.
2276
+ * @throws {RequiredError}
2277
+ */
2278
+ getTimer(timerId, options) {
2279
+ return __awaiter(this, void 0, void 0, function* () {
2280
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTimer(timerId, options);
2281
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2282
+ });
2283
+ },
2284
+ /**
2285
+ *
2286
+ * @summary Gets the live tv timers.
2287
+ * @param {string} [channelId] Optional. Filter by channel id.
2288
+ * @param {string} [seriesTimerId] Optional. Filter by timers belonging to a series timer.
2289
+ * @param {boolean} [isActive] Optional. Filter by timers that are active.
2290
+ * @param {boolean} [isScheduled] Optional. Filter by timers that are scheduled.
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ */
2294
+ getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
2295
+ return __awaiter(this, void 0, void 0, function* () {
2296
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTimers(channelId, seriesTimerId, isActive, isScheduled, options);
2297
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2298
+ });
2299
+ },
2300
+ /**
2301
+ *
2302
+ * @summary Get tuner host types.
2303
+ * @param {*} [options] Override http request option.
2304
+ * @throws {RequiredError}
2305
+ */
2306
+ getTunerHostTypes(options) {
2307
+ return __awaiter(this, void 0, void 0, function* () {
2308
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTunerHostTypes(options);
2309
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2310
+ });
2311
+ },
2312
+ /**
2313
+ *
2314
+ * @summary Resets a tv tuner.
2315
+ * @param {string} tunerId Tuner id.
2316
+ * @param {*} [options] Override http request option.
2317
+ * @throws {RequiredError}
2318
+ */
2319
+ resetTuner(tunerId, options) {
2320
+ return __awaiter(this, void 0, void 0, function* () {
2321
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resetTuner(tunerId, options);
2322
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2323
+ });
2324
+ },
2325
+ /**
2326
+ *
2327
+ * @summary Set channel mappings.
2328
+ * @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
2329
+ * @param {*} [options] Override http request option.
2330
+ * @throws {RequiredError}
2331
+ */
2332
+ setChannelMapping(setChannelMappingDto, options) {
2333
+ return __awaiter(this, void 0, void 0, function* () {
2334
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
2335
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2336
+ });
2337
+ },
2338
+ /**
2339
+ *
2340
+ * @summary Updates a live tv series timer.
2341
+ * @param {string} timerId Timer id.
2342
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
2343
+ * @param {*} [options] Override http request option.
2344
+ * @throws {RequiredError}
2345
+ */
2346
+ updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
2347
+ return __awaiter(this, void 0, void 0, function* () {
2348
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
2349
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2350
+ });
2351
+ },
2352
+ /**
2353
+ *
2354
+ * @summary Updates a live tv timer.
2355
+ * @param {string} timerId Timer id.
2356
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
2357
+ * @param {*} [options] Override http request option.
2358
+ * @throws {RequiredError}
2359
+ */
2360
+ updateTimer(timerId, timerInfoDto, options) {
2361
+ return __awaiter(this, void 0, void 0, function* () {
2362
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
2363
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2364
+ });
2365
+ },
2366
+ };
2367
+ };
2368
+ /**
2369
+ * LiveTvApi - factory interface
2370
+ * @export
2371
+ */
2372
+ export const LiveTvApiFactory = function (configuration, basePath, axios) {
2373
+ const localVarFp = LiveTvApiFp(configuration);
2374
+ return {
2375
+ /**
2376
+ *
2377
+ * @summary Adds a listings provider.
2378
+ * @param {string} [pw] Password.
2379
+ * @param {boolean} [validateListings] Validate listings.
2380
+ * @param {boolean} [validateLogin] Validate login.
2381
+ * @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
2382
+ * @param {*} [options] Override http request option.
2383
+ * @throws {RequiredError}
2384
+ */
2385
+ addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
2386
+ return localVarFp.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options).then((request) => request(axios, basePath));
2387
+ },
2388
+ /**
2389
+ *
2390
+ * @summary Adds a tuner host.
2391
+ * @param {TunerHostInfo} [tunerHostInfo] New tuner host.
2392
+ * @param {*} [options] Override http request option.
2393
+ * @throws {RequiredError}
2394
+ */
2395
+ addTunerHost(tunerHostInfo, options) {
2396
+ return localVarFp.addTunerHost(tunerHostInfo, options).then((request) => request(axios, basePath));
2397
+ },
2398
+ /**
2399
+ *
2400
+ * @summary Cancels a live tv series timer.
2401
+ * @param {string} timerId Timer id.
2402
+ * @param {*} [options] Override http request option.
2403
+ * @throws {RequiredError}
2404
+ */
2405
+ cancelSeriesTimer(timerId, options) {
2406
+ return localVarFp.cancelSeriesTimer(timerId, options).then((request) => request(axios, basePath));
2407
+ },
2408
+ /**
2409
+ *
2410
+ * @summary Cancels a live tv timer.
2411
+ * @param {string} timerId Timer id.
2412
+ * @param {*} [options] Override http request option.
2413
+ * @throws {RequiredError}
2414
+ */
2415
+ cancelTimer(timerId, options) {
2416
+ return localVarFp.cancelTimer(timerId, options).then((request) => request(axios, basePath));
2417
+ },
2418
+ /**
2419
+ *
2420
+ * @summary Creates a live tv series timer.
2421
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
2422
+ * @param {*} [options] Override http request option.
2423
+ * @throws {RequiredError}
2424
+ */
2425
+ createSeriesTimer(seriesTimerInfoDto, options) {
2426
+ return localVarFp.createSeriesTimer(seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2427
+ },
2428
+ /**
2429
+ *
2430
+ * @summary Creates a live tv timer.
2431
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
2432
+ * @param {*} [options] Override http request option.
2433
+ * @throws {RequiredError}
2434
+ */
2435
+ createTimer(timerInfoDto, options) {
2436
+ return localVarFp.createTimer(timerInfoDto, options).then((request) => request(axios, basePath));
2437
+ },
2438
+ /**
2439
+ *
2440
+ * @summary Delete listing provider.
2441
+ * @param {string} [id] Listing provider id.
2442
+ * @param {*} [options] Override http request option.
2443
+ * @throws {RequiredError}
2444
+ */
2445
+ deleteListingProvider(id, options) {
2446
+ return localVarFp.deleteListingProvider(id, options).then((request) => request(axios, basePath));
2447
+ },
2448
+ /**
2449
+ *
2450
+ * @summary Deletes a live tv recording.
2451
+ * @param {string} recordingId Recording id.
2452
+ * @param {*} [options] Override http request option.
2453
+ * @throws {RequiredError}
2454
+ */
2455
+ deleteRecording(recordingId, options) {
2456
+ return localVarFp.deleteRecording(recordingId, options).then((request) => request(axios, basePath));
2457
+ },
2458
+ /**
2459
+ *
2460
+ * @summary Deletes a tuner host.
2461
+ * @param {string} [id] Tuner host id.
2462
+ * @param {*} [options] Override http request option.
2463
+ * @throws {RequiredError}
2464
+ */
2465
+ deleteTunerHost(id, options) {
2466
+ return localVarFp.deleteTunerHost(id, options).then((request) => request(axios, basePath));
2467
+ },
2468
+ /**
2469
+ *
2470
+ * @summary Discover tuners.
2471
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
2472
+ * @param {*} [options] Override http request option.
2473
+ * @throws {RequiredError}
2474
+ */
2475
+ discoverTuners(newDevicesOnly, options) {
2476
+ return localVarFp.discoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
2477
+ },
2478
+ /**
2479
+ *
2480
+ * @summary Discover tuners.
2481
+ * @param {boolean} [newDevicesOnly] Only discover new tuners.
2482
+ * @param {*} [options] Override http request option.
2483
+ * @throws {RequiredError}
2484
+ */
2485
+ discvoverTuners(newDevicesOnly, options) {
2486
+ return localVarFp.discvoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
2487
+ },
2488
+ /**
2489
+ *
2490
+ * @summary Gets a live tv channel.
2491
+ * @param {string} channelId Channel id.
2492
+ * @param {string} [userId] Optional. Attach user data.
2493
+ * @param {*} [options] Override http request option.
2494
+ * @throws {RequiredError}
2495
+ */
2496
+ getChannel(channelId, userId, options) {
2497
+ return localVarFp.getChannel(channelId, userId, options).then((request) => request(axios, basePath));
2498
+ },
2499
+ /**
2500
+ *
2501
+ * @summary Get channel mapping options.
2502
+ * @param {string} [providerId] Provider id.
2503
+ * @param {*} [options] Override http request option.
2504
+ * @throws {RequiredError}
2505
+ */
2506
+ getChannelMappingOptions(providerId, options) {
2507
+ return localVarFp.getChannelMappingOptions(providerId, options).then((request) => request(axios, basePath));
2508
+ },
2509
+ /**
2510
+ *
2511
+ * @summary Gets default listings provider info.
2512
+ * @param {*} [options] Override http request option.
2513
+ * @throws {RequiredError}
2514
+ */
2515
+ getDefaultListingProvider(options) {
2516
+ return localVarFp.getDefaultListingProvider(options).then((request) => request(axios, basePath));
2517
+ },
2518
+ /**
2519
+ *
2520
+ * @summary Gets the default values for a new timer.
2521
+ * @param {string} [programId] Optional. To attach default values based on a program.
2522
+ * @param {*} [options] Override http request option.
2523
+ * @throws {RequiredError}
2524
+ */
2525
+ getDefaultTimer(programId, options) {
2526
+ return localVarFp.getDefaultTimer(programId, options).then((request) => request(axios, basePath));
2527
+ },
2528
+ /**
2529
+ *
2530
+ * @summary Get guid info.
2531
+ * @param {*} [options] Override http request option.
2532
+ * @throws {RequiredError}
2533
+ */
2534
+ getGuideInfo(options) {
2535
+ return localVarFp.getGuideInfo(options).then((request) => request(axios, basePath));
2536
+ },
2537
+ /**
2538
+ *
2539
+ * @summary Gets available lineups.
2540
+ * @param {string} [id] Provider id.
2541
+ * @param {string} [type] Provider type.
2542
+ * @param {string} [location] Location.
2543
+ * @param {string} [country] Country.
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ getLineups(id, type, location, country, options) {
2548
+ return localVarFp.getLineups(id, type, location, country, options).then((request) => request(axios, basePath));
2549
+ },
2550
+ /**
2551
+ *
2552
+ * @summary Gets a live tv recording stream.
2553
+ * @param {string} recordingId Recording id.
2554
+ * @param {*} [options] Override http request option.
2555
+ * @throws {RequiredError}
2556
+ */
2557
+ getLiveRecordingFile(recordingId, options) {
2558
+ return localVarFp.getLiveRecordingFile(recordingId, options).then((request) => request(axios, basePath));
2559
+ },
2560
+ /**
2561
+ *
2562
+ * @summary Gets a live tv channel stream.
2563
+ * @param {string} streamId Stream id.
2564
+ * @param {string} container Container type.
2565
+ * @param {*} [options] Override http request option.
2566
+ * @throws {RequiredError}
2567
+ */
2568
+ getLiveStreamFile(streamId, container, options) {
2569
+ return localVarFp.getLiveStreamFile(streamId, container, options).then((request) => request(axios, basePath));
2570
+ },
2571
+ /**
2572
+ *
2573
+ * @summary Gets available live tv channels.
2574
+ * @param {ChannelType} [type] Optional. Filter by channel type.
2575
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2576
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2577
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2578
+ * @param {boolean} [isSeries] Optional. Filter for series.
2579
+ * @param {boolean} [isNews] Optional. Filter for news.
2580
+ * @param {boolean} [isKids] Optional. Filter for kids.
2581
+ * @param {boolean} [isSports] Optional. Filter for sports.
2582
+ * @param {number} [limit] Optional. The maximum number of records to return.
2583
+ * @param {boolean} [isFavorite] Optional. Filter by channels that are favorites, or not.
2584
+ * @param {boolean} [isLiked] Optional. Filter by channels that are liked, or not.
2585
+ * @param {boolean} [isDisliked] Optional. Filter by channels that are disliked, or not.
2586
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2587
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2588
+ * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
2589
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2590
+ * @param {boolean} [enableUserData] Optional. Include user data.
2591
+ * @param {Array<string>} [sortBy] Optional. Key to sort by.
2592
+ * @param {SortOrder} [sortOrder] Optional. Sort order.
2593
+ * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
2594
+ * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
2595
+ * @param {*} [options] Override http request option.
2596
+ * @throws {RequiredError}
2597
+ */
2598
+ getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
2599
+ 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
+ },
2601
+ /**
2602
+ *
2603
+ * @summary Gets available live tv services.
2604
+ * @param {*} [options] Override http request option.
2605
+ * @throws {RequiredError}
2606
+ */
2607
+ getLiveTvInfo(options) {
2608
+ return localVarFp.getLiveTvInfo(options).then((request) => request(axios, basePath));
2609
+ },
2610
+ /**
2611
+ *
2612
+ * @summary Gets available live tv epgs.
2613
+ * @param {Array<string>} [channelIds] The channels to return guide information for.
2614
+ * @param {string} [userId] Optional. Filter by user id.
2615
+ * @param {string} [minStartDate] Optional. The minimum premiere start date.
2616
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2617
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2618
+ * @param {string} [maxStartDate] Optional. The maximum premiere start date.
2619
+ * @param {string} [minEndDate] Optional. The minimum premiere end date.
2620
+ * @param {string} [maxEndDate] Optional. The maximum premiere end date.
2621
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2622
+ * @param {boolean} [isSeries] Optional. Filter for series.
2623
+ * @param {boolean} [isNews] Optional. Filter for news.
2624
+ * @param {boolean} [isKids] Optional. Filter for kids.
2625
+ * @param {boolean} [isSports] Optional. Filter for sports.
2626
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2627
+ * @param {number} [limit] Optional. The maximum number of records to return.
2628
+ * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
2629
+ * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
2630
+ * @param {Array<string>} [genres] The genres to return guide information for.
2631
+ * @param {Array<string>} [genreIds] The genre ids to return guide information for.
2632
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2633
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2634
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2635
+ * @param {boolean} [enableUserData] Optional. Include user data.
2636
+ * @param {string} [seriesTimerId] Optional. Filter by series timer id.
2637
+ * @param {string} [librarySeriesId] Optional. Filter by library series id.
2638
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2639
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2640
+ * @param {*} [options] Override http request option.
2641
+ * @throws {RequiredError}
2642
+ */
2643
+ 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) {
2644
+ 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));
2645
+ },
2646
+ /**
2647
+ *
2648
+ * @summary Gets a live tv program.
2649
+ * @param {string} programId Program id.
2650
+ * @param {string} [userId] Optional. Attach user data.
2651
+ * @param {*} [options] Override http request option.
2652
+ * @throws {RequiredError}
2653
+ */
2654
+ getProgram(programId, userId, options) {
2655
+ return localVarFp.getProgram(programId, userId, options).then((request) => request(axios, basePath));
2656
+ },
2657
+ /**
2658
+ *
2659
+ * @summary Gets available live tv epgs.
2660
+ * @param {GetProgramsDto} [getProgramsDto] Request body.
2661
+ * @param {*} [options] Override http request option.
2662
+ * @throws {RequiredError}
2663
+ */
2664
+ getPrograms(getProgramsDto, options) {
2665
+ return localVarFp.getPrograms(getProgramsDto, options).then((request) => request(axios, basePath));
2666
+ },
2667
+ /**
2668
+ *
2669
+ * @summary Gets recommended live tv epgs.
2670
+ * @param {string} [userId] Optional. filter by user id.
2671
+ * @param {number} [limit] Optional. The maximum number of records to return.
2672
+ * @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
2673
+ * @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
2674
+ * @param {boolean} [isSeries] Optional. Filter for series.
2675
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2676
+ * @param {boolean} [isNews] Optional. Filter for news.
2677
+ * @param {boolean} [isKids] Optional. Filter for kids.
2678
+ * @param {boolean} [isSports] Optional. Filter for sports.
2679
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2680
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2681
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2682
+ * @param {Array<string>} [genreIds] The genres to return guide information for.
2683
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2684
+ * @param {boolean} [enableUserData] Optional. include user data.
2685
+ * @param {boolean} [enableTotalRecordCount] Retrieve total record count.
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
2690
+ 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));
2691
+ },
2692
+ /**
2693
+ *
2694
+ * @summary Gets a live tv recording.
2695
+ * @param {string} recordingId Recording id.
2696
+ * @param {string} [userId] Optional. Attach user data.
2697
+ * @param {*} [options] Override http request option.
2698
+ * @throws {RequiredError}
2699
+ */
2700
+ getRecording(recordingId, userId, options) {
2701
+ return localVarFp.getRecording(recordingId, userId, options).then((request) => request(axios, basePath));
2702
+ },
2703
+ /**
2704
+ *
2705
+ * @summary Gets recording folders.
2706
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2707
+ * @param {*} [options] Override http request option.
2708
+ * @throws {RequiredError}
2709
+ */
2710
+ getRecordingFolders(userId, options) {
2711
+ return localVarFp.getRecordingFolders(userId, options).then((request) => request(axios, basePath));
2712
+ },
2713
+ /**
2714
+ *
2715
+ * @summary Get recording group.
2716
+ * @param {string} groupId Group id.
2717
+ * @param {*} [options] Override http request option.
2718
+ * @deprecated
2719
+ * @throws {RequiredError}
2720
+ */
2721
+ getRecordingGroup(groupId, options) {
2722
+ return localVarFp.getRecordingGroup(groupId, options).then((request) => request(axios, basePath));
2723
+ },
2724
+ /**
2725
+ *
2726
+ * @summary Gets live tv recording groups.
2727
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2728
+ * @param {*} [options] Override http request option.
2729
+ * @deprecated
2730
+ * @throws {RequiredError}
2731
+ */
2732
+ getRecordingGroups(userId, options) {
2733
+ return localVarFp.getRecordingGroups(userId, options).then((request) => request(axios, basePath));
2734
+ },
2735
+ /**
2736
+ *
2737
+ * @summary Gets live tv recordings.
2738
+ * @param {string} [channelId] Optional. Filter by channel id.
2739
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2740
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2741
+ * @param {number} [limit] Optional. The maximum number of records to return.
2742
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
2743
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2744
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2745
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2746
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2747
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2748
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2749
+ * @param {boolean} [enableUserData] Optional. Include user data.
2750
+ * @param {boolean} [isMovie] Optional. Filter for movies.
2751
+ * @param {boolean} [isSeries] Optional. Filter for series.
2752
+ * @param {boolean} [isKids] Optional. Filter for kids.
2753
+ * @param {boolean} [isSports] Optional. Filter for sports.
2754
+ * @param {boolean} [isNews] Optional. Filter for news.
2755
+ * @param {boolean} [isLibraryItem] Optional. Filter for is library item.
2756
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2757
+ * @param {*} [options] Override http request option.
2758
+ * @throws {RequiredError}
2759
+ */
2760
+ getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
2761
+ 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));
2762
+ },
2763
+ /**
2764
+ *
2765
+ * @summary Gets live tv recording series.
2766
+ * @param {string} [channelId] Optional. Filter by channel id.
2767
+ * @param {string} [userId] Optional. Filter by user and attach user data.
2768
+ * @param {string} [groupId] Optional. Filter by recording group.
2769
+ * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
2770
+ * @param {number} [limit] Optional. The maximum number of records to return.
2771
+ * @param {RecordingStatus} [status] Optional. Filter by recording status.
2772
+ * @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
2773
+ * @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
2774
+ * @param {boolean} [enableImages] Optional. Include image information in output.
2775
+ * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
2776
+ * @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
2777
+ * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
2778
+ * @param {boolean} [enableUserData] Optional. Include user data.
2779
+ * @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
2780
+ * @param {*} [options] Override http request option.
2781
+ * @deprecated
2782
+ * @throws {RequiredError}
2783
+ */
2784
+ getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
2785
+ return localVarFp.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options).then((request) => request(axios, basePath));
2786
+ },
2787
+ /**
2788
+ *
2789
+ * @summary Gets available countries.
2790
+ * @param {*} [options] Override http request option.
2791
+ * @throws {RequiredError}
2792
+ */
2793
+ getSchedulesDirectCountries(options) {
2794
+ return localVarFp.getSchedulesDirectCountries(options).then((request) => request(axios, basePath));
2795
+ },
2796
+ /**
2797
+ *
2798
+ * @summary Gets a live tv series timer.
2799
+ * @param {string} timerId Timer id.
2800
+ * @param {*} [options] Override http request option.
2801
+ * @throws {RequiredError}
2802
+ */
2803
+ getSeriesTimer(timerId, options) {
2804
+ return localVarFp.getSeriesTimer(timerId, options).then((request) => request(axios, basePath));
2805
+ },
2806
+ /**
2807
+ *
2808
+ * @summary Gets live tv series timers.
2809
+ * @param {string} [sortBy] Optional. Sort by SortName or Priority.
2810
+ * @param {SortOrder} [sortOrder] Optional. Sort in Ascending or Descending order.
2811
+ * @param {*} [options] Override http request option.
2812
+ * @throws {RequiredError}
2813
+ */
2814
+ getSeriesTimers(sortBy, sortOrder, options) {
2815
+ return localVarFp.getSeriesTimers(sortBy, sortOrder, options).then((request) => request(axios, basePath));
2816
+ },
2817
+ /**
2818
+ *
2819
+ * @summary Gets a timer.
2820
+ * @param {string} timerId Timer id.
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ getTimer(timerId, options) {
2825
+ return localVarFp.getTimer(timerId, options).then((request) => request(axios, basePath));
2826
+ },
2827
+ /**
2828
+ *
2829
+ * @summary Gets the live tv timers.
2830
+ * @param {string} [channelId] Optional. Filter by channel id.
2831
+ * @param {string} [seriesTimerId] Optional. Filter by timers belonging to a series timer.
2832
+ * @param {boolean} [isActive] Optional. Filter by timers that are active.
2833
+ * @param {boolean} [isScheduled] Optional. Filter by timers that are scheduled.
2834
+ * @param {*} [options] Override http request option.
2835
+ * @throws {RequiredError}
2836
+ */
2837
+ getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
2838
+ return localVarFp.getTimers(channelId, seriesTimerId, isActive, isScheduled, options).then((request) => request(axios, basePath));
2839
+ },
2840
+ /**
2841
+ *
2842
+ * @summary Get tuner host types.
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ getTunerHostTypes(options) {
2847
+ return localVarFp.getTunerHostTypes(options).then((request) => request(axios, basePath));
2848
+ },
2849
+ /**
2850
+ *
2851
+ * @summary Resets a tv tuner.
2852
+ * @param {string} tunerId Tuner id.
2853
+ * @param {*} [options] Override http request option.
2854
+ * @throws {RequiredError}
2855
+ */
2856
+ resetTuner(tunerId, options) {
2857
+ return localVarFp.resetTuner(tunerId, options).then((request) => request(axios, basePath));
2858
+ },
2859
+ /**
2860
+ *
2861
+ * @summary Set channel mappings.
2862
+ * @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
2863
+ * @param {*} [options] Override http request option.
2864
+ * @throws {RequiredError}
2865
+ */
2866
+ setChannelMapping(setChannelMappingDto, options) {
2867
+ return localVarFp.setChannelMapping(setChannelMappingDto, options).then((request) => request(axios, basePath));
2868
+ },
2869
+ /**
2870
+ *
2871
+ * @summary Updates a live tv series timer.
2872
+ * @param {string} timerId Timer id.
2873
+ * @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
2874
+ * @param {*} [options] Override http request option.
2875
+ * @throws {RequiredError}
2876
+ */
2877
+ updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
2878
+ return localVarFp.updateSeriesTimer(timerId, seriesTimerInfoDto, options).then((request) => request(axios, basePath));
2879
+ },
2880
+ /**
2881
+ *
2882
+ * @summary Updates a live tv timer.
2883
+ * @param {string} timerId Timer id.
2884
+ * @param {TimerInfoDto} [timerInfoDto] New timer info.
2885
+ * @param {*} [options] Override http request option.
2886
+ * @throws {RequiredError}
2887
+ */
2888
+ updateTimer(timerId, timerInfoDto, options) {
2889
+ return localVarFp.updateTimer(timerId, timerInfoDto, options).then((request) => request(axios, basePath));
2890
+ },
2891
+ };
2892
+ };
2893
+ /**
2894
+ * LiveTvApi - object-oriented interface
2895
+ * @export
2896
+ * @class LiveTvApi
2897
+ * @extends {BaseAPI}
2898
+ */
2899
+ export class LiveTvApi extends BaseAPI {
2900
+ /**
2901
+ *
2902
+ * @summary Adds a listings provider.
2903
+ * @param {LiveTvApiAddListingProviderRequest} requestParameters Request parameters.
2904
+ * @param {*} [options] Override http request option.
2905
+ * @throws {RequiredError}
2906
+ * @memberof LiveTvApi
2907
+ */
2908
+ addListingProvider(requestParameters = {}, options) {
2909
+ return LiveTvApiFp(this.configuration).addListingProvider(requestParameters.pw, requestParameters.validateListings, requestParameters.validateLogin, requestParameters.listingsProviderInfo, options).then((request) => request(this.axios, this.basePath));
2910
+ }
2911
+ /**
2912
+ *
2913
+ * @summary Adds a tuner host.
2914
+ * @param {LiveTvApiAddTunerHostRequest} requestParameters Request parameters.
2915
+ * @param {*} [options] Override http request option.
2916
+ * @throws {RequiredError}
2917
+ * @memberof LiveTvApi
2918
+ */
2919
+ addTunerHost(requestParameters = {}, options) {
2920
+ return LiveTvApiFp(this.configuration).addTunerHost(requestParameters.tunerHostInfo, options).then((request) => request(this.axios, this.basePath));
2921
+ }
2922
+ /**
2923
+ *
2924
+ * @summary Cancels a live tv series timer.
2925
+ * @param {LiveTvApiCancelSeriesTimerRequest} requestParameters Request parameters.
2926
+ * @param {*} [options] Override http request option.
2927
+ * @throws {RequiredError}
2928
+ * @memberof LiveTvApi
2929
+ */
2930
+ cancelSeriesTimer(requestParameters, options) {
2931
+ return LiveTvApiFp(this.configuration).cancelSeriesTimer(requestParameters.timerId, options).then((request) => request(this.axios, this.basePath));
2932
+ }
2933
+ /**
2934
+ *
2935
+ * @summary Cancels a live tv timer.
2936
+ * @param {LiveTvApiCancelTimerRequest} requestParameters Request parameters.
2937
+ * @param {*} [options] Override http request option.
2938
+ * @throws {RequiredError}
2939
+ * @memberof LiveTvApi
2940
+ */
2941
+ cancelTimer(requestParameters, options) {
2942
+ return LiveTvApiFp(this.configuration).cancelTimer(requestParameters.timerId, options).then((request) => request(this.axios, this.basePath));
2943
+ }
2944
+ /**
2945
+ *
2946
+ * @summary Creates a live tv series timer.
2947
+ * @param {LiveTvApiCreateSeriesTimerRequest} requestParameters Request parameters.
2948
+ * @param {*} [options] Override http request option.
2949
+ * @throws {RequiredError}
2950
+ * @memberof LiveTvApi
2951
+ */
2952
+ createSeriesTimer(requestParameters = {}, options) {
2953
+ return LiveTvApiFp(this.configuration).createSeriesTimer(requestParameters.seriesTimerInfoDto, options).then((request) => request(this.axios, this.basePath));
2954
+ }
2955
+ /**
2956
+ *
2957
+ * @summary Creates a live tv timer.
2958
+ * @param {LiveTvApiCreateTimerRequest} requestParameters Request parameters.
2959
+ * @param {*} [options] Override http request option.
2960
+ * @throws {RequiredError}
2961
+ * @memberof LiveTvApi
2962
+ */
2963
+ createTimer(requestParameters = {}, options) {
2964
+ return LiveTvApiFp(this.configuration).createTimer(requestParameters.timerInfoDto, options).then((request) => request(this.axios, this.basePath));
2965
+ }
2966
+ /**
2967
+ *
2968
+ * @summary Delete listing provider.
2969
+ * @param {LiveTvApiDeleteListingProviderRequest} requestParameters Request parameters.
2970
+ * @param {*} [options] Override http request option.
2971
+ * @throws {RequiredError}
2972
+ * @memberof LiveTvApi
2973
+ */
2974
+ deleteListingProvider(requestParameters = {}, options) {
2975
+ return LiveTvApiFp(this.configuration).deleteListingProvider(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2976
+ }
2977
+ /**
2978
+ *
2979
+ * @summary Deletes a live tv recording.
2980
+ * @param {LiveTvApiDeleteRecordingRequest} requestParameters Request parameters.
2981
+ * @param {*} [options] Override http request option.
2982
+ * @throws {RequiredError}
2983
+ * @memberof LiveTvApi
2984
+ */
2985
+ deleteRecording(requestParameters, options) {
2986
+ return LiveTvApiFp(this.configuration).deleteRecording(requestParameters.recordingId, options).then((request) => request(this.axios, this.basePath));
2987
+ }
2988
+ /**
2989
+ *
2990
+ * @summary Deletes a tuner host.
2991
+ * @param {LiveTvApiDeleteTunerHostRequest} requestParameters Request parameters.
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ * @memberof LiveTvApi
2995
+ */
2996
+ deleteTunerHost(requestParameters = {}, options) {
2997
+ return LiveTvApiFp(this.configuration).deleteTunerHost(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2998
+ }
2999
+ /**
3000
+ *
3001
+ * @summary Discover tuners.
3002
+ * @param {LiveTvApiDiscoverTunersRequest} requestParameters Request parameters.
3003
+ * @param {*} [options] Override http request option.
3004
+ * @throws {RequiredError}
3005
+ * @memberof LiveTvApi
3006
+ */
3007
+ discoverTuners(requestParameters = {}, options) {
3008
+ return LiveTvApiFp(this.configuration).discoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(this.axios, this.basePath));
3009
+ }
3010
+ /**
3011
+ *
3012
+ * @summary Discover tuners.
3013
+ * @param {LiveTvApiDiscvoverTunersRequest} requestParameters Request parameters.
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ * @memberof LiveTvApi
3017
+ */
3018
+ discvoverTuners(requestParameters = {}, options) {
3019
+ return LiveTvApiFp(this.configuration).discvoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(this.axios, this.basePath));
3020
+ }
3021
+ /**
3022
+ *
3023
+ * @summary Gets a live tv channel.
3024
+ * @param {LiveTvApiGetChannelRequest} requestParameters Request parameters.
3025
+ * @param {*} [options] Override http request option.
3026
+ * @throws {RequiredError}
3027
+ * @memberof LiveTvApi
3028
+ */
3029
+ getChannel(requestParameters, options) {
3030
+ return LiveTvApiFp(this.configuration).getChannel(requestParameters.channelId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3031
+ }
3032
+ /**
3033
+ *
3034
+ * @summary Get channel mapping options.
3035
+ * @param {LiveTvApiGetChannelMappingOptionsRequest} requestParameters Request parameters.
3036
+ * @param {*} [options] Override http request option.
3037
+ * @throws {RequiredError}
3038
+ * @memberof LiveTvApi
3039
+ */
3040
+ getChannelMappingOptions(requestParameters = {}, options) {
3041
+ return LiveTvApiFp(this.configuration).getChannelMappingOptions(requestParameters.providerId, options).then((request) => request(this.axios, this.basePath));
3042
+ }
3043
+ /**
3044
+ *
3045
+ * @summary Gets default listings provider info.
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ * @memberof LiveTvApi
3049
+ */
3050
+ getDefaultListingProvider(options) {
3051
+ return LiveTvApiFp(this.configuration).getDefaultListingProvider(options).then((request) => request(this.axios, this.basePath));
3052
+ }
3053
+ /**
3054
+ *
3055
+ * @summary Gets the default values for a new timer.
3056
+ * @param {LiveTvApiGetDefaultTimerRequest} requestParameters Request parameters.
3057
+ * @param {*} [options] Override http request option.
3058
+ * @throws {RequiredError}
3059
+ * @memberof LiveTvApi
3060
+ */
3061
+ getDefaultTimer(requestParameters = {}, options) {
3062
+ return LiveTvApiFp(this.configuration).getDefaultTimer(requestParameters.programId, options).then((request) => request(this.axios, this.basePath));
3063
+ }
3064
+ /**
3065
+ *
3066
+ * @summary Get guid info.
3067
+ * @param {*} [options] Override http request option.
3068
+ * @throws {RequiredError}
3069
+ * @memberof LiveTvApi
3070
+ */
3071
+ getGuideInfo(options) {
3072
+ return LiveTvApiFp(this.configuration).getGuideInfo(options).then((request) => request(this.axios, this.basePath));
3073
+ }
3074
+ /**
3075
+ *
3076
+ * @summary Gets available lineups.
3077
+ * @param {LiveTvApiGetLineupsRequest} requestParameters Request parameters.
3078
+ * @param {*} [options] Override http request option.
3079
+ * @throws {RequiredError}
3080
+ * @memberof LiveTvApi
3081
+ */
3082
+ getLineups(requestParameters = {}, options) {
3083
+ return LiveTvApiFp(this.configuration).getLineups(requestParameters.id, requestParameters.type, requestParameters.location, requestParameters.country, options).then((request) => request(this.axios, this.basePath));
3084
+ }
3085
+ /**
3086
+ *
3087
+ * @summary Gets a live tv recording stream.
3088
+ * @param {LiveTvApiGetLiveRecordingFileRequest} requestParameters Request parameters.
3089
+ * @param {*} [options] Override http request option.
3090
+ * @throws {RequiredError}
3091
+ * @memberof LiveTvApi
3092
+ */
3093
+ getLiveRecordingFile(requestParameters, options) {
3094
+ return LiveTvApiFp(this.configuration).getLiveRecordingFile(requestParameters.recordingId, options).then((request) => request(this.axios, this.basePath));
3095
+ }
3096
+ /**
3097
+ *
3098
+ * @summary Gets a live tv channel stream.
3099
+ * @param {LiveTvApiGetLiveStreamFileRequest} requestParameters Request parameters.
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ * @memberof LiveTvApi
3103
+ */
3104
+ getLiveStreamFile(requestParameters, options) {
3105
+ return LiveTvApiFp(this.configuration).getLiveStreamFile(requestParameters.streamId, requestParameters.container, options).then((request) => request(this.axios, this.basePath));
3106
+ }
3107
+ /**
3108
+ *
3109
+ * @summary Gets available live tv channels.
3110
+ * @param {LiveTvApiGetLiveTvChannelsRequest} requestParameters Request parameters.
3111
+ * @param {*} [options] Override http request option.
3112
+ * @throws {RequiredError}
3113
+ * @memberof LiveTvApi
3114
+ */
3115
+ getLiveTvChannels(requestParameters = {}, options) {
3116
+ return LiveTvApiFp(this.configuration).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(this.axios, this.basePath));
3117
+ }
3118
+ /**
3119
+ *
3120
+ * @summary Gets available live tv services.
3121
+ * @param {*} [options] Override http request option.
3122
+ * @throws {RequiredError}
3123
+ * @memberof LiveTvApi
3124
+ */
3125
+ getLiveTvInfo(options) {
3126
+ return LiveTvApiFp(this.configuration).getLiveTvInfo(options).then((request) => request(this.axios, this.basePath));
3127
+ }
3128
+ /**
3129
+ *
3130
+ * @summary Gets available live tv epgs.
3131
+ * @param {LiveTvApiGetLiveTvProgramsRequest} requestParameters Request parameters.
3132
+ * @param {*} [options] Override http request option.
3133
+ * @throws {RequiredError}
3134
+ * @memberof LiveTvApi
3135
+ */
3136
+ getLiveTvPrograms(requestParameters = {}, options) {
3137
+ return LiveTvApiFp(this.configuration).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(this.axios, this.basePath));
3138
+ }
3139
+ /**
3140
+ *
3141
+ * @summary Gets a live tv program.
3142
+ * @param {LiveTvApiGetProgramRequest} requestParameters Request parameters.
3143
+ * @param {*} [options] Override http request option.
3144
+ * @throws {RequiredError}
3145
+ * @memberof LiveTvApi
3146
+ */
3147
+ getProgram(requestParameters, options) {
3148
+ return LiveTvApiFp(this.configuration).getProgram(requestParameters.programId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3149
+ }
3150
+ /**
3151
+ *
3152
+ * @summary Gets available live tv epgs.
3153
+ * @param {LiveTvApiGetProgramsRequest} requestParameters Request parameters.
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ * @memberof LiveTvApi
3157
+ */
3158
+ getPrograms(requestParameters = {}, options) {
3159
+ return LiveTvApiFp(this.configuration).getPrograms(requestParameters.getProgramsDto, options).then((request) => request(this.axios, this.basePath));
3160
+ }
3161
+ /**
3162
+ *
3163
+ * @summary Gets recommended live tv epgs.
3164
+ * @param {LiveTvApiGetRecommendedProgramsRequest} requestParameters Request parameters.
3165
+ * @param {*} [options] Override http request option.
3166
+ * @throws {RequiredError}
3167
+ * @memberof LiveTvApi
3168
+ */
3169
+ getRecommendedPrograms(requestParameters = {}, options) {
3170
+ return LiveTvApiFp(this.configuration).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(this.axios, this.basePath));
3171
+ }
3172
+ /**
3173
+ *
3174
+ * @summary Gets a live tv recording.
3175
+ * @param {LiveTvApiGetRecordingRequest} requestParameters Request parameters.
3176
+ * @param {*} [options] Override http request option.
3177
+ * @throws {RequiredError}
3178
+ * @memberof LiveTvApi
3179
+ */
3180
+ getRecording(requestParameters, options) {
3181
+ return LiveTvApiFp(this.configuration).getRecording(requestParameters.recordingId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3182
+ }
3183
+ /**
3184
+ *
3185
+ * @summary Gets recording folders.
3186
+ * @param {LiveTvApiGetRecordingFoldersRequest} requestParameters Request parameters.
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ * @memberof LiveTvApi
3190
+ */
3191
+ getRecordingFolders(requestParameters = {}, options) {
3192
+ return LiveTvApiFp(this.configuration).getRecordingFolders(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3193
+ }
3194
+ /**
3195
+ *
3196
+ * @summary Get recording group.
3197
+ * @param {LiveTvApiGetRecordingGroupRequest} requestParameters Request parameters.
3198
+ * @param {*} [options] Override http request option.
3199
+ * @deprecated
3200
+ * @throws {RequiredError}
3201
+ * @memberof LiveTvApi
3202
+ */
3203
+ getRecordingGroup(requestParameters, options) {
3204
+ return LiveTvApiFp(this.configuration).getRecordingGroup(requestParameters.groupId, options).then((request) => request(this.axios, this.basePath));
3205
+ }
3206
+ /**
3207
+ *
3208
+ * @summary Gets live tv recording groups.
3209
+ * @param {LiveTvApiGetRecordingGroupsRequest} requestParameters Request parameters.
3210
+ * @param {*} [options] Override http request option.
3211
+ * @deprecated
3212
+ * @throws {RequiredError}
3213
+ * @memberof LiveTvApi
3214
+ */
3215
+ getRecordingGroups(requestParameters = {}, options) {
3216
+ return LiveTvApiFp(this.configuration).getRecordingGroups(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
3217
+ }
3218
+ /**
3219
+ *
3220
+ * @summary Gets live tv recordings.
3221
+ * @param {LiveTvApiGetRecordingsRequest} requestParameters Request parameters.
3222
+ * @param {*} [options] Override http request option.
3223
+ * @throws {RequiredError}
3224
+ * @memberof LiveTvApi
3225
+ */
3226
+ getRecordings(requestParameters = {}, options) {
3227
+ return LiveTvApiFp(this.configuration).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(this.axios, this.basePath));
3228
+ }
3229
+ /**
3230
+ *
3231
+ * @summary Gets live tv recording series.
3232
+ * @param {LiveTvApiGetRecordingsSeriesRequest} requestParameters Request parameters.
3233
+ * @param {*} [options] Override http request option.
3234
+ * @deprecated
3235
+ * @throws {RequiredError}
3236
+ * @memberof LiveTvApi
3237
+ */
3238
+ getRecordingsSeries(requestParameters = {}, options) {
3239
+ return LiveTvApiFp(this.configuration).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(this.axios, this.basePath));
3240
+ }
3241
+ /**
3242
+ *
3243
+ * @summary Gets available countries.
3244
+ * @param {*} [options] Override http request option.
3245
+ * @throws {RequiredError}
3246
+ * @memberof LiveTvApi
3247
+ */
3248
+ getSchedulesDirectCountries(options) {
3249
+ return LiveTvApiFp(this.configuration).getSchedulesDirectCountries(options).then((request) => request(this.axios, this.basePath));
3250
+ }
3251
+ /**
3252
+ *
3253
+ * @summary Gets a live tv series timer.
3254
+ * @param {LiveTvApiGetSeriesTimerRequest} requestParameters Request parameters.
3255
+ * @param {*} [options] Override http request option.
3256
+ * @throws {RequiredError}
3257
+ * @memberof LiveTvApi
3258
+ */
3259
+ getSeriesTimer(requestParameters, options) {
3260
+ return LiveTvApiFp(this.configuration).getSeriesTimer(requestParameters.timerId, options).then((request) => request(this.axios, this.basePath));
3261
+ }
3262
+ /**
3263
+ *
3264
+ * @summary Gets live tv series timers.
3265
+ * @param {LiveTvApiGetSeriesTimersRequest} requestParameters Request parameters.
3266
+ * @param {*} [options] Override http request option.
3267
+ * @throws {RequiredError}
3268
+ * @memberof LiveTvApi
3269
+ */
3270
+ getSeriesTimers(requestParameters = {}, options) {
3271
+ return LiveTvApiFp(this.configuration).getSeriesTimers(requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
3272
+ }
3273
+ /**
3274
+ *
3275
+ * @summary Gets a timer.
3276
+ * @param {LiveTvApiGetTimerRequest} requestParameters Request parameters.
3277
+ * @param {*} [options] Override http request option.
3278
+ * @throws {RequiredError}
3279
+ * @memberof LiveTvApi
3280
+ */
3281
+ getTimer(requestParameters, options) {
3282
+ return LiveTvApiFp(this.configuration).getTimer(requestParameters.timerId, options).then((request) => request(this.axios, this.basePath));
3283
+ }
3284
+ /**
3285
+ *
3286
+ * @summary Gets the live tv timers.
3287
+ * @param {LiveTvApiGetTimersRequest} requestParameters Request parameters.
3288
+ * @param {*} [options] Override http request option.
3289
+ * @throws {RequiredError}
3290
+ * @memberof LiveTvApi
3291
+ */
3292
+ getTimers(requestParameters = {}, options) {
3293
+ return LiveTvApiFp(this.configuration).getTimers(requestParameters.channelId, requestParameters.seriesTimerId, requestParameters.isActive, requestParameters.isScheduled, options).then((request) => request(this.axios, this.basePath));
3294
+ }
3295
+ /**
3296
+ *
3297
+ * @summary Get tuner host types.
3298
+ * @param {*} [options] Override http request option.
3299
+ * @throws {RequiredError}
3300
+ * @memberof LiveTvApi
3301
+ */
3302
+ getTunerHostTypes(options) {
3303
+ return LiveTvApiFp(this.configuration).getTunerHostTypes(options).then((request) => request(this.axios, this.basePath));
3304
+ }
3305
+ /**
3306
+ *
3307
+ * @summary Resets a tv tuner.
3308
+ * @param {LiveTvApiResetTunerRequest} requestParameters Request parameters.
3309
+ * @param {*} [options] Override http request option.
3310
+ * @throws {RequiredError}
3311
+ * @memberof LiveTvApi
3312
+ */
3313
+ resetTuner(requestParameters, options) {
3314
+ return LiveTvApiFp(this.configuration).resetTuner(requestParameters.tunerId, options).then((request) => request(this.axios, this.basePath));
3315
+ }
3316
+ /**
3317
+ *
3318
+ * @summary Set channel mappings.
3319
+ * @param {LiveTvApiSetChannelMappingRequest} requestParameters Request parameters.
3320
+ * @param {*} [options] Override http request option.
3321
+ * @throws {RequiredError}
3322
+ * @memberof LiveTvApi
3323
+ */
3324
+ setChannelMapping(requestParameters, options) {
3325
+ return LiveTvApiFp(this.configuration).setChannelMapping(requestParameters.setChannelMappingDto, options).then((request) => request(this.axios, this.basePath));
3326
+ }
3327
+ /**
3328
+ *
3329
+ * @summary Updates a live tv series timer.
3330
+ * @param {LiveTvApiUpdateSeriesTimerRequest} requestParameters Request parameters.
3331
+ * @param {*} [options] Override http request option.
3332
+ * @throws {RequiredError}
3333
+ * @memberof LiveTvApi
3334
+ */
3335
+ updateSeriesTimer(requestParameters, options) {
3336
+ return LiveTvApiFp(this.configuration).updateSeriesTimer(requestParameters.timerId, requestParameters.seriesTimerInfoDto, options).then((request) => request(this.axios, this.basePath));
3337
+ }
3338
+ /**
3339
+ *
3340
+ * @summary Updates a live tv timer.
3341
+ * @param {LiveTvApiUpdateTimerRequest} requestParameters Request parameters.
3342
+ * @param {*} [options] Override http request option.
3343
+ * @throws {RequiredError}
3344
+ * @memberof LiveTvApi
3345
+ */
3346
+ updateTimer(requestParameters, options) {
3347
+ return LiveTvApiFp(this.configuration).updateTimer(requestParameters.timerId, requestParameters.timerInfoDto, options).then((request) => request(this.axios, this.basePath));
3348
+ }
3349
+ }