@jellyfin/sdk 0.7.0 → 0.8.1

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 (864) hide show
  1. package/README.md +23 -9
  2. package/lib/api.d.ts +4 -4
  3. package/lib/api.js +38 -68
  4. package/lib/discovery/discovery-service.d.ts +3 -1
  5. package/lib/discovery/discovery-service.js +27 -68
  6. package/lib/discovery/index.js +3 -18
  7. package/lib/discovery/recommended-server-discovery.d.ts +3 -1
  8. package/lib/discovery/recommended-server-discovery.js +56 -102
  9. package/lib/generated-client/api/activity-log-api.d.ts +4 -4
  10. package/lib/generated-client/api/activity-log-api.js +58 -165
  11. package/lib/generated-client/api/api-key-api.d.ts +10 -10
  12. package/lib/generated-client/api/api-key-api.js +112 -254
  13. package/lib/generated-client/api/artists-api.d.ts +10 -10
  14. package/lib/generated-client/api/artists-api.js +302 -446
  15. package/lib/generated-client/api/audio-api.d.ts +13 -13
  16. package/lib/generated-client/api/audio-api.js +714 -850
  17. package/lib/generated-client/api/branding-api.d.ts +10 -10
  18. package/lib/generated-client/api/branding-api.js +98 -222
  19. package/lib/generated-client/api/channels-api.d.ts +16 -16
  20. package/lib/generated-client/api/channels-api.js +230 -410
  21. package/lib/generated-client/api/client-log-api.d.ts +4 -4
  22. package/lib/generated-client/api/client-log-api.js +46 -153
  23. package/lib/generated-client/api/collection-api.d.ts +10 -10
  24. package/lib/generated-client/api/collection-api.js +132 -275
  25. package/lib/generated-client/api/configuration-api.d.ts +19 -19
  26. package/lib/generated-client/api/configuration-api.js +212 -408
  27. package/lib/generated-client/api/dashboard-api.d.ts +7 -7
  28. package/lib/generated-client/api/dashboard-api.js +78 -198
  29. package/lib/generated-client/api/devices-api.d.ts +16 -16
  30. package/lib/generated-client/api/devices-api.js +194 -373
  31. package/lib/generated-client/api/display-preferences-api.d.ts +7 -7
  32. package/lib/generated-client/api/display-preferences-api.js +104 -228
  33. package/lib/generated-client/api/dlna-api.d.ts +19 -19
  34. package/lib/generated-client/api/dlna-api.js +207 -404
  35. package/lib/generated-client/api/dlna-server-api.d.ts +49 -49
  36. package/lib/generated-client/api/dlna-server-api.js +545 -921
  37. package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -28
  38. package/lib/generated-client/api/dynamic-hls-api.js +1686 -1936
  39. package/lib/generated-client/api/environment-api.d.ts +19 -19
  40. package/lib/generated-client/api/environment-api.js +214 -410
  41. package/lib/generated-client/api/filter-api.d.ts +7 -7
  42. package/lib/generated-client/api/filter-api.js +116 -242
  43. package/lib/generated-client/api/genres-api.d.ts +7 -7
  44. package/lib/generated-client/api/genres-api.js +134 -259
  45. package/lib/generated-client/api/hls-segment-api.d.ts +16 -16
  46. package/lib/generated-client/api/hls-segment-api.js +198 -358
  47. package/lib/generated-client/api/image-api.d.ts +124 -124
  48. package/lib/generated-client/api/image-api.js +2914 -3568
  49. package/lib/generated-client/api/image-by-name-api.d.ts +19 -19
  50. package/lib/generated-client/api/image-by-name-api.js +206 -384
  51. package/lib/generated-client/api/instant-mix-api.d.ts +25 -25
  52. package/lib/generated-client/api/instant-mix-api.js +450 -682
  53. package/lib/generated-client/api/item-lookup-api.d.ts +34 -34
  54. package/lib/generated-client/api/item-lookup-api.js +393 -679
  55. package/lib/generated-client/api/item-refresh-api.d.ts +4 -4
  56. package/lib/generated-client/api/item-refresh-api.js +59 -165
  57. package/lib/generated-client/api/item-update-api.d.ts +10 -10
  58. package/lib/generated-client/api/item-update-api.js +120 -262
  59. package/lib/generated-client/api/items-api.d.ts +10 -10
  60. package/lib/generated-client/api/items-api.js +675 -818
  61. package/lib/generated-client/api/library-api.d.ts +76 -76
  62. package/lib/generated-client/api/library-api.js +939 -1485
  63. package/lib/generated-client/api/library-structure-api.d.ts +25 -25
  64. package/lib/generated-client/api/library-structure-api.js +305 -542
  65. package/lib/generated-client/api/live-tv-api.d.ts +124 -124
  66. package/lib/generated-client/api/live-tv-api.js +1674 -2509
  67. package/lib/generated-client/api/localization-api.d.ts +13 -13
  68. package/lib/generated-client/api/localization-api.js +134 -294
  69. package/lib/generated-client/api/media-info-api.d.ts +16 -16
  70. package/lib/generated-client/api/media-info-api.js +262 -442
  71. package/lib/generated-client/api/movies-api.d.ts +4 -4
  72. package/lib/generated-client/api/movies-api.js +59 -166
  73. package/lib/generated-client/api/music-genres-api.d.ts +7 -7
  74. package/lib/generated-client/api/music-genres-api.js +134 -259
  75. package/lib/generated-client/api/notifications-api.d.ts +22 -22
  76. package/lib/generated-client/api/notifications-api.js +240 -454
  77. package/lib/generated-client/api/package-api.d.ts +19 -19
  78. package/lib/generated-client/api/package-api.js +219 -415
  79. package/lib/generated-client/api/persons-api.d.ts +7 -7
  80. package/lib/generated-client/api/persons-api.js +119 -244
  81. package/lib/generated-client/api/playlists-api.d.ts +16 -16
  82. package/lib/generated-client/api/playlists-api.js +231 -410
  83. package/lib/generated-client/api/playstate-api.d.ts +28 -28
  84. package/lib/generated-client/api/playstate-api.js +399 -652
  85. package/lib/generated-client/api/plugins-api.d.ts +28 -28
  86. package/lib/generated-client/api/plugins-api.js +320 -570
  87. package/lib/generated-client/api/quick-connect-api.d.ts +13 -13
  88. package/lib/generated-client/api/quick-connect-api.js +138 -280
  89. package/lib/generated-client/api/remote-image-api.d.ts +10 -10
  90. package/lib/generated-client/api/remote-image-api.js +136 -278
  91. package/lib/generated-client/api/scheduled-tasks-api.d.ts +16 -16
  92. package/lib/generated-client/api/scheduled-tasks-api.js +186 -365
  93. package/lib/generated-client/api/search-api.d.ts +4 -4
  94. package/lib/generated-client/api/search-api.js +100 -206
  95. package/lib/generated-client/api/session-api.d.ts +49 -49
  96. package/lib/generated-client/api/session-api.js +632 -1010
  97. package/lib/generated-client/api/startup-api.d.ts +22 -22
  98. package/lib/generated-client/api/startup-api.js +234 -449
  99. package/lib/generated-client/api/studios-api.d.ts +7 -7
  100. package/lib/generated-client/api/studios-api.js +131 -256
  101. package/lib/generated-client/api/subtitle-api.d.ts +31 -31
  102. package/lib/generated-client/api/subtitle-api.js +433 -689
  103. package/lib/generated-client/api/suggestions-api.d.ts +4 -4
  104. package/lib/generated-client/api/suggestions-api.js +62 -168
  105. package/lib/generated-client/api/sync-play-api.d.ts +64 -64
  106. package/lib/generated-client/api/sync-play-api.js +708 -1174
  107. package/lib/generated-client/api/system-api.d.ts +31 -31
  108. package/lib/generated-client/api/system-api.js +313 -563
  109. package/lib/generated-client/api/time-sync-api.d.ts +4 -4
  110. package/lib/generated-client/api/time-sync-api.js +42 -142
  111. package/lib/generated-client/api/tmdb-api.d.ts +4 -4
  112. package/lib/generated-client/api/tmdb-api.js +44 -150
  113. package/lib/generated-client/api/trailers-api.d.ts +4 -4
  114. package/lib/generated-client/api/trailers-api.js +304 -411
  115. package/lib/generated-client/api/tv-shows-api.d.ts +13 -13
  116. package/lib/generated-client/api/tv-shows-api.js +280 -442
  117. package/lib/generated-client/api/universal-audio-api.d.ts +7 -7
  118. package/lib/generated-client/api/universal-audio-api.js +182 -306
  119. package/lib/generated-client/api/user-api.d.ts +49 -49
  120. package/lib/generated-client/api/user-api.js +560 -901
  121. package/lib/generated-client/api/user-library-api.d.ts +31 -31
  122. package/lib/generated-client/api/user-library-api.js +401 -669
  123. package/lib/generated-client/api/user-views-api.d.ts +7 -7
  124. package/lib/generated-client/api/user-views-api.js +89 -213
  125. package/lib/generated-client/api/video-attachments-api.d.ts +4 -4
  126. package/lib/generated-client/api/video-attachments-api.js +51 -151
  127. package/lib/generated-client/api/videos-api.d.ts +22 -22
  128. package/lib/generated-client/api/videos-api.js +842 -1032
  129. package/lib/generated-client/api/years-api.d.ts +7 -7
  130. package/lib/generated-client/api/years-api.js +125 -250
  131. package/lib/generated-client/base.d.ts +2 -2
  132. package/lib/generated-client/base.js +14 -64
  133. package/lib/generated-client/common.d.ts +2 -2
  134. package/lib/generated-client/common.js +28 -184
  135. package/lib/generated-client/configuration.js +8 -12
  136. package/lib/generated-client/index.js +136 -31
  137. package/lib/generated-client/models/access-schedule.d.ts +5 -5
  138. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  139. package/lib/generated-client/models/activity-log-entry.d.ts +10 -10
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/admin-notification-dto.d.ts +4 -4
  142. package/lib/generated-client/models/album-info-remote-search-query.d.ts +4 -4
  143. package/lib/generated-client/models/album-info.d.ts +14 -14
  144. package/lib/generated-client/models/all-theme-media-result.d.ts +3 -3
  145. package/lib/generated-client/models/architecture.d.ts +9 -8
  146. package/lib/generated-client/models/architecture.js +10 -12
  147. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +4 -4
  148. package/lib/generated-client/models/artist-info.d.ts +12 -12
  149. package/lib/generated-client/models/authenticate-user-by-name.d.ts +3 -3
  150. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  151. package/lib/generated-client/models/authentication-info.d.ts +12 -12
  152. package/lib/generated-client/models/authentication-result.d.ts +4 -4
  153. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +13 -13
  154. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  155. package/lib/generated-client/models/base-item-dto.d.ts +151 -151
  156. package/lib/generated-client/models/base-item-kind.d.ts +40 -39
  157. package/lib/generated-client/models/base-item-kind.js +41 -43
  158. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -13
  159. package/lib/generated-client/models/base-item-person.d.ts +6 -6
  160. package/lib/generated-client/models/base-item.d.ts +11 -11
  161. package/lib/generated-client/models/book-info-remote-search-query.d.ts +4 -4
  162. package/lib/generated-client/models/book-info.d.ts +12 -12
  163. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +4 -4
  164. package/lib/generated-client/models/box-set-info.d.ts +11 -11
  165. package/lib/generated-client/models/branding-options.d.ts +3 -3
  166. package/lib/generated-client/models/buffer-request-dto.d.ts +4 -4
  167. package/lib/generated-client/models/channel-features.d.ts +12 -12
  168. package/lib/generated-client/models/channel-item-sort-field.d.ts +10 -9
  169. package/lib/generated-client/models/channel-item-sort-field.js +11 -13
  170. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +4 -4
  171. package/lib/generated-client/models/channel-media-content-type.d.ts +11 -10
  172. package/lib/generated-client/models/channel-media-content-type.js +12 -14
  173. package/lib/generated-client/models/channel-media-type.d.ts +6 -5
  174. package/lib/generated-client/models/channel-media-type.js +7 -9
  175. package/lib/generated-client/models/channel-type.d.ts +5 -4
  176. package/lib/generated-client/models/channel-type.js +6 -8
  177. package/lib/generated-client/models/chapter-info.d.ts +5 -5
  178. package/lib/generated-client/models/client-capabilities-dto.d.ts +10 -10
  179. package/lib/generated-client/models/client-capabilities.d.ts +10 -10
  180. package/lib/generated-client/models/client-log-document-response-dto.d.ts +1 -1
  181. package/lib/generated-client/models/codec-profile.d.ts +5 -5
  182. package/lib/generated-client/models/codec-type.d.ts +6 -5
  183. package/lib/generated-client/models/codec-type.js +7 -9
  184. package/lib/generated-client/models/collection-creation-result.d.ts +1 -1
  185. package/lib/generated-client/models/collection-type-options.d.ts +11 -10
  186. package/lib/generated-client/models/collection-type-options.js +12 -14
  187. package/lib/generated-client/models/config-image-types.d.ts +7 -7
  188. package/lib/generated-client/models/configuration-page-info.d.ts +6 -6
  189. package/lib/generated-client/models/container-profile.d.ts +3 -3
  190. package/lib/generated-client/models/control-response.d.ts +3 -3
  191. package/lib/generated-client/models/country-info.d.ts +4 -4
  192. package/lib/generated-client/models/create-playlist-dto.d.ts +4 -4
  193. package/lib/generated-client/models/create-user-by-name.d.ts +2 -2
  194. package/lib/generated-client/models/culture-dto.d.ts +5 -5
  195. package/lib/generated-client/models/day-of-week.d.ts +10 -9
  196. package/lib/generated-client/models/day-of-week.js +11 -13
  197. package/lib/generated-client/models/day-pattern.d.ts +6 -5
  198. package/lib/generated-client/models/day-pattern.js +7 -9
  199. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +1 -1
  200. package/lib/generated-client/models/device-identification.d.ts +9 -9
  201. package/lib/generated-client/models/device-info-query-result.d.ts +3 -3
  202. package/lib/generated-client/models/device-info.d.ts +10 -10
  203. package/lib/generated-client/models/device-options-dto.d.ts +3 -3
  204. package/lib/generated-client/models/device-options.d.ts +3 -3
  205. package/lib/generated-client/models/device-profile-info.d.ts +3 -3
  206. package/lib/generated-client/models/device-profile-type.d.ts +5 -4
  207. package/lib/generated-client/models/device-profile-type.js +6 -8
  208. package/lib/generated-client/models/device-profile.d.ts +39 -39
  209. package/lib/generated-client/models/direct-play-profile.d.ts +4 -4
  210. package/lib/generated-client/models/display-preferences-dto.d.ts +14 -14
  211. package/lib/generated-client/models/dlna-options.d.ts +11 -11
  212. package/lib/generated-client/models/dlna-profile-type.d.ts +7 -6
  213. package/lib/generated-client/models/dlna-profile-type.js +8 -10
  214. package/lib/generated-client/models/dynamic-day-of-week.d.ts +13 -12
  215. package/lib/generated-client/models/dynamic-day-of-week.js +14 -16
  216. package/lib/generated-client/models/embedded-subtitle-options.d.ts +7 -6
  217. package/lib/generated-client/models/embedded-subtitle-options.js +8 -10
  218. package/lib/generated-client/models/encoding-context.d.ts +5 -4
  219. package/lib/generated-client/models/encoding-context.js +6 -8
  220. package/lib/generated-client/models/encoding-options.d.ts +38 -38
  221. package/lib/generated-client/models/end-point-info.d.ts +2 -2
  222. package/lib/generated-client/models/external-id-info.d.ts +4 -4
  223. package/lib/generated-client/models/external-id-media-type.d.ts +15 -14
  224. package/lib/generated-client/models/external-id-media-type.js +16 -18
  225. package/lib/generated-client/models/external-url.d.ts +2 -2
  226. package/lib/generated-client/models/ffmpeg-location.d.ts +7 -6
  227. package/lib/generated-client/models/ffmpeg-location.js +8 -10
  228. package/lib/generated-client/models/file-system-entry-info.d.ts +3 -3
  229. package/lib/generated-client/models/file-system-entry-type.d.ts +7 -6
  230. package/lib/generated-client/models/file-system-entry-type.js +8 -10
  231. package/lib/generated-client/models/font-file.d.ts +4 -4
  232. package/lib/generated-client/models/forgot-password-action.d.ts +6 -5
  233. package/lib/generated-client/models/forgot-password-action.js +7 -9
  234. package/lib/generated-client/models/forgot-password-dto.d.ts +1 -1
  235. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +1 -1
  236. package/lib/generated-client/models/forgot-password-result.d.ts +3 -3
  237. package/lib/generated-client/models/general-command-type.d.ts +45 -44
  238. package/lib/generated-client/models/general-command-type.js +46 -48
  239. package/lib/generated-client/models/general-command.d.ts +3 -3
  240. package/lib/generated-client/models/get-programs-dto.d.ts +27 -27
  241. package/lib/generated-client/models/group-info-dto.d.ts +5 -5
  242. package/lib/generated-client/models/group-queue-mode.d.ts +5 -4
  243. package/lib/generated-client/models/group-queue-mode.js +6 -8
  244. package/lib/generated-client/models/group-repeat-mode.d.ts +6 -5
  245. package/lib/generated-client/models/group-repeat-mode.js +7 -9
  246. package/lib/generated-client/models/group-shuffle-mode.d.ts +5 -4
  247. package/lib/generated-client/models/group-shuffle-mode.js +6 -8
  248. package/lib/generated-client/models/group-state-type.d.ts +7 -6
  249. package/lib/generated-client/models/group-state-type.js +8 -10
  250. package/lib/generated-client/models/group-update-type.d.ts +14 -13
  251. package/lib/generated-client/models/group-update-type.js +15 -17
  252. package/lib/generated-client/models/guide-info.d.ts +2 -2
  253. package/lib/generated-client/models/hardware-encoding-type.d.ts +9 -8
  254. package/lib/generated-client/models/hardware-encoding-type.js +10 -12
  255. package/lib/generated-client/models/header-match-type.d.ts +6 -5
  256. package/lib/generated-client/models/header-match-type.js +7 -9
  257. package/lib/generated-client/models/http-header-info.d.ts +3 -3
  258. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +1 -1
  259. package/lib/generated-client/models/image-by-name-info.d.ts +5 -5
  260. package/lib/generated-client/models/image-format.d.ts +8 -7
  261. package/lib/generated-client/models/image-format.js +9 -11
  262. package/lib/generated-client/models/image-info.d.ts +8 -8
  263. package/lib/generated-client/models/image-option.d.ts +3 -3
  264. package/lib/generated-client/models/image-orientation.d.ts +11 -10
  265. package/lib/generated-client/models/image-orientation.js +12 -14
  266. package/lib/generated-client/models/image-provider-info.d.ts +2 -2
  267. package/lib/generated-client/models/image-saving-convention.d.ts +5 -4
  268. package/lib/generated-client/models/image-saving-convention.js +6 -8
  269. package/lib/generated-client/models/image-type.d.ts +16 -15
  270. package/lib/generated-client/models/image-type.js +17 -19
  271. package/lib/generated-client/models/index.d.ts +1 -0
  272. package/lib/generated-client/models/index.js +74 -300
  273. package/lib/generated-client/models/installation-info.d.ts +7 -7
  274. package/lib/generated-client/models/iplugin.d.ts +7 -7
  275. package/lib/generated-client/models/iso-type.d.ts +5 -4
  276. package/lib/generated-client/models/iso-type.js +6 -8
  277. package/lib/generated-client/models/item-counts.d.ts +12 -12
  278. package/lib/generated-client/models/item-fields.d.ts +64 -63
  279. package/lib/generated-client/models/item-fields.js +65 -67
  280. package/lib/generated-client/models/item-filter.d.ts +12 -11
  281. package/lib/generated-client/models/item-filter.js +13 -15
  282. package/lib/generated-client/models/join-group-request-dto.d.ts +1 -1
  283. package/lib/generated-client/models/keep-until.d.ts +7 -6
  284. package/lib/generated-client/models/keep-until.js +8 -10
  285. package/lib/generated-client/models/library-option-info-dto.d.ts +2 -2
  286. package/lib/generated-client/models/library-options-result-dto.d.ts +4 -4
  287. package/lib/generated-client/models/library-options.d.ts +27 -27
  288. package/lib/generated-client/models/library-type-options-dto.d.ts +5 -5
  289. package/lib/generated-client/models/library-update-info.d.ts +7 -7
  290. package/lib/generated-client/models/listings-provider-info.d.ts +18 -18
  291. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  292. package/lib/generated-client/models/live-tv-info.d.ts +3 -3
  293. package/lib/generated-client/models/live-tv-options.d.ts +13 -13
  294. package/lib/generated-client/models/live-tv-service-info.d.ts +8 -8
  295. package/lib/generated-client/models/live-tv-service-status.d.ts +5 -4
  296. package/lib/generated-client/models/live-tv-service-status.js +6 -8
  297. package/lib/generated-client/models/localization-option.d.ts +2 -2
  298. package/lib/generated-client/models/location-type.d.ts +7 -6
  299. package/lib/generated-client/models/location-type.js +8 -10
  300. package/lib/generated-client/models/log-file.d.ts +4 -4
  301. package/lib/generated-client/models/log-level.d.ts +10 -9
  302. package/lib/generated-client/models/log-level.js +11 -13
  303. package/lib/generated-client/models/media-attachment.d.ts +7 -7
  304. package/lib/generated-client/models/media-encoder-path-dto.d.ts +2 -2
  305. package/lib/generated-client/models/media-path-dto.d.ts +3 -3
  306. package/lib/generated-client/models/media-path-info.d.ts +2 -2
  307. package/lib/generated-client/models/media-protocol.d.ts +10 -9
  308. package/lib/generated-client/models/media-protocol.js +11 -13
  309. package/lib/generated-client/models/media-source-info.d.ts +42 -42
  310. package/lib/generated-client/models/media-source-type.d.ts +6 -5
  311. package/lib/generated-client/models/media-source-type.js +7 -9
  312. package/lib/generated-client/models/media-stream-type.d.ts +8 -6
  313. package/lib/generated-client/models/media-stream-type.js +9 -10
  314. package/lib/generated-client/models/media-stream.d.ts +58 -58
  315. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  316. package/lib/generated-client/models/media-update-info-path-dto.d.ts +2 -2
  317. package/lib/generated-client/models/media-url.d.ts +2 -2
  318. package/lib/generated-client/models/message-command.d.ts +3 -3
  319. package/lib/generated-client/models/metadata-configuration.d.ts +1 -1
  320. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  321. package/lib/generated-client/models/metadata-field.d.ts +12 -11
  322. package/lib/generated-client/models/metadata-field.js +13 -15
  323. package/lib/generated-client/models/metadata-options.d.ts +7 -7
  324. package/lib/generated-client/models/metadata-refresh-mode.d.ts +7 -6
  325. package/lib/generated-client/models/metadata-refresh-mode.js +8 -10
  326. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +2 -2
  327. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +4 -4
  328. package/lib/generated-client/models/movie-info.d.ts +11 -11
  329. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +4 -4
  330. package/lib/generated-client/models/music-video-info.d.ts +12 -12
  331. package/lib/generated-client/models/name-guid-pair.d.ts +2 -2
  332. package/lib/generated-client/models/name-id-pair.d.ts +2 -2
  333. package/lib/generated-client/models/name-value-pair.d.ts +2 -2
  334. package/lib/generated-client/models/network-configuration.d.ts +34 -34
  335. package/lib/generated-client/models/new-group-request-dto.d.ts +1 -1
  336. package/lib/generated-client/models/next-item-request-dto.d.ts +1 -1
  337. package/lib/generated-client/models/notification-dto.d.ts +8 -8
  338. package/lib/generated-client/models/notification-level.d.ts +6 -5
  339. package/lib/generated-client/models/notification-level.js +7 -9
  340. package/lib/generated-client/models/notification-option.d.ts +6 -6
  341. package/lib/generated-client/models/notification-options.d.ts +1 -1
  342. package/lib/generated-client/models/notification-result-dto.d.ts +2 -2
  343. package/lib/generated-client/models/notification-type-info.d.ts +5 -5
  344. package/lib/generated-client/models/notifications-summary-dto.d.ts +2 -2
  345. package/lib/generated-client/models/object-group-update.d.ts +3 -3
  346. package/lib/generated-client/models/open-live-stream-dto.d.ts +13 -13
  347. package/lib/generated-client/models/package-info.d.ts +8 -8
  348. package/lib/generated-client/models/parental-rating.d.ts +2 -2
  349. package/lib/generated-client/models/path-substitution.d.ts +2 -2
  350. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +4 -4
  351. package/lib/generated-client/models/person-lookup-info.d.ts +11 -11
  352. package/lib/generated-client/models/pin-redeem-result.d.ts +2 -2
  353. package/lib/generated-client/models/ping-request-dto.d.ts +1 -1
  354. package/lib/generated-client/models/play-access.d.ts +5 -4
  355. package/lib/generated-client/models/play-access.js +6 -8
  356. package/lib/generated-client/models/play-command.d.ts +8 -7
  357. package/lib/generated-client/models/play-command.js +9 -11
  358. package/lib/generated-client/models/play-method.d.ts +6 -5
  359. package/lib/generated-client/models/play-method.js +7 -9
  360. package/lib/generated-client/models/play-request-dto.d.ts +3 -3
  361. package/lib/generated-client/models/play-request.d.ts +8 -8
  362. package/lib/generated-client/models/playback-error-code.d.ts +6 -5
  363. package/lib/generated-client/models/playback-error-code.js +7 -9
  364. package/lib/generated-client/models/playback-info-dto.d.ts +15 -15
  365. package/lib/generated-client/models/playback-info-response.d.ts +3 -3
  366. package/lib/generated-client/models/playback-progress-info.d.ts +20 -20
  367. package/lib/generated-client/models/playback-start-info.d.ts +20 -20
  368. package/lib/generated-client/models/playback-stop-info.d.ts +11 -11
  369. package/lib/generated-client/models/player-state-info.d.ts +11 -11
  370. package/lib/generated-client/models/playlist-creation-result.d.ts +1 -1
  371. package/lib/generated-client/models/playstate-command.d.ts +12 -11
  372. package/lib/generated-client/models/playstate-command.js +13 -15
  373. package/lib/generated-client/models/playstate-request.d.ts +3 -3
  374. package/lib/generated-client/models/plugin-info.d.ts +8 -8
  375. package/lib/generated-client/models/plugin-status.d.ts +10 -9
  376. package/lib/generated-client/models/plugin-status.js +11 -13
  377. package/lib/generated-client/models/previous-item-request-dto.d.ts +1 -1
  378. package/lib/generated-client/models/problem-details.d.ts +5 -5
  379. package/lib/generated-client/models/profile-condition-type.d.ts +8 -7
  380. package/lib/generated-client/models/profile-condition-type.js +9 -11
  381. package/lib/generated-client/models/profile-condition-value.d.ts +27 -26
  382. package/lib/generated-client/models/profile-condition-value.js +28 -30
  383. package/lib/generated-client/models/profile-condition.d.ts +4 -4
  384. package/lib/generated-client/models/program-audio.d.ts +9 -8
  385. package/lib/generated-client/models/program-audio.js +10 -12
  386. package/lib/generated-client/models/public-system-info.d.ts +7 -7
  387. package/lib/generated-client/models/query-filters-legacy.d.ts +4 -4
  388. package/lib/generated-client/models/query-filters.d.ts +2 -2
  389. package/lib/generated-client/models/queue-item.d.ts +2 -2
  390. package/lib/generated-client/models/queue-request-dto.d.ts +2 -2
  391. package/lib/generated-client/models/quick-connect-dto.d.ts +1 -1
  392. package/lib/generated-client/models/quick-connect-result.d.ts +8 -8
  393. package/lib/generated-client/models/rating-type.d.ts +5 -4
  394. package/lib/generated-client/models/rating-type.js +6 -8
  395. package/lib/generated-client/models/ready-request-dto.d.ts +4 -4
  396. package/lib/generated-client/models/recommendation-dto.d.ts +4 -4
  397. package/lib/generated-client/models/recommendation-type.d.ts +9 -8
  398. package/lib/generated-client/models/recommendation-type.js +10 -12
  399. package/lib/generated-client/models/recording-status.d.ts +10 -9
  400. package/lib/generated-client/models/recording-status.js +11 -13
  401. package/lib/generated-client/models/remote-image-info.d.ts +10 -10
  402. package/lib/generated-client/models/remote-image-result.d.ts +3 -3
  403. package/lib/generated-client/models/remote-search-result.d.ts +12 -12
  404. package/lib/generated-client/models/remote-subtitle-info.d.ts +11 -11
  405. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +3 -3
  406. package/lib/generated-client/models/repeat-mode.d.ts +6 -5
  407. package/lib/generated-client/models/repeat-mode.js +7 -9
  408. package/lib/generated-client/models/repository-info.d.ts +3 -3
  409. package/lib/generated-client/models/response-profile.d.ts +7 -7
  410. package/lib/generated-client/models/scroll-direction.d.ts +5 -4
  411. package/lib/generated-client/models/scroll-direction.js +6 -8
  412. package/lib/generated-client/models/search-hint-result.d.ts +2 -2
  413. package/lib/generated-client/models/search-hint.d.ts +29 -29
  414. package/lib/generated-client/models/seek-request-dto.d.ts +1 -1
  415. package/lib/generated-client/models/send-command-type.d.ts +7 -6
  416. package/lib/generated-client/models/send-command-type.js +8 -10
  417. package/lib/generated-client/models/send-command.d.ts +6 -6
  418. package/lib/generated-client/models/send-to-user-type.d.ts +6 -5
  419. package/lib/generated-client/models/send-to-user-type.js +7 -9
  420. package/lib/generated-client/models/series-info-remote-search-query.d.ts +4 -4
  421. package/lib/generated-client/models/series-info.d.ts +11 -11
  422. package/lib/generated-client/models/series-status.d.ts +5 -4
  423. package/lib/generated-client/models/series-status.js +6 -8
  424. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  425. package/lib/generated-client/models/series-timer-info-dto.d.ts +35 -35
  426. package/lib/generated-client/models/server-configuration.d.ts +48 -48
  427. package/lib/generated-client/models/server-discovery-info.d.ts +4 -4
  428. package/lib/generated-client/models/session-info.d.ts +29 -29
  429. package/lib/generated-client/models/session-message-type.d.ts +37 -36
  430. package/lib/generated-client/models/session-message-type.js +38 -40
  431. package/lib/generated-client/models/session-user-info.d.ts +2 -2
  432. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +3 -3
  433. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +1 -1
  434. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  435. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  436. package/lib/generated-client/models/song-info.d.ts +14 -14
  437. package/lib/generated-client/models/sort-order.d.ts +5 -4
  438. package/lib/generated-client/models/sort-order.js +6 -8
  439. package/lib/generated-client/models/special-view-option-dto.d.ts +2 -2
  440. package/lib/generated-client/models/startup-configuration-dto.d.ts +3 -3
  441. package/lib/generated-client/models/startup-remote-access-dto.d.ts +2 -2
  442. package/lib/generated-client/models/startup-user-dto.d.ts +2 -2
  443. package/lib/generated-client/models/subtitle-delivery-method.d.ts +8 -7
  444. package/lib/generated-client/models/subtitle-delivery-method.js +9 -11
  445. package/lib/generated-client/models/subtitle-options.d.ts +9 -9
  446. package/lib/generated-client/models/subtitle-playback-mode.d.ts +8 -7
  447. package/lib/generated-client/models/subtitle-playback-mode.js +9 -11
  448. package/lib/generated-client/models/subtitle-profile.d.ts +5 -5
  449. package/lib/generated-client/models/sync-play-user-access-type.d.ts +6 -5
  450. package/lib/generated-client/models/sync-play-user-access-type.js +7 -9
  451. package/lib/generated-client/models/system-info.d.ts +26 -26
  452. package/lib/generated-client/models/task-completion-status.d.ts +7 -6
  453. package/lib/generated-client/models/task-completion-status.js +8 -10
  454. package/lib/generated-client/models/task-info.d.ts +10 -10
  455. package/lib/generated-client/models/task-result.d.ts +8 -8
  456. package/lib/generated-client/models/task-state.d.ts +6 -5
  457. package/lib/generated-client/models/task-state.js +7 -9
  458. package/lib/generated-client/models/task-trigger-info.d.ts +5 -5
  459. package/lib/generated-client/models/theme-media-result.d.ts +4 -4
  460. package/lib/generated-client/models/timer-event-info.d.ts +2 -2
  461. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  462. package/lib/generated-client/models/timer-info-dto.d.ts +28 -28
  463. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +4 -4
  464. package/lib/generated-client/models/trailer-info.d.ts +11 -11
  465. package/lib/generated-client/models/transcode-reason.d.ts +43 -0
  466. package/lib/generated-client/models/transcode-reason.js +46 -0
  467. package/lib/generated-client/models/transcode-seek-info.d.ts +5 -4
  468. package/lib/generated-client/models/transcode-seek-info.js +6 -8
  469. package/lib/generated-client/models/transcoding-info.d.ts +15 -45
  470. package/lib/generated-client/models/transcoding-profile.d.ts +16 -16
  471. package/lib/generated-client/models/transport-stream-timestamp.d.ts +6 -5
  472. package/lib/generated-client/models/transport-stream-timestamp.js +7 -9
  473. package/lib/generated-client/models/tuner-channel-mapping.d.ts +4 -4
  474. package/lib/generated-client/models/tuner-host-info.d.ts +11 -11
  475. package/lib/generated-client/models/type-options.d.ts +6 -6
  476. package/lib/generated-client/models/unrated-item.d.ts +12 -11
  477. package/lib/generated-client/models/unrated-item.js +13 -15
  478. package/lib/generated-client/models/update-library-options-dto.d.ts +2 -2
  479. package/lib/generated-client/models/update-media-path-request-dto.d.ts +2 -2
  480. package/lib/generated-client/models/update-user-easy-password.d.ts +3 -3
  481. package/lib/generated-client/models/update-user-password.d.ts +4 -4
  482. package/lib/generated-client/models/upload-subtitle-dto.d.ts +4 -4
  483. package/lib/generated-client/models/user-configuration.d.ts +15 -15
  484. package/lib/generated-client/models/user-dto.d.ts +14 -14
  485. package/lib/generated-client/models/user-item-data-dto.d.ts +11 -11
  486. package/lib/generated-client/models/user-policy.d.ts +39 -39
  487. package/lib/generated-client/models/utc-time-response.d.ts +2 -2
  488. package/lib/generated-client/models/validate-path-dto.d.ts +3 -3
  489. package/lib/generated-client/models/version-info.d.ts +9 -9
  490. package/lib/generated-client/models/video-type.d.ts +7 -6
  491. package/lib/generated-client/models/video-type.js +8 -10
  492. package/lib/generated-client/models/video3-dformat.d.ts +8 -7
  493. package/lib/generated-client/models/video3-dformat.js +9 -11
  494. package/lib/generated-client/models/virtual-folder-info.d.ts +8 -8
  495. package/lib/generated-client/models/wake-on-lan-info.d.ts +2 -2
  496. package/lib/generated-client/models/xbmc-metadata-options.d.ts +5 -5
  497. package/lib/generated-client/models/xml-attribute.d.ts +2 -2
  498. package/lib/index.js +9 -39
  499. package/lib/jellyfin.d.ts +5 -7
  500. package/lib/jellyfin.js +12 -18
  501. package/lib/models/api/image-request-parameters.d.ts +1 -1
  502. package/lib/models/api/index.js +1 -23
  503. package/lib/models/api/item-sort-by.js +3 -4
  504. package/lib/models/index.js +2 -25
  505. package/lib/models/recommended-server-info.d.ts +2 -2
  506. package/lib/models/recommended-server-info.js +3 -4
  507. package/lib/models/recommended-server-issue.js +31 -77
  508. package/lib/node_modules/tslib/tslib.es6.js +26 -0
  509. package/lib/utils/address-candidates.js +30 -30
  510. package/lib/utils/api/activity-log-api.d.ts +1 -1
  511. package/lib/utils/api/activity-log-api.js +5 -6
  512. package/lib/utils/api/api-key-api.d.ts +1 -1
  513. package/lib/utils/api/api-key-api.js +5 -6
  514. package/lib/utils/api/artists-api.d.ts +1 -1
  515. package/lib/utils/api/artists-api.js +5 -6
  516. package/lib/utils/api/audio-api.d.ts +1 -1
  517. package/lib/utils/api/audio-api.js +5 -6
  518. package/lib/utils/api/branding-api.d.ts +1 -1
  519. package/lib/utils/api/branding-api.js +5 -6
  520. package/lib/utils/api/channels-api.d.ts +1 -1
  521. package/lib/utils/api/channels-api.js +5 -6
  522. package/lib/utils/api/client-log-api.d.ts +1 -1
  523. package/lib/utils/api/client-log-api.js +5 -6
  524. package/lib/utils/api/collection-api.d.ts +1 -1
  525. package/lib/utils/api/collection-api.js +5 -6
  526. package/lib/utils/api/configuration-api.d.ts +1 -1
  527. package/lib/utils/api/configuration-api.js +5 -6
  528. package/lib/utils/api/dashboard-api.d.ts +1 -1
  529. package/lib/utils/api/dashboard-api.js +5 -6
  530. package/lib/utils/api/devices-api.d.ts +1 -1
  531. package/lib/utils/api/devices-api.js +5 -6
  532. package/lib/utils/api/display-preferences-api.d.ts +1 -1
  533. package/lib/utils/api/display-preferences-api.js +5 -6
  534. package/lib/utils/api/dlna-api.d.ts +1 -1
  535. package/lib/utils/api/dlna-api.js +5 -6
  536. package/lib/utils/api/dlna-server-api.d.ts +1 -1
  537. package/lib/utils/api/dlna-server-api.js +5 -6
  538. package/lib/utils/api/dynamic-hls-api.d.ts +1 -1
  539. package/lib/utils/api/dynamic-hls-api.js +5 -6
  540. package/lib/utils/api/environment-api.d.ts +1 -1
  541. package/lib/utils/api/environment-api.js +5 -6
  542. package/lib/utils/api/filter-api.d.ts +1 -1
  543. package/lib/utils/api/filter-api.js +5 -6
  544. package/lib/utils/api/genres-api.d.ts +1 -1
  545. package/lib/utils/api/genres-api.js +5 -6
  546. package/lib/utils/api/hls-segment-api.d.ts +1 -1
  547. package/lib/utils/api/hls-segment-api.js +5 -6
  548. package/lib/utils/api/image-api.d.ts +1 -1
  549. package/lib/utils/api/image-api.js +5 -6
  550. package/lib/utils/api/image-by-name-api.d.ts +1 -1
  551. package/lib/utils/api/image-by-name-api.js +5 -6
  552. package/lib/utils/api/index.d.ts +66 -0
  553. package/lib/utils/api/index.js +61 -0
  554. package/lib/utils/api/instant-mix-api.d.ts +1 -1
  555. package/lib/utils/api/instant-mix-api.js +5 -6
  556. package/lib/utils/api/item-lookup-api.d.ts +1 -1
  557. package/lib/utils/api/item-lookup-api.js +5 -6
  558. package/lib/utils/api/item-refresh-api.d.ts +1 -1
  559. package/lib/utils/api/item-refresh-api.js +5 -6
  560. package/lib/utils/api/item-update-api.d.ts +1 -1
  561. package/lib/utils/api/item-update-api.js +5 -6
  562. package/lib/utils/api/items-api.d.ts +1 -1
  563. package/lib/utils/api/items-api.js +5 -6
  564. package/lib/utils/api/library-api.d.ts +1 -1
  565. package/lib/utils/api/library-api.js +5 -6
  566. package/lib/utils/api/library-structure-api.d.ts +1 -1
  567. package/lib/utils/api/library-structure-api.js +5 -6
  568. package/lib/utils/api/live-tv-api.d.ts +1 -1
  569. package/lib/utils/api/live-tv-api.js +5 -6
  570. package/lib/utils/api/localization-api.d.ts +1 -1
  571. package/lib/utils/api/localization-api.js +5 -6
  572. package/lib/utils/api/media-info-api.d.ts +1 -1
  573. package/lib/utils/api/media-info-api.js +5 -6
  574. package/lib/utils/api/movies-api.d.ts +1 -1
  575. package/lib/utils/api/movies-api.js +5 -6
  576. package/lib/utils/api/music-genres-api.d.ts +1 -1
  577. package/lib/utils/api/music-genres-api.js +5 -6
  578. package/lib/utils/api/notifications-api.d.ts +1 -1
  579. package/lib/utils/api/notifications-api.js +5 -6
  580. package/lib/utils/api/package-api.d.ts +1 -1
  581. package/lib/utils/api/package-api.js +5 -6
  582. package/lib/utils/api/persons-api.d.ts +1 -1
  583. package/lib/utils/api/persons-api.js +5 -6
  584. package/lib/utils/api/playlists-api.d.ts +1 -1
  585. package/lib/utils/api/playlists-api.js +5 -6
  586. package/lib/utils/api/playstate-api.d.ts +1 -1
  587. package/lib/utils/api/playstate-api.js +5 -6
  588. package/lib/utils/api/plugins-api.d.ts +1 -1
  589. package/lib/utils/api/plugins-api.js +5 -6
  590. package/lib/utils/api/quick-connect-api.d.ts +1 -1
  591. package/lib/utils/api/quick-connect-api.js +5 -6
  592. package/lib/utils/api/remote-image-api.d.ts +1 -1
  593. package/lib/utils/api/remote-image-api.js +5 -6
  594. package/lib/utils/api/scheduled-tasks-api.d.ts +1 -1
  595. package/lib/utils/api/scheduled-tasks-api.js +5 -6
  596. package/lib/utils/api/search-api.d.ts +1 -1
  597. package/lib/utils/api/search-api.js +5 -6
  598. package/lib/utils/api/session-api.d.ts +1 -1
  599. package/lib/utils/api/session-api.js +5 -6
  600. package/lib/utils/api/startup-api.d.ts +1 -1
  601. package/lib/utils/api/startup-api.js +5 -6
  602. package/lib/utils/api/studios-api.d.ts +1 -1
  603. package/lib/utils/api/studios-api.js +5 -6
  604. package/lib/utils/api/subtitle-api.d.ts +1 -1
  605. package/lib/utils/api/subtitle-api.js +5 -6
  606. package/lib/utils/api/suggestions-api.d.ts +1 -1
  607. package/lib/utils/api/suggestions-api.js +5 -6
  608. package/lib/utils/api/sync-play-api.d.ts +1 -1
  609. package/lib/utils/api/sync-play-api.js +5 -6
  610. package/lib/utils/api/system-api.d.ts +1 -1
  611. package/lib/utils/api/system-api.js +5 -6
  612. package/lib/utils/api/time-sync-api.d.ts +1 -1
  613. package/lib/utils/api/time-sync-api.js +5 -6
  614. package/lib/utils/api/tmdb-api.d.ts +1 -1
  615. package/lib/utils/api/tmdb-api.js +5 -6
  616. package/lib/utils/api/trailers-api.d.ts +1 -1
  617. package/lib/utils/api/trailers-api.js +5 -6
  618. package/lib/utils/api/tv-shows-api.d.ts +1 -1
  619. package/lib/utils/api/tv-shows-api.js +5 -6
  620. package/lib/utils/api/universal-audio-api.d.ts +1 -1
  621. package/lib/utils/api/universal-audio-api.js +5 -6
  622. package/lib/utils/api/user-api.d.ts +1 -1
  623. package/lib/utils/api/user-api.js +5 -6
  624. package/lib/utils/api/user-library-api.d.ts +1 -1
  625. package/lib/utils/api/user-library-api.js +5 -6
  626. package/lib/utils/api/user-views-api.d.ts +1 -1
  627. package/lib/utils/api/user-views-api.js +5 -6
  628. package/lib/utils/api/video-attachments-api.d.ts +1 -1
  629. package/lib/utils/api/video-attachments-api.js +5 -6
  630. package/lib/utils/api/videos-api.d.ts +1 -1
  631. package/lib/utils/api/videos-api.js +5 -6
  632. package/lib/utils/api/years-api.d.ts +1 -1
  633. package/lib/utils/api/years-api.js +5 -6
  634. package/lib/utils/authentication.d.ts +1 -1
  635. package/lib/utils/authentication.js +8 -11
  636. package/lib/utils/browser-profiles.d.ts +1 -1
  637. package/lib/utils/browser-profiles.js +11 -12
  638. package/lib/utils/index.js +6 -20
  639. package/lib/utils/url/constants.d.ts +13 -0
  640. package/lib/utils/url/constants.js +15 -0
  641. package/lib/utils/{url.d.ts → url/index.d.ts} +2 -8
  642. package/lib/utils/url/index.js +41 -0
  643. package/lib/utils/{normalize-url.js → url/normalize-url.js} +16 -16
  644. package/lib/{models/api/image-request-parameters.js → versions.d.ts} +4 -2
  645. package/lib/{models/client-info.js → versions.js} +6 -2
  646. package/package.json +21 -17
  647. package/.gitattributes +0 -5
  648. package/lib/generated-client/api.js +0 -89
  649. package/lib/generated-client/models/access-schedule.js +0 -14
  650. package/lib/generated-client/models/activity-log-entry-query-result.js +0 -14
  651. package/lib/generated-client/models/activity-log-entry.js +0 -14
  652. package/lib/generated-client/models/add-virtual-folder-dto.js +0 -14
  653. package/lib/generated-client/models/admin-notification-dto.js +0 -14
  654. package/lib/generated-client/models/album-info-remote-search-query.js +0 -14
  655. package/lib/generated-client/models/album-info.js +0 -14
  656. package/lib/generated-client/models/all-theme-media-result.js +0 -14
  657. package/lib/generated-client/models/artist-info-remote-search-query.js +0 -14
  658. package/lib/generated-client/models/artist-info.js +0 -14
  659. package/lib/generated-client/models/authenticate-user-by-name.js +0 -14
  660. package/lib/generated-client/models/authentication-info-query-result.js +0 -14
  661. package/lib/generated-client/models/authentication-info.js +0 -14
  662. package/lib/generated-client/models/authentication-result.js +0 -14
  663. package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +0 -14
  664. package/lib/generated-client/models/base-item-dto-query-result.js +0 -14
  665. package/lib/generated-client/models/base-item-dto.js +0 -14
  666. package/lib/generated-client/models/base-item-person-image-blur-hashes.js +0 -14
  667. package/lib/generated-client/models/base-item-person.js +0 -14
  668. package/lib/generated-client/models/base-item.js +0 -14
  669. package/lib/generated-client/models/book-info-remote-search-query.js +0 -14
  670. package/lib/generated-client/models/book-info.js +0 -14
  671. package/lib/generated-client/models/box-set-info-remote-search-query.js +0 -14
  672. package/lib/generated-client/models/box-set-info.js +0 -14
  673. package/lib/generated-client/models/branding-options.js +0 -14
  674. package/lib/generated-client/models/buffer-request-dto.js +0 -14
  675. package/lib/generated-client/models/channel-features.js +0 -14
  676. package/lib/generated-client/models/channel-mapping-options-dto.js +0 -14
  677. package/lib/generated-client/models/chapter-info.js +0 -14
  678. package/lib/generated-client/models/client-capabilities-dto.js +0 -14
  679. package/lib/generated-client/models/client-capabilities.js +0 -14
  680. package/lib/generated-client/models/client-log-document-response-dto.js +0 -14
  681. package/lib/generated-client/models/codec-profile.js +0 -14
  682. package/lib/generated-client/models/collection-creation-result.js +0 -14
  683. package/lib/generated-client/models/config-image-types.js +0 -14
  684. package/lib/generated-client/models/configuration-page-info.js +0 -14
  685. package/lib/generated-client/models/container-profile.js +0 -14
  686. package/lib/generated-client/models/control-response.js +0 -14
  687. package/lib/generated-client/models/country-info.js +0 -14
  688. package/lib/generated-client/models/create-playlist-dto.js +0 -14
  689. package/lib/generated-client/models/create-user-by-name.js +0 -14
  690. package/lib/generated-client/models/culture-dto.js +0 -14
  691. package/lib/generated-client/models/default-directory-browser-info-dto.js +0 -14
  692. package/lib/generated-client/models/device-identification.js +0 -14
  693. package/lib/generated-client/models/device-info-query-result.js +0 -14
  694. package/lib/generated-client/models/device-info.js +0 -14
  695. package/lib/generated-client/models/device-options-dto.js +0 -14
  696. package/lib/generated-client/models/device-options.js +0 -14
  697. package/lib/generated-client/models/device-profile-info.js +0 -14
  698. package/lib/generated-client/models/device-profile.js +0 -14
  699. package/lib/generated-client/models/direct-play-profile.js +0 -14
  700. package/lib/generated-client/models/display-preferences-dto.js +0 -14
  701. package/lib/generated-client/models/dlna-options.js +0 -14
  702. package/lib/generated-client/models/encoding-options.js +0 -14
  703. package/lib/generated-client/models/end-point-info.js +0 -14
  704. package/lib/generated-client/models/external-id-info.js +0 -14
  705. package/lib/generated-client/models/external-url.js +0 -14
  706. package/lib/generated-client/models/file-system-entry-info.js +0 -14
  707. package/lib/generated-client/models/font-file.js +0 -14
  708. package/lib/generated-client/models/forgot-password-dto.js +0 -14
  709. package/lib/generated-client/models/forgot-password-pin-dto.js +0 -14
  710. package/lib/generated-client/models/forgot-password-result.js +0 -14
  711. package/lib/generated-client/models/general-command.js +0 -14
  712. package/lib/generated-client/models/get-programs-dto.js +0 -14
  713. package/lib/generated-client/models/group-info-dto.js +0 -14
  714. package/lib/generated-client/models/guide-info.js +0 -14
  715. package/lib/generated-client/models/http-header-info.js +0 -14
  716. package/lib/generated-client/models/ignore-wait-request-dto.js +0 -14
  717. package/lib/generated-client/models/image-by-name-info.js +0 -14
  718. package/lib/generated-client/models/image-info.js +0 -14
  719. package/lib/generated-client/models/image-option.js +0 -14
  720. package/lib/generated-client/models/image-provider-info.js +0 -14
  721. package/lib/generated-client/models/installation-info.js +0 -14
  722. package/lib/generated-client/models/iplugin.js +0 -14
  723. package/lib/generated-client/models/item-counts.js +0 -14
  724. package/lib/generated-client/models/join-group-request-dto.js +0 -14
  725. package/lib/generated-client/models/library-option-info-dto.js +0 -14
  726. package/lib/generated-client/models/library-options-result-dto.js +0 -14
  727. package/lib/generated-client/models/library-options.js +0 -14
  728. package/lib/generated-client/models/library-type-options-dto.js +0 -14
  729. package/lib/generated-client/models/library-update-info.js +0 -14
  730. package/lib/generated-client/models/listings-provider-info.js +0 -14
  731. package/lib/generated-client/models/live-stream-response.js +0 -14
  732. package/lib/generated-client/models/live-tv-info.js +0 -14
  733. package/lib/generated-client/models/live-tv-options.js +0 -14
  734. package/lib/generated-client/models/live-tv-service-info.js +0 -14
  735. package/lib/generated-client/models/localization-option.js +0 -14
  736. package/lib/generated-client/models/log-file.js +0 -14
  737. package/lib/generated-client/models/media-attachment.js +0 -14
  738. package/lib/generated-client/models/media-encoder-path-dto.js +0 -14
  739. package/lib/generated-client/models/media-path-dto.js +0 -14
  740. package/lib/generated-client/models/media-path-info.js +0 -14
  741. package/lib/generated-client/models/media-source-info.js +0 -14
  742. package/lib/generated-client/models/media-stream.js +0 -14
  743. package/lib/generated-client/models/media-update-info-dto.js +0 -14
  744. package/lib/generated-client/models/media-update-info-path-dto.js +0 -14
  745. package/lib/generated-client/models/media-url.js +0 -14
  746. package/lib/generated-client/models/message-command.js +0 -14
  747. package/lib/generated-client/models/metadata-configuration.js +0 -14
  748. package/lib/generated-client/models/metadata-editor-info.js +0 -14
  749. package/lib/generated-client/models/metadata-options.js +0 -14
  750. package/lib/generated-client/models/move-playlist-item-request-dto.js +0 -14
  751. package/lib/generated-client/models/movie-info-remote-search-query.js +0 -14
  752. package/lib/generated-client/models/movie-info.js +0 -14
  753. package/lib/generated-client/models/music-video-info-remote-search-query.js +0 -14
  754. package/lib/generated-client/models/music-video-info.js +0 -14
  755. package/lib/generated-client/models/name-guid-pair.js +0 -14
  756. package/lib/generated-client/models/name-id-pair.js +0 -14
  757. package/lib/generated-client/models/name-value-pair.js +0 -14
  758. package/lib/generated-client/models/network-configuration.js +0 -14
  759. package/lib/generated-client/models/new-group-request-dto.js +0 -14
  760. package/lib/generated-client/models/next-item-request-dto.js +0 -14
  761. package/lib/generated-client/models/notification-dto.js +0 -14
  762. package/lib/generated-client/models/notification-option.js +0 -14
  763. package/lib/generated-client/models/notification-options.js +0 -14
  764. package/lib/generated-client/models/notification-result-dto.js +0 -14
  765. package/lib/generated-client/models/notification-type-info.js +0 -14
  766. package/lib/generated-client/models/notifications-summary-dto.js +0 -14
  767. package/lib/generated-client/models/object-group-update.js +0 -14
  768. package/lib/generated-client/models/open-live-stream-dto.js +0 -14
  769. package/lib/generated-client/models/package-info.js +0 -14
  770. package/lib/generated-client/models/parental-rating.js +0 -14
  771. package/lib/generated-client/models/path-substitution.js +0 -14
  772. package/lib/generated-client/models/person-lookup-info-remote-search-query.js +0 -14
  773. package/lib/generated-client/models/person-lookup-info.js +0 -14
  774. package/lib/generated-client/models/pin-redeem-result.js +0 -14
  775. package/lib/generated-client/models/ping-request-dto.js +0 -14
  776. package/lib/generated-client/models/play-request-dto.js +0 -14
  777. package/lib/generated-client/models/play-request.js +0 -14
  778. package/lib/generated-client/models/playback-info-dto.js +0 -14
  779. package/lib/generated-client/models/playback-info-response.js +0 -14
  780. package/lib/generated-client/models/playback-progress-info.js +0 -14
  781. package/lib/generated-client/models/playback-start-info.js +0 -14
  782. package/lib/generated-client/models/playback-stop-info.js +0 -14
  783. package/lib/generated-client/models/player-state-info.js +0 -14
  784. package/lib/generated-client/models/playlist-creation-result.js +0 -14
  785. package/lib/generated-client/models/playstate-request.js +0 -14
  786. package/lib/generated-client/models/plugin-info.js +0 -14
  787. package/lib/generated-client/models/previous-item-request-dto.js +0 -14
  788. package/lib/generated-client/models/problem-details.js +0 -14
  789. package/lib/generated-client/models/profile-condition.js +0 -14
  790. package/lib/generated-client/models/public-system-info.js +0 -14
  791. package/lib/generated-client/models/query-filters-legacy.js +0 -14
  792. package/lib/generated-client/models/query-filters.js +0 -14
  793. package/lib/generated-client/models/queue-item.js +0 -14
  794. package/lib/generated-client/models/queue-request-dto.js +0 -14
  795. package/lib/generated-client/models/quick-connect-dto.js +0 -14
  796. package/lib/generated-client/models/quick-connect-result.js +0 -14
  797. package/lib/generated-client/models/ready-request-dto.js +0 -14
  798. package/lib/generated-client/models/recommendation-dto.js +0 -14
  799. package/lib/generated-client/models/remote-image-info.js +0 -14
  800. package/lib/generated-client/models/remote-image-result.js +0 -14
  801. package/lib/generated-client/models/remote-search-result.js +0 -14
  802. package/lib/generated-client/models/remote-subtitle-info.js +0 -14
  803. package/lib/generated-client/models/remove-from-playlist-request-dto.js +0 -14
  804. package/lib/generated-client/models/repository-info.js +0 -14
  805. package/lib/generated-client/models/response-profile.js +0 -14
  806. package/lib/generated-client/models/search-hint-result.js +0 -14
  807. package/lib/generated-client/models/search-hint.js +0 -14
  808. package/lib/generated-client/models/seek-request-dto.js +0 -14
  809. package/lib/generated-client/models/send-command.js +0 -14
  810. package/lib/generated-client/models/series-info-remote-search-query.js +0 -14
  811. package/lib/generated-client/models/series-info.js +0 -14
  812. package/lib/generated-client/models/series-timer-info-dto-query-result.js +0 -14
  813. package/lib/generated-client/models/series-timer-info-dto.js +0 -14
  814. package/lib/generated-client/models/server-configuration.js +0 -14
  815. package/lib/generated-client/models/server-discovery-info.js +0 -14
  816. package/lib/generated-client/models/session-info.js +0 -14
  817. package/lib/generated-client/models/session-user-info.js +0 -14
  818. package/lib/generated-client/models/set-channel-mapping-dto.js +0 -14
  819. package/lib/generated-client/models/set-playlist-item-request-dto.js +0 -14
  820. package/lib/generated-client/models/set-repeat-mode-request-dto.js +0 -14
  821. package/lib/generated-client/models/set-shuffle-mode-request-dto.js +0 -14
  822. package/lib/generated-client/models/song-info.js +0 -14
  823. package/lib/generated-client/models/special-view-option-dto.js +0 -14
  824. package/lib/generated-client/models/startup-configuration-dto.js +0 -14
  825. package/lib/generated-client/models/startup-remote-access-dto.js +0 -14
  826. package/lib/generated-client/models/startup-user-dto.js +0 -14
  827. package/lib/generated-client/models/subtitle-options.js +0 -14
  828. package/lib/generated-client/models/subtitle-profile.js +0 -14
  829. package/lib/generated-client/models/system-info.js +0 -14
  830. package/lib/generated-client/models/task-info.js +0 -14
  831. package/lib/generated-client/models/task-result.js +0 -14
  832. package/lib/generated-client/models/task-trigger-info.js +0 -14
  833. package/lib/generated-client/models/theme-media-result.js +0 -14
  834. package/lib/generated-client/models/timer-event-info.js +0 -14
  835. package/lib/generated-client/models/timer-info-dto-query-result.js +0 -14
  836. package/lib/generated-client/models/timer-info-dto.js +0 -14
  837. package/lib/generated-client/models/trailer-info-remote-search-query.js +0 -14
  838. package/lib/generated-client/models/trailer-info.js +0 -14
  839. package/lib/generated-client/models/transcoding-info.js +0 -47
  840. package/lib/generated-client/models/transcoding-profile.js +0 -14
  841. package/lib/generated-client/models/tuner-channel-mapping.js +0 -14
  842. package/lib/generated-client/models/tuner-host-info.js +0 -14
  843. package/lib/generated-client/models/type-options.js +0 -14
  844. package/lib/generated-client/models/update-library-options-dto.js +0 -14
  845. package/lib/generated-client/models/update-media-path-request-dto.js +0 -14
  846. package/lib/generated-client/models/update-user-easy-password.js +0 -14
  847. package/lib/generated-client/models/update-user-password.js +0 -14
  848. package/lib/generated-client/models/upload-subtitle-dto.js +0 -14
  849. package/lib/generated-client/models/user-configuration.js +0 -14
  850. package/lib/generated-client/models/user-dto.js +0 -14
  851. package/lib/generated-client/models/user-item-data-dto.js +0 -14
  852. package/lib/generated-client/models/user-policy.js +0 -14
  853. package/lib/generated-client/models/utc-time-response.js +0 -14
  854. package/lib/generated-client/models/validate-path-dto.js +0 -14
  855. package/lib/generated-client/models/version-info.js +0 -14
  856. package/lib/generated-client/models/virtual-folder-info.js +0 -14
  857. package/lib/generated-client/models/wake-on-lan-info.js +0 -14
  858. package/lib/generated-client/models/xbmc-metadata-options.js +0 -14
  859. package/lib/generated-client/models/xml-attribute.js +0 -14
  860. package/lib/models/device-info.js +0 -7
  861. package/lib/utils/url.js +0 -54
  862. package/openapi-templates/licenseInfo.mustache +0 -10
  863. package/tsconfig.json +0 -25
  864. /package/lib/utils/{normalize-url.d.ts → url/normalize-url.d.ts} +0 -0
