@jellyfin/sdk 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (864) hide show
  1. package/README.md +23 -9
  2. package/lib/api.d.ts +4 -4
  3. package/lib/api.js +38 -68
  4. package/lib/discovery/discovery-service.d.ts +3 -1
  5. package/lib/discovery/discovery-service.js +27 -68
  6. package/lib/discovery/index.js +3 -18
  7. package/lib/discovery/recommended-server-discovery.d.ts +3 -1
  8. package/lib/discovery/recommended-server-discovery.js +56 -102
  9. package/lib/generated-client/api/activity-log-api.d.ts +4 -4
  10. package/lib/generated-client/api/activity-log-api.js +58 -165
  11. package/lib/generated-client/api/api-key-api.d.ts +10 -10
  12. package/lib/generated-client/api/api-key-api.js +112 -254
  13. package/lib/generated-client/api/artists-api.d.ts +10 -10
  14. package/lib/generated-client/api/artists-api.js +302 -446
  15. package/lib/generated-client/api/audio-api.d.ts +13 -13
  16. package/lib/generated-client/api/audio-api.js +714 -850
  17. package/lib/generated-client/api/branding-api.d.ts +10 -10
  18. package/lib/generated-client/api/branding-api.js +98 -222
  19. package/lib/generated-client/api/channels-api.d.ts +16 -16
  20. package/lib/generated-client/api/channels-api.js +230 -410
  21. package/lib/generated-client/api/client-log-api.d.ts +4 -4
  22. package/lib/generated-client/api/client-log-api.js +46 -153
  23. package/lib/generated-client/api/collection-api.d.ts +10 -10
  24. package/lib/generated-client/api/collection-api.js +132 -275
  25. package/lib/generated-client/api/configuration-api.d.ts +19 -19
  26. package/lib/generated-client/api/configuration-api.js +212 -408
  27. package/lib/generated-client/api/dashboard-api.d.ts +7 -7
  28. package/lib/generated-client/api/dashboard-api.js +78 -198
  29. package/lib/generated-client/api/devices-api.d.ts +16 -16
  30. package/lib/generated-client/api/devices-api.js +194 -373
  31. package/lib/generated-client/api/display-preferences-api.d.ts +7 -7
  32. package/lib/generated-client/api/display-preferences-api.js +104 -228
  33. package/lib/generated-client/api/dlna-api.d.ts +19 -19
  34. package/lib/generated-client/api/dlna-api.js +207 -404
  35. package/lib/generated-client/api/dlna-server-api.d.ts +49 -49
  36. package/lib/generated-client/api/dlna-server-api.js +545 -921
  37. package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -28
  38. package/lib/generated-client/api/dynamic-hls-api.js +1686 -1936
  39. package/lib/generated-client/api/environment-api.d.ts +19 -19
  40. package/lib/generated-client/api/environment-api.js +214 -410
  41. package/lib/generated-client/api/filter-api.d.ts +7 -7
  42. package/lib/generated-client/api/filter-api.js +116 -242
  43. package/lib/generated-client/api/genres-api.d.ts +7 -7
  44. package/lib/generated-client/api/genres-api.js +134 -259
  45. package/lib/generated-client/api/hls-segment-api.d.ts +16 -16
  46. package/lib/generated-client/api/hls-segment-api.js +198 -358
  47. package/lib/generated-client/api/image-api.d.ts +124 -124
  48. package/lib/generated-client/api/image-api.js +2914 -3568
  49. package/lib/generated-client/api/image-by-name-api.d.ts +19 -19
  50. package/lib/generated-client/api/image-by-name-api.js +206 -384
  51. package/lib/generated-client/api/instant-mix-api.d.ts +25 -25
  52. package/lib/generated-client/api/instant-mix-api.js +450 -682
  53. package/lib/generated-client/api/item-lookup-api.d.ts +34 -34
  54. package/lib/generated-client/api/item-lookup-api.js +393 -679
  55. package/lib/generated-client/api/item-refresh-api.d.ts +4 -4
  56. package/lib/generated-client/api/item-refresh-api.js +59 -165
  57. package/lib/generated-client/api/item-update-api.d.ts +10 -10
  58. package/lib/generated-client/api/item-update-api.js +120 -262
  59. package/lib/generated-client/api/items-api.d.ts +10 -10
  60. package/lib/generated-client/api/items-api.js +675 -818
  61. package/lib/generated-client/api/library-api.d.ts +76 -76
  62. package/lib/generated-client/api/library-api.js +939 -1485
  63. package/lib/generated-client/api/library-structure-api.d.ts +25 -25
  64. package/lib/generated-client/api/library-structure-api.js +305 -542
  65. package/lib/generated-client/api/live-tv-api.d.ts +124 -124
  66. package/lib/generated-client/api/live-tv-api.js +1674 -2509
  67. package/lib/generated-client/api/localization-api.d.ts +13 -13
  68. package/lib/generated-client/api/localization-api.js +134 -294
  69. package/lib/generated-client/api/media-info-api.d.ts +16 -16
  70. package/lib/generated-client/api/media-info-api.js +262 -442
  71. package/lib/generated-client/api/movies-api.d.ts +4 -4
  72. package/lib/generated-client/api/movies-api.js +59 -166
  73. package/lib/generated-client/api/music-genres-api.d.ts +7 -7
  74. package/lib/generated-client/api/music-genres-api.js +134 -259
  75. package/lib/generated-client/api/notifications-api.d.ts +22 -22
  76. package/lib/generated-client/api/notifications-api.js +240 -454
  77. package/lib/generated-client/api/package-api.d.ts +19 -19
  78. package/lib/generated-client/api/package-api.js +219 -415
  79. package/lib/generated-client/api/persons-api.d.ts +7 -7
  80. package/lib/generated-client/api/persons-api.js +119 -244
  81. package/lib/generated-client/api/playlists-api.d.ts +16 -16
  82. package/lib/generated-client/api/playlists-api.js +231 -410
  83. package/lib/generated-client/api/playstate-api.d.ts +28 -28
  84. package/lib/generated-client/api/playstate-api.js +399 -652
  85. package/lib/generated-client/api/plugins-api.d.ts +28 -28
  86. package/lib/generated-client/api/plugins-api.js +320 -570
  87. package/lib/generated-client/api/quick-connect-api.d.ts +13 -13
  88. package/lib/generated-client/api/quick-connect-api.js +138 -280
  89. package/lib/generated-client/api/remote-image-api.d.ts +10 -10
  90. package/lib/generated-client/api/remote-image-api.js +136 -278
  91. package/lib/generated-client/api/scheduled-tasks-api.d.ts +16 -16
  92. package/lib/generated-client/api/scheduled-tasks-api.js +186 -365
  93. package/lib/generated-client/api/search-api.d.ts +4 -4
  94. package/lib/generated-client/api/search-api.js +100 -206
  95. package/lib/generated-client/api/session-api.d.ts +49 -49
  96. package/lib/generated-client/api/session-api.js +632 -1010
  97. package/lib/generated-client/api/startup-api.d.ts +22 -22
  98. package/lib/generated-client/api/startup-api.js +234 -449
  99. package/lib/generated-client/api/studios-api.d.ts +7 -7
  100. package/lib/generated-client/api/studios-api.js +131 -256
  101. package/lib/generated-client/api/subtitle-api.d.ts +31 -31
  102. package/lib/generated-client/api/subtitle-api.js +433 -689
  103. package/lib/generated-client/api/suggestions-api.d.ts +4 -4
  104. package/lib/generated-client/api/suggestions-api.js +62 -168
  105. package/lib/generated-client/api/sync-play-api.d.ts +64 -64
  106. package/lib/generated-client/api/sync-play-api.js +708 -1174
  107. package/lib/generated-client/api/system-api.d.ts +31 -31
  108. package/lib/generated-client/api/system-api.js +313 -563
  109. package/lib/generated-client/api/time-sync-api.d.ts +4 -4
  110. package/lib/generated-client/api/time-sync-api.js +42 -142
  111. package/lib/generated-client/api/tmdb-api.d.ts +4 -4
  112. package/lib/generated-client/api/tmdb-api.js +44 -150
  113. package/lib/generated-client/api/trailers-api.d.ts +4 -4
  114. package/lib/generated-client/api/trailers-api.js +304 -411
  115. package/lib/generated-client/api/tv-shows-api.d.ts +13 -13
  116. package/lib/generated-client/api/tv-shows-api.js +280 -442
  117. package/lib/generated-client/api/universal-audio-api.d.ts +7 -7
  118. package/lib/generated-client/api/universal-audio-api.js +182 -306
  119. package/lib/generated-client/api/user-api.d.ts +49 -49
  120. package/lib/generated-client/api/user-api.js +560 -901
  121. package/lib/generated-client/api/user-library-api.d.ts +31 -31
  122. package/lib/generated-client/api/user-library-api.js +401 -669
  123. package/lib/generated-client/api/user-views-api.d.ts +7 -7
  124. package/lib/generated-client/api/user-views-api.js +89 -213
  125. package/lib/generated-client/api/video-attachments-api.d.ts +4 -4
  126. package/lib/generated-client/api/video-attachments-api.js +51 -151
  127. package/lib/generated-client/api/videos-api.d.ts +22 -22
  128. package/lib/generated-client/api/videos-api.js +842 -1032
  129. package/lib/generated-client/api/years-api.d.ts +7 -7
  130. package/lib/generated-client/api/years-api.js +125 -250
  131. package/lib/generated-client/base.d.ts +2 -2
  132. package/lib/generated-client/base.js +14 -64
  133. package/lib/generated-client/common.d.ts +2 -2
  134. package/lib/generated-client/common.js +28 -184
  135. package/lib/generated-client/configuration.js +8 -12
  136. package/lib/generated-client/index.js +136 -31
  137. package/lib/generated-client/models/access-schedule.d.ts +5 -5
  138. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  139. package/lib/generated-client/models/activity-log-entry.d.ts +10 -10
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/admin-notification-dto.d.ts +4 -4
  142. package/lib/generated-client/models/album-info-remote-search-query.d.ts +4 -4
  143. package/lib/generated-client/models/album-info.d.ts +14 -14
  144. package/lib/generated-client/models/all-theme-media-result.d.ts +3 -3
  145. package/lib/generated-client/models/architecture.d.ts +9 -8
  146. package/lib/generated-client/models/architecture.js +10 -12
  147. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +4 -4
  148. package/lib/generated-client/models/artist-info.d.ts +12 -12
  149. package/lib/generated-client/models/authenticate-user-by-name.d.ts +3 -3
  150. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  151. package/lib/generated-client/models/authentication-info.d.ts +12 -12
  152. package/lib/generated-client/models/authentication-result.d.ts +4 -4
  153. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +13 -13
  154. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  155. package/lib/generated-client/models/base-item-dto.d.ts +151 -151
  156. package/lib/generated-client/models/base-item-kind.d.ts +40 -39
  157. package/lib/generated-client/models/base-item-kind.js +41 -43
  158. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -13
  159. package/lib/generated-client/models/base-item-person.d.ts +6 -6
  160. package/lib/generated-client/models/base-item.d.ts +11 -11
  161. package/lib/generated-client/models/book-info-remote-search-query.d.ts +4 -4
  162. package/lib/generated-client/models/book-info.d.ts +12 -12
  163. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +4 -4
  164. package/lib/generated-client/models/box-set-info.d.ts +11 -11
  165. package/lib/generated-client/models/branding-options.d.ts +3 -3
  166. package/lib/generated-client/models/buffer-request-dto.d.ts +4 -4
  167. package/lib/generated-client/models/channel-features.d.ts +12 -12
  168. package/lib/generated-client/models/channel-item-sort-field.d.ts +10 -9
  169. package/lib/generated-client/models/channel-item-sort-field.js +11 -13
  170. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +4 -4
  171. package/lib/generated-client/models/channel-media-content-type.d.ts +11 -10
  172. package/lib/generated-client/models/channel-media-content-type.js +12 -14
  173. package/lib/generated-client/models/channel-media-type.d.ts +6 -5
  174. package/lib/generated-client/models/channel-media-type.js +7 -9
  175. package/lib/generated-client/models/channel-type.d.ts +5 -4
  176. package/lib/generated-client/models/channel-type.js +6 -8
  177. package/lib/generated-client/models/chapter-info.d.ts +5 -5
  178. package/lib/generated-client/models/client-capabilities-dto.d.ts +10 -10
  179. package/lib/generated-client/models/client-capabilities.d.ts +10 -10
  180. package/lib/generated-client/models/client-log-document-response-dto.d.ts +1 -1
  181. package/lib/generated-client/models/codec-profile.d.ts +5 -5
  182. package/lib/generated-client/models/codec-type.d.ts +6 -5
  183. package/lib/generated-client/models/codec-type.js +7 -9
  184. package/lib/generated-client/models/collection-creation-result.d.ts +1 -1
  185. package/lib/generated-client/models/collection-type-options.d.ts +11 -10
  186. package/lib/generated-client/models/collection-type-options.js +12 -14
  187. package/lib/generated-client/models/config-image-types.d.ts +7 -7
  188. package/lib/generated-client/models/configuration-page-info.d.ts +6 -6
  189. package/lib/generated-client/models/container-profile.d.ts +3 -3
  190. package/lib/generated-client/models/control-response.d.ts +3 -3
  191. package/lib/generated-client/models/country-info.d.ts +4 -4
  192. package/lib/generated-client/models/create-playlist-dto.d.ts +4 -4
  193. package/lib/generated-client/models/create-user-by-name.d.ts +2 -2
  194. package/lib/generated-client/models/culture-dto.d.ts +5 -5
  195. package/lib/generated-client/models/day-of-week.d.ts +10 -9
  196. package/lib/generated-client/models/day-of-week.js +11 -13
  197. package/lib/generated-client/models/day-pattern.d.ts +6 -5
  198. package/lib/generated-client/models/day-pattern.js +7 -9
  199. package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +1 -1
  200. package/lib/generated-client/models/device-identification.d.ts +9 -9
  201. package/lib/generated-client/models/device-info-query-result.d.ts +3 -3
  202. package/lib/generated-client/models/device-info.d.ts +10 -10
  203. package/lib/generated-client/models/device-options-dto.d.ts +3 -3
  204. package/lib/generated-client/models/device-options.d.ts +3 -3
  205. package/lib/generated-client/models/device-profile-info.d.ts +3 -3
  206. package/lib/generated-client/models/device-profile-type.d.ts +5 -4
  207. package/lib/generated-client/models/device-profile-type.js +6 -8
  208. package/lib/generated-client/models/device-profile.d.ts +39 -39
  209. package/lib/generated-client/models/direct-play-profile.d.ts +4 -4
  210. package/lib/generated-client/models/display-preferences-dto.d.ts +14 -14
  211. package/lib/generated-client/models/dlna-options.d.ts +11 -11
  212. package/lib/generated-client/models/dlna-profile-type.d.ts +7 -6
  213. package/lib/generated-client/models/dlna-profile-type.js +8 -10
  214. package/lib/generated-client/models/dynamic-day-of-week.d.ts +13 -12
  215. package/lib/generated-client/models/dynamic-day-of-week.js +14 -16
  216. package/lib/generated-client/models/embedded-subtitle-options.d.ts +7 -6
  217. package/lib/generated-client/models/embedded-subtitle-options.js +8 -10
  218. package/lib/generated-client/models/encoding-context.d.ts +5 -4
  219. package/lib/generated-client/models/encoding-context.js +6 -8
  220. package/lib/generated-client/models/encoding-options.d.ts +38 -38
  221. package/lib/generated-client/models/end-point-info.d.ts +2 -2
  222. package/lib/generated-client/models/external-id-info.d.ts +4 -4
  223. package/lib/generated-client/models/external-id-media-type.d.ts +15 -14
  224. package/lib/generated-client/models/external-id-media-type.js +16 -18
  225. package/lib/generated-client/models/external-url.d.ts +2 -2
  226. package/lib/generated-client/models/ffmpeg-location.d.ts +7 -6
  227. package/lib/generated-client/models/ffmpeg-location.js +8 -10
  228. package/lib/generated-client/models/file-system-entry-info.d.ts +3 -3
  229. package/lib/generated-client/models/file-system-entry-type.d.ts +7 -6
  230. package/lib/generated-client/models/file-system-entry-type.js +8 -10
  231. package/lib/generated-client/models/font-file.d.ts +4 -4
  232. package/lib/generated-client/models/forgot-password-action.d.ts +6 -5
  233. package/lib/generated-client/models/forgot-password-action.js +7 -9
  234. package/lib/generated-client/models/forgot-password-dto.d.ts +1 -1
  235. package/lib/generated-client/models/forgot-password-pin-dto.d.ts +1 -1
  236. package/lib/generated-client/models/forgot-password-result.d.ts +3 -3
  237. package/lib/generated-client/models/general-command-type.d.ts +45 -44
  238. package/lib/generated-client/models/general-command-type.js +46 -48
  239. package/lib/generated-client/models/general-command.d.ts +3 -3
  240. package/lib/generated-client/models/get-programs-dto.d.ts +27 -27
  241. package/lib/generated-client/models/group-info-dto.d.ts +5 -5
  242. package/lib/generated-client/models/group-queue-mode.d.ts +5 -4
  243. package/lib/generated-client/models/group-queue-mode.js +6 -8
  244. package/lib/generated-client/models/group-repeat-mode.d.ts +6 -5
  245. package/lib/generated-client/models/group-repeat-mode.js +7 -9
  246. package/lib/generated-client/models/group-shuffle-mode.d.ts +5 -4
  247. package/lib/generated-client/models/group-shuffle-mode.js +6 -8
  248. package/lib/generated-client/models/group-state-type.d.ts +7 -6
  249. package/lib/generated-client/models/group-state-type.js +8 -10
  250. package/lib/generated-client/models/group-update-type.d.ts +14 -13
  251. package/lib/generated-client/models/group-update-type.js +15 -17
  252. package/lib/generated-client/models/guide-info.d.ts +2 -2
  253. package/lib/generated-client/models/hardware-encoding-type.d.ts +9 -8
  254. package/lib/generated-client/models/hardware-encoding-type.js +10 -12
  255. package/lib/generated-client/models/header-match-type.d.ts +6 -5
  256. package/lib/generated-client/models/header-match-type.js +7 -9
  257. package/lib/generated-client/models/http-header-info.d.ts +3 -3
  258. package/lib/generated-client/models/ignore-wait-request-dto.d.ts +1 -1
  259. package/lib/generated-client/models/image-by-name-info.d.ts +5 -5
  260. package/lib/generated-client/models/image-format.d.ts +8 -7
  261. package/lib/generated-client/models/image-format.js +9 -11
  262. package/lib/generated-client/models/image-info.d.ts +8 -8
  263. package/lib/generated-client/models/image-option.d.ts +3 -3
  264. package/lib/generated-client/models/image-orientation.d.ts +11 -10
  265. package/lib/generated-client/models/image-orientation.js +12 -14
  266. package/lib/generated-client/models/image-provider-info.d.ts +2 -2
  267. package/lib/generated-client/models/image-saving-convention.d.ts +5 -4
  268. package/lib/generated-client/models/image-saving-convention.js +6 -8
  269. package/lib/generated-client/models/image-type.d.ts +16 -15
  270. package/lib/generated-client/models/image-type.js +17 -19
  271. package/lib/generated-client/models/index.d.ts +1 -0
  272. package/lib/generated-client/models/index.js +74 -300
  273. package/lib/generated-client/models/installation-info.d.ts +7 -7
  274. package/lib/generated-client/models/iplugin.d.ts +7 -7
  275. package/lib/generated-client/models/iso-type.d.ts +5 -4
  276. package/lib/generated-client/models/iso-type.js +6 -8
  277. package/lib/generated-client/models/item-counts.d.ts +12 -12
  278. package/lib/generated-client/models/item-fields.d.ts +64 -63
  279. package/lib/generated-client/models/item-fields.js +65 -67
  280. package/lib/generated-client/models/item-filter.d.ts +12 -11
  281. package/lib/generated-client/models/item-filter.js +13 -15
  282. package/lib/generated-client/models/join-group-request-dto.d.ts +1 -1
  283. package/lib/generated-client/models/keep-until.d.ts +7 -6
  284. package/lib/generated-client/models/keep-until.js +8 -10
  285. package/lib/generated-client/models/library-option-info-dto.d.ts +2 -2
  286. package/lib/generated-client/models/library-options-result-dto.d.ts +4 -4
  287. package/lib/generated-client/models/library-options.d.ts +27 -27
  288. package/lib/generated-client/models/library-type-options-dto.d.ts +5 -5
  289. package/lib/generated-client/models/library-update-info.d.ts +7 -7
  290. package/lib/generated-client/models/listings-provider-info.d.ts +18 -18
  291. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  292. package/lib/generated-client/models/live-tv-info.d.ts +3 -3
  293. package/lib/generated-client/models/live-tv-options.d.ts +13 -13
  294. package/lib/generated-client/models/live-tv-service-info.d.ts +8 -8
  295. package/lib/generated-client/models/live-tv-service-status.d.ts +5 -4
  296. package/lib/generated-client/models/live-tv-service-status.js +6 -8
  297. package/lib/generated-client/models/localization-option.d.ts +2 -2
  298. package/lib/generated-client/models/location-type.d.ts +7 -6
  299. package/lib/generated-client/models/location-type.js +8 -10
  300. package/lib/generated-client/models/log-file.d.ts +4 -4
  301. package/lib/generated-client/models/log-level.d.ts +10 -9
  302. package/lib/generated-client/models/log-level.js +11 -13
  303. package/lib/generated-client/models/media-attachment.d.ts +7 -7
  304. package/lib/generated-client/models/media-encoder-path-dto.d.ts +2 -2
  305. package/lib/generated-client/models/media-path-dto.d.ts +3 -3
  306. package/lib/generated-client/models/media-path-info.d.ts +2 -2
  307. package/lib/generated-client/models/media-protocol.d.ts +10 -9
  308. package/lib/generated-client/models/media-protocol.js +11 -13
  309. package/lib/generated-client/models/media-source-info.d.ts +42 -42
  310. package/lib/generated-client/models/media-source-type.d.ts +6 -5
  311. package/lib/generated-client/models/media-source-type.js +7 -9
  312. package/lib/generated-client/models/media-stream-type.d.ts +8 -6
  313. package/lib/generated-client/models/media-stream-type.js +9 -10
  314. package/lib/generated-client/models/media-stream.d.ts +58 -58
  315. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  316. package/lib/generated-client/models/media-update-info-path-dto.d.ts +2 -2
  317. package/lib/generated-client/models/media-url.d.ts +2 -2
  318. package/lib/generated-client/models/message-command.d.ts +3 -3
  319. package/lib/generated-client/models/metadata-configuration.d.ts +1 -1
  320. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  321. package/lib/generated-client/models/metadata-field.d.ts +12 -11
  322. package/lib/generated-client/models/metadata-field.js +13 -15
  323. package/lib/generated-client/models/metadata-options.d.ts +7 -7
  324. package/lib/generated-client/models/metadata-refresh-mode.d.ts +7 -6
  325. package/lib/generated-client/models/metadata-refresh-mode.js +8 -10
  326. package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +2 -2
  327. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +4 -4
  328. package/lib/generated-client/models/movie-info.d.ts +11 -11
  329. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +4 -4
  330. package/lib/generated-client/models/music-video-info.d.ts +12 -12
  331. package/lib/generated-client/models/name-guid-pair.d.ts +2 -2
  332. package/lib/generated-client/models/name-id-pair.d.ts +2 -2
  333. package/lib/generated-client/models/name-value-pair.d.ts +2 -2
  334. package/lib/generated-client/models/network-configuration.d.ts +34 -34
  335. package/lib/generated-client/models/new-group-request-dto.d.ts +1 -1
  336. package/lib/generated-client/models/next-item-request-dto.d.ts +1 -1
  337. package/lib/generated-client/models/notification-dto.d.ts +8 -8
  338. package/lib/generated-client/models/notification-level.d.ts +6 -5
  339. package/lib/generated-client/models/notification-level.js +7 -9
  340. package/lib/generated-client/models/notification-option.d.ts +6 -6
  341. package/lib/generated-client/models/notification-options.d.ts +1 -1
  342. package/lib/generated-client/models/notification-result-dto.d.ts +2 -2
  343. package/lib/generated-client/models/notification-type-info.d.ts +5 -5
  344. package/lib/generated-client/models/notifications-summary-dto.d.ts +2 -2
  345. package/lib/generated-client/models/object-group-update.d.ts +3 -3
  346. package/lib/generated-client/models/open-live-stream-dto.d.ts +13 -13
  347. package/lib/generated-client/models/package-info.d.ts +8 -8
  348. package/lib/generated-client/models/parental-rating.d.ts +2 -2
  349. package/lib/generated-client/models/path-substitution.d.ts +2 -2
  350. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +4 -4
  351. package/lib/generated-client/models/person-lookup-info.d.ts +11 -11
  352. package/lib/generated-client/models/pin-redeem-result.d.ts +2 -2
  353. package/lib/generated-client/models/ping-request-dto.d.ts +1 -1
  354. package/lib/generated-client/models/play-access.d.ts +5 -4
  355. package/lib/generated-client/models/play-access.js +6 -8
  356. package/lib/generated-client/models/play-command.d.ts +8 -7
  357. package/lib/generated-client/models/play-command.js +9 -11
  358. package/lib/generated-client/models/play-method.d.ts +6 -5
  359. package/lib/generated-client/models/play-method.js +7 -9
  360. package/lib/generated-client/models/play-request-dto.d.ts +3 -3
  361. package/lib/generated-client/models/play-request.d.ts +8 -8
  362. package/lib/generated-client/models/playback-error-code.d.ts +6 -5
  363. package/lib/generated-client/models/playback-error-code.js +7 -9
  364. package/lib/generated-client/models/playback-info-dto.d.ts +15 -15
  365. package/lib/generated-client/models/playback-info-response.d.ts +3 -3
  366. package/lib/generated-client/models/playback-progress-info.d.ts +20 -20
  367. package/lib/generated-client/models/playback-start-info.d.ts +20 -20
  368. package/lib/generated-client/models/playback-stop-info.d.ts +11 -11
  369. package/lib/generated-client/models/player-state-info.d.ts +11 -11
  370. package/lib/generated-client/models/playlist-creation-result.d.ts +1 -1
  371. package/lib/generated-client/models/playstate-command.d.ts +12 -11
  372. package/lib/generated-client/models/playstate-command.js +13 -15
  373. package/lib/generated-client/models/playstate-request.d.ts +3 -3
  374. package/lib/generated-client/models/plugin-info.d.ts +8 -8
  375. package/lib/generated-client/models/plugin-status.d.ts +10 -9
  376. package/lib/generated-client/models/plugin-status.js +11 -13
  377. package/lib/generated-client/models/previous-item-request-dto.d.ts +1 -1
  378. package/lib/generated-client/models/problem-details.d.ts +5 -5
  379. package/lib/generated-client/models/profile-condition-type.d.ts +8 -7
  380. package/lib/generated-client/models/profile-condition-type.js +9 -11
  381. package/lib/generated-client/models/profile-condition-value.d.ts +27 -26
  382. package/lib/generated-client/models/profile-condition-value.js +28 -30
  383. package/lib/generated-client/models/profile-condition.d.ts +4 -4
  384. package/lib/generated-client/models/program-audio.d.ts +9 -8
  385. package/lib/generated-client/models/program-audio.js +10 -12
  386. package/lib/generated-client/models/public-system-info.d.ts +7 -7
  387. package/lib/generated-client/models/query-filters-legacy.d.ts +4 -4
  388. package/lib/generated-client/models/query-filters.d.ts +2 -2
  389. package/lib/generated-client/models/queue-item.d.ts +2 -2
  390. package/lib/generated-client/models/queue-request-dto.d.ts +2 -2
  391. package/lib/generated-client/models/quick-connect-dto.d.ts +1 -1
  392. package/lib/generated-client/models/quick-connect-result.d.ts +8 -8
  393. package/lib/generated-client/models/rating-type.d.ts +5 -4
  394. package/lib/generated-client/models/rating-type.js +6 -8
  395. package/lib/generated-client/models/ready-request-dto.d.ts +4 -4
  396. package/lib/generated-client/models/recommendation-dto.d.ts +4 -4
  397. package/lib/generated-client/models/recommendation-type.d.ts +9 -8
  398. package/lib/generated-client/models/recommendation-type.js +10 -12
  399. package/lib/generated-client/models/recording-status.d.ts +10 -9
  400. package/lib/generated-client/models/recording-status.js +11 -13
  401. package/lib/generated-client/models/remote-image-info.d.ts +10 -10
  402. package/lib/generated-client/models/remote-image-result.d.ts +3 -3
  403. package/lib/generated-client/models/remote-search-result.d.ts +12 -12
  404. package/lib/generated-client/models/remote-subtitle-info.d.ts +11 -11
  405. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +3 -3
  406. package/lib/generated-client/models/repeat-mode.d.ts +6 -5
  407. package/lib/generated-client/models/repeat-mode.js +7 -9
  408. package/lib/generated-client/models/repository-info.d.ts +3 -3
  409. package/lib/generated-client/models/response-profile.d.ts +7 -7
  410. package/lib/generated-client/models/scroll-direction.d.ts +5 -4
  411. package/lib/generated-client/models/scroll-direction.js +6 -8
  412. package/lib/generated-client/models/search-hint-result.d.ts +2 -2
  413. package/lib/generated-client/models/search-hint.d.ts +29 -29
  414. package/lib/generated-client/models/seek-request-dto.d.ts +1 -1
  415. package/lib/generated-client/models/send-command-type.d.ts +7 -6
  416. package/lib/generated-client/models/send-command-type.js +8 -10
  417. package/lib/generated-client/models/send-command.d.ts +6 -6
  418. package/lib/generated-client/models/send-to-user-type.d.ts +6 -5
  419. package/lib/generated-client/models/send-to-user-type.js +7 -9
  420. package/lib/generated-client/models/series-info-remote-search-query.d.ts +4 -4
  421. package/lib/generated-client/models/series-info.d.ts +11 -11
  422. package/lib/generated-client/models/series-status.d.ts +5 -4
  423. package/lib/generated-client/models/series-status.js +6 -8
  424. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  425. package/lib/generated-client/models/series-timer-info-dto.d.ts +35 -35
  426. package/lib/generated-client/models/server-configuration.d.ts +48 -48
  427. package/lib/generated-client/models/server-discovery-info.d.ts +4 -4
  428. package/lib/generated-client/models/session-info.d.ts +29 -29
  429. package/lib/generated-client/models/session-message-type.d.ts +37 -36
  430. package/lib/generated-client/models/session-message-type.js +38 -40
  431. package/lib/generated-client/models/session-user-info.d.ts +2 -2
  432. package/lib/generated-client/models/set-channel-mapping-dto.d.ts +3 -3
  433. package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +1 -1
  434. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  435. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  436. package/lib/generated-client/models/song-info.d.ts +14 -14
  437. package/lib/generated-client/models/sort-order.d.ts +5 -4
  438. package/lib/generated-client/models/sort-order.js +6 -8
  439. package/lib/generated-client/models/special-view-option-dto.d.ts +2 -2
  440. package/lib/generated-client/models/startup-configuration-dto.d.ts +3 -3
  441. package/lib/generated-client/models/startup-remote-access-dto.d.ts +2 -2
  442. package/lib/generated-client/models/startup-user-dto.d.ts +2 -2
  443. package/lib/generated-client/models/subtitle-delivery-method.d.ts +8 -7
  444. package/lib/generated-client/models/subtitle-delivery-method.js +9 -11
  445. package/lib/generated-client/models/subtitle-options.d.ts +9 -9
  446. package/lib/generated-client/models/subtitle-playback-mode.d.ts +8 -7
  447. package/lib/generated-client/models/subtitle-playback-mode.js +9 -11
  448. package/lib/generated-client/models/subtitle-profile.d.ts +5 -5
  449. package/lib/generated-client/models/sync-play-user-access-type.d.ts +6 -5
  450. package/lib/generated-client/models/sync-play-user-access-type.js +7 -9
  451. package/lib/generated-client/models/system-info.d.ts +26 -26
  452. package/lib/generated-client/models/task-completion-status.d.ts +7 -6
  453. package/lib/generated-client/models/task-completion-status.js +8 -10
  454. package/lib/generated-client/models/task-info.d.ts +10 -10
  455. package/lib/generated-client/models/task-result.d.ts +8 -8
  456. package/lib/generated-client/models/task-state.d.ts +6 -5
  457. package/lib/generated-client/models/task-state.js +7 -9
  458. package/lib/generated-client/models/task-trigger-info.d.ts +5 -5
  459. package/lib/generated-client/models/theme-media-result.d.ts +4 -4
  460. package/lib/generated-client/models/timer-event-info.d.ts +2 -2
  461. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  462. package/lib/generated-client/models/timer-info-dto.d.ts +28 -28
  463. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +4 -4
  464. package/lib/generated-client/models/trailer-info.d.ts +11 -11
  465. package/lib/generated-client/models/transcode-reason.d.ts +43 -0
  466. package/lib/generated-client/models/transcode-reason.js +46 -0
  467. package/lib/generated-client/models/transcode-seek-info.d.ts +5 -4
  468. package/lib/generated-client/models/transcode-seek-info.js +6 -8
  469. package/lib/generated-client/models/transcoding-info.d.ts +15 -45
  470. package/lib/generated-client/models/transcoding-profile.d.ts +16 -16
  471. package/lib/generated-client/models/transport-stream-timestamp.d.ts +6 -5
  472. package/lib/generated-client/models/transport-stream-timestamp.js +7 -9
  473. package/lib/generated-client/models/tuner-channel-mapping.d.ts +4 -4
  474. package/lib/generated-client/models/tuner-host-info.d.ts +11 -11
  475. package/lib/generated-client/models/type-options.d.ts +6 -6
  476. package/lib/generated-client/models/unrated-item.d.ts +12 -11
  477. package/lib/generated-client/models/unrated-item.js +13 -15
  478. package/lib/generated-client/models/update-library-options-dto.d.ts +2 -2
  479. package/lib/generated-client/models/update-media-path-request-dto.d.ts +2 -2
  480. package/lib/generated-client/models/update-user-easy-password.d.ts +3 -3
  481. package/lib/generated-client/models/update-user-password.d.ts +4 -4
  482. package/lib/generated-client/models/upload-subtitle-dto.d.ts +4 -4
  483. package/lib/generated-client/models/user-configuration.d.ts +15 -15
  484. package/lib/generated-client/models/user-dto.d.ts +14 -14
  485. package/lib/generated-client/models/user-item-data-dto.d.ts +11 -11
  486. package/lib/generated-client/models/user-policy.d.ts +39 -39
  487. package/lib/generated-client/models/utc-time-response.d.ts +2 -2
  488. package/lib/generated-client/models/validate-path-dto.d.ts +3 -3
  489. package/lib/generated-client/models/version-info.d.ts +9 -9
  490. package/lib/generated-client/models/video-type.d.ts +7 -6
  491. package/lib/generated-client/models/video-type.js +8 -10
  492. package/lib/generated-client/models/video3-dformat.d.ts +8 -7
  493. package/lib/generated-client/models/video3-dformat.js +9 -11
  494. package/lib/generated-client/models/virtual-folder-info.d.ts +8 -8
  495. package/lib/generated-client/models/wake-on-lan-info.d.ts +2 -2
  496. package/lib/generated-client/models/xbmc-metadata-options.d.ts +5 -5
  497. package/lib/generated-client/models/xml-attribute.d.ts +2 -2
  498. package/lib/index.js +9 -39
  499. package/lib/jellyfin.d.ts +5 -7
  500. package/lib/jellyfin.js +12 -18
  501. package/lib/models/api/image-request-parameters.d.ts +1 -1
  502. package/lib/models/api/index.js +1 -23
  503. package/lib/models/api/item-sort-by.js +3 -4
  504. package/lib/models/index.js +2 -25
  505. package/lib/models/recommended-server-info.d.ts +2 -2
  506. package/lib/models/recommended-server-info.js +3 -4
  507. package/lib/models/recommended-server-issue.js +31 -77
  508. package/lib/node_modules/tslib/tslib.es6.js +26 -0
  509. package/lib/utils/address-candidates.js +30 -30
  510. package/lib/utils/api/activity-log-api.d.ts +1 -1
  511. package/lib/utils/api/activity-log-api.js +5 -6
  512. package/lib/utils/api/api-key-api.d.ts +1 -1
  513. package/lib/utils/api/api-key-api.js +5 -6
  514. package/lib/utils/api/artists-api.d.ts +1 -1
  515. package/lib/utils/api/artists-api.js +5 -6
  516. package/lib/utils/api/audio-api.d.ts +1 -1
  517. package/lib/utils/api/audio-api.js +5 -6
  518. package/lib/utils/api/branding-api.d.ts +1 -1
  519. package/lib/utils/api/branding-api.js +5 -6
  520. package/lib/utils/api/channels-api.d.ts +1 -1
  521. package/lib/utils/api/channels-api.js +5 -6
  522. package/lib/utils/api/client-log-api.d.ts +1 -1
  523. package/lib/utils/api/client-log-api.js +5 -6
  524. package/lib/utils/api/collection-api.d.ts +1 -1
  525. package/lib/utils/api/collection-api.js +5 -6
  526. package/lib/utils/api/configuration-api.d.ts +1 -1
  527. package/lib/utils/api/configuration-api.js +5 -6
  528. package/lib/utils/api/dashboard-api.d.ts +1 -1
  529. package/lib/utils/api/dashboard-api.js +5 -6
  530. package/lib/utils/api/devices-api.d.ts +1 -1
  531. package/lib/utils/api/devices-api.js +5 -6
  532. package/lib/utils/api/display-preferences-api.d.ts +1 -1
  533. package/lib/utils/api/display-preferences-api.js +5 -6
  534. package/lib/utils/api/dlna-api.d.ts +1 -1
  535. package/lib/utils/api/dlna-api.js +5 -6
  536. package/lib/utils/api/dlna-server-api.d.ts +1 -1
  537. package/lib/utils/api/dlna-server-api.js +5 -6
  538. package/lib/utils/api/dynamic-hls-api.d.ts +1 -1
  539. package/lib/utils/api/dynamic-hls-api.js +5 -6
  540. package/lib/utils/api/environment-api.d.ts +1 -1
  541. package/lib/utils/api/environment-api.js +5 -6
  542. package/lib/utils/api/filter-api.d.ts +1 -1
  543. package/lib/utils/api/filter-api.js +5 -6
  544. package/lib/utils/api/genres-api.d.ts +1 -1
  545. package/lib/utils/api/genres-api.js +5 -6
  546. package/lib/utils/api/hls-segment-api.d.ts +1 -1
  547. package/lib/utils/api/hls-segment-api.js +5 -6
  548. package/lib/utils/api/image-api.d.ts +1 -1
  549. package/lib/utils/api/image-api.js +5 -6
  550. package/lib/utils/api/image-by-name-api.d.ts +1 -1
  551. package/lib/utils/api/image-by-name-api.js +5 -6
  552. package/lib/utils/api/index.d.ts +66 -0
  553. package/lib/utils/api/index.js +61 -0
  554. package/lib/utils/api/instant-mix-api.d.ts +1 -1
  555. package/lib/utils/api/instant-mix-api.js +5 -6
  556. package/lib/utils/api/item-lookup-api.d.ts +1 -1
  557. package/lib/utils/api/item-lookup-api.js +5 -6
  558. package/lib/utils/api/item-refresh-api.d.ts +1 -1
  559. package/lib/utils/api/item-refresh-api.js +5 -6
  560. package/lib/utils/api/item-update-api.d.ts +1 -1
  561. package/lib/utils/api/item-update-api.js +5 -6
  562. package/lib/utils/api/items-api.d.ts +1 -1
  563. package/lib/utils/api/items-api.js +5 -6
  564. package/lib/utils/api/library-api.d.ts +1 -1
  565. package/lib/utils/api/library-api.js +5 -6
  566. package/lib/utils/api/library-structure-api.d.ts +1 -1
  567. package/lib/utils/api/library-structure-api.js +5 -6
  568. package/lib/utils/api/live-tv-api.d.ts +1 -1
  569. package/lib/utils/api/live-tv-api.js +5 -6
  570. package/lib/utils/api/localization-api.d.ts +1 -1
  571. package/lib/utils/api/localization-api.js +5 -6
  572. package/lib/utils/api/media-info-api.d.ts +1 -1
  573. package/lib/utils/api/media-info-api.js +5 -6
  574. package/lib/utils/api/movies-api.d.ts +1 -1
  575. package/lib/utils/api/movies-api.js +5 -6
  576. package/lib/utils/api/music-genres-api.d.ts +1 -1
  577. package/lib/utils/api/music-genres-api.js +5 -6
  578. package/lib/utils/api/notifications-api.d.ts +1 -1
  579. package/lib/utils/api/notifications-api.js +5 -6
  580. package/lib/utils/api/package-api.d.ts +1 -1
  581. package/lib/utils/api/package-api.js +5 -6
  582. package/lib/utils/api/persons-api.d.ts +1 -1
  583. package/lib/utils/api/persons-api.js +5 -6
  584. package/lib/utils/api/playlists-api.d.ts +1 -1
  585. package/lib/utils/api/playlists-api.js +5 -6
  586. package/lib/utils/api/playstate-api.d.ts +1 -1
  587. package/lib/utils/api/playstate-api.js +5 -6
  588. package/lib/utils/api/plugins-api.d.ts +1 -1
  589. package/lib/utils/api/plugins-api.js +5 -6
  590. package/lib/utils/api/quick-connect-api.d.ts +1 -1
  591. package/lib/utils/api/quick-connect-api.js +5 -6
  592. package/lib/utils/api/remote-image-api.d.ts +1 -1
  593. package/lib/utils/api/remote-image-api.js +5 -6
  594. package/lib/utils/api/scheduled-tasks-api.d.ts +1 -1
  595. package/lib/utils/api/scheduled-tasks-api.js +5 -6
  596. package/lib/utils/api/search-api.d.ts +1 -1
  597. package/lib/utils/api/search-api.js +5 -6
  598. package/lib/utils/api/session-api.d.ts +1 -1
  599. package/lib/utils/api/session-api.js +5 -6
  600. package/lib/utils/api/startup-api.d.ts +1 -1
  601. package/lib/utils/api/startup-api.js +5 -6
  602. package/lib/utils/api/studios-api.d.ts +1 -1
  603. package/lib/utils/api/studios-api.js +5 -6
  604. package/lib/utils/api/subtitle-api.d.ts +1 -1
  605. package/lib/utils/api/subtitle-api.js +5 -6
  606. package/lib/utils/api/suggestions-api.d.ts +1 -1
  607. package/lib/utils/api/suggestions-api.js +5 -6
  608. package/lib/utils/api/sync-play-api.d.ts +1 -1
  609. package/lib/utils/api/sync-play-api.js +5 -6
  610. package/lib/utils/api/system-api.d.ts +1 -1
  611. package/lib/utils/api/system-api.js +5 -6
  612. package/lib/utils/api/time-sync-api.d.ts +1 -1
  613. package/lib/utils/api/time-sync-api.js +5 -6
  614. package/lib/utils/api/tmdb-api.d.ts +1 -1
  615. package/lib/utils/api/tmdb-api.js +5 -6
  616. package/lib/utils/api/trailers-api.d.ts +1 -1
  617. package/lib/utils/api/trailers-api.js +5 -6
  618. package/lib/utils/api/tv-shows-api.d.ts +1 -1
  619. package/lib/utils/api/tv-shows-api.js +5 -6
  620. package/lib/utils/api/universal-audio-api.d.ts +1 -1
  621. package/lib/utils/api/universal-audio-api.js +5 -6
  622. package/lib/utils/api/user-api.d.ts +1 -1
  623. package/lib/utils/api/user-api.js +5 -6
  624. package/lib/utils/api/user-library-api.d.ts +1 -1
  625. package/lib/utils/api/user-library-api.js +5 -6
  626. package/lib/utils/api/user-views-api.d.ts +1 -1
  627. package/lib/utils/api/user-views-api.js +5 -6
  628. package/lib/utils/api/video-attachments-api.d.ts +1 -1
  629. package/lib/utils/api/video-attachments-api.js +5 -6
  630. package/lib/utils/api/videos-api.d.ts +1 -1
  631. package/lib/utils/api/videos-api.js +5 -6
  632. package/lib/utils/api/years-api.d.ts +1 -1
  633. package/lib/utils/api/years-api.js +5 -6
  634. package/lib/utils/authentication.d.ts +1 -1
  635. package/lib/utils/authentication.js +8 -11
  636. package/lib/utils/browser-profiles.d.ts +1 -1
  637. package/lib/utils/browser-profiles.js +11 -12
  638. package/lib/utils/index.js +6 -20
  639. package/lib/utils/url/constants.d.ts +13 -0
  640. package/lib/utils/url/constants.js +15 -0
  641. package/lib/utils/{url.d.ts → url/index.d.ts} +2 -8
  642. package/lib/utils/url/index.js +41 -0
  643. package/lib/utils/{normalize-url.js → url/normalize-url.js} +16 -16
  644. package/lib/{models/api/image-request-parameters.js → versions.d.ts} +4 -2
  645. package/lib/{models/client-info.js → versions.js} +6 -2
  646. package/package.json +21 -17
  647. package/.gitattributes +0 -5
  648. package/lib/generated-client/api.js +0 -89
  649. package/lib/generated-client/models/access-schedule.js +0 -14
  650. package/lib/generated-client/models/activity-log-entry-query-result.js +0 -14
  651. package/lib/generated-client/models/activity-log-entry.js +0 -14
  652. package/lib/generated-client/models/add-virtual-folder-dto.js +0 -14
  653. package/lib/generated-client/models/admin-notification-dto.js +0 -14
  654. package/lib/generated-client/models/album-info-remote-search-query.js +0 -14
  655. package/lib/generated-client/models/album-info.js +0 -14
  656. package/lib/generated-client/models/all-theme-media-result.js +0 -14
  657. package/lib/generated-client/models/artist-info-remote-search-query.js +0 -14
  658. package/lib/generated-client/models/artist-info.js +0 -14
  659. package/lib/generated-client/models/authenticate-user-by-name.js +0 -14
  660. package/lib/generated-client/models/authentication-info-query-result.js +0 -14
  661. package/lib/generated-client/models/authentication-info.js +0 -14
  662. package/lib/generated-client/models/authentication-result.js +0 -14
  663. package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +0 -14
  664. package/lib/generated-client/models/base-item-dto-query-result.js +0 -14
  665. package/lib/generated-client/models/base-item-dto.js +0 -14
  666. package/lib/generated-client/models/base-item-person-image-blur-hashes.js +0 -14
  667. package/lib/generated-client/models/base-item-person.js +0 -14
  668. package/lib/generated-client/models/base-item.js +0 -14
  669. package/lib/generated-client/models/book-info-remote-search-query.js +0 -14
  670. package/lib/generated-client/models/book-info.js +0 -14
  671. package/lib/generated-client/models/box-set-info-remote-search-query.js +0 -14
  672. package/lib/generated-client/models/box-set-info.js +0 -14
  673. package/lib/generated-client/models/branding-options.js +0 -14
  674. package/lib/generated-client/models/buffer-request-dto.js +0 -14
  675. package/lib/generated-client/models/channel-features.js +0 -14
  676. package/lib/generated-client/models/channel-mapping-options-dto.js +0 -14
  677. package/lib/generated-client/models/chapter-info.js +0 -14
  678. package/lib/generated-client/models/client-capabilities-dto.js +0 -14
  679. package/lib/generated-client/models/client-capabilities.js +0 -14
  680. package/lib/generated-client/models/client-log-document-response-dto.js +0 -14
  681. package/lib/generated-client/models/codec-profile.js +0 -14
  682. package/lib/generated-client/models/collection-creation-result.js +0 -14
  683. package/lib/generated-client/models/config-image-types.js +0 -14
  684. package/lib/generated-client/models/configuration-page-info.js +0 -14
  685. package/lib/generated-client/models/container-profile.js +0 -14
  686. package/lib/generated-client/models/control-response.js +0 -14
  687. package/lib/generated-client/models/country-info.js +0 -14
  688. package/lib/generated-client/models/create-playlist-dto.js +0 -14
  689. package/lib/generated-client/models/create-user-by-name.js +0 -14
  690. package/lib/generated-client/models/culture-dto.js +0 -14
  691. package/lib/generated-client/models/default-directory-browser-info-dto.js +0 -14
  692. package/lib/generated-client/models/device-identification.js +0 -14
  693. package/lib/generated-client/models/device-info-query-result.js +0 -14
  694. package/lib/generated-client/models/device-info.js +0 -14
  695. package/lib/generated-client/models/device-options-dto.js +0 -14
  696. package/lib/generated-client/models/device-options.js +0 -14
  697. package/lib/generated-client/models/device-profile-info.js +0 -14
  698. package/lib/generated-client/models/device-profile.js +0 -14
  699. package/lib/generated-client/models/direct-play-profile.js +0 -14
  700. package/lib/generated-client/models/display-preferences-dto.js +0 -14
  701. package/lib/generated-client/models/dlna-options.js +0 -14
  702. package/lib/generated-client/models/encoding-options.js +0 -14
  703. package/lib/generated-client/models/end-point-info.js +0 -14
  704. package/lib/generated-client/models/external-id-info.js +0 -14
  705. package/lib/generated-client/models/external-url.js +0 -14
  706. package/lib/generated-client/models/file-system-entry-info.js +0 -14
  707. package/lib/generated-client/models/font-file.js +0 -14
  708. package/lib/generated-client/models/forgot-password-dto.js +0 -14
  709. package/lib/generated-client/models/forgot-password-pin-dto.js +0 -14
  710. package/lib/generated-client/models/forgot-password-result.js +0 -14
  711. package/lib/generated-client/models/general-command.js +0 -14
  712. package/lib/generated-client/models/get-programs-dto.js +0 -14
  713. package/lib/generated-client/models/group-info-dto.js +0 -14
  714. package/lib/generated-client/models/guide-info.js +0 -14
  715. package/lib/generated-client/models/http-header-info.js +0 -14
  716. package/lib/generated-client/models/ignore-wait-request-dto.js +0 -14
  717. package/lib/generated-client/models/image-by-name-info.js +0 -14
  718. package/lib/generated-client/models/image-info.js +0 -14
  719. package/lib/generated-client/models/image-option.js +0 -14
  720. package/lib/generated-client/models/image-provider-info.js +0 -14
  721. package/lib/generated-client/models/installation-info.js +0 -14
  722. package/lib/generated-client/models/iplugin.js +0 -14
  723. package/lib/generated-client/models/item-counts.js +0 -14
  724. package/lib/generated-client/models/join-group-request-dto.js +0 -14
  725. package/lib/generated-client/models/library-option-info-dto.js +0 -14
  726. package/lib/generated-client/models/library-options-result-dto.js +0 -14
  727. package/lib/generated-client/models/library-options.js +0 -14
  728. package/lib/generated-client/models/library-type-options-dto.js +0 -14
  729. package/lib/generated-client/models/library-update-info.js +0 -14
  730. package/lib/generated-client/models/listings-provider-info.js +0 -14
  731. package/lib/generated-client/models/live-stream-response.js +0 -14
  732. package/lib/generated-client/models/live-tv-info.js +0 -14
  733. package/lib/generated-client/models/live-tv-options.js +0 -14
  734. package/lib/generated-client/models/live-tv-service-info.js +0 -14
  735. package/lib/generated-client/models/localization-option.js +0 -14
  736. package/lib/generated-client/models/log-file.js +0 -14
  737. package/lib/generated-client/models/media-attachment.js +0 -14
  738. package/lib/generated-client/models/media-encoder-path-dto.js +0 -14
  739. package/lib/generated-client/models/media-path-dto.js +0 -14
  740. package/lib/generated-client/models/media-path-info.js +0 -14
  741. package/lib/generated-client/models/media-source-info.js +0 -14
  742. package/lib/generated-client/models/media-stream.js +0 -14
  743. package/lib/generated-client/models/media-update-info-dto.js +0 -14
  744. package/lib/generated-client/models/media-update-info-path-dto.js +0 -14
  745. package/lib/generated-client/models/media-url.js +0 -14
  746. package/lib/generated-client/models/message-command.js +0 -14
  747. package/lib/generated-client/models/metadata-configuration.js +0 -14
  748. package/lib/generated-client/models/metadata-editor-info.js +0 -14
  749. package/lib/generated-client/models/metadata-options.js +0 -14
  750. package/lib/generated-client/models/move-playlist-item-request-dto.js +0 -14
  751. package/lib/generated-client/models/movie-info-remote-search-query.js +0 -14
  752. package/lib/generated-client/models/movie-info.js +0 -14
  753. package/lib/generated-client/models/music-video-info-remote-search-query.js +0 -14
  754. package/lib/generated-client/models/music-video-info.js +0 -14
  755. package/lib/generated-client/models/name-guid-pair.js +0 -14
  756. package/lib/generated-client/models/name-id-pair.js +0 -14
  757. package/lib/generated-client/models/name-value-pair.js +0 -14
  758. package/lib/generated-client/models/network-configuration.js +0 -14
  759. package/lib/generated-client/models/new-group-request-dto.js +0 -14
  760. package/lib/generated-client/models/next-item-request-dto.js +0 -14
  761. package/lib/generated-client/models/notification-dto.js +0 -14
  762. package/lib/generated-client/models/notification-option.js +0 -14
  763. package/lib/generated-client/models/notification-options.js +0 -14
  764. package/lib/generated-client/models/notification-result-dto.js +0 -14
  765. package/lib/generated-client/models/notification-type-info.js +0 -14
  766. package/lib/generated-client/models/notifications-summary-dto.js +0 -14
  767. package/lib/generated-client/models/object-group-update.js +0 -14
  768. package/lib/generated-client/models/open-live-stream-dto.js +0 -14
  769. package/lib/generated-client/models/package-info.js +0 -14
  770. package/lib/generated-client/models/parental-rating.js +0 -14
  771. package/lib/generated-client/models/path-substitution.js +0 -14
  772. package/lib/generated-client/models/person-lookup-info-remote-search-query.js +0 -14
  773. package/lib/generated-client/models/person-lookup-info.js +0 -14
  774. package/lib/generated-client/models/pin-redeem-result.js +0 -14
  775. package/lib/generated-client/models/ping-request-dto.js +0 -14
  776. package/lib/generated-client/models/play-request-dto.js +0 -14
  777. package/lib/generated-client/models/play-request.js +0 -14
  778. package/lib/generated-client/models/playback-info-dto.js +0 -14
  779. package/lib/generated-client/models/playback-info-response.js +0 -14
  780. package/lib/generated-client/models/playback-progress-info.js +0 -14
  781. package/lib/generated-client/models/playback-start-info.js +0 -14
  782. package/lib/generated-client/models/playback-stop-info.js +0 -14
  783. package/lib/generated-client/models/player-state-info.js +0 -14
  784. package/lib/generated-client/models/playlist-creation-result.js +0 -14
  785. package/lib/generated-client/models/playstate-request.js +0 -14
  786. package/lib/generated-client/models/plugin-info.js +0 -14
  787. package/lib/generated-client/models/previous-item-request-dto.js +0 -14
  788. package/lib/generated-client/models/problem-details.js +0 -14
  789. package/lib/generated-client/models/profile-condition.js +0 -14
  790. package/lib/generated-client/models/public-system-info.js +0 -14
  791. package/lib/generated-client/models/query-filters-legacy.js +0 -14
  792. package/lib/generated-client/models/query-filters.js +0 -14
  793. package/lib/generated-client/models/queue-item.js +0 -14
  794. package/lib/generated-client/models/queue-request-dto.js +0 -14
  795. package/lib/generated-client/models/quick-connect-dto.js +0 -14
  796. package/lib/generated-client/models/quick-connect-result.js +0 -14
  797. package/lib/generated-client/models/ready-request-dto.js +0 -14
  798. package/lib/generated-client/models/recommendation-dto.js +0 -14
  799. package/lib/generated-client/models/remote-image-info.js +0 -14
  800. package/lib/generated-client/models/remote-image-result.js +0 -14
  801. package/lib/generated-client/models/remote-search-result.js +0 -14
  802. package/lib/generated-client/models/remote-subtitle-info.js +0 -14
  803. package/lib/generated-client/models/remove-from-playlist-request-dto.js +0 -14
  804. package/lib/generated-client/models/repository-info.js +0 -14
  805. package/lib/generated-client/models/response-profile.js +0 -14
  806. package/lib/generated-client/models/search-hint-result.js +0 -14
  807. package/lib/generated-client/models/search-hint.js +0 -14
  808. package/lib/generated-client/models/seek-request-dto.js +0 -14
  809. package/lib/generated-client/models/send-command.js +0 -14
  810. package/lib/generated-client/models/series-info-remote-search-query.js +0 -14
  811. package/lib/generated-client/models/series-info.js +0 -14
  812. package/lib/generated-client/models/series-timer-info-dto-query-result.js +0 -14
  813. package/lib/generated-client/models/series-timer-info-dto.js +0 -14
  814. package/lib/generated-client/models/server-configuration.js +0 -14
  815. package/lib/generated-client/models/server-discovery-info.js +0 -14
  816. package/lib/generated-client/models/session-info.js +0 -14
  817. package/lib/generated-client/models/session-user-info.js +0 -14
  818. package/lib/generated-client/models/set-channel-mapping-dto.js +0 -14
  819. package/lib/generated-client/models/set-playlist-item-request-dto.js +0 -14
  820. package/lib/generated-client/models/set-repeat-mode-request-dto.js +0 -14
  821. package/lib/generated-client/models/set-shuffle-mode-request-dto.js +0 -14
  822. package/lib/generated-client/models/song-info.js +0 -14
  823. package/lib/generated-client/models/special-view-option-dto.js +0 -14
  824. package/lib/generated-client/models/startup-configuration-dto.js +0 -14
  825. package/lib/generated-client/models/startup-remote-access-dto.js +0 -14
  826. package/lib/generated-client/models/startup-user-dto.js +0 -14
  827. package/lib/generated-client/models/subtitle-options.js +0 -14
  828. package/lib/generated-client/models/subtitle-profile.js +0 -14
  829. package/lib/generated-client/models/system-info.js +0 -14
  830. package/lib/generated-client/models/task-info.js +0 -14
  831. package/lib/generated-client/models/task-result.js +0 -14
  832. package/lib/generated-client/models/task-trigger-info.js +0 -14
  833. package/lib/generated-client/models/theme-media-result.js +0 -14
  834. package/lib/generated-client/models/timer-event-info.js +0 -14
  835. package/lib/generated-client/models/timer-info-dto-query-result.js +0 -14
  836. package/lib/generated-client/models/timer-info-dto.js +0 -14
  837. package/lib/generated-client/models/trailer-info-remote-search-query.js +0 -14
  838. package/lib/generated-client/models/trailer-info.js +0 -14
  839. package/lib/generated-client/models/transcoding-info.js +0 -47
  840. package/lib/generated-client/models/transcoding-profile.js +0 -14
  841. package/lib/generated-client/models/tuner-channel-mapping.js +0 -14
  842. package/lib/generated-client/models/tuner-host-info.js +0 -14
  843. package/lib/generated-client/models/type-options.js +0 -14
  844. package/lib/generated-client/models/update-library-options-dto.js +0 -14
  845. package/lib/generated-client/models/update-media-path-request-dto.js +0 -14
  846. package/lib/generated-client/models/update-user-easy-password.js +0 -14
  847. package/lib/generated-client/models/update-user-password.js +0 -14
  848. package/lib/generated-client/models/upload-subtitle-dto.js +0 -14
  849. package/lib/generated-client/models/user-configuration.js +0 -14
  850. package/lib/generated-client/models/user-dto.js +0 -14
  851. package/lib/generated-client/models/user-item-data-dto.js +0 -14
  852. package/lib/generated-client/models/user-policy.js +0 -14
  853. package/lib/generated-client/models/utc-time-response.js +0 -14
  854. package/lib/generated-client/models/validate-path-dto.js +0 -14
  855. package/lib/generated-client/models/version-info.js +0 -14
  856. package/lib/generated-client/models/virtual-folder-info.js +0 -14
  857. package/lib/generated-client/models/wake-on-lan-info.js +0 -14
  858. package/lib/generated-client/models/xbmc-metadata-options.js +0 -14
  859. package/lib/generated-client/models/xml-attribute.js +0 -14
  860. package/lib/models/device-info.js +0 -7
  861. package/lib/utils/url.js +0 -54
  862. package/openapi-templates/licenseInfo.mustache +0 -10
  863. package/tsconfig.json +0 -25
  864. /package/lib/utils/{normalize-url.d.ts → url/normalize-url.d.ts} +0 -0
