@putdotio/api-client
Version:
JavaScript SDK for interacting with the put.io API.
13 lines (12 loc) • 566 B
TypeScript
import { PutioAPIClient } from '../../client';
import { IDownloadLinksCreateResponse, IDownloadLinksInfoResponse } from './types';
export default class DownloadLinks {
private client;
constructor(client: PutioAPIClient);
Create({ ids, cursor, excludeIds, }: {
ids?: number[];
cursor?: string;
excludeIds?: number[];
}): Promise<import("../..").IPutioAPIClientResponse<IDownloadLinksCreateResponse>>;
Get(downloadLinksId: number): Promise<import("../..").IPutioAPIClientResponse<IDownloadLinksInfoResponse>>;
}