@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 { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, 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 */
@@ -29,7 +28,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
29
28
  * @param {*} [options] Override http request option.
30
29
  * @throws {RequiredError}
31
30
  */
32
- disablePlugin: (pluginId_1, version_1, ...args_1) => __awaiter(this, [pluginId_1, version_1, ...args_1], void 0, function* (pluginId, version, options = {}) {
31
+ disablePlugin: async (pluginId, version, options = {}) => {
33
32
  // verify required parameter 'pluginId' is not null or undefined
34
33
  assertParamExists('disablePlugin', 'pluginId', pluginId);
35
34
  // verify required parameter 'version' is not null or undefined
@@ -43,19 +42,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
43
42
  if (configuration) {
44
43
  baseOptions = configuration.baseOptions;
45
44
  }
46
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
45
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
47
46
  const localVarHeaderParameter = {};
48
47
  const localVarQueryParameter = {};
49
48
  // authentication CustomAuthentication required
50
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
49
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
51
50
  setSearchParams(localVarUrlObj, localVarQueryParameter);
52
51
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
53
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
52
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
54
53
  return {
55
54
  url: toPathString(localVarUrlObj),
56
55
  options: localVarRequestOptions,
57
56
  };
58
- }),
57
+ },
59
58
  /**
60
59
  *
61
60
  * @summary Enables a disabled plugin.
@@ -64,7 +63,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
64
63
  * @param {*} [options] Override http request option.
65
64
  * @throws {RequiredError}
66
65
  */
67
- enablePlugin: (pluginId_2, version_2, ...args_2) => __awaiter(this, [pluginId_2, version_2, ...args_2], void 0, function* (pluginId, version, options = {}) {
66
+ enablePlugin: async (pluginId, version, options = {}) => {
68
67
  // verify required parameter 'pluginId' is not null or undefined
69
68
  assertParamExists('enablePlugin', 'pluginId', pluginId);
70
69
  // verify required parameter 'version' is not null or undefined
@@ -78,19 +77,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
78
77
  if (configuration) {
79
78
  baseOptions = configuration.baseOptions;
80
79
  }
81
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
80
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
82
81
  const localVarHeaderParameter = {};
83
82
  const localVarQueryParameter = {};
84
83
  // authentication CustomAuthentication required
85
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
84
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
86
85
  setSearchParams(localVarUrlObj, localVarQueryParameter);
87
86
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
89
88
  return {
90
89
  url: toPathString(localVarUrlObj),
91
90
  options: localVarRequestOptions,
92
91
  };
93
- }),
92
+ },
94
93
  /**
95
94
  *
96
95
  * @summary Gets plugin configuration.
@@ -98,7 +97,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
98
97
  * @param {*} [options] Override http request option.
99
98
  * @throws {RequiredError}
100
99
  */
101
- getPluginConfiguration: (pluginId_3, ...args_3) => __awaiter(this, [pluginId_3, ...args_3], void 0, function* (pluginId, options = {}) {
100
+ getPluginConfiguration: async (pluginId, options = {}) => {
102
101
  // verify required parameter 'pluginId' is not null or undefined
103
102
  assertParamExists('getPluginConfiguration', 'pluginId', pluginId);
104
103
  const localVarPath = `/Plugins/{pluginId}/Configuration`
@@ -109,19 +108,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
109
108
  if (configuration) {
110
109
  baseOptions = configuration.baseOptions;
111
110
  }
112
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
111
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
113
112
  const localVarHeaderParameter = {};
114
113
  const localVarQueryParameter = {};
115
114
  // authentication CustomAuthentication required
116
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
115
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
117
116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
118
117
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
118
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
120
119
  return {
121
120
  url: toPathString(localVarUrlObj),
122
121
  options: localVarRequestOptions,
123
122
  };
124
- }),
123
+ },
125
124
  /**
126
125
  *
127
126
  * @summary Gets a plugin\'s image.
@@ -130,7 +129,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
130
129
  * @param {*} [options] Override http request option.
131
130
  * @throws {RequiredError}
132
131
  */
133
- getPluginImage: (pluginId_4, version_3, ...args_4) => __awaiter(this, [pluginId_4, version_3, ...args_4], void 0, function* (pluginId, version, options = {}) {
132
+ getPluginImage: async (pluginId, version, options = {}) => {
134
133
  // verify required parameter 'pluginId' is not null or undefined
135
134
  assertParamExists('getPluginImage', 'pluginId', pluginId);
136
135
  // verify required parameter 'version' is not null or undefined
@@ -144,19 +143,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
144
143
  if (configuration) {
145
144
  baseOptions = configuration.baseOptions;
146
145
  }
147
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
146
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
148
147
  const localVarHeaderParameter = {};
149
148
  const localVarQueryParameter = {};
150
149
  // authentication CustomAuthentication required
151
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
150
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
152
151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
153
152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
153
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
155
154
  return {
156
155
  url: toPathString(localVarUrlObj),
157
156
  options: localVarRequestOptions,
158
157
  };
159
- }),
158
+ },
160
159
  /**
161
160
  *
162
161
  * @summary Gets a plugin\'s manifest.
@@ -164,7 +163,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
164
163
  * @param {*} [options] Override http request option.
165
164
  * @throws {RequiredError}
166
165
  */
167
- getPluginManifest: (pluginId_5, ...args_5) => __awaiter(this, [pluginId_5, ...args_5], void 0, function* (pluginId, options = {}) {
166
+ getPluginManifest: async (pluginId, options = {}) => {
168
167
  // verify required parameter 'pluginId' is not null or undefined
169
168
  assertParamExists('getPluginManifest', 'pluginId', pluginId);
170
169
  const localVarPath = `/Plugins/{pluginId}/Manifest`
@@ -175,26 +174,26 @@ const PluginsApiAxiosParamCreator = function (configuration) {
175
174
  if (configuration) {
176
175
  baseOptions = configuration.baseOptions;
177
176
  }
178
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
177
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
179
178
  const localVarHeaderParameter = {};
180
179
  const localVarQueryParameter = {};
181
180
  // authentication CustomAuthentication required
182
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
181
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
183
182
  setSearchParams(localVarUrlObj, localVarQueryParameter);
184
183
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
185
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
186
185
  return {
187
186
  url: toPathString(localVarUrlObj),
188
187
  options: localVarRequestOptions,
189
188
  };
190
- }),
189
+ },
191
190
  /**
192
191
  *
193
192
  * @summary Gets a list of currently installed plugins.
194
193
  * @param {*} [options] Override http request option.
195
194
  * @throws {RequiredError}
196
195
  */
197
- getPlugins: (...args_6) => __awaiter(this, [...args_6], void 0, function* (options = {}) {
196
+ getPlugins: async (options = {}) => {
198
197
  const localVarPath = `/Plugins`;
199
198
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
199
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -202,19 +201,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
202
201
  if (configuration) {
203
202
  baseOptions = configuration.baseOptions;
204
203
  }
205
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
204
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
206
205
  const localVarHeaderParameter = {};
207
206
  const localVarQueryParameter = {};
208
207
  // authentication CustomAuthentication required
209
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
208
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
210
209
  setSearchParams(localVarUrlObj, localVarQueryParameter);
211
210
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
211
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
213
212
  return {
214
213
  url: toPathString(localVarUrlObj),
215
214
  options: localVarRequestOptions,
216
215
  };
217
- }),
216
+ },
218
217
  /**
219
218
  *
220
219
  * @summary Uninstalls a plugin.
@@ -223,7 +222,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
223
222
  * @deprecated
224
223
  * @throws {RequiredError}
225
224
  */
226
- uninstallPlugin: (pluginId_6, ...args_7) => __awaiter(this, [pluginId_6, ...args_7], void 0, function* (pluginId, options = {}) {
225
+ uninstallPlugin: async (pluginId, options = {}) => {
227
226
  // verify required parameter 'pluginId' is not null or undefined
228
227
  assertParamExists('uninstallPlugin', 'pluginId', pluginId);
229
228
  const localVarPath = `/Plugins/{pluginId}`
@@ -234,19 +233,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
234
233
  if (configuration) {
235
234
  baseOptions = configuration.baseOptions;
236
235
  }
237
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
236
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
238
237
  const localVarHeaderParameter = {};
239
238
  const localVarQueryParameter = {};
240
239
  // authentication CustomAuthentication required
241
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
240
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
242
241
  setSearchParams(localVarUrlObj, localVarQueryParameter);
243
242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
243
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
245
244
  return {
246
245
  url: toPathString(localVarUrlObj),
247
246
  options: localVarRequestOptions,
248
247
  };
249
- }),
248
+ },
250
249
  /**
251
250
  *
252
251
  * @summary Uninstalls a plugin by version.
@@ -255,7 +254,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
255
254
  * @param {*} [options] Override http request option.
256
255
  * @throws {RequiredError}
257
256
  */
258
- uninstallPluginByVersion: (pluginId_7, version_4, ...args_8) => __awaiter(this, [pluginId_7, version_4, ...args_8], void 0, function* (pluginId, version, options = {}) {
257
+ uninstallPluginByVersion: async (pluginId, version, options = {}) => {
259
258
  // verify required parameter 'pluginId' is not null or undefined
260
259
  assertParamExists('uninstallPluginByVersion', 'pluginId', pluginId);
261
260
  // verify required parameter 'version' is not null or undefined
@@ -269,19 +268,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
269
268
  if (configuration) {
270
269
  baseOptions = configuration.baseOptions;
271
270
  }
272
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
271
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
273
272
  const localVarHeaderParameter = {};
274
273
  const localVarQueryParameter = {};
275
274
  // authentication CustomAuthentication required
276
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
275
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
277
276
  setSearchParams(localVarUrlObj, localVarQueryParameter);
278
277
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
278
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
280
279
  return {
281
280
  url: toPathString(localVarUrlObj),
282
281
  options: localVarRequestOptions,
283
282
  };
284
- }),
283
+ },
285
284
  /**
286
285
  * Accepts plugin configuration as JSON body.
287
286
  * @summary Updates plugin configuration.
@@ -289,7 +288,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
289
288
  * @param {*} [options] Override http request option.
290
289
  * @throws {RequiredError}
291
290
  */
292
- updatePluginConfiguration: (pluginId_8, ...args_9) => __awaiter(this, [pluginId_8, ...args_9], void 0, function* (pluginId, options = {}) {
291
+ updatePluginConfiguration: async (pluginId, options = {}) => {
293
292
  // verify required parameter 'pluginId' is not null or undefined
294
293
  assertParamExists('updatePluginConfiguration', 'pluginId', pluginId);
295
294
  const localVarPath = `/Plugins/{pluginId}/Configuration`
@@ -300,19 +299,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
300
299
  if (configuration) {
301
300
  baseOptions = configuration.baseOptions;
302
301
  }
303
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
302
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
304
303
  const localVarHeaderParameter = {};
305
304
  const localVarQueryParameter = {};
306
305
  // authentication CustomAuthentication required
307
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
306
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
308
307
  setSearchParams(localVarUrlObj, localVarQueryParameter);
309
308
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
310
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
309
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
311
310
  return {
312
311
  url: toPathString(localVarUrlObj),
313
312
  options: localVarRequestOptions,
314
313
  };
315
- }),
314
+ },
316
315
  };
317
316
  };
