transmission-rpc-client
Version:
Transmission client for V3. More info in Git Repo
18 lines (17 loc) • 718 B
TypeScript
import { AbstractRequest } from '../AbstractRequest';
import { Argument, RpcResponse, WithIds } from '../CommonTypes';
export declare type SetTorrentLocationRequestArguments = {
/**
* the new torrent location
*/
location: string;
/**
* if true, move from previous location. otherwise, search "location" for files (default: false)
*/
move?: boolean;
} & WithIds & Argument;
export declare class SetTorrentLocationRequest extends AbstractRequest<SetTorrentLocationRequestArguments> {
private constructor();
static of(args: SetTorrentLocationRequestArguments, tag?: number): SetTorrentLocationRequest;
}
export declare type SetTorrentLocationResponse = {} & RpcResponse<any>;