@jellyfin/sdk 0.8.2 → 0.10.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 (277) hide show
  1. package/README.md +14 -4
  2. package/lib/api.d.ts +1 -0
  3. package/lib/api.js +4 -4
  4. package/lib/discovery/discovery-service.js +4 -9
  5. package/lib/discovery/recommended-server-discovery.js +39 -36
  6. package/lib/generated-client/api/activity-log-api.js +19 -11
  7. package/lib/generated-client/api/api-key-api.js +35 -31
  8. package/lib/generated-client/api/artists-api.d.ts +28 -26
  9. package/lib/generated-client/api/artists-api.js +47 -43
  10. package/lib/generated-client/api/audio-api.d.ts +20 -20
  11. package/lib/generated-client/api/audio-api.js +45 -43
  12. package/lib/generated-client/api/branding-api.js +32 -28
  13. package/lib/generated-client/api/channels-api.d.ts +9 -8
  14. package/lib/generated-client/api/channels-api.js +54 -54
  15. package/lib/generated-client/api/client-log-api.js +19 -11
  16. package/lib/generated-client/api/collection-api.js +35 -31
  17. package/lib/generated-client/api/configuration-api.d.ts +0 -47
  18. package/lib/generated-client/api/configuration-api.js +51 -117
  19. package/lib/generated-client/api/dashboard-api.js +26 -20
  20. package/lib/generated-client/api/devices-api.d.ts +3 -12
  21. package/lib/generated-client/api/devices-api.js +54 -60
  22. package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
  23. package/lib/generated-client/api/display-preferences-api.js +39 -37
  24. package/lib/generated-client/api/dynamic-hls-api.d.ts +49 -31
  25. package/lib/generated-client/api/dynamic-hls-api.js +104 -100
  26. package/lib/generated-client/api/environment-api.js +59 -61
  27. package/lib/generated-client/api/filter-api.d.ts +9 -8
  28. package/lib/generated-client/api/filter-api.js +30 -24
  29. package/lib/generated-client/api/genres-api.d.ts +9 -8
  30. package/lib/generated-client/api/genres-api.js +30 -24
  31. package/lib/generated-client/api/hls-segment-api.js +48 -48
  32. package/lib/generated-client/api/image-api.d.ts +109 -1184
  33. package/lib/generated-client/api/image-api.js +394 -1307
  34. package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
  35. package/lib/generated-client/api/instant-mix-api.js +125 -131
  36. package/lib/generated-client/api/item-lookup-api.js +99 -111
  37. package/lib/generated-client/api/item-refresh-api.js +19 -11
  38. package/lib/generated-client/api/item-update-api.js +35 -31
  39. package/lib/generated-client/api/items-api.d.ts +333 -1012
  40. package/lib/generated-client/api/items-api.js +191 -617
  41. package/lib/generated-client/api/library-api.d.ts +9 -8
  42. package/lib/generated-client/api/library-api.js +214 -254
  43. package/lib/generated-client/api/library-structure-api.js +75 -81
  44. package/lib/generated-client/api/live-tv-api.d.ts +17 -16
  45. package/lib/generated-client/api/live-tv-api.js +343 -415
  46. package/lib/generated-client/api/localization-api.js +43 -41
  47. package/lib/generated-client/api/lyrics-api.d.ts +344 -0
  48. package/lib/generated-client/api/lyrics-api.js +449 -0
  49. package/lib/generated-client/api/media-info-api.d.ts +7 -7
  50. package/lib/generated-client/api/media-info-api.js +54 -56
  51. package/lib/generated-client/api/movies-api.js +19 -11
  52. package/lib/generated-client/api/music-genres-api.d.ts +9 -8
  53. package/lib/generated-client/api/music-genres-api.js +30 -24
  54. package/lib/generated-client/api/package-api.js +59 -61
  55. package/lib/generated-client/api/persons-api.js +27 -21
  56. package/lib/generated-client/api/playlists-api.d.ts +315 -36
  57. package/lib/generated-client/api/playlists-api.js +416 -71
  58. package/lib/generated-client/api/playstate-api.d.ts +41 -68
  59. package/lib/generated-client/api/playstate-api.js +127 -153
  60. package/lib/generated-client/api/plugins-api.js +83 -91
  61. package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
  62. package/lib/generated-client/api/quick-connect-api.js +83 -75
  63. package/lib/generated-client/api/remote-image-api.js +35 -31
  64. package/lib/generated-client/api/scheduled-tasks-api.js +51 -51
  65. package/lib/generated-client/api/search-api.d.ts +41 -40
  66. package/lib/generated-client/api/search-api.js +34 -26
  67. package/lib/generated-client/api/session-api.d.ts +9 -17
  68. package/lib/generated-client/api/session-api.js +145 -173
  69. package/lib/generated-client/api/startup-api.js +67 -71
  70. package/lib/generated-client/api/studios-api.js +27 -21
  71. package/lib/generated-client/api/subtitle-api.d.ts +7 -7
  72. package/lib/generated-client/api/subtitle-api.js +99 -109
  73. package/lib/generated-client/api/suggestions-api.d.ts +14 -13
  74. package/lib/generated-client/api/suggestions-api.js +31 -23
  75. package/lib/generated-client/api/sync-play-api.js +179 -211
  76. package/lib/generated-client/api/system-api.js +88 -98
  77. package/lib/generated-client/api/time-sync-api.js +18 -10
  78. package/lib/generated-client/api/tmdb-api.js +19 -11
  79. package/lib/generated-client/api/trailers-api.d.ts +35 -33
  80. package/lib/generated-client/api/trailers-api.js +40 -32
  81. package/lib/generated-client/api/trickplay-api.d.ts +176 -0
  82. package/lib/generated-client/api/trickplay-api.js +208 -0
  83. package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
  84. package/lib/generated-client/api/tv-shows-api.js +58 -50
  85. package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
  86. package/lib/generated-client/api/universal-audio-api.js +33 -27
  87. package/lib/generated-client/api/user-api.d.ts +35 -155
  88. package/lib/generated-client/api/user-api.js +152 -319
  89. package/lib/generated-client/api/user-library-api.d.ts +100 -100
  90. package/lib/generated-client/api/user-library-api.js +190 -200
  91. package/lib/generated-client/api/user-views-api.d.ts +22 -21
  92. package/lib/generated-client/api/user-views-api.js +47 -41
  93. package/lib/generated-client/api/video-attachments-api.js +18 -10
  94. package/lib/generated-client/api/videos-api.d.ts +12 -12
  95. package/lib/generated-client/api/videos-api.js +63 -67
  96. package/lib/generated-client/api/years-api.d.ts +15 -13
  97. package/lib/generated-client/api/years-api.js +33 -27
  98. package/lib/generated-client/api.d.ts +2 -4
  99. package/lib/generated-client/base.js +13 -0
  100. package/lib/generated-client/common.js +19 -11
  101. package/lib/generated-client/index.js +19 -10
  102. package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
  103. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
  104. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
  105. package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
  106. package/lib/generated-client/models/audio-spatial-format.js +24 -0
  107. package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
  108. package/lib/generated-client/models/base-item-dto.d.ts +37 -17
  109. package/lib/generated-client/models/base-item-person.d.ts +4 -3
  110. package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
  111. package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
  112. package/lib/generated-client/models/client-capabilities.d.ts +16 -19
  113. package/lib/generated-client/models/collection-type-options.d.ts +9 -9
  114. package/lib/generated-client/models/collection-type-options.js +9 -9
  115. package/lib/generated-client/models/collection-type.d.ts +31 -0
  116. package/lib/generated-client/models/collection-type.js +34 -0
  117. package/lib/generated-client/models/container-profile.d.ts +1 -1
  118. package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
  119. package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
  120. package/lib/generated-client/models/device-info.d.ts +6 -0
  121. package/lib/generated-client/models/device-profile.d.ts +0 -171
  122. package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
  123. package/lib/generated-client/models/dlna-profile-type.js +2 -1
  124. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
  125. package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
  126. package/lib/generated-client/models/encoding-options.d.ts +77 -40
  127. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  128. package/lib/generated-client/models/external-id-media-type.js +2 -1
  129. package/lib/generated-client/models/extra-type.d.ts +30 -0
  130. package/lib/generated-client/models/extra-type.js +33 -0
  131. package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
  132. package/lib/generated-client/models/general-command-message.d.ts +37 -0
  133. package/lib/generated-client/models/general-command-type.d.ts +1 -0
  134. package/lib/generated-client/models/general-command-type.js +2 -1
  135. package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
  136. package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
  137. package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
  138. package/lib/generated-client/models/group-state-update.d.ts +31 -0
  139. package/lib/generated-client/models/group-update.d.ts +20 -0
  140. package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
  141. package/lib/generated-client/models/hardware-encoding-type.js +2 -1
  142. package/lib/generated-client/models/image-format.d.ts +1 -0
  143. package/lib/generated-client/models/image-format.js +2 -1
  144. package/lib/generated-client/models/image-resolution.d.ts +27 -0
  145. package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
  146. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
  147. package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
  148. package/lib/generated-client/models/index.d.ts +74 -25
  149. package/lib/generated-client/models/index.js +17 -6
  150. package/lib/generated-client/models/item-fields.d.ts +1 -2
  151. package/lib/generated-client/models/item-fields.js +1 -2
  152. package/lib/generated-client/models/item-sort-by.d.ts +50 -0
  153. package/lib/generated-client/models/item-sort-by.js +53 -0
  154. package/lib/generated-client/models/library-changed-message.d.ts +37 -0
  155. package/lib/generated-client/models/library-options.d.ts +36 -0
  156. package/lib/generated-client/models/live-tv-options.d.ts +12 -0
  157. package/lib/generated-client/models/log-file.d.ts +1 -1
  158. package/lib/generated-client/models/lyric-dto.d.ts +31 -0
  159. package/lib/generated-client/models/lyric-line.d.ts +29 -0
  160. package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
  161. package/lib/generated-client/models/media-source-info.d.ts +3 -2
  162. package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
  163. package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
  164. package/lib/generated-client/models/media-stream-type.d.ts +1 -0
  165. package/lib/generated-client/models/media-stream-type.js +2 -1
  166. package/lib/generated-client/models/media-stream.d.ts +27 -6
  167. package/lib/generated-client/models/media-type.d.ts +23 -0
  168. package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
  169. package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
  170. package/lib/generated-client/models/network-configuration.d.ts +50 -116
  171. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
  172. package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
  173. package/lib/generated-client/models/parental-rating.d.ts +1 -1
  174. package/lib/generated-client/models/person-kind.d.ts +43 -0
  175. package/lib/generated-client/models/person-kind.js +46 -0
  176. package/lib/generated-client/models/play-message.d.ts +37 -0
  177. package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
  178. package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
  179. package/lib/generated-client/models/play-queue-update-reason.js +31 -0
  180. package/lib/generated-client/models/play-queue-update.d.ts +69 -0
  181. package/lib/generated-client/models/playback-order.d.ts +20 -0
  182. package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
  183. package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
  184. package/lib/generated-client/models/playback-request-type.d.ts +35 -0
  185. package/lib/generated-client/models/playback-request-type.js +38 -0
  186. package/lib/generated-client/models/playback-start-info.d.ts +7 -0
  187. package/lib/generated-client/models/player-state-info.d.ts +7 -0
  188. package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
  189. package/lib/generated-client/models/playstate-message.d.ts +37 -0
  190. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
  191. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
  192. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
  193. package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
  194. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
  195. package/lib/generated-client/models/process-priority-class.d.ts +24 -0
  196. package/lib/generated-client/models/process-priority-class.js +27 -0
  197. package/lib/generated-client/models/public-system-info.d.ts +1 -0
  198. package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
  199. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
  200. package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
  201. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
  202. package/lib/generated-client/models/restart-required-message.d.ts +30 -0
  203. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
  204. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
  205. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
  206. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
  207. package/lib/generated-client/models/search-hint.d.ts +19 -16
  208. package/lib/generated-client/models/series-status.d.ts +2 -1
  209. package/lib/generated-client/models/series-status.js +3 -2
  210. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
  211. package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
  212. package/lib/generated-client/models/server-configuration.d.ts +45 -0
  213. package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
  214. package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
  215. package/lib/generated-client/models/session-info.d.ts +9 -9
  216. package/lib/generated-client/models/sessions-message.d.ts +37 -0
  217. package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
  218. package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
  219. package/lib/generated-client/models/string-group-update.d.ts +36 -0
  220. package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
  221. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
  222. package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
  223. package/lib/generated-client/models/system-info.d.ts +17 -6
  224. package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
  225. package/lib/generated-client/models/timer-created-message.d.ts +37 -0
  226. package/lib/generated-client/models/transcoding-info.d.ts +3 -2
  227. package/lib/generated-client/models/transcoding-info.js +15 -0
  228. package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
  229. package/lib/generated-client/models/trickplay-info.d.ts +59 -0
  230. package/lib/generated-client/models/trickplay-options.d.ts +85 -0
  231. package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
  232. package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
  233. package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
  234. package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
  235. package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
  236. package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
  237. package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
  238. package/lib/generated-client/models/user-configuration.d.ts +6 -0
  239. package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
  240. package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
  241. package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
  242. package/lib/generated-client/models/user-dto.d.ts +1 -0
  243. package/lib/generated-client/models/user-policy.d.ts +26 -2
  244. package/lib/generated-client/models/user-updated-message.d.ts +37 -0
  245. package/lib/generated-client/models/video-range-type.d.ts +27 -0
  246. package/lib/generated-client/models/video-range-type.js +30 -0
  247. package/lib/generated-client/models/video-range.d.ts +21 -0
  248. package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
  249. package/lib/generated-client/models/web-socket-message.d.ts +18 -0
  250. package/lib/utils/api/image-api.d.ts +2 -2
  251. package/lib/utils/api/image-api.js +2 -2
  252. package/lib/utils/api/image-urls-api.d.ts +55 -0
  253. package/lib/utils/api/image-urls-api.js +115 -0
  254. package/lib/utils/api/index.d.ts +2 -4
  255. package/lib/utils/api/index.js +2 -4
  256. package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
  257. package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
  258. package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
  259. package/lib/utils/api/trickplay-api.js +12 -0
  260. package/lib/utils/authentication.js +5 -6
  261. package/lib/utils/index.d.ts +2 -1
  262. package/lib/utils/index.js +2 -1
  263. package/lib/utils/versioning.d.ts +9 -0
  264. package/lib/utils/versioning.js +32 -0
  265. package/lib/versions.d.ts +2 -2
  266. package/lib/versions.js +2 -2
  267. package/package.json +17 -22
  268. package/lib/generated-client/api/dlna-api.js +0 -422
  269. package/lib/generated-client/api/dlna-server-api.js +0 -1088
  270. package/lib/generated-client/api/image-by-name-api.js +0 -423
  271. package/lib/generated-client/api/notifications-api.js +0 -484
  272. package/lib/node_modules/tslib/tslib.es6.js +0 -26
  273. package/lib/utils/api/dlna-server-api.js +0 -12
  274. package/lib/utils/api/image-by-name-api.d.ts +0 -8
  275. package/lib/utils/api/image-by-name-api.js +0 -12
  276. package/lib/utils/api/notifications-api.d.ts +0 -8
  277. package/lib/utils/api/notifications-api.js +0 -12