318
317
  /**
@@ -330,11 +329,12 @@ const PluginsApiFp = function (configuration) {
330
329
  * @param {*} [options] Override http request option.
331
330
  * @throws {RequiredError}
332
331
  */
333
- disablePlugin(pluginId, version, options) {
334
- return __awaiter(this, void 0, void 0, function* () {
335
- const localVarAxiosArgs = yield localVarAxiosParamCreator.disablePlugin(pluginId, version, options);
336
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
- });
332
+ async disablePlugin(pluginId, version, options) {
333
+ var _a, _b, _c;
334
+ const localVarAxiosArgs = await localVarAxiosParamCreator.disablePlugin(pluginId, version, options);
335
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
336
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.disablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
337
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
338
338
  },
339
339
  /**
340
340
  *
@@ -344,11 +344,12 @@ const PluginsApiFp = function (configuration) {
344
344
  * @param {*} [options] Override http request option.
345
345
  * @throws {RequiredError}
346
346
  */
347
- enablePlugin(pluginId, version, options) {
348
- return __awaiter(this, void 0, void 0, function* () {
349
- const localVarAxiosArgs = yield localVarAxiosParamCreator.enablePlugin(pluginId, version, options);
350
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
351
- });
347
+ async enablePlugin(pluginId, version, options) {
348
+ var _a, _b, _c;
349
+ const localVarAxiosArgs = await localVarAxiosParamCreator.enablePlugin(pluginId, version, options);
350
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
351
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.enablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
352
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
352
353
  },
353
354
  /**
354
355
  *
@@ -357,11 +358,12 @@ const PluginsApiFp = function (configuration) {
357
358
  * @param {*} [options] Override http request option.
358
359
  * @throws {RequiredError}
359
360
  */
360
- getPluginConfiguration(pluginId, options) {
361
- return __awaiter(this, void 0, void 0, function* () {
362
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginConfiguration(pluginId, options);
363
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
364
- });
361
+ async getPluginConfiguration(pluginId, options) {
362
+ var _a, _b, _c;
363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginConfiguration(pluginId, options);
364
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
365
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
366
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
365
367
  },
366
368
  /**
367
369
  *
@@ -371,11 +373,12 @@ const PluginsApiFp = function (configuration) {
371
373
  * @param {*} [options] Override http request option.
372
374
  * @throws {RequiredError}
373
375
  */
374
- getPluginImage(pluginId, version, options) {
375
- return __awaiter(this, void 0, void 0, function* () {
376
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginImage(pluginId, version, options);
377
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
- });
376
+ async getPluginImage(pluginId, version, options) {
377
+ var _a, _b, _c;
378
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginImage(pluginId, version, options);
379
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
380
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
381
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
379
382
  },
380
383
  /**
381
384
  *
@@ -384,11 +387,12 @@ const PluginsApiFp = function (configuration) {
384
387
  * @param {*} [options] Override http request option.
385
388
  * @throws {RequiredError}
386
389
  */
387
- getPluginManifest(pluginId, options) {
388
- return __awaiter(this, void 0, void 0, function* () {
389
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginManifest(pluginId, options);
390
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
- });
390
+ async getPluginManifest(pluginId, options) {
391
+ var _a, _b, _c;
392
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginManifest(pluginId, options);
393
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
394
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
395
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
392
396
  },
393
397
  /**
394
398
  *
@@ -396,11 +400,12 @@ const PluginsApiFp = function (configuration) {
396
400
  * @param {*} [options] Override http request option.
397
401
  * @throws {RequiredError}
398
402
  */
399
- getPlugins(options) {
400
- return __awaiter(this, void 0, void 0, function* () {
401
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPlugins(options);
402
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
- });
403
+ async getPlugins(options) {
404
+ var _a, _b, _c;
405
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPlugins(options);
406
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
407
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPlugins']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
408
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
404
409
  },
405
410
  /**
406
411
  *
@@ -410,11 +415,12 @@ const PluginsApiFp = function (configuration) {
410
415
  * @deprecated
411
416
  * @throws {RequiredError}
412
417
  */
413
- uninstallPlugin(pluginId, options) {
414
- return __awaiter(this, void 0, void 0, function* () {
415
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallPlugin(pluginId, options);
416
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
417
- });
418
+ async uninstallPlugin(pluginId, options) {
419
+ var _a, _b, _c;
420
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPlugin(pluginId, options);
421
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
422
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
423
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
418
424
  },
419
425
  /**
420
426
  *
@@ -424,11 +430,12 @@ const PluginsApiFp = function (configuration) {
424
430
  * @param {*} [options] Override http request option.
425
431
  * @throws {RequiredError}
426
432
  */
427
- uninstallPluginByVersion(pluginId, version, options) {
428
- return __awaiter(this, void 0, void 0, function* () {
429
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options);
430
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
431
- });
433
+ async uninstallPluginByVersion(pluginId, version, options) {
434
+ var _a, _b, _c;
435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options);
436
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
437
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPluginByVersion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
438
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
432
439
  },
433
440
  /**
434
441
  * Accepts plugin configuration as JSON body.
@@ -437,11 +444,12 @@ const PluginsApiFp = function (configuration) {
437
444
  * @param {*} [options] Override http request option.
438
445
  * @throws {RequiredError}
439
446
  */
440
- updatePluginConfiguration(pluginId, options) {
441
- return __awaiter(this, void 0, void 0, function* () {
442
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options);
443
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
- });
447
+ async updatePluginConfiguration(pluginId, options) {
448
+ var _a, _b, _c;
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options);
450
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
451
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.updatePluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
452
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
445
453
  },
446
454
  };
447
455
  };
@@ -455,55 +463,52 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
455
463
  /**
456
464
  *
457
465
  * @summary Disable a plugin.
458
- * @param {string} pluginId Plugin id.
459
- * @param {string} version Plugin version.
466
+ * @param {PluginsApiDisablePluginRequest} requestParameters Request parameters.
460
467
  * @param {*} [options] Override http request option.
461
468
  * @throws {RequiredError}
462
469
  */
463
- disablePlugin(pluginId, version, options) {
464
- return localVarFp.disablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
470
+ disablePlugin(requestParameters, options) {
471
+ return localVarFp.disablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
465
472
  },
466
473
  /**
467
474
  *
468
475
  * @summary Enables a disabled plugin.
469
- * @param {string} pluginId Plugin id.
470
- * @param {string} version Plugin version.
476
+ * @param {PluginsApiEnablePluginRequest} requestParameters Request parameters.
471
477
  * @param {*} [options] Override http request option.
472
478
  * @throws {RequiredError}
473
479
  */
474
- enablePlugin(pluginId, version, options) {
475
- return localVarFp.enablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
480
+ enablePlugin(requestParameters, options) {
481
+ return localVarFp.enablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
476
482
  },
477
483
  /**
478
484
  *
479
485
  * @summary Gets plugin configuration.
480
- * @param {string} pluginId Plugin id.
486
+ * @param {PluginsApiGetPluginConfigurationRequest} requestParameters Request parameters.
481
487
  * @param {*} [options] Override http request option.
482
488
  * @throws {RequiredError}
483
489
  */
484
- getPluginConfiguration(pluginId, options) {
485
- return localVarFp.getPluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
490
+ getPluginConfiguration(requestParameters, options) {
491
+ return localVarFp.getPluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
486
492
  },
487
493
  /**
488
494
  *
489
495
  * @summary Gets a plugin\'s image.
490
- * @param {string} pluginId Plugin id.
491
- * @param {string} version Plugin version.
496
+ * @param {PluginsApiGetPluginImageRequest} requestParameters Request parameters.
492
497
  * @param {*} [options] Override http request option.
493
498
  * @throws {RequiredError}
494
499
  */
495
- getPluginImage(pluginId, version, options) {
496
- return localVarFp.getPluginImage(pluginId, version, options).then((request) => request(axios, basePath));
500
+ getPluginImage(requestParameters, options) {
501
+ return localVarFp.getPluginImage(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
497
502
  },
498
503
  /**
499
504
  *
500
505
  * @summary Gets a plugin\'s manifest.
501
- * @param {string} pluginId Plugin id.
506
+ * @param {PluginsApiGetPluginManifestRequest} requestParameters Request parameters.
502
507
  * @param {*} [options] Override http request option.
503
508
  * @throws {RequiredError}
504
509
  */
505
- getPluginManifest(pluginId, options) {
506
- return localVarFp.getPluginManifest(pluginId, options).then((request) => request(axios, basePath));
510
+ getPluginManifest(requestParameters, options) {
511
+ return localVarFp.getPluginManifest(requestParameters.pluginId, options).then((request) => request(axios, basePath));
507
512
  },
508
513
  /**
509
514
  *
@@ -517,34 +522,33 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
517
522
  /**
518
523
  *
519
524
  * @summary Uninstalls a plugin.
520
- * @param {string} pluginId Plugin id.
525
+ * @param {PluginsApiUninstallPluginRequest} requestParameters Request parameters.
521
526
  * @param {*} [options] Override http request option.
522
527
  * @deprecated
523
528
  * @throws {RequiredError}
524
529
  */
525
- uninstallPlugin(pluginId, options) {
526
- return localVarFp.uninstallPlugin(pluginId, options).then((request) => request(axios, basePath));
530
+ uninstallPlugin(requestParameters, options) {
531
+ return localVarFp.uninstallPlugin(requestParameters.pluginId, options).then((request) => request(axios, basePath));
527
532
  },
528
533
  /**
529
534
  *
530
535
  * @summary Uninstalls a plugin by version.
531
- * @param {string} pluginId Plugin id.
532
- * @param {string} version Plugin version.
536
+ * @param {PluginsApiUninstallPluginByVersionRequest} requestParameters Request parameters.
533
537
  * @param {*} [options] Override http request option.
534
538
  * @throws {RequiredError}
535
539
  */
536
- uninstallPluginByVersion(pluginId, version, options) {
537
- return localVarFp.uninstallPluginByVersion(pluginId, version, options).then((request) => request(axios, basePath));
540
+ uninstallPluginByVersion(requestParameters, options) {
541
+ return localVarFp.uninstallPluginByVersion(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
538
542
  },
539
543
  /**
540
544
  * Accepts plugin configuration as JSON body.
541
545
  * @summary Updates plugin configuration.
542
- * @param {string} pluginId Plugin id.
546
+ * @param {PluginsApiUpdatePluginConfigurationRequest} requestParameters Request parameters.
543
547
  * @param {*} [options] Override http request option.
544
548
  * @throws {RequiredError}
545
549
  */
546
- updatePluginConfiguration(pluginId, options) {
547
- return localVarFp.updatePluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
550
+ updatePluginConfiguration(requestParameters, options) {
551
+ return localVarFp.updatePluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
548
552
  },
549
553
  };
550
554
  };