@@ -1,95 +1,14 @@
1
- "use strict";
1
+ import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
+ import globalAxios from 'axios';
3
+ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
+ import { BaseAPI, BASE_PATH } from '../base.js';
5
+
2
6
  /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6
- * Do not edit the class manually.
7
- *
8
- * Jellyfin API
9
- *
10
- * This Source Code Form is subject to the terms of the Mozilla Public
11
- * License, v. 2.0. If a copy of the MPL was not distributed with this
12
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13
- */
14
- var __extends = (this && this.__extends) || (function () {
15
- var extendStatics = function (d, b) {
16
- extendStatics = Object.setPrototypeOf ||
17
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
- return extendStatics(d, b);
20
- };
21
- return function (d, b) {
22
- if (typeof b !== "function" && b !== null)
23
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
- extendStatics(d, b);
25
- function __() { this.constructor = d; }
26
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
- };
28
- })();
29
- var __assign = (this && this.__assign) || function () {
30
- __assign = Object.assign || function(t) {
31
- for (var s, i = 1, n = arguments.length; i < n; i++) {
32
- s = arguments[i];
33
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
- t[p] = s[p];
35
- }
36
- return t;
37
- };
38
- return __assign.apply(this, arguments);
39
- };
40
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
- return new (P || (P = Promise))(function (resolve, reject) {
43
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
- step((generator = generator.apply(thisArg, _arguments || [])).next());
47
- });
48
- };
49
- var __generator = (this && this.__generator) || function (thisArg, body) {
50
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
51
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
52
- function verb(n) { return function (v) { return step([n, v]); }; }
53
- function step(op) {
54
- if (f) throw new TypeError("Generator is already executing.");
55
- while (_) try {
56
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
57
- if (y = 0, t) op = [op[0] & 2, t.value];
58
- switch (op[0]) {
59
- case 0: case 1: t = op; break;
60
- case 4: _.label++; return { value: op[1], done: false };
61
- case 5: _.label++; y = op[1]; op = [0]; continue;
62
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
63
- default:
64
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
65
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
66
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
67
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
68
- if (t[2]) _.ops.pop();
69
- _.trys.pop(); continue;
70
- }
71
- op = body.call(thisArg, _);
72
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
73
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
74
- }
75
- };
76
- var __importDefault = (this && this.__importDefault) || function (mod) {
77
- return (mod && mod.__esModule) ? mod : { "default": mod };
78
- };
79
- Object.defineProperty(exports, "__esModule", { value: true });
80
- exports.DlnaServerApi = exports.DlnaServerApiFactory = exports.DlnaServerApiFp = exports.DlnaServerApiAxiosParamCreator = void 0;
81
- var axios_1 = __importDefault(require("axios"));
82
- // Some imports not used depending on template conditions
83
- // @ts-ignore
84
- var common_1 = require("../common");
85
- // @ts-ignore
86
- var base_1 = require("../base");
87
7
  /**
88
8
  * DlnaServerApi - axios parameter creator
89
9
  * @export
90
10
  */
91
- var DlnaServerApiAxiosParamCreator = function (configuration) {
92
- var _this = this;
11
+ const DlnaServerApiAxiosParamCreator = function (configuration) {
93
12
  return {
94
13
  /**
95
14
  *
@@ -98,40 +17,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
98
17
  * @param {*} [options] Override http request option.
99
18
  * @throws {RequiredError}
100
19
  */
101
- getConnectionManager: function (serverId, options) {
102
- if (options === void 0) { options = {}; }
103
- return __awaiter(_this, void 0, void 0, function () {
104
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
105
- return __generator(this, function (_a) {
106
- switch (_a.label) {
107
- case 0:
108
- // verify required parameter 'serverId' is not null or undefined
109
- (0, common_1.assertParamExists)('getConnectionManager', 'serverId', serverId);
110
- localVarPath = "/Dlna/{serverId}/ConnectionManager"
111
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
112
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
- if (configuration) {
114
- baseOptions = configuration.baseOptions;
115
- }
116
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
117
- localVarHeaderParameter = {};
118
- localVarQueryParameter = {};
119
- // authentication CustomAuthentication required
120
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
121
- case 1:
122
- // authentication CustomAuthentication required
123
- _a.sent();
124
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
125
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
126
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
127
- return [2 /*return*/, {
128
- url: (0, common_1.toPathString)(localVarUrlObj),
129
- options: localVarRequestOptions,
130
- }];
131
- }
132
- });
133
- });
134
- },
20
+ getConnectionManager: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
21
+ // verify required parameter 'serverId' is not null or undefined
22
+ assertParamExists('getConnectionManager', 'serverId', serverId);
23
+ const localVarPath = `/Dlna/{serverId}/ConnectionManager`
24
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
25
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27
+ let baseOptions;
28
+ if (configuration) {
29
+ baseOptions = configuration.baseOptions;
30
+ }
31
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
32
+ const localVarHeaderParameter = {};
33
+ const localVarQueryParameter = {};
34
+ // authentication CustomAuthentication required
35
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
36
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
39
+ return {
40
+ url: toPathString(localVarUrlObj),
41
+ options: localVarRequestOptions,
42
+ };
43
+ }),
135
44
  /**
136
45
  *
137
46
  * @summary Gets Dlna media receiver registrar xml.
@@ -139,40 +48,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
139
48
  * @param {*} [options] Override http request option.
140
49
  * @throws {RequiredError}
141
50
  */
142
- getConnectionManager2: function (serverId, options) {
143
- if (options === void 0) { options = {}; }
144
- return __awaiter(_this, void 0, void 0, function () {
145
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
146
- return __generator(this, function (_a) {
147
- switch (_a.label) {
148
- case 0:
149
- // verify required parameter 'serverId' is not null or undefined
150
- (0, common_1.assertParamExists)('getConnectionManager2', 'serverId', serverId);
151
- localVarPath = "/Dlna/{serverId}/ConnectionManager/ConnectionManager"
152
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
153
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
154
- if (configuration) {
155
- baseOptions = configuration.baseOptions;
156
- }
157
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
158
- localVarHeaderParameter = {};
159
- localVarQueryParameter = {};
160
- // authentication CustomAuthentication required
161
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
162
- case 1:
163
- // authentication CustomAuthentication required
164
- _a.sent();
165
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
166
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
168
- return [2 /*return*/, {
169
- url: (0, common_1.toPathString)(localVarUrlObj),
170
- options: localVarRequestOptions,
171
- }];
172
- }
173
- });
174
- });
175
- },
51
+ getConnectionManager2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
52
+ // verify required parameter 'serverId' is not null or undefined
53
+ assertParamExists('getConnectionManager2', 'serverId', serverId);
54
+ const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager`
55
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
56
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58
+ let baseOptions;
59
+ if (configuration) {
60
+ baseOptions = configuration.baseOptions;
61
+ }
62
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
63
+ const localVarHeaderParameter = {};
64
+ const localVarQueryParameter = {};
65
+ // authentication CustomAuthentication required
66
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
67
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70
+ return {
71
+ url: toPathString(localVarUrlObj),
72
+ options: localVarRequestOptions,
73
+ };
74
+ }),
176
75
  /**
177
76
  *
178
77
  * @summary Gets Dlna media receiver registrar xml.
@@ -180,40 +79,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
180
79
  * @param {*} [options] Override http request option.
181
80
  * @throws {RequiredError}
182
81
  */
183
- getConnectionManager3: function (serverId, options) {
184
- if (options === void 0) { options = {}; }
185
- return __awaiter(_this, void 0, void 0, function () {
186
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
187
- return __generator(this, function (_a) {
188
- switch (_a.label) {
189
- case 0:
190
- // verify required parameter 'serverId' is not null or undefined
191
- (0, common_1.assertParamExists)('getConnectionManager3', 'serverId', serverId);
192
- localVarPath = "/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml"
193
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
194
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
195
- if (configuration) {
196
- baseOptions = configuration.baseOptions;
197
- }
198
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
199
- localVarHeaderParameter = {};
200
- localVarQueryParameter = {};
201
- // authentication CustomAuthentication required
202
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
203
- case 1:
204
- // authentication CustomAuthentication required
205
- _a.sent();
206
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
207
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
208
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
209
- return [2 /*return*/, {
210
- url: (0, common_1.toPathString)(localVarUrlObj),
211
- options: localVarRequestOptions,
212
- }];
213
- }
214
- });
215
- });
216
- },
82
+ getConnectionManager3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
83
+ // verify required parameter 'serverId' is not null or undefined
84
+ assertParamExists('getConnectionManager3', 'serverId', serverId);
85
+ const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml`
86
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
87
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
88
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
89
+ let baseOptions;
90
+ if (configuration) {
91
+ baseOptions = configuration.baseOptions;
92
+ }
93
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
94
+ const localVarHeaderParameter = {};
95
+ const localVarQueryParameter = {};
96
+ // authentication CustomAuthentication required
97
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
98
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
101
+ return {
102
+ url: toPathString(localVarUrlObj),
103
+ options: localVarRequestOptions,
104
+ };
105
+ }),
217
106
  /**
218
107
  *
219
108
  * @summary Gets Dlna content directory xml.
@@ -221,40 +110,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
221
110
  * @param {*} [options] Override http request option.
222
111
  * @throws {RequiredError}
223
112
  */
