@duplicati/ngclient 0.0.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 (152) hide show
  1. package/.dockerignore +13 -0
  2. package/.github/workflows/npm-publish.yml +59 -0
  3. package/.prettierignore +13 -0
  4. package/.prettierrc +12 -0
  5. package/.vscode/extensions.json +4 -0
  6. package/.vscode/launch.json +13 -0
  7. package/.vscode/settings.json +8 -0
  8. package/.vscode/tasks.json +24 -0
  9. package/Dockerfile +38 -0
  10. package/LICENSE +21 -0
  11. package/README.md +27 -0
  12. package/angular.json +98 -0
  13. package/bun.lockb +0 -0
  14. package/openapi-ts.config.ts +13 -0
  15. package/package.json +46 -0
  16. package/scripts/generate-package-json.ts +15 -0
  17. package/src/app/about/about.component.html +15 -0
  18. package/src/app/about/about.component.scss +19 -0
  19. package/src/app/about/about.component.ts +13 -0
  20. package/src/app/about/changelog/changelog.component.html +3 -0
  21. package/src/app/about/changelog/changelog.component.scss +7 -0
  22. package/src/app/about/changelog/changelog.component.ts +18 -0
  23. package/src/app/about/general/general.component.html +9 -0
  24. package/src/app/about/general/general.component.scss +23 -0
  25. package/src/app/about/general/general.component.ts +30 -0
  26. package/src/app/about/libraries/libraries.component.html +3 -0
  27. package/src/app/about/libraries/libraries.component.scss +7 -0
  28. package/src/app/about/libraries/libraries.component.ts +18 -0
  29. package/src/app/about/logs/logs.component.html +5 -0
  30. package/src/app/about/logs/logs.component.scss +7 -0
  31. package/src/app/about/logs/logs.component.ts +18 -0
  32. package/src/app/about/system-info/system-info.component.html +3 -0
  33. package/src/app/about/system-info/system-info.component.scss +7 -0
  34. package/src/app/about/system-info/system-info.component.ts +17 -0
  35. package/src/app/add-backup/add-backup.component.html +29 -0
  36. package/src/app/add-backup/add-backup.component.scss +38 -0
  37. package/src/app/add-backup/add-backup.component.ts +14 -0
  38. package/src/app/app.component.ts +35 -0
  39. package/src/app/app.config.ts +23 -0
  40. package/src/app/app.routes.ts +121 -0
  41. package/src/app/core/components/file-tree/file-tree.component.html +87 -0
  42. package/src/app/core/components/file-tree/file-tree.component.scss +80 -0
  43. package/src/app/core/components/file-tree/file-tree.component.ts +485 -0
  44. package/src/app/core/components/logo/logo.component.html +22 -0
  45. package/src/app/core/components/logo/logo.component.scss +12 -0
  46. package/src/app/core/components/logo/logo.component.ts +11 -0
  47. package/src/app/core/components/status-bar/status-bar.component.html +38 -0
  48. package/src/app/core/components/status-bar/status-bar.component.scss +27 -0
  49. package/src/app/core/components/status-bar/status-bar.component.ts +33 -0
  50. package/src/app/core/components/status-bar/status-bar.state.ts +182 -0
  51. package/src/app/core/components/toggle-card/toggle-card.component.html +11 -0
  52. package/src/app/core/components/toggle-card/toggle-card.component.scss +49 -0
  53. package/src/app/core/components/toggle-card/toggle-card.component.ts +28 -0
  54. package/src/app/core/interceptors/http.interceptor.ts +69 -0
  55. package/src/app/core/interceptors/websocket.interceptor.ts +66 -0
  56. package/src/app/core/openapi/core/ApiError.ts +21 -0
  57. package/src/app/core/openapi/core/ApiRequestOptions.ts +21 -0
  58. package/src/app/core/openapi/core/ApiResult.ts +7 -0
  59. package/src/app/core/openapi/core/OpenAPI.ts +55 -0
  60. package/src/app/core/openapi/core/request.ts +337 -0
  61. package/src/app/core/openapi/index.ts +6 -0
  62. package/src/app/core/openapi/schemas.gen.ts +3611 -0
  63. package/src/app/core/openapi/services.gen.ts +1460 -0
  64. package/src/app/core/openapi/types.gen.ts +1510 -0
  65. package/src/app/core/pipes/duration.pipe.ts +27 -0
  66. package/src/app/core/pipes/relative-time.pipe.ts +14 -0
  67. package/src/app/core/providers/dayjs.ts +16 -0
  68. package/src/app/core/services/dict.en.ts +0 -0
  69. package/src/app/core/services/dictionary.service.ts +12 -0
  70. package/src/app/core/services/localstorage.token.ts +82 -0
  71. package/src/app/core/services/password-generator.service.ts +39 -0
  72. package/src/app/core/services/relay-websocket.service.ts +268 -0
  73. package/src/app/core/services/timespan-literals.service.ts +25 -0
  74. package/src/app/core/states/app-auth.state.ts +87 -0
  75. package/src/app/core/states/backups.state.ts +71 -0
  76. package/src/app/core/states/relayconfig.state.ts +23 -0
  77. package/src/app/core/states/sysinfo.state.ts +31 -0
  78. package/src/app/core/states/tasks.state.ts +34 -0
  79. package/src/app/core/types/subscribed.ts +7 -0
  80. package/src/app/core/validators/custom.validators.ts +120 -0
  81. package/src/app/create-edit-backup/create-edit-backup.component.html +28 -0
  82. package/src/app/create-edit-backup/create-edit-backup.component.scss +15 -0
  83. package/src/app/create-edit-backup/create-edit-backup.component.ts +33 -0
  84. package/src/app/create-edit-backup/create-edit-backup.state.ts +582 -0
  85. package/src/app/create-edit-backup/destination/destination.component.html +367 -0
  86. package/src/app/create-edit-backup/destination/destination.component.scss +85 -0
  87. package/src/app/create-edit-backup/destination/destination.component.ts +249 -0
  88. package/src/app/create-edit-backup/destination/destination.config.ts +103 -0
  89. package/src/app/create-edit-backup/destination/destination.mapper.ts +177 -0
  90. package/src/app/create-edit-backup/general/general.component.html +108 -0
  91. package/src/app/create-edit-backup/general/general.component.scss +34 -0
  92. package/src/app/create-edit-backup/general/general.component.ts +136 -0
  93. package/src/app/create-edit-backup/options/options.component.html +95 -0
  94. package/src/app/create-edit-backup/options/options.component.scss +42 -0
  95. package/src/app/create-edit-backup/options/options.component.ts +113 -0
  96. package/src/app/create-edit-backup/schedule/schedule.component.html +102 -0
  97. package/src/app/create-edit-backup/schedule/schedule.component.scss +38 -0
  98. package/src/app/create-edit-backup/schedule/schedule.component.ts +137 -0
  99. package/src/app/create-edit-backup/source-data/source-data.component.html +93 -0
  100. package/src/app/create-edit-backup/source-data/source-data.component.scss +41 -0
  101. package/src/app/create-edit-backup/source-data/source-data.component.ts +114 -0
  102. package/src/app/home/backup.const.ts +167 -0
  103. package/src/app/home/home.component.html +98 -0
  104. package/src/app/home/home.component.scss +88 -0
  105. package/src/app/home/home.component.ts +54 -0
  106. package/src/app/layout/layout.component.html +64 -0
  107. package/src/app/layout/layout.component.scss +24 -0
  108. package/src/app/layout/layout.component.ts +51 -0
  109. package/src/app/layout/layout.state.ts +70 -0
  110. package/src/app/login/login.component.html +12 -0
  111. package/src/app/login/login.component.scss +25 -0
  112. package/src/app/login/login.component.ts +34 -0
  113. package/src/app/logout/logout.component.html +1 -0
  114. package/src/app/logout/logout.component.scss +3 -0
  115. package/src/app/logout/logout.component.ts +18 -0
  116. package/src/app/restore/restore.component.html +56 -0
  117. package/src/app/restore/restore.component.scss +37 -0
  118. package/src/app/restore/restore.component.ts +55 -0
  119. package/src/app/restore-flow/options/options.component.html +57 -0
  120. package/src/app/restore-flow/options/options.component.scss +16 -0
  121. package/src/app/restore-flow/options/options.component.ts +58 -0
  122. package/src/app/restore-flow/restore-flow.component.html +14 -0
  123. package/src/app/restore-flow/restore-flow.component.scss +15 -0
  124. package/src/app/restore-flow/restore-flow.component.ts +23 -0
  125. package/src/app/restore-flow/restore-flow.state.ts +120 -0
  126. package/src/app/restore-flow/select-files/select-files.component.html +42 -0
  127. package/src/app/restore-flow/select-files/select-files.component.scss +16 -0
  128. package/src/app/restore-flow/select-files/select-files.component.ts +129 -0
  129. package/src/app/settings/settings.component.html +256 -0
  130. package/src/app/settings/settings.component.scss +106 -0
  131. package/src/app/settings/settings.component.ts +475 -0
  132. package/src/assets/duplicati-logo.png +0 -0
  133. package/src/assets/duplicati-logo.svg +10 -0
  134. package/src/assets/favicon.ico +0 -0
  135. package/src/assets/images/backup.png +0 -0
  136. package/src/assets/images/dark-theme.png +0 -0
  137. package/src/assets/images/folder.png +0 -0
  138. package/src/assets/images/light-theme.png +0 -0
  139. package/src/assets/images/new-backup.png +0 -0
  140. package/src/assets/images/restore.png +0 -0
  141. package/src/assets/images/system-theme.png +0 -0
  142. package/src/assets/spk.css +33 -0
  143. package/src/assets/spk.woff2 +0 -0
  144. package/src/environments/environment-token.ts +4 -0
  145. package/src/environments/environment.prod.ts +6 -0
  146. package/src/environments/environment.ts +6 -0
  147. package/src/index.html +15 -0
  148. package/src/main.ts +6 -0
  149. package/src/proxy.conf.mjs +6 -0
  150. package/src/styles.scss +41 -0
  151. package/tsconfig.app.json +15 -0
  152. package/tsconfig.json +30 -0
