/** * This file was auto-generated by Fern from our API Definition. */ export interface Media { id: string; object: string; kind?: Media.Kind; title?: string; alt?: string; width?: number; height?: number; duration?: number; files: Media.Files.Item[]; urls: Record; background?: string; metadata?: Record; created: string; updated: string; } export declare namespace Media { type Kind = "video" | "image" | "audio"; const Kind: { readonly Video: "video"; readonly Image: "image"; readonly Audio: "audio"; }; type Files = Files.Item[]; namespace Files { interface Item { id: string; object: Item.Object_; kind: Item.Kind; type: string; codec?: string; container?: string; width?: number; height?: number; orientation?: Item.Orientation; rotation?: number; transparency?: boolean; frames?: number; duration?: number; fps?: number; filesize: number; bitrate?: number; ref?: string; folder?: string; filename?: string; url: string; metadata?: Record; original?: boolean; created: string; updated: string; status: Item.Status; } namespace Item { type Object_ = "source" | "track" | "intelligence"; const Object_: { readonly Source: "source"; readonly Track: "track"; readonly Intelligence: "intelligence"; }; type Kind = "video" | "image" | "audio"; const Kind: { readonly Video: "video"; readonly Image: "image"; readonly Audio: "audio"; }; type Orientation = "landscape" | "portrait" | "square"; const Orientation: { readonly Landscape: "landscape"; readonly Portrait: "portrait"; readonly Square: "square"; }; type Status = "waiting" | "processing" | "ready" | "failed"; const Status: { readonly Waiting: "waiting"; readonly Processing: "processing"; readonly Ready: "ready"; readonly Failed: "failed"; }; } } }