224
- getContentDirectory: function (serverId, options) {
225
- if (options === void 0) { options = {}; }
226
- return __awaiter(_this, void 0, void 0, function () {
227
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
228
- return __generator(this, function (_a) {
229
- switch (_a.label) {
230
- case 0:
231
- // verify required parameter 'serverId' is not null or undefined
232
- (0, common_1.assertParamExists)('getContentDirectory', 'serverId', serverId);
233
- localVarPath = "/Dlna/{serverId}/ContentDirectory"
234
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
235
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
236
- if (configuration) {
237
- baseOptions = configuration.baseOptions;
238
- }
239
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
240
- localVarHeaderParameter = {};
241
- localVarQueryParameter = {};
242
- // authentication CustomAuthentication required
243
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
244
- case 1:
245
- // authentication CustomAuthentication required
246
- _a.sent();
247
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
248
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
249
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
250
- return [2 /*return*/, {
251
- url: (0, common_1.toPathString)(localVarUrlObj),
252
- options: localVarRequestOptions,
253
- }];
254
- }
255
- });
256
- });
257
- },
113
+ getContentDirectory: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
114
+ // verify required parameter 'serverId' is not null or undefined
115
+ assertParamExists('getContentDirectory', 'serverId', serverId);
116
+ const localVarPath = `/Dlna/{serverId}/ContentDirectory`
117
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
118
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
119
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120
+ let baseOptions;
121
+ if (configuration) {
122
+ baseOptions = configuration.baseOptions;
123
+ }
124
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
125
+ const localVarHeaderParameter = {};
126
+ const localVarQueryParameter = {};
127
+ // authentication CustomAuthentication required
128
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
129
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
130
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
131
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
258
137
  /**
259
138
  *
260
139
  * @summary Gets Dlna content directory xml.
@@ -262,40 +141,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
262
141
  * @param {*} [options] Override http request option.
263
142
  * @throws {RequiredError}
264
143
  */
265
- getContentDirectory2: function (serverId, options) {
266
- if (options === void 0) { options = {}; }
267
- return __awaiter(_this, void 0, void 0, function () {
268
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
269
- return __generator(this, function (_a) {
270
- switch (_a.label) {
271
- case 0:
272
- // verify required parameter 'serverId' is not null or undefined
273
- (0, common_1.assertParamExists)('getContentDirectory2', 'serverId', serverId);
274
- localVarPath = "/Dlna/{serverId}/ContentDirectory/ContentDirectory"
275
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
276
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
277
- if (configuration) {
278
- baseOptions = configuration.baseOptions;
279
- }
280
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
281
- localVarHeaderParameter = {};
282
- localVarQueryParameter = {};
283
- // authentication CustomAuthentication required
284
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
285
- case 1:
286
- // authentication CustomAuthentication required
287
- _a.sent();
288
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
289
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
290
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
291
- return [2 /*return*/, {
292
- url: (0, common_1.toPathString)(localVarUrlObj),
293
- options: localVarRequestOptions,
294
- }];
295
- }
296
- });
297
- });
298
- },
144
+ getContentDirectory2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
145
+ // verify required parameter 'serverId' is not null or undefined
146
+ assertParamExists('getContentDirectory2', 'serverId', serverId);
147
+ const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory`
148
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151
+ let baseOptions;
152
+ if (configuration) {
153
+ baseOptions = configuration.baseOptions;
154
+ }
155
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
156
+ const localVarHeaderParameter = {};
157
+ const localVarQueryParameter = {};
158
+ // authentication CustomAuthentication required
159
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
160
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
161
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
162
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
163
+ return {
164
+ url: toPathString(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ };
167
+ }),
299
168
  /**
300
169
  *
301
170
  * @summary Gets Dlna content directory xml.
@@ -303,40 +172,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
303
172
  * @param {*} [options] Override http request option.
304
173
  * @throws {RequiredError}
305
174
  */
306
- getContentDirectory3: function (serverId, options) {
307
- if (options === void 0) { options = {}; }
308
- return __awaiter(_this, void 0, void 0, function () {
309
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
310
- return __generator(this, function (_a) {
311
- switch (_a.label) {
312
- case 0:
313
- // verify required parameter 'serverId' is not null or undefined
314
- (0, common_1.assertParamExists)('getContentDirectory3', 'serverId', serverId);
315
- localVarPath = "/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml"
316
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
317
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
318
- if (configuration) {
319
- baseOptions = configuration.baseOptions;
320
- }
321
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
322
- localVarHeaderParameter = {};
323
- localVarQueryParameter = {};
324
- // authentication CustomAuthentication required
325
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
326
- case 1:
327
- // authentication CustomAuthentication required
328
- _a.sent();
329
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
330
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
331
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
332
- return [2 /*return*/, {
333
- url: (0, common_1.toPathString)(localVarUrlObj),
334
- options: localVarRequestOptions,
335
- }];
336
- }
337
- });
338
- });
339
- },
175
+ getContentDirectory3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
176
+ // verify required parameter 'serverId' is not null or undefined
177
+ assertParamExists('getContentDirectory3', 'serverId', serverId);
178
+ const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml`
179
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
180
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
181
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
182
+ let baseOptions;
183
+ if (configuration) {
184
+ baseOptions = configuration.baseOptions;
185
+ }
186
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
187
+ const localVarHeaderParameter = {};
188
+ const localVarQueryParameter = {};
189
+ // authentication CustomAuthentication required
190
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
194
+ return {
195
+ url: toPathString(localVarUrlObj),
196
+ options: localVarRequestOptions,
197
+ };
198
+ }),
340
199
  /**
341
200
  *
342
201
  * @summary Get Description Xml.
@@ -344,40 +203,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
344
203
  * @param {*} [options] Override http request option.
345
204
  * @throws {RequiredError}
346
205
  */
347
- getDescriptionXml: function (serverId, options) {
348
- if (options === void 0) { options = {}; }
349
- return __awaiter(_this, void 0, void 0, function () {
350
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
351
- return __generator(this, function (_a) {
352
- switch (_a.label) {
353
- case 0:
354
- // verify required parameter 'serverId' is not null or undefined
355
- (0, common_1.assertParamExists)('getDescriptionXml', 'serverId', serverId);
356
- localVarPath = "/Dlna/{serverId}/description"
357
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
358
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
359
- if (configuration) {
360
- baseOptions = configuration.baseOptions;
361
- }
362
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
363
- localVarHeaderParameter = {};
364
- localVarQueryParameter = {};
365
- // authentication CustomAuthentication required
366
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
367
- case 1:
368
- // authentication CustomAuthentication required
369
- _a.sent();
370
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
371
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
372
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
373
- return [2 /*return*/, {
374
- url: (0, common_1.toPathString)(localVarUrlObj),
375
- options: localVarRequestOptions,
376
- }];
377
- }
378
- });
379
- });
380
- },
206
+ getDescriptionXml: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
207
+ // verify required parameter 'serverId' is not null or undefined
208
+ assertParamExists('getDescriptionXml', 'serverId', serverId);
209
+ const localVarPath = `/Dlna/{serverId}/description`
210
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
211
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
+ let baseOptions;
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ }
217
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
218
+ const localVarHeaderParameter = {};
219
+ const localVarQueryParameter = {};
220
+ // authentication CustomAuthentication required
221
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
222
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
224
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
225
+ return {
226
+ url: toPathString(localVarUrlObj),
227
+ options: localVarRequestOptions,
228
+ };
229
+ }),
381
230
  /**
382
231
  *
383
232
  * @summary Get Description Xml.
@@ -385,40 +234,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
385
234
  * @param {*} [options] Override http request option.
386
235
  * @throws {RequiredError}
387
236
  */
388
- getDescriptionXml2: function (serverId, options) {
389
- if (options === void 0) { options = {}; }
390
- return __awaiter(_this, void 0, void 0, function () {
391
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
392
- return __generator(this, function (_a) {
393
- switch (_a.label) {
394
- case 0:
395
- // verify required parameter 'serverId' is not null or undefined
396
- (0, common_1.assertParamExists)('getDescriptionXml2', 'serverId', serverId);
397
- localVarPath = "/Dlna/{serverId}/description.xml"
398
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
399
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
400
- if (configuration) {
401
- baseOptions = configuration.baseOptions;
402
- }
403
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
404
- localVarHeaderParameter = {};
405
- localVarQueryParameter = {};
406
- // authentication CustomAuthentication required
407
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
408
- case 1:
409
- // authentication CustomAuthentication required
410
- _a.sent();
411
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
412
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
413
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
414
- return [2 /*return*/, {
415
- url: (0, common_1.toPathString)(localVarUrlObj),
416
- options: localVarRequestOptions,
417
- }];
418
- }
419
- });
420
- });
421
- },
237
+ getDescriptionXml2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
238
+ // verify required parameter 'serverId' is not null or undefined
239
+ assertParamExists('getDescriptionXml2', 'serverId', serverId);
240
+ const localVarPath = `/Dlna/{serverId}/description.xml`
241
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
242
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
243
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
244
+ let baseOptions;
245
+ if (configuration) {
246
+ baseOptions = configuration.baseOptions;
247
+ }
248
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
249
+ const localVarHeaderParameter = {};
250
+ const localVarQueryParameter = {};
251
+ // authentication CustomAuthentication required
252
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
256
+ return {
257
+ url: toPathString(localVarUrlObj),
258
+ options: localVarRequestOptions,
259
+ };
260
+ }),
422
261
  /**
423
262
  *
424
263
  * @summary Gets a server icon.
@@ -426,40 +265,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
426
265
  * @param {*} [options] Override http request option.
427
266
  * @throws {RequiredError}
428
267
  */
429
- getIcon: function (fileName, options) {
430
- if (options === void 0) { options = {}; }
431
- return __awaiter(_this, void 0, void 0, function () {
432
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
433
- return __generator(this, function (_a) {
434
- switch (_a.label) {
435
- case 0:
436
- // verify required parameter 'fileName' is not null or undefined
437
- (0, common_1.assertParamExists)('getIcon', 'fileName', fileName);
438
- localVarPath = "/Dlna/icons/{fileName}"
439
- .replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)));
440
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
441
- if (configuration) {
442
- baseOptions = configuration.baseOptions;
443
- }
444
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
445
- localVarHeaderParameter = {};
446
- localVarQueryParameter = {};
447
- // authentication CustomAuthentication required
448
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
449
- case 1:
450
- // authentication CustomAuthentication required
451
- _a.sent();
452
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
453
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
454
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
455
- return [2 /*return*/, {
456
- url: (0, common_1.toPathString)(localVarUrlObj),
457
- options: localVarRequestOptions,
458
- }];
459
- }
460
- });
461
- });
462
- },
268
+ getIcon: (fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
269
+ // verify required parameter 'fileName' is not null or undefined
270
+ assertParamExists('getIcon', 'fileName', fileName);
271
+ const localVarPath = `/Dlna/icons/{fileName}`
272
+ .replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
273
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
275
+ let baseOptions;
276
+ if (configuration) {
277
+ baseOptions = configuration.baseOptions;
278
+ }
279
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
280
+ const localVarHeaderParameter = {};
281
+ const localVarQueryParameter = {};
282
+ // authentication CustomAuthentication required
283
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
284
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
287
+ return {
288
+ url: toPathString(localVarUrlObj),
289
+ options: localVarRequestOptions,
290
+ };
291
+ }),
463
292
  /**
464
293
  *
465
294
  * @summary Gets a server icon.
@@ -468,43 +297,33 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
468
297
  * @param {*} [options] Override http request option.
469
298
  * @throws {RequiredError}
470
299
  */
