lumnisai 0.5.41 → 0.5.43
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 +28 -0
- package/dist/index.d.cts +155 -3
- package/dist/index.d.mts +155 -3
- package/dist/index.d.ts +155 -3
- package/dist/index.mjs +28 -0
- package/package.json +1 -1
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
|
package/dist/index.d.cts
CHANGED
|
@@ -4582,12 +4582,139 @@ interface CrmMatchedProspect {
|
|
|
4582
4582
|
interface CrmMatchBatchResponse {
|
|
4583
4583
|
matches: CrmMatchedProspect[];
|
|
4584
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
|
+
/** How precisely the deal-stage transition time was determined. */
|
|
4597
|
+
type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
|
|
4598
|
+
/**
|
|
4599
|
+
* Stable candidate identity plus the best grounded current-company identity.
|
|
4600
|
+
*
|
|
4601
|
+
* At least one person identity (`linkedinUrl` or `email`) or account identity
|
|
4602
|
+
* (`companyDomain`, `companyLinkedinUrl`, or `companyName`) is required.
|
|
4603
|
+
* `inputKey` values must be unique within a batch.
|
|
4604
|
+
*/
|
|
4605
|
+
interface CrmAccountContextCandidateInput {
|
|
4606
|
+
inputKey: string;
|
|
4607
|
+
linkedinUrl?: string;
|
|
4608
|
+
email?: string;
|
|
4609
|
+
fullName?: string;
|
|
4610
|
+
companyName?: string;
|
|
4611
|
+
companyDomain?: string;
|
|
4612
|
+
companyLinkedinUrl?: string;
|
|
4613
|
+
}
|
|
4614
|
+
/**
|
|
4615
|
+
* Query exact-person and account/deal context across all configured CRMs.
|
|
4616
|
+
* The backend accepts 1..1000 candidates per request.
|
|
4617
|
+
*/
|
|
4618
|
+
interface CrmAccountContextBatchRequest {
|
|
4619
|
+
/** UUID or email of the CRM owner whose context is queried. */
|
|
4620
|
+
userId: string;
|
|
4621
|
+
candidates: CrmAccountContextCandidateInput[];
|
|
4622
|
+
}
|
|
4623
|
+
interface CrmAccountContextProviderCoverage {
|
|
4624
|
+
provider: CrmProvider;
|
|
4625
|
+
accountSource: CrmAccountContextSourceStatus;
|
|
4626
|
+
personSource: CrmAccountContextSourceStatus;
|
|
4627
|
+
dealSource: CrmAccountContextSourceStatus;
|
|
4628
|
+
/** ISO-8601 timestamp. */
|
|
4629
|
+
checkedAt: string;
|
|
4630
|
+
/** ISO-8601 timestamp. */
|
|
4631
|
+
freshUntil: string;
|
|
4632
|
+
generation: number;
|
|
4633
|
+
errorCode?: string | null;
|
|
4634
|
+
}
|
|
4635
|
+
interface CrmAccountContextPersonPresence {
|
|
4636
|
+
provider: CrmProvider;
|
|
4637
|
+
personId: string;
|
|
4638
|
+
displayName: string;
|
|
4639
|
+
recordUrl?: string | null;
|
|
4640
|
+
relationshipClass: string;
|
|
4641
|
+
}
|
|
4642
|
+
interface CrmAccountContextPersonPreview {
|
|
4643
|
+
personId: string;
|
|
4644
|
+
displayName: string;
|
|
4645
|
+
recordUrl?: string | null;
|
|
4646
|
+
}
|
|
4647
|
+
interface CrmAccountContextDealSummary {
|
|
4648
|
+
dealId: string;
|
|
4649
|
+
displayName: string;
|
|
4650
|
+
recordUrl?: string | null;
|
|
4651
|
+
pipelineId: string;
|
|
4652
|
+
pipelineLabel: string;
|
|
4653
|
+
stageId: string;
|
|
4654
|
+
stageLabel: string;
|
|
4655
|
+
stageClass: CrmAccountContextStageClass;
|
|
4656
|
+
/** Previous native pipeline/stage values; absent on the first observation. */
|
|
4657
|
+
previousPipelineId?: string | null;
|
|
4658
|
+
previousPipelineLabel?: string | null;
|
|
4659
|
+
previousStageId?: string | null;
|
|
4660
|
+
previousStageLabel?: string | null;
|
|
4661
|
+
/** ISO-8601 timestamp for the latest observed or provider-reported transition. */
|
|
4662
|
+
stageChangedAt?: string | null;
|
|
4663
|
+
stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
|
|
4664
|
+
associationKind: CrmAccountContextAssociationKind;
|
|
4665
|
+
associationConfidence: CrmAccountContextAssociationConfidence;
|
|
4666
|
+
/** Provider-native amount representation. */
|
|
4667
|
+
amount?: string | null;
|
|
4668
|
+
/** ISO-8601 timestamp. */
|
|
4669
|
+
closeDate?: string | null;
|
|
4670
|
+
participantCount: number;
|
|
4671
|
+
participantPreview: CrmAccountContextPersonPreview[];
|
|
4672
|
+
}
|
|
4673
|
+
/** Provider-qualified account details emitted once and referenced by rows. */
|
|
4674
|
+
interface CrmAccountContextDetail {
|
|
4675
|
+
accountRef: string;
|
|
4676
|
+
provider: CrmProvider;
|
|
4677
|
+
accountId: string;
|
|
4678
|
+
displayName: string;
|
|
4679
|
+
recordUrl?: string | null;
|
|
4680
|
+
domains: string[];
|
|
4681
|
+
linkedinUrl?: string | null;
|
|
4682
|
+
website?: string | null;
|
|
4683
|
+
industry?: string | null;
|
|
4684
|
+
location?: string | null;
|
|
4685
|
+
lifecycleStage?: string | null;
|
|
4686
|
+
contactCount: number;
|
|
4687
|
+
contactPreview: CrmAccountContextPersonPreview[];
|
|
4688
|
+
dealCount: number;
|
|
4689
|
+
dealPreview: CrmAccountContextDealSummary[];
|
|
4690
|
+
}
|
|
4691
|
+
interface CrmAccountContextProviderResult {
|
|
4692
|
+
provider: CrmProvider;
|
|
4693
|
+
personPresence: CrmAccountContextPersonPresence[];
|
|
4694
|
+
accountRef?: string | null;
|
|
4695
|
+
matchMethod: CrmAccountContextMatchMethod;
|
|
4696
|
+
matchConfidence: CrmAccountContextMatchConfidence;
|
|
4697
|
+
salesState: CrmAccountContextSalesState;
|
|
4698
|
+
reasonCode: string;
|
|
4699
|
+
coverageStatus: CrmAccountContextSourceStatus;
|
|
4700
|
+
}
|
|
4701
|
+
interface CrmAccountContextResult {
|
|
4702
|
+
inputKey: string;
|
|
4703
|
+
salesState: CrmAccountContextSalesState;
|
|
4704
|
+
providers: CrmAccountContextProviderResult[];
|
|
4705
|
+
}
|
|
4706
|
+
/** Ordered candidate results plus deduplicated provider-qualified accounts. */
|
|
4707
|
+
interface CrmAccountContextBatchResponse {
|
|
4708
|
+
results: CrmAccountContextResult[];
|
|
4709
|
+
accounts: CrmAccountContextDetail[];
|
|
4710
|
+
providerCoverage: CrmAccountContextProviderCoverage[];
|
|
4711
|
+
}
|
|
4585
4712
|
|
|
4586
4713
|
/**
|
|
4587
4714
|
* Resource for the user-triggered CRM Sync API.
|
|
4588
4715
|
*
|
|
4589
|
-
* Wraps prospect sync/match, contacts-ledger sync, and
|
|
4590
|
-
* under `/v1/crm`.
|
|
4716
|
+
* Wraps prospect sync/match, account context, contacts-ledger sync, and
|
|
4717
|
+
* exclusion-grant routes under `/v1/crm`.
|
|
4591
4718
|
*
|
|
4592
4719
|
* The user identified by `userId` must already have an active CRM
|
|
4593
4720
|
* connection (see `client.integrations.initiateConnection`). When the
|
|
@@ -4603,6 +4730,8 @@ interface CrmMatchBatchResponse {
|
|
|
4603
4730
|
* - `502 crm_upstream_error` — Attio/HubSpot returned an error.
|
|
4604
4731
|
* - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
|
|
4605
4732
|
* includes a `Retry-After` header.
|
|
4733
|
+
* - `503 account_context_not_configured` — account-context serving data is not
|
|
4734
|
+
* configured for the requested CRM owner.
|
|
4606
4735
|
*/
|
|
4607
4736
|
declare class CrmResource {
|
|
4608
4737
|
private readonly http;
|
|
@@ -4664,6 +4793,29 @@ declare class CrmResource {
|
|
|
4664
4793
|
* ```
|
|
4665
4794
|
*/
|
|
4666
4795
|
matchBatch(data: CrmMatchBatchRequest): Promise<CrmMatchBatchResponse>;
|
|
4796
|
+
/**
|
|
4797
|
+
* Return exact-person presence and account/deal context across every
|
|
4798
|
+
* configured CRM. This remains separate from {@link matchBatch}: an account
|
|
4799
|
+
* match does not mean the candidate is personally present in the CRM.
|
|
4800
|
+
*
|
|
4801
|
+
* Results preserve candidate order and reference deduplicated account
|
|
4802
|
+
* details through `accountRef`. Provider degradation and unknown deal stages
|
|
4803
|
+
* are returned explicitly and must not be treated as safe negative results.
|
|
4804
|
+
*
|
|
4805
|
+
* @example
|
|
4806
|
+
* ```typescript
|
|
4807
|
+
* const context = await client.crm.accountContextBatch({
|
|
4808
|
+
* userId: 'owner@example.com',
|
|
4809
|
+
* candidates: [{
|
|
4810
|
+
* inputKey: 'candidate-123',
|
|
4811
|
+
* linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
|
|
4812
|
+
* companyDomain: 'acme.example',
|
|
4813
|
+
* }],
|
|
4814
|
+
* })
|
|
4815
|
+
* console.log(context.results[0].salesState)
|
|
4816
|
+
* ```
|
|
4817
|
+
*/
|
|
4818
|
+
accountContextBatch(data: CrmAccountContextBatchRequest): Promise<CrmAccountContextBatchResponse>;
|
|
4667
4819
|
/**
|
|
4668
4820
|
* Trigger a full mirror of the owner's CRM contact book into the local
|
|
4669
4821
|
* `crm_contacts` ledger. Returns immediately (`202`); poll
|
|
@@ -9165,4 +9317,4 @@ declare class ProgressTracker {
|
|
|
9165
9317
|
*/
|
|
9166
9318
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
9167
9319
|
|
|
9168
|
-
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 };
|
|
9320
|
+
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 CrmAccountContextStageChangeTimePrecision, 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 };
|
package/dist/index.d.mts
CHANGED
|
@@ -4582,12 +4582,139 @@ interface CrmMatchedProspect {
|
|
|
4582
4582
|
interface CrmMatchBatchResponse {
|
|
4583
4583
|
matches: CrmMatchedProspect[];
|
|
4584
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
|
+
/** How precisely the deal-stage transition time was determined. */
|
|
4597
|
+
type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
|
|
4598
|
+
/**
|
|
4599
|
+
* Stable candidate identity plus the best grounded current-company identity.
|
|
4600
|
+
*
|
|
4601
|
+
* At least one person identity (`linkedinUrl` or `email`) or account identity
|
|
4602
|
+
* (`companyDomain`, `companyLinkedinUrl`, or `companyName`) is required.
|
|
4603
|
+
* `inputKey` values must be unique within a batch.
|
|
4604
|
+
*/
|
|
4605
|
+
interface CrmAccountContextCandidateInput {
|
|
4606
|
+
inputKey: string;
|
|
4607
|
+
linkedinUrl?: string;
|
|
4608
|
+
email?: string;
|
|
4609
|
+
fullName?: string;
|
|
4610
|
+
companyName?: string;
|
|
4611
|
+
companyDomain?: string;
|
|
4612
|
+
companyLinkedinUrl?: string;
|
|
4613
|
+
}
|
|
4614
|
+
/**
|
|
4615
|
+
* Query exact-person and account/deal context across all configured CRMs.
|
|
4616
|
+
* The backend accepts 1..1000 candidates per request.
|
|
4617
|
+
*/
|
|
4618
|
+
interface CrmAccountContextBatchRequest {
|
|
4619
|
+
/** UUID or email of the CRM owner whose context is queried. */
|
|
4620
|
+
userId: string;
|
|
4621
|
+
candidates: CrmAccountContextCandidateInput[];
|
|
4622
|
+
}
|
|
4623
|
+
interface CrmAccountContextProviderCoverage {
|
|
4624
|
+
provider: CrmProvider;
|
|
4625
|
+
accountSource: CrmAccountContextSourceStatus;
|
|
4626
|
+
personSource: CrmAccountContextSourceStatus;
|
|
4627
|
+
dealSource: CrmAccountContextSourceStatus;
|
|
4628
|
+
/** ISO-8601 timestamp. */
|
|
4629
|
+
checkedAt: string;
|
|
4630
|
+
/** ISO-8601 timestamp. */
|
|
4631
|
+
freshUntil: string;
|
|
4632
|
+
generation: number;
|
|
4633
|
+
errorCode?: string | null;
|
|
4634
|
+
}
|
|
4635
|
+
interface CrmAccountContextPersonPresence {
|
|
4636
|
+
provider: CrmProvider;
|
|
4637
|
+
personId: string;
|
|
4638
|
+
displayName: string;
|
|
4639
|
+
recordUrl?: string | null;
|
|
4640
|
+
relationshipClass: string;
|
|
4641
|
+
}
|
|
4642
|
+
interface CrmAccountContextPersonPreview {
|
|
4643
|
+
personId: string;
|
|
4644
|
+
displayName: string;
|
|
4645
|
+
recordUrl?: string | null;
|
|
4646
|
+
}
|
|
4647
|
+
interface CrmAccountContextDealSummary {
|
|
4648
|
+
dealId: string;
|
|
4649
|
+
displayName: string;
|
|
4650
|
+
recordUrl?: string | null;
|
|
4651
|
+
pipelineId: string;
|
|
4652
|
+
pipelineLabel: string;
|
|
4653
|
+
stageId: string;
|
|
4654
|
+
stageLabel: string;
|
|
4655
|
+
stageClass: CrmAccountContextStageClass;
|
|
4656
|
+
/** Previous native pipeline/stage values; absent on the first observation. */
|
|
4657
|
+
previousPipelineId?: string | null;
|
|
4658
|
+
previousPipelineLabel?: string | null;
|
|
4659
|
+
previousStageId?: string | null;
|
|
4660
|
+
previousStageLabel?: string | null;
|
|
4661
|
+
/** ISO-8601 timestamp for the latest observed or provider-reported transition. */
|
|
4662
|
+
stageChangedAt?: string | null;
|
|
4663
|
+
stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
|
|
4664
|
+
associationKind: CrmAccountContextAssociationKind;
|
|
4665
|
+
associationConfidence: CrmAccountContextAssociationConfidence;
|
|
4666
|
+
/** Provider-native amount representation. */
|
|
4667
|
+
amount?: string | null;
|
|
4668
|
+
/** ISO-8601 timestamp. */
|
|
4669
|
+
closeDate?: string | null;
|
|
4670
|
+
participantCount: number;
|
|
4671
|
+
participantPreview: CrmAccountContextPersonPreview[];
|
|
4672
|
+
}
|
|
4673
|
+
/** Provider-qualified account details emitted once and referenced by rows. */
|
|
4674
|
+
interface CrmAccountContextDetail {
|
|
4675
|
+
accountRef: string;
|
|
4676
|
+
provider: CrmProvider;
|
|
4677
|
+
accountId: string;
|
|
4678
|
+
displayName: string;
|
|
4679
|
+
recordUrl?: string | null;
|
|
4680
|
+
domains: string[];
|
|
4681
|
+
linkedinUrl?: string | null;
|
|
4682
|
+
website?: string | null;
|
|
4683
|
+
industry?: string | null;
|
|
4684
|
+
location?: string | null;
|
|
4685
|
+
lifecycleStage?: string | null;
|
|
4686
|
+
contactCount: number;
|
|
4687
|
+
contactPreview: CrmAccountContextPersonPreview[];
|
|
4688
|
+
dealCount: number;
|
|
4689
|
+
dealPreview: CrmAccountContextDealSummary[];
|
|
4690
|
+
}
|
|
4691
|
+
interface CrmAccountContextProviderResult {
|
|
4692
|
+
provider: CrmProvider;
|
|
4693
|
+
personPresence: CrmAccountContextPersonPresence[];
|
|
4694
|
+
accountRef?: string | null;
|
|
4695
|
+
matchMethod: CrmAccountContextMatchMethod;
|
|
4696
|
+
matchConfidence: CrmAccountContextMatchConfidence;
|
|
4697
|
+
salesState: CrmAccountContextSalesState;
|
|
4698
|
+
reasonCode: string;
|
|
4699
|
+
coverageStatus: CrmAccountContextSourceStatus;
|
|
4700
|
+
}
|
|
4701
|
+
interface CrmAccountContextResult {
|
|
4702
|
+
inputKey: string;
|
|
4703
|
+
salesState: CrmAccountContextSalesState;
|
|
4704
|
+
providers: CrmAccountContextProviderResult[];
|
|
4705
|
+
}
|
|
4706
|
+
/** Ordered candidate results plus deduplicated provider-qualified accounts. */
|
|
4707
|
+
interface CrmAccountContextBatchResponse {
|
|
4708
|
+
results: CrmAccountContextResult[];
|
|
4709
|
+
accounts: CrmAccountContextDetail[];
|
|
4710
|
+
providerCoverage: CrmAccountContextProviderCoverage[];
|
|
4711
|
+
}
|
|
4585
4712
|
|
|
4586
4713
|
/**
|
|
4587
4714
|
* Resource for the user-triggered CRM Sync API.
|
|
4588
4715
|
*
|
|
4589
|
-
* Wraps prospect sync/match, contacts-ledger sync, and
|
|
4590
|
-
* under `/v1/crm`.
|
|
4716
|
+
* Wraps prospect sync/match, account context, contacts-ledger sync, and
|
|
4717
|
+
* exclusion-grant routes under `/v1/crm`.
|
|
4591
4718
|
*
|
|
4592
4719
|
* The user identified by `userId` must already have an active CRM
|
|
4593
4720
|
* connection (see `client.integrations.initiateConnection`). When the
|
|
@@ -4603,6 +4730,8 @@ interface CrmMatchBatchResponse {
|
|
|
4603
4730
|
* - `502 crm_upstream_error` — Attio/HubSpot returned an error.
|
|
4604
4731
|
* - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
|
|
4605
4732
|
* includes a `Retry-After` header.
|
|
4733
|
+
* - `503 account_context_not_configured` — account-context serving data is not
|
|
4734
|
+
* configured for the requested CRM owner.
|
|
4606
4735
|
*/
|
|
4607
4736
|
declare class CrmResource {
|
|
4608
4737
|
private readonly http;
|
|
@@ -4664,6 +4793,29 @@ declare class CrmResource {
|
|
|
4664
4793
|
* ```
|
|
4665
4794
|
*/
|
|
4666
4795
|
matchBatch(data: CrmMatchBatchRequest): Promise<CrmMatchBatchResponse>;
|
|
4796
|
+
/**
|
|
4797
|
+
* Return exact-person presence and account/deal context across every
|
|
4798
|
+
* configured CRM. This remains separate from {@link matchBatch}: an account
|
|
4799
|
+
* match does not mean the candidate is personally present in the CRM.
|
|
4800
|
+
*
|
|
4801
|
+
* Results preserve candidate order and reference deduplicated account
|
|
4802
|
+
* details through `accountRef`. Provider degradation and unknown deal stages
|
|
4803
|
+
* are returned explicitly and must not be treated as safe negative results.
|
|
4804
|
+
*
|
|
4805
|
+
* @example
|
|
4806
|
+
* ```typescript
|
|
4807
|
+
* const context = await client.crm.accountContextBatch({
|
|
4808
|
+
* userId: 'owner@example.com',
|
|
4809
|
+
* candidates: [{
|
|
4810
|
+
* inputKey: 'candidate-123',
|
|
4811
|
+
* linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
|
|
4812
|
+
* companyDomain: 'acme.example',
|
|
4813
|
+
* }],
|
|
4814
|
+
* })
|
|
4815
|
+
* console.log(context.results[0].salesState)
|
|
4816
|
+
* ```
|
|
4817
|
+
*/
|
|
4818
|
+
accountContextBatch(data: CrmAccountContextBatchRequest): Promise<CrmAccountContextBatchResponse>;
|
|
4667
4819
|
/**
|
|
4668
4820
|
* Trigger a full mirror of the owner's CRM contact book into the local
|
|
4669
4821
|
* `crm_contacts` ledger. Returns immediately (`202`); poll
|
|
@@ -9165,4 +9317,4 @@ declare class ProgressTracker {
|
|
|
9165
9317
|
*/
|
|
9166
9318
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
9167
9319
|
|
|
9168
|
-
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 };
|
|
9320
|
+
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 CrmAccountContextStageChangeTimePrecision, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -4582,12 +4582,139 @@ interface CrmMatchedProspect {
|
|
|
4582
4582
|
interface CrmMatchBatchResponse {
|
|
4583
4583
|
matches: CrmMatchedProspect[];
|
|
4584
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
|
+
/** How precisely the deal-stage transition time was determined. */
|
|
4597
|
+
type CrmAccountContextStageChangeTimePrecision = 'provider_timestamp' | 'observed';
|
|
4598
|
+
/**
|
|
4599
|
+
* Stable candidate identity plus the best grounded current-company identity.
|
|
4600
|
+
*
|
|
4601
|
+
* At least one person identity (`linkedinUrl` or `email`) or account identity
|
|
4602
|
+
* (`companyDomain`, `companyLinkedinUrl`, or `companyName`) is required.
|
|
4603
|
+
* `inputKey` values must be unique within a batch.
|
|
4604
|
+
*/
|
|
4605
|
+
interface CrmAccountContextCandidateInput {
|
|
4606
|
+
inputKey: string;
|
|
4607
|
+
linkedinUrl?: string;
|
|
4608
|
+
email?: string;
|
|
4609
|
+
fullName?: string;
|
|
4610
|
+
companyName?: string;
|
|
4611
|
+
companyDomain?: string;
|
|
4612
|
+
companyLinkedinUrl?: string;
|
|
4613
|
+
}
|
|
4614
|
+
/**
|
|
4615
|
+
* Query exact-person and account/deal context across all configured CRMs.
|
|
4616
|
+
* The backend accepts 1..1000 candidates per request.
|
|
4617
|
+
*/
|
|
4618
|
+
interface CrmAccountContextBatchRequest {
|
|
4619
|
+
/** UUID or email of the CRM owner whose context is queried. */
|
|
4620
|
+
userId: string;
|
|
4621
|
+
candidates: CrmAccountContextCandidateInput[];
|
|
4622
|
+
}
|
|
4623
|
+
interface CrmAccountContextProviderCoverage {
|
|
4624
|
+
provider: CrmProvider;
|
|
4625
|
+
accountSource: CrmAccountContextSourceStatus;
|
|
4626
|
+
personSource: CrmAccountContextSourceStatus;
|
|
4627
|
+
dealSource: CrmAccountContextSourceStatus;
|
|
4628
|
+
/** ISO-8601 timestamp. */
|
|
4629
|
+
checkedAt: string;
|
|
4630
|
+
/** ISO-8601 timestamp. */
|
|
4631
|
+
freshUntil: string;
|
|
4632
|
+
generation: number;
|
|
4633
|
+
errorCode?: string | null;
|
|
4634
|
+
}
|
|
4635
|
+
interface CrmAccountContextPersonPresence {
|
|
4636
|
+
provider: CrmProvider;
|
|
4637
|
+
personId: string;
|
|
4638
|
+
displayName: string;
|
|
4639
|
+
recordUrl?: string | null;
|
|
4640
|
+
relationshipClass: string;
|
|
4641
|
+
}
|
|
4642
|
+
interface CrmAccountContextPersonPreview {
|
|
4643
|
+
personId: string;
|
|
4644
|
+
displayName: string;
|
|
4645
|
+
recordUrl?: string | null;
|
|
4646
|
+
}
|
|
4647
|
+
interface CrmAccountContextDealSummary {
|
|
4648
|
+
dealId: string;
|
|
4649
|
+
displayName: string;
|
|
4650
|
+
recordUrl?: string | null;
|
|
4651
|
+
pipelineId: string;
|
|
4652
|
+
pipelineLabel: string;
|
|
4653
|
+
stageId: string;
|
|
4654
|
+
stageLabel: string;
|
|
4655
|
+
stageClass: CrmAccountContextStageClass;
|
|
4656
|
+
/** Previous native pipeline/stage values; absent on the first observation. */
|
|
4657
|
+
previousPipelineId?: string | null;
|
|
4658
|
+
previousPipelineLabel?: string | null;
|
|
4659
|
+
previousStageId?: string | null;
|
|
4660
|
+
previousStageLabel?: string | null;
|
|
4661
|
+
/** ISO-8601 timestamp for the latest observed or provider-reported transition. */
|
|
4662
|
+
stageChangedAt?: string | null;
|
|
4663
|
+
stageChangeTimePrecision?: CrmAccountContextStageChangeTimePrecision | null;
|
|
4664
|
+
associationKind: CrmAccountContextAssociationKind;
|
|
4665
|
+
associationConfidence: CrmAccountContextAssociationConfidence;
|
|
4666
|
+
/** Provider-native amount representation. */
|
|
4667
|
+
amount?: string | null;
|
|
4668
|
+
/** ISO-8601 timestamp. */
|
|
4669
|
+
closeDate?: string | null;
|
|
4670
|
+
participantCount: number;
|
|
4671
|
+
participantPreview: CrmAccountContextPersonPreview[];
|
|
4672
|
+
}
|
|
4673
|
+
/** Provider-qualified account details emitted once and referenced by rows. */
|
|
4674
|
+
interface CrmAccountContextDetail {
|
|
4675
|
+
accountRef: string;
|
|
4676
|
+
provider: CrmProvider;
|
|
4677
|
+
accountId: string;
|
|
4678
|
+
displayName: string;
|
|
4679
|
+
recordUrl?: string | null;
|
|
4680
|
+
domains: string[];
|
|
4681
|
+
linkedinUrl?: string | null;
|
|
4682
|
+
website?: string | null;
|
|
4683
|
+
industry?: string | null;
|
|
4684
|
+
location?: string | null;
|
|
4685
|
+
lifecycleStage?: string | null;
|
|
4686
|
+
contactCount: number;
|
|
4687
|
+
contactPreview: CrmAccountContextPersonPreview[];
|
|
4688
|
+
dealCount: number;
|
|
4689
|
+
dealPreview: CrmAccountContextDealSummary[];
|
|
4690
|
+
}
|
|
4691
|
+
interface CrmAccountContextProviderResult {
|
|
4692
|
+
provider: CrmProvider;
|
|
4693
|
+
personPresence: CrmAccountContextPersonPresence[];
|
|
4694
|
+
accountRef?: string | null;
|
|
4695
|
+
matchMethod: CrmAccountContextMatchMethod;
|
|
4696
|
+
matchConfidence: CrmAccountContextMatchConfidence;
|
|
4697
|
+
salesState: CrmAccountContextSalesState;
|
|
4698
|
+
reasonCode: string;
|
|
4699
|
+
coverageStatus: CrmAccountContextSourceStatus;
|
|
4700
|
+
}
|
|
4701
|
+
interface CrmAccountContextResult {
|
|
4702
|
+
inputKey: string;
|
|
4703
|
+
salesState: CrmAccountContextSalesState;
|
|
4704
|
+
providers: CrmAccountContextProviderResult[];
|
|
4705
|
+
}
|
|
4706
|
+
/** Ordered candidate results plus deduplicated provider-qualified accounts. */
|
|
4707
|
+
interface CrmAccountContextBatchResponse {
|
|
4708
|
+
results: CrmAccountContextResult[];
|
|
4709
|
+
accounts: CrmAccountContextDetail[];
|
|
4710
|
+
providerCoverage: CrmAccountContextProviderCoverage[];
|
|
4711
|
+
}
|
|
4585
4712
|
|
|
4586
4713
|
/**
|
|
4587
4714
|
* Resource for the user-triggered CRM Sync API.
|
|
4588
4715
|
*
|
|
4589
|
-
* Wraps prospect sync/match, contacts-ledger sync, and
|
|
4590
|
-
* under `/v1/crm`.
|
|
4716
|
+
* Wraps prospect sync/match, account context, contacts-ledger sync, and
|
|
4717
|
+
* exclusion-grant routes under `/v1/crm`.
|
|
4591
4718
|
*
|
|
4592
4719
|
* The user identified by `userId` must already have an active CRM
|
|
4593
4720
|
* connection (see `client.integrations.initiateConnection`). When the
|
|
@@ -4603,6 +4730,8 @@ interface CrmMatchBatchResponse {
|
|
|
4603
4730
|
* - `502 crm_upstream_error` — Attio/HubSpot returned an error.
|
|
4604
4731
|
* - `503 crm_upstream_rate_limited` — upstream rate-limit; the response
|
|
4605
4732
|
* includes a `Retry-After` header.
|
|
4733
|
+
* - `503 account_context_not_configured` — account-context serving data is not
|
|
4734
|
+
* configured for the requested CRM owner.
|
|
4606
4735
|
*/
|
|
4607
4736
|
declare class CrmResource {
|
|
4608
4737
|
private readonly http;
|
|
@@ -4664,6 +4793,29 @@ declare class CrmResource {
|
|
|
4664
4793
|
* ```
|
|
4665
4794
|
*/
|
|
4666
4795
|
matchBatch(data: CrmMatchBatchRequest): Promise<CrmMatchBatchResponse>;
|
|
4796
|
+
/**
|
|
4797
|
+
* Return exact-person presence and account/deal context across every
|
|
4798
|
+
* configured CRM. This remains separate from {@link matchBatch}: an account
|
|
4799
|
+
* match does not mean the candidate is personally present in the CRM.
|
|
4800
|
+
*
|
|
4801
|
+
* Results preserve candidate order and reference deduplicated account
|
|
4802
|
+
* details through `accountRef`. Provider degradation and unknown deal stages
|
|
4803
|
+
* are returned explicitly and must not be treated as safe negative results.
|
|
4804
|
+
*
|
|
4805
|
+
* @example
|
|
4806
|
+
* ```typescript
|
|
4807
|
+
* const context = await client.crm.accountContextBatch({
|
|
4808
|
+
* userId: 'owner@example.com',
|
|
4809
|
+
* candidates: [{
|
|
4810
|
+
* inputKey: 'candidate-123',
|
|
4811
|
+
* linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
|
|
4812
|
+
* companyDomain: 'acme.example',
|
|
4813
|
+
* }],
|
|
4814
|
+
* })
|
|
4815
|
+
* console.log(context.results[0].salesState)
|
|
4816
|
+
* ```
|
|
4817
|
+
*/
|
|
4818
|
+
accountContextBatch(data: CrmAccountContextBatchRequest): Promise<CrmAccountContextBatchResponse>;
|
|
4667
4819
|
/**
|
|
4668
4820
|
* Trigger a full mirror of the owner's CRM contact book into the local
|
|
4669
4821
|
* `crm_contacts` ledger. Returns immediately (`202`); poll
|
|
@@ -9165,4 +9317,4 @@ declare class ProgressTracker {
|
|
|
9165
9317
|
*/
|
|
9166
9318
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
9167
9319
|
|
|
9168
|
-
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 };
|
|
9320
|
+
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 CrmAccountContextStageChangeTimePrecision, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -1029,6 +1029,34 @@ class CrmResource {
|
|
|
1029
1029
|
async matchBatch(data) {
|
|
1030
1030
|
return this.http.post("/crm/prospects/match-batch", data);
|
|
1031
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* Return exact-person presence and account/deal context across every
|
|
1034
|
+
* configured CRM. This remains separate from {@link matchBatch}: an account
|
|
1035
|
+
* match does not mean the candidate is personally present in the CRM.
|
|
1036
|
+
*
|
|
1037
|
+
* Results preserve candidate order and reference deduplicated account
|
|
1038
|
+
* details through `accountRef`. Provider degradation and unknown deal stages
|
|
1039
|
+
* are returned explicitly and must not be treated as safe negative results.
|
|
1040
|
+
*
|
|
1041
|
+
* @example
|
|
1042
|
+
* ```typescript
|
|
1043
|
+
* const context = await client.crm.accountContextBatch({
|
|
1044
|
+
* userId: 'owner@example.com',
|
|
1045
|
+
* candidates: [{
|
|
1046
|
+
* inputKey: 'candidate-123',
|
|
1047
|
+
* linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
|
|
1048
|
+
* companyDomain: 'acme.example',
|
|
1049
|
+
* }],
|
|
1050
|
+
* })
|
|
1051
|
+
* console.log(context.results[0].salesState)
|
|
1052
|
+
* ```
|
|
1053
|
+
*/
|
|
1054
|
+
async accountContextBatch(data) {
|
|
1055
|
+
return this.http.post(
|
|
1056
|
+
"/crm/account-context/batch",
|
|
1057
|
+
data
|
|
1058
|
+
);
|
|
1059
|
+
}
|
|
1032
1060
|
/**
|
|
1033
1061
|
* Trigger a full mirror of the owner's CRM contact book into the local
|
|
1034
1062
|
* `crm_contacts` ledger. Returns immediately (`202`); poll
|