@@ -1,95 +1,14 @@
1
- "use strict";
1
+ import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
+ import globalAxios from 'axios';
3
+ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
+ import { BaseAPI, BASE_PATH } from '../base.js';
5
+
2
6
  /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6
- * Do not edit the class manually.
7
- *
8
- * Jellyfin API
9
- *
10
- * This Source Code Form is subject to the terms of the Mozilla Public
11
- * License, v. 2.0. If a copy of the MPL was not distributed with this
12
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13
- */
14
- var __extends = (this && this.__extends) || (function () {
15
- var extendStatics = function (d, b) {
16
- extendStatics = Object.setPrototypeOf ||
17
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
18
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19
- return extendStatics(d, b);
20
- };
21
- return function (d, b) {
22
- if (typeof b !== "function" && b !== null)
23
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
24
- extendStatics(d, b);
25
- function __() { this.constructor = d; }
26
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
27
- };
28
- })();
29
- var __assign = (this && this.__assign) || function () {
30
- __assign = Object.assign || function(t) {
31
- for (var s, i = 1, n = arguments.length; i < n; i++) {
32
- s = arguments[i];
33
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
- t[p] = s[p];
35
- }
36
- return t;
37
- };
38
- return __assign.apply(this, arguments);
39
- };
40
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
41
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
42
- return new (P || (P = Promise))(function (resolve, reject) {
43
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
44
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
45
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46
- step((generator = generator.apply(thisArg, _arguments || [])).next());
47
- });
48
- };
49
- var __generator = (this && this.__generator) || function (thisArg, body) {
50
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
51
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
52
- function verb(n) { return function (v) { return step([n, v]); }; }
53
- function step(op) {
54
- if (f) throw new TypeError("Generator is already executing.");
55
- while (_) try {
56
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
57
- if (y = 0, t) op = [op[0] & 2, t.value];
58
- switch (op[0]) {
59
- case 0: case 1: t = op; break;
60
- case 4: _.label++; return { value: op[1], done: false };
61
- case 5: _.label++; y = op[1]; op = [0]; continue;
62
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
63
- default:
64
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
65
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
66
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
67
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
68
- if (t[2]) _.ops.pop();
69
- _.trys.pop(); continue;
70
- }
71
- op = body.call(thisArg, _);
72
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
73
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
74
- }
75
- };
76
- var __importDefault = (this && this.__importDefault) || function (mod) {
77
- return (mod && mod.__esModule) ? mod : { "default": mod };
78
- };
79
- Object.defineProperty(exports, "__esModule", { value: true });
80
- exports.PluginsApi = exports.PluginsApiFactory = exports.PluginsApiFp = exports.PluginsApiAxiosParamCreator = void 0;
81
- var axios_1 = __importDefault(require("axios"));
82
- // Some imports not used depending on template conditions
83
- // @ts-ignore
84
- var common_1 = require("../common");
85
- // @ts-ignore
86
- var base_1 = require("../base");
87
7
  /**
88
8
  * PluginsApi - axios parameter creator
89
9
  * @export
90
10
  */
91
- var PluginsApiAxiosParamCreator = function (configuration) {
92
- var _this = this;
11
+ const PluginsApiAxiosParamCreator = function (configuration) {
93
12
  return {
94
13
  /**
95
14
  *
@@ -99,43 +18,33 @@ var PluginsApiAxiosParamCreator = function (configuration) {
99
18
  * @param {*} [options] Override http request option.
100
19
  * @throws {RequiredError}
101
20
  */
102
- disablePlugin: function (pluginId, version, options) {
103
- if (options === void 0) { options = {}; }
104
- return __awaiter(_this, void 0, void 0, function () {
105
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
- return __generator(this, function (_a) {
107
- switch (_a.label) {
108
- case 0:
109
- // verify required parameter 'pluginId' is not null or undefined
110
- (0, common_1.assertParamExists)('disablePlugin', 'pluginId', pluginId);
111
- // verify required parameter 'version' is not null or undefined
112
- (0, common_1.assertParamExists)('disablePlugin', 'version', version);
113
- localVarPath = "/Plugins/{pluginId}/{version}/Disable"
114
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)))
115
- .replace("{".concat("version", "}"), encodeURIComponent(String(version)));
116
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
- if (configuration) {
118
- baseOptions = configuration.baseOptions;
119
- }
120
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
121
- localVarHeaderParameter = {};
122
- localVarQueryParameter = {};
123
- // authentication CustomAuthentication required
124
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
125
- case 1:
126
- // authentication CustomAuthentication required
127
- _a.sent();
128
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
129
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
- return [2 /*return*/, {
132
- url: (0, common_1.toPathString)(localVarUrlObj),
133
- options: localVarRequestOptions,
134
- }];
135
- }
136
- });
137
- });
138
- },
21
+ disablePlugin: (pluginId, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
22
+ // verify required parameter 'pluginId' is not null or undefined
23
+ assertParamExists('disablePlugin', 'pluginId', pluginId);
24
+ // verify required parameter 'version' is not null or undefined
25
+ assertParamExists('disablePlugin', 'version', version);
26
+ const localVarPath = `/Plugins/{pluginId}/{version}/Disable`
27
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)))
28
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
29
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31
+ let baseOptions;
32
+ if (configuration) {
33
+ baseOptions = configuration.baseOptions;
34
+ }
35
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
36
+ const localVarHeaderParameter = {};
37
+ const localVarQueryParameter = {};
38
+ // authentication CustomAuthentication required
39
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
40
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43
+ return {
44
+ url: toPathString(localVarUrlObj),
45
+ options: localVarRequestOptions,
46
+ };
47
+ }),
139
48
  /**
140
49
  *
141
50
  * @summary Enables a disabled plugin.
@@ -144,43 +53,33 @@ var PluginsApiAxiosParamCreator = function (configuration) {
144
53
  * @param {*} [options] Override http request option.
145
54
  * @throws {RequiredError}
146
55
  */
