import { Link } from '../../../types'; import { OrderPrice } from './OrderPrice'; export interface OrderItem { id: string; links: { updatePrice: Link; update: Link; markReadyForLicense?: Link; }; price?: OrderPrice; captionsRequested: boolean; transcriptRequested?: boolean; editRequest?: string; video: OrderItemVideo; trim?: string; channel: OrderItemChannel; licenseInfo?: LicenseInfo; issuedLicense?: IssuedLicense; } export interface LicenseInfo { duration?: string; territory?: string; warning?: string; } export interface IssuedLicense { duration: string; startDate: string; endDate: string; } export interface OrderItemChannel { id: string; name: string; } export declare enum OrderCaptionStatus { PROCESSING = 0, REQUESTED = 1, UNAVAILABLE = 2, AVAILABLE = 3 } export interface OrderItemVideo { id: string; type: string; title: string; videoReference: string; maxResolutionAvailable: boolean; captionStatus: OrderCaptionStatus; allowHumanCaptionRequest: boolean; _links: OrderItemVideoLinks; } export interface OrderItemVideoLinks { fullProjection: Link; videoUpload: Link; captionAdmin: Link; }