lumnisai 0.5.40 → 0.5.42

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
@@ -1035,6 +1035,34 @@ class CrmResource {
1035
1035
  async matchBatch(data) {
1036
1036
  return this.http.post("/crm/prospects/match-batch", data);
1037
1037
  }
1038
+ /**
1039
+ * Return exact-person presence and account/deal context across every
1040
+ * configured CRM. This remains separate from {@link matchBatch}: an account
1041
+ * match does not mean the candidate is personally present in the CRM.
1042
+ *
1043
+ * Results preserve candidate order and reference deduplicated account
1044
+ * details through `accountRef`. Provider degradation and unknown deal stages
1045
+ * are returned explicitly and must not be treated as safe negative results.
1046
+ *
1047
+ * @example
1048
+ * ```typescript
1049
+ * const context = await client.crm.accountContextBatch({
1050
+ * userId: 'owner@example.com',
1051
+ * candidates: [{
1052
+ * inputKey: 'candidate-123',
1053
+ * linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
1054
+ * companyDomain: 'acme.example',
1055
+ * }],
1056
+ * })
1057
+ * console.log(context.results[0].salesState)
1058
+ * ```
1059
+ */
1060
+ async accountContextBatch(data) {
1061
+ return this.http.post(
1062
+ "/crm/account-context/batch",
1063
+ data
1064
+ );
1065
+ }
1038
1066
  /**
1039
1067
  * Trigger a full mirror of the owner's CRM contact book into the local
1040
1068
  * `crm_contacts` ledger. Returns immediately (`202`); poll
@@ -3491,6 +3519,7 @@ class ResponsesResource {
3491
3519
  }
3492
3520
  }
3493
3521
  for (const [camel, snake] of [
3522
+ ["includeReactedPosts", "include_reacted_posts"],
3494
3523
  ["postsEnableFiltering", "posts_enable_filtering"],
3495
3524
  ["thoroughEnrichment", "thorough_enrichment"],
3496
3525
  ["deepValidationUseRelevanceReranker", "deep_validation_use_relevance_reranker"]
@@ -3549,6 +3578,60 @@ class ResponsesResource {
3549
3578
  );
3550
3579
  }
3551
3580
  }
3581
+ _validateSalesNavigatorRequest(request) {
3582
+ const directParams = request.specializedAgentParams;
3583
+ const directUrl = directParams ? this._getParamValue(directParams, "salesNavigatorUrl", "sales_navigator_url") : void 0;
3584
+ const requestOptions = request.options;
3585
+ const nestedParams = requestOptions ? this._getParamValue(
3586
+ requestOptions,
3587
+ "specializedAgentParams",
3588
+ "specialized_agent_params"
3589
+ ) : void 0;
3590
+ const nestedUrl = this._isPlainObject(nestedParams) ? this._getParamValue(nestedParams, "salesNavigatorUrl", "sales_navigator_url") : void 0;
3591
+ const optionsUrl = requestOptions ? this._getParamValue(requestOptions, "salesNavigatorUrl", "sales_navigator_url") : void 0;
3592
+ const salesNavigatorUrl = directUrl ?? nestedUrl ?? optionsUrl;
3593
+ if (salesNavigatorUrl === void 0 || salesNavigatorUrl === null)
3594
+ return;
3595
+ if (typeof salesNavigatorUrl !== "string" || salesNavigatorUrl.length > 8192 || !salesNavigatorUrl.trim()) {
3596
+ throw new ValidationError(
3597
+ "salesNavigatorUrl must be a non-empty string no longer than 8192 characters"
3598
+ );
3599
+ }
3600
+ if ([...salesNavigatorUrl].some((character) => character.charCodeAt(0) < 32) || salesNavigatorUrl.includes("\\")) {
3601
+ throw new ValidationError("salesNavigatorUrl contains unsafe characters");
3602
+ }
3603
+ let parsed;
3604
+ try {
3605
+ parsed = new URL(salesNavigatorUrl);
3606
+ } catch {
3607
+ throw new ValidationError("salesNavigatorUrl is malformed");
3608
+ }
3609
+ const authorityMatch = salesNavigatorUrl.match(/^[a-z][a-z\d+.-]*:\/\/([^/?#]*)/i);
3610
+ const rawAuthority = authorityMatch?.[1];
3611
+ if (parsed.protocol !== "https:")
3612
+ throw new ValidationError("salesNavigatorUrl must use https");
3613
+ if (parsed.hostname !== "www.linkedin.com")
3614
+ throw new ValidationError("salesNavigatorUrl must use www.linkedin.com");
3615
+ if (parsed.username || parsed.password || parsed.port || rawAuthority?.toLowerCase() !== "www.linkedin.com") {
3616
+ throw new ValidationError("salesNavigatorUrl cannot contain credentials or a custom port");
3617
+ }
3618
+ if (parsed.hash)
3619
+ throw new ValidationError("salesNavigatorUrl cannot contain a fragment");
3620
+ const rawSuffix = authorityMatch ? salesNavigatorUrl.slice(authorityMatch[0].length) : "";
3621
+ const rawPath = rawSuffix.split(/[?#]/, 1)[0];
3622
+ if (rawPath === "/sales/search/company") {
3623
+ throw new ValidationError(
3624
+ "Company Sales Navigator searches are not supported yet; use a people search or people list URL"
3625
+ );
3626
+ }
3627
+ if (rawPath !== "/sales/search/people" && !/^\/sales\/lists\/people\/\d+$/.test(rawPath)) {
3628
+ throw new ValidationError(
3629
+ "salesNavigatorUrl must be a Sales Navigator people-search or people-list URL"
3630
+ );
3631
+ }
3632
+ if (typeof request.userId !== "string" || !request.userId.trim())
3633
+ throw new ValidationError("userId is required when salesNavigatorUrl is provided");
3634
+ }
3552
3635
  _validateCriteriaParams(params, specializedAgent) {
3553
3636
  if (!params)
3554
3637
  return;
@@ -3711,6 +3794,7 @@ class ResponsesResource {
3711
3794
  for (const file of request.files)
3712
3795
  this._validateFileReference(file.uri);
3713
3796
  }
3797
+ this._validateSalesNavigatorRequest(request);
3714
3798
  if (request.specializedAgentParams)
3715
3799
  this._validateCriteriaParams(request.specializedAgentParams, request.specializedAgent);
3716
3800
  return this.http.post("/responses", request);
@@ -3846,10 +3930,13 @@ class ResponsesResource {
3846
3930
  * @param options.excludeCrmContacts - Exclude people in the acting user's synced CRM ledger; @default true
3847
3931
  * @param options.crmExclusionOwners - Granted owner ledgers to exclude against (user id or email)
3848
3932
  * @param options.crmNameCompanyMatch - Also exclude by exact name+company; @default true
3933
+ * @param options.salesNavigatorUrl - Sales Navigator people-search or people-list URL to use as the only discovery source
3934
+ * @param options.userId - Acting user whose owned Sales Navigator connection should be used; required with `salesNavigatorUrl`
3849
3935
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
3850
3936
  * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
3851
3937
  * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
3852
3938
  * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
3939
+ * @param options.enrichEngagementHistory - Add recent LinkedIn engagement evidence before validation; forced off for Sales Navigator V1
3853
3940
  * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
3854
3941
  * @returns Response with structured_response containing:
3855
3942
  * - candidates: Validated and scored candidates
@@ -3861,6 +3948,8 @@ class ResponsesResource {
3861
3948
  messages: [{ role: "user", content: query }],
3862
3949
  specializedAgent: "deep_people_search"
3863
3950
  };
3951
+ if (options?.userId !== void 0)
3952
+ request.userId = options.userId;
3864
3953
  const params = {
3865
3954
  deepValidationUseRelevanceReranker: options?.deepValidationUseRelevanceReranker ?? true,
3866
3955
  deepValidationBackfillBelowCriteria: options?.deepValidationBackfillBelowCriteria ?? true
@@ -3894,6 +3983,8 @@ class ResponsesResource {
3894
3983
  params.crmExclusionOwners = options.crmExclusionOwners;
3895
3984
  if (options.crmNameCompanyMatch !== void 0)
3896
3985
  params.crmNameCompanyMatch = options.crmNameCompanyMatch;
3986
+ if (options.salesNavigatorUrl !== void 0)
3987
+ params.salesNavigatorUrl = options.salesNavigatorUrl;
3897
3988
  if (options.searchProfiles !== void 0)
3898
3989
  params.searchProfiles = options.searchProfiles;
3899
3990
  if (options.searchPosts !== void 0)
@@ -3928,8 +4019,22 @@ class ResponsesResource {
3928
4019
  params.searchJobSignal = options.searchJobSignal;
3929
4020
  if (options.deepVerify !== void 0)
3930
4021
  params.deepVerify = options.deepVerify;
4022
+ if (options.enrichEngagementHistory !== void 0)
4023
+ params.enrichEngagementHistory = options.enrichEngagementHistory;
3931
4024
  if (options.deepSearchCriteriaModel)
3932
4025
  params.deepSearchCriteriaModel = options.deepSearchCriteriaModel;
4026
+ if (options.salesNavigatorUrl !== void 0) {
4027
+ params.searchProfiles = false;
4028
+ params.searchPosts = false;
4029
+ params.searchConnections = false;
4030
+ params.searchJobSignal = false;
4031
+ params.includeEngagementInScore = false;
4032
+ params.postsEnableEnrichment = false;
4033
+ params.postsEnableFiltering = false;
4034
+ params.deepValidationUseRelevanceReranker = false;
4035
+ params.deepValidationBackfillBelowCriteria = false;
4036
+ params.enrichEngagementHistory = false;
4037
+ }
3933
4038
  }
3934
4039
  request.specializedAgentParams = params;
3935
4040
  return this.create(request);
@@ -4069,10 +4174,10 @@ class ResponsesResource {
4069
4174
  /**
4070
4175
  * Score people who react to or comment on posts connected to named LinkedIn profiles.
4071
4176
  *
4072
- * The backend reads posts each seed authored and reacted to within the requested
4073
- * window, selects posts relevant to the persona prompt, then runs their engagers
4074
- * through the deep people-search scoring chain. Seed profiles are always excluded
4075
- * from delivered candidates.
4177
+ * The backend reads posts each seed authored within the requested window and can
4178
+ * optionally include posts they reacted to. It selects posts relevant to the
4179
+ * persona prompt, then runs their engagers through the deep people-search scoring
4180
+ * chain. Seed profiles are always excluded from delivered candidates.
4076
4181
  *
4077
4182
  * @param query - Persona prompt used to select posts and score discovered people.
4078
4183
  * @param options - Seed profiles plus optional window, extraction, and cost controls.
@@ -4085,6 +4190,8 @@ class ResponsesResource {
4085
4190
  const params = {
4086
4191
  seedProfiles: options.seedProfiles
4087
4192
  };
4193
+ if (options.includeReactedPosts !== void 0)
4194
+ params.includeReactedPosts = options.includeReactedPosts;
4088
4195
  if (options.postsDateRange !== void 0)
4089
4196
  params.postsDateRange = options.postsDateRange;
4090
4197
  if (options.engagementTypes !== void 0)
package/dist/index.d.cts CHANGED
@@ -2005,8 +2005,14 @@ interface EngagementExpansionOutput {
2005
2005
 
2006
2006
  /** Options accepted by {@link ResponsesResource.influencerEngagement}. */
2007
2007
  interface InfluencerEngagementOptions {
2008
- /** LinkedIn profile URLs whose authored and reacted-to posts seed discovery. */
2008
+ /** LinkedIn profile URLs whose authored posts seed discovery. */
2009
2009
  seedProfiles: string[];
2010
+ /**
2011
+ * Also use posts the seeds reacted to. These posts describe a wider,
2012
+ * third-party audience and are disabled by default.
2013
+ * @default false
2014
+ */
2015
+ includeReactedPosts?: boolean;
2010
2016
  /** How far back to inspect each seed's activity. @default 'past-month' */
2011
2017
  postsDateRange?: PostsDateRange;
2012
2018
  /** Candidate engagement roles to collect. @default ['reactor', 'commenter'] */
@@ -2034,6 +2040,7 @@ interface InfluencerEngagementOptions {
2034
2040
  /** Resolved parameters echoed in `structuredResponse.agentParams`. */
2035
2041
  interface InfluencerEngagementResolvedParams {
2036
2042
  seedProfiles: string[];
2043
+ includeReactedPosts: boolean;
2037
2044
  postsDateRange: PostsDateRange;
2038
2045
  engagementTypes: PostEngagementType[];
2039
2046
  postsEnableFiltering: boolean;
@@ -2497,6 +2504,8 @@ interface ValidatedCandidate {
2497
2504
  name: string;
2498
2505
  /** LinkedIn profile URL */
2499
2506
  linkedinUrl?: string;
2507
+ /** LinkedIn/provider member identifier, including Sales Navigator hidden-profile IDs. */
2508
+ linkedinMemberId?: string | null;
2500
2509
  /**
2501
2510
  * Current job title. When the reranker runs, may reflect the resolved primary
2502
2511
  * operating role (`primaryTitle`); see `enrichedCurrentTitle` for the pre-rerank value.
@@ -2552,8 +2561,9 @@ interface ValidatedCandidate {
2552
2561
  intentSignals?: IntentSignal[];
2553
2562
  /**
2554
2563
  * Holistic relevance score (0-100) from the SLM reranker (on by default).
2555
- * Ranking-only: absent only when `deepValidationUseRelevanceReranker` was false;
2556
- * does not change `overallScore` or routing.
2564
+ * Ranking-only: absent when `deepValidationUseRelevanceReranker` was false or
2565
+ * when the fixed Sales Navigator lane was used; does not change `overallScore`
2566
+ * or routing.
2557
2567
  */
2558
2568
  relevanceScore?: number;
2559
2569
  /** Coarse match tier paired with `relevanceScore`. */
@@ -2619,6 +2629,12 @@ interface ValidatedCandidate {
2619
2629
  refoundOnNewPost?: boolean;
2620
2630
  /** Source of candidate data */
2621
2631
  source?: string;
2632
+ /** Candidate-source lanes that found this person, including `sales_navigator`. */
2633
+ discoverySources?: string[];
2634
+ /** LinkedIn relationship distance reported by Sales Navigator. */
2635
+ networkDistance?: 'FIRST_DEGREE' | 'SECOND_DEGREE' | 'THIRD_DEGREE' | 'OUT_OF_NETWORK' | null;
2636
+ /** Number of mutual LinkedIn connections reported by Sales Navigator. */
2637
+ mutualConnectionsCount?: number | null;
2622
2638
  /** When source is job_signal: hiring-company context from CrustData job listings */
2623
2639
  jobSignalMetadata?: {
2624
2640
  companyId?: number | null;
@@ -2774,7 +2790,8 @@ type PostsDateRange = 'past-24h' | 'past-week' | 'past-month' | 'past-quarter' |
2774
2790
  interface SpecializedAgentParams {
2775
2791
  /**
2776
2792
  * Maximum number of results.
2777
- * Agent-specific ranges: quick_people_search (1-100), competitor_post_engagement (1-1000).
2793
+ * Agent-specific ranges: quick_people_search (1-100), deep_people_search
2794
+ * alias (1-1000), competitor_post_engagement (1-1000).
2778
2795
  */
2779
2796
  limit?: number;
2780
2797
  /**
@@ -2782,6 +2799,17 @@ interface SpecializedAgentParams {
2782
2799
  * Range: 1-1000
2783
2800
  */
2784
2801
  requestedCandidates?: number;
2802
+ /**
2803
+ * LinkedIn Sales Navigator people-search or people-list URL used as the
2804
+ * deterministic candidate source for deep_people_search. Requires `userId`
2805
+ * on the create request so the backend can resolve the acting user's owned
2806
+ * LinkedIn connection. V1 accepts people-search and people-list URLs only,
2807
+ * caps provider extraction at 2,500 rows, and disables all other discovery
2808
+ * lanes, relevance reranking, below-criteria backfill, and engagement-history
2809
+ * enrichment.
2810
+ * @maxLength 8192
2811
+ */
2812
+ salesNavigatorUrl?: string;
2785
2813
  /**
2786
2814
  * Specific data sources to use (agent-specific)
2787
2815
  * For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
@@ -2855,10 +2883,17 @@ interface SpecializedAgentParams {
2855
2883
  */
2856
2884
  candidateProfiles?: Array<Record<string, any>>;
2857
2885
  /**
2858
- * LinkedIn profile URLs whose authored and reacted-to posts seed discovery.
2886
+ * LinkedIn profile URLs whose authored posts seed discovery.
2859
2887
  * Required by influencer_engagement. Seeds are always excluded from results.
2860
2888
  */
2861
2889
  seedProfiles?: string[];
2890
+ /**
2891
+ * Whether influencer_engagement should also use posts the seeds reacted to.
2892
+ * These posts describe a wider, third-party audience and may carry no
2893
+ * engagement counts, so they can rank below authored posts.
2894
+ * @default false
2895
+ */
2896
+ includeReactedPosts?: boolean;
2862
2897
  /**
2863
2898
  * Re-cook the content package stored on a prior response without repeating
2864
2899
  * audience search or engagement collection.
@@ -2936,7 +2971,8 @@ interface SpecializedAgentParams {
2936
2971
  * For deep_people_search / competitor_post_engagement it bounds POST recency;
2937
2972
  * for competitor_rep_engagement it bounds how far back each rep's OUTGOING
2938
2973
  * engagement is considered (also bounded by `maxEngagementsPerRep`); for
2939
- * influencer_engagement it bounds each seed's authored and reacted-to posts;
2974
+ * influencer_engagement it bounds each seed's authored posts and, when
2975
+ * `includeReactedPosts` is true, reacted-to posts;
2940
2976
  * for content_intelligence it bounds each audience member's reaction history.
2941
2977
  *
2942
2978
  * NOTE on keyword post search: Crustdata's keyword-post API only supports up to
@@ -3007,7 +3043,8 @@ interface SpecializedAgentParams {
3007
3043
  * `intentScore` are untouched. Adds `relevanceScore` / `relevanceTier` per candidate.
3008
3044
  * @default true
3009
3045
  * Used by deep_people_search, people_scoring, competitor_post_engagement,
3010
- * competitor_rep_engagement, and influencer_engagement.
3046
+ * competitor_rep_engagement, and influencer_engagement. Forced off for the
3047
+ * Sales Navigator V1 source lane.
3011
3048
  */
3012
3049
  deepValidationUseRelevanceReranker?: boolean;
3013
3050
  /**
@@ -3015,9 +3052,18 @@ interface SpecializedAgentParams {
3015
3052
  * promoting top-scoring excluded candidates (tagged `backfilled=true`). Set false for
3016
3053
  * quality-over-count (return only passing candidates, even if fewer than requested).
3017
3054
  * @default true
3018
- * Used by deep_people_search and people_scoring.
3055
+ * Used by deep_people_search and people_scoring. Forced off for the Sales
3056
+ * Navigator V1 source lane.
3019
3057
  */
3020
3058
  deepValidationBackfillBelowCriteria?: boolean;
3059
+ /**
3060
+ * Enrich fast-filter survivors with recent LinkedIn engagement history before
3061
+ * deep validation. This is an optional paid stage and is forced off for the
3062
+ * Sales Navigator V1 source lane.
3063
+ * @default true
3064
+ * Used by deep_people_search.
3065
+ */
3066
+ enrichEngagementHistory?: boolean;
3021
3067
  /**
3022
3068
  * Override the model used for criteria decomposition (e.g. 'openai:gpt-5.4').
3023
3069
  * Defaults to the configured deep-search model. Only changes the criteria generator,
@@ -4536,12 +4582,119 @@ interface CrmMatchedProspect {
4536
4582
  interface CrmMatchBatchResponse {
4537
4583
  matches: CrmMatchedProspect[];
4538
4584
  }
4585
+ /** Whether a provider source can support a trustworthy conclusion. */
4586
+ type CrmAccountContextSourceStatus = 'complete' | 'empty_complete' | 'degraded' | 'not_configured';
4587
+ /** Cross-provider deal-stage classification; native stage values stay intact. */
4588
+ type CrmAccountContextStageClass = 'active' | 'terminal_won' | 'terminal_lost' | 'non_blocking' | 'unknown';
4589
+ /** Interpreted account-level sales state. */
4590
+ type CrmAccountContextSalesState = 'active_pipeline' | 'existing_customer' | 'marketing_only' | 'no_active_pipeline' | 'not_found' | 'unknown';
4591
+ /** How a candidate was matched to a provider account. */
4592
+ type CrmAccountContextMatchMethod = 'exact_person_association' | 'exact_domain' | 'exact_company_linkedin' | 'unique_exact_name' | 'ambiguous' | 'none';
4593
+ type CrmAccountContextMatchConfidence = 'high' | 'medium' | 'low' | 'none';
4594
+ type CrmAccountContextAssociationKind = 'direct' | 'via_contact';
4595
+ type CrmAccountContextAssociationConfidence = 'high' | 'medium' | 'low';
4596
+ /**
4597
+ * Stable candidate identity plus the best grounded current-company identity.
4598
+ *
4599
+ * At least one person identity (`linkedinUrl` or `email`) or account identity
4600
+ * (`companyDomain`, `companyLinkedinUrl`, or `companyName`) is required.
4601
+ * `inputKey` values must be unique within a batch.
4602
+ */
4603
+ interface CrmAccountContextCandidateInput {
4604
+ inputKey: string;
4605
+ linkedinUrl?: string;
4606
+ email?: string;
4607
+ fullName?: string;
4608
+ companyName?: string;
4609
+ companyDomain?: string;
4610
+ companyLinkedinUrl?: string;
4611
+ }
4612
+ /**
4613
+ * Query exact-person and account/deal context across all configured CRMs.
4614
+ * The backend accepts 1..1000 candidates per request.
4615
+ */
4616
+ interface CrmAccountContextBatchRequest {
4617
+ /** UUID or email of the CRM owner whose context is queried. */
4618
+ userId: string;
4619
+ candidates: CrmAccountContextCandidateInput[];
4620
+ }
4621
+ interface CrmAccountContextProviderCoverage {
4622
+ provider: CrmProvider;
4623
+ accountSource: CrmAccountContextSourceStatus;
4624
+ personSource: CrmAccountContextSourceStatus;
4625
+ dealSource: CrmAccountContextSourceStatus;
4626
+ /** ISO-8601 timestamp. */
4627
+ checkedAt: string;
4628
+ /** ISO-8601 timestamp. */
4629
+ freshUntil: string;
4630
+ generation: number;
4631
+ errorCode?: string | null;
4632
+ }
4633
+ interface CrmAccountContextPersonPresence {
4634
+ provider: CrmProvider;
4635
+ personId: string;
4636
+ displayName: string;
4637
+ recordUrl?: string | null;
4638
+ relationshipClass: string;
4639
+ }
4640
+ interface CrmAccountContextPersonPreview {
4641
+ personId: string;
4642
+ displayName: string;
4643
+ recordUrl?: string | null;
4644
+ }
4645
+ interface CrmAccountContextDealSummary {
4646
+ dealId: string;
4647
+ displayName: string;
4648
+ recordUrl?: string | null;
4649
+ pipelineId: string;
4650
+ pipelineLabel: string;
4651
+ stageId: string;
4652
+ stageLabel: string;
4653
+ stageClass: CrmAccountContextStageClass;
4654
+ associationKind: CrmAccountContextAssociationKind;
4655
+ associationConfidence: CrmAccountContextAssociationConfidence;
4656
+ participantCount: number;
4657
+ participantPreview: CrmAccountContextPersonPreview[];
4658
+ }
4659
+ /** Provider-qualified account details emitted once and referenced by rows. */
4660
+ interface CrmAccountContextDetail {
4661
+ accountRef: string;
4662
+ provider: CrmProvider;
4663
+ accountId: string;
4664
+ displayName: string;
4665
+ recordUrl?: string | null;
4666
+ contactCount: number;
4667
+ contactPreview: CrmAccountContextPersonPreview[];
4668
+ dealCount: number;
4669
+ dealPreview: CrmAccountContextDealSummary[];
4670
+ }
4671
+ interface CrmAccountContextProviderResult {
4672
+ provider: CrmProvider;
4673
+ personPresence: CrmAccountContextPersonPresence[];
4674
+ accountRef?: string | null;
4675
+ matchMethod: CrmAccountContextMatchMethod;
4676
+ matchConfidence: CrmAccountContextMatchConfidence;
4677
+ salesState: CrmAccountContextSalesState;
4678
+ reasonCode: string;
4679
+ coverageStatus: CrmAccountContextSourceStatus;
4680
+ }
4681
+ interface CrmAccountContextResult {
4682
+ inputKey: string;
4683
+ salesState: CrmAccountContextSalesState;
4684
+ providers: CrmAccountContextProviderResult[];
4685
+ }
4686
+ /** Ordered candidate results plus deduplicated provider-qualified accounts. */
4687
+ interface CrmAccountContextBatchResponse {
4688
+ results: CrmAccountContextResult[];
4689
+ accounts: CrmAccountContextDetail[];
4690
+ providerCoverage: CrmAccountContextProviderCoverage[];
4691
+ }
4539
4692
 
4540
4693
  /**
4541
4694
  * Resource for the user-triggered CRM Sync API.
4542
4695
  *
4543
- * Wraps prospect sync/match, contacts-ledger sync, and exclusion-grant routes
4544
- * under `/v1/crm`.
4696
+ * Wraps prospect sync/match, account context, contacts-ledger sync, and
4697
+ * exclusion-grant routes under `/v1/crm`.
4545
4698
  *
4546
4699
  * The user identified by `userId` must already have an active CRM
4547
4700
  * connection (see `client.integrations.initiateConnection`). When the
@@ -4557,6 +4710,8 @@ interface CrmMatchBatchResponse {
4557
4710
  * - `502 crm_upstream_error` — Attio/HubSpot returned an error.
4558
4711
  * - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
4559
4712
  * includes a `Retry-After` header.
4713
+ * - `503 account_context_not_configured` — account-context serving data is not
4714
+ * configured for the requested CRM owner.
4560
4715
  */
4561
4716
  declare class CrmResource {
4562
4717
  private readonly http;
@@ -4618,6 +4773,29 @@ declare class CrmResource {
4618
4773
  * ```
4619
4774
  */
4620
4775
  matchBatch(data: CrmMatchBatchRequest): Promise<CrmMatchBatchResponse>;
4776
+ /**
4777
+ * Return exact-person presence and account/deal context across every
4778
+ * configured CRM. This remains separate from {@link matchBatch}: an account
4779
+ * match does not mean the candidate is personally present in the CRM.
4780
+ *
4781
+ * Results preserve candidate order and reference deduplicated account
4782
+ * details through `accountRef`. Provider degradation and unknown deal stages
4783
+ * are returned explicitly and must not be treated as safe negative results.
4784
+ *
4785
+ * @example
4786
+ * ```typescript
4787
+ * const context = await client.crm.accountContextBatch({
4788
+ * userId: 'owner@example.com',
4789
+ * candidates: [{
4790
+ * inputKey: 'candidate-123',
4791
+ * linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
4792
+ * companyDomain: 'acme.example',
4793
+ * }],
4794
+ * })
4795
+ * console.log(context.results[0].salesState)
4796
+ * ```
4797
+ */
4798
+ accountContextBatch(data: CrmAccountContextBatchRequest): Promise<CrmAccountContextBatchResponse>;
4621
4799
  /**
4622
4800
  * Trigger a full mirror of the owner's CRM contact book into the local
4623
4801
  * `crm_contacts` ledger. Returns immediately (`202`); poll
@@ -7176,6 +7354,7 @@ declare class ResponsesResource {
7176
7354
  private _validateSinceDays;
7177
7355
  private _validateCompanyIntelligenceParams;
7178
7356
  private _validatePersonIntelligenceParams;
7357
+ private _validateSalesNavigatorRequest;
7179
7358
  private _validateCriteriaParams;
7180
7359
  private _validateFileReference;
7181
7360
  /**
@@ -7278,10 +7457,13 @@ declare class ResponsesResource {
7278
7457
  * @param options.excludeCrmContacts - Exclude people in the acting user's synced CRM ledger; @default true
7279
7458
  * @param options.crmExclusionOwners - Granted owner ledgers to exclude against (user id or email)
7280
7459
  * @param options.crmNameCompanyMatch - Also exclude by exact name+company; @default true
7460
+ * @param options.salesNavigatorUrl - Sales Navigator people-search or people-list URL to use as the only discovery source
7461
+ * @param options.userId - Acting user whose owned Sales Navigator connection should be used; required with `salesNavigatorUrl`
7281
7462
  * @param options.searchJobSignal - CrustData job-listing signal search (decision makers at hiring companies); true | false | 'auto'
7282
7463
  * @param options.deepVerify - Web verification for org/location/third-party criteria: 'auto' (default), 'always', or 'off'
7283
7464
  * @param options.deepValidationUseRelevanceReranker - SLM relevance reranker for surfaced candidates (ranking-only); @default true
7284
7465
  * @param options.deepValidationBackfillBelowCriteria - Pad with criteria-failed candidates when under count; @default true
7466
+ * @param options.enrichEngagementHistory - Add recent LinkedIn engagement evidence before validation; forced off for Sales Navigator V1
7285
7467
  * @param options.deepSearchCriteriaModel - Override criteria decomposition model (e.g. 'openai:gpt-5.4')
7286
7468
  * @returns Response with structured_response containing:
7287
7469
  * - candidates: Validated and scored candidates
@@ -7308,6 +7490,8 @@ declare class ResponsesResource {
7308
7490
  excludeCrmContacts?: boolean;
7309
7491
  crmExclusionOwners?: string[];
7310
7492
  crmNameCompanyMatch?: boolean;
7493
+ salesNavigatorUrl?: string;
7494
+ userId?: string;
7311
7495
  searchProfiles?: boolean | 'auto';
7312
7496
  searchPosts?: boolean | 'auto';
7313
7497
  includeEngagementInScore?: boolean | 'auto';
@@ -7327,6 +7511,7 @@ declare class ResponsesResource {
7327
7511
  deepVerify?: 'off' | 'auto' | 'always';
7328
7512
  deepValidationUseRelevanceReranker?: boolean;
7329
7513
  deepValidationBackfillBelowCriteria?: boolean;
7514
+ enrichEngagementHistory?: boolean;
7330
7515
  deepSearchCriteriaModel?: string;
7331
7516
  }): Promise<CreateResponseResponse>;
7332
7517
  /**
@@ -7403,10 +7588,10 @@ declare class ResponsesResource {
7403
7588
  /**
7404
7589
  * Score people who react to or comment on posts connected to named LinkedIn profiles.
7405
7590
  *
7406
- * The backend reads posts each seed authored and reacted to within the requested
7407
- * window, selects posts relevant to the persona prompt, then runs their engagers
7408
- * through the deep people-search scoring chain. Seed profiles are always excluded
7409
- * from delivered candidates.
7591
+ * The backend reads posts each seed authored within the requested window and can
7592
+ * optionally include posts they reacted to. It selects posts relevant to the
7593
+ * persona prompt, then runs their engagers through the deep people-search scoring
7594
+ * chain. Seed profiles are always excluded from delivered candidates.
7410
7595
  *
7411
7596
  * @param query - Persona prompt used to select posts and score discovered people.
7412
7597
  * @param options - Seed profiles plus optional window, extraction, and cost controls.
@@ -9112,4 +9297,4 @@ declare class ProgressTracker {
9112
9297
  */
9113
9298
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
9114
9299
 
9115
- 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 CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, 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 ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, 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 ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, 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 CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, 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 EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, 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 InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, 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 Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, 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 PostIdea, type PostIdeasOutput, 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, type ResumeProspectsRequest, 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 StandoutPost, 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 Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, 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, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
9300
+ 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 CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, 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 ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, 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 ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, 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 CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageClass, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, 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 EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, 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 InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, 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 Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, 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 PostIdea, type PostIdeasOutput, 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, type ResumeProspectsRequest, 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 StandoutPost, 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 Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, 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, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };