@jellyfin/sdk 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/README.md +10 -0
  2. package/lib/api.d.ts +0 -11
  3. package/lib/api.js +0 -14
  4. package/lib/discovery/discovery-service.js +4 -9
  5. package/lib/discovery/recommended-server-discovery.js +17 -22
  6. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  7. package/lib/generated-client/api/activity-log-api.js +15 -18
  8. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  9. package/lib/generated-client/api/api-key-api.js +40 -38
  10. package/lib/generated-client/api/artists-api.d.ts +27 -90
  11. package/lib/generated-client/api/artists-api.js +43 -104
  12. package/lib/generated-client/api/audio-api.d.ts +81 -249
  13. package/lib/generated-client/api/audio-api.js +105 -266
  14. package/lib/generated-client/api/branding-api.d.ts +16 -16
  15. package/lib/generated-client/api/branding-api.js +31 -29
  16. package/lib/generated-client/api/channels-api.d.ts +33 -51
  17. package/lib/generated-client/api/channels-api.js +68 -82
  18. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  19. package/lib/generated-client/api/client-log-api.js +17 -17
  20. package/lib/generated-client/api/collection-api.d.ts +19 -24
  21. package/lib/generated-client/api/collection-api.js +43 -46
  22. package/lib/generated-client/api/configuration-api.d.ts +28 -29
  23. package/lib/generated-client/api/configuration-api.js +65 -62
  24. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  25. package/lib/generated-client/api/dashboard-api.js +28 -27
  26. package/lib/generated-client/api/devices-api.d.ts +31 -33
  27. package/lib/generated-client/api/devices-api.js +71 -68
  28. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  29. package/lib/generated-client/api/display-preferences-api.js +29 -33
  30. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  31. package/lib/generated-client/api/dynamic-hls-api.js +269 -628
  32. package/lib/generated-client/api/environment-api.d.ts +33 -35
  33. package/lib/generated-client/api/environment-api.js +76 -73
  34. package/lib/generated-client/api/filter-api.d.ts +17 -29
  35. package/lib/generated-client/api/filter-api.js +29 -40
  36. package/lib/generated-client/api/genres-api.d.ts +20 -38
  37. package/lib/generated-client/api/genres-api.js +29 -46
  38. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  39. package/lib/generated-client/api/hls-segment-api.js +68 -71
  40. package/lib/generated-client/api/image-api.d.ts +206 -644
  41. package/lib/generated-client/api/image-api.js +501 -903
  42. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  43. package/lib/generated-client/api/instant-mix-api.js +113 -162
  44. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  45. package/lib/generated-client/api/item-lookup-api.js +155 -147
  46. package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
  47. package/lib/generated-client/api/item-refresh-api.js +15 -19
  48. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  49. package/lib/generated-client/api/item-update-api.js +43 -43
  50. package/lib/generated-client/api/items-api.d.ts +44 -137
  51. package/lib/generated-client/api/items-api.js +63 -156
  52. package/lib/generated-client/api/library-api.d.ts +185 -170
  53. package/lib/generated-client/api/library-api.js +378 -359
  54. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  55. package/lib/generated-client/api/library-structure-api.js +110 -113
  56. package/lib/generated-client/api/live-tv-api.d.ts +224 -332
  57. package/lib/generated-client/api/live-tv-api.js +558 -626
  58. package/lib/generated-client/api/localization-api.d.ts +23 -23
  59. package/lib/generated-client/api/localization-api.js +45 -42
  60. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  61. package/lib/generated-client/api/lyrics-api.js +87 -85
  62. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  63. package/lib/generated-client/api/media-info-api.js +77 -95
  64. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  65. package/lib/generated-client/api/media-segments-api.js +123 -0
  66. package/lib/generated-client/api/movies-api.d.ts +10 -14
  67. package/lib/generated-client/api/movies-api.js +15 -19
  68. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  69. package/lib/generated-client/api/music-genres-api.js +29 -46
  70. package/lib/generated-client/api/package-api.d.ts +33 -37
  71. package/lib/generated-client/api/package-api.js +79 -78
  72. package/lib/generated-client/api/persons-api.d.ts +18 -31
  73. package/lib/generated-client/api/persons-api.js +29 -41
  74. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  75. package/lib/generated-client/api/playlists-api.js +207 -154
  76. package/lib/generated-client/api/playstate-api.d.ts +54 -80
  77. package/lib/generated-client/api/playstate-api.js +127 -145
  78. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  79. package/lib/generated-client/api/plugins-api.js +124 -120
  80. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  81. package/lib/generated-client/api/quick-connect-api.js +48 -46
  82. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  83. package/lib/generated-client/api/remote-image-api.js +43 -48
  84. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  85. package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
  86. package/lib/generated-client/api/search-api.d.ts +11 -28
  87. package/lib/generated-client/api/search-api.js +15 -32
  88. package/lib/generated-client/api/session-api.d.ts +90 -117
  89. package/lib/generated-client/api/session-api.js +216 -228
  90. package/lib/generated-client/api/startup-api.d.ts +37 -37
  91. package/lib/generated-client/api/startup-api.js +87 -81
  92. package/lib/generated-client/api/studios-api.d.ts +18 -35
  93. package/lib/generated-client/api/studios-api.js +29 -45
  94. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  95. package/lib/generated-client/api/subtitle-api.js +136 -158
  96. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  97. package/lib/generated-client/api/suggestions-api.js +15 -20
  98. package/lib/generated-client/api/sync-play-api.d.ts +120 -120
  99. package/lib/generated-client/api/sync-play-api.js +280 -260
  100. package/lib/generated-client/api/system-api.d.ts +49 -49
  101. package/lib/generated-client/api/system-api.js +111 -102
  102. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  103. package/lib/generated-client/api/time-sync-api.js +11 -11
  104. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  105. package/lib/generated-client/api/tmdb-api.js +12 -12
  106. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  107. package/lib/generated-client/api/trailers-api.js +15 -98
  108. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  109. package/lib/generated-client/api/trickplay-api.js +29 -33
  110. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  111. package/lib/generated-client/api/tv-shows-api.js +57 -99
  112. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  113. package/lib/generated-client/api/universal-audio-api.js +41 -64
  114. package/lib/generated-client/api/user-api.d.ts +83 -88
  115. package/lib/generated-client/api/user-api.js +186 -178
  116. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  117. package/lib/generated-client/api/user-library-api.js +141 -151
  118. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  119. package/lib/generated-client/api/user-views-api.js +29 -31
  120. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  121. package/lib/generated-client/api/video-attachments-api.js +14 -16
  122. package/lib/generated-client/api/videos-api.d.ts +97 -274
  123. package/lib/generated-client/api/videos-api.js +147 -314
  124. package/lib/generated-client/api/years-api.d.ts +21 -36
  125. package/lib/generated-client/api/years-api.js +29 -43
  126. package/lib/generated-client/api.d.ts +1 -0
  127. package/lib/generated-client/base.d.ts +15 -4
  128. package/lib/generated-client/base.js +8 -4
  129. package/lib/generated-client/common.d.ts +3 -3
  130. package/lib/generated-client/common.js +30 -24
  131. package/lib/generated-client/configuration.d.ts +8 -0
  132. package/lib/generated-client/configuration.js +1 -0
  133. package/lib/generated-client/index.js +8 -1
  134. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  135. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  136. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  137. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  138. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  139. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  142. package/lib/generated-client/models/album-info.d.ts +5 -5
  143. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  144. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  145. package/lib/generated-client/models/artist-info.d.ts +3 -3
  146. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  147. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  148. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  149. package/lib/generated-client/models/base-item-dto.d.ts +26 -26
  150. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  151. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  152. package/lib/generated-client/models/book-info.d.ts +2 -2
  153. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  154. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  155. package/lib/generated-client/models/channel-features.d.ts +3 -3
  156. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  157. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  158. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  159. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  160. package/lib/generated-client/models/container-profile.d.ts +12 -6
  161. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  162. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  163. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  164. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  165. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  166. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  167. package/lib/generated-client/models/device-info.d.ts +1 -1
  168. package/lib/generated-client/models/device-profile.d.ts +8 -8
  169. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  170. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  171. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  172. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  173. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  174. package/lib/generated-client/models/encoder-preset.js +32 -0
  175. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  176. package/lib/generated-client/models/external-id-info.d.ts +2 -1
  177. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  178. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  179. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  180. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  181. package/lib/generated-client/models/general-command.d.ts +3 -3
  182. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  183. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  184. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  185. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  186. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  187. package/lib/generated-client/models/group-update.d.ts +23 -5
  188. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  189. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  190. package/lib/generated-client/models/image-info.d.ts +1 -1
  191. package/lib/generated-client/models/image-option.d.ts +1 -1
  192. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  193. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  194. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  195. package/lib/generated-client/models/index.d.ts +13 -6
  196. package/lib/generated-client/models/index.js +7 -1
  197. package/lib/generated-client/models/installation-info.d.ts +1 -1
  198. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  199. package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
  200. package/lib/generated-client/models/library-options.d.ts +57 -3
  201. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  202. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  203. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  204. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  205. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  206. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  207. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  208. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  209. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  210. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  211. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  212. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  213. package/lib/generated-client/models/media-segment-type.js +27 -0
  214. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  215. package/lib/generated-client/models/media-stream.d.ts +17 -5
  216. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  217. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  218. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  219. package/lib/generated-client/models/movie-info.d.ts +2 -2
  220. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  221. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  222. package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
  223. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  224. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  225. package/lib/generated-client/models/package-info.d.ts +1 -1
  226. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  227. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  228. package/lib/generated-client/models/play-message.d.ts +2 -2
  229. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  230. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  231. package/lib/generated-client/models/play-request.d.ts +1 -1
  232. package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
  233. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  234. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  235. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  236. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  237. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  238. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  239. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  240. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  241. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  242. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  243. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  244. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  245. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  246. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  247. package/lib/generated-client/models/problem-details.d.ts +1 -1
  248. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  249. package/lib/generated-client/models/query-filters.d.ts +1 -1
  250. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  251. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  252. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  253. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  254. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  255. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  256. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  257. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  258. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  259. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  260. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  261. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  262. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  263. package/lib/generated-client/models/search-hint.d.ts +3 -3
  264. package/lib/generated-client/models/send-command.d.ts +1 -1
  265. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  266. package/lib/generated-client/models/series-info.d.ts +2 -2
  267. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  268. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  269. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  270. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  271. package/lib/generated-client/models/server-configuration.d.ts +8 -14
  272. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  273. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  274. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  275. package/lib/generated-client/models/session-info.d.ts +8 -8
  276. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  277. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  278. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  279. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  280. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  281. package/lib/generated-client/models/song-info.d.ts +2 -2
  282. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  283. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  284. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  285. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  286. package/lib/generated-client/models/system-info.d.ts +2 -2
  287. package/lib/generated-client/models/task-info.d.ts +3 -3
  288. package/lib/generated-client/models/task-result.d.ts +1 -1
  289. package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
  290. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  291. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  292. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  293. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  294. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  295. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  296. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  297. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  298. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  299. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  300. package/lib/generated-client/models/tonemapping-range.js +24 -0
  301. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  302. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  303. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  304. package/lib/generated-client/models/transcode-reason.js +2 -1
  305. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  306. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  307. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  308. package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
  309. package/lib/generated-client/models/type-options.d.ts +1 -1
  310. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  311. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  312. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  313. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  314. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  315. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  316. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  317. package/lib/generated-client/models/user-dto.d.ts +2 -2
  318. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  319. package/lib/generated-client/models/user-policy.d.ts +3 -3
  320. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  321. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  322. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  323. package/lib/utils/address-candidates.js +15 -10
  324. package/lib/utils/api/image-urls-api.js +16 -4
  325. package/lib/utils/api/index.d.ts +1 -0
  326. package/lib/utils/api/index.js +1 -0
  327. package/lib/utils/api/media-segments-api.d.ts +8 -0
  328. package/lib/utils/api/media-segments-api.js +12 -0
  329. package/lib/utils/index.js +1 -1
  330. package/lib/utils/url/index.d.ts +16 -3
  331. package/lib/utils/url/index.js +26 -4
  332. package/lib/versions.d.ts +1 -1
  333. package/lib/versions.js +1 -1
  334. package/package.json +13 -12
  335. package/lib/node_modules/tslib/tslib.es6.js +0 -33
