tsarr 2.11.0 → 2.11.2
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.
- package/dist/cli/index.js +239 -271
- package/dist/cli/index.js.map +66 -66
- package/dist/clients/bazarr.js +5 -11
- package/dist/clients/bazarr.js.map +9 -9
- package/dist/clients/lidarr.js +5 -11
- package/dist/clients/lidarr.js.map +9 -9
- package/dist/clients/prowlarr.js +5 -11
- package/dist/clients/prowlarr.js.map +9 -9
- package/dist/clients/qbittorrent.js +5 -11
- package/dist/clients/qbittorrent.js.map +9 -9
- package/dist/clients/radarr.js +5 -11
- package/dist/clients/radarr.js.map +9 -9
- package/dist/clients/readarr.js +5 -11
- package/dist/clients/readarr.js.map +9 -9
- package/dist/clients/seerr.js +5 -11
- package/dist/clients/seerr.js.map +9 -9
- package/dist/clients/sonarr.js +5 -11
- package/dist/clients/sonarr.js.map +9 -9
- package/dist/generated/bazarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/client/index.d.ts +2 -0
- package/dist/generated/bazarr/client/index.d.ts.map +1 -1
- package/dist/generated/bazarr/client/types.gen.d.ts +1 -1
- package/dist/generated/bazarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/bazarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/client.gen.d.ts +2 -2
- package/dist/generated/bazarr/client.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/bazarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/params.gen.d.ts +1 -1
- package/dist/generated/bazarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/bazarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/types.gen.d.ts +5 -0
- package/dist/generated/bazarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/bazarr/sdk.gen.d.ts +81 -81
- package/dist/generated/bazarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/client/index.d.ts +2 -0
- package/dist/generated/lidarr/client/index.d.ts.map +1 -1
- package/dist/generated/lidarr/client/types.gen.d.ts +1 -1
- package/dist/generated/lidarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/lidarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/client.gen.d.ts +2 -2
- package/dist/generated/lidarr/client.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/lidarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/params.gen.d.ts +1 -1
- package/dist/generated/lidarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/lidarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/types.gen.d.ts +5 -0
- package/dist/generated/lidarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/lidarr/sdk.gen.d.ts +238 -238
- package/dist/generated/lidarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/client/index.d.ts +2 -0
- package/dist/generated/prowlarr/client/index.d.ts.map +1 -1
- package/dist/generated/prowlarr/client/types.gen.d.ts +1 -1
- package/dist/generated/prowlarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/prowlarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/client.gen.d.ts +2 -2
- package/dist/generated/prowlarr/client.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/prowlarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/params.gen.d.ts +1 -1
- package/dist/generated/prowlarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/prowlarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/types.gen.d.ts +5 -0
- package/dist/generated/prowlarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/prowlarr/sdk.gen.d.ts +131 -131
- package/dist/generated/prowlarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/client/client.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/client/index.d.ts +2 -0
- package/dist/generated/qbittorrent/client/index.d.ts.map +1 -1
- package/dist/generated/qbittorrent/client/types.gen.d.ts +1 -1
- package/dist/generated/qbittorrent/client/types.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/client/utils.gen.d.ts +3 -3
- package/dist/generated/qbittorrent/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/client.gen.d.ts +2 -2
- package/dist/generated/qbittorrent/client.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/auth.gen.d.ts +7 -0
- package/dist/generated/qbittorrent/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/params.gen.d.ts +1 -1
- package/dist/generated/qbittorrent/core/params.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/qbittorrent/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/types.gen.d.ts +5 -0
- package/dist/generated/qbittorrent/core/types.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/qbittorrent/sdk.gen.d.ts +91 -91
- package/dist/generated/qbittorrent/sdk.gen.d.ts.map +1 -1
- package/dist/generated/radarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/radarr/client/index.d.ts +2 -0
- package/dist/generated/radarr/client/index.d.ts.map +1 -1
- package/dist/generated/radarr/client/types.gen.d.ts +1 -1
- package/dist/generated/radarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/radarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/radarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/radarr/client.gen.d.ts +2 -2
- package/dist/generated/radarr/client.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/radarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/params.gen.d.ts +1 -1
- package/dist/generated/radarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/radarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/types.gen.d.ts +5 -0
- package/dist/generated/radarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/radarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/radarr/sdk.gen.d.ts +240 -240
- package/dist/generated/radarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/readarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/readarr/client/index.d.ts +2 -0
- package/dist/generated/readarr/client/index.d.ts.map +1 -1
- package/dist/generated/readarr/client/types.gen.d.ts +1 -1
- package/dist/generated/readarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/readarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/readarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/readarr/client.gen.d.ts +2 -2
- package/dist/generated/readarr/client.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/readarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/params.gen.d.ts +1 -1
- package/dist/generated/readarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/readarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/types.gen.d.ts +5 -0
- package/dist/generated/readarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/readarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/readarr/sdk.gen.d.ts +236 -236
- package/dist/generated/readarr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/seerr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/seerr/client/index.d.ts +2 -0
- package/dist/generated/seerr/client/index.d.ts.map +1 -1
- package/dist/generated/seerr/client/types.gen.d.ts +1 -1
- package/dist/generated/seerr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/seerr/client/utils.gen.d.ts +3 -3
- package/dist/generated/seerr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/seerr/client.gen.d.ts +2 -2
- package/dist/generated/seerr/client.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/auth.gen.d.ts +7 -0
- package/dist/generated/seerr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/params.gen.d.ts +1 -1
- package/dist/generated/seerr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/seerr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/types.gen.d.ts +5 -0
- package/dist/generated/seerr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/seerr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/seerr/sdk.gen.d.ts +209 -209
- package/dist/generated/seerr/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/client/client.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/client/index.d.ts +2 -0
- package/dist/generated/sonarr/client/index.d.ts.map +1 -1
- package/dist/generated/sonarr/client/types.gen.d.ts +1 -1
- package/dist/generated/sonarr/client/types.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/client/utils.gen.d.ts +3 -3
- package/dist/generated/sonarr/client/utils.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/client.gen.d.ts +2 -2
- package/dist/generated/sonarr/client.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/auth.gen.d.ts +7 -0
- package/dist/generated/sonarr/core/auth.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/params.gen.d.ts +1 -1
- package/dist/generated/sonarr/core/params.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/sonarr/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/types.gen.d.ts +5 -0
- package/dist/generated/sonarr/core/types.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/core/utils.gen.d.ts.map +1 -1
- package/dist/generated/sonarr/sdk.gen.d.ts +237 -237
- package/dist/generated/sonarr/sdk.gen.d.ts.map +1 -1
- package/dist/tsarr-2.11.2.tgz +0 -0
- package/package.json +6 -6
- package/dist/tsarr-2.11.0.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Client, type Options as Options2, type TDataShape } from './client';
|
|
1
|
+
import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from './client';
|
|
2
2
|
import type { AppBuildInfoGetData, AppBuildInfoGetResponses, AppDefaultSavePathGetData, AppDefaultSavePathGetResponses, AppPreferencesGetData, AppPreferencesGetResponses, AppSetPreferencesPostData, AppSetPreferencesPostResponses, AppShutdownGetData, AppShutdownGetResponses, AppVersionGetData, AppVersionGetResponses, AppWebapiVersionGetData, AppWebapiVersionGetResponses, AuthLoginPostData, AuthLoginPostErrors, AuthLoginPostResponses, AuthLogoutPostData, AuthLogoutPostResponses, LogMainPostData, LogMainPostResponses, LogPeersPostData, LogPeersPostResponses, RssAddFeedPostData, RssAddFeedPostErrors, RssAddFeedPostResponses, RssAddFolderPostData, RssAddFolderPostErrors, RssAddFolderPostResponses, RssItemsPostData, RssItemsPostResponses, RssMarkAsReadPostData, RssMarkAsReadPostResponses, RssMatchingArticlesPostData, RssMatchingArticlesPostResponses, RssMoveItemPostData, RssMoveItemPostErrors, RssMoveItemPostResponses, RssRefreshItemPostData, RssRefreshItemPostResponses, RssRemoveItemPostData, RssRemoveItemPostErrors, RssRemoveItemPostResponses, RssRemoveRulePostData, RssRemoveRulePostResponses, RssRenameRulePostData, RssRenameRulePostResponses, RssRulesGetData, RssRulesGetResponses, RssSetRulePostData, RssSetRulePostResponses, SearchDeletePostData, SearchDeletePostErrors, SearchDeletePostResponses, SearchEnablePluginPostData, SearchEnablePluginPostResponses, SearchInstallPluginPostData, SearchInstallPluginPostResponses, SearchPluginsGetData, SearchPluginsGetResponses, SearchResultsPostData, SearchResultsPostErrors, SearchResultsPostResponses, SearchStartPostData, SearchStartPostErrors, SearchStartPostResponses, SearchStatusPostData, SearchStatusPostErrors, SearchStatusPostResponses, SearchStopPostData, SearchStopPostErrors, SearchStopPostResponses, SearchUninstallPluginPostData, SearchUninstallPluginPostResponses, SearchUpdatePluginsPostData, SearchUpdatePluginsPostResponses, SyncMaindataPostData, SyncMaindataPostResponses, SyncTorrentPeersPostData, SyncTorrentPeersPostErrors, SyncTorrentPeersPostResponses, TorrentsAddPeersPostData, TorrentsAddPeersPostErrors, TorrentsAddPeersPostResponses, TorrentsAddPostData, TorrentsAddPostErrors, TorrentsAddPostResponses, TorrentsAddTagsPostData, TorrentsAddTagsPostResponses, TorrentsAddTrackersPostData, TorrentsAddTrackersPostErrors, TorrentsAddTrackersPostResponses, TorrentsBottomPrioPostData, TorrentsBottomPrioPostErrors, TorrentsBottomPrioPostResponses, TorrentsCategoriesGetData, TorrentsCategoriesGetResponses, TorrentsCreateCategoryPostData, TorrentsCreateCategoryPostErrors, TorrentsCreateCategoryPostResponses, TorrentsCreateTagsPostData, TorrentsCreateTagsPostResponses, TorrentsDecreasePrioPostData, TorrentsDecreasePrioPostErrors, TorrentsDecreasePrioPostResponses, TorrentsDeletePostData, TorrentsDeletePostResponses, TorrentsDeleteTagsPostData, TorrentsDeleteTagsPostResponses, TorrentsDownloadLimitPostData, TorrentsDownloadLimitPostResponses, TorrentsEditCategoryPostData, TorrentsEditCategoryPostErrors, TorrentsEditCategoryPostResponses, TorrentsEditTrackerPostData, TorrentsEditTrackerPostErrors, TorrentsEditTrackerPostResponses, TorrentsFilePrioPostData, TorrentsFilePrioPostErrors, TorrentsFilePrioPostResponses, TorrentsFilesPostData, TorrentsFilesPostErrors, TorrentsFilesPostResponses, TorrentsIncreasePrioPostData, TorrentsIncreasePrioPostErrors, TorrentsIncreasePrioPostResponses, TorrentsInfoPostData, TorrentsInfoPostResponses, TorrentsPausePostData, TorrentsPausePostResponses, TorrentsPieceHashesPostData, TorrentsPieceHashesPostErrors, TorrentsPieceHashesPostResponses, TorrentsPieceStatesPostData, TorrentsPieceStatesPostErrors, TorrentsPieceStatesPostResponses, TorrentsPropertiesPostData, TorrentsPropertiesPostErrors, TorrentsPropertiesPostResponses, TorrentsReannouncePostData, TorrentsReannouncePostResponses, TorrentsRecheckPostData, TorrentsRecheckPostResponses, TorrentsRemoveCategoriesPostData, TorrentsRemoveCategoriesPostResponses, TorrentsRemoveTagsPostData, TorrentsRemoveTagsPostResponses, TorrentsRemoveTrackersPostData, TorrentsRemoveTrackersPostErrors, TorrentsRemoveTrackersPostResponses, TorrentsRenameFilePostData, TorrentsRenameFilePostErrors, TorrentsRenameFilePostResponses, TorrentsRenameFolderPostData, TorrentsRenameFolderPostErrors, TorrentsRenameFolderPostResponses, TorrentsRenamePostData, TorrentsRenamePostErrors, TorrentsRenamePostResponses, TorrentsResumePostData, TorrentsResumePostResponses, TorrentsSetAutoManagementPostData, TorrentsSetAutoManagementPostResponses, TorrentsSetCategoryPostData, TorrentsSetCategoryPostErrors, TorrentsSetCategoryPostResponses, TorrentsSetDownloadLimitPostData, TorrentsSetDownloadLimitPostResponses, TorrentsSetForceStartPostData, TorrentsSetForceStartPostResponses, TorrentsSetLocationPostData, TorrentsSetLocationPostErrors, TorrentsSetLocationPostResponses, TorrentsSetShareLimitsPostData, TorrentsSetShareLimitsPostResponses, TorrentsSetSuperSeedingPostData, TorrentsSetSuperSeedingPostResponses, TorrentsSetUploadLimitPostData, TorrentsSetUploadLimitPostResponses, TorrentsTagsGetData, TorrentsTagsGetResponses, TorrentsToggleFirstLastPiecePrioPostData, TorrentsToggleFirstLastPiecePrioPostResponses, TorrentsToggleSequentialDownloadPostData, TorrentsToggleSequentialDownloadPostResponses, TorrentsTopPrioPostData, TorrentsTopPrioPostErrors, TorrentsTopPrioPostResponses, TorrentsTrackersPostData, TorrentsTrackersPostErrors, TorrentsTrackersPostResponses, TorrentsUploadLimitPostData, TorrentsUploadLimitPostResponses, TorrentWebseedsPostData, TorrentWebseedsPostErrors, TorrentWebseedsPostResponses, TransferBanPeersPostData, TransferBanPeersPostResponses, TransferDownloadLimitGetData, TransferDownloadLimitGetResponses, TransferInfoGetData, TransferInfoGetResponses, TransferSetDownloadLimitPostData, TransferSetDownloadLimitPostResponses, TransferSetUploadLimitPostData, TransferSetUploadLimitPostResponses, TransferSpeedLimitsModeGetData, TransferSpeedLimitsModeGetResponses, TransferToggleSpeedLimitsModeGetData, TransferToggleSpeedLimitsModeGetResponses, TransferUploadLimitGetData, TransferUploadLimitGetResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
@@ -11,7 +11,7 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
11
11
|
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
12
|
* used to access values that aren't defined as part of the SDK function.
|
|
13
13
|
*/
|
|
14
|
-
meta?: Record<string, unknown
|
|
14
|
+
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Login
|
|
@@ -19,31 +19,31 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
19
19
|
* Upon success, the response will contain a cookie with your SID. You must supply the cookie whenever you want to perform an operation that requires authentication.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
export declare const authLoginPost: <ThrowOnError extends boolean = false>(options: Options<AuthLoginPostData, ThrowOnError>) =>
|
|
22
|
+
export declare const authLoginPost: <ThrowOnError extends boolean = false>(options: Options<AuthLoginPostData, ThrowOnError>) => RequestResult<AuthLoginPostResponses, AuthLoginPostErrors, ThrowOnError>;
|
|
23
23
|
/**
|
|
24
24
|
* Logout
|
|
25
25
|
*/
|
|
26
|
-
export declare const authLogoutPost: <ThrowOnError extends boolean = false>(options?: Options<AuthLogoutPostData, ThrowOnError>) =>
|
|
26
|
+
export declare const authLogoutPost: <ThrowOnError extends boolean = false>(options?: Options<AuthLogoutPostData, ThrowOnError>) => RequestResult<AuthLogoutPostResponses, unknown, ThrowOnError>;
|
|
27
27
|
/**
|
|
28
28
|
* Get application version
|
|
29
29
|
*/
|
|
30
|
-
export declare const appVersionGet: <ThrowOnError extends boolean = false>(options?: Options<AppVersionGetData, ThrowOnError>) =>
|
|
30
|
+
export declare const appVersionGet: <ThrowOnError extends boolean = false>(options?: Options<AppVersionGetData, ThrowOnError>) => RequestResult<AppVersionGetResponses, unknown, ThrowOnError>;
|
|
31
31
|
/**
|
|
32
32
|
* Get API version
|
|
33
33
|
*/
|
|
34
|
-
export declare const appWebapiVersionGet: <ThrowOnError extends boolean = false>(options?: Options<AppWebapiVersionGetData, ThrowOnError>) =>
|
|
34
|
+
export declare const appWebapiVersionGet: <ThrowOnError extends boolean = false>(options?: Options<AppWebapiVersionGetData, ThrowOnError>) => RequestResult<AppWebapiVersionGetResponses, unknown, ThrowOnError>;
|
|
35
35
|
/**
|
|
36
36
|
* Get build info
|
|
37
37
|
*/
|
|
38
|
-
export declare const appBuildInfoGet: <ThrowOnError extends boolean = false>(options?: Options<AppBuildInfoGetData, ThrowOnError>) =>
|
|
38
|
+
export declare const appBuildInfoGet: <ThrowOnError extends boolean = false>(options?: Options<AppBuildInfoGetData, ThrowOnError>) => RequestResult<AppBuildInfoGetResponses, unknown, ThrowOnError>;
|
|
39
39
|
/**
|
|
40
40
|
* Shutdown application
|
|
41
41
|
*/
|
|
42
|
-
export declare const appShutdownGet: <ThrowOnError extends boolean = false>(options?: Options<AppShutdownGetData, ThrowOnError>) =>
|
|
42
|
+
export declare const appShutdownGet: <ThrowOnError extends boolean = false>(options?: Options<AppShutdownGetData, ThrowOnError>) => RequestResult<AppShutdownGetResponses, unknown, ThrowOnError>;
|
|
43
43
|
/**
|
|
44
44
|
* Get application preferences
|
|
45
45
|
*/
|
|
46
|
-
export declare const appPreferencesGet: <ThrowOnError extends boolean = false>(options?: Options<AppPreferencesGetData, ThrowOnError>) =>
|
|
46
|
+
export declare const appPreferencesGet: <ThrowOnError extends boolean = false>(options?: Options<AppPreferencesGetData, ThrowOnError>) => RequestResult<AppPreferencesGetResponses, unknown, ThrowOnError>;
|
|
47
47
|
/**
|
|
48
48
|
* Set application preferences
|
|
49
49
|
*
|
|
@@ -55,399 +55,399 @@ export declare const appPreferencesGet: <ThrowOnError extends boolean = false>(o
|
|
|
55
55
|
* For a list of possible preference options see [Get application preferences](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-application-preferences)
|
|
56
56
|
*
|
|
57
57
|
*/
|
|
58
|
-
export declare const appSetPreferencesPost: <ThrowOnError extends boolean = false>(options: Options<AppSetPreferencesPostData, ThrowOnError>) =>
|
|
58
|
+
export declare const appSetPreferencesPost: <ThrowOnError extends boolean = false>(options: Options<AppSetPreferencesPostData, ThrowOnError>) => RequestResult<AppSetPreferencesPostResponses, unknown, ThrowOnError>;
|
|
59
59
|
/**
|
|
60
60
|
* Get default save path
|
|
61
61
|
*/
|
|
62
|
-
export declare const appDefaultSavePathGet: <ThrowOnError extends boolean = false>(options?: Options<AppDefaultSavePathGetData, ThrowOnError>) =>
|
|
62
|
+
export declare const appDefaultSavePathGet: <ThrowOnError extends boolean = false>(options?: Options<AppDefaultSavePathGetData, ThrowOnError>) => RequestResult<AppDefaultSavePathGetResponses, unknown, ThrowOnError>;
|
|
63
63
|
/**
|
|
64
64
|
* Get log
|
|
65
65
|
*/
|
|
66
|
-
export declare const logMainPost: <ThrowOnError extends boolean = false>(options: Options<LogMainPostData, ThrowOnError>) =>
|
|
66
|
+
export declare const logMainPost: <ThrowOnError extends boolean = false>(options: Options<LogMainPostData, ThrowOnError>) => RequestResult<LogMainPostResponses, unknown, ThrowOnError>;
|
|
67
67
|
/**
|
|
68
68
|
* Get peer log
|
|
69
69
|
*/
|
|
70
|
-
export declare const logPeersPost: <ThrowOnError extends boolean = false>(options: Options<LogPeersPostData, ThrowOnError>) =>
|
|
70
|
+
export declare const logPeersPost: <ThrowOnError extends boolean = false>(options: Options<LogPeersPostData, ThrowOnError>) => RequestResult<LogPeersPostResponses, unknown, ThrowOnError>;
|
|
71
71
|
/**
|
|
72
72
|
* Get main data
|
|
73
73
|
*/
|
|
74
|
-
export declare const syncMaindataPost: <ThrowOnError extends boolean = false>(options: Options<SyncMaindataPostData, ThrowOnError>) =>
|
|
74
|
+
export declare const syncMaindataPost: <ThrowOnError extends boolean = false>(options: Options<SyncMaindataPostData, ThrowOnError>) => RequestResult<SyncMaindataPostResponses, unknown, ThrowOnError>;
|
|
75
75
|
/**
|
|
76
76
|
* Get torrent peers data
|
|
77
77
|
*/
|
|
78
|
-
export declare const syncTorrentPeersPost: <ThrowOnError extends boolean = false>(options: Options<SyncTorrentPeersPostData, ThrowOnError>) =>
|
|
78
|
+
export declare const syncTorrentPeersPost: <ThrowOnError extends boolean = false>(options: Options<SyncTorrentPeersPostData, ThrowOnError>) => RequestResult<SyncTorrentPeersPostResponses, SyncTorrentPeersPostErrors, ThrowOnError>;
|
|
79
79
|
/**
|
|
80
80
|
* Get global transfer info
|
|
81
81
|
*
|
|
82
82
|
* This method returns info you usually see in qBt status bar.
|
|
83
83
|
*/
|
|
84
|
-
export declare const transferInfoGet: <ThrowOnError extends boolean = false>(options?: Options<TransferInfoGetData, ThrowOnError>) =>
|
|
84
|
+
export declare const transferInfoGet: <ThrowOnError extends boolean = false>(options?: Options<TransferInfoGetData, ThrowOnError>) => RequestResult<TransferInfoGetResponses, unknown, ThrowOnError>;
|
|
85
85
|
/**
|
|
86
86
|
* Get alternative speed limits state
|
|
87
87
|
*/
|
|
88
|
-
export declare const transferSpeedLimitsModeGet: <ThrowOnError extends boolean = false>(options?: Options<TransferSpeedLimitsModeGetData, ThrowOnError>) =>
|
|
88
|
+
export declare const transferSpeedLimitsModeGet: <ThrowOnError extends boolean = false>(options?: Options<TransferSpeedLimitsModeGetData, ThrowOnError>) => RequestResult<TransferSpeedLimitsModeGetResponses, unknown, ThrowOnError>;
|
|
89
89
|
/**
|
|
90
90
|
* Toggle alternative speed limits
|
|
91
91
|
*/
|
|
92
|
-
export declare const transferToggleSpeedLimitsModeGet: <ThrowOnError extends boolean = false>(options?: Options<TransferToggleSpeedLimitsModeGetData, ThrowOnError>) =>
|
|
92
|
+
export declare const transferToggleSpeedLimitsModeGet: <ThrowOnError extends boolean = false>(options?: Options<TransferToggleSpeedLimitsModeGetData, ThrowOnError>) => RequestResult<TransferToggleSpeedLimitsModeGetResponses, unknown, ThrowOnError>;
|
|
93
93
|
/**
|
|
94
94
|
* Get global download limit
|
|
95
95
|
*/
|
|
96
|
-
export declare const transferDownloadLimitGet: <ThrowOnError extends boolean = false>(options?: Options<TransferDownloadLimitGetData, ThrowOnError>) =>
|
|
96
|
+
export declare const transferDownloadLimitGet: <ThrowOnError extends boolean = false>(options?: Options<TransferDownloadLimitGetData, ThrowOnError>) => RequestResult<TransferDownloadLimitGetResponses, unknown, ThrowOnError>;
|
|
97
97
|
/**
|
|
98
98
|
* Set global download limit
|
|
99
99
|
*/
|
|
100
|
-
export declare const transferSetDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TransferSetDownloadLimitPostData, ThrowOnError>) =>
|
|
100
|
+
export declare const transferSetDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TransferSetDownloadLimitPostData, ThrowOnError>) => RequestResult<TransferSetDownloadLimitPostResponses, unknown, ThrowOnError>;
|
|
101
101
|
/**
|
|
102
102
|
* Get global upload limit
|
|
103
103
|
*/
|
|
104
|
-
export declare const transferUploadLimitGet: <ThrowOnError extends boolean = false>(options?: Options<TransferUploadLimitGetData, ThrowOnError>) =>
|
|
104
|
+
export declare const transferUploadLimitGet: <ThrowOnError extends boolean = false>(options?: Options<TransferUploadLimitGetData, ThrowOnError>) => RequestResult<TransferUploadLimitGetResponses, unknown, ThrowOnError>;
|
|
105
105
|
/**
|
|
106
106
|
* Set global upload limit
|
|
107
107
|
*/
|
|
108
|
-
export declare const transferSetUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TransferSetUploadLimitPostData, ThrowOnError>) =>
|
|
108
|
+
export declare const transferSetUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TransferSetUploadLimitPostData, ThrowOnError>) => RequestResult<TransferSetUploadLimitPostResponses, unknown, ThrowOnError>;
|
|
109
109
|
/**
|
|
110
110
|
* Ban peers
|
|
111
111
|
*/
|
|
112
|
-
export declare const transferBanPeersPost: <ThrowOnError extends boolean = false>(options: Options<TransferBanPeersPostData, ThrowOnError>) =>
|
|
112
|
+
export declare const transferBanPeersPost: <ThrowOnError extends boolean = false>(options: Options<TransferBanPeersPostData, ThrowOnError>) => RequestResult<TransferBanPeersPostResponses, unknown, ThrowOnError>;
|
|
113
113
|
/**
|
|
114
114
|
* Get torrent list
|
|
115
115
|
*/
|
|
116
|
-
export declare const torrentsInfoPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsInfoPostData, ThrowOnError>) =>
|
|
116
|
+
export declare const torrentsInfoPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsInfoPostData, ThrowOnError>) => RequestResult<TorrentsInfoPostResponses, unknown, ThrowOnError>;
|
|
117
117
|
/**
|
|
118
118
|
* Get torrent generic properties
|
|
119
119
|
*
|
|
120
120
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
121
121
|
*/
|
|
122
|
-
export declare const torrentsPropertiesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPropertiesPostData, ThrowOnError>) =>
|
|
122
|
+
export declare const torrentsPropertiesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPropertiesPostData, ThrowOnError>) => RequestResult<TorrentsPropertiesPostResponses, TorrentsPropertiesPostErrors, ThrowOnError>;
|
|
123
123
|
/**
|
|
124
124
|
* Get torrent trackers
|
|
125
125
|
*
|
|
126
126
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
127
127
|
*/
|
|
128
|
-
export declare const torrentsTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsTrackersPostData, ThrowOnError>) =>
|
|
128
|
+
export declare const torrentsTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsTrackersPostData, ThrowOnError>) => RequestResult<TorrentsTrackersPostResponses, TorrentsTrackersPostErrors, ThrowOnError>;
|
|
129
129
|
/**
|
|
130
130
|
* Get torrent web seeds
|
|
131
131
|
*
|
|
132
132
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
133
133
|
*/
|
|
134
|
-
export declare const torrentWebseedsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentWebseedsPostData, ThrowOnError>) =>
|
|
134
|
+
export declare const torrentWebseedsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentWebseedsPostData, ThrowOnError>) => RequestResult<TorrentWebseedsPostResponses, TorrentWebseedsPostErrors, ThrowOnError>;
|
|
135
135
|
/**
|
|
136
136
|
* Get torrent contents
|
|
137
137
|
*
|
|
138
138
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
139
139
|
*/
|
|
140
|
-
export declare const torrentsFilesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsFilesPostData, ThrowOnError>) =>
|
|
140
|
+
export declare const torrentsFilesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsFilesPostData, ThrowOnError>) => RequestResult<TorrentsFilesPostResponses, TorrentsFilesPostErrors, ThrowOnError>;
|
|
141
141
|
/**
|
|
142
142
|
* Get torrent pieces' states
|
|
143
143
|
*
|
|
144
144
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
145
145
|
*/
|
|
146
|
-
export declare const torrentsPieceStatesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPieceStatesPostData, ThrowOnError>) =>
|
|
146
|
+
export declare const torrentsPieceStatesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPieceStatesPostData, ThrowOnError>) => RequestResult<TorrentsPieceStatesPostResponses, TorrentsPieceStatesPostErrors, ThrowOnError>;
|
|
147
147
|
/**
|
|
148
148
|
* Get torrent pieces' hashes
|
|
149
149
|
*
|
|
150
150
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
151
151
|
*/
|
|
152
|
-
export declare const torrentsPieceHashesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPieceHashesPostData, ThrowOnError>) =>
|
|
152
|
+
export declare const torrentsPieceHashesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPieceHashesPostData, ThrowOnError>) => RequestResult<TorrentsPieceHashesPostResponses, TorrentsPieceHashesPostErrors, ThrowOnError>;
|
|
153
153
|
/**
|
|
154
154
|
* Pause torrents
|
|
155
155
|
*
|
|
156
156
|
* Requires knowing the torrent hashes. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
157
157
|
*/
|
|
158
|
-
export declare const torrentsPausePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPausePostData, ThrowOnError>) =>
|
|
158
|
+
export declare const torrentsPausePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsPausePostData, ThrowOnError>) => RequestResult<TorrentsPausePostResponses, unknown, ThrowOnError>;
|
|
159
159
|
/**
|
|
160
160
|
* Resume torrents
|
|
161
161
|
*
|
|
162
162
|
* Requires knowing the torrent hashes. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
163
163
|
*/
|
|
164
|
-
export declare const torrentsResumePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsResumePostData, ThrowOnError>) =>
|
|
164
|
+
export declare const torrentsResumePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsResumePostData, ThrowOnError>) => RequestResult<TorrentsResumePostResponses, unknown, ThrowOnError>;
|
|
165
165
|
/**
|
|
166
166
|
* Delete torrents
|
|
167
167
|
*
|
|
168
168
|
* Requires knowing the torrent hashes. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
169
169
|
*/
|
|
170
|
-
export declare const torrentsDeletePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDeletePostData, ThrowOnError>) =>
|
|
170
|
+
export declare const torrentsDeletePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDeletePostData, ThrowOnError>) => RequestResult<TorrentsDeletePostResponses, unknown, ThrowOnError>;
|
|
171
171
|
/**
|
|
172
172
|
* Recheck torrents
|
|
173
173
|
*
|
|
174
174
|
* Requires knowing the torrent hashes. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
175
175
|
*/
|
|
176
|
-
export declare const torrentsRecheckPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRecheckPostData, ThrowOnError>) =>
|
|
176
|
+
export declare const torrentsRecheckPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRecheckPostData, ThrowOnError>) => RequestResult<TorrentsRecheckPostResponses, unknown, ThrowOnError>;
|
|
177
177
|
/**
|
|
178
178
|
* Reannounce torrents
|
|
179
179
|
*
|
|
180
180
|
* Requires knowing the torrent hashes. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
181
181
|
*/
|
|
182
|
-
export declare const torrentsReannouncePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsReannouncePostData, ThrowOnError>) =>
|
|
182
|
+
export declare const torrentsReannouncePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsReannouncePostData, ThrowOnError>) => RequestResult<TorrentsReannouncePostResponses, unknown, ThrowOnError>;
|
|
183
183
|
/**
|
|
184
184
|
* Add new torrent
|
|
185
185
|
*
|
|
186
186
|
* This method can add torrents from server local file or from URLs. `http://`, `https://`, `magnet:` and `bc://bt/` links are supported.
|
|
187
187
|
*/
|
|
188
|
-
export declare const torrentsAddPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddPostData, ThrowOnError>) =>
|
|
188
|
+
export declare const torrentsAddPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddPostData, ThrowOnError>) => RequestResult<TorrentsAddPostResponses, TorrentsAddPostErrors, ThrowOnError>;
|
|
189
189
|
/**
|
|
190
190
|
* Add trackers to torrent
|
|
191
191
|
*
|
|
192
192
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
193
193
|
*/
|
|
194
|
-
export declare const torrentsAddTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddTrackersPostData, ThrowOnError>) =>
|
|
194
|
+
export declare const torrentsAddTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddTrackersPostData, ThrowOnError>) => RequestResult<TorrentsAddTrackersPostResponses, TorrentsAddTrackersPostErrors, ThrowOnError>;
|
|
195
195
|
/**
|
|
196
196
|
* Edit trackers
|
|
197
197
|
*/
|
|
198
|
-
export declare const torrentsEditTrackerPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsEditTrackerPostData, ThrowOnError>) =>
|
|
198
|
+
export declare const torrentsEditTrackerPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsEditTrackerPostData, ThrowOnError>) => RequestResult<TorrentsEditTrackerPostResponses, TorrentsEditTrackerPostErrors, ThrowOnError>;
|
|
199
199
|
/**
|
|
200
200
|
* Remove trackers
|
|
201
201
|
*/
|
|
202
|
-
export declare const torrentsRemoveTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveTrackersPostData, ThrowOnError>) =>
|
|
202
|
+
export declare const torrentsRemoveTrackersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveTrackersPostData, ThrowOnError>) => RequestResult<TorrentsRemoveTrackersPostResponses, TorrentsRemoveTrackersPostErrors, ThrowOnError>;
|
|
203
203
|
/**
|
|
204
204
|
* Add peers
|
|
205
205
|
*/
|
|
206
|
-
export declare const torrentsAddPeersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddPeersPostData, ThrowOnError>) =>
|
|
206
|
+
export declare const torrentsAddPeersPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddPeersPostData, ThrowOnError>) => RequestResult<TorrentsAddPeersPostResponses, TorrentsAddPeersPostErrors, ThrowOnError>;
|
|
207
207
|
/**
|
|
208
208
|
* Increase torrent priority
|
|
209
209
|
*
|
|
210
210
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
211
211
|
*/
|
|
212
|
-
export declare const torrentsIncreasePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsIncreasePrioPostData, ThrowOnError>) =>
|
|
212
|
+
export declare const torrentsIncreasePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsIncreasePrioPostData, ThrowOnError>) => RequestResult<TorrentsIncreasePrioPostResponses, TorrentsIncreasePrioPostErrors, ThrowOnError>;
|
|
213
213
|
/**
|
|
214
214
|
* Decrease torrent priority
|
|
215
215
|
*
|
|
216
216
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
217
217
|
*/
|
|
218
|
-
export declare const torrentsDecreasePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDecreasePrioPostData, ThrowOnError>) =>
|
|
218
|
+
export declare const torrentsDecreasePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDecreasePrioPostData, ThrowOnError>) => RequestResult<TorrentsDecreasePrioPostResponses, TorrentsDecreasePrioPostErrors, ThrowOnError>;
|
|
219
219
|
/**
|
|
220
220
|
* Maximal torrent priority
|
|
221
221
|
*
|
|
222
222
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
223
223
|
*/
|
|
224
|
-
export declare const torrentsTopPrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsTopPrioPostData, ThrowOnError>) =>
|
|
224
|
+
export declare const torrentsTopPrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsTopPrioPostData, ThrowOnError>) => RequestResult<TorrentsTopPrioPostResponses, TorrentsTopPrioPostErrors, ThrowOnError>;
|
|
225
225
|
/**
|
|
226
226
|
* Minimal torrent priority
|
|
227
227
|
*
|
|
228
228
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
229
229
|
*/
|
|
230
|
-
export declare const torrentsBottomPrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsBottomPrioPostData, ThrowOnError>) =>
|
|
230
|
+
export declare const torrentsBottomPrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsBottomPrioPostData, ThrowOnError>) => RequestResult<TorrentsBottomPrioPostResponses, TorrentsBottomPrioPostErrors, ThrowOnError>;
|
|
231
231
|
/**
|
|
232
232
|
* Set file priority
|
|
233
233
|
*/
|
|
234
|
-
export declare const torrentsFilePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsFilePrioPostData, ThrowOnError>) =>
|
|
234
|
+
export declare const torrentsFilePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsFilePrioPostData, ThrowOnError>) => RequestResult<TorrentsFilePrioPostResponses, TorrentsFilePrioPostErrors, ThrowOnError>;
|
|
235
235
|
/**
|
|
236
236
|
* Get torrent download limit
|
|
237
237
|
*
|
|
238
238
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
239
239
|
*/
|
|
240
|
-
export declare const torrentsDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDownloadLimitPostData, ThrowOnError>) =>
|
|
240
|
+
export declare const torrentsDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDownloadLimitPostData, ThrowOnError>) => RequestResult<TorrentsDownloadLimitPostResponses, unknown, ThrowOnError>;
|
|
241
241
|
/**
|
|
242
242
|
* Set torrent download limit
|
|
243
243
|
*
|
|
244
244
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
245
245
|
*/
|
|
246
|
-
export declare const torrentsSetDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetDownloadLimitPostData, ThrowOnError>) =>
|
|
246
|
+
export declare const torrentsSetDownloadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetDownloadLimitPostData, ThrowOnError>) => RequestResult<TorrentsSetDownloadLimitPostResponses, unknown, ThrowOnError>;
|
|
247
247
|
/**
|
|
248
248
|
* Set torrent share limit
|
|
249
249
|
*
|
|
250
250
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
251
251
|
*/
|
|
252
|
-
export declare const torrentsSetShareLimitsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetShareLimitsPostData, ThrowOnError>) =>
|
|
252
|
+
export declare const torrentsSetShareLimitsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetShareLimitsPostData, ThrowOnError>) => RequestResult<TorrentsSetShareLimitsPostResponses, unknown, ThrowOnError>;
|
|
253
253
|
/**
|
|
254
254
|
* Get torrent upload limit
|
|
255
255
|
*
|
|
256
256
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
257
257
|
*/
|
|
258
|
-
export declare const torrentsUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsUploadLimitPostData, ThrowOnError>) =>
|
|
258
|
+
export declare const torrentsUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsUploadLimitPostData, ThrowOnError>) => RequestResult<TorrentsUploadLimitPostResponses, unknown, ThrowOnError>;
|
|
259
259
|
/**
|
|
260
260
|
* Set torrent upload limit
|
|
261
261
|
*
|
|
262
262
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
263
263
|
*/
|
|
264
|
-
export declare const torrentsSetUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetUploadLimitPostData, ThrowOnError>) =>
|
|
264
|
+
export declare const torrentsSetUploadLimitPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetUploadLimitPostData, ThrowOnError>) => RequestResult<TorrentsSetUploadLimitPostResponses, unknown, ThrowOnError>;
|
|
265
265
|
/**
|
|
266
266
|
* Set torrent location
|
|
267
267
|
*
|
|
268
268
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
269
269
|
*/
|
|
270
|
-
export declare const torrentsSetLocationPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetLocationPostData, ThrowOnError>) =>
|
|
270
|
+
export declare const torrentsSetLocationPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetLocationPostData, ThrowOnError>) => RequestResult<TorrentsSetLocationPostResponses, TorrentsSetLocationPostErrors, ThrowOnError>;
|
|
271
271
|
/**
|
|
272
272
|
* Set torrent name
|
|
273
273
|
*
|
|
274
274
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
275
275
|
*/
|
|
276
|
-
export declare const torrentsRenamePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenamePostData, ThrowOnError>) =>
|
|
276
|
+
export declare const torrentsRenamePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenamePostData, ThrowOnError>) => RequestResult<TorrentsRenamePostResponses, TorrentsRenamePostErrors, ThrowOnError>;
|
|
277
277
|
/**
|
|
278
278
|
* Set torrent category
|
|
279
279
|
*
|
|
280
280
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
281
281
|
*/
|
|
282
|
-
export declare const torrentsSetCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetCategoryPostData, ThrowOnError>) =>
|
|
282
|
+
export declare const torrentsSetCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetCategoryPostData, ThrowOnError>) => RequestResult<TorrentsSetCategoryPostResponses, TorrentsSetCategoryPostErrors, ThrowOnError>;
|
|
283
283
|
/**
|
|
284
284
|
* Get all categories
|
|
285
285
|
*/
|
|
286
|
-
export declare const torrentsCategoriesGet: <ThrowOnError extends boolean = false>(options?: Options<TorrentsCategoriesGetData, ThrowOnError>) =>
|
|
286
|
+
export declare const torrentsCategoriesGet: <ThrowOnError extends boolean = false>(options?: Options<TorrentsCategoriesGetData, ThrowOnError>) => RequestResult<TorrentsCategoriesGetResponses, unknown, ThrowOnError>;
|
|
287
287
|
/**
|
|
288
288
|
* Add new category
|
|
289
289
|
*/
|
|
290
|
-
export declare const torrentsCreateCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsCreateCategoryPostData, ThrowOnError>) =>
|
|
290
|
+
export declare const torrentsCreateCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsCreateCategoryPostData, ThrowOnError>) => RequestResult<TorrentsCreateCategoryPostResponses, TorrentsCreateCategoryPostErrors, ThrowOnError>;
|
|
291
291
|
/**
|
|
292
292
|
* Edit category
|
|
293
293
|
*/
|
|
294
|
-
export declare const torrentsEditCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsEditCategoryPostData, ThrowOnError>) =>
|
|
294
|
+
export declare const torrentsEditCategoryPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsEditCategoryPostData, ThrowOnError>) => RequestResult<TorrentsEditCategoryPostResponses, TorrentsEditCategoryPostErrors, ThrowOnError>;
|
|
295
295
|
/**
|
|
296
296
|
* Remove categories
|
|
297
297
|
*/
|
|
298
|
-
export declare const torrentsRemoveCategoriesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveCategoriesPostData, ThrowOnError>) =>
|
|
298
|
+
export declare const torrentsRemoveCategoriesPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveCategoriesPostData, ThrowOnError>) => RequestResult<TorrentsRemoveCategoriesPostResponses, unknown, ThrowOnError>;
|
|
299
299
|
/**
|
|
300
300
|
* Add torrent tags
|
|
301
301
|
*
|
|
302
302
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
303
303
|
*/
|
|
304
|
-
export declare const torrentsAddTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddTagsPostData, ThrowOnError>) =>
|
|
304
|
+
export declare const torrentsAddTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsAddTagsPostData, ThrowOnError>) => RequestResult<TorrentsAddTagsPostResponses, unknown, ThrowOnError>;
|
|
305
305
|
/**
|
|
306
306
|
* Remove torrent tags
|
|
307
307
|
*
|
|
308
308
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
309
309
|
*/
|
|
310
|
-
export declare const torrentsRemoveTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveTagsPostData, ThrowOnError>) =>
|
|
310
|
+
export declare const torrentsRemoveTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRemoveTagsPostData, ThrowOnError>) => RequestResult<TorrentsRemoveTagsPostResponses, unknown, ThrowOnError>;
|
|
311
311
|
/**
|
|
312
312
|
* Get all tags
|
|
313
313
|
*/
|
|
314
|
-
export declare const torrentsTagsGet: <ThrowOnError extends boolean = false>(options?: Options<TorrentsTagsGetData, ThrowOnError>) =>
|
|
314
|
+
export declare const torrentsTagsGet: <ThrowOnError extends boolean = false>(options?: Options<TorrentsTagsGetData, ThrowOnError>) => RequestResult<TorrentsTagsGetResponses, unknown, ThrowOnError>;
|
|
315
315
|
/**
|
|
316
316
|
* Create tags
|
|
317
317
|
*/
|
|
318
|
-
export declare const torrentsCreateTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsCreateTagsPostData, ThrowOnError>) =>
|
|
318
|
+
export declare const torrentsCreateTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsCreateTagsPostData, ThrowOnError>) => RequestResult<TorrentsCreateTagsPostResponses, unknown, ThrowOnError>;
|
|
319
319
|
/**
|
|
320
320
|
* Delete tags
|
|
321
321
|
*/
|
|
322
|
-
export declare const torrentsDeleteTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDeleteTagsPostData, ThrowOnError>) =>
|
|
322
|
+
export declare const torrentsDeleteTagsPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsDeleteTagsPostData, ThrowOnError>) => RequestResult<TorrentsDeleteTagsPostResponses, unknown, ThrowOnError>;
|
|
323
323
|
/**
|
|
324
324
|
* Set automatic torrent management
|
|
325
325
|
*
|
|
326
326
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
327
327
|
*/
|
|
328
|
-
export declare const torrentsSetAutoManagementPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetAutoManagementPostData, ThrowOnError>) =>
|
|
328
|
+
export declare const torrentsSetAutoManagementPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetAutoManagementPostData, ThrowOnError>) => RequestResult<TorrentsSetAutoManagementPostResponses, unknown, ThrowOnError>;
|
|
329
329
|
/**
|
|
330
330
|
* Toggle sequential download
|
|
331
331
|
*
|
|
332
332
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
333
333
|
*/
|
|
334
|
-
export declare const torrentsToggleSequentialDownloadPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsToggleSequentialDownloadPostData, ThrowOnError>) =>
|
|
334
|
+
export declare const torrentsToggleSequentialDownloadPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsToggleSequentialDownloadPostData, ThrowOnError>) => RequestResult<TorrentsToggleSequentialDownloadPostResponses, unknown, ThrowOnError>;
|
|
335
335
|
/**
|
|
336
336
|
* Set first/last piece priority
|
|
337
337
|
*
|
|
338
338
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
339
339
|
*/
|
|
340
|
-
export declare const torrentsToggleFirstLastPiecePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsToggleFirstLastPiecePrioPostData, ThrowOnError>) =>
|
|
340
|
+
export declare const torrentsToggleFirstLastPiecePrioPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsToggleFirstLastPiecePrioPostData, ThrowOnError>) => RequestResult<TorrentsToggleFirstLastPiecePrioPostResponses, unknown, ThrowOnError>;
|
|
341
341
|
/**
|
|
342
342
|
* Set force start
|
|
343
343
|
*
|
|
344
344
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
345
345
|
*/
|
|
346
|
-
export declare const torrentsSetForceStartPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetForceStartPostData, ThrowOnError>) =>
|
|
346
|
+
export declare const torrentsSetForceStartPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetForceStartPostData, ThrowOnError>) => RequestResult<TorrentsSetForceStartPostResponses, unknown, ThrowOnError>;
|
|
347
347
|
/**
|
|
348
348
|
* Set super seeding
|
|
349
349
|
*
|
|
350
350
|
* Requires knowing the torrent hash. You can get it from [torrent list](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list).
|
|
351
351
|
*/
|
|
352
|
-
export declare const torrentsSetSuperSeedingPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetSuperSeedingPostData, ThrowOnError>) =>
|
|
352
|
+
export declare const torrentsSetSuperSeedingPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsSetSuperSeedingPostData, ThrowOnError>) => RequestResult<TorrentsSetSuperSeedingPostResponses, unknown, ThrowOnError>;
|
|
353
353
|
/**
|
|
354
354
|
* Rename file
|
|
355
355
|
*/
|
|
356
|
-
export declare const torrentsRenameFilePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenameFilePostData, ThrowOnError>) =>
|
|
356
|
+
export declare const torrentsRenameFilePost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenameFilePostData, ThrowOnError>) => RequestResult<TorrentsRenameFilePostResponses, TorrentsRenameFilePostErrors, ThrowOnError>;
|
|
357
357
|
/**
|
|
358
358
|
* Rename folder
|
|
359
359
|
*/
|
|
360
|
-
export declare const torrentsRenameFolderPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenameFolderPostData, ThrowOnError>) =>
|
|
360
|
+
export declare const torrentsRenameFolderPost: <ThrowOnError extends boolean = false>(options: Options<TorrentsRenameFolderPostData, ThrowOnError>) => RequestResult<TorrentsRenameFolderPostResponses, TorrentsRenameFolderPostErrors, ThrowOnError>;
|
|
361
361
|
/**
|
|
362
362
|
* Add folder
|
|
363
363
|
*/
|
|
364
|
-
export declare const rssAddFolderPost: <ThrowOnError extends boolean = false>(options: Options<RssAddFolderPostData, ThrowOnError>) =>
|
|
364
|
+
export declare const rssAddFolderPost: <ThrowOnError extends boolean = false>(options: Options<RssAddFolderPostData, ThrowOnError>) => RequestResult<RssAddFolderPostResponses, RssAddFolderPostErrors, ThrowOnError>;
|
|
365
365
|
/**
|
|
366
366
|
* Add feed
|
|
367
367
|
*/
|
|
368
|
-
export declare const rssAddFeedPost: <ThrowOnError extends boolean = false>(options: Options<RssAddFeedPostData, ThrowOnError>) =>
|
|
368
|
+
export declare const rssAddFeedPost: <ThrowOnError extends boolean = false>(options: Options<RssAddFeedPostData, ThrowOnError>) => RequestResult<RssAddFeedPostResponses, RssAddFeedPostErrors, ThrowOnError>;
|
|
369
369
|
/**
|
|
370
370
|
* Remove item
|
|
371
371
|
*/
|
|
372
|
-
export declare const rssRemoveItemPost: <ThrowOnError extends boolean = false>(options: Options<RssRemoveItemPostData, ThrowOnError>) =>
|
|
372
|
+
export declare const rssRemoveItemPost: <ThrowOnError extends boolean = false>(options: Options<RssRemoveItemPostData, ThrowOnError>) => RequestResult<RssRemoveItemPostResponses, RssRemoveItemPostErrors, ThrowOnError>;
|
|
373
373
|
/**
|
|
374
374
|
* Move item
|
|
375
375
|
*/
|
|
376
|
-
export declare const rssMoveItemPost: <ThrowOnError extends boolean = false>(options: Options<RssMoveItemPostData, ThrowOnError>) =>
|
|
376
|
+
export declare const rssMoveItemPost: <ThrowOnError extends boolean = false>(options: Options<RssMoveItemPostData, ThrowOnError>) => RequestResult<RssMoveItemPostResponses, RssMoveItemPostErrors, ThrowOnError>;
|
|
377
377
|
/**
|
|
378
378
|
* Get all items
|
|
379
379
|
*/
|
|
380
|
-
export declare const rssItemsPost: <ThrowOnError extends boolean = false>(options: Options<RssItemsPostData, ThrowOnError>) =>
|
|
380
|
+
export declare const rssItemsPost: <ThrowOnError extends boolean = false>(options: Options<RssItemsPostData, ThrowOnError>) => RequestResult<RssItemsPostResponses, unknown, ThrowOnError>;
|
|
381
381
|
/**
|
|
382
382
|
* Mark as read
|
|
383
383
|
*
|
|
384
384
|
* If `articleId` is provided only the article is marked as read otherwise the whole feed is going to be marked as read.
|
|
385
385
|
*/
|
|
386
|
-
export declare const rssMarkAsReadPost: <ThrowOnError extends boolean = false>(options: Options<RssMarkAsReadPostData, ThrowOnError>) =>
|
|
386
|
+
export declare const rssMarkAsReadPost: <ThrowOnError extends boolean = false>(options: Options<RssMarkAsReadPostData, ThrowOnError>) => RequestResult<RssMarkAsReadPostResponses, unknown, ThrowOnError>;
|
|
387
387
|
/**
|
|
388
388
|
* Refresh item
|
|
389
389
|
*
|
|
390
390
|
* Refreshes folder or feed.
|
|
391
391
|
*/
|
|
392
|
-
export declare const rssRefreshItemPost: <ThrowOnError extends boolean = false>(options: Options<RssRefreshItemPostData, ThrowOnError>) =>
|
|
392
|
+
export declare const rssRefreshItemPost: <ThrowOnError extends boolean = false>(options: Options<RssRefreshItemPostData, ThrowOnError>) => RequestResult<RssRefreshItemPostResponses, unknown, ThrowOnError>;
|
|
393
393
|
/**
|
|
394
394
|
* Set auto-downloading rule
|
|
395
395
|
*/
|
|
396
|
-
export declare const rssSetRulePost: <ThrowOnError extends boolean = false>(options: Options<RssSetRulePostData, ThrowOnError>) =>
|
|
396
|
+
export declare const rssSetRulePost: <ThrowOnError extends boolean = false>(options: Options<RssSetRulePostData, ThrowOnError>) => RequestResult<RssSetRulePostResponses, unknown, ThrowOnError>;
|
|
397
397
|
/**
|
|
398
398
|
* Rename auto-downloading rule
|
|
399
399
|
*/
|
|
400
|
-
export declare const rssRenameRulePost: <ThrowOnError extends boolean = false>(options: Options<RssRenameRulePostData, ThrowOnError>) =>
|
|
400
|
+
export declare const rssRenameRulePost: <ThrowOnError extends boolean = false>(options: Options<RssRenameRulePostData, ThrowOnError>) => RequestResult<RssRenameRulePostResponses, unknown, ThrowOnError>;
|
|
401
401
|
/**
|
|
402
402
|
* Remove auto-downloading rule
|
|
403
403
|
*/
|
|
404
|
-
export declare const rssRemoveRulePost: <ThrowOnError extends boolean = false>(options: Options<RssRemoveRulePostData, ThrowOnError>) =>
|
|
404
|
+
export declare const rssRemoveRulePost: <ThrowOnError extends boolean = false>(options: Options<RssRemoveRulePostData, ThrowOnError>) => RequestResult<RssRemoveRulePostResponses, unknown, ThrowOnError>;
|
|
405
405
|
/**
|
|
406
406
|
* Get all auto-downloading rules
|
|
407
407
|
*/
|
|
408
|
-
export declare const rssRulesGet: <ThrowOnError extends boolean = false>(options?: Options<RssRulesGetData, ThrowOnError>) =>
|
|
408
|
+
export declare const rssRulesGet: <ThrowOnError extends boolean = false>(options?: Options<RssRulesGetData, ThrowOnError>) => RequestResult<RssRulesGetResponses, unknown, ThrowOnError>;
|
|
409
409
|
/**
|
|
410
410
|
* Get all articles matching a rule
|
|
411
411
|
*/
|
|
412
|
-
export declare const rssMatchingArticlesPost: <ThrowOnError extends boolean = false>(options: Options<RssMatchingArticlesPostData, ThrowOnError>) =>
|
|
412
|
+
export declare const rssMatchingArticlesPost: <ThrowOnError extends boolean = false>(options: Options<RssMatchingArticlesPostData, ThrowOnError>) => RequestResult<RssMatchingArticlesPostResponses, unknown, ThrowOnError>;
|
|
413
413
|
/**
|
|
414
414
|
* Start search
|
|
415
415
|
*/
|
|
416
|
-
export declare const searchStartPost: <ThrowOnError extends boolean = false>(options: Options<SearchStartPostData, ThrowOnError>) =>
|
|
416
|
+
export declare const searchStartPost: <ThrowOnError extends boolean = false>(options: Options<SearchStartPostData, ThrowOnError>) => RequestResult<SearchStartPostResponses, SearchStartPostErrors, ThrowOnError>;
|
|
417
417
|
/**
|
|
418
418
|
* Stop search
|
|
419
419
|
*/
|
|
420
|
-
export declare const searchStopPost: <ThrowOnError extends boolean = false>(options: Options<SearchStopPostData, ThrowOnError>) =>
|
|
420
|
+
export declare const searchStopPost: <ThrowOnError extends boolean = false>(options: Options<SearchStopPostData, ThrowOnError>) => RequestResult<SearchStopPostResponses, SearchStopPostErrors, ThrowOnError>;
|
|
421
421
|
/**
|
|
422
422
|
* Get search status
|
|
423
423
|
*/
|
|
424
|
-
export declare const searchStatusPost: <ThrowOnError extends boolean = false>(options: Options<SearchStatusPostData, ThrowOnError>) =>
|
|
424
|
+
export declare const searchStatusPost: <ThrowOnError extends boolean = false>(options: Options<SearchStatusPostData, ThrowOnError>) => RequestResult<SearchStatusPostResponses, SearchStatusPostErrors, ThrowOnError>;
|
|
425
425
|
/**
|
|
426
426
|
* Get search results
|
|
427
427
|
*/
|
|
428
|
-
export declare const searchResultsPost: <ThrowOnError extends boolean = false>(options: Options<SearchResultsPostData, ThrowOnError>) =>
|
|
428
|
+
export declare const searchResultsPost: <ThrowOnError extends boolean = false>(options: Options<SearchResultsPostData, ThrowOnError>) => RequestResult<SearchResultsPostResponses, SearchResultsPostErrors, ThrowOnError>;
|
|
429
429
|
/**
|
|
430
430
|
* Delete search
|
|
431
431
|
*/
|
|
432
|
-
export declare const searchDeletePost: <ThrowOnError extends boolean = false>(options: Options<SearchDeletePostData, ThrowOnError>) =>
|
|
432
|
+
export declare const searchDeletePost: <ThrowOnError extends boolean = false>(options: Options<SearchDeletePostData, ThrowOnError>) => RequestResult<SearchDeletePostResponses, SearchDeletePostErrors, ThrowOnError>;
|
|
433
433
|
/**
|
|
434
434
|
* Get search plugins
|
|
435
435
|
*/
|
|
436
|
-
export declare const searchPluginsGet: <ThrowOnError extends boolean = false>(options?: Options<SearchPluginsGetData, ThrowOnError>) =>
|
|
436
|
+
export declare const searchPluginsGet: <ThrowOnError extends boolean = false>(options?: Options<SearchPluginsGetData, ThrowOnError>) => RequestResult<SearchPluginsGetResponses, unknown, ThrowOnError>;
|
|
437
437
|
/**
|
|
438
438
|
* Install search plugin
|
|
439
439
|
*/
|
|
440
|
-
export declare const searchInstallPluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchInstallPluginPostData, ThrowOnError>) =>
|
|
440
|
+
export declare const searchInstallPluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchInstallPluginPostData, ThrowOnError>) => RequestResult<SearchInstallPluginPostResponses, unknown, ThrowOnError>;
|
|
441
441
|
/**
|
|
442
442
|
* Uninstall search plugin
|
|
443
443
|
*/
|
|
444
|
-
export declare const searchUninstallPluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchUninstallPluginPostData, ThrowOnError>) =>
|
|
444
|
+
export declare const searchUninstallPluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchUninstallPluginPostData, ThrowOnError>) => RequestResult<SearchUninstallPluginPostResponses, unknown, ThrowOnError>;
|
|
445
445
|
/**
|
|
446
446
|
* Enable search plugin
|
|
447
447
|
*/
|
|
448
|
-
export declare const searchEnablePluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchEnablePluginPostData, ThrowOnError>) =>
|
|
448
|
+
export declare const searchEnablePluginPost: <ThrowOnError extends boolean = false>(options: Options<SearchEnablePluginPostData, ThrowOnError>) => RequestResult<SearchEnablePluginPostResponses, unknown, ThrowOnError>;
|
|
449
449
|
/**
|
|
450
450
|
* Update search plugins
|
|
451
451
|
*/
|
|
452
|
-
export declare const searchUpdatePluginsPost: <ThrowOnError extends boolean = false>(options?: Options<SearchUpdatePluginsPostData, ThrowOnError>) =>
|
|
452
|
+
export declare const searchUpdatePluginsPost: <ThrowOnError extends boolean = false>(options?: Options<SearchUpdatePluginsPostData, ThrowOnError>) => RequestResult<SearchUpdatePluginsPostResponses, unknown, ThrowOnError>;
|
|
453
453
|
//# sourceMappingURL=sdk.gen.d.ts.map
|