/** * Lead Scraping Service API * Vector Lead Scraping Service API - Manages Lead Scraping Jobs * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@vector.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * LeadEnrichmentRequest tracks enrichment job status and metadata. * This is used to track the lifecycle of an enrichment request from * initial submission through to completion or failure. * * Key features: * - Request identification via UUID * - Status tracking with progress percentage * - Cost and processing time tracking * - Multi-tenant support (workspace, account) * * Database considerations: * - Indexed on request_uuid for quick lookups * - Indexed on status for filtering active requests * - Supports soft deletes * @export * @interface LeadEnrichmentRequest */ export interface LeadEnrichmentRequest { /** * * @type {string} * @memberof LeadEnrichmentRequest */ id?: string; /** * * @type {string} * @memberof LeadEnrichmentRequest */ leadId?: string; /** * * @type {string} * @memberof LeadEnrichmentRequest */ workspaceId?: string; /** * * @type {string} * @memberof LeadEnrichmentRequest */ accountId?: string; /** * * @type {string} * @memberof LeadEnrichmentRequest */ requestUuid?: string; /** * pending, processing, completed, failed, cancelled * @type {string} * @memberof LeadEnrichmentRequest */ status?: string; /** * * @type {number} * @memberof LeadEnrichmentRequest */ progress?: number; /** * * @type {string} * @memberof LeadEnrichmentRequest */ errorMessage?: string; /** * * @type {string} * @memberof LeadEnrichmentRequest */ errorCode?: string; /** * * @type {number} * @memberof LeadEnrichmentRequest */ processingTimeMs?: number; /** * * @type {number} * @memberof LeadEnrichmentRequest */ costCents?: number; /** * * @type {string} * @memberof LeadEnrichmentRequest */ optionsJson?: string; /** * * @type {number} * @memberof LeadEnrichmentRequest */ fieldsEnriched?: number; /** * * @type {string} * @memberof LeadEnrichmentRequest */ enrichmentSourcesJson?: string; /** * * @type {Date} * @memberof LeadEnrichmentRequest */ createdAt?: Date; /** * * @type {Date} * @memberof LeadEnrichmentRequest */ updatedAt?: Date; /** * * @type {Date} * @memberof LeadEnrichmentRequest */ completedAt?: Date; /** * * @type {Date} * @memberof LeadEnrichmentRequest */ deletedAt?: Date; } /** * Check if a given object implements the LeadEnrichmentRequest interface. */ export declare function instanceOfLeadEnrichmentRequest(value: object): value is LeadEnrichmentRequest; export declare function LeadEnrichmentRequestFromJSON(json: any): LeadEnrichmentRequest; export declare function LeadEnrichmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentRequest; export declare function LeadEnrichmentRequestToJSON(json: any): LeadEnrichmentRequest; export declare function LeadEnrichmentRequestToJSONTyped(value?: LeadEnrichmentRequest | null, ignoreDiscriminator?: boolean): any;