import { BaseResponse } from './api-types.js'; import type { CompanySize, IndustryType, InferredRevenue, JobTitleClass, JobTitleLevel, JobTitleRole, JobTitleSubRole } from './canonical-types.js'; export interface IPParams { ip: string; min_confidence?: 'very high' | 'high' | 'moderate' | 'low' | 'very low'; pretty?: boolean; return_if_unmatched?: boolean; return_ip_location?: boolean; return_ip_metadata?: boolean; return_person?: boolean; titlecase?: boolean; } export interface IPResponse extends BaseResponse { data?: { company?: { confidence?: 'very high' | 'high' | 'moderate' | 'low' | 'very low'; display_name?: string | null; employee_count?: number | null; id?: string | null; industry?: IndustryType | null; inferred_revenue?: InferredRevenue | null; location?: { address_line_2?: string | null; continent?: string | null; country?: string | null; geo?: string | null; locality?: string | null; metro?: string | null; name?: string | null; postal_code?: string | null; region?: string | null; street_address?: string; } | null; name?: string | null; size?: CompanySize | null; tags?: Array | null; website?: string | null; } | null; dataset_version?: string | null; ip?: { address?: string | null; location?: { continent?: string | null; country?: string | null; geo?: string | null; locality?: string | null; metro?: string | null; name?: string | null; postal_code?: string | null; region?: string | null; timezone?: string | null; } | null; metadata?: { asn_domain?: string | null; hosting?: boolean | null; mobile?: boolean | null; proxy?: boolean | null; relay?: boolean | null; service?: string | null; tor?: boolean | null; version?: 4 | 6 | null; vpn?: boolean | null; }; } | null; person?: { confidence?: 'very high' | 'high' | 'moderate' | 'low' | 'very low'; job_title_class?: JobTitleClass | null; job_title_levels?: Array | null; job_title_role?: JobTitleRole | null; job_title_sub_role?: JobTitleSubRole | null; } | null; } | null; } //# sourceMappingURL=ip-types.d.ts.map