/** * 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. */ import * as runtime from '../runtime'; import type { BatchEnrichLeadsBody, BatchEnrichLeadsResponse, CancelEnrichmentBody, CancelEnrichmentResponse, ClearEnrichmentBody, ClearEnrichmentResponse, ConfigureEnrichmentProviderBody, ConfigureEnrichmentProviderResponse, DeleteEnrichmentProviderResponse, EnrichLeadBody, EnrichLeadResponse, GetBatchEnrichmentStatusBody, GetBatchEnrichmentStatusResponse, GetEnrichmentHistoryResponse, GetEnrichmentStatsResponse, GetEnrichmentStatusResponse, ListEnrichmentProvidersResponse, SearchByTechnologyResponse } from '../models/index'; export interface BatchEnrichLeadsRequest { workspaceId: string; batchEnrichLeadsBody: BatchEnrichLeadsBody; } export interface CancelEnrichmentRequest { workspaceId: string; leadId: string; cancelEnrichmentBody: CancelEnrichmentBody; } export interface ClearEnrichmentRequest { workspaceId: string; leadId: string; clearEnrichmentBody: ClearEnrichmentBody; } export interface ConfigureEnrichmentProviderRequest { workspaceId: string; configureEnrichmentProviderBody: ConfigureEnrichmentProviderBody; } export interface DeleteEnrichmentProviderRequest { workspaceId: string; providerType: DeleteEnrichmentProviderProviderTypeEnum; organizationId: string; tenantId: string; accountId: string; } export interface EnrichLeadRequest { workspaceId: string; leadId: string; enrichLeadBody: EnrichLeadBody; } export interface GetBatchEnrichmentStatusRequest { workspaceId: string; getBatchEnrichmentStatusBody: GetBatchEnrichmentStatusBody; } export interface GetEnrichmentHistoryRequest { workspaceId: string; leadId: string; organizationId: string; tenantId: string; accountId: string; pageSize?: number; pageNumber?: number; } export interface GetEnrichmentStatsRequest { workspaceId: string; organizationId: string; tenantId: string; accountId: string; startDate?: Date; endDate?: Date; } export interface GetEnrichmentStatusRequest { workspaceId: string; leadId: string; organizationId: string; tenantId: string; accountId: string; requestId?: string; } export interface ListEnrichmentProvidersRequest { workspaceId: string; organizationId: string; tenantId: string; accountId: string; includeDisabled?: boolean; } export interface SearchByTechnologyRequest { workspaceId: string; organizationId: string; tenantId: string; accountId: string; technologyName?: string; page?: number; pageSize?: number; } /** * */ export declare class LeadEnrichmentApi extends runtime.BaseAPI { /** * Queues multiple leads for AI-powered enrichment * Batch enrich multiple leads */ batchEnrichLeadsRaw(requestParameters: BatchEnrichLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Queues multiple leads for AI-powered enrichment * Batch enrich multiple leads */ batchEnrichLeads(requestParameters: BatchEnrichLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Cancels a pending or processing enrichment request * Cancel enrichment */ cancelEnrichmentRaw(requestParameters: CancelEnrichmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Cancels a pending or processing enrichment request * Cancel enrichment */ cancelEnrichment(requestParameters: CancelEnrichmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Removes all enrichment data from a lead * Clear enrichment data */ clearEnrichmentRaw(requestParameters: ClearEnrichmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Removes all enrichment data from a lead * Clear enrichment data */ clearEnrichment(requestParameters: ClearEnrichmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates or updates a provider configuration for enrichment * Configure enrichment provider */ configureEnrichmentProviderRaw(requestParameters: ConfigureEnrichmentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates or updates a provider configuration for enrichment * Configure enrichment provider */ configureEnrichmentProvider(requestParameters: ConfigureEnrichmentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Deletes an enrichment provider configuration * Delete enrichment provider */ deleteEnrichmentProviderRaw(requestParameters: DeleteEnrichmentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deletes an enrichment provider configuration * Delete enrichment provider */ deleteEnrichmentProvider(requestParameters: DeleteEnrichmentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Queues a lead for AI-powered enrichment using Gemini * Enrich a lead using AI */ enrichLeadRaw(requestParameters: EnrichLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Queues a lead for AI-powered enrichment using Gemini * Enrich a lead using AI */ enrichLead(requestParameters: EnrichLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns aggregated status for a batch of enrichment requests * Get batch enrichment status */ getBatchEnrichmentStatusRaw(requestParameters: GetBatchEnrichmentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns aggregated status for a batch of enrichment requests * Get batch enrichment status */ getBatchEnrichmentStatus(requestParameters: GetBatchEnrichmentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns the enrichment history for a lead * Get enrichment history */ getEnrichmentHistoryRaw(requestParameters: GetEnrichmentHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the enrichment history for a lead * Get enrichment history */ getEnrichmentHistory(requestParameters: GetEnrichmentHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns enrichment usage statistics * Get enrichment stats */ getEnrichmentStatsRaw(requestParameters: GetEnrichmentStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns enrichment usage statistics * Get enrichment stats */ getEnrichmentStats(requestParameters: GetEnrichmentStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns the current status of an enrichment request * Get enrichment status */ getEnrichmentStatusRaw(requestParameters: GetEnrichmentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the current status of an enrichment request * Get enrichment status */ getEnrichmentStatus(requestParameters: GetEnrichmentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Lists enrichment providers for a workspace * List enrichment providers */ listEnrichmentProvidersRaw(requestParameters: ListEnrichmentProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Lists enrichment providers for a workspace * List enrichment providers */ listEnrichmentProviders(requestParameters: ListEnrichmentProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Search leads by detected technology stack * Search leads by technology */ searchByTechnologyRaw(requestParameters: SearchByTechnologyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Search leads by detected technology stack * Search leads by technology */ searchByTechnology(requestParameters: SearchByTechnologyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const DeleteEnrichmentProviderProviderTypeEnum: { readonly EnrichmentProviderTypeUnspecified: "ENRICHMENT_PROVIDER_TYPE_UNSPECIFIED"; readonly EnrichmentProviderTypeClearbit: "ENRICHMENT_PROVIDER_TYPE_CLEARBIT"; readonly EnrichmentProviderTypeBuiltwith: "ENRICHMENT_PROVIDER_TYPE_BUILTWITH"; readonly EnrichmentProviderTypeApollo: "ENRICHMENT_PROVIDER_TYPE_APOLLO"; readonly EnrichmentProviderTypeCrunchbase: "ENRICHMENT_PROVIDER_TYPE_CRUNCHBASE"; readonly EnrichmentProviderTypeHunter: "ENRICHMENT_PROVIDER_TYPE_HUNTER"; }; export type DeleteEnrichmentProviderProviderTypeEnum = typeof DeleteEnrichmentProviderProviderTypeEnum[keyof typeof DeleteEnrichmentProviderProviderTypeEnum];