147
- enablePlugin: function (pluginId, version, options) {
148
- if (options === void 0) { options = {}; }
149
- return __awaiter(_this, void 0, void 0, function () {
150
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
151
- return __generator(this, function (_a) {
152
- switch (_a.label) {
153
- case 0:
154
- // verify required parameter 'pluginId' is not null or undefined
155
- (0, common_1.assertParamExists)('enablePlugin', 'pluginId', pluginId);
156
- // verify required parameter 'version' is not null or undefined
157
- (0, common_1.assertParamExists)('enablePlugin', 'version', version);
158
- localVarPath = "/Plugins/{pluginId}/{version}/Enable"
159
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)))
160
- .replace("{".concat("version", "}"), encodeURIComponent(String(version)));
161
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
162
- if (configuration) {
163
- baseOptions = configuration.baseOptions;
164
- }
165
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
166
- localVarHeaderParameter = {};
167
- localVarQueryParameter = {};
168
- // authentication CustomAuthentication required
169
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
170
- case 1:
171
- // authentication CustomAuthentication required
172
- _a.sent();
173
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
174
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
176
- return [2 /*return*/, {
177
- url: (0, common_1.toPathString)(localVarUrlObj),
178
- options: localVarRequestOptions,
179
- }];
180
- }
181
- });
182
- });
183
- },
56
+ enablePlugin: (pluginId, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
57
+ // verify required parameter 'pluginId' is not null or undefined
58
+ assertParamExists('enablePlugin', 'pluginId', pluginId);
59
+ // verify required parameter 'version' is not null or undefined
60
+ assertParamExists('enablePlugin', 'version', version);
61
+ const localVarPath = `/Plugins/{pluginId}/{version}/Enable`
62
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)))
63
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
64
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
+ let baseOptions;
67
+ if (configuration) {
68
+ baseOptions = configuration.baseOptions;
69
+ }
70
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
71
+ const localVarHeaderParameter = {};
72
+ const localVarQueryParameter = {};
73
+ // authentication CustomAuthentication required
74
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
75
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
76
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
77
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
78
+ return {
79
+ url: toPathString(localVarUrlObj),
80
+ options: localVarRequestOptions,
81
+ };
82
+ }),
184
83
  /**
185
84
  *
186
85
  * @summary Gets plugin configuration.
@@ -188,40 +87,30 @@ var PluginsApiAxiosParamCreator = function (configuration) {
188
87
  * @param {*} [options] Override http request option.
189
88
  * @throws {RequiredError}
190
89
  */