@@ -0,0 +1,30 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { SessionMessageType } from './session-message-type';
12
+ /**
13
+ * Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
14
+ * @export
15
+ * @interface SessionsStartMessage
16
+ */
17
+ export interface SessionsStartMessage {
18
+ /**
19
+ * Gets or sets the data.
20
+ * @type {string}
21
+ * @memberof SessionsStartMessage
22
+ */
23
+ 'Data'?: string | null;
24
+ /**
25
+ *
26
+ * @type {SessionMessageType}
27
+ * @memberof SessionsStartMessage
28
+ */
29
+ 'MessageType'?: SessionMessageType;
30
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { SessionMessageType } from './session-message-type';
12
+ /**
13
+ * Sessions stop message.
14
+ * @export
15
+ * @interface SessionsStopMessage
16
+ */
17
+ export interface SessionsStopMessage {
18
+ /**
19
+ *
20
+ * @type {SessionMessageType}
21
+ * @memberof SessionsStopMessage
22
+ */
23
+ 'MessageType'?: SessionMessageType;
24
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { GroupUpdateType } from './group-update-type';
12
+ /**
13
+ * Class GroupUpdate.
14
+ * @export
15
+ * @interface StringGroupUpdate
16
+ */
17
+ export interface StringGroupUpdate {
18
+ /**
19
+ * Gets the group identifier.
20
+ * @type {string}
21
+ * @memberof StringGroupUpdate
22
+ */
23
+ 'GroupId'?: string;
24
+ /**
25
+ *
26
+ * @type {GroupUpdateType}
27
+ * @memberof StringGroupUpdate
28
+ */
29
+ 'Type'?: GroupUpdateType;
30
+ /**
31
+ * Gets the update data.
32
+ * @type {string}
33
+ * @memberof StringGroupUpdate
34
+ */
35
+ 'Data'?: string;
36
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { SendCommand } from './send-command';
12
+ import { SessionMessageType } from './session-message-type';
13
+ /**
14
+ * Sync play command.
15
+ * @export
16
+ * @interface SyncPlayCommandMessage
17
+ */
18
+ export interface SyncPlayCommandMessage {
19
+ /**
20
+ *
21
+ * @type {SendCommand}
22
+ * @memberof SyncPlayCommandMessage
23
+ */
24
+ 'Data'?: SendCommand;
25
+ /**
26
+ * Gets or sets the message id.
27
+ * @type {string}
28
+ * @memberof SyncPlayCommandMessage
29
+ */
30
+ 'MessageId'?: string;
31
+ /**
32
+ *
33
+ * @type {SessionMessageType}
34
+ * @memberof SyncPlayCommandMessage
35
+ */
36
+ 'MessageType'?: SessionMessageType;
37
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { GroupUpdate } from './group-update';
12
+ import { SessionMessageType } from './session-message-type';
13
+ /**
14
+ * Untyped sync play command.
15
+ * @export
16
+ * @interface SyncPlayGroupUpdateCommandMessage
17
+ */
18
+ export interface SyncPlayGroupUpdateCommandMessage {
19
+ /**
20
+ *
21
+ * @type {GroupUpdate}
22
+ * @memberof SyncPlayGroupUpdateCommandMessage
23
+ */
24
+ 'Data'?: GroupUpdate;
25
+ /**
26
+ * Gets or sets the message id.
27
+ * @type {string}
28
+ * @memberof SyncPlayGroupUpdateCommandMessage
29
+ */
30
+ 'MessageId'?: string;
31
+ /**
32
+ *
33
+ * @type {SessionMessageType}
34
+ * @memberof SyncPlayGroupUpdateCommandMessage
35
+ */
36
+ 'MessageType'?: SessionMessageType;
37
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ /**
12
+ * Class QueueItem.
13
+ * @export
14
+ * @interface SyncPlayQueueItem
15
+ */
16
+ export interface SyncPlayQueueItem {
17
+ /**
18
+ * Gets the item identifier.
19
+ * @type {string}
20
+ * @memberof SyncPlayQueueItem
21
+ */
22
+ 'ItemId'?: string;
23
+ /**
24
+ * Gets the playlist identifier of the item.
25
+ * @type {string}
26
+ * @memberof SyncPlayQueueItem
27
+ */
28
+ 'PlaylistItemId'?: string;
29
+ }
@@ -8,8 +8,7 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { Architecture } from './architecture';
12
- import { FFmpegLocation } from './ffmpeg-location';
11
+ import { CastReceiverApplication } from './cast-receiver-application';
13
12
  import { InstallationInfo } from './installation-info';
14
13
  /**
15
14
  * Class SystemInfo.
@@ -45,6 +44,7 @@ export interface SystemInfo {
45
44
  * Gets or sets the operating system.
46
45
  * @type {string}
47
46
  * @memberof SystemInfo
47
+ * @deprecated
48
48
  */
49
49
  'OperatingSystem'?: string | null;
50
50
  /**
@@ -63,6 +63,7 @@ export interface SystemInfo {
63
63
  * Gets or sets the display name of the operating system.
64
64
  * @type {string}
65
65
  * @memberof SystemInfo
66
+ * @deprecated
66
67
  */
67
68
  'OperatingSystemDisplayName'?: string | null;
68
69
  /**
@@ -105,12 +106,14 @@ export interface SystemInfo {
105
106
  * Gets or sets a value indicating whether this instance can self restart.
106
107
  * @type {boolean}
107
108
  * @memberof SystemInfo
109
+ * @deprecated
108
110
  */
109
111
  'CanSelfRestart'?: boolean;
110
112
  /**
111
113
  *
112
114
  * @type {boolean}
113
115
  * @memberof SystemInfo
116
+ * @deprecated
114
117
  */
115
118
  'CanLaunchWebBrowser'?: boolean;
116
119
  /**
@@ -155,6 +158,12 @@ export interface SystemInfo {
155
158
  * @memberof SystemInfo
156
159
  */
157
160
  'TranscodingTempPath'?: string | null;
161
+ /**
162
+ * Gets or sets the list of cast receiver applications.
163
+ * @type {Array<CastReceiverApplication>}
164
+ * @memberof SystemInfo
165
+ */
166
+ 'CastReceiverApplications'?: Array<CastReceiverApplication> | null;
158
167
  /**
159
168
  * Gets or sets a value indicating whether this instance has update available.
160
169
  * @type {boolean}
@@ -164,14 +173,16 @@ export interface SystemInfo {
164
173
  'HasUpdateAvailable'?: boolean;
165
174
  /**
166
175
  *
167
- * @type {FFmpegLocation}
176
+ * @type {string}
168
177
  * @memberof SystemInfo
178
+ * @deprecated
169
179
  */
170
- 'EncoderLocation'?: FFmpegLocation;
180
+ 'EncoderLocation'?: string | null;
171
181
  /**
172
182
  *
173
- * @type {Architecture}
183
+ * @type {string}
174
184
  * @memberof SystemInfo
185
+ * @deprecated
175
186
  */
176
- 'SystemArchitecture'?: Architecture;
187
+ 'SystemArchitecture'?: string | null;
177
188
  }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { SessionMessageType } from './session-message-type';
12
+ import { TimerEventInfo } from './timer-event-info';
13
+ /**
14
+ * Timer cancelled message.
15
+ * @export
16
+ * @interface TimerCancelledMessage
17
+ */
18
+ export interface TimerCancelledMessage {
19
+ /**
20
+ *
21
+ * @type {TimerEventInfo}
22
+ * @memberof TimerCancelledMessage
23
+ */
24
+ 'Data'?: TimerEventInfo;
25
+ /**
26
+ * Gets or sets the message id.
27
+ * @type {string}
28
+ * @memberof TimerCancelledMessage
29
+ */
30
+ 'MessageId'?: string;
31
+ /**
32
+ *
33
+ * @type {SessionMessageType}
34
+ * @memberof TimerCancelledMessage
35
+ */
36
+ 'MessageType'?: SessionMessageType;
37
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { SessionMessageType } from './session-message-type';
12
+ import { TimerEventInfo } from './timer-event-info';
13
+ /**
14
+ * Timer created message.
15
+ * @export
16
+ * @interface TimerCreatedMessage
17
+ */
18
+ export interface TimerCreatedMessage {
19
+ /**
20
+ *
21
+ * @type {TimerEventInfo}
22
+ * @memberof TimerCreatedMessage
23
+ */
24
+ 'Data'?: TimerEventInfo;
25
+ /**
26
+ * Gets or sets the message id.
27
+ * @type {string}
28
+ * @memberof TimerCreatedMessage
29
+ */
30
+ 'MessageId'?: string;
31
+ /**
32
+ *
33
+ * @type {SessionMessageType}
34
+ * @memberof TimerCreatedMessage
35
+ */
36
+ 'MessageType'?: SessionMessageType;
37
+ }
@@ -9,7 +9,6 @@
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
11
  import { HardwareEncodingType } from './hardware-encoding-type';
12
- import { TranscodeReason } from './transcode-reason';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -93,5 +92,7 @@ export interface TranscodingInfo {
93
92
  * @type {Array<TranscodeReason>}
94
93
  * @memberof TranscodingInfo
95
94
  */
96
- 'TranscodeReasons'?: Array<TranscodeReason>;
95
+ 'TranscodeReasons'?: TranscodingInfoTranscodeReasonsEnum;
97
96
  }
97
+ export declare const TranscodingInfoTranscodeReasonsEnum: {};
98
+ export type TranscodingInfoTranscodeReasonsEnum = typeof TranscodingInfoTranscodeReasonsEnum[keyof typeof TranscodingInfoTranscodeReasonsEnum];
@@ -0,0 +1,15 @@
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
+ const TranscodingInfoTranscodeReasonsEnum = {};
14
+
15
+ export { TranscodingInfoTranscodeReasonsEnum };
@@ -10,6 +10,7 @@
10
10
  */
11
11
  import { DlnaProfileType } from './dlna-profile-type';
12
12
  import { EncodingContext } from './encoding-context';
13
+ import { MediaStreamProtocol } from './media-stream-protocol';
13
14
  import { ProfileCondition } from './profile-condition';
14
15
  import { TranscodeSeekInfo } from './transcode-seek-info';
15
16
  /**
@@ -44,10 +45,10 @@ export interface TranscodingProfile {
44
45
  'AudioCodec'?: string;
45
46
  /**
46
47
  *
47
- * @type {string}
48
+ * @type {MediaStreamProtocol}
48
49
  * @memberof TranscodingProfile
49
50
  */
50
- 'Protocol'?: string;
51
+ 'Protocol'?: MediaStreamProtocol;
51
52
  /**
52
53
  *
53
54
  * @type {boolean}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ /**
12
+ * An entity representing the metadata for a group of trickplay tiles.
13
+ * @export
14
+ * @interface TrickplayInfo
15
+ */
16
+ export interface TrickplayInfo {
17
+ /**
18
+ * Gets or sets width of an individual thumbnail.
19
+ * @type {number}
20
+ * @memberof TrickplayInfo
21
+ */
22
+ 'Width'?: number;
23
+ /**
24
+ * Gets or sets height of an individual thumbnail.
25
+ * @type {number}
26
+ * @memberof TrickplayInfo
27
+ */
28
+ 'Height'?: number;
29
+ /**
30
+ * Gets or sets amount of thumbnails per row.
31
+ * @type {number}
32
+ * @memberof TrickplayInfo
33
+ */
34
+ 'TileWidth'?: number;
35
+ /**
36
+ * Gets or sets amount of thumbnails per column.
37
+ * @type {number}
38
+ * @memberof TrickplayInfo
39
+ */
40
+ 'TileHeight'?: number;
41
+ /**
42
+ * Gets or sets total amount of non-black thumbnails.
43
+ * @type {number}
44
+ * @memberof TrickplayInfo
45
+ */
46
+ 'ThumbnailCount'?: number;
47
+ /**
48
+ * Gets or sets interval in milliseconds between each trickplay thumbnail.
49
+ * @type {number}
50
+ * @memberof TrickplayInfo
51
+ */
52
+ 'Interval'?: number;
53
+ /**
54
+ * Gets or sets peak bandwith usage in bits per second.
55
+ * @type {number}
56
+ * @memberof TrickplayInfo
57
+ */
58
+ 'Bandwidth'?: number;
59
+ }
@@ -0,0 +1,85 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { ProcessPriorityClass } from './process-priority-class';
12
+ import { TrickplayScanBehavior } from './trickplay-scan-behavior';
13
+ /**
14
+ * Class TrickplayOptions.
15
+ * @export
16
+ * @interface TrickplayOptions
17
+ */
18
+ export interface TrickplayOptions {
19
+ /**
20
+ * Gets or sets a value indicating whether or not to use HW acceleration.
21
+ * @type {boolean}
22
+ * @memberof TrickplayOptions
23
+ */
24
+ 'EnableHwAcceleration'?: boolean;
25
+ /**
26
+ * Gets or sets a value indicating whether or not to use HW accelerated MJPEG encoding.
27
+ * @type {boolean}
28
+ * @memberof TrickplayOptions
29
+ */
30
+ 'EnableHwEncoding'?: boolean;
31
+ /**
32
+ *
33
+ * @type {TrickplayScanBehavior}
34
+ * @memberof TrickplayOptions
35
+ */
36
+ 'ScanBehavior'?: TrickplayScanBehavior;
37
+ /**
38
+ *
39
+ * @type {ProcessPriorityClass}
40
+ * @memberof TrickplayOptions
41
+ */
42
+ 'ProcessPriority'?: ProcessPriorityClass;
43
+ /**
44
+ * Gets or sets the interval, in ms, between each new trickplay image.
45
+ * @type {number}
46
+ * @memberof TrickplayOptions
47
+ */
48
+ 'Interval'?: number;
49
+ /**
50
+ * Gets or sets the target width resolutions, in px, to generates preview images for.
51
+ * @type {Array<number>}
52
+ * @memberof TrickplayOptions
53
+ */
54
+ 'WidthResolutions'?: Array<number>;
55
+ /**
56
+ * Gets or sets number of tile images to allow in X dimension.
57
+ * @type {number}
58
+ * @memberof TrickplayOptions
59
+ */
60
+ 'TileWidth'?: number;
61
+ /**
62
+ * Gets or sets number of tile images to allow in Y dimension.
63
+ * @type {number}
64
+ * @memberof TrickplayOptions
65
+ */
66
+ 'TileHeight'?: number;
67
+ /**
68
+ * Gets or sets the ffmpeg output quality level.
69
+ * @type {number}
70
+ * @memberof TrickplayOptions
71
+ */
72
+ 'Qscale'?: number;
73
+ /**
74
+ * Gets or sets the jpeg quality to use for image tiles.
75
+ * @type {number}
76
+ * @memberof TrickplayOptions
77
+ */
78
+ 'JpegQuality'?: number;
79
+ /**
80
+ * Gets or sets the number of threads to be used by ffmpeg.
81
+ * @type {number}
82
+ * @memberof TrickplayOptions
83
+ */
84
+ 'ProcessThreads'?: number;
85
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ /**
12
+ * Enum TrickplayScanBehavior.
13
+ * @export
14
+ * @enum {string}
15
+ */
16
+ export declare const TrickplayScanBehavior: {
17
+ readonly Blocking: "Blocking";
18
+ readonly NonBlocking: "NonBlocking";
19
+ };
20
+ export type TrickplayScanBehavior = typeof TrickplayScanBehavior[keyof typeof TrickplayScanBehavior];
@@ -11,14 +11,13 @@
11
11
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
12
  */
13
13
  /**
14
- *
14
+ * Enum TrickplayScanBehavior.
15
15
  * @export
16
16
  * @enum {string}
17
17
  */
18
- const NotificationLevel = {
19
- Normal: 'Normal',
20
- Warning: 'Warning',
21
- Error: 'Error'
18
+ const TrickplayScanBehavior = {
19
+ Blocking: 'Blocking',
20
+ NonBlocking: 'NonBlocking'
22
21
  };
23
22
 
24
- export { NotificationLevel };
23
+ export { TrickplayScanBehavior };
@@ -80,4 +80,10 @@ export interface TunerHostInfo {
80
80
  * @memberof TunerHostInfo
81
81
  */
82
82
  'UserAgent'?: string | null;
83
+ /**
84
+ *
85
+ * @type {boolean}
86
+ * @memberof TunerHostInfo
87
+ */
88
+ 'IgnoreDts'?: boolean;
83
89
  }
@@ -0,0 +1,42 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import { PlaylistUserPermissions } from './playlist-user-permissions';
12
+ /**
13
+ * Update existing playlist dto. Fields set to `null` will not be updated and keep their current values.
14
+ * @export
15
+ * @interface UpdatePlaylistDto
16
+ */
17
+ export interface UpdatePlaylistDto {
18
+ /**
19
+ * Gets or sets the name of the new playlist.
20
+ * @type {string}
21
+ * @memberof UpdatePlaylistDto
22
+ */
23
+ 'Name'?: string | null;
24
+ /**
25
+ * Gets or sets item ids of the playlist.
26
+ * @type {Array<string>}
27
+ * @memberof UpdatePlaylistDto
28
+ */
29
+ 'Ids'?: Array<string> | null;
30
+ /**
31
+ * Gets or sets the playlist users.
32
+ * @type {Array<PlaylistUserPermissions>}
33
+ * @memberof UpdatePlaylistDto
34
+ */
35
+ 'Users'?: Array<PlaylistUserPermissions> | null;
36
+ /**
37
+ * Gets or sets a value indicating whether the playlist is public.
38
+ * @type {boolean}
39
+ * @memberof UpdatePlaylistDto
40
+ */
41
+ 'IsPublic'?: boolean | null;
42
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ /**
12
+ * Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values.
13
+ * @export
14
+ * @interface UpdatePlaylistUserDto
15
+ */
16
+ export interface UpdatePlaylistUserDto {
17
+ /**
18
+ * Gets or sets a value indicating whether the user can edit the playlist.
19
+ * @type {boolean}
20
+ * @memberof UpdatePlaylistUserDto
21
+ */
22
+ 'CanEdit'?: boolean | null;
23
+ }