@jellyfin/sdk 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/README.md +9 -4
  2. package/lib/api.d.ts +1 -0
  3. package/lib/api.js +4 -4
  4. package/lib/discovery/recommended-server-discovery.js +24 -16
  5. package/lib/generated-client/api/activity-log-api.js +12 -1
  6. package/lib/generated-client/api/api-key-api.js +14 -3
  7. package/lib/generated-client/api/artists-api.d.ts +28 -26
  8. package/lib/generated-client/api/artists-api.js +26 -15
  9. package/lib/generated-client/api/audio-api.d.ts +8 -8
  10. package/lib/generated-client/api/audio-api.js +21 -10
  11. package/lib/generated-client/api/branding-api.js +14 -3
  12. package/lib/generated-client/api/channels-api.d.ts +9 -8
  13. package/lib/generated-client/api/channels-api.js +19 -8
  14. package/lib/generated-client/api/client-log-api.js +12 -1
  15. package/lib/generated-client/api/collection-api.js +14 -3
  16. package/lib/generated-client/api/configuration-api.d.ts +0 -47
  17. package/lib/generated-client/api/configuration-api.js +16 -71
  18. package/lib/generated-client/api/dashboard-api.js +13 -2
  19. package/lib/generated-client/api/devices-api.d.ts +3 -12
  20. package/lib/generated-client/api/devices-api.js +21 -16
  21. package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
  22. package/lib/generated-client/api/display-preferences-api.js +29 -22
  23. package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -10
  24. package/lib/generated-client/api/dynamic-hls-api.js +45 -22
  25. package/lib/generated-client/api/environment-api.js +17 -6
  26. package/lib/generated-client/api/filter-api.d.ts +9 -8
  27. package/lib/generated-client/api/filter-api.js +16 -5
  28. package/lib/generated-client/api/genres-api.d.ts +9 -8
  29. package/lib/generated-client/api/genres-api.js +16 -5
  30. package/lib/generated-client/api/hls-segment-api.js +16 -5
  31. package/lib/generated-client/api/image-api.d.ts +109 -1184
  32. package/lib/generated-client/api/image-api.js +218 -1056
  33. package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
  34. package/lib/generated-client/api/instant-mix-api.js +79 -68
  35. package/lib/generated-client/api/item-lookup-api.js +22 -11
  36. package/lib/generated-client/api/item-refresh-api.js +12 -1
  37. package/lib/generated-client/api/item-update-api.js +14 -3
  38. package/lib/generated-client/api/items-api.d.ts +333 -1012
  39. package/lib/generated-client/api/items-api.js +178 -595
  40. package/lib/generated-client/api/library-api.d.ts +9 -8
  41. package/lib/generated-client/api/library-api.js +39 -28
  42. package/lib/generated-client/api/library-structure-api.js +19 -8
  43. package/lib/generated-client/api/live-tv-api.d.ts +17 -16
  44. package/lib/generated-client/api/live-tv-api.js +58 -47
  45. package/lib/generated-client/api/localization-api.js +15 -4
  46. package/lib/generated-client/api/lyrics-api.d.ts +344 -0
  47. package/lib/generated-client/api/{dlna-api.js → lyrics-api.js} +165 -125
  48. package/lib/generated-client/api/media-info-api.d.ts +7 -7
  49. package/lib/generated-client/api/media-info-api.js +19 -10
  50. package/lib/generated-client/api/movies-api.js +12 -1
  51. package/lib/generated-client/api/music-genres-api.d.ts +9 -8
  52. package/lib/generated-client/api/music-genres-api.js +16 -5
  53. package/lib/generated-client/api/package-api.js +17 -6
  54. package/lib/generated-client/api/persons-api.js +13 -2
  55. package/lib/generated-client/api/playlists-api.d.ts +315 -36
  56. package/lib/generated-client/api/playlists-api.js +395 -29
  57. package/lib/generated-client/api/playstate-api.d.ts +41 -68
  58. package/lib/generated-client/api/playstate-api.js +74 -81
  59. package/lib/generated-client/api/plugins-api.js +20 -9
  60. package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
  61. package/lib/generated-client/api/quick-connect-api.js +67 -50
  62. package/lib/generated-client/api/remote-image-api.js +14 -3
  63. package/lib/generated-client/api/scheduled-tasks-api.js +16 -5
  64. package/lib/generated-client/api/search-api.d.ts +41 -40
  65. package/lib/generated-client/api/search-api.js +29 -18
  66. package/lib/generated-client/api/session-api.d.ts +9 -17
  67. package/lib/generated-client/api/session-api.js +35 -30
  68. package/lib/generated-client/api/startup-api.js +18 -7
  69. package/lib/generated-client/api/studios-api.js +13 -2
  70. package/lib/generated-client/api/subtitle-api.d.ts +7 -7
  71. package/lib/generated-client/api/subtitle-api.js +33 -22
  72. package/lib/generated-client/api/suggestions-api.d.ts +14 -13
  73. package/lib/generated-client/api/suggestions-api.js +24 -13
  74. package/lib/generated-client/api/sync-play-api.js +32 -21
  75. package/lib/generated-client/api/system-api.js +21 -10
  76. package/lib/generated-client/api/time-sync-api.js +12 -1
  77. package/lib/generated-client/api/tmdb-api.js +12 -1
  78. package/lib/generated-client/api/trailers-api.d.ts +35 -33
  79. package/lib/generated-client/api/trailers-api.js +33 -22
  80. package/lib/generated-client/api/trickplay-api.d.ts +176 -0
  81. package/lib/generated-client/api/trickplay-api.js +213 -0
  82. package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
  83. package/lib/generated-client/api/tv-shows-api.js +32 -15
  84. package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
  85. package/lib/generated-client/api/universal-audio-api.js +19 -8
  86. package/lib/generated-client/api/user-api.d.ts +35 -155
  87. package/lib/generated-client/api/user-api.js +65 -203
  88. package/lib/generated-client/api/user-library-api.d.ts +100 -100
  89. package/lib/generated-client/api/user-library-api.js +136 -125
  90. package/lib/generated-client/api/user-views-api.d.ts +22 -21
  91. package/lib/generated-client/api/user-views-api.js +33 -22
  92. package/lib/generated-client/api/video-attachments-api.js +12 -1
  93. package/lib/generated-client/api/videos-api.js +18 -7
  94. package/lib/generated-client/api/years-api.d.ts +15 -13
  95. package/lib/generated-client/api/years-api.js +19 -8
  96. package/lib/generated-client/api.d.ts +2 -4
  97. package/lib/generated-client/base.js +13 -0
  98. package/lib/generated-client/common.js +11 -0
  99. package/lib/generated-client/index.js +19 -10
  100. package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
  101. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
  102. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
  103. package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
  104. package/lib/generated-client/models/audio-spatial-format.js +24 -0
  105. package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
  106. package/lib/generated-client/models/base-item-dto.d.ts +37 -17
  107. package/lib/generated-client/models/base-item-person.d.ts +4 -3
  108. package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
  109. package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
  110. package/lib/generated-client/models/client-capabilities.d.ts +16 -19
  111. package/lib/generated-client/models/collection-type-options.d.ts +9 -9
  112. package/lib/generated-client/models/collection-type-options.js +9 -9
  113. package/lib/generated-client/models/collection-type.d.ts +31 -0
  114. package/lib/generated-client/models/collection-type.js +34 -0
  115. package/lib/generated-client/models/container-profile.d.ts +1 -1
  116. package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
  117. package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
  118. package/lib/generated-client/models/device-info.d.ts +6 -0
  119. package/lib/generated-client/models/device-profile.d.ts +0 -171
  120. package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
  121. package/lib/generated-client/models/dlna-profile-type.js +2 -1
  122. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
  123. package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
  124. package/lib/generated-client/models/encoding-options.d.ts +77 -40
  125. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  126. package/lib/generated-client/models/external-id-media-type.js +2 -1
  127. package/lib/generated-client/models/extra-type.d.ts +30 -0
  128. package/lib/generated-client/models/extra-type.js +33 -0
  129. package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
  130. package/lib/generated-client/models/general-command-message.d.ts +37 -0
  131. package/lib/generated-client/models/general-command-type.d.ts +1 -0
  132. package/lib/generated-client/models/general-command-type.js +2 -1
  133. package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
  134. package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
  135. package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
  136. package/lib/generated-client/models/group-state-update.d.ts +31 -0
  137. package/lib/generated-client/models/group-update.d.ts +20 -0
  138. package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
  139. package/lib/generated-client/models/hardware-encoding-type.js +2 -1
  140. package/lib/generated-client/models/image-format.d.ts +1 -0
  141. package/lib/generated-client/models/image-format.js +2 -1
  142. package/lib/generated-client/models/image-resolution.d.ts +27 -0
  143. package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
  144. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
  145. package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
  146. package/lib/generated-client/models/index.d.ts +74 -25
  147. package/lib/generated-client/models/index.js +17 -6
  148. package/lib/generated-client/models/item-fields.d.ts +1 -2
  149. package/lib/generated-client/models/item-fields.js +1 -2
  150. package/lib/generated-client/models/item-sort-by.d.ts +50 -0
  151. package/lib/generated-client/models/item-sort-by.js +53 -0
  152. package/lib/generated-client/models/library-changed-message.d.ts +37 -0
  153. package/lib/generated-client/models/library-options.d.ts +36 -0
  154. package/lib/generated-client/models/live-tv-options.d.ts +12 -0
  155. package/lib/generated-client/models/log-file.d.ts +1 -1
  156. package/lib/generated-client/models/lyric-dto.d.ts +31 -0
  157. package/lib/generated-client/models/lyric-line.d.ts +29 -0
  158. package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
  159. package/lib/generated-client/models/media-source-info.d.ts +3 -2
  160. package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
  161. package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
  162. package/lib/generated-client/models/media-stream-type.d.ts +1 -0
  163. package/lib/generated-client/models/media-stream-type.js +2 -1
  164. package/lib/generated-client/models/media-stream.d.ts +27 -6
  165. package/lib/generated-client/models/media-type.d.ts +23 -0
  166. package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
  167. package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
  168. package/lib/generated-client/models/network-configuration.d.ts +50 -116
  169. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
  170. package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
  171. package/lib/generated-client/models/parental-rating.d.ts +1 -1
  172. package/lib/generated-client/models/person-kind.d.ts +43 -0
  173. package/lib/generated-client/models/person-kind.js +46 -0
  174. package/lib/generated-client/models/play-message.d.ts +37 -0
  175. package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
  176. package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
  177. package/lib/generated-client/models/play-queue-update-reason.js +31 -0
  178. package/lib/generated-client/models/play-queue-update.d.ts +69 -0
  179. package/lib/generated-client/models/playback-order.d.ts +20 -0
  180. package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
  181. package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
  182. package/lib/generated-client/models/playback-request-type.d.ts +35 -0
  183. package/lib/generated-client/models/playback-request-type.js +38 -0
  184. package/lib/generated-client/models/playback-start-info.d.ts +7 -0
  185. package/lib/generated-client/models/player-state-info.d.ts +7 -0
  186. package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
  187. package/lib/generated-client/models/playstate-message.d.ts +37 -0
  188. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
  189. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
  190. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
  191. package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
  192. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
  193. package/lib/generated-client/models/process-priority-class.d.ts +24 -0
  194. package/lib/generated-client/models/process-priority-class.js +27 -0
  195. package/lib/generated-client/models/public-system-info.d.ts +1 -0
  196. package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
  197. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
  198. package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
  199. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
  200. package/lib/generated-client/models/restart-required-message.d.ts +30 -0
  201. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
  202. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
  203. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
  204. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
  205. package/lib/generated-client/models/search-hint.d.ts +20 -17
  206. package/lib/generated-client/models/series-status.d.ts +2 -1
  207. package/lib/generated-client/models/series-status.js +3 -2
  208. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
  209. package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
  210. package/lib/generated-client/models/server-configuration.d.ts +45 -0
  211. package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
  212. package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
  213. package/lib/generated-client/models/session-info.d.ts +9 -9
  214. package/lib/generated-client/models/sessions-message.d.ts +37 -0
  215. package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
  216. package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
  217. package/lib/generated-client/models/string-group-update.d.ts +36 -0
  218. package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
  219. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
  220. package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
  221. package/lib/generated-client/models/system-info.d.ts +17 -6
  222. package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
  223. package/lib/generated-client/models/timer-created-message.d.ts +37 -0
  224. package/lib/generated-client/models/transcoding-info.d.ts +3 -2
  225. package/lib/generated-client/models/transcoding-info.js +15 -0
  226. package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
  227. package/lib/generated-client/models/trickplay-info.d.ts +59 -0
  228. package/lib/generated-client/models/trickplay-options.d.ts +85 -0
  229. package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
  230. package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
  231. package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
  232. package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
  233. package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
  234. package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
  235. package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
  236. package/lib/generated-client/models/user-configuration.d.ts +6 -0
  237. package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
  238. package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
  239. package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
  240. package/lib/generated-client/models/user-dto.d.ts +1 -0
  241. package/lib/generated-client/models/user-policy.d.ts +26 -2
  242. package/lib/generated-client/models/user-updated-message.d.ts +37 -0
  243. package/lib/generated-client/models/video-range-type.d.ts +27 -0
  244. package/lib/generated-client/models/video-range-type.js +30 -0
  245. package/lib/generated-client/models/video-range.d.ts +21 -0
  246. package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
  247. package/lib/generated-client/models/web-socket-message.d.ts +18 -0
  248. package/lib/node_modules/tslib/tslib.es6.js +9 -2
  249. package/lib/utils/api/image-api.d.ts +2 -2
  250. package/lib/utils/api/image-api.js +2 -2
  251. package/lib/utils/api/image-urls-api.d.ts +55 -0
  252. package/lib/utils/api/image-urls-api.js +103 -0
  253. package/lib/utils/api/index.d.ts +2 -4
  254. package/lib/utils/api/index.js +2 -4
  255. package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
  256. package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
  257. package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
  258. package/lib/utils/api/trickplay-api.js +12 -0
  259. package/lib/utils/authentication.js +5 -6
  260. package/lib/utils/index.d.ts +2 -1
  261. package/lib/utils/index.js +2 -1
  262. package/lib/utils/versioning.d.ts +9 -0
  263. package/lib/utils/versioning.js +32 -0
  264. package/lib/versions.d.ts +2 -2
  265. package/lib/versions.js +2 -2
  266. package/package.json +17 -22
  267. package/lib/generated-client/api/dlna-server-api.js +0 -1088
  268. package/lib/generated-client/api/image-by-name-api.js +0 -423
  269. package/lib/generated-client/api/notifications-api.js +0 -484
  270. package/lib/utils/api/dlna-server-api.js +0 -12
  271. package/lib/utils/api/image-by-name-api.d.ts +0 -8
  272. package/lib/utils/api/image-by-name-api.js +0 -12
  273. package/lib/utils/api/notifications-api.d.ts +0 -8
  274. package/lib/utils/api/notifications-api.js +0 -12
