lumnisai 0.5.25 → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1177,6 +1177,10 @@ class EnrichmentResource {
1177
1177
  * @param params.onlyVerifiedEmail - Only return verified emails (default: true)
1178
1178
  * @param params.enrichMobile - Include mobile enrichment, 10x cost (default: false)
1179
1179
  * @param params.onlyVerifiedMobile - Only return verified mobiles (default: false)
1180
+ * @param params.deepWebFallback - For vendor-misses, discover contacts from the
1181
+ * organization's official public web pages. Findings come back in
1182
+ * `result.deepWebFindings` with source URLs + confidence tiers and never
1183
+ * overwrite `person.email`. Pass false to disable (default: true)
1180
1184
  * @returns Promise resolving to enrichment results
1181
1185
  *
1182
1186
  * @example
@@ -3550,6 +3554,10 @@ class ResponsesResource {
3550
3554
  * @param options.excludePreviouslyContacted - Exclude previously contacted people
3551
3555
  * @param options.excludeNames - Names to exclude from results
3552
3556
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
3557
+ * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
3558
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
3559
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
3560
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
3553
3561
  * @returns Response with structured_response containing:
3554
3562
  * - candidates: Validated and scored candidates
3555
3563
  * - criteria: Generated/reused criteria definitions and classification
@@ -3560,8 +3568,11 @@ class ResponsesResource {
3560
3568
  messages: [{ role: "user", content: query }],
3561
3569
  specializedAgent: "deep_people_search"
3562
3570
  };
3571
+ const params = {
3572
+ deepValidationUseRelevanceReranker: options?.deepValidationUseRelevanceReranker ?? true,
3573
+ deepValidationBackfillBelowCriteria: options?.deepValidationBackfillBelowCriteria ?? true
3574
+ };
3563
3575
  if (options) {
3564
- const params = {};
3565
3576
  if (options.requestedCandidates !== void 0)
3566
3577
  params.requestedCandidates = options.requestedCandidates;
3567
3578
  if (options.dataSources)
@@ -3612,9 +3623,12 @@ class ResponsesResource {
3612
3623
  params.postsExtractAuthor = options.postsExtractAuthor;
3613
3624
  if (options.searchJobSignal !== void 0)
3614
3625
  params.searchJobSignal = options.searchJobSignal;
3615
- if (Object.keys(params).length > 0)
3616
- request.specializedAgentParams = params;
3626
+ if (options.deepVerify !== void 0)
3627
+ params.deepVerify = options.deepVerify;
3628
+ if (options.deepSearchCriteriaModel)
3629
+ params.deepSearchCriteriaModel = options.deepSearchCriteriaModel;
3617
3630
  }
3631
+ request.specializedAgentParams = params;
3618
3632
  return this.create(request);
3619
3633
  }
3620
3634
  /**
@@ -3631,6 +3645,9 @@ class ResponsesResource {
3631
3645
  * Can be a string (criterion text) or an object with criterionText and optional suggestedColumnName.
3632
3646
  * Example string: 'Must have 5+ years Python experience'
3633
3647
  * Example object: { criterionText: 'Has ML experience', suggestedColumnName: 'ml_experience' }
3648
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
3649
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
3650
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
3634
3651
  * @returns Response with structured_response containing:
3635
3652
  * - candidates: Scored candidates with validation results
3636
3653
  * - criteria: Generated/reused criteria definitions and classification
@@ -3640,7 +3657,9 @@ class ResponsesResource {
3640
3657
  messages: [{ role: "user", content: query }],
3641
3658
  specializedAgent: "people_scoring",
3642
3659
  specializedAgentParams: {
3643
- candidateProfiles
3660
+ candidateProfiles,
3661
+ deepValidationUseRelevanceReranker: options?.deepValidationUseRelevanceReranker ?? true,
3662
+ deepValidationBackfillBelowCriteria: options?.deepValidationBackfillBelowCriteria ?? true
3644
3663
  }
3645
3664
  };
3646
3665
  if (options) {
@@ -3656,6 +3675,8 @@ class ResponsesResource {
3656
3675
  request.specializedAgentParams.addCriterion = options.addCriterion;
3657
3676
  if (options.addAndRunCriterion)
3658
3677
  request.specializedAgentParams.addAndRunCriterion = options.addAndRunCriterion;
3678
+ if (options.deepSearchCriteriaModel)
3679
+ request.specializedAgentParams.deepSearchCriteriaModel = options.deepSearchCriteriaModel;
3659
3680
  }
3660
3681
  return this.create(request);
3661
3682
  }
@@ -3689,7 +3710,9 @@ class ResponsesResource {
3689
3710
  messages: [{ role: "user", content: query }],
3690
3711
  specializedAgent: "competitor_post_engagement"
3691
3712
  };
3692
- const params = {};
3713
+ const params = {
3714
+ deepValidationUseRelevanceReranker: options.deepValidationUseRelevanceReranker ?? true
3715
+ };
3693
3716
  if (options.company)
3694
3717
  params.company = options.company;
3695
3718
  if (options.competitors)
@@ -3755,7 +3778,9 @@ class ResponsesResource {
3755
3778
  messages: [{ role: "user", content: query }],
3756
3779
  specializedAgent: "competitor_rep_engagement"
3757
3780
  };
3758
- const params = {};
3781
+ const params = {
3782
+ deepValidationUseRelevanceReranker: options.deepValidationUseRelevanceReranker ?? true
3783
+ };
3759
3784
  if (options.company)
3760
3785
  params.company = options.company;
3761
3786
  if (options.competitors)
package/dist/index.d.cts CHANGED
@@ -1342,12 +1342,20 @@ interface ModelOverrides {
1342
1342
  [key: string]: string;
1343
1343
  }
1344
1344
  type CriterionType = 'universal' | 'varying' | 'validation_only';
1345
+ /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
1346
+ type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
1345
1347
  interface CriterionDefinition {
1346
1348
  criterionId: string;
1347
1349
  columnName: string;
1348
1350
  criterionText: string;
1349
1351
  criterionType: CriterionType;
1350
1352
  weight: number;
1353
+ /** Set by the web-need classifier when deep verification runs (response output). */
1354
+ requiresWebVerification?: boolean;
1355
+ /** Whose fact must be verified: person, organization, or location (response output). */
1356
+ verificationEntity?: 'person' | 'organization' | 'location';
1357
+ /** Positive fact question used for web verification (response output). */
1358
+ verificationQuestion?: string;
1351
1359
  }
1352
1360
  interface CriteriaClassification {
1353
1361
  universalCriteria: CriterionDefinition[];
@@ -1498,9 +1506,15 @@ interface ValidatedCandidate {
1498
1506
  name: string;
1499
1507
  /** LinkedIn profile URL */
1500
1508
  linkedinUrl?: string;
1501
- /** Current job title */
1509
+ /**
1510
+ * Current job title. When the reranker runs, may reflect the resolved primary
1511
+ * operating role (`primaryTitle`); see `enrichedCurrentTitle` for the pre-rerank value.
1512
+ */
1502
1513
  currentTitle?: string;
1503
- /** Current company */
1514
+ /**
1515
+ * Current company. When the reranker runs, may reflect the resolved primary
1516
+ * employer (`primaryCompany`); see `enrichedCurrentCompany` for the pre-rerank value.
1517
+ */
1504
1518
  currentCompany?: string;
1505
1519
  /** Location */
1506
1520
  location?: string;
@@ -1535,6 +1549,40 @@ interface ValidatedCandidate {
1535
1549
  * competitor_rep_engagement.
1536
1550
  */
1537
1551
  intentSignals?: IntentSignal[];
1552
+ /**
1553
+ * Holistic relevance score (0-100) from the SLM reranker (on by default).
1554
+ * Ranking-only: absent only when `deepValidationUseRelevanceReranker` was false;
1555
+ * does not change `overallScore` or routing.
1556
+ */
1557
+ relevanceScore?: number;
1558
+ /** Coarse match tier paired with `relevanceScore`. */
1559
+ relevanceTier?: RelevanceTier;
1560
+ /** One-line reranker justification grounded in candidate data. */
1561
+ relevanceReason?: string;
1562
+ /**
1563
+ * Primary current operating role from the reranker (main full-time job, not side/advisory).
1564
+ * Also written to `currentTitle` when present.
1565
+ */
1566
+ primaryTitle?: string;
1567
+ /**
1568
+ * Employer of the primary current role. Also written to `currentCompany` when present.
1569
+ */
1570
+ primaryCompany?: string;
1571
+ /** Pre-rerank `currentTitle` preserved when the reranker overwrites display fields. */
1572
+ enrichedCurrentTitle?: string;
1573
+ /** Pre-rerank `currentCompany` preserved when the reranker overwrites display fields. */
1574
+ enrichedCurrentCompany?: string;
1575
+ /**
1576
+ * True when the candidate failed at least one universal or post_hard (must-have) criterion.
1577
+ * Demoted candidates (`anyUniversalFailed` or `backfilled`) sort after passing ones regardless
1578
+ * of relevance score.
1579
+ */
1580
+ anyUniversalFailed?: boolean;
1581
+ /**
1582
+ * True when promoted from excluded to meet the requested count despite failing hard
1583
+ * criteria. Such candidates sort after passing ones; use to segregate or badge them.
1584
+ */
1585
+ backfilled?: boolean;
1538
1586
  /**
1539
1587
  * LinkedIn posts this candidate engaged with (reacted or commented).
1540
1588
  * One entry per post — if someone engaged with multiple competitor posts,
@@ -1826,6 +1874,39 @@ interface SpecializedAgentParams {
1826
1874
  * Used by deep_people_search when includeEngagementInScore is true.
1827
1875
  */
1828
1876
  engagementScoreWeight?: number;
1877
+ /**
1878
+ * Web verification of criteria a LinkedIn profile cannot establish (customer/vendor
1879
+ * status, agency type, city stats, grants, etc.).
1880
+ * - 'auto' (default): classifier forces only web-only criteria to real web verification
1881
+ * - 'always': force every non-profile criterion to web verification
1882
+ * - 'off': legacy behavior (may clear web-only criteria from profile data alone)
1883
+ * Used by deep_people_search.
1884
+ */
1885
+ deepVerify?: 'off' | 'auto' | 'always';
1886
+ /**
1887
+ * If true, re-rank surfaced results with a cheap SLM relevance judge (holistic fit
1888
+ * to the request). Ranking-only: never changes routing/inclusion; `overallScore` and
1889
+ * `intentScore` are untouched. Adds `relevanceScore` / `relevanceTier` per candidate.
1890
+ * @default true
1891
+ * Used by deep_people_search, people_scoring, competitor_post_engagement, and
1892
+ * competitor_rep_engagement.
1893
+ */
1894
+ deepValidationUseRelevanceReranker?: boolean;
1895
+ /**
1896
+ * When fewer candidates pass hard criteria than requested, pad the result list by
1897
+ * promoting top-scoring excluded candidates (tagged `backfilled=true`). Set false for
1898
+ * quality-over-count (return only passing candidates, even if fewer than requested).
1899
+ * @default true
1900
+ * Used by deep_people_search and people_scoring.
1901
+ */
1902
+ deepValidationBackfillBelowCriteria?: boolean;
1903
+ /**
1904
+ * Override the model used for criteria decomposition (e.g. 'openai:gpt-5.4').
1905
+ * Defaults to the configured deep-search model. Only changes the criteria generator,
1906
+ * not fast_filter/validation.
1907
+ * Used by deep_people_search and people_scoring.
1908
+ */
1909
+ deepSearchCriteriaModel?: string;
1829
1910
  /**
1830
1911
  * Whether to extract post authors as candidates from posts search.
1831
1912
  * When true with directPostsExtractReactors=false and directPostsExtractCommenters=false,
@@ -3542,6 +3623,53 @@ interface ContactEnrichRequest {
3542
3623
  enrichMobile?: boolean;
3543
3624
  /** Only return/charge for records with verified mobile (default: false) */
3544
3625
  onlyVerifiedMobile?: boolean;
3626
+ /**
3627
+ * "Extra deep search", ON by default. Any prospect the data vendors leave
3628
+ * without an acceptable WORK email is looked up on the organization's own
3629
+ * official web pages (team/people directories, profiles, org charts). For
3630
+ * LinkedIn-URL inputs the person's name + organization are resolved from the
3631
+ * profile first. Results come back in `deepWebFindings` on that person's
3632
+ * result - each with a source URL and a confidence tier - and NEVER overwrite
3633
+ * the vendor `person.email`. Pass false to disable (it spends search + scrape
3634
+ * + LLM + verification credits and adds latency). (default: true)
3635
+ */
3636
+ deepWebFallback?: boolean;
3637
+ }
3638
+ /**
3639
+ * One contact found on the public web (deep-web fallback).
3640
+ *
3641
+ * Verification is a returned property, not a filter: findings carry their
3642
+ * evidence (`sourceUrl`), how they were obtained (`derivation`), and a
3643
+ * `confidence` tier so the caller decides what to trust. A `pattern_derived`
3644
+ * value is an inference, never a vendor-grade match.
3645
+ */
3646
+ interface ContactFinding {
3647
+ channel: 'email' | 'phone';
3648
+ value: string;
3649
+ /** Official page the value came from */
3650
+ sourceUrl: string;
3651
+ /** directory|profile|org_chart|listing|press_release|other */
3652
+ sourceType: string;
3653
+ derivation: 'found_directly' | 'pattern_derived';
3654
+ /**
3655
+ * For email: the ZeroBounce status (valid/invalid/catch-all/unknown/
3656
+ * unverified). For phone: direct|main_line.
3657
+ */
3658
+ verification: string;
3659
+ /**
3660
+ * confirmed: page confirms this person currently holds the role.
3661
+ * contradicted: page names a DIFFERENT current holder (they moved).
3662
+ * unconfirmed: pages don't establish the current role (not a stale signal -
3663
+ * just unknown).
3664
+ */
3665
+ roleStatus: 'confirmed' | 'contradicted' | 'unconfirmed';
3666
+ /**
3667
+ * When roleStatus=contradicted, the person the official page names as the
3668
+ * CURRENT holder of the role (i.e. who replaced this prospect).
3669
+ */
3670
+ currentRoleHolder?: string | null;
3671
+ confidence: 'high' | 'medium' | 'low';
3672
+ notes?: string | null;
3545
3673
  }
3546
3674
  /** Result for one person */
3547
3675
  interface ContactEnrichPersonResult {
@@ -3553,6 +3681,13 @@ interface ContactEnrichPersonResult {
3553
3681
  errorCode?: string | null;
3554
3682
  person?: Record<string, any> | null;
3555
3683
  company?: Record<string, any> | null;
3684
+ /**
3685
+ * Present only when deepWebFallback was requested AND the vendors left this
3686
+ * person without an acceptable work email. Public-web findings with source
3687
+ * URLs + confidence tiers; not billed as vendor matches, never merged into
3688
+ * `person.email`.
3689
+ */
3690
+ deepWebFindings?: ContactFinding[] | null;
3556
3691
  }
3557
3692
  /** Response for bulk enrichment */
3558
3693
  interface ContactEnrichResponse {
@@ -3576,6 +3711,10 @@ declare class EnrichmentResource {
3576
3711
  * @param params.onlyVerifiedEmail - Only return verified emails (default: true)
3577
3712
  * @param params.enrichMobile - Include mobile enrichment, 10x cost (default: false)
3578
3713
  * @param params.onlyVerifiedMobile - Only return verified mobiles (default: false)
3714
+ * @param params.deepWebFallback - For vendor-misses, discover contacts from the
3715
+ * organization's official public web pages. Findings come back in
3716
+ * `result.deepWebFindings` with source URLs + confidence tiers and never
3717
+ * overwrite `person.email`. Pass false to disable (default: true)
3579
3718
  * @returns Promise resolving to enrichment results
3580
3719
  *
3581
3720
  * @example
@@ -5772,6 +5911,10 @@ declare class ResponsesResource {
5772
5911
  * @param options.excludePreviouslyContacted - Exclude previously contacted people
5773
5912
  * @param options.excludeNames - Names to exclude from results
5774
5913
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
5914
+ * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
5915
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5916
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5917
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5775
5918
  * @returns Response with structured_response containing:
5776
5919
  * - candidates: Validated and scored candidates
5777
5920
  * - criteria: Generated/reused criteria definitions and classification
@@ -5808,6 +5951,10 @@ declare class ResponsesResource {
5808
5951
  engagementScoreWeight?: number;
5809
5952
  postsExtractAuthor?: boolean;
5810
5953
  searchJobSignal?: boolean | 'auto';
5954
+ deepVerify?: 'off' | 'auto' | 'always';
5955
+ deepValidationUseRelevanceReranker?: boolean;
5956
+ deepValidationBackfillBelowCriteria?: boolean;
5957
+ deepSearchCriteriaModel?: string;
5811
5958
  }): Promise<CreateResponseResponse>;
5812
5959
  /**
5813
5960
  * Score provided candidates against AI-generated or provided criteria
@@ -5823,6 +5970,9 @@ declare class ResponsesResource {
5823
5970
  * Can be a string (criterion text) or an object with criterionText and optional suggestedColumnName.
5824
5971
  * Example string: 'Must have 5+ years Python experience'
5825
5972
  * Example object: { criterionText: 'Has ML experience', suggestedColumnName: 'ml_experience' }
5973
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5974
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5975
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5826
5976
  * @returns Response with structured_response containing:
5827
5977
  * - candidates: Scored candidates with validation results
5828
5978
  * - criteria: Generated/reused criteria definitions and classification
@@ -5839,6 +5989,9 @@ declare class ResponsesResource {
5839
5989
  weight?: number;
5840
5990
  };
5841
5991
  addAndRunCriterion?: string | AddAndRunCriterionRequest;
5992
+ deepValidationUseRelevanceReranker?: boolean;
5993
+ deepValidationBackfillBelowCriteria?: boolean;
5994
+ deepSearchCriteriaModel?: string;
5842
5995
  }): Promise<CreateResponseResponse>;
5843
5996
  /**
5844
5997
  * Score people who reacted to or commented on competitor LinkedIn posts.
@@ -5906,6 +6059,8 @@ declare class ResponsesResource {
5906
6059
  * Hard max 100 — above that Crustdata returns thin profiles.
5907
6060
  */
5908
6061
  maxCommentsPerPost?: number;
6062
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6063
+ deepValidationUseRelevanceReranker?: boolean;
5909
6064
  }): Promise<CreateResponseResponse>;
5910
6065
  /**
5911
6066
  * Find a competitor's sales reps and surface the AUTHORS of the LinkedIn posts
@@ -5988,6 +6143,8 @@ declare class ResponsesResource {
5988
6143
  * @default false
5989
6144
  */
5990
6145
  thoroughEnrichment?: boolean;
6146
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6147
+ deepValidationUseRelevanceReranker?: boolean;
5991
6148
  }): Promise<CreateResponseResponse>;
5992
6149
  }
5993
6150
 
@@ -7488,4 +7645,4 @@ declare class ProgressTracker {
7488
7645
  */
7489
7646
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
7490
7647
 
7491
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
7648
+ export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
package/dist/index.d.mts CHANGED
@@ -1342,12 +1342,20 @@ interface ModelOverrides {
1342
1342
  [key: string]: string;
1343
1343
  }
1344
1344
  type CriterionType = 'universal' | 'varying' | 'validation_only';
1345
+ /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
1346
+ type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
1345
1347
  interface CriterionDefinition {
1346
1348
  criterionId: string;
1347
1349
  columnName: string;
1348
1350
  criterionText: string;
1349
1351
  criterionType: CriterionType;
1350
1352
  weight: number;
1353
+ /** Set by the web-need classifier when deep verification runs (response output). */
1354
+ requiresWebVerification?: boolean;
1355
+ /** Whose fact must be verified: person, organization, or location (response output). */
1356
+ verificationEntity?: 'person' | 'organization' | 'location';
1357
+ /** Positive fact question used for web verification (response output). */
1358
+ verificationQuestion?: string;
1351
1359
  }
1352
1360
  interface CriteriaClassification {
1353
1361
  universalCriteria: CriterionDefinition[];
@@ -1498,9 +1506,15 @@ interface ValidatedCandidate {
1498
1506
  name: string;
1499
1507
  /** LinkedIn profile URL */
1500
1508
  linkedinUrl?: string;
1501
- /** Current job title */
1509
+ /**
1510
+ * Current job title. When the reranker runs, may reflect the resolved primary
1511
+ * operating role (`primaryTitle`); see `enrichedCurrentTitle` for the pre-rerank value.
1512
+ */
1502
1513
  currentTitle?: string;
1503
- /** Current company */
1514
+ /**
1515
+ * Current company. When the reranker runs, may reflect the resolved primary
1516
+ * employer (`primaryCompany`); see `enrichedCurrentCompany` for the pre-rerank value.
1517
+ */
1504
1518
  currentCompany?: string;
1505
1519
  /** Location */
1506
1520
  location?: string;
@@ -1535,6 +1549,40 @@ interface ValidatedCandidate {
1535
1549
  * competitor_rep_engagement.
1536
1550
  */
1537
1551
  intentSignals?: IntentSignal[];
1552
+ /**
1553
+ * Holistic relevance score (0-100) from the SLM reranker (on by default).
1554
+ * Ranking-only: absent only when `deepValidationUseRelevanceReranker` was false;
1555
+ * does not change `overallScore` or routing.
1556
+ */
1557
+ relevanceScore?: number;
1558
+ /** Coarse match tier paired with `relevanceScore`. */
1559
+ relevanceTier?: RelevanceTier;
1560
+ /** One-line reranker justification grounded in candidate data. */
1561
+ relevanceReason?: string;
1562
+ /**
1563
+ * Primary current operating role from the reranker (main full-time job, not side/advisory).
1564
+ * Also written to `currentTitle` when present.
1565
+ */
1566
+ primaryTitle?: string;
1567
+ /**
1568
+ * Employer of the primary current role. Also written to `currentCompany` when present.
1569
+ */
1570
+ primaryCompany?: string;
1571
+ /** Pre-rerank `currentTitle` preserved when the reranker overwrites display fields. */
1572
+ enrichedCurrentTitle?: string;
1573
+ /** Pre-rerank `currentCompany` preserved when the reranker overwrites display fields. */
1574
+ enrichedCurrentCompany?: string;
1575
+ /**
1576
+ * True when the candidate failed at least one universal or post_hard (must-have) criterion.
1577
+ * Demoted candidates (`anyUniversalFailed` or `backfilled`) sort after passing ones regardless
1578
+ * of relevance score.
1579
+ */
1580
+ anyUniversalFailed?: boolean;
1581
+ /**
1582
+ * True when promoted from excluded to meet the requested count despite failing hard
1583
+ * criteria. Such candidates sort after passing ones; use to segregate or badge them.
1584
+ */
1585
+ backfilled?: boolean;
1538
1586
  /**
1539
1587
  * LinkedIn posts this candidate engaged with (reacted or commented).
1540
1588
  * One entry per post — if someone engaged with multiple competitor posts,
@@ -1826,6 +1874,39 @@ interface SpecializedAgentParams {
1826
1874
  * Used by deep_people_search when includeEngagementInScore is true.
1827
1875
  */
1828
1876
  engagementScoreWeight?: number;
1877
+ /**
1878
+ * Web verification of criteria a LinkedIn profile cannot establish (customer/vendor
1879
+ * status, agency type, city stats, grants, etc.).
1880
+ * - 'auto' (default): classifier forces only web-only criteria to real web verification
1881
+ * - 'always': force every non-profile criterion to web verification
1882
+ * - 'off': legacy behavior (may clear web-only criteria from profile data alone)
1883
+ * Used by deep_people_search.
1884
+ */
1885
+ deepVerify?: 'off' | 'auto' | 'always';
1886
+ /**
1887
+ * If true, re-rank surfaced results with a cheap SLM relevance judge (holistic fit
1888
+ * to the request). Ranking-only: never changes routing/inclusion; `overallScore` and
1889
+ * `intentScore` are untouched. Adds `relevanceScore` / `relevanceTier` per candidate.
1890
+ * @default true
1891
+ * Used by deep_people_search, people_scoring, competitor_post_engagement, and
1892
+ * competitor_rep_engagement.
1893
+ */
1894
+ deepValidationUseRelevanceReranker?: boolean;
1895
+ /**
1896
+ * When fewer candidates pass hard criteria than requested, pad the result list by
1897
+ * promoting top-scoring excluded candidates (tagged `backfilled=true`). Set false for
1898
+ * quality-over-count (return only passing candidates, even if fewer than requested).
1899
+ * @default true
1900
+ * Used by deep_people_search and people_scoring.
1901
+ */
1902
+ deepValidationBackfillBelowCriteria?: boolean;
1903
+ /**
1904
+ * Override the model used for criteria decomposition (e.g. 'openai:gpt-5.4').
1905
+ * Defaults to the configured deep-search model. Only changes the criteria generator,
1906
+ * not fast_filter/validation.
1907
+ * Used by deep_people_search and people_scoring.
1908
+ */
1909
+ deepSearchCriteriaModel?: string;
1829
1910
  /**
1830
1911
  * Whether to extract post authors as candidates from posts search.
1831
1912
  * When true with directPostsExtractReactors=false and directPostsExtractCommenters=false,
@@ -3542,6 +3623,53 @@ interface ContactEnrichRequest {
3542
3623
  enrichMobile?: boolean;
3543
3624
  /** Only return/charge for records with verified mobile (default: false) */
3544
3625
  onlyVerifiedMobile?: boolean;
3626
+ /**
3627
+ * "Extra deep search", ON by default. Any prospect the data vendors leave
3628
+ * without an acceptable WORK email is looked up on the organization's own
3629
+ * official web pages (team/people directories, profiles, org charts). For
3630
+ * LinkedIn-URL inputs the person's name + organization are resolved from the
3631
+ * profile first. Results come back in `deepWebFindings` on that person's
3632
+ * result - each with a source URL and a confidence tier - and NEVER overwrite
3633
+ * the vendor `person.email`. Pass false to disable (it spends search + scrape
3634
+ * + LLM + verification credits and adds latency). (default: true)
3635
+ */
3636
+ deepWebFallback?: boolean;
3637
+ }
3638
+ /**
3639
+ * One contact found on the public web (deep-web fallback).
3640
+ *
3641
+ * Verification is a returned property, not a filter: findings carry their
3642
+ * evidence (`sourceUrl`), how they were obtained (`derivation`), and a
3643
+ * `confidence` tier so the caller decides what to trust. A `pattern_derived`
3644
+ * value is an inference, never a vendor-grade match.
3645
+ */
3646
+ interface ContactFinding {
3647
+ channel: 'email' | 'phone';
3648
+ value: string;
3649
+ /** Official page the value came from */
3650
+ sourceUrl: string;
3651
+ /** directory|profile|org_chart|listing|press_release|other */
3652
+ sourceType: string;
3653
+ derivation: 'found_directly' | 'pattern_derived';
3654
+ /**
3655
+ * For email: the ZeroBounce status (valid/invalid/catch-all/unknown/
3656
+ * unverified). For phone: direct|main_line.
3657
+ */
3658
+ verification: string;
3659
+ /**
3660
+ * confirmed: page confirms this person currently holds the role.
3661
+ * contradicted: page names a DIFFERENT current holder (they moved).
3662
+ * unconfirmed: pages don't establish the current role (not a stale signal -
3663
+ * just unknown).
3664
+ */
3665
+ roleStatus: 'confirmed' | 'contradicted' | 'unconfirmed';
3666
+ /**
3667
+ * When roleStatus=contradicted, the person the official page names as the
3668
+ * CURRENT holder of the role (i.e. who replaced this prospect).
3669
+ */
3670
+ currentRoleHolder?: string | null;
3671
+ confidence: 'high' | 'medium' | 'low';
3672
+ notes?: string | null;
3545
3673
  }
3546
3674
  /** Result for one person */
3547
3675
  interface ContactEnrichPersonResult {
@@ -3553,6 +3681,13 @@ interface ContactEnrichPersonResult {
3553
3681
  errorCode?: string | null;
3554
3682
  person?: Record<string, any> | null;
3555
3683
  company?: Record<string, any> | null;
3684
+ /**
3685
+ * Present only when deepWebFallback was requested AND the vendors left this
3686
+ * person without an acceptable work email. Public-web findings with source
3687
+ * URLs + confidence tiers; not billed as vendor matches, never merged into
3688
+ * `person.email`.
3689
+ */
3690
+ deepWebFindings?: ContactFinding[] | null;
3556
3691
  }
3557
3692
  /** Response for bulk enrichment */
3558
3693
  interface ContactEnrichResponse {
@@ -3576,6 +3711,10 @@ declare class EnrichmentResource {
3576
3711
  * @param params.onlyVerifiedEmail - Only return verified emails (default: true)
3577
3712
  * @param params.enrichMobile - Include mobile enrichment, 10x cost (default: false)
3578
3713
  * @param params.onlyVerifiedMobile - Only return verified mobiles (default: false)
3714
+ * @param params.deepWebFallback - For vendor-misses, discover contacts from the
3715
+ * organization's official public web pages. Findings come back in
3716
+ * `result.deepWebFindings` with source URLs + confidence tiers and never
3717
+ * overwrite `person.email`. Pass false to disable (default: true)
3579
3718
  * @returns Promise resolving to enrichment results
3580
3719
  *
3581
3720
  * @example
@@ -5772,6 +5911,10 @@ declare class ResponsesResource {
5772
5911
  * @param options.excludePreviouslyContacted - Exclude previously contacted people
5773
5912
  * @param options.excludeNames - Names to exclude from results
5774
5913
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
5914
+ * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
5915
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5916
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5917
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5775
5918
  * @returns Response with structured_response containing:
5776
5919
  * - candidates: Validated and scored candidates
5777
5920
  * - criteria: Generated/reused criteria definitions and classification
@@ -5808,6 +5951,10 @@ declare class ResponsesResource {
5808
5951
  engagementScoreWeight?: number;
5809
5952
  postsExtractAuthor?: boolean;
5810
5953
  searchJobSignal?: boolean | 'auto';
5954
+ deepVerify?: 'off' | 'auto' | 'always';
5955
+ deepValidationUseRelevanceReranker?: boolean;
5956
+ deepValidationBackfillBelowCriteria?: boolean;
5957
+ deepSearchCriteriaModel?: string;
5811
5958
  }): Promise<CreateResponseResponse>;
5812
5959
  /**
5813
5960
  * Score provided candidates against AI-generated or provided criteria
@@ -5823,6 +5970,9 @@ declare class ResponsesResource {
5823
5970
  * Can be a string (criterion text) or an object with criterionText and optional suggestedColumnName.
5824
5971
  * Example string: 'Must have 5+ years Python experience'
5825
5972
  * Example object: { criterionText: 'Has ML experience', suggestedColumnName: 'ml_experience' }
5973
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5974
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5975
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5826
5976
  * @returns Response with structured_response containing:
5827
5977
  * - candidates: Scored candidates with validation results
5828
5978
  * - criteria: Generated/reused criteria definitions and classification
@@ -5839,6 +5989,9 @@ declare class ResponsesResource {
5839
5989
  weight?: number;
5840
5990
  };
5841
5991
  addAndRunCriterion?: string | AddAndRunCriterionRequest;
5992
+ deepValidationUseRelevanceReranker?: boolean;
5993
+ deepValidationBackfillBelowCriteria?: boolean;
5994
+ deepSearchCriteriaModel?: string;
5842
5995
  }): Promise<CreateResponseResponse>;
5843
5996
  /**
5844
5997
  * Score people who reacted to or commented on competitor LinkedIn posts.
@@ -5906,6 +6059,8 @@ declare class ResponsesResource {
5906
6059
  * Hard max 100 — above that Crustdata returns thin profiles.
5907
6060
  */
5908
6061
  maxCommentsPerPost?: number;
6062
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6063
+ deepValidationUseRelevanceReranker?: boolean;
5909
6064
  }): Promise<CreateResponseResponse>;
5910
6065
  /**
5911
6066
  * Find a competitor's sales reps and surface the AUTHORS of the LinkedIn posts
@@ -5988,6 +6143,8 @@ declare class ResponsesResource {
5988
6143
  * @default false
5989
6144
  */
5990
6145
  thoroughEnrichment?: boolean;
6146
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6147
+ deepValidationUseRelevanceReranker?: boolean;
5991
6148
  }): Promise<CreateResponseResponse>;
5992
6149
  }
5993
6150
 
@@ -7488,4 +7645,4 @@ declare class ProgressTracker {
7488
7645
  */
7489
7646
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
7490
7647
 
7491
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
7648
+ export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
package/dist/index.d.ts CHANGED
@@ -1342,12 +1342,20 @@ interface ModelOverrides {
1342
1342
  [key: string]: string;
1343
1343
  }
1344
1344
  type CriterionType = 'universal' | 'varying' | 'validation_only';
1345
+ /** SLM relevance reranker tier (deep_people_search / people_scoring output). */
1346
+ type RelevanceTier = 'STRONG_MATCH' | 'PARTIAL_MATCH' | 'WEAK_MATCH';
1345
1347
  interface CriterionDefinition {
1346
1348
  criterionId: string;
1347
1349
  columnName: string;
1348
1350
  criterionText: string;
1349
1351
  criterionType: CriterionType;
1350
1352
  weight: number;
1353
+ /** Set by the web-need classifier when deep verification runs (response output). */
1354
+ requiresWebVerification?: boolean;
1355
+ /** Whose fact must be verified: person, organization, or location (response output). */
1356
+ verificationEntity?: 'person' | 'organization' | 'location';
1357
+ /** Positive fact question used for web verification (response output). */
1358
+ verificationQuestion?: string;
1351
1359
  }
1352
1360
  interface CriteriaClassification {
1353
1361
  universalCriteria: CriterionDefinition[];
@@ -1498,9 +1506,15 @@ interface ValidatedCandidate {
1498
1506
  name: string;
1499
1507
  /** LinkedIn profile URL */
1500
1508
  linkedinUrl?: string;
1501
- /** Current job title */
1509
+ /**
1510
+ * Current job title. When the reranker runs, may reflect the resolved primary
1511
+ * operating role (`primaryTitle`); see `enrichedCurrentTitle` for the pre-rerank value.
1512
+ */
1502
1513
  currentTitle?: string;
1503
- /** Current company */
1514
+ /**
1515
+ * Current company. When the reranker runs, may reflect the resolved primary
1516
+ * employer (`primaryCompany`); see `enrichedCurrentCompany` for the pre-rerank value.
1517
+ */
1504
1518
  currentCompany?: string;
1505
1519
  /** Location */
1506
1520
  location?: string;
@@ -1535,6 +1549,40 @@ interface ValidatedCandidate {
1535
1549
  * competitor_rep_engagement.
1536
1550
  */
1537
1551
  intentSignals?: IntentSignal[];
1552
+ /**
1553
+ * Holistic relevance score (0-100) from the SLM reranker (on by default).
1554
+ * Ranking-only: absent only when `deepValidationUseRelevanceReranker` was false;
1555
+ * does not change `overallScore` or routing.
1556
+ */
1557
+ relevanceScore?: number;
1558
+ /** Coarse match tier paired with `relevanceScore`. */
1559
+ relevanceTier?: RelevanceTier;
1560
+ /** One-line reranker justification grounded in candidate data. */
1561
+ relevanceReason?: string;
1562
+ /**
1563
+ * Primary current operating role from the reranker (main full-time job, not side/advisory).
1564
+ * Also written to `currentTitle` when present.
1565
+ */
1566
+ primaryTitle?: string;
1567
+ /**
1568
+ * Employer of the primary current role. Also written to `currentCompany` when present.
1569
+ */
1570
+ primaryCompany?: string;
1571
+ /** Pre-rerank `currentTitle` preserved when the reranker overwrites display fields. */
1572
+ enrichedCurrentTitle?: string;
1573
+ /** Pre-rerank `currentCompany` preserved when the reranker overwrites display fields. */
1574
+ enrichedCurrentCompany?: string;
1575
+ /**
1576
+ * True when the candidate failed at least one universal or post_hard (must-have) criterion.
1577
+ * Demoted candidates (`anyUniversalFailed` or `backfilled`) sort after passing ones regardless
1578
+ * of relevance score.
1579
+ */
1580
+ anyUniversalFailed?: boolean;
1581
+ /**
1582
+ * True when promoted from excluded to meet the requested count despite failing hard
1583
+ * criteria. Such candidates sort after passing ones; use to segregate or badge them.
1584
+ */
1585
+ backfilled?: boolean;
1538
1586
  /**
1539
1587
  * LinkedIn posts this candidate engaged with (reacted or commented).
1540
1588
  * One entry per post — if someone engaged with multiple competitor posts,
@@ -1826,6 +1874,39 @@ interface SpecializedAgentParams {
1826
1874
  * Used by deep_people_search when includeEngagementInScore is true.
1827
1875
  */
1828
1876
  engagementScoreWeight?: number;
1877
+ /**
1878
+ * Web verification of criteria a LinkedIn profile cannot establish (customer/vendor
1879
+ * status, agency type, city stats, grants, etc.).
1880
+ * - 'auto' (default): classifier forces only web-only criteria to real web verification
1881
+ * - 'always': force every non-profile criterion to web verification
1882
+ * - 'off': legacy behavior (may clear web-only criteria from profile data alone)
1883
+ * Used by deep_people_search.
1884
+ */
1885
+ deepVerify?: 'off' | 'auto' | 'always';
1886
+ /**
1887
+ * If true, re-rank surfaced results with a cheap SLM relevance judge (holistic fit
1888
+ * to the request). Ranking-only: never changes routing/inclusion; `overallScore` and
1889
+ * `intentScore` are untouched. Adds `relevanceScore` / `relevanceTier` per candidate.
1890
+ * @default true
1891
+ * Used by deep_people_search, people_scoring, competitor_post_engagement, and
1892
+ * competitor_rep_engagement.
1893
+ */
1894
+ deepValidationUseRelevanceReranker?: boolean;
1895
+ /**
1896
+ * When fewer candidates pass hard criteria than requested, pad the result list by
1897
+ * promoting top-scoring excluded candidates (tagged `backfilled=true`). Set false for
1898
+ * quality-over-count (return only passing candidates, even if fewer than requested).
1899
+ * @default true
1900
+ * Used by deep_people_search and people_scoring.
1901
+ */
1902
+ deepValidationBackfillBelowCriteria?: boolean;
1903
+ /**
1904
+ * Override the model used for criteria decomposition (e.g. 'openai:gpt-5.4').
1905
+ * Defaults to the configured deep-search model. Only changes the criteria generator,
1906
+ * not fast_filter/validation.
1907
+ * Used by deep_people_search and people_scoring.
1908
+ */
1909
+ deepSearchCriteriaModel?: string;
1829
1910
  /**
1830
1911
  * Whether to extract post authors as candidates from posts search.
1831
1912
  * When true with directPostsExtractReactors=false and directPostsExtractCommenters=false,
@@ -3542,6 +3623,53 @@ interface ContactEnrichRequest {
3542
3623
  enrichMobile?: boolean;
3543
3624
  /** Only return/charge for records with verified mobile (default: false) */
3544
3625
  onlyVerifiedMobile?: boolean;
3626
+ /**
3627
+ * "Extra deep search", ON by default. Any prospect the data vendors leave
3628
+ * without an acceptable WORK email is looked up on the organization's own
3629
+ * official web pages (team/people directories, profiles, org charts). For
3630
+ * LinkedIn-URL inputs the person's name + organization are resolved from the
3631
+ * profile first. Results come back in `deepWebFindings` on that person's
3632
+ * result - each with a source URL and a confidence tier - and NEVER overwrite
3633
+ * the vendor `person.email`. Pass false to disable (it spends search + scrape
3634
+ * + LLM + verification credits and adds latency). (default: true)
3635
+ */
3636
+ deepWebFallback?: boolean;
3637
+ }
3638
+ /**
3639
+ * One contact found on the public web (deep-web fallback).
3640
+ *
3641
+ * Verification is a returned property, not a filter: findings carry their
3642
+ * evidence (`sourceUrl`), how they were obtained (`derivation`), and a
3643
+ * `confidence` tier so the caller decides what to trust. A `pattern_derived`
3644
+ * value is an inference, never a vendor-grade match.
3645
+ */
3646
+ interface ContactFinding {
3647
+ channel: 'email' | 'phone';
3648
+ value: string;
3649
+ /** Official page the value came from */
3650
+ sourceUrl: string;
3651
+ /** directory|profile|org_chart|listing|press_release|other */
3652
+ sourceType: string;
3653
+ derivation: 'found_directly' | 'pattern_derived';
3654
+ /**
3655
+ * For email: the ZeroBounce status (valid/invalid/catch-all/unknown/
3656
+ * unverified). For phone: direct|main_line.
3657
+ */
3658
+ verification: string;
3659
+ /**
3660
+ * confirmed: page confirms this person currently holds the role.
3661
+ * contradicted: page names a DIFFERENT current holder (they moved).
3662
+ * unconfirmed: pages don't establish the current role (not a stale signal -
3663
+ * just unknown).
3664
+ */
3665
+ roleStatus: 'confirmed' | 'contradicted' | 'unconfirmed';
3666
+ /**
3667
+ * When roleStatus=contradicted, the person the official page names as the
3668
+ * CURRENT holder of the role (i.e. who replaced this prospect).
3669
+ */
3670
+ currentRoleHolder?: string | null;
3671
+ confidence: 'high' | 'medium' | 'low';
3672
+ notes?: string | null;
3545
3673
  }
3546
3674
  /** Result for one person */
3547
3675
  interface ContactEnrichPersonResult {
@@ -3553,6 +3681,13 @@ interface ContactEnrichPersonResult {
3553
3681
  errorCode?: string | null;
3554
3682
  person?: Record<string, any> | null;
3555
3683
  company?: Record<string, any> | null;
3684
+ /**
3685
+ * Present only when deepWebFallback was requested AND the vendors left this
3686
+ * person without an acceptable work email. Public-web findings with source
3687
+ * URLs + confidence tiers; not billed as vendor matches, never merged into
3688
+ * `person.email`.
3689
+ */
3690
+ deepWebFindings?: ContactFinding[] | null;
3556
3691
  }
3557
3692
  /** Response for bulk enrichment */
3558
3693
  interface ContactEnrichResponse {
@@ -3576,6 +3711,10 @@ declare class EnrichmentResource {
3576
3711
  * @param params.onlyVerifiedEmail - Only return verified emails (default: true)
3577
3712
  * @param params.enrichMobile - Include mobile enrichment, 10x cost (default: false)
3578
3713
  * @param params.onlyVerifiedMobile - Only return verified mobiles (default: false)
3714
+ * @param params.deepWebFallback - For vendor-misses, discover contacts from the
3715
+ * organization's official public web pages. Findings come back in
3716
+ * `result.deepWebFindings` with source URLs + confidence tiers and never
3717
+ * overwrite `person.email`. Pass false to disable (default: true)
3579
3718
  * @returns Promise resolving to enrichment results
3580
3719
  *
3581
3720
  * @example
@@ -5772,6 +5911,10 @@ declare class ResponsesResource {
5772
5911
  * @param options.excludePreviouslyContacted - Exclude previously contacted people
5773
5912
  * @param options.excludeNames - Names to exclude from results
5774
5913
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
5914
+ * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
5915
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5916
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5917
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5775
5918
  * @returns Response with structured_response containing:
5776
5919
  * - candidates: Validated and scored candidates
5777
5920
  * - criteria: Generated/reused criteria definitions and classification
@@ -5808,6 +5951,10 @@ declare class ResponsesResource {
5808
5951
  engagementScoreWeight?: number;
5809
5952
  postsExtractAuthor?: boolean;
5810
5953
  searchJobSignal?: boolean | 'auto';
5954
+ deepVerify?: 'off' | 'auto' | 'always';
5955
+ deepValidationUseRelevanceReranker?: boolean;
5956
+ deepValidationBackfillBelowCriteria?: boolean;
5957
+ deepSearchCriteriaModel?: string;
5811
5958
  }): Promise<CreateResponseResponse>;
5812
5959
  /**
5813
5960
  * Score provided candidates against AI-generated or provided criteria
@@ -5823,6 +5970,9 @@ declare class ResponsesResource {
5823
5970
  * Can be a string (criterion text) or an object with criterionText and optional suggestedColumnName.
5824
5971
  * Example string: 'Must have 5+ years Python experience'
5825
5972
  * Example object: { criterionText: 'Has ML experience', suggestedColumnName: 'ml_experience' }
5973
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
5974
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
5975
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
5826
5976
  * @returns Response with structured_response containing:
5827
5977
  * - candidates: Scored candidates with validation results
5828
5978
  * - criteria: Generated/reused criteria definitions and classification
@@ -5839,6 +5989,9 @@ declare class ResponsesResource {
5839
5989
  weight?: number;
5840
5990
  };
5841
5991
  addAndRunCriterion?: string | AddAndRunCriterionRequest;
5992
+ deepValidationUseRelevanceReranker?: boolean;
5993
+ deepValidationBackfillBelowCriteria?: boolean;
5994
+ deepSearchCriteriaModel?: string;
5842
5995
  }): Promise<CreateResponseResponse>;
5843
5996
  /**
5844
5997
  * Score people who reacted to or commented on competitor LinkedIn posts.
@@ -5906,6 +6059,8 @@ declare class ResponsesResource {
5906
6059
  * Hard max 100 — above that Crustdata returns thin profiles.
5907
6060
  */
5908
6061
  maxCommentsPerPost?: number;
6062
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6063
+ deepValidationUseRelevanceReranker?: boolean;
5909
6064
  }): Promise<CreateResponseResponse>;
5910
6065
  /**
5911
6066
  * Find a competitor's sales reps and surface the AUTHORS of the LinkedIn posts
@@ -5988,6 +6143,8 @@ declare class ResponsesResource {
5988
6143
  * @default false
5989
6144
  */
5990
6145
  thoroughEnrichment?: boolean;
6146
+ /** SLM relevance reranker for surfaced candidates (ranking-only); @default true */
6147
+ deepValidationUseRelevanceReranker?: boolean;
5991
6148
  }): Promise<CreateResponseResponse>;
5992
6149
  }
5993
6150
 
@@ -7488,4 +7645,4 @@ declare class ProgressTracker {
7488
7645
  */
7489
7646
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
7490
7647
 
7491
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
7648
+ export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
package/dist/index.mjs CHANGED
@@ -1171,6 +1171,10 @@ class EnrichmentResource {
1171
1171
  * @param params.onlyVerifiedEmail - Only return verified emails (default: true)
1172
1172
  * @param params.enrichMobile - Include mobile enrichment, 10x cost (default: false)
1173
1173
  * @param params.onlyVerifiedMobile - Only return verified mobiles (default: false)
1174
+ * @param params.deepWebFallback - For vendor-misses, discover contacts from the
1175
+ * organization's official public web pages. Findings come back in
1176
+ * `result.deepWebFindings` with source URLs + confidence tiers and never
1177
+ * overwrite `person.email`. Pass false to disable (default: true)
1174
1178
  * @returns Promise resolving to enrichment results
1175
1179
  *
1176
1180
  * @example
@@ -3544,6 +3548,10 @@ class ResponsesResource {
3544
3548
  * @param options.excludePreviouslyContacted - Exclude previously contacted people
3545
3549
  * @param options.excludeNames - Names to exclude from results
3546
3550
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
3551
+ * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
3552
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
3553
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
3554
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
3547
3555
  * @returns Response with structured_response containing:
3548
3556
  * - candidates: Validated and scored candidates
3549
3557
  * - criteria: Generated/reused criteria definitions and classification
@@ -3554,8 +3562,11 @@ class ResponsesResource {
3554
3562
  messages: [{ role: "user", content: query }],
3555
3563
  specializedAgent: "deep_people_search"
3556
3564
  };
3565
+ const params = {
3566
+ deepValidationUseRelevanceReranker: options?.deepValidationUseRelevanceReranker ?? true,
3567
+ deepValidationBackfillBelowCriteria: options?.deepValidationBackfillBelowCriteria ?? true
3568
+ };
3557
3569
  if (options) {
3558
- const params = {};
3559
3570
  if (options.requestedCandidates !== void 0)
3560
3571
  params.requestedCandidates = options.requestedCandidates;
3561
3572
  if (options.dataSources)
@@ -3606,9 +3617,12 @@ class ResponsesResource {
3606
3617
  params.postsExtractAuthor = options.postsExtractAuthor;
3607
3618
  if (options.searchJobSignal !== void 0)
3608
3619
  params.searchJobSignal = options.searchJobSignal;
3609
- if (Object.keys(params).length > 0)
3610
- request.specializedAgentParams = params;
3620
+ if (options.deepVerify !== void 0)
3621
+ params.deepVerify = options.deepVerify;
3622
+ if (options.deepSearchCriteriaModel)
3623
+ params.deepSearchCriteriaModel = options.deepSearchCriteriaModel;
3611
3624
  }
3625
+ request.specializedAgentParams = params;
3612
3626
  return this.create(request);
3613
3627
  }
3614
3628
  /**
@@ -3625,6 +3639,9 @@ class ResponsesResource {
3625
3639
  * Can be a string (criterion text) or an object with criterionText and optional suggestedColumnName.
3626
3640
  * Example string: 'Must have 5+ years Python experience'
3627
3641
  * Example object: { criterionText: 'Has ML experience', suggestedColumnName: 'ml_experience' }
3642
+ * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
3643
+ * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
3644
+ * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
3628
3645
  * @returns Response with structured_response containing:
3629
3646
  * - candidates: Scored candidates with validation results
3630
3647
  * - criteria: Generated/reused criteria definitions and classification
@@ -3634,7 +3651,9 @@ class ResponsesResource {
3634
3651
  messages: [{ role: "user", content: query }],
3635
3652
  specializedAgent: "people_scoring",
3636
3653
  specializedAgentParams: {
3637
- candidateProfiles
3654
+ candidateProfiles,
3655
+ deepValidationUseRelevanceReranker: options?.deepValidationUseRelevanceReranker ?? true,
3656
+ deepValidationBackfillBelowCriteria: options?.deepValidationBackfillBelowCriteria ?? true
3638
3657
  }
3639
3658
  };
3640
3659
  if (options) {
@@ -3650,6 +3669,8 @@ class ResponsesResource {
3650
3669
  request.specializedAgentParams.addCriterion = options.addCriterion;
3651
3670
  if (options.addAndRunCriterion)
3652
3671
  request.specializedAgentParams.addAndRunCriterion = options.addAndRunCriterion;
3672
+ if (options.deepSearchCriteriaModel)
3673
+ request.specializedAgentParams.deepSearchCriteriaModel = options.deepSearchCriteriaModel;
3653
3674
  }
3654
3675
  return this.create(request);
3655
3676
  }
@@ -3683,7 +3704,9 @@ class ResponsesResource {
3683
3704
  messages: [{ role: "user", content: query }],
3684
3705
  specializedAgent: "competitor_post_engagement"
3685
3706
  };
3686
- const params = {};
3707
+ const params = {
3708
+ deepValidationUseRelevanceReranker: options.deepValidationUseRelevanceReranker ?? true
3709
+ };
3687
3710
  if (options.company)
3688
3711
  params.company = options.company;
3689
3712
  if (options.competitors)
@@ -3749,7 +3772,9 @@ class ResponsesResource {
3749
3772
  messages: [{ role: "user", content: query }],
3750
3773
  specializedAgent: "competitor_rep_engagement"
3751
3774
  };
3752
- const params = {};
3775
+ const params = {
3776
+ deepValidationUseRelevanceReranker: options.deepValidationUseRelevanceReranker ?? true
3777
+ };
3753
3778
  if (options.company)
3754
3779
  params.company = options.company;
3755
3780
  if (options.competitors)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumnisai",
3
3
  "type": "module",
4
- "version": "0.5.25",
4
+ "version": "0.5.26",
5
5
  "description": "Official Node.js SDK for the Lumnis AI API",
6
6
  "author": "Lumnis AI",
7
7
  "license": "MIT",