import { GetAcceptEnum } from "../funcs/captionsGet.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; export { GetAcceptEnum } from "../funcs/captionsGet.js"; export declare class Captions extends ClientSDK { /** * List Captions by Media * * @remarks * Lists captions belonging to a specific media. * * ## Requires api token with one of the following permissions * ``` * Read all folder and media data * ``` */ list(request: operations.GetMediasMediaHashedIdCaptionsRequest, options?: RequestOptions): Promise>; /** * Create Captions * * @remarks * Adds captions to a specified media by providing an SRT file or its contents directly. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ create(request: operations.PostMediasMediaHashedIdCaptionsRequest, options?: RequestOptions): Promise; /** * Create Captions * * @remarks * Adds captions to a specified media by providing an SRT file or its contents directly. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ createMultipart(request: operations.PostMediasMediaHashedIdCaptionsMultipartRequest, options?: RequestOptions): Promise; /** * List Captions * * @remarks * Lists captions belonging to the account. This endpoint can also narrow down results * to those belonging to a specific media. * * ## Requires api token with one of the following permissions * ``` * Read all folder and media data * ``` */ getCaptions(request?: operations.GetCaptionsRequest | undefined, options?: RequestOptions): Promise>; /** * Purchase Captions * * @remarks * This method is for purchasing English captions for a media. The request will charge the credit card on the account if successful. A saved credit card is required to use this endpoint. * * > 🚫 Alert * > * > The `automated` parameter defaults to `false`, which orders **paid human-generated captions**. To order computer-generated captions, you must explicitly set `automated` to `true`. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ purchase(request: operations.PostMediasMediaHashedIdCaptionsPurchaseRequest, options?: RequestOptions): Promise; /** * Show Captions * * @remarks * Returns a video's captions in the specified language. * Supports multiple formats: JSON (default), SRT, VTT, and TXT. * Use file extensions (.srt, .vtt, .txt) or Accept headers to specify format. * * ## Requires api token with one of the following permissions * ``` * Read all folder and media data * ``` */ get(request: operations.GetMediasMediaHashedIdCaptionsLanguageCodeRequest, options?: RequestOptions & { acceptHeaderOverride?: GetAcceptEnum; }): Promise; /** * Update Captions * * @remarks * This method is for replacing the captions on a video for the specified language. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ update(request: operations.PutMediasMediaHashedIdCaptionsLanguageCodeRequest, options?: RequestOptions): Promise; /** * Update Captions * * @remarks * This method is for replacing the captions on a video for the specified language. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ updateMultipart(request: operations.PutMediasMediaHashedIdCaptionsLanguageCodeMultipartRequest, options?: RequestOptions): Promise; /** * Delete Captions * * @remarks * Removes the captions file from a media for the specified language. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ delete(request: operations.DeleteMediasMediaHashedIdCaptionsLanguageCodeRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=captions.d.ts.map