import type * as Extend from "../../../../index"; /** * @example * { * name: "My Processor Name", * type: "EXTRACT" * } */ export interface ProcessorCreateRequest { /** The name of the new processor */ name: string; type: Extend.LegacyProcessorType; /** * The ID of an existing processor to clone. One of `cloneProcessorId` or `config` must be provided. * * Example: `"ex_Xj8mK2pL9nR4vT7qY5wZ"` */ cloneProcessorId?: string; /** The configuration for the processor. The type of configuration must match the processor type. One of `cloneProcessorId` or `config` must be provided. */ config?: Extend.ProcessorCreateRequestConfig; }