471
- getIconId: function (serverId, fileName, options) {
472
- if (options === void 0) { options = {}; }
473
- return __awaiter(_this, void 0, void 0, function () {
474
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
475
- return __generator(this, function (_a) {
476
- switch (_a.label) {
477
- case 0:
478
- // verify required parameter 'serverId' is not null or undefined
479
- (0, common_1.assertParamExists)('getIconId', 'serverId', serverId);
480
- // verify required parameter 'fileName' is not null or undefined
481
- (0, common_1.assertParamExists)('getIconId', 'fileName', fileName);
482
- localVarPath = "/Dlna/{serverId}/icons/{fileName}"
483
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)))
484
- .replace("{".concat("fileName", "}"), encodeURIComponent(String(fileName)));
485
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
486
- if (configuration) {
487
- baseOptions = configuration.baseOptions;
488
- }
489
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
490
- localVarHeaderParameter = {};
491
- localVarQueryParameter = {};
492
- // authentication CustomAuthentication required
493
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
494
- case 1:
495
- // authentication CustomAuthentication required
496
- _a.sent();
497
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
498
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
499
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
500
- return [2 /*return*/, {
501
- url: (0, common_1.toPathString)(localVarUrlObj),
502
- options: localVarRequestOptions,
503
- }];
504
- }
505
- });
506
- });
507
- },
300
+ getIconId: (serverId, fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
301
+ // verify required parameter 'serverId' is not null or undefined
302
+ assertParamExists('getIconId', 'serverId', serverId);
303
+ // verify required parameter 'fileName' is not null or undefined
304
+ assertParamExists('getIconId', 'fileName', fileName);
305
+ const localVarPath = `/Dlna/{serverId}/icons/{fileName}`
306
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)))
307
+ .replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
310
+ let baseOptions;
311
+ if (configuration) {
312
+ baseOptions = configuration.baseOptions;
313
+ }
314
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
315
+ const localVarHeaderParameter = {};
316
+ const localVarQueryParameter = {};
317
+ // authentication CustomAuthentication required
318
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
319
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
320
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
321
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
322
+ return {
323
+ url: toPathString(localVarUrlObj),
324
+ options: localVarRequestOptions,
325
+ };
326
+ }),
508
327
  /**
509
328
  *
510
329
  * @summary Gets Dlna media receiver registrar xml.
@@ -512,40 +331,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
512
331
  * @param {*} [options] Override http request option.
513
332
  * @throws {RequiredError}
514
333
  */
515
- getMediaReceiverRegistrar: function (serverId, options) {
516
- if (options === void 0) { options = {}; }
517
- return __awaiter(_this, void 0, void 0, function () {
518
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
519
- return __generator(this, function (_a) {
520
- switch (_a.label) {
521
- case 0:
522
- // verify required parameter 'serverId' is not null or undefined
523
- (0, common_1.assertParamExists)('getMediaReceiverRegistrar', 'serverId', serverId);
524
- localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar"
525
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
526
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
527
- if (configuration) {
528
- baseOptions = configuration.baseOptions;
529
- }
530
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
531
- localVarHeaderParameter = {};
532
- localVarQueryParameter = {};
533
- // authentication CustomAuthentication required
534
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
535
- case 1:
536
- // authentication CustomAuthentication required
537
- _a.sent();
538
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
539
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
540
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
541
- return [2 /*return*/, {
542
- url: (0, common_1.toPathString)(localVarUrlObj),
543
- options: localVarRequestOptions,
544
- }];
545
- }
546
- });
547
- });
548
- },
334
+ getMediaReceiverRegistrar: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
335
+ // verify required parameter 'serverId' is not null or undefined
336
+ assertParamExists('getMediaReceiverRegistrar', 'serverId', serverId);
337
+ const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar`
338
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
341
+ let baseOptions;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ }
345
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
346
+ const localVarHeaderParameter = {};
347
+ const localVarQueryParameter = {};
348
+ // authentication CustomAuthentication required
349
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
350
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
351
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
352
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
353
+ return {
354
+ url: toPathString(localVarUrlObj),
355
+ options: localVarRequestOptions,
356
+ };
357
+ }),
549
358
  /**
550
359
  *
551
360
  * @summary Gets Dlna media receiver registrar xml.
@@ -553,40 +362,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
553
362
  * @param {*} [options] Override http request option.
554
363
  * @throws {RequiredError}
555
364
  */
556
- getMediaReceiverRegistrar2: function (serverId, options) {
557
- if (options === void 0) { options = {}; }
558
- return __awaiter(_this, void 0, void 0, function () {
559
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
560
- return __generator(this, function (_a) {
561
- switch (_a.label) {
562
- case 0:
563
- // verify required parameter 'serverId' is not null or undefined
564
- (0, common_1.assertParamExists)('getMediaReceiverRegistrar2', 'serverId', serverId);
565
- localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar"
566
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
567
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
568
- if (configuration) {
569
- baseOptions = configuration.baseOptions;
570
- }
571
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
572
- localVarHeaderParameter = {};
573
- localVarQueryParameter = {};
574
- // authentication CustomAuthentication required
575
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
576
- case 1:
577
- // authentication CustomAuthentication required
578
- _a.sent();
579
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
580
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
581
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
582
- return [2 /*return*/, {
583
- url: (0, common_1.toPathString)(localVarUrlObj),
584
- options: localVarRequestOptions,
585
- }];
586
- }
587
- });
588
- });
589
- },
365
+ getMediaReceiverRegistrar2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
366
+ // verify required parameter 'serverId' is not null or undefined
367
+ assertParamExists('getMediaReceiverRegistrar2', 'serverId', serverId);
368
+ const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar`
369
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
372
+ let baseOptions;
373
+ if (configuration) {
374
+ baseOptions = configuration.baseOptions;
375
+ }
376
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
377
+ const localVarHeaderParameter = {};
378
+ const localVarQueryParameter = {};
379
+ // authentication CustomAuthentication required
380
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
381
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
383
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
384
+ return {
385
+ url: toPathString(localVarUrlObj),
386
+ options: localVarRequestOptions,
387
+ };
388
+ }),
590
389
  /**
591
390
  *
592
391
  * @summary Gets Dlna media receiver registrar xml.
@@ -594,40 +393,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
594
393
  * @param {*} [options] Override http request option.
595
394
  * @throws {RequiredError}
596
395
  */
597
- getMediaReceiverRegistrar3: function (serverId, options) {
598
- if (options === void 0) { options = {}; }
599
- return __awaiter(_this, void 0, void 0, function () {
600
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
601
- return __generator(this, function (_a) {
602
- switch (_a.label) {
603
- case 0:
604
- // verify required parameter 'serverId' is not null or undefined
605
- (0, common_1.assertParamExists)('getMediaReceiverRegistrar3', 'serverId', serverId);
606
- localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml"
607
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
608
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
609
- if (configuration) {
610
- baseOptions = configuration.baseOptions;
611
- }
612
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
613
- localVarHeaderParameter = {};
614
- localVarQueryParameter = {};
615
- // authentication CustomAuthentication required
616
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
617
- case 1:
618
- // authentication CustomAuthentication required
619
- _a.sent();
620
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
621
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
622
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
623
- return [2 /*return*/, {
624
- url: (0, common_1.toPathString)(localVarUrlObj),
625
- options: localVarRequestOptions,
626
- }];
627
- }
628
- });
629
- });
630
- },
396
+ getMediaReceiverRegistrar3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
397
+ // verify required parameter 'serverId' is not null or undefined
398
+ assertParamExists('getMediaReceiverRegistrar3', 'serverId', serverId);
399
+ const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml`
400
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
403
+ let baseOptions;
404
+ if (configuration) {
405
+ baseOptions = configuration.baseOptions;
406
+ }
407
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
408
+ const localVarHeaderParameter = {};
409
+ const localVarQueryParameter = {};
410
+ // authentication CustomAuthentication required
411
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
412
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
413
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
414
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
415
+ return {
416
+ url: toPathString(localVarUrlObj),
417
+ options: localVarRequestOptions,
418
+ };
419
+ }),
631
420
  /**
632
421
  *
633
422
  * @summary Process a connection manager control request.
@@ -635,40 +424,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
635
424
  * @param {*} [options] Override http request option.
636
425
  * @throws {RequiredError}
637
426
  */
638
- processConnectionManagerControlRequest: function (serverId, options) {
639
- if (options === void 0) { options = {}; }
640
- return __awaiter(_this, void 0, void 0, function () {
641
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
642
- return __generator(this, function (_a) {
643
- switch (_a.label) {
644
- case 0:
645
- // verify required parameter 'serverId' is not null or undefined
646
- (0, common_1.assertParamExists)('processConnectionManagerControlRequest', 'serverId', serverId);
647
- localVarPath = "/Dlna/{serverId}/ConnectionManager/Control"
648
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
649
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
650
- if (configuration) {
651
- baseOptions = configuration.baseOptions;
652
- }
653
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
654
- localVarHeaderParameter = {};
655
- localVarQueryParameter = {};
656
- // authentication CustomAuthentication required
657
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
658
- case 1:
659
- // authentication CustomAuthentication required
660
- _a.sent();
661
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
662
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
663
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
664
- return [2 /*return*/, {
665
- url: (0, common_1.toPathString)(localVarUrlObj),
666
- options: localVarRequestOptions,
667
- }];
668
- }
669
- });
670
- });
671
- },
427
+ processConnectionManagerControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
428
+ // verify required parameter 'serverId' is not null or undefined
429
+ assertParamExists('processConnectionManagerControlRequest', 'serverId', serverId);
430
+ const localVarPath = `/Dlna/{serverId}/ConnectionManager/Control`
431
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
432
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
433
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
434
+ let baseOptions;
435
+ if (configuration) {
436
+ baseOptions = configuration.baseOptions;
437
+ }
438
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
439
+ const localVarHeaderParameter = {};
440
+ const localVarQueryParameter = {};
441
+ // authentication CustomAuthentication required
442
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
443
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
444
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
445
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
446
+ return {
447
+ url: toPathString(localVarUrlObj),
448
+ options: localVarRequestOptions,
449
+ };
450
+ }),
672
451
  /**
673
452
  *
674
453
  * @summary Process a content directory control request.
@@ -676,40 +455,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
676
455
  * @param {*} [options] Override http request option.
677
456
  * @throws {RequiredError}
678
457
  */
679
- processContentDirectoryControlRequest: function (serverId, options) {
680
- if (options === void 0) { options = {}; }
681
- return __awaiter(_this, void 0, void 0, function () {
682
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
683
- return __generator(this, function (_a) {
684
- switch (_a.label) {
685
- case 0:
686
- // verify required parameter 'serverId' is not null or undefined
687
- (0, common_1.assertParamExists)('processContentDirectoryControlRequest', 'serverId', serverId);
688
- localVarPath = "/Dlna/{serverId}/ContentDirectory/Control"
689
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
690
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
691
- if (configuration) {
692
- baseOptions = configuration.baseOptions;
693
- }
694
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
695
- localVarHeaderParameter = {};
696
- localVarQueryParameter = {};
697
- // authentication CustomAuthentication required
698
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
699
- case 1:
700
- // authentication CustomAuthentication required
701
- _a.sent();
702
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
703
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
704
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
705
- return [2 /*return*/, {
706
- url: (0, common_1.toPathString)(localVarUrlObj),
707
- options: localVarRequestOptions,
708
- }];
709
- }
710
- });
711
- });
712
- },
458
+ processContentDirectoryControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
459
+ // verify required parameter 'serverId' is not null or undefined
460
+ assertParamExists('processContentDirectoryControlRequest', 'serverId', serverId);
461
+ const localVarPath = `/Dlna/{serverId}/ContentDirectory/Control`
462
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
463
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
464
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
465
+ let baseOptions;
466
+ if (configuration) {
467
+ baseOptions = configuration.baseOptions;
468
+ }
469
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
470
+ const localVarHeaderParameter = {};
471
+ const localVarQueryParameter = {};
472
+ // authentication CustomAuthentication required
473
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
474
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
475
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
476
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
477
+ return {
478
+ url: toPathString(localVarUrlObj),
479
+ options: localVarRequestOptions,
480
+ };
481
+ }),
713
482
  /**
714
483
  *
715
484
  * @summary Process a media receiver registrar control request.
@@ -717,49 +486,38 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
717
486
  * @param {*} [options] Override http request option.
718
487
  * @throws {RequiredError}
719
488
  */
720
- processMediaReceiverRegistrarControlRequest: function (serverId, options) {
721
- if (options === void 0) { options = {}; }
722
- return __awaiter(_this, void 0, void 0, function () {
723
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
724
- return __generator(this, function (_a) {
725
- switch (_a.label) {
726
- case 0:
727
- // verify required parameter 'serverId' is not null or undefined
728
- (0, common_1.assertParamExists)('processMediaReceiverRegistrarControlRequest', 'serverId', serverId);
729
- localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/Control"
730
- .replace("{".concat("serverId", "}"), encodeURIComponent(String(serverId)));
731
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
732
- if (configuration) {
733
- baseOptions = configuration.baseOptions;
734
- }
735
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
736
- localVarHeaderParameter = {};
737
- localVarQueryParameter = {};
738
- // authentication CustomAuthentication required
739
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
740
- case 1:
741
- // authentication CustomAuthentication required
742
- _a.sent();
743
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
744
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
745
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
746
- return [2 /*return*/, {
747
- url: (0, common_1.toPathString)(localVarUrlObj),
748
- options: localVarRequestOptions,
749
- }];
750
- }
751
- });
752
- });
753
- },
489
+ processMediaReceiverRegistrarControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
490
+ // verify required parameter 'serverId' is not null or undefined
491
+ assertParamExists('processMediaReceiverRegistrarControlRequest', 'serverId', serverId);
492
+ const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/Control`
493
+ .replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
494
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
495
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
496
+ let baseOptions;
497
+ if (configuration) {
498
+ baseOptions = configuration.baseOptions;
499
+ }
500
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
501
+ const localVarHeaderParameter = {};
502
+ const localVarQueryParameter = {};
503
+ // authentication CustomAuthentication required
504
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
505
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
507
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
508
+ return {
509
+ url: toPathString(localVarUrlObj),
510
+ options: localVarRequestOptions,
511
+ };
512
+ }),
754
513
  };
755
514
  };
756
- exports.DlnaServerApiAxiosParamCreator = DlnaServerApiAxiosParamCreator;
757
515
  /**
758
516
  * DlnaServerApi - functional programming interface
759
517
  * @export
760
518
  */
