@jellyfin/sdk 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +2 -45
  3. package/lib/api.d.ts +7 -0
  4. package/lib/api.js +13 -0
  5. package/lib/generated-client/api/activity-log-api.d.ts +1 -1
  6. package/lib/generated-client/api/api-key-api.d.ts +3 -3
  7. package/lib/generated-client/api/artists-api.d.ts +3 -3
  8. package/lib/generated-client/api/audio-api.d.ts +10 -10
  9. package/lib/generated-client/api/audio-api.js +4 -4
  10. package/lib/generated-client/api/backup-api.d.ts +209 -0
  11. package/lib/generated-client/api/backup-api.js +311 -0
  12. package/lib/generated-client/api/branding-api.d.ts +6 -6
  13. package/lib/generated-client/api/channels-api.d.ts +5 -5
  14. package/lib/generated-client/api/client-log-api.d.ts +1 -1
  15. package/lib/generated-client/api/collection-api.d.ts +3 -3
  16. package/lib/generated-client/api/configuration-api.d.ts +52 -5
  17. package/lib/generated-client/api/configuration-api.js +68 -1
  18. package/lib/generated-client/api/dashboard-api.d.ts +2 -2
  19. package/lib/generated-client/api/dashboard-api.js +1 -1
  20. package/lib/generated-client/api/devices-api.d.ts +5 -5
  21. package/lib/generated-client/api/devices-api.js +1 -1
  22. package/lib/generated-client/api/display-preferences-api.d.ts +2 -2
  23. package/lib/generated-client/api/display-preferences-api.js +1 -1
  24. package/lib/generated-client/api/dlna-api.d.ts +6 -6
  25. package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
  26. package/lib/generated-client/api/dynamic-hls-api.d.ts +9 -9
  27. package/lib/generated-client/api/environment-api.d.ts +6 -6
  28. package/lib/generated-client/api/environment-api.js +1 -1
  29. package/lib/generated-client/api/filter-api.d.ts +2 -2
  30. package/lib/generated-client/api/genres-api.d.ts +2 -2
  31. package/lib/generated-client/api/genres-api.js +1 -1
  32. package/lib/generated-client/api/hls-segment-api.d.ts +5 -5
  33. package/lib/generated-client/api/hls-segment-api.js +1 -1
  34. package/lib/generated-client/api/image-api.d.ts +43 -331
  35. package/lib/generated-client/api/image-api.js +16 -196
  36. package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
  37. package/lib/generated-client/api/instant-mix-api.d.ts +8 -8
  38. package/lib/generated-client/api/item-lookup-api.d.ts +11 -11
  39. package/lib/generated-client/api/item-refresh-api.d.ts +11 -3
  40. package/lib/generated-client/api/item-refresh-api.js +10 -5
  41. package/lib/generated-client/api/item-update-api.d.ts +3 -3
  42. package/lib/generated-client/api/items-api.d.ts +4 -4
  43. package/lib/generated-client/api/items-api.js +1 -1
  44. package/lib/generated-client/api/library-api.d.ts +25 -25
  45. package/lib/generated-client/api/library-api.js +1 -1
  46. package/lib/generated-client/api/library-structure-api.d.ts +8 -8
  47. package/lib/generated-client/api/live-tv-api.d.ts +55 -47
  48. package/lib/generated-client/api/live-tv-api.js +15 -10
  49. package/lib/generated-client/api/localization-api.d.ts +4 -4
  50. package/lib/generated-client/api/lyrics-api.d.ts +6 -6
  51. package/lib/generated-client/api/lyrics-api.js +1 -1
  52. package/lib/generated-client/api/media-info-api.d.ts +5 -5
  53. package/lib/generated-client/api/media-info-api.js +1 -1
  54. package/lib/generated-client/api/media-segments-api.d.ts +1 -1
  55. package/lib/generated-client/api/movies-api.d.ts +1 -1
  56. package/lib/generated-client/api/music-genres-api.d.ts +2 -2
  57. package/lib/generated-client/api/music-genres-api.js +1 -1
  58. package/lib/generated-client/api/notifications-api.d.ts +7 -7
  59. package/lib/generated-client/api/package-api.d.ts +6 -6
  60. package/lib/generated-client/api/package-api.js +1 -1
  61. package/lib/generated-client/api/persons-api.d.ts +2 -2
  62. package/lib/generated-client/api/persons-api.js +1 -1
  63. package/lib/generated-client/api/playlists-api.d.ts +11 -11
  64. package/lib/generated-client/api/playlists-api.js +1 -1
  65. package/lib/generated-client/api/playstate-api.d.ts +21 -9
  66. package/lib/generated-client/api/playstate-api.js +13 -1
  67. package/lib/generated-client/api/plugins-api.d.ts +9 -9
  68. package/lib/generated-client/api/quick-connect-api.d.ts +4 -4
  69. package/lib/generated-client/api/quick-connect-api.js +1 -1
  70. package/lib/generated-client/api/remote-image-api.d.ts +3 -3
  71. package/lib/generated-client/api/scheduled-tasks-api.d.ts +5 -5
  72. package/lib/generated-client/api/scheduled-tasks-api.js +1 -1
  73. package/lib/generated-client/api/search-api.d.ts +1 -1
  74. package/lib/generated-client/api/session-api.d.ts +16 -16
  75. package/lib/generated-client/api/startup-api.d.ts +7 -7
  76. package/lib/generated-client/api/startup-api.js +1 -1
  77. package/lib/generated-client/api/studios-api.d.ts +2 -2
  78. package/lib/generated-client/api/studios-api.js +1 -1
  79. package/lib/generated-client/api/subtitle-api.d.ts +10 -10
  80. package/lib/generated-client/api/subtitle-api.js +1 -1
  81. package/lib/generated-client/api/suggestions-api.d.ts +1 -1
  82. package/lib/generated-client/api/sync-play-api.d.ts +69 -23
  83. package/lib/generated-client/api/sync-play-api.js +67 -1
  84. package/lib/generated-client/api/system-api.d.ts +18 -22
  85. package/lib/generated-client/api/system-api.js +13 -17
  86. package/lib/generated-client/api/time-sync-api.d.ts +1 -1
  87. package/lib/generated-client/api/tmdb-api.d.ts +1 -1
  88. package/lib/generated-client/api/trailers-api.d.ts +1 -1
  89. package/lib/generated-client/api/trickplay-api.d.ts +2 -2
  90. package/lib/generated-client/api/tv-shows-api.d.ts +4 -4
  91. package/lib/generated-client/api/tv-shows-api.js +1 -1
  92. package/lib/generated-client/api/universal-audio-api.d.ts +2 -2
  93. package/lib/generated-client/api/user-api.d.ts +14 -14
  94. package/lib/generated-client/api/user-api.js +1 -1
  95. package/lib/generated-client/api/user-library-api.d.ts +10 -10
  96. package/lib/generated-client/api/user-views-api.d.ts +2 -2
  97. package/lib/generated-client/api/video-attachments-api.d.ts +1 -1
  98. package/lib/generated-client/api/videos-api.d.ts +7 -7
  99. package/lib/generated-client/api/years-api.d.ts +2 -2
  100. package/lib/generated-client/api/years-api.js +1 -1
  101. package/lib/generated-client/api.d.ts +1 -0
  102. package/lib/generated-client/common.d.ts +1 -1
  103. package/lib/generated-client/index.js +3 -0
  104. package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
  105. package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
  106. package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
  107. package/lib/generated-client/models/base-item-dto.d.ts +3 -3
  108. package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
  109. package/lib/generated-client/models/custom-database-option.d.ts +29 -0
  110. package/lib/generated-client/models/custom-database-options.d.ts +42 -0
  111. package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
  112. package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
  113. package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
  114. package/lib/generated-client/models/external-id-info.d.ts +0 -7
  115. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  116. package/lib/generated-client/models/external-id-media-type.js +2 -1
  117. package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
  118. package/lib/generated-client/models/group-update-type.d.ts +0 -2
  119. package/lib/generated-client/models/group-update-type.js +0 -2
  120. package/lib/generated-client/models/group-update.d.ts +19 -14
  121. package/lib/generated-client/models/index.d.ts +25 -8
  122. package/lib/generated-client/models/index.js +2 -0
  123. package/lib/generated-client/models/item-fields.d.ts +0 -11
  124. package/lib/generated-client/models/item-fields.js +0 -11
  125. package/lib/generated-client/models/item-sort-by.d.ts +0 -2
  126. package/lib/generated-client/models/item-sort-by.js +1 -3
  127. package/lib/generated-client/models/library-options-result-dto.d.ts +6 -0
  128. package/lib/generated-client/models/library-options.d.ts +1 -1
  129. package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
  130. package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
  131. package/lib/generated-client/models/lyric-line.d.ts +7 -0
  132. package/lib/generated-client/models/media-segment-type.d.ts +1 -1
  133. package/lib/generated-client/models/media-segment-type.js +1 -1
  134. package/lib/generated-client/models/media-stream.d.ts +6 -0
  135. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  136. package/lib/generated-client/models/network-configuration.d.ts +1 -0
  137. package/lib/generated-client/models/open-live-stream-dto.d.ts +1 -1
  138. package/lib/generated-client/models/outbound-web-socket-message.d.ts +2 -2
  139. package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
  140. package/lib/generated-client/models/parental-rating.d.ts +8 -1
  141. package/lib/generated-client/models/playback-info-dto.d.ts +1 -1
  142. package/lib/generated-client/models/plugin-status.d.ts +1 -0
  143. package/lib/generated-client/models/plugin-status.js +1 -0
  144. package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
  145. package/lib/generated-client/models/profile-condition-value.js +2 -1
  146. package/lib/generated-client/models/server-configuration.d.ts +21 -9
  147. package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
  148. package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
  149. package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
  150. package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
  151. package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
  152. package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
  153. package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
  154. package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
  155. package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
  156. package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
  157. package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
  158. package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
  159. package/lib/generated-client/models/system-info.d.ts +7 -0
  160. package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
  161. package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
  162. package/lib/generated-client/models/task-trigger-info-type.js +25 -0
  163. package/lib/generated-client/models/task-trigger-info.d.ts +4 -3
  164. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  165. package/lib/generated-client/models/transcode-reason.js +2 -1
  166. package/lib/generated-client/models/transcoding-info.d.ts +1 -1
  167. package/lib/generated-client/models/transcoding-profile.d.ts +1 -1
  168. package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
  169. package/lib/generated-client/models/trickplay-info.d.ts +7 -1
  170. package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
  171. package/lib/generated-client/models/user-policy.d.ts +6 -0
  172. package/lib/generated-client/models/video-range-type.d.ts +4 -0
  173. package/lib/generated-client/models/video-range-type.js +4 -0
  174. package/lib/models/api/image-request-parameters.d.ts +0 -1
  175. package/lib/models/api/index.d.ts +0 -1
  176. package/lib/models/api/index.js +1 -1
  177. package/lib/versions.d.ts +2 -2
  178. package/lib/versions.js +2 -2
  179. package/package.json +17 -16
  180. package/lib/models/api/item-sort-by.d.ts +0 -40
  181. package/lib/models/api/item-sort-by.js +0 -43