191
- getPluginConfiguration: function (pluginId, options) {
192
- if (options === void 0) { options = {}; }
193
- return __awaiter(_this, void 0, void 0, function () {
194
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
195
- return __generator(this, function (_a) {
196
- switch (_a.label) {
197
- case 0:
198
- // verify required parameter 'pluginId' is not null or undefined
199
- (0, common_1.assertParamExists)('getPluginConfiguration', 'pluginId', pluginId);
200
- localVarPath = "/Plugins/{pluginId}/Configuration"
201
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)));
202
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
203
- if (configuration) {
204
- baseOptions = configuration.baseOptions;
205
- }
206
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
207
- localVarHeaderParameter = {};
208
- localVarQueryParameter = {};
209
- // authentication CustomAuthentication required
210
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
211
- case 1:
212
- // authentication CustomAuthentication required
213
- _a.sent();
214
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
215
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
216
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
217
- return [2 /*return*/, {
218
- url: (0, common_1.toPathString)(localVarUrlObj),
219
- options: localVarRequestOptions,
220
- }];
221
- }
222
- });
223
- });
224
- },
90
+ getPluginConfiguration: (pluginId, options = {}) => __awaiter(this, void 0, void 0, function* () {
91
+ // verify required parameter 'pluginId' is not null or undefined
92
+ assertParamExists('getPluginConfiguration', 'pluginId', pluginId);
93
+ const localVarPath = `/Plugins/{pluginId}/Configuration`
94
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)));
95
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
96
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
97
+ let baseOptions;
98
+ if (configuration) {
99
+ baseOptions = configuration.baseOptions;
100
+ }
101
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
102
+ const localVarHeaderParameter = {};
103
+ const localVarQueryParameter = {};
104
+ // authentication CustomAuthentication required
105
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
106
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
107
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
109
+ return {
110
+ url: toPathString(localVarUrlObj),
111
+ options: localVarRequestOptions,
112
+ };
113
+ }),
225
114
  /**
226
115
  *
227
116
  * @summary Gets a plugin\'s image.
@@ -230,43 +119,33 @@ var PluginsApiAxiosParamCreator = function (configuration) {
230
119
  * @param {*} [options] Override http request option.
231
120
  * @throws {RequiredError}
232
121
  */