761
- var DlnaServerApiFp = function (configuration) {
762
- var localVarAxiosParamCreator = (0, exports.DlnaServerApiAxiosParamCreator)(configuration);
519
+ const DlnaServerApiFp = function (configuration) {
520
+ const localVarAxiosParamCreator = DlnaServerApiAxiosParamCreator(configuration);
763
521
  return {
764
522
  /**
765
523
  *
@@ -768,17 +526,10 @@ var DlnaServerApiFp = function (configuration) {
768
526
  * @param {*} [options] Override http request option.
769
527
  * @throws {RequiredError}
770
528
  */
771
- getConnectionManager: function (serverId, options) {
772
- return __awaiter(this, void 0, void 0, function () {
773
- var localVarAxiosArgs;
774
- return __generator(this, function (_a) {
775
- switch (_a.label) {
776
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager(serverId, options)];
777
- case 1:
778
- localVarAxiosArgs = _a.sent();
779
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
780
- }
781
- });
529
+ getConnectionManager(serverId, options) {
530
+ return __awaiter(this, void 0, void 0, function* () {
531
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager(serverId, options);
532
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
782
533
  });
783
534
  },
784
535
  /**
@@ -788,17 +539,10 @@ var DlnaServerApiFp = function (configuration) {
788
539
  * @param {*} [options] Override http request option.
789
540
  * @throws {RequiredError}
790
541
  */
791
- getConnectionManager2: function (serverId, options) {
792
- return __awaiter(this, void 0, void 0, function () {
793
- var localVarAxiosArgs;
794
- return __generator(this, function (_a) {
795
- switch (_a.label) {
796
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager2(serverId, options)];
797
- case 1:
798
- localVarAxiosArgs = _a.sent();
799
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
800
- }
801
- });
542
+ getConnectionManager2(serverId, options) {
543
+ return __awaiter(this, void 0, void 0, function* () {
544
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager2(serverId, options);
545
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
802
546
  });
803
547
  },
804
548
  /**
@@ -808,17 +552,10 @@ var DlnaServerApiFp = function (configuration) {
808
552
  * @param {*} [options] Override http request option.
809
553
  * @throws {RequiredError}
810
554
  */
811
- getConnectionManager3: function (serverId, options) {
812
- return __awaiter(this, void 0, void 0, function () {
813
- var localVarAxiosArgs;
814
- return __generator(this, function (_a) {
815
- switch (_a.label) {
816
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager3(serverId, options)];
817
- case 1:
818
- localVarAxiosArgs = _a.sent();
819
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
820
- }
821
- });
555
+ getConnectionManager3(serverId, options) {
556
+ return __awaiter(this, void 0, void 0, function* () {
557
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager3(serverId, options);
558
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
822
559
  });
823
560
  },
824
561
  /**
@@ -828,17 +565,10 @@ var DlnaServerApiFp = function (configuration) {
828
565
  * @param {*} [options] Override http request option.
829
566
  * @throws {RequiredError}
830
567
  */
831
- getContentDirectory: function (serverId, options) {
832
- return __awaiter(this, void 0, void 0, function () {
833
- var localVarAxiosArgs;
834
- return __generator(this, function (_a) {
835
- switch (_a.label) {
836
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory(serverId, options)];
837
- case 1:
838
- localVarAxiosArgs = _a.sent();
839
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
840
- }
841
- });
568
+ getContentDirectory(serverId, options) {
569
+ return __awaiter(this, void 0, void 0, function* () {
570
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory(serverId, options);
571
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
842
572
  });
843
573
  },
844
574
  /**
@@ -848,17 +578,10 @@ var DlnaServerApiFp = function (configuration) {
848
578
  * @param {*} [options] Override http request option.
849
579
  * @throws {RequiredError}
850
580
  */
851
- getContentDirectory2: function (serverId, options) {
852
- return __awaiter(this, void 0, void 0, function () {
853
- var localVarAxiosArgs;
854
- return __generator(this, function (_a) {
855
- switch (_a.label) {
856
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory2(serverId, options)];
857
- case 1:
858
- localVarAxiosArgs = _a.sent();
859
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
860
- }
861
- });
581
+ getContentDirectory2(serverId, options) {
582
+ return __awaiter(this, void 0, void 0, function* () {
583
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory2(serverId, options);
584
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
862
585
  });
863
586
  },
864
587
  /**
@@ -868,17 +591,10 @@ var DlnaServerApiFp = function (configuration) {
868
591
  * @param {*} [options] Override http request option.
869
592
  * @throws {RequiredError}
870
593
  */
871
- getContentDirectory3: function (serverId, options) {
872
- return __awaiter(this, void 0, void 0, function () {
873
- var localVarAxiosArgs;
874
- return __generator(this, function (_a) {
875
- switch (_a.label) {
876
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory3(serverId, options)];
877
- case 1:
878
- localVarAxiosArgs = _a.sent();
879
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
880
- }
881
- });
594
+ getContentDirectory3(serverId, options) {
595
+ return __awaiter(this, void 0, void 0, function* () {
596
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory3(serverId, options);
597
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
882
598
  });
883
599
  },
884
600
  /**
@@ -888,17 +604,10 @@ var DlnaServerApiFp = function (configuration) {
888
604
  * @param {*} [options] Override http request option.
889
605
  * @throws {RequiredError}
890
606
  */
891
- getDescriptionXml: function (serverId, options) {
892
- return __awaiter(this, void 0, void 0, function () {
893
- var localVarAxiosArgs;
894
- return __generator(this, function (_a) {
895
- switch (_a.label) {
896
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDescriptionXml(serverId, options)];
897
- case 1:
898
- localVarAxiosArgs = _a.sent();
899
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
900
- }
901
- });
607
+ getDescriptionXml(serverId, options) {
608
+ return __awaiter(this, void 0, void 0, function* () {
609
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml(serverId, options);
610
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
902
611
  });
903
612
  },
904
613
  /**
@@ -908,17 +617,10 @@ var DlnaServerApiFp = function (configuration) {
908
617
  * @param {*} [options] Override http request option.
909
618
  * @throws {RequiredError}
910
619
  */
911
- getDescriptionXml2: function (serverId, options) {
912
- return __awaiter(this, void 0, void 0, function () {
913
- var localVarAxiosArgs;
914
- return __generator(this, function (_a) {
915
- switch (_a.label) {
916
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDescriptionXml2(serverId, options)];
917
- case 1:
918
- localVarAxiosArgs = _a.sent();
919
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
920
- }
921
- });
620
+ getDescriptionXml2(serverId, options) {
621
+ return __awaiter(this, void 0, void 0, function* () {
622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml2(serverId, options);
623
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
922
624
  });
923
625
  },
924
626
  /**
@@ -928,17 +630,10 @@ var DlnaServerApiFp = function (configuration) {
928
630
  * @param {*} [options] Override http request option.
929
631
  * @throws {RequiredError}
930
632
  */
931
- getIcon: function (fileName, options) {
932
- return __awaiter(this, void 0, void 0, function () {
933
- var localVarAxiosArgs;
934
- return __generator(this, function (_a) {
935
- switch (_a.label) {
936
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIcon(fileName, options)];
937
- case 1:
938
- localVarAxiosArgs = _a.sent();
939
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
940
- }
941
- });
633
+ getIcon(fileName, options) {
634
+ return __awaiter(this, void 0, void 0, function* () {
635
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIcon(fileName, options);
636
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
942
637
  });
943
638
  },
944
639
  /**
@@ -949,17 +644,10 @@ var DlnaServerApiFp = function (configuration) {
949
644
  * @param {*} [options] Override http request option.
950
645
  * @throws {RequiredError}
951
646
  */
952
- getIconId: function (serverId, fileName, options) {
953
- return __awaiter(this, void 0, void 0, function () {
954
- var localVarAxiosArgs;
955
- return __generator(this, function (_a) {
956
- switch (_a.label) {
957
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIconId(serverId, fileName, options)];
958
- case 1:
959
- localVarAxiosArgs = _a.sent();
960
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
961
- }
962
- });
647
+ getIconId(serverId, fileName, options) {
648
+ return __awaiter(this, void 0, void 0, function* () {
649
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIconId(serverId, fileName, options);
650
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
963
651
  });
964
652
  },
965
653
  /**
@@ -969,17 +657,10 @@ var DlnaServerApiFp = function (configuration) {
969
657
  * @param {*} [options] Override http request option.
970
658
  * @throws {RequiredError}
971
659
  */
972
- getMediaReceiverRegistrar: function (serverId, options) {
973
- return __awaiter(this, void 0, void 0, function () {
974
- var localVarAxiosArgs;
975
- return __generator(this, function (_a) {
976
- switch (_a.label) {
977
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar(serverId, options)];
978
- case 1:
979
- localVarAxiosArgs = _a.sent();
980
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
981
- }
982
- });
660
+ getMediaReceiverRegistrar(serverId, options) {
661
+ return __awaiter(this, void 0, void 0, function* () {
662
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar(serverId, options);
663
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
983
664
  });
984
665
  },
985
666
  /**
@@ -989,17 +670,10 @@ var DlnaServerApiFp = function (configuration) {
989
670
  * @param {*} [options] Override http request option.
990
671
  * @throws {RequiredError}
991
672
  */
992
- getMediaReceiverRegistrar2: function (serverId, options) {
993
- return __awaiter(this, void 0, void 0, function () {
994
- var localVarAxiosArgs;
995
- return __generator(this, function (_a) {
996
- switch (_a.label) {
997
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar2(serverId, options)];
998
- case 1:
999
- localVarAxiosArgs = _a.sent();
1000
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1001
- }
1002
- });
673
+ getMediaReceiverRegistrar2(serverId, options) {
674
+ return __awaiter(this, void 0, void 0, function* () {
675
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar2(serverId, options);
676
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1003
677
  });
1004
678
  },
1005
679
  /**
@@ -1009,17 +683,10 @@ var DlnaServerApiFp = function (configuration) {
1009
683
  * @param {*} [options] Override http request option.
1010
684
  * @throws {RequiredError}
1011
685
  */
1012
- getMediaReceiverRegistrar3: function (serverId, options) {
1013
- return __awaiter(this, void 0, void 0, function () {
1014
- var localVarAxiosArgs;
1015
- return __generator(this, function (_a) {
1016
- switch (_a.label) {
1017
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar3(serverId, options)];
1018
- case 1:
1019
- localVarAxiosArgs = _a.sent();
1020
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1021
- }
1022
- });
686
+ getMediaReceiverRegistrar3(serverId, options) {
687
+ return __awaiter(this, void 0, void 0, function* () {
688
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar3(serverId, options);
689
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1023
690
  });
1024
691
  },
1025
692
  /**
@@ -1029,17 +696,10 @@ var DlnaServerApiFp = function (configuration) {
1029
696
  * @param {*} [options] Override http request option.
1030
697
  * @throws {RequiredError}
1031
698
  */
1032
- processConnectionManagerControlRequest: function (serverId, options) {
1033
- return __awaiter(this, void 0, void 0, function () {
1034
- var localVarAxiosArgs;
1035
- return __generator(this, function (_a) {
1036
- switch (_a.label) {
1037
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.processConnectionManagerControlRequest(serverId, options)];
1038
- case 1:
1039
- localVarAxiosArgs = _a.sent();
1040
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1041
- }
1042
- });
699
+ processConnectionManagerControlRequest(serverId, options) {
700
+ return __awaiter(this, void 0, void 0, function* () {
701
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.processConnectionManagerControlRequest(serverId, options);
702
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1043
703
  });
1044
704
  },
1045
705
  /**
@@ -1049,17 +709,10 @@ var DlnaServerApiFp = function (configuration) {
1049
709
  * @param {*} [options] Override http request option.
1050
710
  * @throws {RequiredError}
1051
711
  */
1052
- processContentDirectoryControlRequest: function (serverId, options) {
1053
- return __awaiter(this, void 0, void 0, function () {
1054
- var localVarAxiosArgs;
1055
- return __generator(this, function (_a) {
1056
- switch (_a.label) {
1057
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.processContentDirectoryControlRequest(serverId, options)];
1058
- case 1:
1059
- localVarAxiosArgs = _a.sent();
1060
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1061
- }
1062
- });
712
+ processContentDirectoryControlRequest(serverId, options) {
713
+ return __awaiter(this, void 0, void 0, function* () {
714
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.processContentDirectoryControlRequest(serverId, options);
715
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1063
716
  });
1064
717
  },
1065
718
  /**
@@ -1069,28 +722,20 @@ var DlnaServerApiFp = function (configuration) {
1069
722
  * @param {*} [options] Override http request option.
1070
723
  * @throws {RequiredError}
1071
724
  */
1072
- processMediaReceiverRegistrarControlRequest: function (serverId, options) {
1073
- return __awaiter(this, void 0, void 0, function () {
1074
- var localVarAxiosArgs;
1075
- return __generator(this, function (_a) {
1076
- switch (_a.label) {
1077
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.processMediaReceiverRegistrarControlRequest(serverId, options)];
1078
- case 1:
1079
- localVarAxiosArgs = _a.sent();
1080
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1081
- }
1082
- });
725
+ processMediaReceiverRegistrarControlRequest(serverId, options) {
726
+ return __awaiter(this, void 0, void 0, function* () {
727
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.processMediaReceiverRegistrarControlRequest(serverId, options);
728
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1083
729
  });
1084
730
  },
1085
731
  };
1086
732
  };
1087
- exports.DlnaServerApiFp = DlnaServerApiFp;
1088
733
  /**
1089
734
  * DlnaServerApi - factory interface
1090
735
  * @export
1091
736
  */
1092
- var DlnaServerApiFactory = function (configuration, basePath, axios) {
1093
- var localVarFp = (0, exports.DlnaServerApiFp)(configuration);
737
+ const DlnaServerApiFactory = function (configuration, basePath, axios) {
738
+ const localVarFp = DlnaServerApiFp(configuration);
1094
739
  return {
1095
740
  /**
1096
741
  *
@@ -1099,8 +744,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1099
744
  * @param {*} [options] Override http request option.
1100
745
  * @throws {RequiredError}
1101
746
  */
1102
- getConnectionManager: function (serverId, options) {
1103
- return localVarFp.getConnectionManager(serverId, options).then(function (request) { return request(axios, basePath); });
747
+ getConnectionManager(serverId, options) {
748
+ return localVarFp.getConnectionManager(serverId, options).then((request) => request(axios, basePath));
1104
749
  },
1105
750
  /**
1106
751
  *
@@ -1109,8 +754,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1109
754
  * @param {*} [options] Override http request option.
1110
755
  * @throws {RequiredError}
1111
756
  */
1112
- getConnectionManager2: function (serverId, options) {
1113
- return localVarFp.getConnectionManager2(serverId, options).then(function (request) { return request(axios, basePath); });
757
+ getConnectionManager2(serverId, options) {
758
+ return localVarFp.getConnectionManager2(serverId, options).then((request) => request(axios, basePath));
1114
759
  },
1115
760
  /**
1116
761
  *
@@ -1119,8 +764,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1119
764
  * @param {*} [options] Override http request option.
1120
765
  * @throws {RequiredError}
1121
766
  */
1122
- getConnectionManager3: function (serverId, options) {
1123
- return localVarFp.getConnectionManager3(serverId, options).then(function (request) { return request(axios, basePath); });
767
+ getConnectionManager3(serverId, options) {
768
+ return localVarFp.getConnectionManager3(serverId, options).then((request) => request(axios, basePath));
1124
769
  },
1125
770
  /**
1126
771
  *
@@ -1129,8 +774,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1129
774
  * @param {*} [options] Override http request option.
1130
775
  * @throws {RequiredError}
1131
776
  */
1132
- getContentDirectory: function (serverId, options) {
1133
- return localVarFp.getContentDirectory(serverId, options).then(function (request) { return request(axios, basePath); });
777
+ getContentDirectory(serverId, options) {
778
+ return localVarFp.getContentDirectory(serverId, options).then((request) => request(axios, basePath));
1134
779
  },
1135
780
  /**
1136
781
  *
@@ -1139,8 +784,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1139
784
  * @param {*} [options] Override http request option.
1140
785
  * @throws {RequiredError}
1141
786
  */
1142
- getContentDirectory2: function (serverId, options) {
1143
- return localVarFp.getContentDirectory2(serverId, options).then(function (request) { return request(axios, basePath); });
787
+ getContentDirectory2(serverId, options) {
788
+ return localVarFp.getContentDirectory2(serverId, options).then((request) => request(axios, basePath));
1144
789
  },
1145
790
  /**
1146
791
  *
@@ -1149,8 +794,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1149
794
  * @param {*} [options] Override http request option.
1150
795
  * @throws {RequiredError}
1151
796
  */
1152
- getContentDirectory3: function (serverId, options) {
1153
- return localVarFp.getContentDirectory3(serverId, options).then(function (request) { return request(axios, basePath); });
797
+ getContentDirectory3(serverId, options) {
798
+ return localVarFp.getContentDirectory3(serverId, options).then((request) => request(axios, basePath));
1154
799
  },
1155
800
  /**
1156
801
  *
@@ -1159,8 +804,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1159
804
  * @param {*} [options] Override http request option.
1160
805
  * @throws {RequiredError}
1161
806
  */
1162
- getDescriptionXml: function (serverId, options) {
1163
- return localVarFp.getDescriptionXml(serverId, options).then(function (request) { return request(axios, basePath); });
807
+ getDescriptionXml(serverId, options) {
808
+ return localVarFp.getDescriptionXml(serverId, options).then((request) => request(axios, basePath));
1164
809
  },
1165
810
  /**
1166
811
  *
@@ -1169,8 +814,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1169
814
  * @param {*} [options] Override http request option.
1170
815
  * @throws {RequiredError}
1171
816
  */
1172
- getDescriptionXml2: function (serverId, options) {
1173
- return localVarFp.getDescriptionXml2(serverId, options).then(function (request) { return request(axios, basePath); });
817
+ getDescriptionXml2(serverId, options) {
818
+ return localVarFp.getDescriptionXml2(serverId, options).then((request) => request(axios, basePath));
1174
819
  },
1175
820
  /**
1176
821
  *
@@ -1179,8 +824,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1179
824
  * @param {*} [options] Override http request option.
1180
825
  * @throws {RequiredError}
1181
826
  */
1182
- getIcon: function (fileName, options) {
1183
- return localVarFp.getIcon(fileName, options).then(function (request) { return request(axios, basePath); });
827
+ getIcon(fileName, options) {
828
+ return localVarFp.getIcon(fileName, options).then((request) => request(axios, basePath));
1184
829
  },
1185
830
  /**
1186
831
  *
@@ -1190,8 +835,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1190
835
  * @param {*} [options] Override http request option.
1191
836
  * @throws {RequiredError}
1192
837
  */
1193
- getIconId: function (serverId, fileName, options) {
1194
- return localVarFp.getIconId(serverId, fileName, options).then(function (request) { return request(axios, basePath); });
838
+ getIconId(serverId, fileName, options) {
839
+ return localVarFp.getIconId(serverId, fileName, options).then((request) => request(axios, basePath));
1195
840
  },
1196
841
  /**
1197
842
  *
@@ -1200,8 +845,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1200
845
  * @param {*} [options] Override http request option.
1201
846
  * @throws {RequiredError}
1202
847
  */
1203
- getMediaReceiverRegistrar: function (serverId, options) {
1204
- return localVarFp.getMediaReceiverRegistrar(serverId, options).then(function (request) { return request(axios, basePath); });
848
+ getMediaReceiverRegistrar(serverId, options) {
849
+ return localVarFp.getMediaReceiverRegistrar(serverId, options).then((request) => request(axios, basePath));
1205
850
  },
1206
851
  /**
1207
852
  *
@@ -1210,8 +855,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1210
855
  * @param {*} [options] Override http request option.
1211
856
  * @throws {RequiredError}
1212
857
  */
1213
- getMediaReceiverRegistrar2: function (serverId, options) {
1214
- return localVarFp.getMediaReceiverRegistrar2(serverId, options).then(function (request) { return request(axios, basePath); });
858
+ getMediaReceiverRegistrar2(serverId, options) {
859
+ return localVarFp.getMediaReceiverRegistrar2(serverId, options).then((request) => request(axios, basePath));
1215
860
  },
1216
861
  /**
1217
862
  *
@@ -1220,8 +865,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1220
865
  * @param {*} [options] Override http request option.
1221
866
  * @throws {RequiredError}
1222
867
  */
1223
- getMediaReceiverRegistrar3: function (serverId, options) {
1224
- return localVarFp.getMediaReceiverRegistrar3(serverId, options).then(function (request) { return request(axios, basePath); });
868
+ getMediaReceiverRegistrar3(serverId, options) {
869
+ return localVarFp.getMediaReceiverRegistrar3(serverId, options).then((request) => request(axios, basePath));
1225
870
  },
1226
871
  /**
1227
872
  *
@@ -1230,8 +875,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1230
875
  * @param {*} [options] Override http request option.
1231
876
  * @throws {RequiredError}
1232
877
  */
1233
- processConnectionManagerControlRequest: function (serverId, options) {
1234
- return localVarFp.processConnectionManagerControlRequest(serverId, options).then(function (request) { return request(axios, basePath); });
878
+ processConnectionManagerControlRequest(serverId, options) {
879
+ return localVarFp.processConnectionManagerControlRequest(serverId, options).then((request) => request(axios, basePath));
1235
880
  },
1236
881
  /**
1237
882
  *
@@ -1240,8 +885,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1240
885
  * @param {*} [options] Override http request option.
1241
886
  * @throws {RequiredError}
1242
887
  */
1243
- processContentDirectoryControlRequest: function (serverId, options) {
1244
- return localVarFp.processContentDirectoryControlRequest(serverId, options).then(function (request) { return request(axios, basePath); });
888
+ processContentDirectoryControlRequest(serverId, options) {
889
+ return localVarFp.processContentDirectoryControlRequest(serverId, options).then((request) => request(axios, basePath));
1245
890
  },
1246
891
  /**
1247
892
  *
@@ -1250,23 +895,18 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
1250
895
  * @param {*} [options] Override http request option.
1251
896
  * @throws {RequiredError}
1252
897
  */
1253
- processMediaReceiverRegistrarControlRequest: function (serverId, options) {
1254
- return localVarFp.processMediaReceiverRegistrarControlRequest(serverId, options).then(function (request) { return request(axios, basePath); });
898
+ processMediaReceiverRegistrarControlRequest(serverId, options) {
899
+ return localVarFp.processMediaReceiverRegistrarControlRequest(serverId, options).then((request) => request(axios, basePath));
1255
900
  },
1256
901
  };
1257
902
  };
1258
- exports.DlnaServerApiFactory = DlnaServerApiFactory;
1259
903
  /**
1260
904
  * DlnaServerApi - object-oriented interface
1261
905
  * @export
1262
906
  * @class DlnaServerApi
1263
907
  * @extends {BaseAPI}
1264
908
  */
1265
- var DlnaServerApi = /** @class */ (function (_super) {
1266
- __extends(DlnaServerApi, _super);
1267
- function DlnaServerApi() {
1268
- return _super !== null && _super.apply(this, arguments) || this;
1269
- }
909
+ class DlnaServerApi extends BaseAPI {
1270
910
  /**
1271
911
  *
1272
912
  * @summary Gets Dlna media receiver registrar xml.
@@ -1275,10 +915,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1275
915
  * @throws {RequiredError}
1276
916
  * @memberof DlnaServerApi
1277
917
  */
1278
- DlnaServerApi.prototype.getConnectionManager = function (requestParameters, options) {
1279
- var _this = this;
1280
- return (0, exports.DlnaServerApiFp)(this.configuration).getConnectionManager(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1281
- };
918
+ getConnectionManager(requestParameters, options) {
919
+ return DlnaServerApiFp(this.configuration).getConnectionManager(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
920
+ }
1282
921
  /**
1283
922
  *
1284
923
  * @summary Gets Dlna media receiver registrar xml.
@@ -1287,10 +926,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1287
926
  * @throws {RequiredError}
1288
927
  * @memberof DlnaServerApi
1289
928
  */
1290
- DlnaServerApi.prototype.getConnectionManager2 = function (requestParameters, options) {
1291
- var _this = this;
1292
- return (0, exports.DlnaServerApiFp)(this.configuration).getConnectionManager2(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1293
- };
929
+ getConnectionManager2(requestParameters, options) {
930
+ return DlnaServerApiFp(this.configuration).getConnectionManager2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
931
+ }
1294
932
  /**
1295
933
  *
1296
934
  * @summary Gets Dlna media receiver registrar xml.
@@ -1299,10 +937,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1299
937
  * @throws {RequiredError}
1300
938
  * @memberof DlnaServerApi
1301
939
  */
1302
- DlnaServerApi.prototype.getConnectionManager3 = function (requestParameters, options) {
1303
- var _this = this;
1304
- return (0, exports.DlnaServerApiFp)(this.configuration).getConnectionManager3(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1305
- };
940
+ getConnectionManager3(requestParameters, options) {
941
+ return DlnaServerApiFp(this.configuration).getConnectionManager3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
942
+ }
1306
943
  /**
1307
944
  *
1308
945
  * @summary Gets Dlna content directory xml.
@@ -1311,10 +948,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1311
948
  * @throws {RequiredError}
1312
949
  * @memberof DlnaServerApi
1313
950
  */
1314
- DlnaServerApi.prototype.getContentDirectory = function (requestParameters, options) {
1315
- var _this = this;
1316
- return (0, exports.DlnaServerApiFp)(this.configuration).getContentDirectory(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1317
- };
951
+ getContentDirectory(requestParameters, options) {
952
+ return DlnaServerApiFp(this.configuration).getContentDirectory(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
953
+ }
1318
954
  /**
1319
955
  *
1320
956
  * @summary Gets Dlna content directory xml.
@@ -1323,10 +959,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1323
959
  * @throws {RequiredError}
1324
960
  * @memberof DlnaServerApi
1325
961
  */
1326
- DlnaServerApi.prototype.getContentDirectory2 = function (requestParameters, options) {
1327
- var _this = this;
1328
- return (0, exports.DlnaServerApiFp)(this.configuration).getContentDirectory2(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1329
- };
962
+ getContentDirectory2(requestParameters, options) {
963
+ return DlnaServerApiFp(this.configuration).getContentDirectory2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
964
+ }
1330
965
  /**
1331
966
  *
1332
967
  * @summary Gets Dlna content directory xml.
@@ -1335,10 +970,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1335
970
  * @throws {RequiredError}
1336
971
  * @memberof DlnaServerApi
1337
972
  */
1338
- DlnaServerApi.prototype.getContentDirectory3 = function (requestParameters, options) {
1339
- var _this = this;
1340
- return (0, exports.DlnaServerApiFp)(this.configuration).getContentDirectory3(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1341
- };
973
+ getContentDirectory3(requestParameters, options) {
974
+ return DlnaServerApiFp(this.configuration).getContentDirectory3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
975
+ }
1342
976
  /**
1343
977
  *
1344
978
  * @summary Get Description Xml.
@@ -1347,10 +981,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1347
981
  * @throws {RequiredError}
1348
982
  * @memberof DlnaServerApi
1349
983
  */
1350
- DlnaServerApi.prototype.getDescriptionXml = function (requestParameters, options) {
1351
- var _this = this;
1352
- return (0, exports.DlnaServerApiFp)(this.configuration).getDescriptionXml(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1353
- };
984
+ getDescriptionXml(requestParameters, options) {
985
+ return DlnaServerApiFp(this.configuration).getDescriptionXml(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
986
+ }
1354
987
  /**
1355
988
  *
1356
989
  * @summary Get Description Xml.
@@ -1359,10 +992,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1359
992
  * @throws {RequiredError}
1360
993
  * @memberof DlnaServerApi
1361
994
  */
1362
- DlnaServerApi.prototype.getDescriptionXml2 = function (requestParameters, options) {
1363
- var _this = this;
1364
- return (0, exports.DlnaServerApiFp)(this.configuration).getDescriptionXml2(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1365
- };
995
+ getDescriptionXml2(requestParameters, options) {
996
+ return DlnaServerApiFp(this.configuration).getDescriptionXml2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
997
+ }
1366
998
  /**
1367
999
  *
1368
1000
  * @summary Gets a server icon.
@@ -1371,10 +1003,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1371
1003
  * @throws {RequiredError}
1372
1004
  * @memberof DlnaServerApi
1373
1005
  */
1374
- DlnaServerApi.prototype.getIcon = function (requestParameters, options) {
1375
- var _this = this;
1376
- return (0, exports.DlnaServerApiFp)(this.configuration).getIcon(requestParameters.fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
1377
- };
1006
+ getIcon(requestParameters, options) {
1007
+ return DlnaServerApiFp(this.configuration).getIcon(requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
1008
+ }
1378
1009
  /**
1379
1010
  *
1380
1011
  * @summary Gets a server icon.
@@ -1383,10 +1014,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1383
1014
  * @throws {RequiredError}
1384
1015
  * @memberof DlnaServerApi
1385
1016
  */
1386
- DlnaServerApi.prototype.getIconId = function (requestParameters, options) {
1387
- var _this = this;
1388
- return (0, exports.DlnaServerApiFp)(this.configuration).getIconId(requestParameters.serverId, requestParameters.fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
1389
- };
1017
+ getIconId(requestParameters, options) {
1018
+ return DlnaServerApiFp(this.configuration).getIconId(requestParameters.serverId, requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
1019
+ }
1390
1020
  /**
1391
1021
  *
1392
1022
  * @summary Gets Dlna media receiver registrar xml.
@@ -1395,10 +1025,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1395
1025
  * @throws {RequiredError}
1396
1026
  * @memberof DlnaServerApi
1397
1027
  */
1398
- DlnaServerApi.prototype.getMediaReceiverRegistrar = function (requestParameters, options) {
1399
- var _this = this;
1400
- return (0, exports.DlnaServerApiFp)(this.configuration).getMediaReceiverRegistrar(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1401
- };
1028
+ getMediaReceiverRegistrar(requestParameters, options) {
1029
+ return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1030
+ }
1402
1031
  /**
1403
1032
  *
1404
1033
  * @summary Gets Dlna media receiver registrar xml.
@@ -1407,10 +1036,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1407
1036
  * @throws {RequiredError}
1408
1037
  * @memberof DlnaServerApi
1409
1038
  */
1410
- DlnaServerApi.prototype.getMediaReceiverRegistrar2 = function (requestParameters, options) {
1411
- var _this = this;
1412
- return (0, exports.DlnaServerApiFp)(this.configuration).getMediaReceiverRegistrar2(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1413
- };
1039
+ getMediaReceiverRegistrar2(requestParameters, options) {
1040
+ return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1041
+ }
1414
1042
  /**
1415
1043
  *
1416
1044
  * @summary Gets Dlna media receiver registrar xml.
@@ -1419,10 +1047,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1419
1047
  * @throws {RequiredError}
1420
1048
  * @memberof DlnaServerApi
1421
1049
  */
1422
- DlnaServerApi.prototype.getMediaReceiverRegistrar3 = function (requestParameters, options) {
1423
- var _this = this;
1424
- return (0, exports.DlnaServerApiFp)(this.configuration).getMediaReceiverRegistrar3(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1425
- };
1050
+ getMediaReceiverRegistrar3(requestParameters, options) {
1051
+ return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1052
+ }
1426
1053
  /**
1427
1054
  *
1428
1055
  * @summary Process a connection manager control request.
@@ -1431,10 +1058,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1431
1058
  * @throws {RequiredError}
1432
1059
  * @memberof DlnaServerApi
1433
1060
  */
1434
- DlnaServerApi.prototype.processConnectionManagerControlRequest = function (requestParameters, options) {
1435
- var _this = this;
1436
- return (0, exports.DlnaServerApiFp)(this.configuration).processConnectionManagerControlRequest(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1437
- };
1061
+ processConnectionManagerControlRequest(requestParameters, options) {
1062
+ return DlnaServerApiFp(this.configuration).processConnectionManagerControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1063
+ }
1438
1064
  /**
1439
1065
  *
1440
1066
  * @summary Process a content directory control request.
@@ -1443,10 +1069,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1443
1069
  * @throws {RequiredError}
1444
1070
  * @memberof DlnaServerApi
1445
1071
  */
1446
- DlnaServerApi.prototype.processContentDirectoryControlRequest = function (requestParameters, options) {
1447
- var _this = this;
1448
- return (0, exports.DlnaServerApiFp)(this.configuration).processContentDirectoryControlRequest(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1449
- };
1072
+ processContentDirectoryControlRequest(requestParameters, options) {
1073
+ return DlnaServerApiFp(this.configuration).processContentDirectoryControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1074
+ }
1450
1075
  /**
1451
1076
  *
1452
1077
  * @summary Process a media receiver registrar control request.
@@ -1455,10 +1080,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
1455
1080
  * @throws {RequiredError}
1456
1081
  * @memberof DlnaServerApi
1457
1082
  */
1458
- DlnaServerApi.prototype.processMediaReceiverRegistrarControlRequest = function (requestParameters, options) {
1459
- var _this = this;
1460
- return (0, exports.DlnaServerApiFp)(this.configuration).processMediaReceiverRegistrarControlRequest(requestParameters.serverId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1461
- };
1462
- return DlnaServerApi;
1463
- }(base_1.BaseAPI));
1464
- exports.DlnaServerApi = DlnaServerApi;
1083
+ processMediaReceiverRegistrarControlRequest(requestParameters, options) {
1084
+ return DlnaServerApiFp(this.configuration).processMediaReceiverRegistrarControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
1085
+ }
1086
+ }
1087
+
1088
+ export { DlnaServerApi, DlnaServerApiAxiosParamCreator, DlnaServerApiFactory, DlnaServerApiFp };