@@ -1,7 +1,6 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, createRequestFunction } from '../common.js';
4
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
5
4
 
6
5
  /* tslint:disable */
7
6
  /* eslint-disable */
@@ -27,7 +26,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- getEndpointInfo: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
29
+ getEndpointInfo: async (options = {}) => {
31
30
  const localVarPath = `/System/Endpoint`;
32
31
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33
32
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35,19 +34,19 @@ const SystemApiAxiosParamCreator = function (configuration) {
35
34
  if (configuration) {
36
35
  baseOptions = configuration.baseOptions;
37
36
  }
38
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
39
38
  const localVarHeaderParameter = {};
40
39
  const localVarQueryParameter = {};
41
40
  // authentication CustomAuthentication required
42
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
41
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
43
42
  setSearchParams(localVarUrlObj, localVarQueryParameter);
44
43
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
44
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
46
45
  return {
47
46
  url: toPathString(localVarUrlObj),
48
47
  options: localVarRequestOptions,
49
48
  };
50
- }),
49
+ },
51
50
  /**
52
51
  *
53
52
  * @summary Gets a log file.
@@ -55,7 +54,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
55
54
  * @param {*} [options] Override http request option.
56
55
  * @throws {RequiredError}
57
56
  */
58
- getLogFile: (name_1, ...args_2) => __awaiter(this, [name_1, ...args_2], void 0, function* (name, options = {}) {
57
+ getLogFile: async (name, options = {}) => {
59
58
  // verify required parameter 'name' is not null or undefined
60
59
  assertParamExists('getLogFile', 'name', name);
61
60
  const localVarPath = `/System/Logs/Log`;
@@ -65,29 +64,29 @@ const SystemApiAxiosParamCreator = function (configuration) {
65
64
  if (configuration) {
66
65
  baseOptions = configuration.baseOptions;
67
66
  }
68
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
67
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
69
68
  const localVarHeaderParameter = {};
70
69
  const localVarQueryParameter = {};
71
70
  // authentication CustomAuthentication required
72
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
71
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
73
72
  if (name !== undefined) {
74
73
  localVarQueryParameter['name'] = name;
75
74
  }
76
75
  setSearchParams(localVarUrlObj, localVarQueryParameter);
77
76
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
78
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
77
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
79
78
  return {
80
79
  url: toPathString(localVarUrlObj),
81
80
  options: localVarRequestOptions,
82
81
  };
83
- }),
82
+ },
84
83
  /**
85
84
  *
86
85
  * @summary Pings the system.
87
86
  * @param {*} [options] Override http request option.
88
87
  * @throws {RequiredError}
89
88
  */
90
- getPingSystem: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
89
+ getPingSystem: async (options = {}) => {
91
90
  const localVarPath = `/System/Ping`;
92
91
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
93
92
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -95,24 +94,24 @@ const SystemApiAxiosParamCreator = function (configuration) {
95
94
  if (configuration) {
96
95
  baseOptions = configuration.baseOptions;
97
96
  }
98
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
97
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
99
98
  const localVarHeaderParameter = {};
100
99
  const localVarQueryParameter = {};
101
100
  setSearchParams(localVarUrlObj, localVarQueryParameter);
102
101
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
102
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
104
103
  return {
105
104
  url: toPathString(localVarUrlObj),
106
105
  options: localVarRequestOptions,
107
106
  };
108
- }),
107
+ },
109
108
  /**
110
109
  *
111
110
  * @summary Gets public information about the server.
112
111
  * @param {*} [options] Override http request option.
113
112
  * @throws {RequiredError}
114
113
  */