233
- getPluginImage: function (pluginId, version, options) {
234
- if (options === void 0) { options = {}; }
235
- return __awaiter(_this, void 0, void 0, function () {
236
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
237
- return __generator(this, function (_a) {
238
- switch (_a.label) {
239
- case 0:
240
- // verify required parameter 'pluginId' is not null or undefined
241
- (0, common_1.assertParamExists)('getPluginImage', 'pluginId', pluginId);
242
- // verify required parameter 'version' is not null or undefined
243
- (0, common_1.assertParamExists)('getPluginImage', 'version', version);
244
- localVarPath = "/Plugins/{pluginId}/{version}/Image"
245
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)))
246
- .replace("{".concat("version", "}"), encodeURIComponent(String(version)));
247
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
248
- if (configuration) {
249
- baseOptions = configuration.baseOptions;
250
- }
251
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
252
- localVarHeaderParameter = {};
253
- localVarQueryParameter = {};
254
- // authentication CustomAuthentication required
255
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
256
- case 1:
257
- // authentication CustomAuthentication required
258
- _a.sent();
259
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
260
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
261
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
262
- return [2 /*return*/, {
263
- url: (0, common_1.toPathString)(localVarUrlObj),
264
- options: localVarRequestOptions,
265
- }];
266
- }
267
- });
268
- });
269
- },
122
+ getPluginImage: (pluginId, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
123
+ // verify required parameter 'pluginId' is not null or undefined
124
+ assertParamExists('getPluginImage', 'pluginId', pluginId);
125
+ // verify required parameter 'version' is not null or undefined
126
+ assertParamExists('getPluginImage', 'version', version);
127
+ const localVarPath = `/Plugins/{pluginId}/{version}/Image`
128
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)))
129
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
130
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
131
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
132
+ let baseOptions;
133
+ if (configuration) {
134
+ baseOptions = configuration.baseOptions;
135
+ }
136
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
137
+ const localVarHeaderParameter = {};
138
+ const localVarQueryParameter = {};
139
+ // authentication CustomAuthentication required
140
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
141
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
143
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
144
+ return {
145
+ url: toPathString(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ };
148
+ }),
270
149
  /**
271
150
  *
272
151
  * @summary Gets a plugin\'s manifest.
@@ -274,77 +153,57 @@ var PluginsApiAxiosParamCreator = function (configuration) {
274
153
  * @param {*} [options] Override http request option.
275
154
  * @throws {RequiredError}
276
155
  */
