import type * as Extend from "../../../../index"; /** * @example * { * name: "Document Splitter", * config: { * splitClassifications: [{ * id: "invoice", * type: "invoice", * description: "An invoice or bill for goods or services", * identifierKey: "invoice number from the document header" * }, { * id: "receipt", * type: "receipt", * description: "A receipt confirming payment", * identifierKey: "receipt number" * }, { * id: "other", * type: "other", * description: "Any other document type" * }] * } * } */ export interface SplittersCreateRequest { /** The name of the splitter. */ name: string; /** * The ID of an existing splitter to clone. If provided, the new splitter will be created with the same config as the splitter with this ID. Cannot be provided together with `config`. * * Example: `"spl_BMdfq_yWM3sT-ZzvCnA3f"` */ cloneSplitterId?: string; /** The configuration for the splitter. Cannot be provided together with `cloneSplitterId`. */ config?: Extend.SplitConfig; }