115
- getPublicSystemInfo: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
114
+ getPublicSystemInfo: async (options = {}) => {
116
115
  const localVarPath = `/System/Info/Public`;
117
116
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
117
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -120,24 +119,24 @@ const SystemApiAxiosParamCreator = function (configuration) {
120
119
  if (configuration) {
121
120
  baseOptions = configuration.baseOptions;
122
121
  }
123
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
122
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
124
123
  const localVarHeaderParameter = {};
125
124
  const localVarQueryParameter = {};
126
125
  setSearchParams(localVarUrlObj, localVarQueryParameter);
127
126
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
127
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
129
128
  return {
130
129
  url: toPathString(localVarUrlObj),
131
130
  options: localVarRequestOptions,
132
131
  };
133
- }),
132
+ },
134
133
  /**
135
134
  *
136
135
  * @summary Gets a list of available server log files.
137
136
  * @param {*} [options] Override http request option.
138
137
  * @throws {RequiredError}
139
138
  */
140
- getServerLogs: (...args_5) => __awaiter(this, [...args_5], void 0, function* (options = {}) {
139
+ getServerLogs: async (options = {}) => {
141
140
  const localVarPath = `/System/Logs`;
142
141
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
143
142
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -145,26 +144,26 @@ const SystemApiAxiosParamCreator = function (configuration) {
145
144
  if (configuration) {
146
145
  baseOptions = configuration.baseOptions;
147
146
  }
148
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
147
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
149
148
  const localVarHeaderParameter = {};
150
149
  const localVarQueryParameter = {};
151
150
  // authentication CustomAuthentication required
152
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
151
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
153
152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
154
153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
155
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
154
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
156
155
  return {
157
156
  url: toPathString(localVarUrlObj),
158
157
  options: localVarRequestOptions,
159
158
  };
160
- }),
159
+ },
161
160
  /**
162
161
  *
163
162
  * @summary Gets information about the server.
164
163
  * @param {*} [options] Override http request option.
165
164
  * @throws {RequiredError}
166
165
  */
167
- getSystemInfo: (...args_6) => __awaiter(this, [...args_6], void 0, function* (options = {}) {
166
+ getSystemInfo: async (options = {}) => {
168
167
  const localVarPath = `/System/Info`;
169
168
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
170
169
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -172,19 +171,19 @@ const SystemApiAxiosParamCreator = function (configuration) {
172
171
  if (configuration) {
173
172
  baseOptions = configuration.baseOptions;
174
173
  }
175
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
174
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
176
175
  const localVarHeaderParameter = {};
177
176
  const localVarQueryParameter = {};
178
177
  // authentication CustomAuthentication required
179
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
178
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
180
179
  setSearchParams(localVarUrlObj, localVarQueryParameter);
181
180
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
182
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
181
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
183
182
  return {
184
183
  url: toPathString(localVarUrlObj),
185
184
  options: localVarRequestOptions,
186
185
  };
187
- }),
186
+ },
188
187
  /**
189
188
  *
190
189
  * @summary Gets wake on lan information.
@@ -192,7 +191,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
192
191
  * @deprecated
193
192
  * @throws {RequiredError}
194
193
  */
195
- getWakeOnLanInfo: (...args_7) => __awaiter(this, [...args_7], void 0, function* (options = {}) {
194
+ getWakeOnLanInfo: async (options = {}) => {
196
195
  const localVarPath = `/System/WakeOnLanInfo`;
197
196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -200,26 +199,26 @@ const SystemApiAxiosParamCreator = function (configuration) {
200
199
  if (configuration) {
201
200
  baseOptions = configuration.baseOptions;
202
201
  }
203
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
202
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
204
203
  const localVarHeaderParameter = {};
205
204
  const localVarQueryParameter = {};
206
205
  // authentication CustomAuthentication required
207
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
206
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
208
207
  setSearchParams(localVarUrlObj, localVarQueryParameter);
209
208
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
210
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
209
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
211
210
  return {
212
211
  url: toPathString(localVarUrlObj),
213
212
  options: localVarRequestOptions,
214
213
  };
215
- }),
214
+ },
216
215
  /**
217
216
  *
218
217
  * @summary Pings the system.
219
218
  * @param {*} [options] Override http request option.
220
219
  * @throws {RequiredError}
221
220
  */
222
- postPingSystem: (...args_8) => __awaiter(this, [...args_8], void 0, function* (options = {}) {
221
+ postPingSystem: async (options = {}) => {
223
222
  const localVarPath = `/System/Ping`;
224
223
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
225
224
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -227,24 +226,24 @@ const SystemApiAxiosParamCreator = function (configuration) {
227
226
  if (configuration) {
228
227
  baseOptions = configuration.baseOptions;
229
228
  }
230
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
229
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
231
230
  const localVarHeaderParameter = {};
232
231
  const localVarQueryParameter = {};
233
232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
234
233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
235
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
236
235
  return {
237
236
  url: toPathString(localVarUrlObj),
238
237
  options: localVarRequestOptions,
239
238
  };
240
- }),
239
+ },
241
240
  /**
242
241
  *
243
242
  * @summary Restarts the application.
244
243
  * @param {*} [options] Override http request option.
245
244
  * @throws {RequiredError}
246
245
  */
247
- restartApplication: (...args_9) => __awaiter(this, [...args_9], void 0, function* (options = {}) {
246
+ restartApplication: async (options = {}) => {
248
247
  const localVarPath = `/System/Restart`;
249
248
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
249
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -252,26 +251,26 @@ const SystemApiAxiosParamCreator = function (configuration) {
252
251
  if (configuration) {
253
252
  baseOptions = configuration.baseOptions;
254
253
  }
255
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
254
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
256
255
  const localVarHeaderParameter = {};
257
256
  const localVarQueryParameter = {};
258
257
  // authentication CustomAuthentication required
259
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
258
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
260
259
  setSearchParams(localVarUrlObj, localVarQueryParameter);
261
260
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
262
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
261
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
263
262
  return {
264
263
  url: toPathString(localVarUrlObj),
265
264
  options: localVarRequestOptions,
266
265
  };
267
- }),
266
+ },
268
267
  /**
269
268
  *
270
269
  * @summary Shuts down the application.
271
270
  * @param {*} [options] Override http request option.
272
271
  * @throws {RequiredError}
273
272
  */
274
- shutdownApplication: (...args_10) => __awaiter(this, [...args_10], void 0, function* (options = {}) {
273
+ shutdownApplication: async (options = {}) => {
275
274
  const localVarPath = `/System/Shutdown`;
276
275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
276
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -279,19 +278,19 @@ const SystemApiAxiosParamCreator = function (configuration) {
279
278
  if (configuration) {
280
279
  baseOptions = configuration.baseOptions;
281
280
  }
282
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
281
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
283
282
  const localVarHeaderParameter = {};
284
283
  const localVarQueryParameter = {};
285
284
  // authentication CustomAuthentication required
286
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
285
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
287
286
  setSearchParams(localVarUrlObj, localVarQueryParameter);
288
287
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
289
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
288
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
290
289
  return {
291
290
  url: toPathString(localVarUrlObj),
292
291
  options: localVarRequestOptions,
293
292
  };
294
- }),
293
+ },
295
294
  };
296
295
  };
297
296
  /**
@@ -307,11 +306,12 @@ const SystemApiFp = function (configuration) {
307
306
  * @param {*} [options] Override http request option.
308
307
  * @throws {RequiredError}
309
308
  */
310
- getEndpointInfo(options) {
311
- return __awaiter(this, void 0, void 0, function* () {
312
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEndpointInfo(options);
313
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
314
- });
309
+ async getEndpointInfo(options) {
310
+ var _a, _b, _c;
311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEndpointInfo(options);
312
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
313
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getEndpointInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
314
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
315
315
  },
316
316
  /**
317
317
  *
@@ -320,11 +320,12 @@ const SystemApiFp = function (configuration) {
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- getLogFile(name, options) {
324
- return __awaiter(this, void 0, void 0, function* () {
325
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLogFile(name, options);
326
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
327
- });
323
+ async getLogFile(name, options) {
324
+ var _a, _b, _c;
325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLogFile(name, options);
326
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
327
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getLogFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
328
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
328
329
  },
329
330
  /**
330
331
  *
@@ -332,11 +333,12 @@ const SystemApiFp = function (configuration) {
332
333
  * @param {*} [options] Override http request option.
333
334
  * @throws {RequiredError}
334
335
  */
335
- getPingSystem(options) {
336
- return __awaiter(this, void 0, void 0, function* () {
337
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPingSystem(options);
338
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
339
- });
336
+ async getPingSystem(options) {
337
+ var _a, _b, _c;
338
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPingSystem(options);
339
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
340
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getPingSystem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
341
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
340
342
  },
341
343
  /**
342
344
  *
@@ -344,11 +346,12 @@ const SystemApiFp = function (configuration) {
344
346
  * @param {*} [options] Override http request option.
345
347
  * @throws {RequiredError}
346
348
  */
347
- getPublicSystemInfo(options) {
348
- return __awaiter(this, void 0, void 0, function* () {
349
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublicSystemInfo(options);
350
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
351
- });
349
+ async getPublicSystemInfo(options) {
350
+ var _a, _b, _c;
351
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicSystemInfo(options);
352
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
353
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getPublicSystemInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
354
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
352
355
  },
353
356
  /**
354
357
  *
@@ -356,11 +359,12 @@ const SystemApiFp = function (configuration) {
356
359
  * @param {*} [options] Override http request option.
357
360
  * @throws {RequiredError}
358
361
  */
359
- getServerLogs(options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getServerLogs(options);
362
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
363
- });
362
+ async getServerLogs(options) {
363
+ var _a, _b, _c;
364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServerLogs(options);
365
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
366
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getServerLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
367
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
364
368
  },
365
369
  /**
366
370
  *
@@ -368,11 +372,12 @@ const SystemApiFp = function (configuration) {
368
372
  * @param {*} [options] Override http request option.
369
373
  * @throws {RequiredError}
370
374
  */
371
- getSystemInfo(options) {
372
- return __awaiter(this, void 0, void 0, function* () {
373
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSystemInfo(options);
374
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
375
- });
375
+ async getSystemInfo(options) {
376
+ var _a, _b, _c;
377
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemInfo(options);
378
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
379
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getSystemInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
380
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
376
381
  },
377
382
  /**
378
383
  *
@@ -381,11 +386,12 @@ const SystemApiFp = function (configuration) {
381
386
  * @deprecated
382
387
  * @throws {RequiredError}
383
388
  */
384
- getWakeOnLanInfo(options) {
385
- return __awaiter(this, void 0, void 0, function* () {
386
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getWakeOnLanInfo(options);
387
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
388
- });
389
+ async getWakeOnLanInfo(options) {
390
+ var _a, _b, _c;
391
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWakeOnLanInfo(options);
392
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
393
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getWakeOnLanInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
394
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
389
395
  },
390
396
  /**
391
397
  *
@@ -393,11 +399,12 @@ const SystemApiFp = function (configuration) {
393
399
  * @param {*} [options] Override http request option.
394
400
  * @throws {RequiredError}
395
401
  */
396
- postPingSystem(options) {
397
- return __awaiter(this, void 0, void 0, function* () {
398
- const localVarAxiosArgs = yield localVarAxiosParamCreator.postPingSystem(options);
399
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
400
- });
402
+ async postPingSystem(options) {
403
+ var _a, _b, _c;
404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postPingSystem(options);
405
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
406
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.postPingSystem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
407
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
401
408
  },
402
409
  /**
403
410
  *
@@ -405,11 +412,12 @@ const SystemApiFp = function (configuration) {
405
412
  * @param {*} [options] Override http request option.
406
413
  * @throws {RequiredError}
407
414
  */
408
- restartApplication(options) {
409
- return __awaiter(this, void 0, void 0, function* () {
410
- const localVarAxiosArgs = yield localVarAxiosParamCreator.restartApplication(options);
411
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
412
- });
415
+ async restartApplication(options) {
416
+ var _a, _b, _c;
417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restartApplication(options);
418
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
419
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.restartApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
420
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
413
421
  },
414
422
  /**
415
423
  *
@@ -417,11 +425,12 @@ const SystemApiFp = function (configuration) {
417
425
  * @param {*} [options] Override http request option.
418
426
  * @throws {RequiredError}
419
427
  */
420
- shutdownApplication(options) {
421
- return __awaiter(this, void 0, void 0, function* () {
422
- const localVarAxiosArgs = yield localVarAxiosParamCreator.shutdownApplication(options);
423
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
424
- });
428
+ async shutdownApplication(options) {
429
+ var _a, _b, _c;
430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shutdownApplication(options);
431
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
432
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.shutdownApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
433
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
425
434
  },
426
435
  };
427
436
  };
@@ -444,12 +453,12 @@ const SystemApiFactory = function (configuration, basePath, axios) {
444
453
  /**
445
454
  *
446
455
  * @summary Gets a log file.
447
- * @param {string} name The name of the log file to get.
456
+ * @param {SystemApiGetLogFileRequest} requestParameters Request parameters.
448
457
  * @param {*} [options] Override http request option.
449
458
  * @throws {RequiredError}
450
459
  */
451
- getLogFile(name, options) {
452
- return localVarFp.getLogFile(name, options).then((request) => request(axios, basePath));
460
+ getLogFile(requestParameters, options) {
461
+ return localVarFp.getLogFile(requestParameters.name, options).then((request) => request(axios, basePath));
453
462
  },
454
463
  /**
455
464
  *
@@ -8,10 +8,10 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
12
- import { Configuration } from '../configuration';
13
- import { RequestArgs, BaseAPI } from '../base';
14
- import { UtcTimeResponse } from '../models';
11
+ import type { Configuration } from '../configuration';
12
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
13
+ import { type RequestArgs, BaseAPI } from '../base';
14
+ import type { UtcTimeResponse } from '../models';
15
15
  /**
16
16
  * TimeSyncApi - axios parameter creator
17
17
  * @export
@@ -23,7 +23,7 @@ export declare const TimeSyncApiAxiosParamCreator: (configuration?: Configuratio
23
23
  * @param {*} [options] Override http request option.
24
24
  * @throws {RequiredError}
25
25
  */
26
- getUtcTime: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26
+ getUtcTime: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
27
  };
28
28
  /**
29
29
  * TimeSyncApi - functional programming interface
@@ -36,7 +36,7 @@ export declare const TimeSyncApiFp: (configuration?: Configuration) => {
36
36
  * @param {*} [options] Override http request option.
37
37
  * @throws {RequiredError}
38
38
  */
39
- getUtcTime(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UtcTimeResponse>>;
39
+ getUtcTime(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UtcTimeResponse>>;
40
40
  };
41
41
  /**
42
42
  * TimeSyncApi - factory interface
@@ -49,7 +49,7 @@ export declare const TimeSyncApiFactory: (configuration?: Configuration, basePat
49
49
  * @param {*} [options] Override http request option.
50
50
  * @throws {RequiredError}
51
51
  */
52
- getUtcTime(options?: any): AxiosPromise<UtcTimeResponse>;
52
+ getUtcTime(options?: RawAxiosRequestConfig): AxiosPromise<UtcTimeResponse>;
53
53
  };
54
54
  /**
55
55
  * TimeSyncApi - object-oriented interface
@@ -65,5 +65,5 @@ export declare class TimeSyncApi extends BaseAPI {
65
65
  * @throws {RequiredError}
66
66
  * @memberof TimeSyncApi
67
67
  */
68
- getUtcTime(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any>>;
68
+ getUtcTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any>>;
69
69
  }
@@ -1,7 +1,6 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
5
4
 
6
5
  /* tslint:disable */
7
6
  /* eslint-disable */
@@ -27,7 +26,7 @@ const TimeSyncApiAxiosParamCreator = function (configuration) {
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- getUtcTime: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
29
+ getUtcTime: async (options = {}) => {
31
30
  const localVarPath = `/GetUtcTime`;
32
31
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33
32
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35,17 +34,17 @@ const TimeSyncApiAxiosParamCreator = function (configuration) {
35
34
  if (configuration) {
36
35
  baseOptions = configuration.baseOptions;
37
36
  }
38
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
39
38
  const localVarHeaderParameter = {};
40
39
  const localVarQueryParameter = {};
41
40
  setSearchParams(localVarUrlObj, localVarQueryParameter);
42
41
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
42
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
44
43
  return {
45
44
  url: toPathString(localVarUrlObj),
46
45
  options: localVarRequestOptions,
47
46
  };
48
- }),
47
+ },
49
48
  };
50
49
  };
51
50
  /**
@@ -61,11 +60,12 @@ const TimeSyncApiFp = function (configuration) {
61
60
  * @param {*} [options] Override http request option.
62
61
  * @throws {RequiredError}
63
62
  */
64
- getUtcTime(options) {
65
- return __awaiter(this, void 0, void 0, function* () {
66
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUtcTime(options);
67
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
68
- });
63
+ async getUtcTime(options) {
64
+ var _a, _b, _c;
65
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUtcTime(options);
66
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
67
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TimeSyncApi.getUtcTime']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
68
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69
69
  },
70
70
  };
71
71
  };