277
- getPluginManifest: function (pluginId, options) {
278
- if (options === void 0) { options = {}; }
279
- return __awaiter(_this, void 0, void 0, function () {
280
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
281
- return __generator(this, function (_a) {
282
- switch (_a.label) {
283
- case 0:
284
- // verify required parameter 'pluginId' is not null or undefined
285
- (0, common_1.assertParamExists)('getPluginManifest', 'pluginId', pluginId);
286
- localVarPath = "/Plugins/{pluginId}/Manifest"
287
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)));
288
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
289
- if (configuration) {
290
- baseOptions = configuration.baseOptions;
291
- }
292
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
293
- localVarHeaderParameter = {};
294
- localVarQueryParameter = {};
295
- // authentication CustomAuthentication required
296
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
297
- case 1:
298
- // authentication CustomAuthentication required
299
- _a.sent();
300
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
301
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
302
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
303
- return [2 /*return*/, {
304
- url: (0, common_1.toPathString)(localVarUrlObj),
305
- options: localVarRequestOptions,
306
- }];
307
- }
308
- });
309
- });
310
- },
156
+ getPluginManifest: (pluginId, options = {}) => __awaiter(this, void 0, void 0, function* () {
157
+ // verify required parameter 'pluginId' is not null or undefined
158
+ assertParamExists('getPluginManifest', 'pluginId', pluginId);
159
+ const localVarPath = `/Plugins/{pluginId}/Manifest`
160
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)));
161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
163
+ let baseOptions;
164
+ if (configuration) {
165
+ baseOptions = configuration.baseOptions;
166
+ }
167
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
168
+ const localVarHeaderParameter = {};
169
+ const localVarQueryParameter = {};
170
+ // authentication CustomAuthentication required
171
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
175
+ return {
176
+ url: toPathString(localVarUrlObj),
177
+ options: localVarRequestOptions,
178
+ };
179
+ }),
311
180
  /**
312
181
  *
313
182
  * @summary Gets a list of currently installed plugins.
314
183
  * @param {*} [options] Override http request option.
315
184
  * @throws {RequiredError}
316
185
  */
317
- getPlugins: function (options) {
318
- if (options === void 0) { options = {}; }
319
- return __awaiter(_this, void 0, void 0, function () {
320
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
321
- return __generator(this, function (_a) {
322
- switch (_a.label) {
323
- case 0:
324
- localVarPath = "/Plugins";
325
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
326
- if (configuration) {
327
- baseOptions = configuration.baseOptions;
328
- }
329
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
330
- localVarHeaderParameter = {};
331
- localVarQueryParameter = {};
332
- // authentication CustomAuthentication required
333
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
334
- case 1:
335
- // authentication CustomAuthentication required
336
- _a.sent();
337
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
338
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
339
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
340
- return [2 /*return*/, {
341
- url: (0, common_1.toPathString)(localVarUrlObj),
342
- options: localVarRequestOptions,
343
- }];
344
- }
345
- });
346
- });
347
- },
186
+ getPlugins: (options = {}) => __awaiter(this, void 0, void 0, function* () {
187
+ const localVarPath = `/Plugins`;
188
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
189
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
190
+ let baseOptions;
191
+ if (configuration) {
192
+ baseOptions = configuration.baseOptions;
193
+ }
194
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
195
+ const localVarHeaderParameter = {};
196
+ const localVarQueryParameter = {};
197
+ // authentication CustomAuthentication required
198
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
202
+ return {
203
+ url: toPathString(localVarUrlObj),
204
+ options: localVarRequestOptions,
205
+ };
206
+ }),
348
207
  /**
349
208
  *
350
209
  * @summary Uninstalls a plugin.
@@ -353,40 +212,30 @@ var PluginsApiAxiosParamCreator = function (configuration) {
353
212
  * @deprecated
354
213
  * @throws {RequiredError}
355
214
  */
