// Copyright © 2022-2026 Partium, Inc. DBA Partium import { BaseSubmissionResponse } from './base-submission-response'; import { ImageSubmission } from './image-submission'; /** * A part with image submissions. */ export interface PartWithImageSubmissions { /** * The ID of the part. */ partId: string; /** * The UUID of the part. */ partPartiumId: string; /** * The name of the part. */ partName: string; /** * The language of the part name. */ partNameLanguage: string; /** * The URL of the primary image of the part. */ partPrimaryImageUrl?: string; /** * The expiration date of the primary image of the part. */ partPrimaryImageUrlExpireAt?: string; /** * The number of images of the part. */ partImageCount: number; /** * The images of the part. */ images: ImageSubmission[]; } /** * Response for getting parts with image submissions. */ export interface GetImageSubmissionsResponse extends BaseSubmissionResponse { /** * The part with image submissions. */ results?: PartWithImageSubmissions[]; /** * The next cursor to get the next page of image submissions. */ next?: string; }