package/CHANGELOG.md ADDED
@@ -0,0 +1,127 @@
1
+ <!-- markdownlint-disable MD024 -->
2
+ # Changelog
3
+
4
+ All notable changes to this project will be documented in this file.
5
+
6
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.12.0] - 2025-10-21
11
+
12
+ ### Security
13
+
14
+ * Bumped axios peer dependency version ([#939](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/939)). Note that this axios vulnerability only affected applications running in node.js.
15
+
16
+ ### Added
17
+
18
+ * `getUri` utility method ([#867](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/867)).
19
+
20
+ ### Changed
21
+
22
+ * Updated minimum Jellyfin version to 10.10.0 ([#942](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/942)).
23
+ * Updated OpenAPI spec for Jellyfin 10.11.0 ([#931](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/931)).
24
+
25
+ ### Removed
26
+
27
+ * Duplicate `ItemSortBy` enum ([#842](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/842)).
28
+ * `addPlayedIndicator` from `ImageRequestParameters` ([#841](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/841)).
29
+
30
+ ## [0.11.0] - 2024-10-28
31
+
32
+ ### Changed
33
+
34
+ * Updated OpenAPI spec for Jellyfin 10.10.0 ([#816](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/816)).
35
+
36
+ ### Removed
37
+
38
+ * Deprecated image url function ([#731](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/731)).
39
+
40
+ ## [0.10.0] - 2024-06-03
41
+
42
+ ### Changed
43
+
44
+ * Update build target to ES2018 ([#712](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/712)).
45
+
46
+ ## [0.9.0] - 2024-05-14
47
+
48
+ ### Changed
49
+
50
+ * Update OpenAPI spec for Jellyfin 10.9.1 ([#694](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/694)).
51
+
52
+ ## [0.8.2] - 2023-04-12
53
+
54
+ ## [0.8.1] - 2023-03-31
55
+
56
+ ## [0.8.0] - 2023-03-30
57
+
58
+ ### Changed
59
+
60
+ * Fully target ES6/ES2015 ([#341](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/341)).
61
+ * Axios major version upgrade ([#300](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/300)).
62
+
63
+ ## [0.7.0] - 2023-09-16
64
+
65
+ ### Changed
66
+
67
+ * Rename package to @jellyfin/sdk ([#262](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/262)).
68
+
69
+ ## [0.6.0] - 2022-07-14
70
+
71
+ ### Changed
72
+
73
+ * Update OpenAPI spec for Jellyfin 10.8.1 ([#208](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/208)).
74
+
75
+ ## [0.5.0] - 2022-06-17
76
+
77
+ ### Changed
78
+
79
+ * Build directory is now `lib` instead of `dist`.
80
+ Any imports used that were previously in `dist` will need updated ([#147](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/147)).
81
+ * API classes are no longer exposed via getters.
82
+ Instead you need to call a function passing the `Api` instance as a parameter.
83
+ For example: `getSystemApi(api)`.
84
+ While I do feel this is a slightly worse developer experience, it was a necessary change to support tree-shaking ([#149](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/149)).
85
+ * `BaseItemKind` is now included in the generated client.
86
+ Imports will need updated ([#187](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/187)).
87
+
88
+ ### Removed
89
+
90
+ * Duplicated exports were removed.
91
+ Any imports may need updated if you referenced one of the duplicates ([#148](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/148)).
92
+
93
+ ## [0.4.1] - 2022-02-17
94
+
95
+ ## [0.4.0] - 2022-02-17
96
+
97
+ ## [0.3.1] - 2022-02-03
98
+
99
+ ## [0.3.0] - 2021-10-18
100
+
101
+ ## [0.2.0] - 2021-10-08
102
+
103
+ ## [0.1.2] - 2021-09-19
104
+
105
+ ## [0.1.1] - 2021-09-19
106
+
107
+ ## [0.1.0] - 2021-09-19
108
+
109
+ [unreleased]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.12.0...HEAD
110
+ [0.12.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.11.0...v0.12.0
111
+ [0.11.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.10.0...v0.11.0
112
+ [0.10.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.9.0...v0.10.0
113
+ [0.9.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.8.2...v0.9.0
114
+ [0.8.2]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.8.1...v0.8.2
115
+ [0.8.1]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.8.0...v0.8.1
116
+ [0.8.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.7.0...v0.8.0
117
+ [0.7.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.6.0...v0.7.0
118
+ [0.6.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.5.0...v0.6.0
119
+ [0.5.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.4.1...v0.5.0
120
+ [0.4.1]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.4.0...v0.4.1
121
+ [0.4.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.3.1...v0.4.0
122
+ [0.3.1]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.3.0...v0.3.1
123
+ [0.3.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.2.0...v0.3.0
124
+ [0.2.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.1.2...v0.2.0
125
+ [0.1.2]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.1.1...v0.1.2
126
+ [0.1.1]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.1.0...v0.1.1
127
+ [0.1.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/releases/tag/v0.1.0
package/README.md CHANGED
@@ -35,6 +35,7 @@ yarn add @jellyfin/sdk
35
35
 
36
36
  | SDK Version | Jellyfin Version |
37
37
  |:-:|:-:|
38
+ | 0.12.0 | 10.11.x |
38
39
  | 0.11.0 | 10.10.x |
39
40
  | 0.10.0 | 10.9.x |
40
41
  | 0.9.0 | 10.9.x |
@@ -109,51 +110,7 @@ await api.logout();
109
110
 
110
111
  ## Breaking Changes
111
112
 
112
- ### v0.11.0
113
-
114
- * Updated OpenAPI spec for Jellyfin 10.10.0. [#816](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/816)
115
-
116
- ### v0.10.0
117
-
118
- * Updated build target to ES2018. [#712](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/712)
119
-
120
- ### v0.9.0
121
-
122
- * Updated OpenAPI spec for Jellyfin 10.9.1. [#694](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/694)
123
-
124
- ### v0.8.0
125
-
126
- * The library is now fully targeted to ES6/ES2015.
127
- [#341](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/341)
128
- * Axios received a major version upgrade.
129
- [#300](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/300)
130
-
131
- ### v0.7.0
132
-
133
- * Renamed package to @jellyfin/sdk.
134
- [#262](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/262)
135
-
136
- ### v0.6.0
137
-
138
- * Updated OpenAPI spec for Jellyfin 10.8.1.
139
- [#208](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/208)
140
-
141
- ### v0.5.0
142
-
143
- * Build directory is now `lib` instead of `dist`.
144
- Any imports used that were previously in `dist` will need updated.
145
- [#147](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/147)
146
- * Duplicated exports were removed.
147
- Any imports may need updated if you referenced one of the duplicates.
148
- [#148](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/148)
149
- * API classes are no longer exposed via getters.
150
- Instead you need to call a function passing the `Api` instance as a parameter.
151
- For example: `getSystemApi(api)`.
152
- While I do feel this is a slightly worse developer experience, it was a necessary change to support tree-shaking.
153
- [#149](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/149)
154
- * `BaseItemKind` is now included in the generated client.
155
- Imports will need updated.
156
- [#187](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/187)
113
+ [See the CHANGELOG](./CHANGELOG.md)
157
114
 
158
115
  ## Roadmap to 1.0
159
116
 
package/lib/api.d.ts CHANGED
@@ -24,6 +24,13 @@ export declare class Api {
24
24
  * @param password The user password if required.
25
25
  */
26
26
  authenticateUserByName(username: string, password?: string): Promise<AxiosResponse<AuthenticationResult>>;
27
+ /**
28
+ * Gets a full URI for a relative URL to the Jellyfin server for a given SDK Api instance.
29
+ * @param url The relative URL.
30
+ * @param params Any URL parameters.
31
+ * @returns The complete URI with protocol, host, and base URL (if any).
32
+ */
33
+ getUri(url: string, params?: object): string;
27
34
  /**
28
35
  * Convenience method for logging out and updating the internal state.
29
36
  */
package/lib/api.js CHANGED
@@ -38,6 +38,19 @@ class Api {
38
38
  return response;
39
39
  });
40
40
  }
41
+ /**
42
+ * Gets a full URI for a relative URL to the Jellyfin server for a given SDK Api instance.
43
+ * @param url The relative URL.
44
+ * @param params Any URL parameters.
45
+ * @returns The complete URI with protocol, host, and base URL (if any).
46
+ */
47
+ getUri(url, params) {
48
+ return this.axiosInstance.getUri({
49
+ baseURL: this.basePath,
50
+ url,
51
+ params
52
+ });
53
+ }
41
54
  /**
42
55
  * Convenience method for logging out and updating the internal state.
43
56
  */
@@ -106,5 +106,5 @@ export declare class ActivityLogApi extends BaseAPI {
106
106
  * @throws {RequiredError}
107
107
  * @memberof ActivityLogApi
108
108
  */
109
- getLogEntries(requestParameters?: ActivityLogApiGetLogEntriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActivityLogEntryQueryResult, any>>;
109
+ getLogEntries(requestParameters?: ActivityLogApiGetLogEntriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActivityLogEntryQueryResult, any, {}>>;
110
110
  }
@@ -140,7 +140,7 @@ export declare class ApiKeyApi extends BaseAPI {
140
140
  * @throws {RequiredError}
141
141
  * @memberof ApiKeyApi
142
142
  */
143
- createKey(requestParameters: ApiKeyApiCreateKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
143
+ createKey(requestParameters: ApiKeyApiCreateKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
144
144
  /**
145
145
  *
146
146
  * @summary Get all keys.
@@ -148,7 +148,7 @@ export declare class ApiKeyApi extends BaseAPI {
148
148
  * @throws {RequiredError}
149
149
  * @memberof ApiKeyApi
150
150
  */
151
- getKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationInfoQueryResult, any>>;
151
+ getKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationInfoQueryResult, any, {}>>;
152
152
  /**
153
153
  *
154
154
  * @summary Remove an api key.
@@ -157,5 +157,5 @@ export declare class ApiKeyApi extends BaseAPI {
157
157
  * @throws {RequiredError}
158
158
  * @memberof ApiKeyApi
159
159
  */
160
- revokeKey(requestParameters: ApiKeyApiRevokeKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
160
+ revokeKey(requestParameters: ApiKeyApiRevokeKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
161
161
  }
@@ -668,7 +668,7 @@ export declare class ArtistsApi extends BaseAPI {
668
668
  * @throws {RequiredError}
669
669
  * @memberof ArtistsApi
670
670
  */
671
- getAlbumArtists(requestParameters?: ArtistsApiGetAlbumArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
671
+ getAlbumArtists(requestParameters?: ArtistsApiGetAlbumArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
672
672
  /**
673
673
  *
674
674
  * @summary Gets an artist by name.
@@ -677,7 +677,7 @@ export declare class ArtistsApi extends BaseAPI {
677
677
  * @throws {RequiredError}
678
678
  * @memberof ArtistsApi
679
679
  */
680
- getArtistByName(requestParameters: ArtistsApiGetArtistByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
680
+ getArtistByName(requestParameters: ArtistsApiGetArtistByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
681
681
  /**
682
682
  *
683
683
  * @summary Gets all artists from a given item, folder, or the entire library.
@@ -686,5 +686,5 @@ export declare class ArtistsApi extends BaseAPI {
686
686
  * @throws {RequiredError}
687
687
  * @memberof ArtistsApi
688
688
  */
689
- getArtists(requestParameters?: ArtistsApiGetArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
689
+ getArtists(requestParameters?: ArtistsApiGetArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
690
690
  }
@@ -117,7 +117,7 @@ export declare const AudioApiAxiosParamCreator: (configuration?: Configuration)
117
117
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
118
118
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
119
119
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
120
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
120
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
121
121
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
122
122
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
123
123
  * @param {string} [liveStreamId] The live stream id.
@@ -235,7 +235,7 @@ export declare const AudioApiAxiosParamCreator: (configuration?: Configuration)
235
235
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
236
236
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
237
237
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
238
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
238
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
239
239
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
240
240
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
241
241
  * @param {string} [liveStreamId] The live stream id.
@@ -359,7 +359,7 @@ export declare const AudioApiFp: (configuration?: Configuration) => {
359
359
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
360
360
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
361
361
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
362
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
362
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
363
363
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
364
364
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
365
365
  * @param {string} [liveStreamId] The live stream id.
@@ -477,7 +477,7 @@ export declare const AudioApiFp: (configuration?: Configuration) => {
477
477
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
478
478
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
479
479
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
480
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
480
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
481
481
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
482
482
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
483
483
  * @param {string} [liveStreamId] The live stream id.
@@ -1073,7 +1073,7 @@ export interface AudioApiGetAudioStreamByContainerRequest {
1073
1073
  */
1074
1074
  readonly deInterlace?: boolean;
1075
1075
  /**
1076
- * Optional. Whether to require a non anamporphic stream.
1076
+ * Optional. Whether to require a non anamorphic stream.
1077
1077
  * @type {boolean}
1078
1078
  * @memberof AudioApiGetAudioStreamByContainer
1079
1079
  */
@@ -1691,7 +1691,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
1691
1691
  */
1692
1692
  readonly deInterlace?: boolean;
1693
1693
  /**
1694
- * Optional. Whether to require a non anamporphic stream.
1694
+ * Optional. Whether to require a non anamorphic stream.
1695
1695
  * @type {boolean}
1696
1696
  * @memberof AudioApiHeadAudioStreamByContainer
1697
1697
  */
@@ -1786,7 +1786,7 @@ export declare class AudioApi extends BaseAPI {
1786
1786
  * @throws {RequiredError}
1787
1787
  * @memberof AudioApi
1788
1788
  */
1789
- getAudioStream(requestParameters: AudioApiGetAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
1789
+ getAudioStream(requestParameters: AudioApiGetAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
1790
1790
  /**
1791
1791
  *
1792
1792
  * @summary Gets an audio stream.
@@ -1795,7 +1795,7 @@ export declare class AudioApi extends BaseAPI {
1795
1795
  * @throws {RequiredError}
1796
1796
  * @memberof AudioApi
1797
1797
  */
1798
- getAudioStreamByContainer(requestParameters: AudioApiGetAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
1798
+ getAudioStreamByContainer(requestParameters: AudioApiGetAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
1799
1799
  /**
1800
1800
  *
1801
1801
  * @summary Gets an audio stream.
@@ -1804,7 +1804,7 @@ export declare class AudioApi extends BaseAPI {
1804
1804
  * @throws {RequiredError}
1805
1805
  * @memberof AudioApi
1806
1806
  */
1807
- headAudioStream(requestParameters: AudioApiHeadAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
1807
+ headAudioStream(requestParameters: AudioApiHeadAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
1808
1808
  /**
1809
1809
  *
1810
1810
  * @summary Gets an audio stream.
@@ -1813,5 +1813,5 @@ export declare class AudioApi extends BaseAPI {
1813
1813
  * @throws {RequiredError}
1814
1814
  * @memberof AudioApi
1815
1815
  */
1816
- headAudioStreamByContainer(requestParameters: AudioApiHeadAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
1816
+ headAudioStreamByContainer(requestParameters: AudioApiHeadAudioStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
1817
1817
  }
@@ -287,7 +287,7 @@ const AudioApiAxiosParamCreator = function (configuration) {
287
287
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
288
288
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
289
289
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
290
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
290
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
291
291
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
292
292
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
293
293
  * @param {string} [liveStreamId] The live stream id.
@@ -741,7 +741,7 @@ const AudioApiAxiosParamCreator = function (configuration) {
741
741
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
742
742
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
743
743
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
744
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
744
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
745
745
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
746
746
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
747
747
  * @param {string} [liveStreamId] The live stream id.
@@ -1040,7 +1040,7 @@ const AudioApiFp = function (configuration) {
1040
1040
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1041
1041
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
1042
1042
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1043
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
1043
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1044
1044
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1045
1045
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1046
1046
  * @param {string} [liveStreamId] The live stream id.
@@ -1166,7 +1166,7 @@ const AudioApiFp = function (configuration) {
1166
1166
  * @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
1167
1167
  * @param {boolean} [requireAvc] Optional. Whether to require avc.
1168
1168
  * @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1169
- * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
1169
+ * @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
1170
1170
  * @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
1171
1171
  * @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
1172
1172
  * @param {string} [liveStreamId] The live stream id.
@@ -0,0 +1,209 @@
1
+ /**
2
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
+ * Do not edit the class manually.
4
+ *
5
+ * Jellyfin API
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+ */
11
+ import type { Configuration } from '../configuration';
12
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
13
+ import { type RequestArgs, BaseAPI } from '../base';
14
+ import type { BackupManifestDto } from '../models';
15
+ import type { BackupOptionsDto } from '../models';
16
+ import type { BackupRestoreRequestDto } from '../models';
17
+ /**
18
+ * BackupApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const BackupApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Creates a new Backup.
25
+ * @param {BackupOptionsDto} [backupOptionsDto] The backup options.
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ createBackup: (backupOptionsDto?: BackupOptionsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ *
32
+ * @summary Gets the descriptor from an existing archive is present.
33
+ * @param {string} path The data to start a restore process.
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ getBackup: (path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary Gets a list of all currently present backups in the backup directory.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ listBackups: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @summary Restores to a backup by restarting the server and applying the backup.
48
+ * @param {BackupRestoreRequestDto} backupRestoreRequestDto The data to start a restore process.
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ startRestoreBackup: (backupRestoreRequestDto: BackupRestoreRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
+ };
54
+ /**
55
+ * BackupApi - functional programming interface
56
+ * @export
57
+ */
58
+ export declare const BackupApiFp: (configuration?: Configuration) => {
59
+ /**
60
+ *
61
+ * @summary Creates a new Backup.
62
+ * @param {BackupOptionsDto} [backupOptionsDto] The backup options.
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ createBackup(backupOptionsDto?: BackupOptionsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackupManifestDto>>;
67
+ /**
68
+ *
69
+ * @summary Gets the descriptor from an existing archive is present.
70
+ * @param {string} path The data to start a restore process.
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ getBackup(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackupManifestDto>>;
75
+ /**
76
+ *
77
+ * @summary Gets a list of all currently present backups in the backup directory.
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ listBackups(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BackupManifestDto>>>;
82
+ /**
83
+ *
84
+ * @summary Restores to a backup by restarting the server and applying the backup.
85
+ * @param {BackupRestoreRequestDto} backupRestoreRequestDto The data to start a restore process.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ startRestoreBackup(backupRestoreRequestDto: BackupRestoreRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
+ };
91
+ /**
92
+ * BackupApi - factory interface
93
+ * @export
94
+ */
95
+ export declare const BackupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
96
+ /**
97
+ *
98
+ * @summary Creates a new Backup.
99
+ * @param {BackupApiCreateBackupRequest} requestParameters Request parameters.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ createBackup(requestParameters?: BackupApiCreateBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupManifestDto>;
104
+ /**
105
+ *
106
+ * @summary Gets the descriptor from an existing archive is present.
107
+ * @param {BackupApiGetBackupRequest} requestParameters Request parameters.
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ getBackup(requestParameters: BackupApiGetBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupManifestDto>;
112
+ /**
113
+ *
114
+ * @summary Gets a list of all currently present backups in the backup directory.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ listBackups(options?: RawAxiosRequestConfig): AxiosPromise<Array<BackupManifestDto>>;
119
+ /**
120
+ *
121
+ * @summary Restores to a backup by restarting the server and applying the backup.
122
+ * @param {BackupApiStartRestoreBackupRequest} requestParameters Request parameters.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ startRestoreBackup(requestParameters: BackupApiStartRestoreBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
127
+ };
128
+ /**
129
+ * Request parameters for createBackup operation in BackupApi.
130
+ * @export
131
+ * @interface BackupApiCreateBackupRequest
132
+ */
133
+ export interface BackupApiCreateBackupRequest {
134
+ /**
135
+ * The backup options.
136
+ * @type {BackupOptionsDto}
137
+ * @memberof BackupApiCreateBackup
138
+ */
139
+ readonly backupOptionsDto?: BackupOptionsDto;
140
+ }
141
+ /**
142
+ * Request parameters for getBackup operation in BackupApi.
143
+ * @export
144
+ * @interface BackupApiGetBackupRequest
145
+ */
146
+ export interface BackupApiGetBackupRequest {
147
+ /**
148
+ * The data to start a restore process.
149
+ * @type {string}
150
+ * @memberof BackupApiGetBackup
151
+ */
152
+ readonly path: string;
153
+ }
154
+ /**
155
+ * Request parameters for startRestoreBackup operation in BackupApi.
156
+ * @export
157
+ * @interface BackupApiStartRestoreBackupRequest
158
+ */
159
+ export interface BackupApiStartRestoreBackupRequest {
160
+ /**
161
+ * The data to start a restore process.
162
+ * @type {BackupRestoreRequestDto}
163
+ * @memberof BackupApiStartRestoreBackup
164
+ */
165
+ readonly backupRestoreRequestDto: BackupRestoreRequestDto;
166
+ }
167
+ /**
168
+ * BackupApi - object-oriented interface
169
+ * @export
170
+ * @class BackupApi
171
+ * @extends {BaseAPI}
172
+ */
173
+ export declare class BackupApi extends BaseAPI {
174
+ /**
175
+ *
176
+ * @summary Creates a new Backup.
177
+ * @param {BackupApiCreateBackupRequest} requestParameters Request parameters.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ * @memberof BackupApi
181
+ */
182
+ createBackup(requestParameters?: BackupApiCreateBackupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BackupManifestDto, any, {}>>;
183
+ /**
184
+ *
185
+ * @summary Gets the descriptor from an existing archive is present.
186
+ * @param {BackupApiGetBackupRequest} requestParameters Request parameters.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ * @memberof BackupApi
190
+ */
191
+ getBackup(requestParameters: BackupApiGetBackupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BackupManifestDto, any, {}>>;
192
+ /**
193
+ *
194
+ * @summary Gets a list of all currently present backups in the backup directory.
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ * @memberof BackupApi
198
+ */
199
+ listBackups(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BackupManifestDto[], any, {}>>;
200
+ /**
201
+ *
202
+ * @summary Restores to a backup by restarting the server and applying the backup.
203
+ * @param {BackupApiStartRestoreBackupRequest} requestParameters Request parameters.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ * @memberof BackupApi
207
+ */
208
+ startRestoreBackup(requestParameters: BackupApiStartRestoreBackupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
209
+ }