Versions in this module Expand all Collapse all v0 v0.2.1 Nov 11, 2026 v0.2.0 Oct 18, 2026 Changes in this version type Client + func (c *Client) SearchPersons(ctx context.Context, req PersonSearchRequest) (*PersonSearchResult, error) + type PersonSearchAddress struct + AddressHash string + AddressOrder *int + AddressQualityCodes []string + BldgCode string + City string + County string + DPC string + FirstReportedDate string + FullAddress string + HighRiskMarker PersonSearchHighRiskMarker + HouseNumber string + IsDeliverable *bool + IsMergedAddress *bool + IsPublic *bool + LastReportedDate string + Latitude string + Longitude string + NeighborSummaryRecords []json.RawMessage + Neighbors []json.RawMessage + PhoneNumbers []string + PropertyIndicator string + PublicFirstSeenDate string + SourceSummary json.RawMessage + State string + StreetName string + StreetPostDirection string + StreetPreDirection string + StreetType string + TotalFirstSeenDate string + Unit string + UnitCount *int + UnitType string + UtilityCode string + Zip string + Zip4 string + type PersonSearchAssociate struct + DOB string + FirstName string + LastName string + MiddleName string + Prefix string + Score *int + Suffix string + TahoeID string + type PersonSearchCounts struct + Addresses *int + Associates *int + BusinessRecords *int + DatesOfBirth *int + DatesOfDeath *int + DeathRecords *int + DebtRecords *int + EmailAddresses *int + EvictionRecords *int + ExpectedCount *int + ForeclosureRecords *int + ForeclosureV2Records *int + Names *int + PhoneNumbers *int + ProfessionalLicenseRecords *int + Relatives *int + SearchResults *int + SearchResultsOverflow *bool + SocialSecurityNumbers *int + type PersonSearchDateOfBirth struct + Age *int + SourceSummary json.RawMessage + type PersonSearchDeathRecord struct + IsDeceased *bool + SourceSummary json.RawMessage + type PersonSearchEmail struct + EmailAddress string + EmailEngagement PersonSearchEmailEngagement + EmailOrdinal *int + IsPremium *bool + NonBusiness *int + SourceSummary json.RawMessage + type PersonSearchEmailEngagement struct + BestDayOfTheWeek string + BestTimeOfTheDay string + EngagementScore *int + Frequency string + IsBounce *bool + IsGoodDomain *bool + IsMatched *bool + LastCheckDate string + LastTouchDate string + NAICS []string + SendTime *int + type PersonSearchFilter string + const PersonSearchFilterDisableFirstNameSynonymMatching + const PersonSearchFilterDisableNoDobs + const PersonSearchFilterDisableSmartSearch + const PersonSearchFilterEnableExactFirstNameMatch + const PersonSearchFilterEnableExactLastNameMatch + const PersonSearchFilterEnableRemoveSingleCharNames + const PersonSearchFilterIncludeEmptyFirstNameResults + const PersonSearchFilterIncludeLatestRecordsOnly + const PersonSearchFilterIncludeLowQualityAddresses + const PersonSearchFilterIncludeSevenDigitPhoneNumbers + type PersonSearchHighRiskMarker struct + AddressType string + IsHighRisk *bool + SIC string + type PersonSearchInclude string + const PersonSearchIncludeAddresses + const PersonSearchIncludeAssociates + const PersonSearchIncludeDatesOfBirth + const PersonSearchIncludeEmailAddresses + const PersonSearchIncludePhoneNumbers + const PersonSearchIncludeRelatives + const PersonSearchIncludeRelativesSummary + type PersonSearchIndicators struct + HasBankruptcyRecords *int + HasBusinessRecords *int + HasDEARecords *int + HasDebtRecords *int + HasDivorceRecords *int + HasDomainsRecords *int + HasEvictionsRecords *int + HasFEINRecords *int + HasForeclosuresRecords *int + HasForeclosuresV2Records *int + HasJudgmentRecords *int + HasLienRecords *int + HasMarriageRecords *int + HasProfessionalLicenseRecords *int + HasPropertyRecords *int + HasPropertyV2Records *int + HasUCCRecords *int + HasVehicleRegistrationsRecords *int + HasWorkplaceRecords *int + type PersonSearchLocation struct + City string + State string + type PersonSearchMode string + const PersonSearchModePerson + const PersonSearchModeReversePhonePerson + const PersonSearchModeReversePhonePersonTeaser + const PersonSearchModeTeaser + type PersonSearchName struct + FirstName string + LastName string + MiddleName string + Prefix string + PublicFirstSeenDate string + RawNames []string + SourceSummary json.RawMessage + Suffix string + TotalFirstSeenDate string + type PersonSearchPagination struct + CurrentPageNumber *int + ResultsPerPage *int + TotalPages *int + TotalResults *int + type PersonSearchPerson struct + AKAs []PersonSearchName + Addresses []PersonSearchAddress + Age *int + Associates []PersonSearchPerson + AssociatesSummary []PersonSearchAssociate + DOB string + DOD string + DatesOfBirth []PersonSearchDateOfBirth + DatesOfDeath []json.RawMessage + DeathRecords PersonSearchDeathRecord + EmailAddresses []PersonSearchEmail + EnterpriseOptOutDate string + Extra map[string]json.RawMessage + FullName string + HasAdditionalData *bool + Indicators PersonSearchIndicators + IsCurrentPropertyOwner string + IsEnterpriseOptedOut *bool + IsOptedOut *bool + IsPremium *bool + IsPublic *bool + Locations []PersonSearchLocation + MergedNames []PersonSearchName + Name PersonSearchName + OptOutDate string + PhoneNumbers []PersonSearchPhone + RelativesSummary []PersonSearchRelative + SparseFlag *int + TahoeID string + type PersonSearchPhone struct + Company string + FirstReportedDate string + IsConnected *bool + IsPublic *bool + LastReportedDate string + Latitude string + Location string + Longitude string + PhoneNumber string + PhoneOrder *int + PhoneType string + PublicFirstSeenDate string + SourceSummary json.RawMessage + TotalFirstSeenDate string + type PersonSearchRelative struct + City string + DOB string + FirstName string + IsDeceased *bool + IsOptedOut *bool + IsPrivate *bool + LastName string + MiddleName string + Prefix string + RelativeLevel string + RelativeType string + Score *int + SharedHouseholdIDs []string + Spouse *int + State string + Suffix string + TahoeID string + type PersonSearchRequest struct + AKAs []PersonSearchRequestName + Addresses []PersonSearchRequestAddress + Age int + AgeRange string + AgeRangeMaxAge int + AgeRangeMinAge int + ClientIP string + DOB string + DOBFormat string + Email string + FilterOptions []PersonSearchFilter + FirstName string + FirstNameCharOffset *int + Includes []PersonSearchInclude + LastName string + LastNameCharOffset *int + MaxAddressYears *int + MaxPhoneYears *int + MiddleName string + Mode PersonSearchMode + Page int + Phone string + Relatives []PersonSearchRequestName + ResultsPerPage int + SessionID string + TahoeIDs []string + type PersonSearchRequestAddress struct + AddressLine1 string + AddressLine2 string + County string + type PersonSearchRequestName struct + FirstName string + LastName string + MiddleName string + type PersonSearchResult struct + Counts PersonSearchCounts + CriteriaType json.RawMessage + Diagnostics ProviderDiagnostics + Pagination PersonSearchPagination + Persons []PersonSearchPerson + RequestID string + SmartSearchStatistics json.RawMessage v0.1.0 Oct 15, 2026 Changes in this version + var ErrInvalidConfig = errors.New("enformion: invalid configuration") + var ErrInvalidRequest = errors.New("enformion: invalid request") + var ErrMalformedResponse = errors.New("enformion: malformed response") + var ErrRateLimited = errors.New("enformion: rate limited") + var ErrRejected = errors.New("enformion: rejected by provider") + var ErrResponseTooLarge = errors.New("enformion: response too large") + var ErrTimeout = errors.New("enformion: timeout") + var ErrTransport = errors.New("enformion: transport failure") + var ErrUnauthorized = errors.New("enformion: unauthorized") + var ErrUnexpectedResponse = errors.New("enformion: unexpected response") + var ErrUpstream = errors.New("enformion: provider server error") + type Address struct + City string + FirstReportedDate string + LastReportedDate string + State string + Street string + Unit string + Zip string + type CallError struct + Field string + Kind FailureKind + RequestID string + StatusCode int + func (e *CallError) Diagnostics() ProviderDiagnostics + func (e *CallError) Error() string + func (e *CallError) GoString() string + func (e *CallError) Is(target error) bool + func (e *CallError) Unwrap() error + type Client struct + func NewClient(keyName, keyPassword string, opts ...Option) (*Client, error) + func (c *Client) EnrichContact(ctx context.Context, req EnrichContactRequest) (*EnrichContactResult, error) + type Email struct + Address string + IsBusiness *bool + IsValidated *bool + type EnrichContactRequest struct + AddressLine1 string + AddressLine2 string + Age int + DOB string + Email string + FirstName string + LastName string + MiddleName string + Phone string + SessionID string + type EnrichContactResult struct + Diagnostics ProviderDiagnostics + IdentityScore *int + Person *Person + RequestID string + type FailureKind string + const FailureCanceled + const FailureDeadlineExceeded + const FailureMalformedResponse + const FailureRateLimited + const FailureRejected + const FailureResponseTooLarge + const FailureTimeout + const FailureTransport + const FailureUnauthorized + const FailureUnexpectedResponse + const FailureUpstream + type Name struct + FirstName string + LastName string + MiddleName string + type Option func(*options) + func WithHTTPClient(hc *http.Client) Option + func WithMaxResponseBytes(n int64) Option + func WithProviderDiagnostics() Option + func WithTestBaseURL(rawURL string) Option + func WithTimeout(d time.Duration) Option + type Person struct + Addresses []Address + Age string + Emails []Email + Name Name + PartialDOB string + PersonID string + Phones []Phone + type Phone struct + FirstReportedDate string + IsConnected *bool + LastReportedDate string + Number string + Type string + type ProviderDiagnostics struct + InputErrors []json.RawMessage + Message string + Warnings []json.RawMessage + type ValidationError struct + Err error + Field string + Reason string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error