356
- uninstallPlugin: function (pluginId, options) {
357
- if (options === void 0) { options = {}; }
358
- return __awaiter(_this, void 0, void 0, function () {
359
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
360
- return __generator(this, function (_a) {
361
- switch (_a.label) {
362
- case 0:
363
- // verify required parameter 'pluginId' is not null or undefined
364
- (0, common_1.assertParamExists)('uninstallPlugin', 'pluginId', pluginId);
365
- localVarPath = "/Plugins/{pluginId}"
366
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)));
367
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
368
- if (configuration) {
369
- baseOptions = configuration.baseOptions;
370
- }
371
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
372
- localVarHeaderParameter = {};
373
- localVarQueryParameter = {};
374
- // authentication CustomAuthentication required
375
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
376
- case 1:
377
- // authentication CustomAuthentication required
378
- _a.sent();
379
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
380
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
381
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
382
- return [2 /*return*/, {
383
- url: (0, common_1.toPathString)(localVarUrlObj),
384
- options: localVarRequestOptions,
385
- }];
386
- }
387
- });
388
- });
389
- },
215
+ uninstallPlugin: (pluginId, options = {}) => __awaiter(this, void 0, void 0, function* () {
216
+ // verify required parameter 'pluginId' is not null or undefined
217
+ assertParamExists('uninstallPlugin', 'pluginId', pluginId);
218
+ const localVarPath = `/Plugins/{pluginId}`
219
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)));
220
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
221
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
222
+ let baseOptions;
223
+ if (configuration) {
224
+ baseOptions = configuration.baseOptions;
225
+ }
226
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
227
+ const localVarHeaderParameter = {};
228
+ const localVarQueryParameter = {};
229
+ // authentication CustomAuthentication required
230
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
231
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
232
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
+ return {
235
+ url: toPathString(localVarUrlObj),
236
+ options: localVarRequestOptions,
237
+ };
238
+ }),
390
239
  /**
391
240
  *
392
241
  * @summary Uninstalls a plugin by version.
@@ -395,43 +244,33 @@ var PluginsApiAxiosParamCreator = function (configuration) {
395
244
  * @param {*} [options] Override http request option.
396
245
  * @throws {RequiredError}
397
246
  */
398
- uninstallPluginByVersion: function (pluginId, version, options) {
399
- if (options === void 0) { options = {}; }
400
- return __awaiter(_this, void 0, void 0, function () {
401
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
402
- return __generator(this, function (_a) {
403
- switch (_a.label) {
404
- case 0:
405
- // verify required parameter 'pluginId' is not null or undefined
406
- (0, common_1.assertParamExists)('uninstallPluginByVersion', 'pluginId', pluginId);
407
- // verify required parameter 'version' is not null or undefined
408
- (0, common_1.assertParamExists)('uninstallPluginByVersion', 'version', version);
409
- localVarPath = "/Plugins/{pluginId}/{version}"
410
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)))
411
- .replace("{".concat("version", "}"), encodeURIComponent(String(version)));
412
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
413
- if (configuration) {
414
- baseOptions = configuration.baseOptions;
415
- }
416
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
417
- localVarHeaderParameter = {};
418
- localVarQueryParameter = {};
419
- // authentication CustomAuthentication required
420
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
421
- case 1:
422
- // authentication CustomAuthentication required
423
- _a.sent();
424
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
425
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
426
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
427
- return [2 /*return*/, {
428
- url: (0, common_1.toPathString)(localVarUrlObj),
429
- options: localVarRequestOptions,
430
- }];
431
- }
432
- });
433
- });
434
- },
247
+ uninstallPluginByVersion: (pluginId, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
248
+ // verify required parameter 'pluginId' is not null or undefined
249
+ assertParamExists('uninstallPluginByVersion', 'pluginId', pluginId);
250
+ // verify required parameter 'version' is not null or undefined
251
+ assertParamExists('uninstallPluginByVersion', 'version', version);
252
+ const localVarPath = `/Plugins/{pluginId}/{version}`
253
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)))
254
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
257
+ let baseOptions;
258
+ if (configuration) {
259
+ baseOptions = configuration.baseOptions;
260
+ }
261
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
262
+ const localVarHeaderParameter = {};
263
+ const localVarQueryParameter = {};
264
+ // authentication CustomAuthentication required
265
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
266
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
268
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
269
+ return {
270
+ url: toPathString(localVarUrlObj),
271
+ options: localVarRequestOptions,
272
+ };
273
+ }),
435
274
  /**
436
275
  * Accepts plugin configuration as JSON body.
437
276
  * @summary Updates plugin configuration.
@@ -439,49 +278,38 @@ var PluginsApiAxiosParamCreator = function (configuration) {
439
278
  * @param {*} [options] Override http request option.
440
279
  * @throws {RequiredError}
441
280
  */
442
- updatePluginConfiguration: function (pluginId, options) {
443
- if (options === void 0) { options = {}; }
444
- return __awaiter(_this, void 0, void 0, function () {
445
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
446
- return __generator(this, function (_a) {
447
- switch (_a.label) {
448
- case 0:
449
- // verify required parameter 'pluginId' is not null or undefined
450
- (0, common_1.assertParamExists)('updatePluginConfiguration', 'pluginId', pluginId);
451
- localVarPath = "/Plugins/{pluginId}/Configuration"
452
- .replace("{".concat("pluginId", "}"), encodeURIComponent(String(pluginId)));
453
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
454
- if (configuration) {
455
- baseOptions = configuration.baseOptions;
456
- }
457
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
458
- localVarHeaderParameter = {};
459
- localVarQueryParameter = {};
460
- // authentication CustomAuthentication required
461
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
462
- case 1:
463
- // authentication CustomAuthentication required
464
- _a.sent();
465
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
466
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
467
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
468
- return [2 /*return*/, {
469
- url: (0, common_1.toPathString)(localVarUrlObj),
470
- options: localVarRequestOptions,
471
- }];
472
- }
473
- });
474
- });
475
- },
281
+ updatePluginConfiguration: (pluginId, options = {}) => __awaiter(this, void 0, void 0, function* () {
282
+ // verify required parameter 'pluginId' is not null or undefined
283
+ assertParamExists('updatePluginConfiguration', 'pluginId', pluginId);
284
+ const localVarPath = `/Plugins/{pluginId}/Configuration`
285
+ .replace(`{${"pluginId"}}`, encodeURIComponent(String(pluginId)));
286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
288
+ let baseOptions;
289
+ if (configuration) {
290
+ baseOptions = configuration.baseOptions;
291
+ }
292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
293
+ const localVarHeaderParameter = {};
294
+ const localVarQueryParameter = {};
295
+ // authentication CustomAuthentication required
296
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
297
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
300
+ return {
301
+ url: toPathString(localVarUrlObj),
302
+ options: localVarRequestOptions,
303
+ };
304
+ }),
476
305
  };
477
306
  };
478
- exports.PluginsApiAxiosParamCreator = PluginsApiAxiosParamCreator;
479
307
  /**
480
308
  * PluginsApi - functional programming interface
481
309
  * @export
482
310
  */
