import { Link } from '../../common/model/LinkEntity'; import { Duration } from 'dayjs/plugin/duration'; export interface LicensedContent { videoId: string; license: { id: string; userId: string; orderId: string; startDate: Date; endDate: Date; restrictedTerritories?: string[]; }; videoMetadata: { title: string; channelName: string; duration: Duration; links?: { self: Link; download?: Link; createEmbedCode?: Link; transcript?: Link; downloadMetadata?: Link; downloadCaptions?: Link; }; }; }