import type * as Extend from "../../../../index"; /** * @example * { * extractor: { * id: "ex_1234567890" * }, * file: { * url: "https://example.com/invoice.pdf" * } * } */ export interface ExtractRunsCreateRequest { /** Reference to an existing extractor. One of `extractor` or `config` must be provided. */ extractor?: Extend.ExtractRunsCreateRequestExtractor; /** Inline extract configuration. One of `extractor` or `config` must be provided. */ config?: Extend.ExtractConfigJson; /** The file to be extracted from. Files can be provided as a URL, Extend file ID, or raw text. */ file: Extend.ExtractRunsCreateRequestFile; priority?: Extend.RunPriority; metadata?: Extend.RunMetadata; }