// Copyright © 2022-2026 Partium, Inc. DBA Partium import { ImageSubmissionContentType } from './image-submission-content-type'; /** * Metadata for a submission image. */ export interface ImageSubmissionMetadata { /** * The external ID of the part. */ partId: string; /** * The content type of the submission image. */ content: ImageSubmissionContentType; } /** * Request for submitting images. */ export interface SubmitImagesRequest { /** * The organization name. */ organization?: string; /** * Array of image metadata corresponding to each file * The array indices should match between files and images arrays */ images: ImageSubmissionMetadata[]; /** * Array of File objects containing the image data to upload */ files: File[]; }