@@ -14,6 +14,7 @@ import { RequestArgs, BaseAPI } from '../base';
14
14
  import { AllThemeMediaResult } from '../models';
15
15
  import { BaseItemDto } from '../models';
16
16
  import { BaseItemDtoQueryResult } from '../models';
17
+ import { CollectionType } from '../models';
17
18
  import { ItemCounts } from '../models';
18
19
  import { ItemFields } from '../models';
19
20
  import { LibraryOptionsResultDto } from '../models';
@@ -86,12 +87,12 @@ export declare const LibraryApiAxiosParamCreator: (configuration?: Configuration
86
87
  /**
87
88
  *
88
89
  * @summary Gets the library options info.
89
- * @param {string} [libraryContentType] Library content type.
90
+ * @param {CollectionType} [libraryContentType] Library content type.
90
91
  * @param {boolean} [isNewLibrary] Whether this is a new library.
91
92
  * @param {*} [options] Override http request option.
92
93
  * @throws {RequiredError}
93
94
  */
94
- getLibraryOptionsInfo: (libraryContentType?: string, isNewLibrary?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
+ getLibraryOptionsInfo: (libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
95
96
  /**
96
97
  *
97
98
  * @summary Gets all user media folders.
@@ -326,12 +327,12 @@ export declare const LibraryApiFp: (configuration?: Configuration) => {
326
327
  /**
327
328
  *
328
329
  * @summary Gets the library options info.
329
- * @param {string} [libraryContentType] Library content type.
330
+ * @param {CollectionType} [libraryContentType] Library content type.
330
331
  * @param {boolean} [isNewLibrary] Whether this is a new library.
331
332
  * @param {*} [options] Override http request option.
332
333
  * @throws {RequiredError}
333
334
  */
334
- getLibraryOptionsInfo(libraryContentType?: string, isNewLibrary?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>>;
335
+ getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>>;
335
336
  /**
336
337
  *
337
338
  * @summary Gets all user media folders.
@@ -566,12 +567,12 @@ export declare const LibraryApiFactory: (configuration?: Configuration, basePath
566
567
  /**
567
568
  *
568
569
  * @summary Gets the library options info.
569
- * @param {string} [libraryContentType] Library content type.
570
+ * @param {CollectionType} [libraryContentType] Library content type.
570
571
  * @param {boolean} [isNewLibrary] Whether this is a new library.
571
572
  * @param {*} [options] Override http request option.
572
573
  * @throws {RequiredError}
573
574
  */
574
- getLibraryOptionsInfo(libraryContentType?: string, isNewLibrary?: boolean, options?: any): AxiosPromise<LibraryOptionsResultDto>;
575
+ getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: any): AxiosPromise<LibraryOptionsResultDto>;
575
576
  /**
576
577
  *
577
578
  * @summary Gets all user media folders.
@@ -850,10 +851,10 @@ export interface LibraryApiGetItemCountsRequest {
850
851
  export interface LibraryApiGetLibraryOptionsInfoRequest {
851
852
  /**
852
853
  * Library content type.
853
- * @type {string}
854
+ * @type {CollectionType}
854
855
  * @memberof LibraryApiGetLibraryOptionsInfo
855
856
  */
856
- readonly libraryContentType?: string;
857
+ readonly libraryContentType?: CollectionType;
857
858
  /**
858
859
  * Whether this is a new library.
859
860
  * @type {boolean}
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
4
4
  import { BaseAPI, BASE_PATH } from '../base.js';
5
5
 
6
6
  /* tslint:disable */
7
+ /* eslint-disable */
8
+ /**
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * Do not edit the class manually.
11
+ *
12
+ * Jellyfin API
13
+ *
14
+ * This Source Code Form is subject to the terms of the Mozilla Public
15
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
16
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
17
+ */
7
18
  /**
8
19
  * LibraryApi - axios parameter creator
9
20
  * @export
@@ -17,7 +28,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
17
28
  * @param {*} [options] Override http request option.
18
29
  * @throws {RequiredError}
19
30
  */
20
- deleteItem: (itemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
31
+ deleteItem: (itemId_1, ...args_1) => __awaiter(this, [itemId_1, ...args_1], void 0, function* (itemId, options = {}) {
21
32
  // verify required parameter 'itemId' is not null or undefined
22
33
  assertParamExists('deleteItem', 'itemId', itemId);
23
34
  const localVarPath = `/Items/{itemId}`
@@ -48,7 +59,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
48
59
  * @param {*} [options] Override http request option.
49
60
  * @throws {RequiredError}
50
61
  */
51
- deleteItems: (ids, options = {}) => __awaiter(this, void 0, void 0, function* () {
62
+ deleteItems: (ids_1, ...args_2) => __awaiter(this, [ids_1, ...args_2], void 0, function* (ids, options = {}) {
52
63
  const localVarPath = `/Items`;
53
64
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
65
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -80,7 +91,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
80
91
  * @param {*} [options] Override http request option.
81
92
  * @throws {RequiredError}
82
93
  */
83
- getAncestors: (itemId, userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
94
+ getAncestors: (itemId_2, userId_1, ...args_3) => __awaiter(this, [itemId_2, userId_1, ...args_3], void 0, function* (itemId, userId, options = {}) {
84
95
  // verify required parameter 'itemId' is not null or undefined
85
96
  assertParamExists('getAncestors', 'itemId', itemId);
86
97
  const localVarPath = `/Items/{itemId}/Ancestors`
@@ -115,7 +126,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
115
126
  * @deprecated
116
127
  * @throws {RequiredError}
117
128
  */
118
- getCriticReviews: (itemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
129
+ getCriticReviews: (itemId_3, ...args_4) => __awaiter(this, [itemId_3, ...args_4], void 0, function* (itemId, options = {}) {
119
130
  // verify required parameter 'itemId' is not null or undefined
120
131
  assertParamExists('getCriticReviews', 'itemId', itemId);
121
132
  const localVarPath = `/Items/{itemId}/CriticReviews`
@@ -146,7 +157,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
146
157
  * @param {*} [options] Override http request option.
147
158
  * @throws {RequiredError}
148
159
  */
149
- getDownload: (itemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
160
+ getDownload: (itemId_4, ...args_5) => __awaiter(this, [itemId_4, ...args_5], void 0, function* (itemId, options = {}) {
150
161
  // verify required parameter 'itemId' is not null or undefined
151
162
  assertParamExists('getDownload', 'itemId', itemId);
152
163
  const localVarPath = `/Items/{itemId}/Download`
@@ -177,7 +188,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
177
188
  * @param {*} [options] Override http request option.
178
189
  * @throws {RequiredError}
179
190
  */
180
- getFile: (itemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
191
+ getFile: (itemId_5, ...args_6) => __awaiter(this, [itemId_5, ...args_6], void 0, function* (itemId, options = {}) {
181
192
  // verify required parameter 'itemId' is not null or undefined
182
193
  assertParamExists('getFile', 'itemId', itemId);
183
194
  const localVarPath = `/Items/{itemId}/File`
@@ -209,7 +220,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
209
220
  * @param {*} [options] Override http request option.
210
221
  * @throws {RequiredError}
211
222
  */
212
- getItemCounts: (userId, isFavorite, options = {}) => __awaiter(this, void 0, void 0, function* () {
223
+ getItemCounts: (userId_2, isFavorite_1, ...args_7) => __awaiter(this, [userId_2, isFavorite_1, ...args_7], void 0, function* (userId, isFavorite, options = {}) {
213
224
  const localVarPath = `/Items/Counts`;
214
225
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
215
226
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -239,12 +250,12 @@ const LibraryApiAxiosParamCreator = function (configuration) {
239
250
  /**
240
251
  *
241
252
  * @summary Gets the library options info.
242
- * @param {string} [libraryContentType] Library content type.
253
+ * @param {CollectionType} [libraryContentType] Library content type.
243
254
  * @param {boolean} [isNewLibrary] Whether this is a new library.
244
255
  * @param {*} [options] Override http request option.
245
256
  * @throws {RequiredError}
246
257
  */
247
- getLibraryOptionsInfo: (libraryContentType, isNewLibrary, options = {}) => __awaiter(this, void 0, void 0, function* () {
258
+ getLibraryOptionsInfo: (libraryContentType_1, isNewLibrary_1, ...args_8) => __awaiter(this, [libraryContentType_1, isNewLibrary_1, ...args_8], void 0, function* (libraryContentType, isNewLibrary, options = {}) {
248
259
  const localVarPath = `/Libraries/AvailableOptions`;
249
260
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
261
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -278,7 +289,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
278
289
  * @param {*} [options] Override http request option.
279
290
  * @throws {RequiredError}
280
291
  */
281
- getMediaFolders: (isHidden, options = {}) => __awaiter(this, void 0, void 0, function* () {
292
+ getMediaFolders: (isHidden_1, ...args_9) => __awaiter(this, [isHidden_1, ...args_9], void 0, function* (isHidden, options = {}) {
282
293
  const localVarPath = `/Library/MediaFolders`;
283
294
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
284
295
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -308,7 +319,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
308
319
  * @param {*} [options] Override http request option.
309
320
  * @throws {RequiredError}
310
321
  */
311
- getPhysicalPaths: (options = {}) => __awaiter(this, void 0, void 0, function* () {
322
+ getPhysicalPaths: (...args_10) => __awaiter(this, [...args_10], void 0, function* (options = {}) {
312
323
  const localVarPath = `/Library/PhysicalPaths`;
313
324
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
314
325
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -340,7 +351,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
340
351
  * @param {*} [options] Override http request option.
341
352
  * @throws {RequiredError}
342
353
  */
343
- getSimilarAlbums: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
354
+ getSimilarAlbums: (itemId_6, excludeArtistIds_1, userId_3, limit_1, fields_1, ...args_11) => __awaiter(this, [itemId_6, excludeArtistIds_1, userId_3, limit_1, fields_1, ...args_11], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
344
355
  // verify required parameter 'itemId' is not null or undefined
345
356
  assertParamExists('getSimilarAlbums', 'itemId', itemId);
346
357
  const localVarPath = `/Albums/{itemId}/Similar`
@@ -387,7 +398,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
387
398
  * @param {*} [options] Override http request option.
388
399
  * @throws {RequiredError}
389
400
  */
390
- getSimilarArtists: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
401
+ getSimilarArtists: (itemId_7, excludeArtistIds_2, userId_4, limit_2, fields_2, ...args_12) => __awaiter(this, [itemId_7, excludeArtistIds_2, userId_4, limit_2, fields_2, ...args_12], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
391
402
  // verify required parameter 'itemId' is not null or undefined
392
403
  assertParamExists('getSimilarArtists', 'itemId', itemId);
393
404
  const localVarPath = `/Artists/{itemId}/Similar`
@@ -434,7 +445,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
434
445
  * @param {*} [options] Override http request option.
435
446
  * @throws {RequiredError}
436
447
  */
437
- getSimilarItems: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
448
+ getSimilarItems: (itemId_8, excludeArtistIds_3, userId_5, limit_3, fields_3, ...args_13) => __awaiter(this, [itemId_8, excludeArtistIds_3, userId_5, limit_3, fields_3, ...args_13], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
438
449
  // verify required parameter 'itemId' is not null or undefined
439
450
  assertParamExists('getSimilarItems', 'itemId', itemId);
440
451
  const localVarPath = `/Items/{itemId}/Similar`
@@ -481,7 +492,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
481
492
  * @param {*} [options] Override http request option.
482
493
  * @throws {RequiredError}
483
494
  */
484
- getSimilarMovies: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
495
+ getSimilarMovies: (itemId_9, excludeArtistIds_4, userId_6, limit_4, fields_4, ...args_14) => __awaiter(this, [itemId_9, excludeArtistIds_4, userId_6, limit_4, fields_4, ...args_14], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
485
496
  // verify required parameter 'itemId' is not null or undefined
486
497
  assertParamExists('getSimilarMovies', 'itemId', itemId);
487
498
  const localVarPath = `/Movies/{itemId}/Similar`
@@ -528,7 +539,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
528
539
  * @param {*} [options] Override http request option.
529
540
  * @throws {RequiredError}
530
541
  */
531
- getSimilarShows: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
542
+ getSimilarShows: (itemId_10, excludeArtistIds_5, userId_7, limit_5, fields_5, ...args_15) => __awaiter(this, [itemId_10, excludeArtistIds_5, userId_7, limit_5, fields_5, ...args_15], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
532
543
  // verify required parameter 'itemId' is not null or undefined
533
544
  assertParamExists('getSimilarShows', 'itemId', itemId);
534
545
  const localVarPath = `/Shows/{itemId}/Similar`
@@ -575,7 +586,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
575
586
  * @param {*} [options] Override http request option.
576
587
  * @throws {RequiredError}
577
588
  */
578
- getSimilarTrailers: (itemId, excludeArtistIds, userId, limit, fields, options = {}) => __awaiter(this, void 0, void 0, function* () {
589
+ getSimilarTrailers: (itemId_11, excludeArtistIds_6, userId_8, limit_6, fields_6, ...args_16) => __awaiter(this, [itemId_11, excludeArtistIds_6, userId_8, limit_6, fields_6, ...args_16], void 0, function* (itemId, excludeArtistIds, userId, limit, fields, options = {}) {
579
590
  // verify required parameter 'itemId' is not null or undefined
580
591
  assertParamExists('getSimilarTrailers', 'itemId', itemId);
581
592
  const localVarPath = `/Trailers/{itemId}/Similar`
@@ -620,7 +631,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
620
631
  * @param {*} [options] Override http request option.
621
632
  * @throws {RequiredError}
622
633
  */
623
- getThemeMedia: (itemId, userId, inheritFromParent, options = {}) => __awaiter(this, void 0, void 0, function* () {
634
+ getThemeMedia: (itemId_12, userId_9, inheritFromParent_1, ...args_17) => __awaiter(this, [itemId_12, userId_9, inheritFromParent_1, ...args_17], void 0, function* (itemId, userId, inheritFromParent, options = {}) {
624
635
  // verify required parameter 'itemId' is not null or undefined
625
636
  assertParamExists('getThemeMedia', 'itemId', itemId);
626
637
  const localVarPath = `/Items/{itemId}/ThemeMedia`
@@ -659,7 +670,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
659
670
  * @param {*} [options] Override http request option.
660
671
  * @throws {RequiredError}
661
672
  */
662
- getThemeSongs: (itemId, userId, inheritFromParent, options = {}) => __awaiter(this, void 0, void 0, function* () {
673
+ getThemeSongs: (itemId_13, userId_10, inheritFromParent_2, ...args_18) => __awaiter(this, [itemId_13, userId_10, inheritFromParent_2, ...args_18], void 0, function* (itemId, userId, inheritFromParent, options = {}) {
663
674
  // verify required parameter 'itemId' is not null or undefined
664
675
  assertParamExists('getThemeSongs', 'itemId', itemId);
665
676
  const localVarPath = `/Items/{itemId}/ThemeSongs`
@@ -698,7 +709,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
698
709
  * @param {*} [options] Override http request option.
699
710
  * @throws {RequiredError}
700
711
  */
701
- getThemeVideos: (itemId, userId, inheritFromParent, options = {}) => __awaiter(this, void 0, void 0, function* () {
712
+ getThemeVideos: (itemId_14, userId_11, inheritFromParent_3, ...args_19) => __awaiter(this, [itemId_14, userId_11, inheritFromParent_3, ...args_19], void 0, function* (itemId, userId, inheritFromParent, options = {}) {
702
713
  // verify required parameter 'itemId' is not null or undefined
703
714
  assertParamExists('getThemeVideos', 'itemId', itemId);
704
715
  const localVarPath = `/Items/{itemId}/ThemeVideos`
@@ -736,7 +747,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
736
747
  * @param {*} [options] Override http request option.
737
748
  * @throws {RequiredError}
738
749
  */
739
- postAddedMovies: (tmdbId, imdbId, options = {}) => __awaiter(this, void 0, void 0, function* () {
750
+ postAddedMovies: (tmdbId_1, imdbId_1, ...args_20) => __awaiter(this, [tmdbId_1, imdbId_1, ...args_20], void 0, function* (tmdbId, imdbId, options = {}) {
740
751
  const localVarPath = `/Library/Movies/Added`;
741
752
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
742
753
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -770,7 +781,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
770
781
  * @param {*} [options] Override http request option.
771
782
  * @throws {RequiredError}
772
783
  */
773
- postAddedSeries: (tvdbId, options = {}) => __awaiter(this, void 0, void 0, function* () {
784
+ postAddedSeries: (tvdbId_1, ...args_21) => __awaiter(this, [tvdbId_1, ...args_21], void 0, function* (tvdbId, options = {}) {
774
785
  const localVarPath = `/Library/Series/Added`;
775
786
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
776
787
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -801,7 +812,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
801
812
  * @param {*} [options] Override http request option.
802
813
  * @throws {RequiredError}
803
814
  */
804
- postUpdatedMedia: (mediaUpdateInfoDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
815
+ postUpdatedMedia: (mediaUpdateInfoDto_1, ...args_22) => __awaiter(this, [mediaUpdateInfoDto_1, ...args_22], void 0, function* (mediaUpdateInfoDto, options = {}) {
805
816
  // verify required parameter 'mediaUpdateInfoDto' is not null or undefined
806
817
  assertParamExists('postUpdatedMedia', 'mediaUpdateInfoDto', mediaUpdateInfoDto);
807
818
  const localVarPath = `/Library/Media/Updated`;
@@ -834,7 +845,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
834
845
  * @param {*} [options] Override http request option.
835
846
  * @throws {RequiredError}
836
847
  */
837
- postUpdatedMovies: (tmdbId, imdbId, options = {}) => __awaiter(this, void 0, void 0, function* () {
848
+ postUpdatedMovies: (tmdbId_2, imdbId_2, ...args_23) => __awaiter(this, [tmdbId_2, imdbId_2, ...args_23], void 0, function* (tmdbId, imdbId, options = {}) {
838
849
  const localVarPath = `/Library/Movies/Updated`;
839
850
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
840
851
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -868,7 +879,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
868
879
  * @param {*} [options] Override http request option.
869
880
  * @throws {RequiredError}
870
881
  */
871
- postUpdatedSeries: (tvdbId, options = {}) => __awaiter(this, void 0, void 0, function* () {
882
+ postUpdatedSeries: (tvdbId_2, ...args_24) => __awaiter(this, [tvdbId_2, ...args_24], void 0, function* (tvdbId, options = {}) {
872
883
  const localVarPath = `/Library/Series/Updated`;
873
884
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
874
885
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -898,7 +909,7 @@ const LibraryApiAxiosParamCreator = function (configuration) {
898
909
  * @param {*} [options] Override http request option.
899
910
  * @throws {RequiredError}
900
911
  */
901
- refreshLibrary: (options = {}) => __awaiter(this, void 0, void 0, function* () {
912
+ refreshLibrary: (...args_25) => __awaiter(this, [...args_25], void 0, function* (options = {}) {
902
913
  const localVarPath = `/Library/Refresh`;
903
914
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
904
915
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1025,7 +1036,7 @@ const LibraryApiFp = function (configuration) {
1025
1036
  /**
1026
1037
  *
1027
1038
  * @summary Gets the library options info.
1028
- * @param {string} [libraryContentType] Library content type.
1039
+ * @param {CollectionType} [libraryContentType] Library content type.
1029
1040
  * @param {boolean} [isNewLibrary] Whether this is a new library.
1030
1041
  * @param {*} [options] Override http request option.
1031
1042
  * @throws {RequiredError}
@@ -1372,7 +1383,7 @@ const LibraryApiFactory = function (configuration, basePath, axios) {
1372
1383
  /**
1373
1384
  *
1374
1385
  * @summary Gets the library options info.
1375
- * @param {string} [libraryContentType] Library content type.
1386
+ * @param {CollectionType} [libraryContentType] Library content type.
1376
1387
  * @param {boolean} [isNewLibrary] Whether this is a new library.
1377
1388
  * @param {*} [options] Override http request option.
1378
1389
  * @throws {RequiredError}
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
4
4
  import { BaseAPI, BASE_PATH } from '../base.js';
5
5
 
6
6
  /* tslint:disable */
7
+ /* eslint-disable */
8
+ /**
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * Do not edit the class manually.
11
+ *
12
+ * Jellyfin API
13
+ *
14
+ * This Source Code Form is subject to the terms of the Mozilla Public
15
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
16
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
17
+ */
7
18
  /**
8
19
  * LibraryStructureApi - axios parameter creator
9
20
  * @export
@@ -18,7 +29,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
18
29
  * @param {*} [options] Override http request option.
19
30
  * @throws {RequiredError}
20
31
  */
21
- addMediaPath: (mediaPathDto, refreshLibrary, options = {}) => __awaiter(this, void 0, void 0, function* () {
32
+ addMediaPath: (mediaPathDto_1, refreshLibrary_1, ...args_1) => __awaiter(this, [mediaPathDto_1, refreshLibrary_1, ...args_1], void 0, function* (mediaPathDto, refreshLibrary, options = {}) {
22
33
  // verify required parameter 'mediaPathDto' is not null or undefined
23
34
  assertParamExists('addMediaPath', 'mediaPathDto', mediaPathDto);
24
35
  const localVarPath = `/Library/VirtualFolders/Paths`;
@@ -57,7 +68,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
57
68
  * @param {*} [options] Override http request option.
58
69
  * @throws {RequiredError}
59
70
  */
60
- addVirtualFolder: (name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
71
+ addVirtualFolder: (name_1, collectionType_1, paths_1, refreshLibrary_2, addVirtualFolderDto_1, ...args_2) => __awaiter(this, [name_1, collectionType_1, paths_1, refreshLibrary_2, addVirtualFolderDto_1, ...args_2], void 0, function* (name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options = {}) {
61
72
  const localVarPath = `/Library/VirtualFolders`;
62
73
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
63
74
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -98,7 +109,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
98
109
  * @param {*} [options] Override http request option.
99
110
  * @throws {RequiredError}
100
111
  */
101
- getVirtualFolders: (options = {}) => __awaiter(this, void 0, void 0, function* () {
112
+ getVirtualFolders: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
102
113
  const localVarPath = `/Library/VirtualFolders`;
103
114
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
115
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -128,7 +139,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
128
139
  * @param {*} [options] Override http request option.
129
140
  * @throws {RequiredError}
130
141
  */
131
- removeMediaPath: (name, path, refreshLibrary, options = {}) => __awaiter(this, void 0, void 0, function* () {
142
+ removeMediaPath: (name_2, path_1, refreshLibrary_3, ...args_4) => __awaiter(this, [name_2, path_1, refreshLibrary_3, ...args_4], void 0, function* (name, path, refreshLibrary, options = {}) {
132
143
  const localVarPath = `/Library/VirtualFolders/Paths`;
133
144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
134
145
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -166,7 +177,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
166
177
  * @param {*} [options] Override http request option.
167
178
  * @throws {RequiredError}
168
179
  */
169
- removeVirtualFolder: (name, refreshLibrary, options = {}) => __awaiter(this, void 0, void 0, function* () {
180
+ removeVirtualFolder: (name_3, refreshLibrary_4, ...args_5) => __awaiter(this, [name_3, refreshLibrary_4, ...args_5], void 0, function* (name, refreshLibrary, options = {}) {
170
181
  const localVarPath = `/Library/VirtualFolders`;
171
182
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
172
183
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -202,7 +213,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
202
213
  * @param {*} [options] Override http request option.
203
214
  * @throws {RequiredError}
204
215
  */
205
- renameVirtualFolder: (name, newName, refreshLibrary, options = {}) => __awaiter(this, void 0, void 0, function* () {
216
+ renameVirtualFolder: (name_4, newName_1, refreshLibrary_5, ...args_6) => __awaiter(this, [name_4, newName_1, refreshLibrary_5, ...args_6], void 0, function* (name, newName, refreshLibrary, options = {}) {
206
217
  const localVarPath = `/Library/VirtualFolders/Name`;
207
218
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
208
219
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -239,7 +250,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
239
250
  * @param {*} [options] Override http request option.
240
251
  * @throws {RequiredError}
241
252
  */
242
- updateLibraryOptions: (updateLibraryOptionsDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
253
+ updateLibraryOptions: (updateLibraryOptionsDto_1, ...args_7) => __awaiter(this, [updateLibraryOptionsDto_1, ...args_7], void 0, function* (updateLibraryOptionsDto, options = {}) {
243
254
  const localVarPath = `/Library/VirtualFolders/LibraryOptions`;
244
255
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
256
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -269,7 +280,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
269
280
  * @param {*} [options] Override http request option.
270
281
  * @throws {RequiredError}
271
282
  */
272
- updateMediaPath: (updateMediaPathRequestDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
283
+ updateMediaPath: (updateMediaPathRequestDto_1, ...args_8) => __awaiter(this, [updateMediaPathRequestDto_1, ...args_8], void 0, function* (updateMediaPathRequestDto, options = {}) {
273
284
  // verify required parameter 'updateMediaPathRequestDto' is not null or undefined
274
285
  assertParamExists('updateMediaPath', 'updateMediaPathRequestDto', updateMediaPathRequestDto);
275
286
  const localVarPath = `/Library/VirtualFolders/Paths/Update`;
@@ -19,6 +19,7 @@ import { GetProgramsDto } from '../models';
19
19
  import { GuideInfo } from '../models';
20
20
  import { ImageType } from '../models';
21
21
  import { ItemFields } from '../models';
22
+ import { ItemSortBy } from '../models';
22
23
  import { ListingsProviderInfo } from '../models';
23
24
  import { LiveTvInfo } from '../models';
24
25
  import { NameIdPair } from '../models';
@@ -214,14 +215,14 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
214
215
  * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
215
216
  * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
216
217
  * @param {boolean} [enableUserData] Optional. Include user data.
217
- * @param {Array<string>} [sortBy] Optional. Key to sort by.
218
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
218
219
  * @param {SortOrder} [sortOrder] Optional. Sort order.
219
220
  * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
220
221
  * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
221
222
  * @param {*} [options] Override http request option.
222
223
  * @throws {RequiredError}
223
224
  */
224
- getLiveTvChannels: (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<string>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
225
+ getLiveTvChannels: (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
225
226
  /**
226
227
  *
227
228
  * @summary Gets available live tv services.
@@ -247,7 +248,7 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
247
248
  * @param {boolean} [isSports] Optional. Filter for sports.
248
249
  * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
249
250
  * @param {number} [limit] Optional. The maximum number of records to return.
250
- * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
251
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
251
252
  * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
252
253
  * @param {Array<string>} [genres] The genres to return guide information for.
253
254
  * @param {Array<string>} [genreIds] The genre ids to return guide information for.
@@ -262,7 +263,7 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
262
263
  * @param {*} [options] Override http request option.
263
264
  * @throws {RequiredError}
264
265
  */
265
- getLiveTvPrograms: (channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<string>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
266
+ getLiveTvPrograms: (channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
266
267
  /**
267
268
  *
268
269
  * @summary Gets a live tv program.
@@ -654,14 +655,14 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
654
655
  * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
655
656
  * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
656
657
  * @param {boolean} [enableUserData] Optional. Include user data.
657
- * @param {Array<string>} [sortBy] Optional. Key to sort by.
658
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
658
659
  * @param {SortOrder} [sortOrder] Optional. Sort order.
659
660
  * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
660
661
  * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
661
662
  * @param {*} [options] Override http request option.
662
663
  * @throws {RequiredError}
663
664
  */
664
- getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<string>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
665
+ getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
665
666
  /**
666
667
  *
667
668
  * @summary Gets available live tv services.
@@ -687,7 +688,7 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
687
688
  * @param {boolean} [isSports] Optional. Filter for sports.
688
689
  * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
689
690
  * @param {number} [limit] Optional. The maximum number of records to return.
690
- * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
691
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
691
692
  * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
692
693
  * @param {Array<string>} [genres] The genres to return guide information for.
693
694
  * @param {Array<string>} [genreIds] The genre ids to return guide information for.
@@ -702,7 +703,7 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
702
703
  * @param {*} [options] Override http request option.
703
704
  * @throws {RequiredError}
704
705
  */
705
- getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<string>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
706
+ getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
706
707
  /**
707
708
  *
708
709
  * @summary Gets a live tv program.
@@ -1094,14 +1095,14 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
1094
1095
  * @param {Array<ImageType>} [enableImageTypes] \&quot;Optional. The image types to include in the output.
1095
1096
  * @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
1096
1097
  * @param {boolean} [enableUserData] Optional. Include user data.
1097
- * @param {Array<string>} [sortBy] Optional. Key to sort by.
1098
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
1098
1099
  * @param {SortOrder} [sortOrder] Optional. Sort order.
1099
1100
  * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
1100
1101
  * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
1101
1102
  * @param {*} [options] Override http request option.
1102
1103
  * @throws {RequiredError}
1103
1104
  */
1104
- getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<string>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
1105
+ getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
1105
1106
  /**
1106
1107
  *
1107
1108
  * @summary Gets available live tv services.
@@ -1127,7 +1128,7 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
1127
1128
  * @param {boolean} [isSports] Optional. Filter for sports.
1128
1129
  * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
1129
1130
  * @param {number} [limit] Optional. The maximum number of records to return.
1130
- * @param {Array<string>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
1131
+ * @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
1131
1132
  * @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
1132
1133
  * @param {Array<string>} [genres] The genres to return guide information for.
1133
1134
  * @param {Array<string>} [genreIds] The genre ids to return guide information for.
@@ -1142,7 +1143,7 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
1142
1143
  * @param {*} [options] Override http request option.
1143
1144
  * @throws {RequiredError}
1144
1145
  */
1145
- getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<string>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
1146
+ getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
1146
1147
  /**
1147
1148
  *
1148
1149
  * @summary Gets a live tv program.
@@ -1730,10 +1731,10 @@ export interface LiveTvApiGetLiveTvChannelsRequest {
1730
1731
  readonly enableUserData?: boolean;
1731
1732
  /**
1732
1733
  * Optional. Key to sort by.
1733
- * @type {Array<string>}
1734
+ * @type {Array<ItemSortBy>}
1734
1735
  * @memberof LiveTvApiGetLiveTvChannels
1735
1736
  */
1736
- readonly sortBy?: Array<string>;
1737
+ readonly sortBy?: Array<ItemSortBy>;
1737
1738
  /**
1738
1739
  * Optional. Sort order.
1739
1740
  * @type {SortOrder}
@@ -1851,10 +1852,10 @@ export interface LiveTvApiGetLiveTvProgramsRequest {
1851
1852
  readonly limit?: number;
1852
1853
  /**
1853
1854
  * Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
1854
- * @type {Array<string>}
1855
+ * @type {Array<ItemSortBy>}
1855
1856
  * @memberof LiveTvApiGetLiveTvPrograms
1856
1857
  */
1857
- readonly sortBy?: Array<string>;
1858
+ readonly sortBy?: Array<ItemSortBy>;
1858
1859
  /**
1859
1860
  * Sort Order - Ascending,Descending.
1860
1861
  * @type {Array<SortOrder>}