@@ -0,0 +1,1460 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ import { Injectable } from '@angular/core';
4
+ import { HttpClient } from '@angular/common/http';
5
+ import type { Observable } from 'rxjs';
6
+ import { OpenAPI } from './core/OpenAPI';
7
+ import { request as __request } from './core/request';
8
+ import type { GetApiV1CommandlineResponse, PostApiV1CommandlineData, PostApiV1CommandlineResponse, GetApiV1AcknowledgementsResponse, PostApiV1AuthRefreshResponse, PostApiV1AuthSigninData, PostApiV1AuthSigninResponse, PostApiV1AuthLoginData, PostApiV1AuthLoginResponse, PostApiV1AuthIssuesignintokenData, PostApiV1AuthIssuesignintokenResponse, PostApiV1AuthRefreshLogoutResponse, PostApiV1AuthIssuetokenByOperationData, PostApiV1AuthIssuetokenByOperationResponse, GetApiV1BackupdefaultsResponse, GetApiV1BackupsResponse, PostApiV1BackupsData, PostApiV1BackupsResponse, PostApiV1BackupsImportData, PostApiV1BackupsImportResponse, GetApiV1BugreportByReportidData, GetApiV1BugreportByReportidResponse, GetApiV1CaptchaByTokenData, GetApiV1CaptchaByTokenResponse, PostApiV1CaptchaByTokenData, PostApiV1CaptchaByTokenResponse, PostApiV1CaptchaData, PostApiV1CaptchaResponse, GetApiV1ChangelogData, GetApiV1ChangelogResponse, GetApiV1CommandlineByRunidData, GetApiV1CommandlineByRunidResponse, PostApiV1CommandlineByRunidAbortData, PostApiV1CommandlineByRunidAbortResponse, PostApiV1FilesystemData, PostApiV1FilesystemResponse, PostApiV1FilesystemValidateData, PostApiV1FilesystemValidateResponse, GetApiV1HypervResponse, GetApiV1HypervByKeyData, GetApiV1HypervByKeyResponse, GetApiV1LicensesResponse, GetApiV1LogdataPollData, GetApiV1LogdataPollResponse, GetApiV1LogdataLogData, GetApiV1LogdataLogResponse, GetApiV1MssqlResponse, GetApiV1MssqlByKeyData, GetApiV1MssqlByKeyResponse, GetApiV1NotificationByIdData, GetApiV1NotificationByIdResponse, DeleteApiV1NotificationByIdData, DeleteApiV1NotificationByIdResponse, GetApiV1NotificationsResponse, GetApiV1RemotecontrolStatusResponse, PostApiV1RemotecontrolEnableResponse, PostApiV1RemotecontrolDisableResponse, DeleteApiV1RemotecontrolRegistrationResponse, PostApiV1RemotecontrolRegisterData, PostApiV1RemotecontrolRegisterResponse, DeleteApiV1RemotecontrolRegisterResponse, PostApiV1RemoteoperationDbpathData, PostApiV1RemoteoperationDbpathResponse, PostApiV1RemoteoperationTestData, PostApiV1RemoteoperationTestResponse, PostApiV1RemoteoperationCreateData, PostApiV1RemoteoperationCreateResponse, GetApiV1ServersettingsResponse, PatchApiV1ServersettingsData, PatchApiV1ServersettingsResponse, GetApiV1ServersettingByKeyData, GetApiV1ServersettingByKeyResponse, PutApiV1ServersettingByKeyData, PutApiV1ServersettingByKeyResponse, GetApiV1ServerstateData, GetApiV1ServerstateResponse, PostApiV1ServerstatePauseData, PostApiV1ServerstatePauseResponse, PostApiV1ServerstateResumeResponse, GetApiV1SysteminfoResponse, GetApiV1SysteminfoFiltergroupsResponse, GetApiV1TaskByTaskidData, GetApiV1TaskByTaskidResponse, PostApiV1TaskByTaskidStopaftercurrentfileData, PostApiV1TaskByTaskidStopaftercurrentfileResponse, PostApiV1TaskByTaskidStopnowData, PostApiV1TaskByTaskidStopnowResponse, PostApiV1TaskByTaskidAbortData, PostApiV1TaskByTaskidAbortResponse, GetApiV1UisettingsResponse, GetApiV1UisettingsBySchemeData, GetApiV1UisettingsBySchemeResponse, PatchApiV1UisettingsBySchemeData, PatchApiV1UisettingsBySchemeResponse, PostApiV1WebmoduleByModulekeyData, PostApiV1WebmoduleByModulekeyResponse, GetApiV1BackupByIdData, GetApiV1BackupByIdResponse, PutApiV1BackupByIdData, PutApiV1BackupByIdResponse, DeleteApiV1BackupByIdData, DeleteApiV1BackupByIdResponse, GetApiV1BackupByIdFilesData, GetApiV1BackupByIdFilesResponse, GetApiV1BackupByIdLogData, GetApiV1BackupByIdLogResponse, GetApiV1BackupByIdRemotelogData, GetApiV1BackupByIdRemotelogResponse, GetApiV1BackupByIdFilesetsData, GetApiV1BackupByIdFilesetsResponse, GetApiV1BackupByIdExportArgsonlyData, GetApiV1BackupByIdExportArgsonlyResponse, GetApiV1BackupByIdExportCmdlineData, GetApiV1BackupByIdExportCmdlineResponse, GetApiV1BackupByIdExportData, GetApiV1BackupByIdExportResponse, GetApiV1BackupByIdIsdbusedelsewhereData, GetApiV1BackupByIdIsdbusedelsewhereResponse, GetApiV1BackupByIdIsactiveData, GetApiV1BackupByIdIsactiveResponse, PostApiV1BackupByIdDeletedbData, PostApiV1BackupByIdDeletedbResponse, PostApiV1BackupByIdMovedbData, PostApiV1BackupByIdMovedbResponse, PostApiV1BackupByIdUpdatedbData, PostApiV1BackupByIdUpdatedbResponse, PostApiV1BackupByIdRestoreData, PostApiV1BackupByIdRestoreResponse, PostApiV1BackupByIdCreatereportData, PostApiV1BackupByIdCreatereportResponse, PostApiV1BackupByIdRepairData, PostApiV1BackupByIdRepairResponse, PostApiV1BackupByIdRepairupdateData, PostApiV1BackupByIdRepairupdateResponse, PostApiV1BackupByIdVacuumData, PostApiV1BackupByIdVacuumResponse, PostApiV1BackupByIdVerifyData, PostApiV1BackupByIdVerifyResponse, PostApiV1BackupByIdCompactData, PostApiV1BackupByIdCompactResponse, PostApiV1BackupByIdStartData, PostApiV1BackupByIdStartResponse, PostApiV1BackupByIdRunData, PostApiV1BackupByIdRunResponse, PostApiV1BackupByIdReportRemoteSizeData, PostApiV1BackupByIdReportRemoteSizeResponse, PostApiV1BackupByIdCopytotempData, PostApiV1BackupByIdCopytotempResponse, GetApiV1ProgressstateResponse, GetApiV1TasksResponse, PostApiV1UpdatesCheckResponse, GetApiV1WebmodulesResponse } from './types.gen';
9
+
10
+ @Injectable({
11
+ providedIn: 'root'
12
+ })
13
+ export class CommandlineService {
14
+ constructor(public readonly http: HttpClient) { }
15
+
16
+ /**
17
+ * @returns string Success
18
+ * @throws ApiError
19
+ */
20
+ public getApiV1Commandline(): Observable<GetApiV1CommandlineResponse> {
21
+ return __request(OpenAPI, this.http, {
22
+ method: 'GET',
23
+ url: '/api/v1/commandline'
24
+ });
25
+ }
26
+
27
+ }
28
+
29
+ @Injectable({
30
+ providedIn: 'root'
31
+ })
32
+ export class DuplicatiServerService {
33
+ constructor(public readonly http: HttpClient) { }
34
+
35
+ /**
36
+ * @param data The data for the request.
37
+ * @param data.requestBody
38
+ * @returns CommandlineTaskStartedDto Success
39
+ * @throws ApiError
40
+ */
41
+ public postApiV1Commandline(data: PostApiV1CommandlineData): Observable<PostApiV1CommandlineResponse> {
42
+ return __request(OpenAPI, this.http, {
43
+ method: 'POST',
44
+ url: '/api/v1/commandline',
45
+ body: data.requestBody,
46
+ mediaType: 'application/json'
47
+ });
48
+ }
49
+
50
+ /**
51
+ * @returns AcknowlegdementDto Success
52
+ * @throws ApiError
53
+ */
54
+ public getApiV1Acknowledgements(): Observable<GetApiV1AcknowledgementsResponse> {
55
+ return __request(OpenAPI, this.http, {
56
+ method: 'GET',
57
+ url: '/api/v1/acknowledgements'
58
+ });
59
+ }
60
+
61
+ /**
62
+ * @returns AccessTokenOutput Success
63
+ * @throws ApiError
64
+ */
65
+ public postApiV1AuthRefresh(): Observable<PostApiV1AuthRefreshResponse> {
66
+ return __request(OpenAPI, this.http, {
67
+ method: 'POST',
68
+ url: '/api/v1/auth/refresh'
69
+ });
70
+ }
71
+
72
+ /**
73
+ * @param data The data for the request.
74
+ * @param data.requestBody
75
+ * @returns AccessTokenOutput Success
76
+ * @throws ApiError
77
+ */
78
+ public postApiV1AuthSignin(data: PostApiV1AuthSigninData): Observable<PostApiV1AuthSigninResponse> {
79
+ return __request(OpenAPI, this.http, {
80
+ method: 'POST',
81
+ url: '/api/v1/auth/signin',
82
+ body: data.requestBody,
83
+ mediaType: 'application/json'
84
+ });
85
+ }
86
+
87
+ /**
88
+ * @param data The data for the request.
89
+ * @param data.requestBody
90
+ * @returns AccessTokenOutput Success
91
+ * @throws ApiError
92
+ */
93
+ public postApiV1AuthLogin(data: PostApiV1AuthLoginData): Observable<PostApiV1AuthLoginResponse> {
94
+ return __request(OpenAPI, this.http, {
95
+ method: 'POST',
96
+ url: '/api/v1/auth/login',
97
+ body: data.requestBody,
98
+ mediaType: 'application/json'
99
+ });
100
+ }
101
+
102
+ /**
103
+ * @param data The data for the request.
104
+ * @param data.requestBody
105
+ * @returns SigninTokenOutputDto Success
106
+ * @throws ApiError
107
+ */
108
+ public postApiV1AuthIssuesignintoken(data: PostApiV1AuthIssuesignintokenData): Observable<PostApiV1AuthIssuesignintokenResponse> {
109
+ return __request(OpenAPI, this.http, {
110
+ method: 'POST',
111
+ url: '/api/v1/auth/issuesignintoken',
112
+ body: data.requestBody,
113
+ mediaType: 'application/json'
114
+ });
115
+ }
116
+
117
+ /**
118
+ * @returns unknown Success
119
+ * @throws ApiError
120
+ */
121
+ public postApiV1AuthRefreshLogout(): Observable<PostApiV1AuthRefreshLogoutResponse> {
122
+ return __request(OpenAPI, this.http, {
123
+ method: 'POST',
124
+ url: '/api/v1/auth/refresh/logout'
125
+ });
126
+ }
127
+
128
+ /**
129
+ * @param data The data for the request.
130
+ * @param data.operation
131
+ * @returns SingleOperationTokenOutputDto Success
132
+ * @throws ApiError
133
+ */
134
+ public postApiV1AuthIssuetokenByOperation(data: PostApiV1AuthIssuetokenByOperationData): Observable<PostApiV1AuthIssuetokenByOperationResponse> {
135
+ return __request(OpenAPI, this.http, {
136
+ method: 'POST',
137
+ url: '/api/v1/auth/issuetoken/{operation}',
138
+ path: {
139
+ operation: data.operation
140
+ }
141
+ });
142
+ }
143
+
144
+ /**
145
+ * @returns string Success
146
+ * @throws ApiError
147
+ */
148
+ public getApiV1Backupdefaults(): Observable<GetApiV1BackupdefaultsResponse> {
149
+ return __request(OpenAPI, this.http, {
150
+ method: 'GET',
151
+ url: '/api/v1/backupdefaults'
152
+ });
153
+ }
154
+
155
+ /**
156
+ * @returns BackupAndScheduleOutputDto Success
157
+ * @throws ApiError
158
+ */
159
+ public getApiV1Backups(): Observable<GetApiV1BackupsResponse> {
160
+ return __request(OpenAPI, this.http, {
161
+ method: 'GET',
162
+ url: '/api/v1/backups'
163
+ });
164
+ }
165
+
166
+ /**
167
+ * @param data The data for the request.
168
+ * @param data.requestBody
169
+ * @param data.temporary
170
+ * @param data.existingdb
171
+ * @returns CreateBackupDto Success
172
+ * @throws ApiError
173
+ */
174
+ public postApiV1Backups(data: PostApiV1BackupsData): Observable<PostApiV1BackupsResponse> {
175
+ return __request(OpenAPI, this.http, {
176
+ method: 'POST',
177
+ url: '/api/v1/backups',
178
+ query: {
179
+ temporary: data.temporary,
180
+ existingdb: data.existingdb
181
+ },
182
+ body: data.requestBody,
183
+ mediaType: 'application/json'
184
+ });
185
+ }
186
+
187
+ /**
188
+ * @param data The data for the request.
189
+ * @param data.requestBody
190
+ * @returns ImportBackupOutputDto Success
191
+ * @throws ApiError
192
+ */
193
+ public postApiV1BackupsImport(data: PostApiV1BackupsImportData): Observable<PostApiV1BackupsImportResponse> {
194
+ return __request(OpenAPI, this.http, {
195
+ method: 'POST',
196
+ url: '/api/v1/backups/import',
197
+ body: data.requestBody,
198
+ mediaType: 'application/json'
199
+ });
200
+ }
201
+
202
+ /**
203
+ * @param data The data for the request.
204
+ * @param data.reportid
205
+ * @param data.token
206
+ * @returns unknown Success
207
+ * @throws ApiError
208
+ */
209
+ public getApiV1BugreportByReportid(data: GetApiV1BugreportByReportidData): Observable<GetApiV1BugreportByReportidResponse> {
210
+ return __request(OpenAPI, this.http, {
211
+ method: 'GET',
212
+ url: '/api/v1/bugreport/{reportid}',
213
+ path: {
214
+ reportid: data.reportid
215
+ },
216
+ query: {
217
+ token: data.token
218
+ }
219
+ });
220
+ }
221
+
222
+ /**
223
+ * @param data The data for the request.
224
+ * @param data.token
225
+ * @returns unknown Success
226
+ * @throws ApiError
227
+ */
228
+ public getApiV1CaptchaByToken(data: GetApiV1CaptchaByTokenData): Observable<GetApiV1CaptchaByTokenResponse> {
229
+ return __request(OpenAPI, this.http, {
230
+ method: 'GET',
231
+ url: '/api/v1/captcha/{token}',
232
+ path: {
233
+ token: data.token
234
+ }
235
+ });
236
+ }
237
+
238
+ /**
239
+ * @param data The data for the request.
240
+ * @param data.token
241
+ * @param data.requestBody
242
+ * @returns Boolean__f__AnonymousType1 Success
243
+ * @throws ApiError
244
+ */
245
+ public postApiV1CaptchaByToken(data: PostApiV1CaptchaByTokenData): Observable<PostApiV1CaptchaByTokenResponse> {
246
+ return __request(OpenAPI, this.http, {
247
+ method: 'POST',
248
+ url: '/api/v1/captcha/{token}',
249
+ path: {
250
+ token: data.token
251
+ },
252
+ body: data.requestBody,
253
+ mediaType: 'application/json'
254
+ });
255
+ }
256
+
257
+ /**
258
+ * @param data The data for the request.
259
+ * @param data.requestBody
260
+ * @returns GenerateCaptchaOutput Success
261
+ * @throws ApiError
262
+ */
263
+ public postApiV1Captcha(data: PostApiV1CaptchaData): Observable<PostApiV1CaptchaResponse> {
264
+ return __request(OpenAPI, this.http, {
265
+ method: 'POST',
266
+ url: '/api/v1/captcha',
267
+ body: data.requestBody,
268
+ mediaType: 'application/json'
269
+ });
270
+ }
271
+
272
+ /**
273
+ * @param data The data for the request.
274
+ * @param data.fromUpdate
275
+ * @returns ChangelogDto Success
276
+ * @throws ApiError
277
+ */
278
+ public getApiV1Changelog(data: GetApiV1ChangelogData = {}): Observable<GetApiV1ChangelogResponse> {
279
+ return __request(OpenAPI, this.http, {
280
+ method: 'GET',
281
+ url: '/api/v1/changelog',
282
+ query: {
283
+ 'from-update': data.fromUpdate
284
+ }
285
+ });
286
+ }
287
+
288
+ /**
289
+ * @param data The data for the request.
290
+ * @param data.runid
291
+ * @param data.offset
292
+ * @param data.pagesize
293
+ * @returns CommandLineLogOutputDto Success
294
+ * @throws ApiError
295
+ */
296
+ public getApiV1CommandlineByRunid(data: GetApiV1CommandlineByRunidData): Observable<GetApiV1CommandlineByRunidResponse> {
297
+ return __request(OpenAPI, this.http, {
298
+ method: 'GET',
299
+ url: '/api/v1/commandline/{runid}',
300
+ path: {
301
+ runid: data.runid
302
+ },
303
+ query: {
304
+ offset: data.offset,
305
+ pagesize: data.pagesize
306
+ }
307
+ });
308
+ }
309
+
310
+ /**
311
+ * @param data The data for the request.
312
+ * @param data.runid
313
+ * @returns unknown Success
314
+ * @throws ApiError
315
+ */
316
+ public postApiV1CommandlineByRunidAbort(data: PostApiV1CommandlineByRunidAbortData): Observable<PostApiV1CommandlineByRunidAbortResponse> {
317
+ return __request(OpenAPI, this.http, {
318
+ method: 'POST',
319
+ url: '/api/v1/commandline/{runid}/abort',
320
+ path: {
321
+ runid: data.runid
322
+ }
323
+ });
324
+ }
325
+
326
+ /**
327
+ * @param data The data for the request.
328
+ * @param data.requestBody
329
+ * @param data.onlyFolders
330
+ * @param data.showHidden
331
+ * @returns TreeNodeDto Success
332
+ * @throws ApiError
333
+ */
334
+ public postApiV1Filesystem(data: PostApiV1FilesystemData): Observable<PostApiV1FilesystemResponse> {
335
+ return __request(OpenAPI, this.http, {
336
+ method: 'POST',
337
+ url: '/api/v1/filesystem',
338
+ query: {
339
+ onlyFolders: data.onlyFolders,
340
+ showHidden: data.showHidden
341
+ },
342
+ body: data.requestBody,
343
+ mediaType: 'application/json'
344
+ });
345
+ }
346
+
347
+ /**
348
+ * @param data The data for the request.
349
+ * @param data.requestBody
350
+ * @returns unknown Success
351
+ * @throws ApiError
352
+ */
353
+ public postApiV1FilesystemValidate(data: PostApiV1FilesystemValidateData): Observable<PostApiV1FilesystemValidateResponse> {
354
+ return __request(OpenAPI, this.http, {
355
+ method: 'POST',
356
+ url: '/api/v1/filesystem/validate',
357
+ body: data.requestBody,
358
+ mediaType: 'application/json'
359
+ });
360
+ }
361
+
362
+ /**
363
+ * @returns TreeNodeDto Success
364
+ * @throws ApiError
365
+ */
366
+ public getApiV1Hyperv(): Observable<GetApiV1HypervResponse> {
367
+ return __request(OpenAPI, this.http, {
368
+ method: 'GET',
369
+ url: '/api/v1/hyperv'
370
+ });
371
+ }
372
+
373
+ /**
374
+ * @param data The data for the request.
375
+ * @param data.key
376
+ * @returns TreeNodeDto Success
377
+ * @throws ApiError
378
+ */
379
+ public getApiV1HypervByKey(data: GetApiV1HypervByKeyData): Observable<GetApiV1HypervByKeyResponse> {
380
+ return __request(OpenAPI, this.http, {
381
+ method: 'GET',
382
+ url: '/api/v1/hyperv/{key}',
383
+ path: {
384
+ key: data.key
385
+ }
386
+ });
387
+ }
388
+
389
+ /**
390
+ * @returns LicenseDto Success
391
+ * @throws ApiError
392
+ */
393
+ public getApiV1Licenses(): Observable<GetApiV1LicensesResponse> {
394
+ return __request(OpenAPI, this.http, {
395
+ method: 'GET',
396
+ url: '/api/v1/licenses'
397
+ });
398
+ }
399
+
400
+ /**
401
+ * @param data The data for the request.
402
+ * @param data.level
403
+ * @param data.id
404
+ * @param data.offset
405
+ * @param data.pagesize
406
+ * @returns LogEntry Success
407
+ * @throws ApiError
408
+ */
409
+ public getApiV1LogdataPoll(data: GetApiV1LogdataPollData): Observable<GetApiV1LogdataPollResponse> {
410
+ return __request(OpenAPI, this.http, {
411
+ method: 'GET',
412
+ url: '/api/v1/logdata/poll',
413
+ query: {
414
+ level: data.level,
415
+ id: data.id,
416
+ offset: data.offset,
417
+ pagesize: data.pagesize
418
+ }
419
+ });
420
+ }
421
+
422
+ /**
423
+ * @param data The data for the request.
424
+ * @param data.offset
425
+ * @param data.pagesize
426
+ * @returns unknown Success
427
+ * @throws ApiError
428
+ */
429
+ public getApiV1LogdataLog(data: GetApiV1LogdataLogData = {}): Observable<GetApiV1LogdataLogResponse> {
430
+ return __request(OpenAPI, this.http, {
431
+ method: 'GET',
432
+ url: '/api/v1/logdata/log',
433
+ query: {
434
+ offset: data.offset,
435
+ pagesize: data.pagesize
436
+ }
437
+ });
438
+ }
439
+
440
+ /**
441
+ * @returns TreeNodeDto Success
442
+ * @throws ApiError
443
+ */
444
+ public getApiV1Mssql(): Observable<GetApiV1MssqlResponse> {
445
+ return __request(OpenAPI, this.http, {
446
+ method: 'GET',
447
+ url: '/api/v1/mssql'
448
+ });
449
+ }
450
+
451
+ /**
452
+ * @param data The data for the request.
453
+ * @param data.key
454
+ * @returns TreeNodeDto Success
455
+ * @throws ApiError
456
+ */
457
+ public getApiV1MssqlByKey(data: GetApiV1MssqlByKeyData): Observable<GetApiV1MssqlByKeyResponse> {
458
+ return __request(OpenAPI, this.http, {
459
+ method: 'GET',
460
+ url: '/api/v1/mssql/{key}',
461
+ path: {
462
+ key: data.key
463
+ }
464
+ });
465
+ }
466
+
467
+ /**
468
+ * @param data The data for the request.
469
+ * @param data.id
470
+ * @returns NotificationDto Success
471
+ * @throws ApiError
472
+ */
473
+ public getApiV1NotificationById(data: GetApiV1NotificationByIdData): Observable<GetApiV1NotificationByIdResponse> {
474
+ return __request(OpenAPI, this.http, {
475
+ method: 'GET',
476
+ url: '/api/v1/notification/{id}',
477
+ path: {
478
+ id: data.id
479
+ }
480
+ });
481
+ }
482
+
483
+ /**
484
+ * @param data The data for the request.
485
+ * @param data.id
486
+ * @returns unknown Success
487
+ * @throws ApiError
488
+ */
489
+ public deleteApiV1NotificationById(data: DeleteApiV1NotificationByIdData): Observable<DeleteApiV1NotificationByIdResponse> {
490
+ return __request(OpenAPI, this.http, {
491
+ method: 'DELETE',
492
+ url: '/api/v1/notification/{id}',
493
+ path: {
494
+ id: data.id
495
+ }
496
+ });
497
+ }
498
+
499
+ /**
500
+ * @returns NotificationDto Success
501
+ * @throws ApiError
502
+ */
503
+ public getApiV1Notifications(): Observable<GetApiV1NotificationsResponse> {
504
+ return __request(OpenAPI, this.http, {
505
+ method: 'GET',
506
+ url: '/api/v1/notifications'
507
+ });
508
+ }
509
+
510
+ /**
511
+ * @returns RemoteControlStatusOutput Success
512
+ * @throws ApiError
513
+ */
514
+ public getApiV1RemotecontrolStatus(): Observable<GetApiV1RemotecontrolStatusResponse> {
515
+ return __request(OpenAPI, this.http, {
516
+ method: 'GET',
517
+ url: '/api/v1/remotecontrol/status'
518
+ });
519
+ }
520
+
521
+ /**
522
+ * @returns RemoteControlStatusOutput Success
523
+ * @throws ApiError
524
+ */
525
+ public postApiV1RemotecontrolEnable(): Observable<PostApiV1RemotecontrolEnableResponse> {
526
+ return __request(OpenAPI, this.http, {
527
+ method: 'POST',
528
+ url: '/api/v1/remotecontrol/enable'
529
+ });
530
+ }
531
+
532
+ /**
533
+ * @returns RemoteControlStatusOutput Success
534
+ * @throws ApiError
535
+ */
536
+ public postApiV1RemotecontrolDisable(): Observable<PostApiV1RemotecontrolDisableResponse> {
537
+ return __request(OpenAPI, this.http, {
538
+ method: 'POST',
539
+ url: '/api/v1/remotecontrol/disable'
540
+ });
541
+ }
542
+
543
+ /**
544
+ * @returns RemoteControlStatusOutput Success
545
+ * @throws ApiError
546
+ */
547
+ public deleteApiV1RemotecontrolRegistration(): Observable<DeleteApiV1RemotecontrolRegistrationResponse> {
548
+ return __request(OpenAPI, this.http, {
549
+ method: 'DELETE',
550
+ url: '/api/v1/remotecontrol/registration'
551
+ });
552
+ }
553
+
554
+ /**
555
+ * @param data The data for the request.
556
+ * @param data.requestBody
557
+ * @returns RemoteControlStatusOutput Success
558
+ * @throws ApiError
559
+ */
560
+ public postApiV1RemotecontrolRegister(data: PostApiV1RemotecontrolRegisterData): Observable<PostApiV1RemotecontrolRegisterResponse> {
561
+ return __request(OpenAPI, this.http, {
562
+ method: 'POST',
563
+ url: '/api/v1/remotecontrol/register',
564
+ body: data.requestBody,
565
+ mediaType: 'application/json'
566
+ });
567
+ }
568
+
569
+ /**
570
+ * @returns RemoteControlStatusOutput Success
571
+ * @throws ApiError
572
+ */
573
+ public deleteApiV1RemotecontrolRegister(): Observable<DeleteApiV1RemotecontrolRegisterResponse> {
574
+ return __request(OpenAPI, this.http, {
575
+ method: 'DELETE',
576
+ url: '/api/v1/remotecontrol/register'
577
+ });
578
+ }
579
+
580
+ /**
581
+ * @param data The data for the request.
582
+ * @param data.requestBody
583
+ * @returns GetDbPathDto Success
584
+ * @throws ApiError
585
+ */
586
+ public postApiV1RemoteoperationDbpath(data: PostApiV1RemoteoperationDbpathData): Observable<PostApiV1RemoteoperationDbpathResponse> {
587
+ return __request(OpenAPI, this.http, {
588
+ method: 'POST',
589
+ url: '/api/v1/remoteoperation/dbpath',
590
+ body: data.requestBody,
591
+ mediaType: 'application/json'
592
+ });
593
+ }
594
+
595
+ /**
596
+ * @param data The data for the request.
597
+ * @param data.requestBody
598
+ * @param data.autocreate
599
+ * @returns unknown Success
600
+ * @throws ApiError
601
+ */
602
+ public postApiV1RemoteoperationTest(data: PostApiV1RemoteoperationTestData): Observable<PostApiV1RemoteoperationTestResponse> {
603
+ return __request(OpenAPI, this.http, {
604
+ method: 'POST',
605
+ url: '/api/v1/remoteoperation/test',
606
+ query: {
607
+ autocreate: data.autocreate
608
+ },
609
+ body: data.requestBody,
610
+ mediaType: 'application/json'
611
+ });
612
+ }
613
+
614
+ /**
615
+ * @param data The data for the request.
616
+ * @param data.requestBody
617
+ * @returns unknown Success
618
+ * @throws ApiError
619
+ */
620
+ public postApiV1RemoteoperationCreate(data: PostApiV1RemoteoperationCreateData): Observable<PostApiV1RemoteoperationCreateResponse> {
621
+ return __request(OpenAPI, this.http, {
622
+ method: 'POST',
623
+ url: '/api/v1/remoteoperation/create',
624
+ body: data.requestBody,
625
+ mediaType: 'application/json'
626
+ });
627
+ }
628
+
629
+ /**
630
+ * @returns string Success
631
+ * @throws ApiError
632
+ */
633
+ public getApiV1Serversettings(): Observable<GetApiV1ServersettingsResponse> {
634
+ return __request(OpenAPI, this.http, {
635
+ method: 'GET',
636
+ url: '/api/v1/serversettings'
637
+ });
638
+ }
639
+
640
+ /**
641
+ * @param data The data for the request.
642
+ * @param data.requestBody
643
+ * @returns unknown Success
644
+ * @throws ApiError
645
+ */
646
+ public patchApiV1Serversettings(data: PatchApiV1ServersettingsData): Observable<PatchApiV1ServersettingsResponse> {
647
+ return __request(OpenAPI, this.http, {
648
+ method: 'PATCH',
649
+ url: '/api/v1/serversettings',
650
+ body: data.requestBody,
651
+ mediaType: 'application/json'
652
+ });
653
+ }
654
+
655
+ /**
656
+ * @param data The data for the request.
657
+ * @param data.key
658
+ * @returns string Success
659
+ * @throws ApiError
660
+ */
661
+ public getApiV1ServersettingByKey(data: GetApiV1ServersettingByKeyData): Observable<GetApiV1ServersettingByKeyResponse> {
662
+ return __request(OpenAPI, this.http, {
663
+ method: 'GET',
664
+ url: '/api/v1/serversetting/{key}',
665
+ path: {
666
+ key: data.key
667
+ }
668
+ });
669
+ }
670
+
671
+ /**
672
+ * @param data The data for the request.
673
+ * @param data.key
674
+ * @param data.requestBody
675
+ * @returns unknown Success
676
+ * @throws ApiError
677
+ */
678
+ public putApiV1ServersettingByKey(data: PutApiV1ServersettingByKeyData): Observable<PutApiV1ServersettingByKeyResponse> {
679
+ return __request(OpenAPI, this.http, {
680
+ method: 'PUT',
681
+ url: '/api/v1/serversetting/{key}',
682
+ path: {
683
+ key: data.key
684
+ },
685
+ body: data.requestBody,
686
+ mediaType: 'application/json'
687
+ });
688
+ }
689
+
690
+ /**
691
+ * @param data The data for the request.
692
+ * @param data.lastEventId
693
+ * @param data.longpoll
694
+ * @param data.duration
695
+ * @returns ServerStatusDto Success
696
+ * @throws ApiError
697
+ */
698
+ public getApiV1Serverstate(data: GetApiV1ServerstateData = {}): Observable<GetApiV1ServerstateResponse> {
699
+ return __request(OpenAPI, this.http, {
700
+ method: 'GET',
701
+ url: '/api/v1/serverstate',
702
+ query: {
703
+ lastEventId: data.lastEventId,
704
+ longpoll: data.longpoll,
705
+ duration: data.duration
706
+ }
707
+ });
708
+ }
709
+
710
+ /**
711
+ * @param data The data for the request.
712
+ * @param data.duration
713
+ * @returns unknown Success
714
+ * @throws ApiError
715
+ */
716
+ public postApiV1ServerstatePause(data: PostApiV1ServerstatePauseData = {}): Observable<PostApiV1ServerstatePauseResponse> {
717
+ return __request(OpenAPI, this.http, {
718
+ method: 'POST',
719
+ url: '/api/v1/serverstate/pause',
720
+ query: {
721
+ duration: data.duration
722
+ }
723
+ });
724
+ }
725
+
726
+ /**
727
+ * @returns unknown Success
728
+ * @throws ApiError
729
+ */
730
+ public postApiV1ServerstateResume(): Observable<PostApiV1ServerstateResumeResponse> {
731
+ return __request(OpenAPI, this.http, {
732
+ method: 'POST',
733
+ url: '/api/v1/serverstate/resume'
734
+ });
735
+ }
736
+
737
+ /**
738
+ * @returns SystemInfoDto Success
739
+ * @throws ApiError
740
+ */
741
+ public getApiV1Systeminfo(): Observable<GetApiV1SysteminfoResponse> {
742
+ return __request(OpenAPI, this.http, {
743
+ method: 'GET',
744
+ url: '/api/v1/systeminfo'
745
+ });
746
+ }
747
+
748
+ /**
749
+ * @returns unknown Success
750
+ * @throws ApiError
751
+ */
752
+ public getApiV1SysteminfoFiltergroups(): Observable<GetApiV1SysteminfoFiltergroupsResponse> {
753
+ return __request(OpenAPI, this.http, {
754
+ method: 'GET',
755
+ url: '/api/v1/systeminfo/filtergroups'
756
+ });
757
+ }
758
+
759
+ /**
760
+ * @param data The data for the request.
761
+ * @param data.taskid
762
+ * @returns GetTaskStateDto Success
763
+ * @throws ApiError
764
+ */
765
+ public getApiV1TaskByTaskid(data: GetApiV1TaskByTaskidData): Observable<GetApiV1TaskByTaskidResponse> {
766
+ return __request(OpenAPI, this.http, {
767
+ method: 'GET',
768
+ url: '/api/v1/task/{taskid}',
769
+ path: {
770
+ taskid: data.taskid
771
+ }
772
+ });
773
+ }
774
+
775
+ /**
776
+ * @param data The data for the request.
777
+ * @param data.taskid
778
+ * @returns unknown Success
779
+ * @throws ApiError
780
+ */
781
+ public postApiV1TaskByTaskidStopaftercurrentfile(data: PostApiV1TaskByTaskidStopaftercurrentfileData): Observable<PostApiV1TaskByTaskidStopaftercurrentfileResponse> {
782
+ return __request(OpenAPI, this.http, {
783
+ method: 'POST',
784
+ url: '/api/v1/task/{taskid}/stopaftercurrentfile',
785
+ path: {
786
+ taskid: data.taskid
787
+ }
788
+ });
789
+ }
790
+
791
+ /**
792
+ * @param data The data for the request.
793
+ * @param data.taskid
794
+ * @returns unknown Success
795
+ * @throws ApiError
796
+ */
797
+ public postApiV1TaskByTaskidStopnow(data: PostApiV1TaskByTaskidStopnowData): Observable<PostApiV1TaskByTaskidStopnowResponse> {
798
+ return __request(OpenAPI, this.http, {
799
+ method: 'POST',
800
+ url: '/api/v1/task/{taskid}/stopnow',
801
+ path: {
802
+ taskid: data.taskid
803
+ }
804
+ });
805
+ }
806
+
807
+ /**
808
+ * @param data The data for the request.
809
+ * @param data.taskid
810
+ * @returns unknown Success
811
+ * @throws ApiError
812
+ */
813
+ public postApiV1TaskByTaskidAbort(data: PostApiV1TaskByTaskidAbortData): Observable<PostApiV1TaskByTaskidAbortResponse> {
814
+ return __request(OpenAPI, this.http, {
815
+ method: 'POST',
816
+ url: '/api/v1/task/{taskid}/abort',
817
+ path: {
818
+ taskid: data.taskid
819
+ }
820
+ });
821
+ }
822
+
823
+ /**
824
+ * @returns string Success
825
+ * @throws ApiError
826
+ */
827
+ public getApiV1Uisettings(): Observable<GetApiV1UisettingsResponse> {
828
+ return __request(OpenAPI, this.http, {
829
+ method: 'GET',
830
+ url: '/api/v1/uisettings'
831
+ });
832
+ }
833
+
834
+ /**
835
+ * @param data The data for the request.
836
+ * @param data.scheme
837
+ * @returns string Success
838
+ * @throws ApiError
839
+ */
840
+ public getApiV1UisettingsByScheme(data: GetApiV1UisettingsBySchemeData): Observable<GetApiV1UisettingsBySchemeResponse> {
841
+ return __request(OpenAPI, this.http, {
842
+ method: 'GET',
843
+ url: '/api/v1/uisettings/{scheme}',
844
+ path: {
845
+ scheme: data.scheme
846
+ }
847
+ });
848
+ }
849
+
850
+ /**
851
+ * @param data The data for the request.
852
+ * @param data.scheme
853
+ * @param data.requestBody
854
+ * @returns unknown Success
855
+ * @throws ApiError
856
+ */
857
+ public patchApiV1UisettingsByScheme(data: PatchApiV1UisettingsBySchemeData): Observable<PatchApiV1UisettingsBySchemeResponse> {
858
+ return __request(OpenAPI, this.http, {
859
+ method: 'PATCH',
860
+ url: '/api/v1/uisettings/{scheme}',
861
+ path: {
862
+ scheme: data.scheme
863
+ },
864
+ body: data.requestBody,
865
+ mediaType: 'application/json'
866
+ });
867
+ }
868
+
869
+ /**
870
+ * @param data The data for the request.
871
+ * @param data.modulekey
872
+ * @param data.requestBody
873
+ * @returns WebModuleOutputDto Success
874
+ * @throws ApiError
875
+ */
876
+ public postApiV1WebmoduleByModulekey(data: PostApiV1WebmoduleByModulekeyData): Observable<PostApiV1WebmoduleByModulekeyResponse> {
877
+ return __request(OpenAPI, this.http, {
878
+ method: 'POST',
879
+ url: '/api/v1/webmodule/{modulekey}',
880
+ path: {
881
+ modulekey: data.modulekey
882
+ },
883
+ body: data.requestBody,
884
+ mediaType: 'application/json'
885
+ });
886
+ }
887
+
888
+ /**
889
+ * @param data The data for the request.
890
+ * @param data.id
891
+ * @returns GetBackupResultDto Success
892
+ * @throws ApiError
893
+ */
894
+ public getApiV1BackupById(data: GetApiV1BackupByIdData): Observable<GetApiV1BackupByIdResponse> {
895
+ return __request(OpenAPI, this.http, {
896
+ method: 'GET',
897
+ url: '/api/v1/backup/{id}',
898
+ path: {
899
+ id: data.id
900
+ }
901
+ });
902
+ }
903
+
904
+ /**
905
+ * @param data The data for the request.
906
+ * @param data.id
907
+ * @param data.requestBody
908
+ * @returns unknown Success
909
+ * @throws ApiError
910
+ */
911
+ public putApiV1BackupById(data: PutApiV1BackupByIdData): Observable<PutApiV1BackupByIdResponse> {
912
+ return __request(OpenAPI, this.http, {
913
+ method: 'PUT',
914
+ url: '/api/v1/backup/{id}',
915
+ path: {
916
+ id: data.id
917
+ },
918
+ body: data.requestBody,
919
+ mediaType: 'application/json'
920
+ });
921
+ }
922
+
923
+ /**
924
+ * @param data The data for the request.
925
+ * @param data.id
926
+ * @param data.deleteRemoteFiles
927
+ * @param data.deleteLocalDb
928
+ * @param data.captchaToken
929
+ * @param data.captchaAnswer
930
+ * @param data.force
931
+ * @returns DeleteBackupOutputDto Success
932
+ * @throws ApiError
933
+ */
934
+ public deleteApiV1BackupById(data: DeleteApiV1BackupByIdData): Observable<DeleteApiV1BackupByIdResponse> {
935
+ return __request(OpenAPI, this.http, {
936
+ method: 'DELETE',
937
+ url: '/api/v1/backup/{id}',
938
+ path: {
939
+ id: data.id
940
+ },
941
+ query: {
942
+ 'delete-remote-files': data.deleteRemoteFiles,
943
+ 'delete-local-db': data.deleteLocalDb,
944
+ 'captcha-token': data.captchaToken,
945
+ 'captcha-answer': data.captchaAnswer,
946
+ force: data.force
947
+ }
948
+ });
949
+ }
950
+
951
+ /**
952
+ * @param data The data for the request.
953
+ * @param data.id
954
+ * @param data.filter
955
+ * @param data.time
956
+ * @param data.allVersions
957
+ * @param data.prefixOnly
958
+ * @param data.folderContents
959
+ * @returns unknown Success
960
+ * @throws ApiError
961
+ */
962
+ public getApiV1BackupByIdFiles(data: GetApiV1BackupByIdFilesData): Observable<GetApiV1BackupByIdFilesResponse> {
963
+ return __request(OpenAPI, this.http, {
964
+ method: 'GET',
965
+ url: '/api/v1/backup/{id}/files',
966
+ path: {
967
+ id: data.id
968
+ },
969
+ query: {
970
+ filter: data.filter,
971
+ time: data.time,
972
+ 'all-versions': data.allVersions,
973
+ 'prefix-only': data.prefixOnly,
974
+ 'folder-contents': data.folderContents
975
+ }
976
+ });
977
+ }
978
+
979
+ /**
980
+ * @param data The data for the request.
981
+ * @param data.id
982
+ * @param data.offset
983
+ * @param data.pagesize
984
+ * @returns unknown Success
985
+ * @throws ApiError
986
+ */
987
+ public getApiV1BackupByIdLog(data: GetApiV1BackupByIdLogData): Observable<GetApiV1BackupByIdLogResponse> {
988
+ return __request(OpenAPI, this.http, {
989
+ method: 'GET',
990
+ url: '/api/v1/backup/{id}/log',
991
+ path: {
992
+ id: data.id
993
+ },
994
+ query: {
995
+ offset: data.offset,
996
+ pagesize: data.pagesize
997
+ }
998
+ });
999
+ }
1000
+
1001
+ /**
1002
+ * @param data The data for the request.
1003
+ * @param data.id
1004
+ * @param data.offset
1005
+ * @param data.pagesize
1006
+ * @returns unknown Success
1007
+ * @throws ApiError
1008
+ */
1009
+ public getApiV1BackupByIdRemotelog(data: GetApiV1BackupByIdRemotelogData): Observable<GetApiV1BackupByIdRemotelogResponse> {
1010
+ return __request(OpenAPI, this.http, {
1011
+ method: 'GET',
1012
+ url: '/api/v1/backup/{id}/remotelog',
1013
+ path: {
1014
+ id: data.id
1015
+ },
1016
+ query: {
1017
+ offset: data.offset,
1018
+ pagesize: data.pagesize
1019
+ }
1020
+ });
1021
+ }
1022
+
1023
+ /**
1024
+ * @param data The data for the request.
1025
+ * @param data.id
1026
+ * @param data.includeMetadata
1027
+ * @param data.fromRemoteOnly
1028
+ * @returns IListResultFileset Success
1029
+ * @throws ApiError
1030
+ */
1031
+ public getApiV1BackupByIdFilesets(data: GetApiV1BackupByIdFilesetsData): Observable<GetApiV1BackupByIdFilesetsResponse> {
1032
+ return __request(OpenAPI, this.http, {
1033
+ method: 'GET',
1034
+ url: '/api/v1/backup/{id}/filesets',
1035
+ path: {
1036
+ id: data.id
1037
+ },
1038
+ query: {
1039
+ 'include-metadata': data.includeMetadata,
1040
+ 'from-remote-only': data.fromRemoteOnly
1041
+ }
1042
+ });
1043
+ }
1044
+
1045
+ /**
1046
+ * @param data The data for the request.
1047
+ * @param data.id
1048
+ * @param data.exportPasswords
1049
+ * @param data.passphrase
1050
+ * @returns ExportArgsOnlyDto Success
1051
+ * @throws ApiError
1052
+ */
1053
+ public getApiV1BackupByIdExportArgsonly(data: GetApiV1BackupByIdExportArgsonlyData): Observable<GetApiV1BackupByIdExportArgsonlyResponse> {
1054
+ return __request(OpenAPI, this.http, {
1055
+ method: 'GET',
1056
+ url: '/api/v1/backup/{id}/export-argsonly',
1057
+ path: {
1058
+ id: data.id
1059
+ },
1060
+ query: {
1061
+ 'export-passwords': data.exportPasswords,
1062
+ passphrase: data.passphrase
1063
+ }
1064
+ });
1065
+ }
1066
+
1067
+ /**
1068
+ * @param data The data for the request.
1069
+ * @param data.id
1070
+ * @param data.exportPasswords
1071
+ * @param data.passphrase
1072
+ * @returns ExportCommandlineDto Success
1073
+ * @throws ApiError
1074
+ */
1075
+ public getApiV1BackupByIdExportCmdline(data: GetApiV1BackupByIdExportCmdlineData): Observable<GetApiV1BackupByIdExportCmdlineResponse> {
1076
+ return __request(OpenAPI, this.http, {
1077
+ method: 'GET',
1078
+ url: '/api/v1/backup/{id}/export-cmdline',
1079
+ path: {
1080
+ id: data.id
1081
+ },
1082
+ query: {
1083
+ 'export-passwords': data.exportPasswords,
1084
+ passphrase: data.passphrase
1085
+ }
1086
+ });
1087
+ }
1088
+
1089
+ /**
1090
+ * @param data The data for the request.
1091
+ * @param data.id
1092
+ * @param data.token
1093
+ * @param data.exportPasswords
1094
+ * @param data.passphrase
1095
+ * @returns unknown Success
1096
+ * @throws ApiError
1097
+ */
1098
+ public getApiV1BackupByIdExport(data: GetApiV1BackupByIdExportData): Observable<GetApiV1BackupByIdExportResponse> {
1099
+ return __request(OpenAPI, this.http, {
1100
+ method: 'GET',
1101
+ url: '/api/v1/backup/{id}/export',
1102
+ path: {
1103
+ id: data.id
1104
+ },
1105
+ query: {
1106
+ 'export-passwords': data.exportPasswords,
1107
+ passphrase: data.passphrase,
1108
+ token: data.token
1109
+ }
1110
+ });
1111
+ }
1112
+
1113
+ /**
1114
+ * @param data The data for the request.
1115
+ * @param data.id
1116
+ * @returns IsDbUsedElsewhereDto Success
1117
+ * @throws ApiError
1118
+ */
1119
+ public getApiV1BackupByIdIsdbusedelsewhere(data: GetApiV1BackupByIdIsdbusedelsewhereData): Observable<GetApiV1BackupByIdIsdbusedelsewhereResponse> {
1120
+ return __request(OpenAPI, this.http, {
1121
+ method: 'GET',
1122
+ url: '/api/v1/backup/{id}/isdbusedelsewhere',
1123
+ path: {
1124
+ id: data.id
1125
+ }
1126
+ });
1127
+ }
1128
+
1129
+ /**
1130
+ * @param data The data for the request.
1131
+ * @param data.id
1132
+ * @returns IsBackupActiveDto Success
1133
+ * @throws ApiError
1134
+ */
1135
+ public getApiV1BackupByIdIsactive(data: GetApiV1BackupByIdIsactiveData): Observable<GetApiV1BackupByIdIsactiveResponse> {
1136
+ return __request(OpenAPI, this.http, {
1137
+ method: 'GET',
1138
+ url: '/api/v1/backup/{id}/isactive',
1139
+ path: {
1140
+ id: data.id
1141
+ }
1142
+ });
1143
+ }
1144
+
1145
+ /**
1146
+ * @param data The data for the request.
1147
+ * @param data.id
1148
+ * @returns unknown Success
1149
+ * @throws ApiError
1150
+ */
1151
+ public postApiV1BackupByIdDeletedb(data: PostApiV1BackupByIdDeletedbData): Observable<PostApiV1BackupByIdDeletedbResponse> {
1152
+ return __request(OpenAPI, this.http, {
1153
+ method: 'POST',
1154
+ url: '/api/v1/backup/{id}/deletedb',
1155
+ path: {
1156
+ id: data.id
1157
+ }
1158
+ });
1159
+ }
1160
+
1161
+ /**
1162
+ * @param data The data for the request.
1163
+ * @param data.id
1164
+ * @param data.requestBody
1165
+ * @returns unknown Success
1166
+ * @throws ApiError
1167
+ */
1168
+ public postApiV1BackupByIdMovedb(data: PostApiV1BackupByIdMovedbData): Observable<PostApiV1BackupByIdMovedbResponse> {
1169
+ return __request(OpenAPI, this.http, {
1170
+ method: 'POST',
1171
+ url: '/api/v1/backup/{id}/movedb',
1172
+ path: {
1173
+ id: data.id
1174
+ },
1175
+ body: data.requestBody,
1176
+ mediaType: 'application/json'
1177
+ });
1178
+ }
1179
+
1180
+ /**
1181
+ * @param data The data for the request.
1182
+ * @param data.id
1183
+ * @param data.requestBody
1184
+ * @returns unknown Success
1185
+ * @throws ApiError
1186
+ */
1187
+ public postApiV1BackupByIdUpdatedb(data: PostApiV1BackupByIdUpdatedbData): Observable<PostApiV1BackupByIdUpdatedbResponse> {
1188
+ return __request(OpenAPI, this.http, {
1189
+ method: 'POST',
1190
+ url: '/api/v1/backup/{id}/updatedb',
1191
+ path: {
1192
+ id: data.id
1193
+ },
1194
+ body: data.requestBody,
1195
+ mediaType: 'application/json'
1196
+ });
1197
+ }
1198
+
1199
+ /**
1200
+ * @param data The data for the request.
1201
+ * @param data.id
1202
+ * @param data.requestBody
1203
+ * @returns TaskStartedDto Success
1204
+ * @throws ApiError
1205
+ */
1206
+ public postApiV1BackupByIdRestore(data: PostApiV1BackupByIdRestoreData): Observable<PostApiV1BackupByIdRestoreResponse> {
1207
+ return __request(OpenAPI, this.http, {
1208
+ method: 'POST',
1209
+ url: '/api/v1/backup/{id}/restore',
1210
+ path: {
1211
+ id: data.id
1212
+ },
1213
+ body: data.requestBody,
1214
+ mediaType: 'application/json'
1215
+ });
1216
+ }
1217
+
1218
+ /**
1219
+ * @param data The data for the request.
1220
+ * @param data.id
1221
+ * @returns TaskStartedDto Success
1222
+ * @throws ApiError
1223
+ */
1224
+ public postApiV1BackupByIdCreatereport(data: PostApiV1BackupByIdCreatereportData): Observable<PostApiV1BackupByIdCreatereportResponse> {
1225
+ return __request(OpenAPI, this.http, {
1226
+ method: 'POST',
1227
+ url: '/api/v1/backup/{id}/createreport',
1228
+ path: {
1229
+ id: data.id
1230
+ }
1231
+ });
1232
+ }
1233
+
1234
+ /**
1235
+ * @param data The data for the request.
1236
+ * @param data.id
1237
+ * @param data.requestBody
1238
+ * @returns TaskStartedDto Success
1239
+ * @throws ApiError
1240
+ */
1241
+ public postApiV1BackupByIdRepair(data: PostApiV1BackupByIdRepairData): Observable<PostApiV1BackupByIdRepairResponse> {
1242
+ return __request(OpenAPI, this.http, {
1243
+ method: 'POST',
1244
+ url: '/api/v1/backup/{id}/repair',
1245
+ path: {
1246
+ id: data.id
1247
+ },
1248
+ body: data.requestBody,
1249
+ mediaType: 'application/json'
1250
+ });
1251
+ }
1252
+
1253
+ /**
1254
+ * @param data The data for the request.
1255
+ * @param data.id
1256
+ * @param data.requestBody
1257
+ * @returns TaskStartedDto Success
1258
+ * @throws ApiError
1259
+ */
1260
+ public postApiV1BackupByIdRepairupdate(data: PostApiV1BackupByIdRepairupdateData): Observable<PostApiV1BackupByIdRepairupdateResponse> {
1261
+ return __request(OpenAPI, this.http, {
1262
+ method: 'POST',
1263
+ url: '/api/v1/backup/{id}/repairupdate',
1264
+ path: {
1265
+ id: data.id
1266
+ },
1267
+ body: data.requestBody,
1268
+ mediaType: 'application/json'
1269
+ });
1270
+ }
1271
+
1272
+ /**
1273
+ * @param data The data for the request.
1274
+ * @param data.id
1275
+ * @returns TaskStartedDto Success
1276
+ * @throws ApiError
1277
+ */
1278
+ public postApiV1BackupByIdVacuum(data: PostApiV1BackupByIdVacuumData): Observable<PostApiV1BackupByIdVacuumResponse> {
1279
+ return __request(OpenAPI, this.http, {
1280
+ method: 'POST',
1281
+ url: '/api/v1/backup/{id}/vacuum',
1282
+ path: {
1283
+ id: data.id
1284
+ }
1285
+ });
1286
+ }
1287
+
1288
+ /**
1289
+ * @param data The data for the request.
1290
+ * @param data.id
1291
+ * @returns TaskStartedDto Success
1292
+ * @throws ApiError
1293
+ */
1294
+ public postApiV1BackupByIdVerify(data: PostApiV1BackupByIdVerifyData): Observable<PostApiV1BackupByIdVerifyResponse> {
1295
+ return __request(OpenAPI, this.http, {
1296
+ method: 'POST',
1297
+ url: '/api/v1/backup/{id}/verify',
1298
+ path: {
1299
+ id: data.id
1300
+ }
1301
+ });
1302
+ }
1303
+
1304
+ /**
1305
+ * @param data The data for the request.
1306
+ * @param data.id
1307
+ * @returns TaskStartedDto Success
1308
+ * @throws ApiError
1309
+ */
1310
+ public postApiV1BackupByIdCompact(data: PostApiV1BackupByIdCompactData): Observable<PostApiV1BackupByIdCompactResponse> {
1311
+ return __request(OpenAPI, this.http, {
1312
+ method: 'POST',
1313
+ url: '/api/v1/backup/{id}/compact',
1314
+ path: {
1315
+ id: data.id
1316
+ }
1317
+ });
1318
+ }
1319
+
1320
+ /**
1321
+ * @param data The data for the request.
1322
+ * @param data.id
1323
+ * @returns TaskStartedDto Success
1324
+ * @throws ApiError
1325
+ */
1326
+ public postApiV1BackupByIdStart(data: PostApiV1BackupByIdStartData): Observable<PostApiV1BackupByIdStartResponse> {
1327
+ return __request(OpenAPI, this.http, {
1328
+ method: 'POST',
1329
+ url: '/api/v1/backup/{id}/start',
1330
+ path: {
1331
+ id: data.id
1332
+ }
1333
+ });
1334
+ }
1335
+
1336
+ /**
1337
+ * @param data The data for the request.
1338
+ * @param data.id
1339
+ * @returns TaskStartedDto Success
1340
+ * @throws ApiError
1341
+ */
1342
+ public postApiV1BackupByIdRun(data: PostApiV1BackupByIdRunData): Observable<PostApiV1BackupByIdRunResponse> {
1343
+ return __request(OpenAPI, this.http, {
1344
+ method: 'POST',
1345
+ url: '/api/v1/backup/{id}/run',
1346
+ path: {
1347
+ id: data.id
1348
+ }
1349
+ });
1350
+ }
1351
+
1352
+ /**
1353
+ * @param data The data for the request.
1354
+ * @param data.id
1355
+ * @returns TaskStartedDto Success
1356
+ * @throws ApiError
1357
+ */
1358
+ public postApiV1BackupByIdReportRemoteSize(data: PostApiV1BackupByIdReportRemoteSizeData): Observable<PostApiV1BackupByIdReportRemoteSizeResponse> {
1359
+ return __request(OpenAPI, this.http, {
1360
+ method: 'POST',
1361
+ url: '/api/v1/backup/{id}/report-remote-size',
1362
+ path: {
1363
+ id: data.id
1364
+ }
1365
+ });
1366
+ }
1367
+
1368
+ /**
1369
+ * @param data The data for the request.
1370
+ * @param data.id
1371
+ * @returns CreateBackupDto Success
1372
+ * @throws ApiError
1373
+ */
1374
+ public postApiV1BackupByIdCopytotemp(data: PostApiV1BackupByIdCopytotempData): Observable<PostApiV1BackupByIdCopytotempResponse> {
1375
+ return __request(OpenAPI, this.http, {
1376
+ method: 'POST',
1377
+ url: '/api/v1/backup/{id}/copytotemp',
1378
+ path: {
1379
+ id: data.id
1380
+ }
1381
+ });
1382
+ }
1383
+
1384
+ }
1385
+
1386
+ @Injectable({
1387
+ providedIn: 'root'
1388
+ })
1389
+ export class ProgressStateService {
1390
+ constructor(public readonly http: HttpClient) { }
1391
+
1392
+ /**
1393
+ * @returns IProgressEventData Success
1394
+ * @throws ApiError
1395
+ */
1396
+ public getApiV1Progressstate(): Observable<GetApiV1ProgressstateResponse> {
1397
+ return __request(OpenAPI, this.http, {
1398
+ method: 'GET',
1399
+ url: '/api/v1/progressstate'
1400
+ });
1401
+ }
1402
+
1403
+ }
1404
+
1405
+ @Injectable({
1406
+ providedIn: 'root'
1407
+ })
1408
+ export class TasksService {
1409
+ constructor(public readonly http: HttpClient) { }
1410
+
1411
+ /**
1412
+ * @returns IRunnerData Success
1413
+ * @throws ApiError
1414
+ */
1415
+ public getApiV1Tasks(): Observable<GetApiV1TasksResponse> {
1416
+ return __request(OpenAPI, this.http, {
1417
+ method: 'GET',
1418
+ url: '/api/v1/tasks'
1419
+ });
1420
+ }
1421
+
1422
+ }
1423
+
1424
+ @Injectable({
1425
+ providedIn: 'root'
1426
+ })
1427
+ export class UpdatesService {
1428
+ constructor(public readonly http: HttpClient) { }
1429
+
1430
+ /**
1431
+ * @returns unknown Success
1432
+ * @throws ApiError
1433
+ */
1434
+ public postApiV1UpdatesCheck(): Observable<PostApiV1UpdatesCheckResponse> {
1435
+ return __request(OpenAPI, this.http, {
1436
+ method: 'POST',
1437
+ url: '/api/v1/updates/check'
1438
+ });
1439
+ }
1440
+
1441
+ }
1442
+
1443
+ @Injectable({
1444
+ providedIn: 'root'
1445
+ })
1446
+ export class WebModulesService {
1447
+ constructor(public readonly http: HttpClient) { }
1448
+
1449
+ /**
1450
+ * @returns IWebModule Success
1451
+ * @throws ApiError
1452
+ */
1453
+ public getApiV1Webmodules(): Observable<GetApiV1WebmodulesResponse> {
1454
+ return __request(OpenAPI, this.http, {
1455
+ method: 'GET',
1456
+ url: '/api/v1/webmodules'
1457
+ });
1458
+ }
1459
+
1460
+ }