// Copyright © 2022-2026 Partium, Inc. DBA Partium import { EnrichmentJobType } from './enrichment-job'; /** * Request to add metadata to an enrichment job and set it's status from "draft" to "submitted" */ export interface SubmitEnrichmentJobRequest { /** * Enrichment job id. */ jobId: string; /** * The title of the enrichment job. */ title: string; /** * The description of the enrichment job. * Required for `custom_enrichment` jobs. * Optional for predefined jobs (`general_part_attributes`, `supplier_discovery`). */ description?: string; /** * Optional type of the enrichment job. * When provided, it overrides the type set during upload. */ jobType?: EnrichmentJobType; /** * Optional list of attribute identifiers used for attribute enrichment jobs. */ attributeIds?: string[]; /** * Organization identifier when explicitly selecting an organization. */ organization?: string; }