483
- var PluginsApiFp = function (configuration) {
484
- var localVarAxiosParamCreator = (0, exports.PluginsApiAxiosParamCreator)(configuration);
311
+ const PluginsApiFp = function (configuration) {
312
+ const localVarAxiosParamCreator = PluginsApiAxiosParamCreator(configuration);
485
313
  return {
486
314
  /**
487
315
  *
@@ -491,17 +319,10 @@ var PluginsApiFp = function (configuration) {
491
319
  * @param {*} [options] Override http request option.
492
320
  * @throws {RequiredError}
493
321
  */
494
- disablePlugin: function (pluginId, version, options) {
495
- return __awaiter(this, void 0, void 0, function () {
496
- var localVarAxiosArgs;
497
- return __generator(this, function (_a) {
498
- switch (_a.label) {
499
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.disablePlugin(pluginId, version, options)];
500
- case 1:
501
- localVarAxiosArgs = _a.sent();
502
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
503
- }
504
- });
322
+ disablePlugin(pluginId, version, options) {
323
+ return __awaiter(this, void 0, void 0, function* () {
324
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.disablePlugin(pluginId, version, options);
325
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
505
326
  });
506
327
  },
507
328
  /**
@@ -512,17 +333,10 @@ var PluginsApiFp = function (configuration) {
512
333
  * @param {*} [options] Override http request option.
513
334
  * @throws {RequiredError}
514
335
  */
515
- enablePlugin: function (pluginId, version, options) {
516
- return __awaiter(this, void 0, void 0, function () {
517
- var localVarAxiosArgs;
518
- return __generator(this, function (_a) {
519
- switch (_a.label) {
520
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.enablePlugin(pluginId, version, options)];
521
- case 1:
522
- localVarAxiosArgs = _a.sent();
523
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
524
- }
525
- });
336
+ enablePlugin(pluginId, version, options) {
337
+ return __awaiter(this, void 0, void 0, function* () {
338
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.enablePlugin(pluginId, version, options);
339
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
526
340
  });
527
341
  },
528
342
  /**
@@ -532,17 +346,10 @@ var PluginsApiFp = function (configuration) {
532
346
  * @param {*} [options] Override http request option.
533
347
  * @throws {RequiredError}
534
348
  */
535
- getPluginConfiguration: function (pluginId, options) {
536
- return __awaiter(this, void 0, void 0, function () {
537
- var localVarAxiosArgs;
538
- return __generator(this, function (_a) {
539
- switch (_a.label) {
540
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPluginConfiguration(pluginId, options)];
541
- case 1:
542
- localVarAxiosArgs = _a.sent();
543
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
544
- }
545
- });
349
+ getPluginConfiguration(pluginId, options) {
350
+ return __awaiter(this, void 0, void 0, function* () {
351
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginConfiguration(pluginId, options);
352
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
546
353
  });
547
354
  },
548
355
  /**
@@ -553,17 +360,10 @@ var PluginsApiFp = function (configuration) {
553
360
  * @param {*} [options] Override http request option.
554
361
  * @throws {RequiredError}
555
362
  */
556
- getPluginImage: function (pluginId, version, options) {
557
- return __awaiter(this, void 0, void 0, function () {
558
- var localVarAxiosArgs;
559
- return __generator(this, function (_a) {
560
- switch (_a.label) {
561
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPluginImage(pluginId, version, options)];
562
- case 1:
563
- localVarAxiosArgs = _a.sent();
564
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
565
- }
566
- });
363
+ getPluginImage(pluginId, version, options) {
364
+ return __awaiter(this, void 0, void 0, function* () {
365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginImage(pluginId, version, options);
366
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
567
367
  });
568
368
  },
569
369
  /**
@@ -573,17 +373,10 @@ var PluginsApiFp = function (configuration) {
573
373
  * @param {*} [options] Override http request option.
574
374
  * @throws {RequiredError}
575
375
  */
576
- getPluginManifest: function (pluginId, options) {
577
- return __awaiter(this, void 0, void 0, function () {
578
- var localVarAxiosArgs;
579
- return __generator(this, function (_a) {
580
- switch (_a.label) {
581
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPluginManifest(pluginId, options)];
582
- case 1:
583
- localVarAxiosArgs = _a.sent();
584
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
585
- }
586
- });
376
+ getPluginManifest(pluginId, options) {
377
+ return __awaiter(this, void 0, void 0, function* () {
378
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPluginManifest(pluginId, options);
379
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
587
380
  });
588
381
  },
589
382
  /**
@@ -592,17 +385,10 @@ var PluginsApiFp = function (configuration) {
592
385
  * @param {*} [options] Override http request option.
593
386
  * @throws {RequiredError}
594
387
  */
595
- getPlugins: function (options) {
596
- return __awaiter(this, void 0, void 0, function () {
597
- var localVarAxiosArgs;
598
- return __generator(this, function (_a) {
599
- switch (_a.label) {
600
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlugins(options)];
601
- case 1:
602
- localVarAxiosArgs = _a.sent();
603
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
604
- }
605
- });
388
+ getPlugins(options) {
389
+ return __awaiter(this, void 0, void 0, function* () {
390
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPlugins(options);
391
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
606
392
  });
607
393
  },
608
394
  /**
@@ -613,17 +399,10 @@ var PluginsApiFp = function (configuration) {
613
399
  * @deprecated
614
400
  * @throws {RequiredError}
615
401
  */
616
- uninstallPlugin: function (pluginId, options) {
617
- return __awaiter(this, void 0, void 0, function () {
618
- var localVarAxiosArgs;
619
- return __generator(this, function (_a) {
620
- switch (_a.label) {
621
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.uninstallPlugin(pluginId, options)];
622
- case 1:
623
- localVarAxiosArgs = _a.sent();
624
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
625
- }
626
- });
402
+ uninstallPlugin(pluginId, options) {
403
+ return __awaiter(this, void 0, void 0, function* () {
404
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallPlugin(pluginId, options);
405
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
627
406
  });
628
407
  },
629
408
  /**
@@ -634,17 +413,10 @@ var PluginsApiFp = function (configuration) {
634
413
  * @param {*} [options] Override http request option.
635
414
  * @throws {RequiredError}
636
415
  */
637
- uninstallPluginByVersion: function (pluginId, version, options) {
638
- return __awaiter(this, void 0, void 0, function () {
639
- var localVarAxiosArgs;
640
- return __generator(this, function (_a) {
641
- switch (_a.label) {
642
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options)];
643
- case 1:
644
- localVarAxiosArgs = _a.sent();
645
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
646
- }
647
- });
416
+ uninstallPluginByVersion(pluginId, version, options) {
417
+ return __awaiter(this, void 0, void 0, function* () {
418
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options);
419
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
648
420
  });
649
421
  },
650
422
  /**
@@ -654,28 +426,20 @@ var PluginsApiFp = function (configuration) {
654
426
  * @param {*} [options] Override http request option.
655
427
  * @throws {RequiredError}
656
428
  */
657
- updatePluginConfiguration: function (pluginId, options) {
658
- return __awaiter(this, void 0, void 0, function () {
659
- var localVarAxiosArgs;
660
- return __generator(this, function (_a) {
661
- switch (_a.label) {
662
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options)];
663
- case 1:
664
- localVarAxiosArgs = _a.sent();
665
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
666
- }
667
- });
429
+ updatePluginConfiguration(pluginId, options) {
430
+ return __awaiter(this, void 0, void 0, function* () {
431
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options);
432
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
668
433
  });
669
434
  },
670
435
  };
671
436
  };
672
- exports.PluginsApiFp = PluginsApiFp;
673
437
  /**
674
438
  * PluginsApi - factory interface
675
439
  * @export
676
440
  */
677
- var PluginsApiFactory = function (configuration, basePath, axios) {
678
- var localVarFp = (0, exports.PluginsApiFp)(configuration);
441
+ const PluginsApiFactory = function (configuration, basePath, axios) {
442
+ const localVarFp = PluginsApiFp(configuration);
679
443
  return {
680
444
  /**
681
445
  *
@@ -685,8 +449,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
685
449
  * @param {*} [options] Override http request option.
686
450
  * @throws {RequiredError}
687
451
  */
688
- disablePlugin: function (pluginId, version, options) {
689
- return localVarFp.disablePlugin(pluginId, version, options).then(function (request) { return request(axios, basePath); });
452
+ disablePlugin(pluginId, version, options) {
453
+ return localVarFp.disablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
690
454
  },
691
455
  /**
692
456
  *
@@ -696,8 +460,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
696
460
  * @param {*} [options] Override http request option.
697
461
  * @throws {RequiredError}
698
462
  */
699
- enablePlugin: function (pluginId, version, options) {
700
- return localVarFp.enablePlugin(pluginId, version, options).then(function (request) { return request(axios, basePath); });
463
+ enablePlugin(pluginId, version, options) {
464
+ return localVarFp.enablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
701
465
  },
702
466
  /**
703
467
  *
@@ -706,8 +470,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
706
470
  * @param {*} [options] Override http request option.
707
471
  * @throws {RequiredError}
708
472
  */
709
- getPluginConfiguration: function (pluginId, options) {
710
- return localVarFp.getPluginConfiguration(pluginId, options).then(function (request) { return request(axios, basePath); });
473
+ getPluginConfiguration(pluginId, options) {
474
+ return localVarFp.getPluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
711
475
  },
712
476
  /**
713
477
  *
@@ -717,8 +481,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
717
481
  * @param {*} [options] Override http request option.
718
482
  * @throws {RequiredError}
719
483
  */
720
- getPluginImage: function (pluginId, version, options) {
721
- return localVarFp.getPluginImage(pluginId, version, options).then(function (request) { return request(axios, basePath); });
484
+ getPluginImage(pluginId, version, options) {
485
+ return localVarFp.getPluginImage(pluginId, version, options).then((request) => request(axios, basePath));
722
486
  },
723
487
  /**
724
488
  *
@@ -727,8 +491,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
727
491
  * @param {*} [options] Override http request option.
728
492
  * @throws {RequiredError}
729
493
  */
730
- getPluginManifest: function (pluginId, options) {
731
- return localVarFp.getPluginManifest(pluginId, options).then(function (request) { return request(axios, basePath); });
494
+ getPluginManifest(pluginId, options) {
495
+ return localVarFp.getPluginManifest(pluginId, options).then((request) => request(axios, basePath));
732
496
  },
733
497
  /**
734
498
  *
@@ -736,8 +500,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
736
500
  * @param {*} [options] Override http request option.
737
501
  * @throws {RequiredError}
738
502
  */
739
- getPlugins: function (options) {
740
- return localVarFp.getPlugins(options).then(function (request) { return request(axios, basePath); });
503
+ getPlugins(options) {
504
+ return localVarFp.getPlugins(options).then((request) => request(axios, basePath));
741
505
  },
742
506
  /**
743
507
  *
@@ -747,8 +511,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
747
511
  * @deprecated
748
512
  * @throws {RequiredError}
749
513
  */
750
- uninstallPlugin: function (pluginId, options) {
751
- return localVarFp.uninstallPlugin(pluginId, options).then(function (request) { return request(axios, basePath); });
514
+ uninstallPlugin(pluginId, options) {
515
+ return localVarFp.uninstallPlugin(pluginId, options).then((request) => request(axios, basePath));
752
516
  },
753
517
  /**
754
518
  *
@@ -758,8 +522,8 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
758
522
  * @param {*} [options] Override http request option.
759
523
  * @throws {RequiredError}
760
524
  */
761
- uninstallPluginByVersion: function (pluginId, version, options) {
762
- return localVarFp.uninstallPluginByVersion(pluginId, version, options).then(function (request) { return request(axios, basePath); });
525
+ uninstallPluginByVersion(pluginId, version, options) {
526
+ return localVarFp.uninstallPluginByVersion(pluginId, version, options).then((request) => request(axios, basePath));
763
527
  },
764
528
  /**
765
529
  * Accepts plugin configuration as JSON body.
@@ -768,23 +532,18 @@ var PluginsApiFactory = function (configuration, basePath, axios) {
768
532
  * @param {*} [options] Override http request option.
769
533
  * @throws {RequiredError}
770
534
  */
771
- updatePluginConfiguration: function (pluginId, options) {
772
- return localVarFp.updatePluginConfiguration(pluginId, options).then(function (request) { return request(axios, basePath); });
535
+ updatePluginConfiguration(pluginId, options) {
536
+ return localVarFp.updatePluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
773
537
  },
774
538
  };
775
539
  };
776
- exports.PluginsApiFactory = PluginsApiFactory;
777
540
  /**
778
541
  * PluginsApi - object-oriented interface
779
542
  * @export
780
543
  * @class PluginsApi
781
544
  * @extends {BaseAPI}
782
545
  */
783
- var PluginsApi = /** @class */ (function (_super) {
784
- __extends(PluginsApi, _super);
785
- function PluginsApi() {
786
- return _super !== null && _super.apply(this, arguments) || this;
787
- }
546
+ class PluginsApi extends BaseAPI {
788
547
  /**
789
548
  *
790
549
  * @summary Disable a plugin.
@@ -793,10 +552,9 @@ var PluginsApi = /** @class */ (function (_super) {
793
552
  * @throws {RequiredError}
794
553
  * @memberof PluginsApi
795
554
  */
796
- PluginsApi.prototype.disablePlugin = function (requestParameters, options) {
797
- var _this = this;
798
- return (0, exports.PluginsApiFp)(this.configuration).disablePlugin(requestParameters.pluginId, requestParameters.version, options).then(function (request) { return request(_this.axios, _this.basePath); });
799
- };
555
+ disablePlugin(requestParameters, options) {
556
+ return PluginsApiFp(this.configuration).disablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
557
+ }
800
558
  /**
801
559
  *
802
560
  * @summary Enables a disabled plugin.
@@ -805,10 +563,9 @@ var PluginsApi = /** @class */ (function (_super) {
805
563
  * @throws {RequiredError}
806
564
  * @memberof PluginsApi
807
565
  */
808
- PluginsApi.prototype.enablePlugin = function (requestParameters, options) {
809
- var _this = this;
810
- return (0, exports.PluginsApiFp)(this.configuration).enablePlugin(requestParameters.pluginId, requestParameters.version, options).then(function (request) { return request(_this.axios, _this.basePath); });
811
- };
566
+ enablePlugin(requestParameters, options) {
567
+ return PluginsApiFp(this.configuration).enablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
568
+ }
812
569
  /**
813
570
  *
814
571
  * @summary Gets plugin configuration.
@@ -817,10 +574,9 @@ var PluginsApi = /** @class */ (function (_super) {
817
574
  * @throws {RequiredError}
818
575
  * @memberof PluginsApi
819
576
  */
820
- PluginsApi.prototype.getPluginConfiguration = function (requestParameters, options) {
821
- var _this = this;
822
- return (0, exports.PluginsApiFp)(this.configuration).getPluginConfiguration(requestParameters.pluginId, options).then(function (request) { return request(_this.axios, _this.basePath); });
823
- };
577
+ getPluginConfiguration(requestParameters, options) {
578
+ return PluginsApiFp(this.configuration).getPluginConfiguration(requestParameters.pluginId, options).then((request) => request(this.axios, this.basePath));
579
+ }
824
580
  /**
825
581
  *
826
582
  * @summary Gets a plugin\'s image.
@@ -829,10 +585,9 @@ var PluginsApi = /** @class */ (function (_super) {
829
585
  * @throws {RequiredError}
830
586
  * @memberof PluginsApi
831
587
  */
832
- PluginsApi.prototype.getPluginImage = function (requestParameters, options) {
833
- var _this = this;
834
- return (0, exports.PluginsApiFp)(this.configuration).getPluginImage(requestParameters.pluginId, requestParameters.version, options).then(function (request) { return request(_this.axios, _this.basePath); });
835
- };
588
+ getPluginImage(requestParameters, options) {
589
+ return PluginsApiFp(this.configuration).getPluginImage(requestParameters.pluginId, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
590
+ }
836
591
  /**
837
592
  *
838
593
  * @summary Gets a plugin\'s manifest.
@@ -841,10 +596,9 @@ var PluginsApi = /** @class */ (function (_super) {
841
596
  * @throws {RequiredError}
842
597
  * @memberof PluginsApi
843
598
  */
844
- PluginsApi.prototype.getPluginManifest = function (requestParameters, options) {
845
- var _this = this;
846
- return (0, exports.PluginsApiFp)(this.configuration).getPluginManifest(requestParameters.pluginId, options).then(function (request) { return request(_this.axios, _this.basePath); });
847
- };
599
+ getPluginManifest(requestParameters, options) {
600
+ return PluginsApiFp(this.configuration).getPluginManifest(requestParameters.pluginId, options).then((request) => request(this.axios, this.basePath));
601
+ }
848
602
  /**
849
603
  *
850
604
  * @summary Gets a list of currently installed plugins.
@@ -852,10 +606,9 @@ var PluginsApi = /** @class */ (function (_super) {
852
606
  * @throws {RequiredError}
853
607
  * @memberof PluginsApi
854
608
  */
855
- PluginsApi.prototype.getPlugins = function (options) {
856
- var _this = this;
857
- return (0, exports.PluginsApiFp)(this.configuration).getPlugins(options).then(function (request) { return request(_this.axios, _this.basePath); });
858
- };
609
+ getPlugins(options) {
610
+ return PluginsApiFp(this.configuration).getPlugins(options).then((request) => request(this.axios, this.basePath));
611
+ }
859
612
  /**
860
613
  *
861
614
  * @summary Uninstalls a plugin.
@@ -865,10 +618,9 @@ var PluginsApi = /** @class */ (function (_super) {
865
618
  * @throws {RequiredError}
866
619
  * @memberof PluginsApi
867
620
  */
868
- PluginsApi.prototype.uninstallPlugin = function (requestParameters, options) {
869
- var _this = this;
870
- return (0, exports.PluginsApiFp)(this.configuration).uninstallPlugin(requestParameters.pluginId, options).then(function (request) { return request(_this.axios, _this.basePath); });
871
- };
621
+ uninstallPlugin(requestParameters, options) {
622
+ return PluginsApiFp(this.configuration).uninstallPlugin(requestParameters.pluginId, options).then((request) => request(this.axios, this.basePath));
623
+ }
872
624
  /**
873
625
  *
874
626
  * @summary Uninstalls a plugin by version.
@@ -877,10 +629,9 @@ var PluginsApi = /** @class */ (function (_super) {
877
629
  * @throws {RequiredError}
878
630
  * @memberof PluginsApi
879
631
  */
880
- PluginsApi.prototype.uninstallPluginByVersion = function (requestParameters, options) {
881
- var _this = this;
882
- return (0, exports.PluginsApiFp)(this.configuration).uninstallPluginByVersion(requestParameters.pluginId, requestParameters.version, options).then(function (request) { return request(_this.axios, _this.basePath); });
883
- };
632
+ uninstallPluginByVersion(requestParameters, options) {
633
+ return PluginsApiFp(this.configuration).uninstallPluginByVersion(requestParameters.pluginId, requestParameters.version, options).then((request) => request(this.axios, this.basePath));
634
+ }
884
635
  /**
885
636
  * Accepts plugin configuration as JSON body.
886
637
  * @summary Updates plugin configuration.
@@ -889,10 +640,9 @@ var PluginsApi = /** @class */ (function (_super) {
889
640
  * @throws {RequiredError}
890
641
  * @memberof PluginsApi
891
642
  */
892
- PluginsApi.prototype.updatePluginConfiguration = function (requestParameters, options) {
893
- var _this = this;
894
- return (0, exports.PluginsApiFp)(this.configuration).updatePluginConfiguration(requestParameters.pluginId, options).then(function (request) { return request(_this.axios, _this.basePath); });
895
- };
896
- return PluginsApi;
897
- }(base_1.BaseAPI));
898
- exports.PluginsApi = PluginsApi;
643
+ updatePluginConfiguration(requestParameters, options) {
644
+ return PluginsApiFp(this.configuration).updatePluginConfiguration(requestParameters.pluginId, options).then((request) => request(this.axios, this.basePath));
645
+ }
646
+ }
647
+
648
+ export { PluginsApi, PluginsApiAxiosParamCreator, PluginsApiFactory, PluginsApiFp };