import { AttachmentRequest } from '../../common/model/Attachment'; import { PromotedForProduct } from './PromotedForProduct'; import { Segment } from './Segment'; export interface CreateCollectionRequest { title?: string; description?: string; videos?: string[]; discoverable?: boolean; assets?: CollectionAssetIdRequest[]; } export interface CollectionAssetIdRequest { videoId: string; highlightId: string | null; } export interface UpdateCollectionRequest { title?: string; discoverable?: boolean; promotedFor?: PromotedForProduct[]; subjects?: string[]; description?: string; videos?: string[]; attachment?: AttachmentRequest; ageRange?: AgeRangeRequest; assets?: CollectionAssetRequest[]; } export interface CollectionAssetRequest { videoId: string; highlightId: string | null; segment?: Segment; note?: string; } export interface AgeRangeRequest { min?: number; max?: number; } export interface AddCommentToCollectionVideRequest { videoId: string; name: string; email: string; text: string; }